+Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
+
+ * tlink.c (scan_linker_output): Look for keywords before accepting
+ a mangled name in quotes.
+
Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
* alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
/* Scan linker error messages for missing template instantiations and provide
them.
- Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1998, 1999 Free Software Foundation, Inc.
Contributed by Jason Merrill (jason@cygnus.com).
This file is part of GNU CC.
else if (p = index (oldq, '"'), p)
p++, q = index (p, '"');
- if (q)
+ /* We need to check for certain error keywords here, or we would
+ mistakenly use GNU ld's "In function `foo':" message. */
+ if (q && (strstr (oldq, "ndefined")
+ || strstr (old, "nresolved")
+ || strstr (oldq, "ultiple")))
{
*q = 0;
dem = demangled_hash_lookup (p, false);