]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-aarch64/ifunc-21.d
Fix spurious check-ld failures on aarch64-elf
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-aarch64 / ifunc-21.d
CommitLineData
b1ee0cc4 1#source: ifunc-21.s
bab55c05 2#ld: -shared --hash-style=sysv -z nocombreloc
b1ee0cc4
WN
3#objdump: -d -s -j .got.plt -j .text
4#target: aarch64*-*-*
5
6# Ensure the .got.plt slot used is correct
7
8.*: file format elf64-(little|big)aarch64
9
10Contents of section .text:
d3b76a45 11 [0-9a-f]+ .*
b1ee0cc4 12Contents of section .got.plt:
d3b76a45 13 [0-9a-f]+ 0+ 0+ 0+ 0+ .*
60b3b24c 14 (10298|102b8) 0+ 0+ [0-9a-f]+ [0-9a-f]+ .*
b1ee0cc4
WN
15
16Disassembly of section .text:
17
d3b76a45
WN
18.* <ifunc>:
19 .*: d65f03c0 ret
b1ee0cc4 20
d3b76a45
WN
21.* <bar>:
22 .*: 90000080 adrp x0, 10000 <.*>
60b3b24c 23 .*: .* ldr x0, \[x0, #(672|704)\]
d3b76a45 24 .*: d65f03c0 ret
b1ee0cc4 25
fd161d86 26#pass