aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/gc-relocs-257-dyn.d
blob: 2e5e4c61db0e18e4d90924f3538f2e7a39d8be11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#source: gc-start.s
#source: gc-relocs-257.s
#target: [check_shared_lib_support]
#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+10000 \<_start\>:
   10000:	d503201f 	nop