mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
clean up error messages
This commit is contained in:
parent
493a259370
commit
31f55aa540
12
ld/ChangeLog
12
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.
|
||||
|
10
ld/ldsym.c
10
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)
|
||||
|
Loading…
Reference in New Issue
Block a user