aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-08-30 22:01:47 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-08-30 22:01:47 +0000
commit6545f5fb9f203aee469c8a996a40600ea712036a (patch)
treeb0cfc5b29ab61254bba78b075d3d5bed8687b457 /ld
parent3a84337c9959f350e701586fbba11a154aa9bdb5 (diff)
downloadgdb-6545f5fb9f203aee469c8a996a40600ea712036a.zip
gdb-6545f5fb9f203aee469c8a996a40600ea712036a.tar.gz
gdb-6545f5fb9f203aee469c8a996a40600ea712036a.tar.bz2
* ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
sh-*-*): With dwarf-2, `undefined function' can't pass.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp8
2 files changed, 12 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 6ec7b21..7a11b51 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-30 Alexandre Oliva <aoliva@redhat.com>
+
+ * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
+ sh-*-*): With dwarf-2, `undefined function' can't pass.
+
2000-08-03 H.J. Lu (hjl@gnu.org)
* ld-bootstrap/bootstrap.exp: Add strip.
diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp
index 5f55192..e49b90c 100644
--- a/ld/testsuite/ld-undefined/undefined.exp
+++ b/ld/testsuite/ld-undefined/undefined.exp
@@ -1,7 +1,7 @@
# Test that the linker reports undefined symbol errors correctly.
# By Ian Lance Taylor, Cygnus Support
#
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation
+# Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -69,6 +69,12 @@ checkund $mu $testund
# Just doesn't work for PA ELF. No clue why.
setup_xfail "hppa*-*-*elf*"
+# With dwarf-2, we can't get the function in which the reference
+# occurs; see below.
+setup_xfail "hppa*64*-*-*"
+setup_xfail "mn10300-*-elf"
+setup_xfail "sh-*-*"
+
set mf "tmpdir/undefined.o: In function `function':"
checkund $mf $testfn