This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Re: ld internal error
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Bernd Jendrissek <berndj at prism dot co dot za>,binutils at sources dot redhat dot com
- Date: Thu, 20 Mar 2003 09:52:35 -0800
- Subject: Re: PATCH: Re: ld internal error
- References: <20030313153934.Y7188@prism.co.za> <20030318181255.A2403@lucon.org> <20030319185328.T7188@prism.co.za> <20030319171139.A440@lucon.org> <20030320013825.GL23858@bubble.sa.bigpond.net.au>
On Thu, Mar 20, 2003 at 12:08:25PM +1030, Alan Modra wrote:
> On Wed, Mar 19, 2003 at 05:11:39PM -0800, H. J. Lu wrote:
> > --- 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;
>
> No, I think N_BADMAG should be fixed. It doesn't correspond at all
> with the code in this function.
>
It looks like the pdp11 port is incomplete. I will leave it as is.
H.J.