OSDN Git Service

Joakim Tjernlund writes:
authorEric Andersen <andersen@codepoet.org>
Sat, 8 Nov 2003 20:33:49 +0000 (20:33 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 8 Nov 2003 20:33:49 +0000 (20:33 -0000)
Oops, found another ppc 8xx bug.
8xx CPUs may need this as well to work:

ldso/ldso/powerpc/dl-sysdep.h
ldso/ldso/powerpc/ld_sysdep.h

index 52aace5..26934ec 100644 (file)
@@ -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);\
+       |                                               \
        }
 
 /*
index 52aace5..26934ec 100644 (file)
@@ -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);\
+       |                                               \
        }
 
 /*