diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-06-15 12:30:53 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-06-15 12:30:53 -0700 |
commit | 75e06f9753af16bd8a4d864431ceb1a4cdd13f58 (patch) | |
tree | baad766d89b1cc3d85ec00a8e94467a1234b5cbf /ld/lexsup.c | |
parent | 6353d82b8fa825c2143f41e84b0d5d4446c6e99a (diff) | |
download | gdb-75e06f9753af16bd8a4d864431ceb1a4cdd13f58.zip gdb-75e06f9753af16bd8a4d864431ceb1a4cdd13f58.tar.gz gdb-75e06f9753af16bd8a4d864431ceb1a4cdd13f58.tar.bz2 |
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".
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r-- | ld/lexsup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c index 95c7e59..08106bc 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, _("\ |