[MIPS] Add Loongson 3A1000 proccessor support.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / comdat-reloc.d
CommitLineData
9e009953
MR
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#...
19COMDAT group section \[.....\] `\.group' \[bar\] contains .+ sections:
20 \[Index\] Name
21 \[.....\] \.text\.foo
22 \[.....\] \.text\.bar
23#...
24Relocation section '\.rel\.text\.bar' at offset .+ contains .+ entries:
25 Offset Info Type Sym\.Value Sym\. Name
2600000000 ......05 R_MIPS_HI16 00000000 _gp_disp
2700000004 ......06 R_MIPS_LO16 00000000 _gp_disp
2800000014 ......09 R_MIPS_GOT16 00000000 foo
2900000024 ......09 R_MIPS_GOT16 00000000 foo
300000001c ......06 R_MIPS_LO16 00000000 foo
31#pass
This page took 0.098366 seconds and 4 git commands to generate.