as --help: Display default option for --elf-stt-common=
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Aug 2018 16:57:11 +0000 (09:57 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Aug 2018 16:57:11 +0000 (09:57 -0700)
* as.c (show_usage): Display default option for --elf-stt-common=.

gas/ChangeLog
gas/as.c

index ea3ee1b40a0365d0b01a7e85a66d98fffbd90c14..ba6d9ca7895a2a548c04968f7169d23fa353a712 100644 (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.
index 02c7d2970bf3c4690aa684c9d6446f6731395a79..b2a908a2f755384f8529a7acf30e9fa8c92ffb62 100644 (file)
--- a/gas/as.c
+++ b/gas/as.c
@@ -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"));
This page took 0.029212 seconds and 4 git commands to generate.