fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / binutils / ld / testsuite / ld-scripts / defined2.d
blob6e6e068ce576282303b97a87807cff45020d986c
1 #ld: -Tdefined2.t
2 #nm: -B
3 #source: phdrs.s
5 # Check that arithmetic on DEFINED works.
6 # Matching both A and T accounts for formats that can't tell a .text
7 # symbol from an absolute symbol (mmo), but matches whatever section that
8 # contains an address matching the value. The symbol sym1 is supposed to
9 # be in the .text section for all targets, though.
11 #...
12 0+1 [AT] defined1
13 #...
14 0+11 A defined2
15 #...
16 0+100 A defined3
17 #...
18 0+1ff A defined4
19 #...
20 0+3 T sym1
21 #pass