[PATCH] Re: binutils: "unexpected reloc type 0x17" on sparc
David S. Miller
davem@redhat.com
Fri Jun 29 14:22:00 GMT 2001
Ian Lance Taylor writes:
> Jakub Jelinek <jakub@redhat.com> writes:
> > As far as glibc is concerned, if you show me a real-world DSO which really
> > needs R_SPARC_UA16 or R_SPARC_UA32, then I'll happily add those relocs to
> > sparc/sparc32/dl-machine.h, but the libstdc++ Artur mailed me had just
> > R_SPARC_UA32 with all r_offsets divisible by 4.
>
> Do it now. Why wait until somebody has trouble? It's probably easy
> to create a C test case using attribute((__packed__)).
Jakub, Ian is right. Even though such examples are silly, they are
technically legal.
Later,
David S. Miller
davem@redhat.com
More information about the Libc-alpha
mailing list