Commit 57be4e89 by Jason Merrill Committed by Jason Merrill

tlink.c (scan_linker_output): Look for keywords before accepting a mangled name in quotes.

	* tlink.c (scan_linker_output): Look for keywords before accepting
	a mangled name in quotes.

From-SVN: r29479
parent b5534c65
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> Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
* alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero. * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
......
/* Scan linker error messages for missing template instantiations and provide /* Scan linker error messages for missing template instantiations and provide
them. 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). Contributed by Jason Merrill (jason@cygnus.com).
This file is part of GNU CC. This file is part of GNU CC.
...@@ -638,7 +638,11 @@ scan_linker_output (fname) ...@@ -638,7 +638,11 @@ scan_linker_output (fname)
else if (p = index (oldq, '"'), p) else if (p = index (oldq, '"'), p)
p++, q = index (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; *q = 0;
dem = demangled_hash_lookup (p, false); dem = demangled_hash_lookup (p, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment