Changes to reflect that r3, not r0, is now the stack pointer.
authorMichael Tiemann <tiemann@cygnus>
Sun, 27 Nov 1994 20:04:22 +0000 (20:04 +0000)
committerMichael Tiemann <tiemann@cygnus>
Sun, 27 Nov 1994 20:04:22 +0000 (20:04 +0000)
gas/config/tc-rce.c

index ff27d0700199797e502f41545d4c04680745253f..97a217bea748525ea69ab906442d60476e5c136a 100644 (file)
@@ -513,8 +513,8 @@ char *str;
        break;
       case LR:
        op_end = parse_reg(op_end + 1, &reg);
-       if( reg==0 || reg==15 )
-               as_bad ("invalid register 'r0' and 'r15' illegal");
+       if( reg==3 || reg==15 )
+               as_bad ("invalid register 'r3' and 'r15' illegal");
        inst |= (reg<<8);
        if (*op_end++ == ',')
          {   
@@ -573,10 +573,10 @@ char *str;
                {   op_end = parse_reg(op_end + 1, &basereg);
                    if (*op_end == ')')
                        op_end++;
-                   if (endreg == 15 && basereg == 0)
+                   if (endreg == 15 && basereg == 3)
                    {   
                        if(reg==0 || reg==15)
-                         as_bad("bad register list, r0 and r15 invalid as starting registers");
+                         as_bad("bad register list, 'r3' and 'r15' invalid as starting registers");
                        inst |= 0x0080;         /* list form */
                        inst |= reg;
                    }