2 #name: MIPS ELF o32 PIC comdat GOT16/LO16 relocation pairing
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:
8 # 00000014 00000509 R_MIPS_GOT16 00000000 foo
9 # 00000020 00000506 R_MIPS_LO16 00000000 foo
10 # 0000001c 00000509 R_MIPS_GOT16 00000000 foo
14 # 00000014 00000509 R_MIPS_GOT16 00000000 foo
15 # 00000024 00000509 R_MIPS_GOT16 00000000 foo
16 # 0000001c 00000506 R_MIPS_LO16 00000000 foo
19 COMDAT group section \[.....\] `\.group' \[bar\] contains .+ sections:
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