OSDN Git Service

PR binutils/3001
authornickc <nickc>
Sun, 6 Aug 2006 15:49:45 +0000 (15:49 +0000)
committernickc <nickc>
Sun, 6 Aug 2006 15:49:45 +0000 (15:49 +0000)
commitf1bc9ee418dd42508148ea8d3fa860561a9a57c2
treec1fa5b03fc4d8272e5e79565ce3f5e12cb80314b
parent08f4b9b92f2a2b15016a88925531a40029cf8596
 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