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#...
130+1 [AT] defined
14#...
150+200 A defined1
16#...
170+201 A defined2
18#...
190+100 A defined3
20#...
210+ [AT] defined4
22#...
230+2a A defined5
24#...
250+ [AT] defined6
26#...
270+1 [AT] defined7
28#...
290+1 [AT] defined8
30#...
310+2a A sym1
32#...
33[0-9a-f]+ T sym2
34#pass
35