]>
Commit | Line | Data |
---|---|---|
e19e9199 SP |
1 | #source: ifunc-3.s |
2 | #target: [check_shared_lib_support] | |
3 | #as: -march=morello+c64 | |
4 | #ld: -shared --hash-style=sysv | |
36b60023 | 5 | #objdump: -dw --section-headers |
e19e9199 | 6 | |
36b60023 MM |
7 | .*: file format .* |
8 | ||
9 | Sections: | |
10 | Idx Name Size VMA LMA File off Algn Flags | |
11 | #record: PCC_START | |
12 | 0 \.[^ ]* *[0-9a-f]+ ([0-9a-f]+) [0-9a-f]+ [0-9a-f]+ 2\*\*[0-9] CONTENTS, ALLOC, LOAD, READONLY, DATA | |
13 | #... | |
14 | Disassembly of section \.plt: | |
15 | ||
16 | #record: INDIRECT_LOC FOO_LOCATION | |
17 | #... | |
18 | 0+([0-9a-f]{3}).*0x([0-9a-f]+)@plt>: | |
e19e9199 | 19 | #... |
20b65d42 MM |
20 | Disassembly of section \.text: |
21 | ||
36b60023 MM |
22 | #check: FOO_LOC string tolower $FOO_LOCATION |
23 | #check: FOO_ADDR format %016x [expr "0x$PCC_START + 0x$FOO_LOCATION & ~1"] | |
24 | #check: INDIRECT_POS string tolower $INDIRECT_LOC | |
25 | FOO_ADDR <__GI_foo>: | |
e19e9199 | 26 | #... |
36b60023 | 27 | [ \t0-9a-f]+:[ \t0-9a-f]+bl\tINDIRECT_POS <\*ABS\*\+0xFOO_LOC@plt> |
e19e9199 | 28 | #pass |