* ldmain.h (ld_sysroot): Change type to a constant string.
commit3b08da642930356296d841eac95dc6d6ac877bb4
authorRichard Sandiford <rsandifo@nildram.co.uk>
Wed, 19 Jan 2005 11:42:49 +0000 (19 11:42 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Wed, 19 Jan 2005 11:42:49 +0000 (19 11:42 +0000)
treedc2a52063208b0c6905b2f61aa83b34d162a871e
parent26ec5139e5b01d0befdcbd70b3730a8f3ea36310
* ldmain.h (ld_sysroot): Change type to a constant string.
* ldmain.c (ld_sysroot): Likewise.
(get_relative_sysroot, get_sysroot): New functions, adding command-line
support for changing the sysroot.
(main): Call the new functions.
* lexsup.c (OPTION_SYSROOT): New.
(ld_options): Add --sysroot.
(parse_args): Add a dummy handler for it.
* ld.texinfo (--sysroot): Document.
* NEWS: Mention the new --sysroot option.
ld/ChangeLog
ld/NEWS
ld/ld.texinfo
ld/ldmain.c
ld/ldmain.h
ld/lexsup.c