This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Re: ld internal error


On Wed, Mar 19, 2003 at 05:11:39PM -0800, H. J. Lu wrote:
> Here is a patch.

... which I'll use for now, until Alan Modra's N_BADMAG objection is
addressed.

> H.J.
> --
> 2003-03-19  H.J. Lu <hjl at gnu dot org>
> 
> 	* pdp11.c (NAME(aout,some_aout_object_p)): Return NULL instead
> 	of abort.
> 
> --- bfd/pdp11.c.pdp11	2002-12-04 09:03:07.000000000 -0800
> +++ bfd/pdp11.c	2003-03-19 16:54:37.000000000 -0800
> @@ -713,11 +713,7 @@ NAME(aout,some_aout_object_p) (abfd, exe
>  	   || N_MAGIC (*execp) == BMAGIC)
>      adata (abfd).magic = o_magic;
>    else
> -    {
> -      /* Should have been checked with N_BADMAG before this routine
> -	 was called.  */
> -      abort ();
> -    }
> +    return NULL;
>  
>    bfd_get_start_address (abfd) = execp->a_entry;

Okay, much better, thanks.  I now only have

/usr/src/home/rpmtest/tmp/INST/glibc-2.3.2-i686-pc-linux-gnu/lib/libthread_db-1.0.so: /lib/libc.so.6: version `GLIBC_PRIVATE' not fo
und (required by /usr/src/home/rpmtest/tmp/INST/glibc-2.3.2-i686-pc-linux-gnu/lib/libthread_db-1.0.so)
BFD: Object module NOT error-free !

BFD: Object module NOT error-free !

which is fine for me for now - I now have glibc RPM's.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]