From: David MacKenzie Date: Fri, 6 Aug 1993 20:13:28 +0000 (+0000) Subject: clean up error messages X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31f55aa540246313231da3c187a149c788b57bcf;p=binutils-gdb.git clean up error messages --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 68ebc5edf17..4beaf1e4f64 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 6cf776429c7..65c95a68954 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)