diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2005-01-19 11:42:49 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2005-01-19 11:42:49 +0000 |
commit | e22430578c7bc54a36eb0a8cc0a083f5b4826998 (patch) | |
tree | 23f1a24cbe20dc77284ec48185ef5e5a6022b72e /ld/ld.texinfo | |
parent | 53283f867b4157d728963a9699bce30e2d24f033 (diff) | |
download | gdb-e22430578c7bc54a36eb0a8cc0a083f5b4826998.zip gdb-e22430578c7bc54a36eb0a8cc0a083f5b4826998.tar.gz gdb-e22430578c7bc54a36eb0a8cc0a083f5b4826998.tar.bz2 |
* 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.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 3e80ac3..171ea40 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -1504,6 +1504,12 @@ many relocations. @var{count} defaults to a value of 32768. Compute and display statistics about the operation of the linker, such as execution time and memory usage. +@kindex --sysroot +@item --sysroot=@var{directory} +Use @var{directory} as the location of the sysroot, overriding the +configure-time default. This option is only supported by linkers +that were configured using @option{--with-sysroot}. + @kindex --traditional-format @cindex traditional format @item --traditional-format |