From: Max Filippov Date: Sat, 17 Sep 2022 03:56:39 +0000 (-0700) Subject: xtensa: gcc: enable section anchors support X-Git-Tag: basepoints/gcc-14~4436 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66d20d881647e7dd177355a851d7839394ab8341;p=thirdparty%2Fgcc.git xtensa: gcc: enable section anchors support gcc/ * config/xtensa/xtensa.cc (TARGET_MAX_ANCHOR_OFFSET): New definition. --- diff --git a/gcc/config/xtensa/xtensa.cc b/gcc/config/xtensa/xtensa.cc index e5abd356a745..828c7642b7cb 100644 --- a/gcc/config/xtensa/xtensa.cc +++ b/gcc/config/xtensa/xtensa.cc @@ -366,6 +366,9 @@ static rtx xtensa_delegitimize_address (rtx); #undef TARGET_ASM_OUTPUT_MI_THUNK #define TARGET_ASM_OUTPUT_MI_THUNK xtensa_output_mi_thunk +#undef TARGET_MAX_ANCHOR_OFFSET +#define TARGET_MAX_ANCHOR_OFFSET 1020 + struct gcc_target targetm = TARGET_INITIALIZER;