1 #source: ifunc-7.s
2 #ld: -shared
3 #objdump: -dr -j .text
4 #target: aarch64*-*-*
5 
6 # Check if adrp and ldr have been relocated correctly.
7 
8 .*:     file format elf.+aarch64.*
9 
10 
11 Disassembly of section \.text:
12 
13 [0-9a-f]+ <foo>:
14  [0-9a-f]+:	d65f03c0 	ret
15 
16 [0-9a-f]+ <__start>:
17  [0-9a-f]+:	[0-9a-f]+ 	bl	[0-9a-f]+ <\*ABS\*\+0x[0-9a-f]+@plt>
18  [0-9a-f]+:	[0-9a-f]+ 	adrp	x0, [0-9]+ <__start\+0x[0-9a-f]+>
19  [0-9a-f]+:	[0-9a-f]+ 	ldr	x0, \[x0,.+\]
20