This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Re: binutils: "unexpected reloc type 0x17" on sparc
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [PATCH] Re: binutils: "unexpected reloc type 0x17" on sparc
- From: Tomasz Kłoczko <kloczek at rudy dot mif dot pg dot gda dot pl>
- Date: Fri, 29 Jun 2001 21:30:55 +0200 (CEST)
- cc: "David S. Miller" <davem at redhat dot com>, Ian Lance Taylor <ian at zembu dot com>, Richard Henderson <rth at redhat dot com>, "H . J . Lu" <hjl at lucon dot org>, GNU C Library <libc-alpha at sourceware dot cygnus dot com>, binutils at sourceware dot cygnus dot com
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*