Home | History | Annotate | Download | only in ld-scripts
      1 #ld: -Tdefined3.t
      2 #nm: -B
      3 #source: phdrs.s
      4 #source: defined.s
      5 #xfail: "rs6000-*-aix*"
      6 
      7 # Check that DEFINED matches only symbols defined before its location.
      8 # The ellipsis account for target-specific symbols.  Matching both A and T
      9 # accounts for formats that can't tell a .text symbol from an absolute
     10 # symbol (mmo), but matches whatever section that contains an address
     11 # matching the value.
     12 
     13 #...
     14 0+1 [AT] defined
     15 #...
     16 0+200 A defined1
     17 #...
     18 0+201 A defined2
     19 #...
     20 0+100 A defined3
     21 #...
     22 0+ [AT] defined4
     23 #...
     24 0+2a A defined5
     25 #...
     26 0+ [AT] defined6
     27 #...
     28 0+1 [AT] defined7
     29 #...
     30 0+1 [AT] defined8
     31 #...
     32 0+2a A sym1
     33 #...
     34 [0-9a-f]+ T sym2
     35 #pass
     36