PR binutils/3001
commit20d035da4feecb3b4861519aca94dcad58aa6be2
authorNick Clifton <nickc@redhat.com>
Sun, 6 Aug 2006 15:49:46 +0000 (6 15:49 +0000)
committerNick Clifton <nickc@redhat.com>
Sun, 6 Aug 2006 15:49:46 +0000 (6 15:49 +0000)
tree52e98b790146a93f23770821dc9c7a0ad5760ef2
parentbe4c253ca201b04fad9aa151c71fd6a649bdc43b
 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.
binutils/ChangeLog
binutils/addr2line.c
binutils/ar.c
binutils/objcopy.c
binutils/objdump.c
binutils/size.c