From: Alan Modra Date: Fri, 16 Aug 2002 00:17:11 +0000 (+0000) Subject: * ld-discard/discard.exp: xfail targets using generic linker. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3de5b86c2331bce5929f982e5b680227eb0fb1a;p=binutils-gdb.git * ld-discard/discard.exp: xfail targets using generic linker. * ld-discard/extern.d: Allow "data" to be reduced to a section sym. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index d7d2b665bbd..3aba5adcee3 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-08-16 Alan Modra + + * 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 * ld-cris/libdso-4.d, ld-cris/undef1.d: New test. diff --git a/ld/testsuite/ld-discard/discard.exp b/ld/testsuite/ld-discard/discard.exp index 4a629832b1c..ef054e7ed61 100644 --- a/ld/testsuite/ld-discard/discard.exp +++ b/ld/testsuite/ld-discard/discard.exp @@ -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]] } diff --git a/ld/testsuite/ld-discard/extern.d b/ld/testsuite/ld-discard/extern.d index 3c76be2e4b4..5871cd1afb4 100644 --- a/ld/testsuite/ld-discard/extern.d +++ b/ld/testsuite/ld-discard/extern.d @@ -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)'