daily update
[binutils.git] / ld / testsuite / ld-scripts / defined3.d
blob1a7946db99a3254a83b9c14c1924c2873a580df3
1 #ld: -Tdefined3.t
2 #nm: -B
3 #source: phdrs.s
4 #source: defined.s
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.
12 #...
13 0+1 [AT] defined
14 0+200 A defined1
15 0+201 A defined2
16 0+100 A defined3
17 0+ [AT] defined4
18 0+2a A defined5
19 0+ [AT] defined6
20 0+1 [AT] defined7
21 0+1 [AT] defined8
22 #...
23 0+2a A sym1
24 [0-9a-f]+ T sym2
25 #pass