Files
clang-p2996/lld/test/ELF/Inputs/far-arm-abs.s
Igor Kudrin 5355b8c631 [ELF] Restore arm-branch.s test
After D77330, the comments are inconsistent with the disassembled code.
As the value of `far` has been changed, a thunk to reach it is now
generated, and target addresses of branch instructions are different
from what was initially expected.

The patch fixes that and makes the test closer to what it was originally.

Differential Revision: https://reviews.llvm.org/D104286
2021-06-17 17:08:13 +07:00

10 lines
189 B
ArmAsm

.global too_far1
.type too_far1,%function
too_far1 = 0x2030008
.global too_far2
.type too_far2,%function
too_far2 = 0x203000c
.global too_far3
.type too_far3,%function
too_far3 = 0x2030010