aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-05-11 14:30:58 +0000
committerThiemo Seufer <ths@networkno.de>2006-05-11 14:30:58 +0000
commit89ee2ebe8b9182015a1bf8643bb87c312c92474c (patch)
tree4fefae908d6d3c86783adcc5140e80df7a129e93 /gas/config
parent8ef6493a1d95fb17f086831f6ab4ed13b0c79500 (diff)
downloadgdb-89ee2ebe8b9182015a1bf8643bb87c312c92474c.zip
gdb-89ee2ebe8b9182015a1bf8643bb87c312c92474c.tar.gz
gdb-89ee2ebe8b9182015a1bf8643bb87c312c92474c.tar.bz2
[ gas/ChangeLog ]
* config/tc-mips.c (append_insn): Don't check the range of j or jal addresses. [ gas/testsuite/ChangeLog ] * gas/mips/jal-range.l: Don't check the range of j or jal addresses.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 673c138..3108d0a 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -2415,9 +2415,6 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr,
if ((address_expr->X_add_number & 3) != 0)
as_bad (_("jump to misaligned address (0x%lx)"),
(unsigned long) address_expr->X_add_number);
- if (address_expr->X_add_number & ~0xfffffff)
- as_warn (_("jump address range overflow (0x%lx)"),
- (unsigned long) address_expr->X_add_number);
ip->insn_opcode |= (address_expr->X_add_number >> 2) & 0x3ffffff;
break;
@@ -2425,9 +2422,6 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr,
if ((address_expr->X_add_number & 3) != 0)
as_bad (_("jump to misaligned address (0x%lx)"),
(unsigned long) address_expr->X_add_number);
- if (address_expr->X_add_number & ~0xfffffff)
- as_warn (_("jump address range overflow (0x%lx)"),
- (unsigned long) address_expr->X_add_number);
ip->insn_opcode |=
(((address_expr->X_add_number & 0x7c0000) << 3)
| ((address_expr->X_add_number & 0xf800000) >> 7)