aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/ifunc-7c.d
blob: 1967742bf9e85b6a54027a237e3c30421d69dc99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#source: ifunc-7.s
#ld: -shared
#objdump: -dr -j .text
#target: aarch64*-*-*

# Check if adrp and ldr have been relocated correctly.

.*:     file format elf.+aarch64.*


Disassembly of section \.text:

[0-9a-f]+ <foo>:
 [0-9a-f]+:	d65f03c0 	ret

[0-9a-f]+ <__start>:
 [0-9a-f]+:	[0-9a-f]+ 	bl	[0-9a-f]+ <\*ABS\*\+0x[0-9a-f]+@plt>
 [0-9a-f]+:	[0-9a-f]+ 	adrp	x0, [0-9]+ <__start\+0x[0-9a-f]+>
 [0-9a-f]+:	[0-9a-f]+ 	ldr	x0, \[x0,.+\]