[uClibc] ld.so on MIPS broken?

Joakim Tjernlund joakim.tjernlund at lumentis.se
Thu Feb 19 18:21:09 UTC 2004


> On Thu, Feb 19, 2004 at 11:33:51AM +0100, Joakim Tjernlund wrote:
> > One idea, look in ldso/ldso/mips/elfinterp.c for
> > ELF_RTYPE_CLASS_COPY. 
> > I suspect that one or more of the ELF_RTYPE_CLASS_COPY
> > should be a ELF_RTYPE_CLASS_PLT or just a 0.
> 
> Bingo! Changing the last ELF_RTYPE_CLASS_COPY in
> _dl_perform_mips_global_got_relocations() to 
> ELF_RTYPE_CLASS_PLT solved the
> problem. I haven't tried the other occurences of ELF_RTYPE_CLASS_PLT
> though, since I don't have the slightest idea about what I'm 
> doing here...

Great! Send a patch to Erik(or Manuel). I don't know either whats 
going on in MIPS. It is a totally different beast than PPC/x86.
It is a good start anyhow.

 Jocke



More information about the uClibc mailing list