[MIPS] Add Loongson 3A1000 proccessor support.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / comdat-reloc.d
1 #readelf: -gr
2 #name: MIPS ELF o32 PIC comdat GOT16/LO16 relocation pairing
3 #as: -32 -mno-pdr
4
5 # Make sure the orphan GOT16 relocation is paired with LO16 for a local
6 # symbol in a comdat section, i.e. rather than this:
7 #
8 # 00000014 00000509 R_MIPS_GOT16 00000000 foo
9 # 00000020 00000506 R_MIPS_LO16 00000000 foo
10 # 0000001c 00000509 R_MIPS_GOT16 00000000 foo
11 #
12 # we have this:
13 #
14 # 00000014 00000509 R_MIPS_GOT16 00000000 foo
15 # 00000024 00000509 R_MIPS_GOT16 00000000 foo
16 # 0000001c 00000506 R_MIPS_LO16 00000000 foo
17
18 #...
19 COMDAT group section \[.....\] `\.group' \[bar\] contains .+ sections:
20 \[Index\] Name
21 \[.....\] \.text\.foo
22 \[.....\] \.text\.bar
23 #...
24 Relocation section '\.rel\.text\.bar' at offset .+ contains .+ entries:
25 Offset Info Type Sym\.Value Sym\. Name
26 00000000 ......05 R_MIPS_HI16 00000000 _gp_disp
27 00000004 ......06 R_MIPS_LO16 00000000 _gp_disp
28 00000014 ......09 R_MIPS_GOT16 00000000 foo
29 00000024 ......09 R_MIPS_GOT16 00000000 foo
30 0000001c ......06 R_MIPS_LO16 00000000 foo
31 #pass
This page took 0.039666 seconds and 4 git commands to generate.