forked from M-Labs/nac3
1
0
Fork 0

libdyld: accepts R_ARM_ABS32

Somehow this relocation type is emitted by nac3.
According to table 4-9 of ARM ELF ABI and discussion in ld bugzilla
(https://sourceware.org/bugzilla/show_bug.cgi?id=16163), this behaves
the same as R_ARM_GLOB_DAT and R_ARM_JUMP_SLOT.
This commit is contained in:
pca006132 2021-12-30 00:05:47 +08:00
parent 84becfe2c0
commit efe315c21d
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ impl RelType {
R_OR1K_32 | R_OR1K_GLOB_DAT | R_OR1K_JMP_SLOT
if arch == Arch::OpenRisc => Some(RelType::Lookup),
R_ARM_GLOB_DAT | R_ARM_JUMP_SLOT
R_ARM_GLOB_DAT | R_ARM_JUMP_SLOT | R_ARM_ABS32
if arch == Arch::Arm => Some(RelType::Lookup),
_ =>