[uClibc] uClibc 0.9.22 released

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Sat Nov 8 18:17:32 UTC 2003


From: "Joakim Tjernlund" <Joakim.Tjernlund at lumentis.se>
> Hi Erik
> 
> You forgot to mention the changes to ldso/powerpc/elfinterp.c.
> Hopefully 8xx will work now with dynamic linking.
> 
> There were one bug that were generic for all PPC CPUs, if you have any
> problems on PPC with ldso, maybe this will fix it.
> 
> Jocke

Oops, found another ppc 8xx bug.
8xx CPUs may need this as well to work:
(This patch is white space mangled, sorry)

Index: ldso/ldso/powerpc/ld_sysdep.h
===================================================================
RCS file: /var/cvs/uClibc/ldso/ldso/powerpc/ld_sysdep.h,v
retrieving revision 1.4
diff -u -r1.4 ld_sysdep.h
--- ldso/ldso/powerpc/ld_sysdep.h       28 May 2002 21:33:38 -0000      1.4
+++ ldso/ldso/powerpc/ld_sysdep.h       8 Nov 2003 18:13:06 -0000
@@ -89,8 +89,9 @@
        }else{                                          \
          _dl_exit(100+ELF32_R_TYPE((RELP)->r_info));   \
        }                                               \
-/*hexprint(*REL);*/                                    \
-       PPC_DCBST(REL); PPC_SYNC; PPC_ICBI(REL);        \
+       if(type!=R_PPC_NONE){                           \
+               PPC_DCBST(REL); PPC_SYNC; PPC_ICBI(REL);\
+       }                                               \
        }

 /*



More information about the uClibc mailing list