aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/emit-relocs1.d
blob: 191cb52c8670e935a1d80f284bc2a882a82cfed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#source: emit-relocs1.s
#ld: -Ttext 0x10000 --defsym target=0xc000 -e0 --emit-relocs
#objdump: -dr
#...
 +10000:	e1a00000 	nop	.*
 +10004:	e1a00000 	nop	.*
 +10008:	e1a00000 	nop	.*
 +1000c:	e1a00000 	nop	.*
 +10010:	eaffeffa 	b	c000 <target>
	+10010: R_ARM_(JUMP|PC)24	target
 +10014:	eaffeffd 	b	c010 <target\+0x10>
	+10014: R_ARM_(JUMP|PC)24	target