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:
Alan Modra
2020-06-24 14:17:38 +09:30
parent f8b1e5f6fc
commit a5aae5087c
3 changed files with 21 additions and 13 deletions

View File

@ -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>
PR 22843

View File

@ -300,12 +300,14 @@ PARSE_AND_LIST_LONGOPTS='
{"stub-group-size", required_argument, NULL, OPTION_STUBGROUP_SIZE},
'
PARSE_AND_LIST_OPTIONS='
fprintf (file, _(" --[no-]branch-stub\n"));
fprintf (file, _("\t\t\tDisable/enable use of stubs to expand branch "
"instructions that cannot reach the target.\n"));
fprintf (file, _(" --stub-group-size=N\n"));
fprintf (file, _("\t\t\tMaximum size of a group of input sections "
"handled by one stub section."));
fprintf (file, _(" --[no-]branch-stub "
"Disable/enable use of stubs to expand branch\n"
" "
" instructions that cannot reach the target.\n"));
fprintf (file, _(" --stub-group-size=N "
"Maximum size of a group of input sections\n"
" "
" handled by one stub section.\n"));
'
PARSE_AND_LIST_ARGS_CASES='