aboutsummaryrefslogtreecommitdiff
path: root/ld/ldcref.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-01-26 23:11:48 +0000
committerAlan Modra <amodra@gmail.com>2000-01-26 23:11:48 +0000
commit305c72062b487da283913b9f4b3016b0546c64a3 (patch)
treea298d4281e21b134459e5f9d5ce964bb95469bc7 /ld/ldcref.c
parent4c63da97a708e211a7141e29082ab589cbdbcb12 (diff)
downloadgdb-305c72062b487da283913b9f4b3016b0546c64a3.zip
gdb-305c72062b487da283913b9f4b3016b0546c64a3.tar.gz
gdb-305c72062b487da283913b9f4b3016b0546c64a3.tar.bz2
Most of these changes are really only cosmetic. The readelf.c patch
fixes a thinko in get_dynamic_flags. I found at least one message string that included a `%' being passed to printf in the format argument.
Diffstat (limited to 'ld/ldcref.c')
-rw-r--r--ld/ldcref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldcref.c b/ld/ldcref.c
index c75b8e6..e208106 100644
--- a/ld/ldcref.c
+++ b/ld/ldcref.c
@@ -1,5 +1,5 @@
/* ldcref.c -- output a cross reference table
- Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1996, 97, 98, 99, 2000 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>
This file is part of GLD, the Gnu Linker.
@@ -238,7 +238,7 @@ output_cref (fp)
fprintf (fp, _("\nCross Reference Table\n\n"));
msg = _("Symbol");
- fprintf (fp, msg);
+ fprintf (fp, "%s", msg);
len = strlen (msg);
while (len < FILECOL)
{