Initial revision
[openwrt.git] / toolchain / gcc / 3.4.2 / 401-ppc-eabi-typo.patch
1 revision 1.12
2 date: 2004/07/16 15:13:40;  author: segher;  state: Exp;  lines: +1 -1
3         * config/rs6000/eabi.asm (__eabi_convert): Fix typo (cmpi vs. cmpwi).
4 Index: gcc/config/rs6000/eabi.asm
5 ===================================================================
6 RCS file: /cvs/gcc/gcc/gcc/config/rs6000/eabi.asm,v
7 retrieving revision 1.11
8 retrieving revision 1.12
9 diff -u -b -B -w -p -r1.11 -r1.12
10 --- gcc/gcc/config/rs6000/eabi.asm      20 Sep 2002 23:46:58 -0000      1.11
11 +++ gcc/gcc/config/rs6000/eabi.asm      16 Jul 2004 15:13:40 -0000      1.12
12 @@ -252,7 +252,7 @@ FUNC_START(__eabi_convert)
13  
14  .Lcvt:
15         lwzu    6,4(3)                          /* pointer to convert */
16 -       cmpi    0,6,0
17 +       cmpwi   0,6,0
18         beq-    .Lcvt2                          /* if pointer is null, don't convert */
19  
20          add    6,6,12                          /* convert pointer */