blob: 1967742bf9e85b6a54027a237e3c30421d69dc99 [file] [log] [blame]
#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,.+\]