* ld-discard/discard.exp: xfail targets using generic linker.

* ld-discard/extern.d: Allow "data" to be reduced to a section sym.
This commit is contained in:
Alan Modra 2002-08-16 00:17:11 +00:00
parent 4782dc1929
commit b3de5b86c2
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-08-16 Alan Modra <amodra@bigpond.net.au>
* ld-discard/discard.exp: xfail targets using generic linker.
* ld-discard/extern.d: Allow "data" to be reduced to a section sym.
2002-08-15 Hans-Peter Nilsson <hp@axis.com>
* ld-cris/libdso-4.d, ld-cris/undef1.d: New test.

View File

@ -40,5 +40,7 @@ set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
for { set i 0 } { $i < [llength $test_list] } { incr i } {
# We need to strip the ".d", but can leave the dirname.
verbose [file rootname [lindex $test_list $i]]
# These fail because they use the generic linker.
setup_xfail "arc-*" "d30v-*" "dlx-*" "i960-*" "or32-*" "pj-*"
run_dump_test [file rootname [lindex $test_list $i]]
}

View File

@ -1,3 +1,3 @@
#source: extern.s
#ld: -T $srcdir/$subdir/discard.ld
#error: undefined reference to `data'
#error: undefined reference to `(data|local symbols in discarded section \.data\.exit)'