aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-08-06 20:13:28 +0000
committerDavid MacKenzie <djm@cygnus>1993-08-06 20:13:28 +0000
commit31f55aa540246313231da3c187a149c788b57bcf (patch)
treec68fa86d7a0c01e106391e7fd159e0afafeda489 /ld
parent493a259370e81477fc855dc0439af7c6ba8f90f6 (diff)
downloadgdb-31f55aa540246313231da3c187a149c788b57bcf.zip
gdb-31f55aa540246313231da3c187a149c788b57bcf.tar.gz
gdb-31f55aa540246313231da3c187a149c788b57bcf.tar.bz2
clean up error messages
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog12
-rw-r--r--ld/ldsym.c10
2 files changed, 17 insertions, 5 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 68ebc5e..4beaf1e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,15 @@
+Fri Aug 6 08:57:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
+
+ * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c:
+ Remove inital caps in some error messages, change "can't" to
+ "cannot", add missing colons.
+ * ldmisc.c (vfinfo): Print "%%" as a single %.
+ For '%' followed by unrecognized character, print them both
+ verbatim instead of expecting a char * arg.
+ For '%C', don't put the function name in parens.
+
+ * ldexp.c (invalid): Pass "%%", not "% ".
+
Fri Aug 6 14:31:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
diff --git a/ld/ldsym.c b/ld/ldsym.c
index 6cf7764..65c95a6 100644
--- a/ld/ldsym.c
+++ b/ld/ldsym.c
@@ -211,7 +211,7 @@ process_keepsyms (table, size)
ks_file = fopen (keepsyms_file, "r");
if (!ks_file)
{
- info ("%X%P: can't open keep-symbols file `%s'\n", keepsyms_file);
+ info ("%X%P: cannot open keep-symbols file `%s'\n", keepsyms_file);
goto egress;
}
errno = 0;
@@ -457,9 +457,9 @@ write_file_locals (output_buffer)
/* The value is the start of this section in the output file*/
newsym->value = 0;
/* FIXME: Usurping BSF_KEEP_G flag, since it's defined as
- "used by the linker" and I can't find any other code that
- uses it. Should be a cleaner way of doing this (like an
- "application flags" field in the symbol structure?). */
+ "used by the linker" and I can't find any other code that
+ uses it. Should be a cleaner way of doing this (like an
+ "application flags" field in the symbol structure?). */
newsym->flags = BSF_LOCAL | BSF_KEEP_G;
newsym->section = s;
*output_buffer++ = newsym;
@@ -620,7 +620,7 @@ ldsym_write ()
if (keepsyms_file != 0
&& strip_symbols != STRIP_SOME)
{
- info ("%P `-retain-symbols-file' overrides `-s' and `-S'\n");
+ info ("%P: `-retain-symbols-file' overrides `-s' and `-S'\n");
strip_symbols = STRIP_SOME;
}
if (strip_symbols != STRIP_ALL)