]>
Commit | Line | Data |
---|---|---|
d6cf562a MM |
1 | # The aim here is to test that |
2 | # a) We generate the __rela_dyn_{start,end} symbols. | |
3 | # b) They span the entire .rela.dyn section. | |
4 | # This particular case (the -2 file) is in case of there both .got symbols and | |
5 | # local symbols that require relocations. | |
6 | #source: emit-morello-reloc-markers-2.s | |
7 | #as: -march=morello+c64 | |
8 | #ld: -Ttext-segment 0x0 -static | |
9 | #objdump: --syms --section-headers --section=.rela.dyn --section=.got | |
10 | ||
11 | .*: file format .* | |
12 | ||
13 | Sections: | |
14 | Idx Name Size VMA LMA File off Algn | |
20b65d42 MM |
15 | #record: RELADYN_START |
16 | 0 \.rela\.dyn 00000030 ([0-9a-f]+) .* .* .* | |
d6cf562a MM |
17 | CONTENTS, ALLOC, LOAD, READONLY, DATA |
18 | .* \.got .* | |
19 | .* | |
20 | ||
20b65d42 MM |
21 | #check: STARTPOS string tolower $RELADYN_START |
22 | #check: ENDPOS format %016x [expr "0x$RELADYN_START + 0x30"] | |
d6cf562a | 23 | SYMBOL TABLE: |
20b65d42 | 24 | STARTPOS l d \.rela\.dyn 0000000000000000 \.rela\.dyn |
d6cf562a | 25 | .* |
20b65d42 MM |
26 | ENDPOS l O \.rela\.dyn 0000000000000000 __rela_dyn_end |
27 | STARTPOS l O \.rela\.dyn 0000000000000000 __rela_dyn_start | |
d6cf562a | 28 | #pass |