fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / binutils / ld / testsuite / ld-mips-elf / reloc-3b.s
blob8d50334e1c7cf6b647b744c49e8a635de26db051
1 .globl _start
2 .globl gd
3 .ent tstartb
4 tstartb:
5 la $4,gd-tstartb-0x8010
6 # (gd-0x8010) - tstartb [+ (tstartb+0x4)]
7 # relocation: gd - 0x800c
8 # final value: gd - tstartb - 0x8010
10 la $4,gd-tstartb-0x8000
11 # (gd-0x8000) - tstartb [+ (tstartb+0xc)]
12 # relocation: gd - 0x7ff4
13 # final value: gd - tstartb - 0x8000
15 la $4,gd-tstartb
16 # (gd) - tstartb [+ (tstartb+0x14)]
17 # relocation: gd + 0x14
18 # final value: gd - tstartb
20 la $4,gd-tstartb+0x7ff0
21 # (gd+0x7ff0) - tstartb [+ (tstartb+0x1c)]
22 # relocation: gd + 0x800c
23 # final value: gd - tstartb + 0x7ff0
25 la $4,gd-tstartb+0x8010
26 # (gd+0x8010) - tstartb [+ (tstartb+0x24)]
27 # relocation: gd + 0x8034
28 # final value: gd - tstartb + 0x8010
30 la $4,ldb-tstartb-0x8010
31 # (.text2+0x10-0x8010) - tstartb [+ (tstartb+0x2c)]
32 # relocation: .text2 - 0x7fd4
33 # final value: .text2 - tstartb - 0x8000
35 la $4,ldb-tstartb-0x8000
36 # (.text2+0x10-0x8000) - tstartb [+ (tstartb+0x34)]
37 # relocation: .text2 - 0x7fbc
38 # final value: .text2 - tstartb - 0x7ff0
40 la $4,ldb-tstartb
41 # (.text2+0x10) - tstartb [+ (tstartb+0x3c)]
42 # relocation: .text2 + 0x4c
43 # final value: .text2 - tstartb + 0x10
45 la $4,ldb-tstartb+0x7ff0
46 # (.text2+0x10+0x7ff0) - tstartb [+ (tstartb+0x44)]
47 # relocation: .text2 + 0x8044
48 # final value: .text2 - tstartb + 0x8000
50 la $4,ldb-tstartb+0x8010
51 # (.text2+0x10+0x8010) - tstartb [+ (tstartb+0x4c)]
52 # relocation: .text2 + 0x806c
53 # final value: .text2 - tstartb + 0x8020
55 .end tstartb
56 .space 16
57 .section .text2
58 ldb: .word 5