mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 10:34:21 +08:00
ld --help output
It's best if help message output does not contain tabs, since we don't know tab stop settings or even if tabs are handled by the output device. This reverts some 2020-06-23 changes and fixes the csky help message. * lexsup.c (elf_shlib_list_options): Properly format help message. (elf_plt_unwind_list_options): Likewise. * emultempl/cskyelf.em (PARSE_AND_LIST_OPTIONS): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2020-06-24 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* lexsup.c (elf_shlib_list_options): Properly format help message.
|
||||||
|
(elf_plt_unwind_list_options): Likewise.
|
||||||
|
* emultempl/cskyelf.em (PARSE_AND_LIST_OPTIONS): Likewise.
|
||||||
|
|
||||||
2020-06-23 Roland McGrath <mcgrathr@google.com>
|
2020-06-23 Roland McGrath <mcgrathr@google.com>
|
||||||
|
|
||||||
PR 22843
|
PR 22843
|
||||||
|
@ -300,12 +300,14 @@ PARSE_AND_LIST_LONGOPTS='
|
|||||||
{"stub-group-size", required_argument, NULL, OPTION_STUBGROUP_SIZE},
|
{"stub-group-size", required_argument, NULL, OPTION_STUBGROUP_SIZE},
|
||||||
'
|
'
|
||||||
PARSE_AND_LIST_OPTIONS='
|
PARSE_AND_LIST_OPTIONS='
|
||||||
fprintf (file, _(" --[no-]branch-stub\n"));
|
fprintf (file, _(" --[no-]branch-stub "
|
||||||
fprintf (file, _("\t\t\tDisable/enable use of stubs to expand branch "
|
"Disable/enable use of stubs to expand branch\n"
|
||||||
"instructions that cannot reach the target.\n"));
|
" "
|
||||||
fprintf (file, _(" --stub-group-size=N\n"));
|
" instructions that cannot reach the target.\n"));
|
||||||
fprintf (file, _("\t\t\tMaximum size of a group of input sections "
|
fprintf (file, _(" --stub-group-size=N "
|
||||||
"handled by one stub section."));
|
"Maximum size of a group of input sections\n"
|
||||||
|
" "
|
||||||
|
" handled by one stub section.\n"));
|
||||||
'
|
'
|
||||||
|
|
||||||
PARSE_AND_LIST_ARGS_CASES='
|
PARSE_AND_LIST_ARGS_CASES='
|
||||||
|
14
ld/lexsup.c
14
ld/lexsup.c
@ -1912,14 +1912,14 @@ elf_shlib_list_options (FILE *file)
|
|||||||
}
|
}
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
-P AUDITLIB, --depaudit=AUDITLIB\n" "\
|
-P AUDITLIB, --depaudit=AUDITLIB\n" "\
|
||||||
Specify a library to use for auditing dependencies\n"));
|
Specify a library to use for auditing dependencies\n"));
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
-z combreloc Merge dynamic relocs into one section and sort\n"));
|
-z combreloc Merge dynamic relocs into one section and sort\n"));
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
-z nocombreloc Don't merge dynamic relocs into one section\n"));
|
-z nocombreloc Don't merge dynamic relocs into one section\n"));
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
-z global Make symbols in DSO available for subsequently\n\
|
-z global Make symbols in DSO available for subsequently\n\
|
||||||
loaded objects\n"));
|
loaded objects\n"));
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
-z initfirst Mark DSO to be initialized first at runtime\n"));
|
-z initfirst Mark DSO to be initialized first at runtime\n"));
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
@ -1942,7 +1942,7 @@ elf_shlib_list_options (FILE *file)
|
|||||||
-z now Mark object non-lazy runtime binding\n"));
|
-z now Mark object non-lazy runtime binding\n"));
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
-z origin Mark object requiring immediate $ORIGIN\n\
|
-z origin Mark object requiring immediate $ORIGIN\n\
|
||||||
processing at runtime\n"));
|
processing at runtime\n"));
|
||||||
#if DEFAULT_LD_Z_RELRO
|
#if DEFAULT_LD_Z_RELRO
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
-z relro Create RELRO program header (default)\n"));
|
-z relro Create RELRO program header (default)\n"));
|
||||||
@ -2000,13 +2000,13 @@ elf_static_list_options (FILE *file)
|
|||||||
--build-id[=STYLE] Generate build ID note\n"));
|
--build-id[=STYLE] Generate build ID note\n"));
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]\n\
|
--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]\n\
|
||||||
Compress DWARF debug sections using zlib\n"));
|
Compress DWARF debug sections using zlib\n"));
|
||||||
#ifdef DEFAULT_FLAG_COMPRESS_DEBUG
|
#ifdef DEFAULT_FLAG_COMPRESS_DEBUG
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
Default: zlib-gabi\n"));
|
Default: zlib-gabi\n"));
|
||||||
#else
|
#else
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
Default: none\n"));
|
Default: none\n"));
|
||||||
#endif
|
#endif
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
-z common-page-size=SIZE Set common page size to SIZE\n"));
|
-z common-page-size=SIZE Set common page size to SIZE\n"));
|
||||||
@ -2031,7 +2031,7 @@ elf_plt_unwind_list_options (FILE *file)
|
|||||||
--ld-generated-unwind-info Generate exception handling info for PLT\n"));
|
--ld-generated-unwind-info Generate exception handling info for PLT\n"));
|
||||||
fprintf (file, _("\
|
fprintf (file, _("\
|
||||||
--no-ld-generated-unwind-info\n\
|
--no-ld-generated-unwind-info\n\
|
||||||
Don't generate exception handling info for PLT\n"));
|
Don't generate exception handling info for PLT\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user