aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/3.4.2/401-ppc-eabi-typo.patch
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-01-16 11:43:02 +0000
committerMike Baker <mbm@openwrt.org>2005-01-16 11:43:02 +0000
commit1ca99c8bcfa96041185848b2efef6953189f503f (patch)
tree85d694c0a5715a49a401cadec16be849169d8d6a /toolchain/gcc/3.4.2/401-ppc-eabi-typo.patch
downloadmaster-187ad058-1ca99c8bcfa96041185848b2efef6953189f503f.tar.gz
master-187ad058-1ca99c8bcfa96041185848b2efef6953189f503f.tar.bz2
master-187ad058-1ca99c8bcfa96041185848b2efef6953189f503f.zip
Initial revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@197 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/3.4.2/401-ppc-eabi-typo.patch')
-rw-r--r--toolchain/gcc/3.4.2/401-ppc-eabi-typo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/toolchain/gcc/3.4.2/401-ppc-eabi-typo.patch b/toolchain/gcc/3.4.2/401-ppc-eabi-typo.patch
new file mode 100644
index 0000000000..dbb856868d
--- /dev/null
+++ b/toolchain/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 */