This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: binutils: "unexpected reloc type 0x17" on sparc
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: binutils: "unexpected reloc type 0x17" on sparc
- From: "David S. Miller" <davem at redhat dot com>
- Date: Thu, 28 Jun 2001 15:11:50 -0700 (PDT)
- Cc: Tomasz Kłoczko <kloczek at rudy dot mif dot pg dot gda dot pl>, GNU C Library <libc-alpha at sourceware dot cygnus dot com>, binutils at sourceware dot cygnus dot com, rth at redhat dot com
- References: <Pine.LNX.4.21.0106282306000.11781-100000@rudy.mif.pg.gda.pl><20010628142842.B4072@lucon.org>
H . J . Lu writes:
> On Thu, Jun 28, 2001 at 11:19:44PM +0200, Tomasz Kłoczko wrote:
> > I cant find what is going on and IMHO new ld from binutils probably is
> > buggy.
>
> 0x17 == R_SPARC_UA32. The new linker generates them. I think glibc has
> to be fixed to deal with R_SPARC_UA32, R_SPARC_UA64 and R_SPARC_UA16.
I was under the impression that R_SPARC_UA{32,64,16} should never show
up as a dynamic reloc.
If this is OK, then this binutils change breaks every Sparc/Linux
system out there since no GLIBC version (even today in CVS) handles
these dynamic relocs.
Later,
David S. Miller
davem@redhat.com