Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-loongarch-elf / check_got_relax.s
blob6bdf8174f5812e062b2f7ce9e8de501b81e12ad2
1 .text
2 .global _start
3 _start:
5 # dot not relax when overflow
6 la.got $a0,sym_default_2
7 la.got $a0,sym_hidden_2
8 la.got $a0,sym_protected_2
10 sym_default_1:
11 .word 0x123
13 .global sym_hidden_1
14 .hidden sym_hidden_1
15 sym_hidden_1:
16 .word 0x123
18 .global sym_protected_1
19 .protected sym_protected_1
20 sym_protected_1:
21 .word 0x123
24 .section .other,"ax",@progbits
25 underflow:
26 # dot not relax when underflow
27 la.got $a0,sym_default_1
28 la.got $a0,sym_hidden_1
29 la.got $a0,sym_protected_1
31 .global sym_default_2
32 sym_default_2:
33 .word 0x456
35 .global sym_hidden_2
36 .hidden sym_hidden_2
37 sym_hidden_2:
38 .word 0x456
40 .global sym_protected_2
41 .protected sym_protected_2
42 sym_protected_2:
43 .word 0x456