This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: mips binutils after 2001-08-03 build incorrect kernel
- To: Richard Sandiford <r dot sandiford at redhat dot com>
- Subject: Re: mips binutils after 2001-08-03 build incorrect kernel
- From: Guido Guenther <guido dot guenther at gmx dot net>
- Date: Tue, 4 Sep 2001 10:29:12 +0200
- Cc: "H . J . Lu" <hjl at lucon dot org>, binutils at sourceware dot cygnus dot com
- References: <wvnu1yo1e6a.fsf@talisman.cambridge.redhat.com>
On Fri, Aug 31, 2001 at 03:45:17PM +0100, Richard Sandiford wrote:
>
> "H . J . Lu" <hjl@lucon.org> writes:
> > On Fri, Aug 31, 2001 at 12:24:40AM +0200, Guido Guenther wrote:
> > > it seems mips binutils after 08-03 build an incorrect kernel(symptom:
> > > Indy freezes just after tftping the kernel). It seems the following is
> > > causing most of the problems:
> > >
> > > 2001-08-03 Richard Sandiford <rsandifo@redhat.com>
> > >
> > > * config/tc-mips.c (md_apply_fix): Don't subtract the symbol
> > > value from GPREL addends.
> > >
> > > So when I revert this one like:
> > >
> > > [snip]
> > >
> > > Things get much better(boots straight to userspace).
>
> It'd be really helpful if you could give an example of the kind of
> difference this change makes. Could you do a binary diff on the
> kernel's object files before and after reverting the patch and find out
> which ones changed?
Silly me. I didn't know that binutils cvs is missing patches from H.J.
and that these same patches have to be applied manually when fetching
the tarball from kernel.org. A quick test with these patches applied
looks much better.
-- Guido