Fix initialisation of debug_line_pointer_sizes array so that it is done as needed
[binutils.git] / ld / testsuite / ld-mips-elf / reloc-3a.s
blobf0cdabd0f4735e252a49d9a5cf6cce7309f8bd7d
1 .globl _start
2 .globl gd
3 .ent tstarta
4 tstarta:
5 _start:
6 la $4,lda-tstarta-0x8010
7 # (.text2+8-0x8010) - tstarta [+ (tstarta+0x4)]
8 # relocation: .text2 - 0x8004
9 # final value: .text2 - tstarta - 0x8008
11 la $4,lda-tstarta-0x8000
12 # (.text2+8-0x8000) - tstarta [+ (tstarta+0xc)]
13 # relocation: .text2 - 0x7fec
14 # final value: .text2 - tstarta - 0x7ff8
16 la $4,lda-tstarta
17 # (.text2+8) - tstarta [+ (tstarta+0x14)]
18 # relocation: .text2 + 0x1c
19 # final value: .text2 - tstarta + 0x8
21 la $4,lda-tstarta+0x7ff0
22 # (.text2+8+0x7ff0) - tstarta [+ (tstarta+0x1c)]
23 # relocation: .text2 + 0x8014
24 # final value: .text2 - tstarta + 0x7ff8
26 la $4,lda-tstarta+0x8010 # (.text2+8)-(tstarta+0x8010)+0x24
27 # (.text2+8+0x8010) - tstarta [+ (tstarta+0x24)]
28 # relocation: .text2 + 0x803c
29 # final value: .text2 - tstarta + 0x8018
31 .end tstarta
33 .org 0xfff0
34 .section .text2
35 .word 1
36 gd: .word 2
37 lda: .word 3
38 .word 4