]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* ldmain.h (ld_sysroot): Change type to a constant string.
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 19 Jan 2005 11:42:49 +0000 (11:42 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Wed, 19 Jan 2005 11:42:49 +0000 (11:42 +0000)
commite22430578c7bc54a36eb0a8cc0a083f5b4826998
tree23f1a24cbe20dc77284ec48185ef5e5a6022b72e
parent53283f867b4157d728963a9699bce30e2d24f033
* 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