]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Correct "ld --help" to display "-z stack-size=SIZE"
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Jun 2017 19:30:53 +0000 (12:30 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Jun 2017 19:30:53 +0000 (12:30 -0700)
ELF Linker command line option to set stack size is "-z stack-size=SIZE",
not "-z stacksize=SIZE".

* exsup.c (elf_shlib_list_options): Display "-z stack-size=SIZE"
instead of "-z stacksize=SIZE".

ld/ChangeLog
ld/lexsup.c

index e3afabf83fa6d6d3ef909b2fb0eea756c1d91cb6..7791c03607690eb49d0940d2ea4efd4aeb483309 100644 (file)
@@ -1,3 +1,8 @@
+2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * exsup.c (elf_shlib_list_options): Display "-z stack-size=SIZE"
+       instead of "-z stacksize=SIZE".
+
 2017-06-15  Jiong Wang  <jiong.wang@arm.com>
 
        * testsuite/ld-aarch64/copy-reloc-exe-2.s: New test source file.
index 95c7e599b9fcbe4e54d563375395278d560be6ea..08106bcc1a9bd5d8b0aeb501c93351e25da6b479 100644 (file)
@@ -1792,7 +1792,7 @@ elf_shlib_list_options (FILE *file)
   fprintf (file, _("\
   -z nocommon                 Generate common symbols with STT_OBJECT type\n"));
   fprintf (file, _("\
-  -z stacksize=SIZE           Set size of stack segment\n"));
+  -z stack-size=SIZE          Set size of stack segment\n"));
   fprintf (file, _("\
   -z text                     Treat DT_TEXTREL in shared object as error\n"));
   fprintf (file, _("\