This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: binutils: "unexpected reloc type 0x17" on sparc


"David S. Miller" <davem@redhat.com> writes:

>  > > 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?

The GNU assembler was recently (May 28) fixed to use R_SPARC_UA32 and
friends for .ualong and friends.  That was always correct--compare
with the Solaris assembler--but for a long time the GNU assembler
incorrectly used R_SPARC_32.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]