OSDN Git Service

gas/
authorMark Shinwell <shinwell@codesourcery.com>
Sat, 5 May 2007 16:23:57 +0000 (16:23 +0000)
committerMark Shinwell <shinwell@codesourcery.com>
Sat, 5 May 2007 16:23:57 +0000 (16:23 +0000)
* config/tc-arm.c (md_apply_fix): Generate more accurate
diagnostic when 8-bit immediate range is exceeded for
BFD_RELOC_ARM_OFFSET_IMM8.

gas/ChangeLog
gas/config/tc-arm.c

index b08a836..c3f7a3f 100644 (file)
@@ -1,3 +1,9 @@
+2007-05-05  Mark Shinwell  <shinwell@codesourcery.com>
+       * config/tc-arm.c (md_apply_fix): Generate more accurate
+       diagnostic when 8-bit immediate range is exceeded for
+       BFD_RELOC_ARM_OFFSET_IMM8.
+
 2007-05-04  Alan Modra  <amodra@bigpond.net.au>
 
        PR gas/4460
index 62360f1..b558507 100644 (file)
@@ -17922,7 +17922,7 @@ md_apply_fix (fixS *    fixP,
            as_bad_where (fixP->fx_file, fixP->fx_line,
                          _("invalid literal constant: pool needs to be closer"));
          else
-           as_bad (_("bad immediate value for half-word offset (%ld)"),
+           as_bad (_("bad immediate value for 8-bit offset (%ld)"),
                    (long) value);
          break;
        }