[ gas/ChangeLog ]
authorThiemo Seufer <ths@networkno.de>
Tue, 9 May 2006 14:16:50 +0000 (14:16 +0000)
committerThiemo Seufer <ths@networkno.de>
Tue, 9 May 2006 14:16:50 +0000 (14:16 +0000)
* 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.

gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/jal-range.l

index b72aa5b450f58c24195ed0e5172f771bae92e8f3..4596052f18af4222f733a1e72467397391379b4a 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-09  David Ung  <davidu@mips.com>
+
+       * config/tc-mips.c (append_insn): Only warn about an out-of-range
+       j or jal address.
+
 2006-05-09  Nick Clifton  <nickc@redhat.com>
 
        * config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups
index c42de18b102b610b2906a6640825f22e0f886b51..673c13885d9fa66a983693ea39531cb7e2822320 100644 (file)
@@ -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)
index 1b7ff836128b331e99ba0dadfcd703784ce84342..62e1ee213f9fe9132f0a60ac90109ce8b597e520 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-09  David Ung  <davidu@mips.com>
+
+       * gas/mips/jal-range.l: Only warn about an out-of-range j or jal
+       address.
+
 2006-05-08  Thiemo Seufer  <ths@mips.com>
 
        * gas/mips/mips32.s, gas/mips/mips32.d: Extend testcase to check
index 3887e1812c2845395a446ba57be842aa7d4e9426..64e4ec5c709ad8f2946d9ebfd23bed179ae94151 100644 (file)
@@ -1,4 +1,4 @@
 .*: Assembler messages:
 .*:4: Error: jump to misaligned address \(0x1\)
 .*:6: Error: jump to misaligned address \(0xfffffff\)
-.*:7: Error: jump address range overflow \(0x10000000\)
+.*:7: Warning: jump address range overflow \(0x10000000\)