Commit 2d4bba80 by Ian Lance Taylor Committed by Ian Lance Taylor

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
parent 8935c4b3
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> 2008-03-31 Jan Hubicka <jh@suse.cz>
* builtins.c (expand_builtin_setjmp_receiver): Update call of * builtins.c (expand_builtin_setjmp_receiver): Update call of
......
/* 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, 1999, 2000, 2001, 2003, 2004, 2005, 2007 Copyright (C) 1995, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2007, 2008
Free Software Foundation, Inc. Free Software Foundation, Inc.
Contributed by Jason Merrill (jason@cygnus.com). Contributed by Jason Merrill (jason@cygnus.com).
...@@ -683,6 +683,9 @@ scan_linker_output (const char *fname) ...@@ -683,6 +683,9 @@ scan_linker_output (const char *fname)
/* Then try "double quotes". */ /* Then try "double quotes". */
else if (p = strchr (oldq, '"'), p) else if (p = strchr (oldq, '"'), p)
p++, q = strchr (p, '"'); p++, q = strchr (p, '"');
/* Then try 'single quotes'. */
else if (p = strchr (oldq, '\''), p)
p++, q = strchr (p, '\'');
else { else {
/* Then try entire line. */ /* Then try entire line. */
q = strchr (oldq, 0); q = strchr (oldq, 0);
......
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