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 #... 13 0+1 [AT] defined 14 #... 15 0+200 A defined1 16 #... 17 0+201 A defined2 18 #... 19 0+100 A defined3 20 #... 21 0+ [AT] defined4 22 #... 23 0+2a A defined5 24 #... 25 0+ [AT] defined6 26 #... 27 0+1 [AT] defined7 28 #... 29 0+1 [AT] defined8 30 #... 31 0+2a A sym1 32 #... 33 [0-9a-f]+ T sym2 34 #pass 35