summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-08 20:33:49 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-08 20:33:49 +0000
commit6cb9a42fc7cdebe25d2362bad5c464df45c2844b (patch)
treed73de59668c68fbf6d5d03ff4c587f07e1c5b141
parent9220d9b6ec856caad9d2ecd8aa28f26c69f739ca (diff)
Joakim Tjernlund writes:
Oops, found another ppc 8xx bug. 8xx CPUs may need this as well to work:
-rw-r--r--ldso/ldso/powerpc/dl-sysdep.h5
-rw-r--r--ldso/ldso/powerpc/ld_sysdep.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/ldso/ldso/powerpc/dl-sysdep.h b/ldso/ldso/powerpc/dl-sysdep.h
index 52aace57f..26934ec53 100644
--- a/ldso/ldso/powerpc/dl-sysdep.h
+++ b/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);\
+ | \
}
/*
diff --git a/ldso/ldso/powerpc/ld_sysdep.h b/ldso/ldso/powerpc/ld_sysdep.h
index 52aace57f..26934ec53 100644
--- a/ldso/ldso/powerpc/ld_sysdep.h
+++ b/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);\
+ | \
}
/*