2007-08-24 Aurelien Jarno <aurel32@debian.org>

* config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
	before printing them.
This commit is contained in:
Daniel Jacobowitz
2007-08-24 16:59:16 +00:00
parent 29d89e071e
commit 495bde8ec4
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2007-08-24 Aurelien Jarno <aurel32@debian.org>
* config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
before printing them.
2007-08-24 Anders Waldenborg <anders@0x63.nu> 2007-08-24 Anders Waldenborg <anders@0x63.nu>
Alan Modra <amodra@bigpond.net.au> Alan Modra <amodra@bigpond.net.au>

View File

@ -18824,7 +18824,7 @@ md_apply_fix (fixS * fixP,
if (encoded_addend == (unsigned int) FAIL) if (encoded_addend == (unsigned int) FAIL)
as_bad_where (fixP->fx_file, fixP->fx_line, as_bad_where (fixP->fx_file, fixP->fx_line,
_("the offset 0x%08lX is not representable"), _("the offset 0x%08lX is not representable"),
addend_abs); (unsigned long) addend_abs);
/* Extract the instruction. */ /* Extract the instruction. */
insn = md_chars_to_number (buf, INSN_SIZE); insn = md_chars_to_number (buf, INSN_SIZE);
@ -18864,7 +18864,7 @@ md_apply_fix (fixS * fixP,
if (addend_abs >= 0x1000) if (addend_abs >= 0x1000)
as_bad_where (fixP->fx_file, fixP->fx_line, as_bad_where (fixP->fx_file, fixP->fx_line,
_("bad offset 0x%08lX (only 12 bits available for the magnitude)"), _("bad offset 0x%08lX (only 12 bits available for the magnitude)"),
addend_abs); (unsigned long) addend_abs);
/* Extract the instruction. */ /* Extract the instruction. */
insn = md_chars_to_number (buf, INSN_SIZE); insn = md_chars_to_number (buf, INSN_SIZE);
@ -18903,7 +18903,7 @@ md_apply_fix (fixS * fixP,
if (addend_abs >= 0x100) if (addend_abs >= 0x100)
as_bad_where (fixP->fx_file, fixP->fx_line, as_bad_where (fixP->fx_file, fixP->fx_line,
_("bad offset 0x%08lX (only 8 bits available for the magnitude)"), _("bad offset 0x%08lX (only 8 bits available for the magnitude)"),
addend_abs); (unsigned long) addend_abs);
/* Extract the instruction. */ /* Extract the instruction. */
insn = md_chars_to_number (buf, INSN_SIZE); insn = md_chars_to_number (buf, INSN_SIZE);
@ -18943,12 +18943,12 @@ md_apply_fix (fixS * fixP,
if (addend_abs & 0x3) if (addend_abs & 0x3)
as_bad_where (fixP->fx_file, fixP->fx_line, as_bad_where (fixP->fx_file, fixP->fx_line,
_("bad offset 0x%08lX (must be word-aligned)"), _("bad offset 0x%08lX (must be word-aligned)"),
addend_abs); (unsigned long) addend_abs);
if ((addend_abs >> 2) > 0xff) if ((addend_abs >> 2) > 0xff)
as_bad_where (fixP->fx_file, fixP->fx_line, as_bad_where (fixP->fx_file, fixP->fx_line,
_("bad offset 0x%08lX (must be an 8-bit number of words)"), _("bad offset 0x%08lX (must be an 8-bit number of words)"),
addend_abs); (unsigned long) addend_abs);
/* Extract the instruction. */ /* Extract the instruction. */
insn = md_chars_to_number (buf, INSN_SIZE); insn = md_chars_to_number (buf, INSN_SIZE);