summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-undefined
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
commite4230da796b5c3adcb2f6ac133bf253f6de83376 (patch)
treeb5927363bb30a81d91674974bf4797cc137c70b5 /ld/testsuite/ld-undefined
parent3c0bdca13076c5e14a5375c84a99a2db16847845 (diff)
downloadbinutils-redhat-e4230da796b5c3adcb2f6ac133bf253f6de83376.tar.gz
* ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
sh-*-*): With dwarf-2, `undefined function' can't pass.
Diffstat (limited to 'ld/testsuite/ld-undefined')
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp8
1 files changed, 7 insertions, 1 deletions
diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp
index 5f551924a3..e49b90cc91 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