From: Steve Chamberlain Date: Sun, 4 Apr 1993 22:23:24 +0000 (+0000) Subject: * config/tc-h8500.c: Get relax size of branch instructions right, X-Git-Tag: gdb-4_18-branchpoint~19659 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3adb6ca9182d6904c7a7a307a5172aad563e7f0b;p=thirdparty%2Fbinutils-gdb.git * config/tc-h8500.c: Get relax size of branch instructions right, (get_operand): Parse @sp+ correctly. --- diff --git a/gas/config/tc-h8500.c b/gas/config/tc-h8500.c index a29e7f0aa5f..8f37cec55b0 100644 --- a/gas/config/tc-h8500.c +++ b/gas/config/tc-h8500.c @@ -83,7 +83,7 @@ const char FLT_CHARS[] = "rRsSfFdDxXpP"; #define END 4 #define BYTE_F 127 -#define BYTE_B -128 +#define BYTE_B -126 #define WORD_F 32767 #define WORD_B 32768 @@ -452,7 +452,7 @@ get_operand (ptr, op, ispage) int mode; unsigned int num; unsigned int len; - + op->page = 0; if (src[0] == '(' && src[1] == 'r') { /* This is a register list */ @@ -681,6 +681,12 @@ get_specific (opcode, operands) continue; } break; + case SPINC: + if (user->type == RNINC && user->reg == 7) + { + continue; + } + break; case ABS16: if (user->type == ABS16) {