From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Sherrill To: Ian Lance Taylor Cc: gas2@cygnus.com Subject: Re: more on powerpc-rtems ar failure Date: Fri, 17 Apr 1998 05:55:00 -0000 Message-id: References: <199804162236.SAA02182@subrogation.cygnus.com> X-SW-Source: 1998/msg00149.html Thanks. On Thu, 16 Apr 1998, Ian Lance Taylor wrote: > Found the problem. Is this just that the code to check for "wrong format" was missing? So now it prints a better message? Were you able to reproduce Eric Norum's Srecord split problem? Did you get all the information you wanted? --joel > Index: archive.c > =================================================================== > RCS file: /cvs/cvsfiles/devo/bfd/archive.c,v > retrieving revision 1.135 > diff -u -r1.135 archive.c > --- archive.c 1998/03/27 21:30:25 1.135 > +++ archive.c 1998/04/16 22:33:17 > @@ -646,6 +646,8 @@ > { > bfd_release (abfd, bfd_ardata (abfd)); > abfd->tdata.aout_ar_data = tdata_hold; > + if (bfd_get_error () != bfd_error_system_call) > + bfd_set_error (bfd_error_wrong_format); > return NULL; > } > > @@ -653,6 +655,8 @@ > { > bfd_release (abfd, bfd_ardata (abfd)); > abfd->tdata.aout_ar_data = tdata_hold; > + if (bfd_get_error () != bfd_error_system_call) > + bfd_set_error (bfd_error_wrong_format); > return NULL; > } > >