Commit | Line | Data |
---|---|---|
edb2fa9a MS |
1 | #source: gc-start.s |
2 | #source: gc-relocs-257.s | |
3 | #ld: --defsym tempy=0x11012 --defsym tempy2=0x45034 --defsym tempy3=0x1234 -T aarch64.ld -shared --gc-sections | |
4 | #objdump: -R -d | |
5 | ||
6 | # This tests if the linker is able to remove dynamic relocs created | |
7 | # for R_AARCH64_ABS64 while removing a gc section. The section is | |
8 | # also removed. So after gc, we should be left with the startup code. | |
9 | ||
10 | .*: file format elf64-(little|big)aarch64 | |
11 | ||
12 | ||
13 | Disassembly of section .text: | |
14 | ||
15 | 0+8000 \<_start\>: | |
16 | 8000: d503201f nop |