aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-05-09 14:16:50 +0000
committerThiemo Seufer <ths@networkno.de>2006-05-09 14:16:50 +0000
commit4e2a74a8413a6389d557bf54bc8a4a85004322d5 (patch)
tree3701bfc8c62bbca94455e60f71194546329e6efa /gas/config
parent337ff0a5afa6511854390af9ca41f5de27a40cbc (diff)
downloadgdb-4e2a74a8413a6389d557bf54bc8a4a85004322d5.zip
gdb-4e2a74a8413a6389d557bf54bc8a4a85004322d5.tar.gz
gdb-4e2a74a8413a6389d557bf54bc8a4a85004322d5.tar.bz2
[ gas/ChangeLog ]
* config/tc-mips.c (append_insn): Only warn about an out-of-range j or jal address. [ gas/testsuite/ChangeLog ] * gas/mips/jal-range.l: Only warn about an out-of-range j or jal address.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index c42de18..673c138 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -2416,8 +2416,8 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr,
as_bad (_("jump to misaligned address (0x%lx)"),
(unsigned long) address_expr->X_add_number);
if (address_expr->X_add_number & ~0xfffffff)
- as_bad (_("jump address range overflow (0x%lx)"),
- (unsigned long) address_expr->X_add_number);
+ 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;
@@ -2426,8 +2426,8 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr,
as_bad (_("jump to misaligned address (0x%lx)"),
(unsigned long) address_expr->X_add_number);
if (address_expr->X_add_number & ~0xfffffff)
- as_bad (_("jump address range overflow (0x%lx)"),
- (unsigned long) address_expr->X_add_number);
+ 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)