2 #source
: gc
-relocs
-257.s
3 #target
: [check_shared_lib_support
]
4 #ld
: --defsym tempy
=0x11012 --defsym tempy2
=0x45034 --defsym tempy3
=0x1234 -T aarch64
.ld
-shared --gc
-sections
7 # This tests
if the linker
is able to remove dynamic relocs created
8 #
for R_AARCH64_ABS64
while removing a gc section
. The section
is
9 # also removed
. So after gc
, we should be left
with the startup code
.
11 .*: file format elf64
-(little|big
)aarch64
14 Disassembly of section
.text
: