tlink.c (scan_linker_output): Look for symbol name in single quotes.

* tlink.c (scan_linker_output): Look for symbol name in single
	quotes.

From-SVN: r133764
This commit is contained in:
Ian Lance Taylor 2008-03-31 18:01:43 +00:00 committed by Ian Lance Taylor
parent 8935c4b347
commit 2d4bba805e
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-03-31 Ian Lance Taylor <iant@google.com>
* tlink.c (scan_linker_output): Look for symbol name in single
quotes.
2008-03-31 Jan Hubicka <jh@suse.cz>
* builtins.c (expand_builtin_setjmp_receiver): Update call of

View File

@ -1,7 +1,7 @@
/* Scan linker error messages for missing template instantiations and provide
them.
Copyright (C) 1995, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2007
Copyright (C) 1995, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2007, 2008
Free Software Foundation, Inc.
Contributed by Jason Merrill (jason@cygnus.com).
@ -683,6 +683,9 @@ scan_linker_output (const char *fname)
/* Then try "double quotes". */
else if (p = strchr (oldq, '"'), p)
p++, q = strchr (p, '"');
/* Then try 'single quotes'. */
else if (p = strchr (oldq, '\''), p)
p++, q = strchr (p, '\'');
else {
/* Then try entire line. */
q = strchr (oldq, 0);