
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>
17 lines
139 B
ArmAsm
17 lines
139 B
ArmAsm
.data
|
|
.align 8
|
|
x:
|
|
.quad 0x114514
|
|
y:
|
|
.quad 0x1919810
|
|
px:
|
|
.quad x
|
|
py:
|
|
.quad y
|
|
|
|
.text
|
|
.align 2
|
|
_start:
|
|
la.got $a0, x
|
|
la.got $a1, y
|
|
ret
|