binutils: "unexpected reloc type 0x17" on sparc
David S. Miller
davem@redhat.com
Thu Jun 28 15:43:00 GMT 2001
Ian Lance Taylor writes:
> "David S. Miller" <davem@redhat.com> writes:
> > 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.
Ok, and you've shown that sol2.h in GCC uses these directives for
ASM_LONG. But this isn't Linux.
Actually, it is even more confusing now, because things worked
perfectly fine under Linux previously as far as we know right?
It was emitting R_SPARC_32 and not R_SPARC_UA32.
I mean, I'll tool around in the gcc-3.0 and cvs binutils sources
to try and figure this out, but someone here can probably dig into
it more quickly than I at the moment.
Later,
David S. Miller
davem@redhat.com
More information about the Libc-alpha
mailing list