From f9d4405b8f10e1875598a893aec2a6cd563c3f48 Mon Sep 17 00:00:00 2001 From: Mark Shinwell Date: Sat, 5 May 2007 16:23:57 +0000 Subject: [PATCH] gas/ * 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 | 6 ++++++ gas/config/tc-arm.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index b08a83672a..c3f7a3f235 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2007-05-05 Mark Shinwell + + * 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 PR gas/4460 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 62360f11e2..b558507dc4 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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; }