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 | |
parent | 4782dc19290aab7cfdad5a15d9d0673323375225 (diff) | |
download | gdb-b3de5b86c2331bce5929f982e5b680227eb0fb1a.zip gdb-b3de5b86c2331bce5929f982e5b680227eb0fb1a.tar.gz 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')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-discard/discard.exp | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-discard/extern.d | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index d7d2b66..3aba5ad 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -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. 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)' |