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


On Fri, 29 Jun 2001, Jakub Jelinek wrote:
[..]
> That's what elf64-sparc.c is already doing, wonder why it was missing in
> elf32-sparc.c.
> Tomasz, does the following patch help?
> While writing it, I've noticed someone added support for R_SPARC_UA64 into
> elf32-sparc.c. That does not make sense to me in the light that sparc32 is
> not supporting R_SPARC_64 either. Simply putting anything but assembly time
> constant into .xword, .uaxword or .8byte is bad assembly on SPARC 32bit.
> 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.

Seems patche prepared by you Jakub works correctly. After patching
binutils and recompile gcc (mangled libstdc++) and glibc on all pass
correctly.

Thank you.

BTW. Anyone have somewhere startup binaries generated as linux elf 64bit
for usparc ? (glibc, gcc, binutils, shell and few more usualy used).
Or if not is it possible now crosscompile this binaries (is glibc and some
other software is ready for try prepare this kind enviroment ?)

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*


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