sparc: define _GLOBAL_OFFSET_TABLE_ when referenced
[binutils-gdb.git] / binutils / testsuite / binutils-all / strip-14rela.s
blobd0277247c5314dea5567b979fc48e4055a94e91b
1 .text
2 foo:
3 .dc.l 0x12345678
5 .section .rela.text,""
6 .ifdef ELF64
8 .dc.a 0
9 .dc.a 0x000ffff000000000 + RELOC
10 .dc.a 0x0000000000000001
12 .dc.a 0
13 .dc.a 0
14 .dc.a 0
15 .else
17 # Some targets, such as `h8300-*' or `ip2k-*', use 16-bit addresses.
18 # With them `.dc.a' emits 16-bit quantities, so we need to use
19 # `.dc.l' for 32-bit relocation data.
20 .dc.l 0
21 .dc.l 0x0ffff000 + RELOC
22 .dc.l 0x00000001
24 .dc.l 0
25 .dc.l 0
26 .dc.l 0
27 .endif