aboutsummaryrefslogtreecommitdiff
blob: f1f7eb6d5b5baa69d8389731645f5758569a8679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#source: gc-start.s
#source: gc-relocs-257.s
#ld: --defsym tempy=0x11012 --defsym tempy2=0x45034 --defsym tempy3=0x1234   -T aarch64.ld   -shared  --gc-sections
#objdump: -R -d

# This tests if the linker is able to remove dynamic relocs created
# for R_AARCH64_ABS64 while removing a gc section.  The section is
# also removed.  So after gc, we should be left with the startup code.

.*:     file format elf64-(little|big)aarch64


Disassembly of section .text:

0+8000 \<_start\>:
    8000:	d503201f 	nop