forked from M-Labs/artiq-zynq
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:
parent
84becfe2c0
commit
efe315c21d
@ -77,7 +77,7 @@ impl RelType {
|
|||||||
|
|
||||||
R_OR1K_32 | R_OR1K_GLOB_DAT | R_OR1K_JMP_SLOT
|
R_OR1K_32 | R_OR1K_GLOB_DAT | R_OR1K_JMP_SLOT
|
||||||
if arch == Arch::OpenRisc => Some(RelType::Lookup),
|
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),
|
if arch == Arch::Arm => Some(RelType::Lookup),
|
||||||
|
|
||||||
_ =>
|
_ =>
|
||||||
|
Loading…
Reference in New Issue
Block a user