Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/emulparams/reloc_overflow.sh
2023-03-06 14:48:14 +01:00

11 lines
466 B
Bash

PARSE_AND_LIST_OPTIONS_RELOC_OVERFLOW='
fprintf (file, _("\
-z noreloc-overflow Disable relocation overflow check\n"));
'
PARSE_AND_LIST_ARGS_CASE_Z_RELOC_OVERFLOW='
else if (strcmp (optarg, "noreloc-overflow") == 0)
params.no_reloc_overflow_check = true;
'
PARSE_AND_LIST_OPTIONS="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_RELOC_OVERFLOW"
PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_RELOC_OVERFLOW"