[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cobalt Qube 2 kernel?

Guido Guenther wrote:
> On Fri, May 02, 2003 at 12:54:46PM -0700, Greg Lindahl wrote:
> > The problem I had was that binutils was generating a
> > BFD_RELOC_16_PCREL_S2 relocation, which is a Cygnusism. I suppose that
> > this is what you say... the first file in the CVS kernel that triggers
> > it is scall_o32.S -- so isn't there a simple rewrite to
> > dodge the problem?
> Hmm...(without looking at the source and without the full error message
> you see) I'd think it's the 
>   beq     a0, MIPS_ATOMIC_SET, mips_atomic_set
> causing the problem, not the "j       _sys_sysmips". If this is the case
> the patch for glibc at:
>  http://honk.physik.uni-konstanz.de/linux-mips/glibc/patches/clone-local-label.diff
> tackles the very same problem in glibc. Introducing a local label should
> fix it.

A newer version of binutils (CVS post 2003-03-12) fixes it without
the need of changing perfectly legal code.


Reply to: