summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/dotsym3.d
blob: 215a9c2a6c120b2ba9afcc1d98caf07c4c4c88ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#source: nodotsym.s
#source: dotsymref.s
#as: -a64
#ld: -melf64ppc -Ttext=0x1000 -shared -z notext
#objdump: -dR

.*:     file format .*

Disassembly of section \.text:

0+1000 <\.foo>:
.*:	(4e 80 00 20|20 00 80 4e) 	blr
.*:	(60 00 00 00|00 00 00 60) 	nop
.*:	(00 00 00 00|00 10 00 00) 	.*
.*: R_PPC64_RELATIVE	\*ABS\*\+0x1000
.*:	(00 00 10 00|00 00 00 00) 	.*