Retro68/binutils/ld/emulparams/plt_unwind.sh
Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

24 lines
594 B
Bash

PLT_UNWIND=yes
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_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;
'