]>
Commit | Line | Data |
---|---|---|
8504495a AC |
1 | # The purpose of this test is to check the interaction between the code |
2 | # to ensure that an individual section gets precise, representable | |
3 | # bounds and the code that inserts stubs. | |
4 | # | |
5 | # In the case of this test, .text_low should get tight bounds, and | |
6 | # the .tail_relro section should start exactly where the PCC bounds | |
7 | # end. | |
8 | #source: morello-stubs-sec-bounds.s | |
9 | #as: -march=morello+c64 | |
10 | #ld: -static -T morello-stubs-sec-bounds.ld | |
11 | #objdump: -Dr --section-headers | |
12 | ||
13 | .*: file format .* | |
14 | ||
15 | Sections: | |
16 | Idx Name Size VMA LMA File off Algn | |
17 | 0 \.text_low 00100200 0000000000000400 0000000000000400 00000400 2\*\*10 | |
18 | #record: TAIL_RELRO_VMA | |
19 | #... | |
20 | 5 \.tail_relro 00000010 ([0-9a-f]+) .* | |
21 | #... | |
22 | [0-9a-f]+ <__baz_a64c64_veneer>: | |
23 | #... | |
24 | [0-9a-f]+ <__foo_c64a64_veneer>: | |
25 | #... | |
26 | Disassembly of section \.tail_relro: | |
27 | ||
28 | #check: PCC_SIZE format %08x [expr "0x$TAIL_RELRO_VMA - 0x400"] | |
29 | [0-9a-f]+ <ptr>: | |
30 | [0-9a-f]+: 00000400 .* | |
31 | [0-9a-f]+: 00000000 .* | |
32 | [0-9a-f]+: PCC_SIZE .* | |
33 | [0-9a-f]+: 04000000 .* |