This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: [PATCH] Re: binutils: "unexpected reloc type 0x17" on sparc



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



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