+2013-10-10 Roland McGrath <mcgrathr@google.com>
+
+ * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
+ It silences some compilers' warnings and is much less bizarre to read.
+
2013-10-09 Roland McGrath <mcgrathr@google.com>
* emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
/* ldmisc.c
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2011, 2012
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2011, 2012, 2013
Free Software Foundation, Inc.
Written by Steve Chamberlain of Cygnus Support.
if (functionname != NULL && fmt[-1] == 'G')
lfinfo (fp, "%T", functionname);
else if (filename != NULL && linenumber != 0)
- fprintf (fp, "%u%s", linenumber, ":" + done);
+ fprintf (fp, "%u%s", linenumber, done ? "" : ":");
else
done = FALSE;
}