From: H.J. Lu Date: Thu, 15 Jun 2017 19:30:53 +0000 (-0700) Subject: Correct "ld --help" to display "-z stack-size=SIZE" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75e06f9753af16bd8a4d864431ceb1a4cdd13f58;p=binutils-gdb.git 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". --- diff --git a/ld/ChangeLog b/ld/ChangeLog index e3afabf83fa..7791c036076 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-06-15 H.J. Lu + + * exsup.c (elf_shlib_list_options): Display "-z stack-size=SIZE" + instead of "-z stacksize=SIZE". + 2017-06-15 Jiong Wang * testsuite/ld-aarch64/copy-reloc-exe-2.s: New test source file. diff --git a/ld/lexsup.c b/ld/lexsup.c index 95c7e599b9f..08106bcc1a9 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -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, _("\