aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-18 14:04:40 +0000
committerNick Clifton <nickc@redhat.com>2004-10-18 14:04:40 +0000
commitd412a550d48f8b0ede6a5876b945d9de0da3d4ca (patch)
tree2c8bea505b3cb2df3bfff47075b9ecc72053f736 /binutils/objcopy.c
parentfb608b9209153d626a033fb35466c4f762bb0f57 (diff)
downloadfsf-binutils-gdb-d412a550d48f8b0ede6a5876b945d9de0da3d4ca.zip
fsf-binutils-gdb-d412a550d48f8b0ede6a5876b945d9de0da3d4ca.tar.gz
fsf-binutils-gdb-d412a550d48f8b0ede6a5876b945d9de0da3d4ca.tar.bz2
strings.c (usage): Place radix values for -t option into the correct order.
objcopy.c (add_redefine_syms_file): Change error messages to use <filename>:<linenumber>: format for easier parsing by automatic tools. srconv.c (show_usage): Fix spelling typo. windres.c (format_from_filename): Suggest the use of -J instead of -I if the file type cannot be determined.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r--binutils/objcopy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 7fd6711..d5931b8 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -700,8 +700,8 @@ add_specific_symbols (const char *filename, struct symlist **list)
;
if (! IS_LINE_TERMINATOR (* extra))
- non_fatal (_("Ignoring rubbish found on line %d of %s"),
- line_count, filename);
+ non_fatal (_("%s:%d: Ignoring rubbish found on this line"),
+ filename, line_count);
}
* name_end = '\0';
@@ -1068,10 +1068,10 @@ add_redefine_syms_file (const char *filename)
continue;
}
else
- fatal (_("%s: garbage at end of line %d"), filename, lineno);
+ fatal (_("%s:%d: garbage found at end of line"), filename, lineno);
comment:
if (len != 0 && (outsym_off == 0 || outsym_off == len))
- fatal (_("%s: missing new symbol name at line %d"), filename, lineno);
+ fatal (_("%s:%d: missing new symbol name"), filename, lineno);
buf[len++] = '\0';
/* Eat the rest of the line and finish it. */
@@ -1081,7 +1081,7 @@ add_redefine_syms_file (const char *filename)
}
if (len != 0)
- fatal (_("%s: premature end of file at line %d"), filename, lineno);
+ fatal (_("%s:%d: premature end of file"), filename, lineno);
free (buf);
}