This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils: "unexpected reloc type 0x17" on sparc
- To: "David S. Miller" <davem at redhat dot com>
- Subject: Re: binutils: "unexpected reloc type 0x17" on sparc
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 28 Jun 2001 15:17:40 -0700
- Cc: "H . J . Lu" <hjl at lucon dot org>, 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
- References: <Pine.LNX.4.21.0106282306000.11781-100000@rudy.mif.pg.gda.pl> <20010628142842.B4072@lucon.org> <15163.43942.129113.136647@pizda.ninka.net>
On Thu, Jun 28, 2001 at 03:11:50PM -0700, David S. Miller wrote:
> I was under the impression that R_SPARC_UA{32,64,16} should never show
> up as a dynamic reloc.
Why wouldn't they show up in dynamic relocs? There's no other point
for having them! They are a speed optimization for the dynamic linker,
so that it needn't assume R_SPARC_32 may be unaligned.
> 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.
Too bad, as this binutils change is required for things to work
on Solaris, which otherwise gets SIGBUS on the unaligned write.
r~