2 #source
: gc
-relocs
-257.s
3 #ld
: --defsym tempy
=0x11012 --defsym tempy2
=0x45034 --defsym tempy3
=0x1234 -T aarch64
.ld
--gc
-sections
6 # This tests
if linker
is able to remove gc section containing
7 # R_AARCH64_ABS64 relocs
. So after gc
, we should be left
with
8 # only the startup code
.
10 .*: file format elf64
-(little|big
)aarch64
13 Disassembly of section
.text
: