Commit | Line | Data |
---|---|---|
1419bbe5 | 1 | #source: ifunc-7.s |
3c3358ca | 2 | #target: [check_shared_lib_support] |
1419bbe5 WN |
3 | #ld: -shared |
4 | #objdump: -dr -j .text | |
1419bbe5 WN |
5 | |
6 | # Check if adrp and ldr have been relocated correctly. | |
7 | ||
8 | .*: file format elf.+aarch64.* | |
9 | ||
10 | ||
11 | Disassembly of section \.text: | |
12 | ||
13 | [0-9a-f]+ <foo>: | |
14 | [0-9a-f]+: d65f03c0 ret | |
15 | ||
16 | [0-9a-f]+ <__start>: | |
17 | [0-9a-f]+: [0-9a-f]+ bl [0-9a-f]+ <\*ABS\*\+0x[0-9a-f]+@plt> | |
18 | [0-9a-f]+: [0-9a-f]+ adrp x0, [0-9]+ <__start\+0x[0-9a-f]+> | |
ad43e107 | 19 | [0-9a-f]+: [0-9a-f]+ ldr x0, \[x0, .+\] |