as --help: Display default option for --elf-stt-common=

* as.c (show_usage): Display default option for --elf-stt-common=.
This commit is contained in:
H.J. Lu 2018-08-09 09:57:11 -07:00
parent 7c5c05effd
commit 3a53fb12c8
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2018-08-09 H.J. Lu <hongjiu.lu@intel.com>
* as.c (show_usage): Display default option for --elf-stt-common=.
2018-08-09 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_show_usage): Display default options.

View File

@ -301,7 +301,12 @@ Options:\n\
--size-check=[error|warning]\n\
ELF .size directive check (default --size-check=error)\n"));
fprintf (stream, _("\
--elf-stt-common=[no|yes]\n\
--elf-stt-common=[no|yes] "));
if (DEFAULT_GENERATE_ELF_STT_COMMON)
fprintf (stream, _("(default: yes)\n"));
else
fprintf (stream, _("(default: no)\n"));
fprintf (stream, _("\
generate ELF common symbols with STT_COMMON type\n"));
fprintf (stream, _("\
--sectname-subst enable section name substitution sequences\n"));