diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2014-10-17 13:06:56 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2014-10-17 13:06:56 +0200 |
commit | cb9322a80e3a92aceb7e325ab34f2a15edbae05a (patch) | |
tree | 72e1857a86b7a47fd64b5024347568594417a81c /ld/ldlex.h | |
parent | 32a8097ba5dd6ddb71c0fb2fccbac262c371846a (diff) | |
download | gdb-cb9322a80e3a92aceb7e325ab34f2a15edbae05a.zip gdb-cb9322a80e3a92aceb7e325ab34f2a15edbae05a.tar.gz gdb-cb9322a80e3a92aceb7e325ab34f2a15edbae05a.tar.bz2 |
Implement --print-sysroot in ld.
* ldlex.h (enum option_values): Add entry OPTION_PRINT_SYSROOT.
* lexsup.c (ld_options): Add entry for --print-sysroot.
(parse_args) <OPTION_PRINT_SYSROOT>: Print sysroot and exit early.
Diffstat (limited to 'ld/ldlex.h')
-rw-r--r-- | ld/ldlex.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -136,6 +136,7 @@ enum option_values #endif /* ENABLE_PLUGINS */ OPTION_DEFAULT_SCRIPT, OPTION_PRINT_OUTPUT_FORMAT, + OPTION_PRINT_SYSROOT, OPTION_IGNORE_UNRESOLVED_SYMBOL, OPTION_PUSH_STATE, OPTION_POP_STATE, |