From: Michael Tiemann Date: Sun, 27 Nov 1994 20:04:22 +0000 (+0000) Subject: Changes to reflect that r3, not r0, is now the stack pointer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5adb5d8a451ada513da9c1c29641b1d5aaffd12;p=binutils-gdb.git Changes to reflect that r3, not r0, is now the stack pointer. --- diff --git a/gas/config/tc-rce.c b/gas/config/tc-rce.c index ff27d070019..97a217bea74 100644 --- a/gas/config/tc-rce.c +++ b/gas/config/tc-rce.c @@ -513,8 +513,8 @@ char *str; break; case LR: op_end = parse_reg(op_end + 1, ®); - 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; }