aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-09-20 22:05:08 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-09-20 22:05:08 +0000
commit82efde3a56791e66bb9f241341df3e8d6a18247e (patch)
tree9e9180f0f8f06e72ac41fd447cac53e3396ef859 /gas/config/tc-mips.c
parenta75214e5d442529a6eb46a5e988076e3a1c2a47d (diff)
downloadgdb-82efde3a56791e66bb9f241341df3e8d6a18247e.zip
gdb-82efde3a56791e66bb9f241341df3e8d6a18247e.tar.gz
gdb-82efde3a56791e66bb9f241341df3e8d6a18247e.tar.bz2
2000-09-20 Kazu Hirata <kazu@hxi.com>
* config/tc-m32r.c: Fix formatting. * config/tc-m32r.h: Likewise. * config/tc-m68851.h: Likewise. * config/tc-m68hc11.c: Likewise. * config/tc-m68hc11.h: Likewise. * config/tc-m88k.c: Likewise. * config/tc-mips.c: Likewise. * config/tc-mips.h: Likewise. * config/tc-mn10200.h: Likewise. * config/tc-mn10300.h: Likewise.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 416436a..19490a8 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -1,5 +1,6 @@
/* tc-mips.c -- assemble code for a MIPS chip.
- Copyright (C) 1993, 94, 95, 96, 97, 98, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1993, 94, 95, 96, 97, 98, 1999, 2000
+ Free Software Foundation, Inc.
Contributed by the OSF and Ralph Campbell.
Written by Keith Knowles and Ralph Campbell, working independently.
Modified for ECOFF and R4000 support by Ian Lance Taylor of Cygnus
@@ -7269,20 +7270,20 @@ mips_ip (str, ip)
case 'm': /* Full 20 bit break code. */
my_getExpression (&imm_expr, s);
-
+
check_absolute_expr (ip, &imm_expr);
-
+
if ((unsigned) imm_expr.X_add_number > 0xfffff)
{
as_warn (_("Illegal break code (%ld)"),
(long) imm_expr.X_add_number);
imm_expr.X_add_number &= 0xfffff;
}
-
+
ip->insn_opcode |= imm_expr.X_add_number << 6;
imm_expr.X_op = O_absent;
s = expr_end;
-
+
continue;
case 'B': /* syscall code */