mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
fb42df5ed9
gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options): Provide --build-id, -z defs, -z muldefs, -z max-page-size, -z common-page-size, -z execstack, -z noexecstack for all targets. Add help for --exclude-libs. (OPTION_LD_GENERATED_UNWIND_INFO, OPTION_NO_LD_GENERATED_UNWIND_INFO): Move this.. (gld${EMULATION_NAME}_handle_option): ..and code handling --ld-generated-unwind-info and --no-ld-generated-unwind-info.. * emulparams/plt_unwind.sh: ..to here. New file. Add help. * emulparams/elf32_x86_64.sh: Include plt_unwind.sh. * emulparams/elf_i386.sh: Likewise. * emulparams/elf_i386_chaos.sh: Likewise. * emulparams/elf_i386_ldso.sh: Likewise. * emulparams/elf_l1om.sh: Likewise. * emulparams/elf_x86_64.sh: Likewise.
29 lines
763 B
Bash
29 lines
763 B
Bash
PARSE_AND_LIST_PROLOGUE='
|
|
#define OPTION_LD_GENERATED_UNWIND_INFO 301
|
|
#define OPTION_NO_LD_GENERATED_UNWIND_INFO 302
|
|
'
|
|
|
|
PARSE_AND_LIST_LONGOPTS='
|
|
{"ld-generated-unwind-info", no_argument, NULL,
|
|
OPTION_LD_GENERATED_UNWIND_INFO},
|
|
{"no-ld-generated-unwind-info", no_argument, NULL,
|
|
OPTION_NO_LD_GENERATED_UNWIND_INFO},
|
|
'
|
|
|
|
PARSE_AND_LIST_OPTIONS='
|
|
fprintf (file, _("\
|
|
--ld-generated-unwind-info Generate exception handling info for PLT.\n\
|
|
--no-ld-generated-unwind-info Don'\''t do so.\n"
|
|
));
|
|
'
|
|
|
|
PARSE_AND_LIST_ARGS_CASES='
|
|
case OPTION_LD_GENERATED_UNWIND_INFO:
|
|
link_info.no_ld_generated_unwind_info = FALSE;
|
|
break;
|
|
|
|
case OPTION_NO_LD_GENERATED_UNWIND_INFO:
|
|
link_info.no_ld_generated_unwind_info = TRUE;
|
|
break;
|
|
'
|