Commit | Line | Data |
---|---|---|
b8fe28d4 HPN |
1 | #ld: -Tdefined2.t |
2 | #nm: -B | |
3 | #source: phdrs.s | |
48733062 | 4 | #xfail: "rs6000-*-aix*" |
b8fe28d4 HPN |
5 | |
6 | # Check that arithmetic on DEFINED works. | |
7 | # Matching both A and T accounts for formats that can't tell a .text | |
8 | # symbol from an absolute symbol (mmo), but matches whatever section that | |
9 | # contains an address matching the value. The symbol sym1 is supposed to | |
10 | # be in the .text section for all targets, though. | |
11 | ||
12 | #... | |
13 | 0+1 [AT] defined1 | |
76cb62b0 | 14 | #... |
b8fe28d4 | 15 | 0+11 A defined2 |
76cb62b0 | 16 | #... |
b8fe28d4 | 17 | 0+100 A defined3 |
76cb62b0 | 18 | #... |
b8fe28d4 HPN |
19 | 0+1ff A defined4 |
20 | #... | |
21 | 0+3 T sym1 | |
22 | #pass |