aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmisc.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-10-05 16:12:17 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-10-05 16:12:17 +0000
commitf0e0fb23b5fb1564a630da038d5518924516f691 (patch)
treec2eba6caddf55204b738206f3f55d3e68107096f /ld/ldmisc.c
parentcc96343e4c3fd44d5e35d370ec3f0a489cee9e66 (diff)
downloadgdb-f0e0fb23b5fb1564a630da038d5518924516f691.zip
gdb-f0e0fb23b5fb1564a630da038d5518924516f691.tar.gz
gdb-f0e0fb23b5fb1564a630da038d5518924516f691.tar.bz2
2005-10-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1396 * ldcref.c (check_refs): Accept bfd_boolean. (check_local_sym_xref): Pass FALSE to check_refs. (check_nocrossref): Pass TRUE to check_refs. (check_refs_info): Add bfd_boolean. (check_refs): Add bfd_boolean to check_refs_info. (check_reloc_refs): Match relocations with proper symbols. * ldmisc.c (vfinfo): Don't add extra ":\n".
Diffstat (limited to 'ld/ldmisc.c')
-rw-r--r--ld/ldmisc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ld/ldmisc.c b/ld/ldmisc.c
index 9b8f44f..4797c29 100644
--- a/ld/ldmisc.c
+++ b/ld/ldmisc.c
@@ -339,7 +339,7 @@ vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning)
&& strcmp (last_file, filename) != 0)
|| strcmp (last_function, functionname) != 0)
{
- lfinfo (fp, _("%B: In function `%T':\n"),
+ lfinfo (fp, _("%B: In function `%T'"),
abfd, functionname);
last_bfd = abfd;
@@ -355,19 +355,19 @@ vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning)
discard_last = FALSE;
}
else
- lfinfo (fp, "%B:", abfd);
+ lfinfo (fp, "%B", abfd);
if (filename != NULL)
- fprintf (fp, "%s:", filename);
+ fprintf (fp, ":%s", filename);
if (functionname != NULL && fmt[-1] == 'G')
- lfinfo (fp, "%T", functionname);
+ lfinfo (fp, ":%T", functionname);
else if (filename != NULL)
{
if (linenumber != 0)
- fprintf (fp, "%u", linenumber);
+ fprintf (fp, ":%u", linenumber);
else
- lfinfo (fp, "(%A+0x%v)", section, offset);
+ lfinfo (fp, ":(%A+0x%v)", section, offset);
}
}
else