mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
3880820e34
Most tests are ported from AArch64. The relr-addend test is added to make sure the addend (link-time address) is correctly written into the relocated section. Doing so is not strictly needed for RELA, but strictly needed for RELR). Signed-off-by: Xi Ruoyao <xry111@xry111.site>
11 lines
130 B
ArmAsm
11 lines
130 B
ArmAsm
# Test DT_RELR with DT_TEXTREL and R_LARCH_ALIGN.
|
|
|
|
.text
|
|
.p2align 5
|
|
.global _start
|
|
_start:
|
|
.global foo
|
|
.hidden foo
|
|
foo:
|
|
.quad foo
|