fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / binutils / ld / testsuite / ld-mips-elf / reloc-2a.s
blob0ea830a9dae1ab4df5fd7f74f3d0bca86e3fc34f
1 .globl _start
2 .globl sdg
3 .set noreorder
4 .ent tstarta
5 tstarta:
6 _start:
7 lui $4,%hi(tstarta - 0x8010)
8 addiu $4,$4,%lo(tstarta - 0x8010)
9 lui $4,%hi(tstarta - 0x8000)
10 addiu $4,$4,%lo(tstarta - 0x8000)
11 lui $4,%hi(tstarta)
12 addiu $4,$4,%lo(tstarta)
13 lui $4,%hi(tstarta + 0x7ff0)
14 addiu $4,$4,%lo(tstarta + 0x7ff0)
15 t32a:
16 lui $4,%hi(tstarta + 0x8010)
17 addiu $4,$4,%lo(tstarta + 0x8010)
19 lui $4,%hi(t32a - 0x8010)
20 addiu $4,$4,%lo(t32a - 0x8010)
21 lui $4,%hi(t32a - 0x8000)
22 addiu $4,$4,%lo(t32a - 0x8000)
23 lui $4,%hi(t32a)
24 addiu $4,$4,%lo(t32a)
25 lui $4,%hi(t32a + 0x7ff0)
26 addiu $4,$4,%lo(t32a + 0x7ff0)
27 lui $4,%hi(t32a + 0x8010)
28 addiu $4,$4,%lo(t32a + 0x8010)
30 lui $4,%hi(_start - 0x8010)
31 addiu $4,$4,%lo(_start - 0x8010)
32 lui $4,%hi(_start - 0x8000)
33 addiu $4,$4,%lo(_start - 0x8000)
34 lui $4,%hi(_start)
35 addiu $4,$4,%lo(_start)
36 lui $4,%hi(_start + 0x7ff0)
37 addiu $4,$4,%lo(_start + 0x7ff0)
38 lui $4,%hi(_start + 0x8010)
39 addiu $4,$4,%lo(_start + 0x8010)
41 addiu $4,$4,%gp_rel(sdg - 4)
42 addiu $4,$4,%gp_rel(sdg)
43 addiu $4,$4,%gp_rel(sdg + 4)
45 addiu $4,$4,%gp_rel(sdla - 4)
46 addiu $4,$4,%gp_rel(sdla)
47 addiu $4,$4,%gp_rel(sdla + 4)
49 jal tstarta - 4
50 nop
51 jal tstarta
52 nop
53 jal tstarta + 4
54 nop
56 jal t32a - 4
57 nop
58 jal t32a
59 nop
60 jal t32a + 4
61 nop
63 jal _start - 4
64 nop
65 jal _start
66 nop
67 jal _start + 4
68 nop
70 .org 0xfff0
72 .end tstarta
74 .section .sdata
75 .space 16
76 sdg:
77 sdla:
78 .space 16