summaryrefslogtreecommitdiff
path: root/sources/gcc/3.4.2/401-ppc-eabi-typo.patch
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-09-30 00:54:44 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-09-30 00:54:44 +0000
commite29aaa1c6c8c44bcc5af59567a1444b4aef9e196 (patch)
tree36ae3166f28d329797335dd1e50493cde51d1571 /sources/gcc/3.4.2/401-ppc-eabi-typo.patch
parentb4e0fb5f1b41c89b027057bb79cb905194b741ae (diff)
Don't include glibc symbol versions in libgcc.
Replace mips delay slot patch with upstream fix. Backport gcc typo fix from cvs to fix powerpc builds with newer binutils.
Diffstat (limited to 'sources/gcc/3.4.2/401-ppc-eabi-typo.patch')
-rw-r--r--sources/gcc/3.4.2/401-ppc-eabi-typo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sources/gcc/3.4.2/401-ppc-eabi-typo.patch b/sources/gcc/3.4.2/401-ppc-eabi-typo.patch
new file mode 100644
index 000000000..dbb856868
--- /dev/null
+++ b/sources/gcc/3.4.2/401-ppc-eabi-typo.patch
@@ -0,0 +1,20 @@
+revision 1.12
+date: 2004/07/16 15:13:40; author: segher; state: Exp; lines: +1 -1
+ * config/rs6000/eabi.asm (__eabi_convert): Fix typo (cmpi vs. cmpwi).
+Index: gcc/config/rs6000/eabi.asm
+===================================================================
+RCS file: /cvs/gcc/gcc/gcc/config/rs6000/eabi.asm,v
+retrieving revision 1.11
+retrieving revision 1.12
+diff -u -b -B -w -p -r1.11 -r1.12
+--- gcc/gcc/config/rs6000/eabi.asm 20 Sep 2002 23:46:58 -0000 1.11
++++ gcc/gcc/config/rs6000/eabi.asm 16 Jul 2004 15:13:40 -0000 1.12
+@@ -252,7 +252,7 @@ FUNC_START(__eabi_convert)
+
+ .Lcvt:
+ lwzu 6,4(3) /* pointer to convert */
+- cmpi 0,6,0
++ cmpwi 0,6,0
+ beq- .Lcvt2 /* if pointer is null, don't convert */
+
+ add 6,6,12 /* convert pointer */