* ld-scripts/defined3.d, ld-scripts/defined3.t: New test.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / defined3.d
CommitLineData
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#...
130+1 [AT] defined
140+200 A defined1
150+201 A defined2
160+100 A defined3
170+ [AT] defined4
180+2a A defined5
190+ [AT] defined6
200+1 [AT] defined7
210+1 [AT] defined8
22#...
230+2a A sym1
24[0-9a-f]+ T sym2
25#pass
This page took 0.024322 seconds and 4 git commands to generate.