old-cross-binutils/ld/testsuite/ld-aarch64/farcall-section.s
2012-08-13 14:52:54 +00:00

19 lines
310 B
ArmAsm

# Test to ensure that an Aarch64 call exceeding 128MB generates an error
# if the destination is of type STT_SECTION (eg non-global symbol)
.global _start
# We will place the section .text at 0x1000.
.text
_start:
bl bar
# We will place the section .foo at 0x8001020.
.section .foo, "xa"
bar:
ret