Jelajahi Sumber

Joakim Tjernlund writes:

Oops, found another ppc 8xx bug.
8xx CPUs may need this as well to work:
Eric Andersen 22 tahun lalu
induk
melakukan
6cb9a42fc7
2 mengubah file dengan 6 tambahan dan 4 penghapusan
  1. 3 2
      ldso/ldso/powerpc/dl-sysdep.h
  2. 3 2
      ldso/ldso/powerpc/ld_sysdep.h

+ 3 - 2
ldso/ldso/powerpc/dl-sysdep.h

@@ -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);\
+	|						\
 	}
 
 /*

+ 3 - 2
ldso/ldso/powerpc/ld_sysdep.h

@@ -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);\
+	|						\
 	}
 
 /*