1 # Test to ensure that an Aarch64 call exceeding 128MB generates an error 2 # if the destination is of type STT_SECTION (eg non-global symbol) 3 4 .global _start 5 6 # We will place the section .text at 0x1000. 7 8 .text 9 10 _start: 11 bl bar 12 13 # We will place the section .foo at 0x8001020. 14 15 .section .foo, "xa" 16 17 bar: 18 ret 19 20