[uClibc] ld.so on MIPS broken?

Erik Andersen andersen at codepoet.org
Thu Feb 19 18:27:52 UTC 2004


On Thu Feb 19, 2004 at 07:21:09PM +0100, Joakim Tjernlund wrote:
> > 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.

I have just brought my mipsel test system back to life,
so I can now actually test mipsel once again...

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list