Commit | Line | Data |
---|---|---|
8e919164 HPN |
1 | #ld: -Tdefined3.t |
2 | #nm: -B | |
3 | #source: phdrs.s | |
4 | #source: defined.s | |
5 | ||
6 | # Check that DEFINED matches only symbols defined before its location. | |
7 | # The ellipsis account for target-specific symbols. Matching both A and T | |
8 | # accounts for formats that can't tell a .text symbol from an absolute | |
9 | # symbol (mmo), but matches whatever section that contains an address | |
10 | # matching the value. | |
11 | ||
12 | #... | |
13 | 0+1 [AT] defined | |
76cb62b0 | 14 | #... |
8e919164 | 15 | 0+200 A defined1 |
76cb62b0 | 16 | #... |
8e919164 | 17 | 0+201 A defined2 |
76cb62b0 | 18 | #... |
8e919164 | 19 | 0+100 A defined3 |
76cb62b0 | 20 | #... |
8e919164 | 21 | 0+ [AT] defined4 |
76cb62b0 | 22 | #... |
8e919164 | 23 | 0+2a A defined5 |
76cb62b0 | 24 | #... |
8e919164 | 25 | 0+ [AT] defined6 |
76cb62b0 | 26 | #... |
8e919164 | 27 | 0+1 [AT] defined7 |
76cb62b0 | 28 | #... |
8e919164 HPN |
29 | 0+1 [AT] defined8 |
30 | #... | |
31 | 0+2a A sym1 | |
76cb62b0 | 32 | #... |
8e919164 HPN |
33 | [0-9a-f]+ T sym2 |
34 | #pass |