2003-10-11 09:18:58 +00:00
|
|
|
#ld: -Tdefined3.t
|
|
|
|
#nm: -B
|
|
|
|
#source: phdrs.s
|
|
|
|
#source: defined.s
|
2005-08-18 07:51:08 +00:00
|
|
|
#xfail: "rs6000-*-aix*"
|
2003-10-11 09:18:58 +00:00
|
|
|
|
|
|
|
# Check that DEFINED matches only symbols defined before its location.
|
|
|
|
# The ellipsis account for target-specific symbols. Matching both A and T
|
|
|
|
# accounts for formats that can't tell a .text symbol from an absolute
|
|
|
|
# symbol (mmo), but matches whatever section that contains an address
|
|
|
|
# matching the value.
|
|
|
|
|
|
|
|
#...
|
|
|
|
0+1 [AT] defined
|
2004-04-08 00:51:37 +00:00
|
|
|
#...
|
2003-10-11 09:18:58 +00:00
|
|
|
0+200 A defined1
|
2004-04-08 00:51:37 +00:00
|
|
|
#...
|
2003-10-11 09:18:58 +00:00
|
|
|
0+201 A defined2
|
2004-04-08 00:51:37 +00:00
|
|
|
#...
|
2003-10-11 09:18:58 +00:00
|
|
|
0+100 A defined3
|
2004-04-08 00:51:37 +00:00
|
|
|
#...
|
2003-10-11 09:18:58 +00:00
|
|
|
0+ [AT] defined4
|
2004-04-08 00:51:37 +00:00
|
|
|
#...
|
2003-10-11 09:18:58 +00:00
|
|
|
0+2a A defined5
|
2004-04-08 00:51:37 +00:00
|
|
|
#...
|
2003-10-11 09:18:58 +00:00
|
|
|
0+ [AT] defined6
|
2004-04-08 00:51:37 +00:00
|
|
|
#...
|
2003-10-11 09:18:58 +00:00
|
|
|
0+1 [AT] defined7
|
2004-04-08 00:51:37 +00:00
|
|
|
#...
|
2003-10-11 09:18:58 +00:00
|
|
|
0+1 [AT] defined8
|
|
|
|
#...
|
|
|
|
0+2a A sym1
|
2004-04-08 00:51:37 +00:00
|
|
|
#...
|
2003-10-11 09:18:58 +00:00
|
|
|
[0-9a-f]+ T sym2
|
|
|
|
#pass
|