diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2024-06-12 15:17:09 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2024-06-25 11:07:51 +0100 |
commit | c9cf7bdfe53a5c8446f8dc6e6f1bafa4c3636f59 (patch) | |
tree | 8c49d3f4cb755bdb128fa3a660987a95f5decc65 /ld/emulparams | |
parent | bd54c881cd14af32f2347dab5ce51823ed631a88 (diff) | |
download | binutils-c9cf7bdfe53a5c8446f8dc6e6f1bafa4c3636f59.zip binutils-c9cf7bdfe53a5c8446f8dc6e6f1bafa4c3636f59.tar.gz binutils-c9cf7bdfe53a5c8446f8dc6e6f1bafa4c3636f59.tar.bz2 |
aarch64: Add DT_RELR support for ILP32 ABI
Extend the 64bit DT_RELR support to work on 32bit ELF too. For this
only a few changes were needed in the sizing and creation of the
relr relocations.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/aarch64elf32.sh | 2 | ||||
-rw-r--r-- | ld/emulparams/aarch64linux32.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ld/emulparams/aarch64elf32.sh b/ld/emulparams/aarch64elf32.sh index 5a08d9e..45bf31a 100644 --- a/ld/emulparams/aarch64elf32.sh +++ b/ld/emulparams/aarch64elf32.sh @@ -1,3 +1,5 @@ +source_sh ${srcdir}/emulparams/dt-relr.sh + ARCH="aarch64:ilp32" MACHINE= NOP=0x1f2003d5 diff --git a/ld/emulparams/aarch64linux32.sh b/ld/emulparams/aarch64linux32.sh index 3e75d14..3292c7c 100644 --- a/ld/emulparams/aarch64linux32.sh +++ b/ld/emulparams/aarch64linux32.sh @@ -1,3 +1,5 @@ +source_sh ${srcdir}/emulparams/dt-relr.sh + ARCH="aarch64:ilp32" MACHINE= NOP=0x1f2003d5 |