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.
This commit is contained in:
Hans-Peter Nilsson 2014-10-17 13:07:09 +02:00
parent cb9322a80e
commit c1e29d6622
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2014-10-17 Hans-Peter Nilsson <hp@axis.com>
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.
2014-10-16 Alan Modra <amodra@gmail.com>
PR 17488