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: Richard Henderson <rth at redhat dot com>
- Subject: Re: binutils: "unexpected reloc type 0x17" on sparc
- From: "David S. Miller" <davem at redhat dot com>
- Date: Thu, 28 Jun 2001 15:21:17 -0700 (PDT)
- 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><20010628151740.A16519@redhat.com>
Richard Henderson writes:
> 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.
Ok then.
> > 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.
What I'm really trying to understand is why we've gotten away with not
having this for all this time. :-)
Is this being emitted for something new like stack unwind info or
dwarf2 debugging stuff?
Later,
David S. Miller
davem@redhat.com