[uClibc-cvs] uClibc/ldso/ldso/powerpc ld_sysdep.h,1.4,1.5

Erik Andersen andersen at uclibc.org
Sat Nov 8 20:33:56 UTC 2003


Update of /var/cvs/uClibc/ldso/ldso/powerpc
In directory winder:/tmp/cvs-serv18921

Modified Files:
	ld_sysdep.h 
Log Message:
Joakim Tjernlund writes:

Oops, found another ppc 8xx bug.
8xx CPUs may need this as well to work:



Index: ld_sysdep.h
===================================================================
RCS file: /var/cvs/uClibc/ldso/ldso/powerpc/ld_sysdep.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ld_sysdep.h	28 May 2002 21:33:38 -0000	1.4
+++ ld_sysdep.h	8 Nov 2003 20:33:49 -0000	1.5
@@ -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-cvs mailing list