1 #as:
2 #objdump: -Dr
3 #name: pc relative relocs
4 
5 .*: +file format .*sparc.*
6 
7 Disassembly of section .text:
8 
9 0+ <foo-0x8>:
10    0:	01 00 00 00 	nop
11    4:	01 00 00 00 	nop
12 
13 0+8 <foo>:
14    8:	01 00 00 00 	nop
15 Disassembly of section .data:
16 
17 0+ <.data>:
18    0:	00 00 00 00 	(unimp|illtrap)  0
19    4:	00 00 00 01 	(unimp|illtrap)  0x1
20 	...
21 			8: R_SPARC_32	.text\+0x10
22 			c: R_SPARC_DISP32	.text\+0x10
23 			10: R_SPARC_32	.text\+0x14
24 			14: R_SPARC_DISP32	.text\+0x14
25 			18: R_SPARC_32	foo
26 			1c: R_SPARC_DISP32	foo
27 			20: R_SPARC_32	foo\+0x10
28 			24: R_SPARC_DISP32	foo\+0x10
29 			28: R_SPARC_DISP8	.data\+0x18
30 			29: R_SPARC_DISP8	.data\+0x34
31 			2a: R_SPARC_DISP16	.data\+0x18
32 			2c: R_SPARC_DISP16	.data\+0x34
33   30:	00 02 00 00 	(unimp|illtrap)  0x20000
34 	...
35