[ 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.
This commit is contained in:
parent
337ff0a5af
commit
4e2a74a841
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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\)
|
||||
|
|
Loading…
Reference in New Issue