Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / ifunc-21.d
blob28115d2a9bbf9d50c265b3f101dfc7be9c8fae95
1 #source: ifunc-21.s
2 #target: [check_shared_lib_support]
3 #ld: -shared --hash-style=sysv -z nocombreloc
4 #objdump: -d -s -j .got.plt -j .text
6 # Ensure the .got.plt slot used is correct
8 .*: file format elf64-(little|big)aarch64
10 Contents of section .text:
11 [0-9a-f]+ .*
12 Contents of section .got.plt:
13 [0-9a-f]+ 0+ 0+ 0+ 0+ .*
14 (10298|102b8) 0+ 0+ [0-9a-f]+ [0-9a-f]+ .*
16 Disassembly of section .text:
18 .* <ifunc>:
19 .*: d65f03c0 ret
21 .* <bar>:
22 .*: 90000080 adrp x0, 10000 <.*>
23 .*: .* ldr x0, \[x0, #(672|704)\]
24 .*: d65f03c0 ret
26 #pass