1#objdump: -rst --special-syms -mips16
2#name: MIPS16 reloc
3#as: -32 -mips16
4#source: mips16-e.s
5
6# Check MIPS16 reloc processing
7
8.*: +file format elf.*mips.*
9
10SYMBOL TABLE:
110+0000000 l    d  \.text	0+0000000 (|\.text)
120+0000000 l    d  \.data	0+0000000 (|\.data)
130+0000000 l    d  \.bss	0+0000000 (|\.bss)
140+0000000 l    d  foo	0+0000000 (|foo)
150+0000000 l    d  \.reginfo	0+0000000 (|\.reginfo)
160+0000000 l    d  \.MIPS\.abiflags	0+0000000 (|\.MIPS\.abiflags)
170+0000000 l    d  \.(mdebug|pdr)	0+0000000 (|\.mdebug|\.pdr)
180+0000000 l    d  \.gnu\.attributes	0+0000000 (|\.gnu\.attributes)
190+0000002 l       \.text	0+0000000 0xf0 l1
200+0000004 l       \.text	0+0000000 0xf0 \.L1.1
210+0000000         \*UND\*	0+0000000 g1
22
23
24RELOCATION RECORDS FOR \[foo\]:
25OFFSET [ ]+ TYPE              VALUE
260+0000000 R_MIPS_32         l1
270+0000004 R_MIPS_32         l1
280+0000008 R_MIPS_32         \.L1.1
290+000000c R_MIPS_32         \.L1.1
300+0000010 R_MIPS_32         g1
310+0000014 R_MIPS_32         g1
32
33
34Contents of section \.text:
35 0000 00650065 00650065 00650065 00650065  .*
36Contents of section \.reginfo:
37 0000 00000100 00000000 00000000 00000000  .*
38 0010 00000000 00000000                    .*
39Contents of section \.MIPS\.abiflags:
40 .*
41 .*
42Contents of section foo:
43 0000 00000000 08000000 00000000 03000000  .*
44 0010 00000000 08000000 00000000 00000000  .*
45Contents of section \.gnu\.attributes:
46 .*
47