aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-05-19 12:46:21 +0200
committerJan Beulich <jbeulich@suse.com>2022-05-19 12:46:21 +0200
commit15b7af6c874610d802b64e1778202b7653d5fa08 (patch)
tree1084a2dca7081de6b5f09f4338535d1ffcf4e42d /gas/config
parent20bed3bb3579d581b909e2319523331cd76bca57 (diff)
downloadgdb-15b7af6c874610d802b64e1778202b7653d5fa08.zip
gdb-15b7af6c874610d802b64e1778202b7653d5fa08.tar.gz
gdb-15b7af6c874610d802b64e1778202b7653d5fa08.tar.bz2
Arm64: force emission of ILP32-dependent relocs
Like the placeholder types added in 04dfe7aa5217 ("Arm64: follow-on to PR gas/27217 fix"), these are also placeholders which are subsequently resolved (albeit later, hence this being a separate issue). As for the resolved types 1 is returned, these pseudo-relocs should also have 1 returned to force retaining of the [eventual] relocations. This is also spelled out individually for each of them in md_apply_fix().
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-aarch64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 407f888..e9f7ee9 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -3080,7 +3080,7 @@ aarch64_force_reloc (unsigned int type)
case BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC:
/* Pseudo relocs that need to be fixed up according to
ilp32_p. */
- return 0;
+ return 1;
case BFD_RELOC_AARCH64_ADD_LO12:
case BFD_RELOC_AARCH64_ADR_GOT_PAGE: