aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-08-06 15:49:46 +0000
committerNick Clifton <nickc@redhat.com>2006-08-06 15:49:46 +0000
commitd68c385bfc389b5ba3c1cb5684febe74990b5725 (patch)
tree84133f1200209fd123721c542193166d1f2d6be9 /binutils/ChangeLog
parentf301d54cd8e7649c6d1a4473932dcf7d3161b2c1 (diff)
downloadgdb-d68c385bfc389b5ba3c1cb5684febe74990b5725.zip
gdb-d68c385bfc389b5ba3c1cb5684febe74990b5725.tar.gz
gdb-d68c385bfc389b5ba3c1cb5684febe74990b5725.tar.bz2
PR binutils/3001
* addr2line.c (process_file): Change function from void to returning an int. Return 0 upon success, 1 otherwise. (main): Use return value from process_file as the exit value. * ar.c (ranlib_only): Change function from void to returning an int. Return 0 upon success, 1 otherwise. (ranlib_touch): Likewise. (main): Use return value from ranlib functions as exit value. * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size fails. (copy_file): Likewise. (strip_main): Likewise. (copy_main): Likewise. * objdump.c (display_file): Set exit_status to 1 if get_file_size fails. * size.c (display_file): Set return_code to 1 if get_file_size fails.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index efe3ed5..0db8579 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,23 @@
+2006-08-06 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/3001
+ * addr2line.c (process_file): Change function from void to
+ returning an int. Return 0 upon success, 1 otherwise.
+ (main): Use return value from process_file as the exit value.
+ * ar.c (ranlib_only): Change function from void to returning an
+ int. Return 0 upon success, 1 otherwise.
+ (ranlib_touch): Likewise.
+ (main): Use return value from ranlib functions as exit value.
+ * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
+ fails.
+ (copy_file): Likewise.
+ (strip_main): Likewise.
+ (copy_main): Likewise.
+ * objdump.c (display_file): Set exit_status to 1 if get_file_size
+ fails.
+ * size.c (display_file): Set return_code to 1 if get_file_size
+ fails.
+
2006-08-02 Thiemo Seufer <ths@mips.com>
Nigel Stephens <nigel@mips.com>