2 #source: gc-relocs-309.s
3 #source: gc-relocs-311.s
4 #source: gc-relocs-312.s
5 #ld: --gc-sections -T aarch64.ld
8 # Executable with got related relocs against global sysmbol gced.
9 # After gc-section removal we are cheking that symbol and got section
10 # do not exist and text section contains only start function.
12 .*: file format elf64-(little|big)aarch64
15 0+8000 l d \.text 0+ \.text
16 0+0000 l df \*ABS\* 0+ .*
17 0+8000 g \.text 0+ _start
19 Contents of section .text:
22 Disassembly of section .text: