This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

mn10300-elf's ld can't pass `undefined function'


As explained in comments in the testing framework file, platforms that
use dwarf-2 debugging can't report the line in which an undefined
symbol is referenced.  mn10300-elf has switched to dwarf-2 debugging
info on May 12, and it has failed this test ever since.  Ok to
install?

Index: ld/testsuite/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* ld-undefined/undefined.exp (mn10300-*-elf): With dwarf-2,
	`undefined function' can't pass.

Index: ld/testsuite/ld-undefined/undefined.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-undefined/undefined.exp,v
retrieving revision 1.4
diff -u -p -r1.4 undefined.exp
--- ld/testsuite/ld-undefined/undefined.exp	1999/07/15 17:02:34	1.4
+++ ld/testsuite/ld-undefined/undefined.exp	2000/08/26 21:22:17
@@ -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
@@ -68,6 +68,10 @@ 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 "mn10300-*-elf"
 
 set mf "tmpdir/undefined.o: In function `function':"
 checkund $mf $testfn

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]