diff options
author | Alan Modra <amodra@gmail.com> | 2002-08-16 00:17:11 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-08-16 00:17:11 +0000 |
commit | b3de5b86c2331bce5929f982e5b680227eb0fb1a (patch) | |
tree | afd27d399ccfb1247a95767e123e828e65630b5e /ld/testsuite/ld-discard | |
parent | 4782dc19290aab7cfdad5a15d9d0673323375225 (diff) | |
download | fsf-binutils-gdb-b3de5b86c2331bce5929f982e5b680227eb0fb1a.zip fsf-binutils-gdb-b3de5b86c2331bce5929f982e5b680227eb0fb1a.tar.gz fsf-binutils-gdb-b3de5b86c2331bce5929f982e5b680227eb0fb1a.tar.bz2 |
* ld-discard/discard.exp: xfail targets using generic linker.
* ld-discard/extern.d: Allow "data" to be reduced to a section sym.
Diffstat (limited to 'ld/testsuite/ld-discard')
-rw-r--r-- | ld/testsuite/ld-discard/discard.exp | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-discard/extern.d | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-discard/discard.exp b/ld/testsuite/ld-discard/discard.exp index 4a62983..ef054e7 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 3c76be2..5871cd1 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)' |