1 #source: ifunc-21.s 2 #ld: -shared -z nocombreloc 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 10 Contents of section .text: 11 [0-9a-f]+ .* 12 Contents of section .got.plt: 13 [0-9a-f]+ 0+ 0+ 0+ 0+ .* 14 (103b8|10408) 0+ 0+ [0-9a-f]+ [0-9a-f]+ .* 15 16 Disassembly of section .text: 17 18 .* <ifunc>: 19 .*: d65f03c0 ret 20 21 .* <bar>: 22 .*: 90000080 adrp x0, 10000 <.*> 23 .*: .* ldr x0, \[x0,#(960|1040)\] 24 .*: d65f03c0 ret 25 26 #pass