Commit | Line | Data |
---|---|---|
b1ee0cc4 | 1 | #source: ifunc-21.s |
3c3358ca | 2 | #target: [check_shared_lib_support] |
bab55c05 | 3 | #ld: -shared --hash-style=sysv -z nocombreloc |
b1ee0cc4 | 4 | #objdump: -d -s -j .got.plt -j .text |
b1ee0cc4 WN |
5 | |
6 | # Ensure the .got.plt slot used is correct | |
7 | ||
8 | .*: file format elf64-(little|big)aarch64 | |
9 | ||
10 | Contents of section .text: | |
d3b76a45 | 11 | [0-9a-f]+ .* |
b1ee0cc4 | 12 | Contents of section .got.plt: |
d3b76a45 | 13 | [0-9a-f]+ 0+ 0+ 0+ 0+ .* |
c198a1ec | 14 | (10298|102b8) 0+ 0+ [0-9a-f]+ [0-9a-f]+ .* |
b1ee0cc4 WN |
15 | |
16 | Disassembly of section .text: | |
17 | ||
d3b76a45 WN |
18 | .* <ifunc>: |
19 | .*: d65f03c0 ret | |
b1ee0cc4 | 20 | |
d3b76a45 WN |
21 | .* <bar>: |
22 | .*: 90000080 adrp x0, 10000 <.*> | |
c198a1ec | 23 | .*: .* ldr x0, \[x0, #(672|704)\] |
d3b76a45 | 24 | .*: d65f03c0 ret |
b1ee0cc4 | 25 | |
fd161d86 | 26 | #pass |