Correct "ld --help" to display "-z stack-size=SIZE"

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".
This commit is contained in:
H.J. Lu 2017-06-15 12:30:53 -07:00
parent 6353d82b8f
commit 75e06f9753
2 changed files with 6 additions and 1 deletions

View 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.

View 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, _("\