From: Ian Lance Taylor Date: Mon, 31 Mar 2008 18:01:43 +0000 (+0000) Subject: tlink.c (scan_linker_output): Look for symbol name in single quotes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d4bba805eeeea81ee9e566e569528de83876e08;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bc37e45d019..7ff0adc85aa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-03-31 Ian Lance Taylor + + * tlink.c (scan_linker_output): Look for symbol name in single + quotes. + 2008-03-31 Jan Hubicka * builtins.c (expand_builtin_setjmp_receiver): Update call of diff --git a/gcc/tlink.c b/gcc/tlink.c index 5a9b701cf52..53c51dc2ed4 100644 --- a/gcc/tlink.c +++ b/gcc/tlink.c @@ -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);