arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove cast to int.

* arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove
cast to int.

From-SVN: r67658
This commit is contained in:
Richard Earnshaw 2003-06-09 11:27:37 +00:00 committed by Richard Earnshaw
parent 4dd03b276c
commit 659bdc6853
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-06-09 Richard Earnshaw <rearnsha@arm.com>
* arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove
cast to int.
2003-06-09 Richard Sandiford <rsandifo@redhat.com>
* configure.in: Assume gas 2.14 and above can handle MIPS relocation

View File

@ -2470,9 +2470,9 @@ extern int making_const_table;
else if (GET_CODE (X) == PLUS) \
{ \
if (GET_CODE (XEXP (X, 1)) == CONST_INT) \
asm_fprintf (STREAM, "[%r, #%d]", \
asm_fprintf (STREAM, "[%r, #%wd]", \
REGNO (XEXP (X, 0)), \
(int) INTVAL (XEXP (X, 1))); \
INTVAL (XEXP (X, 1))); \
else \
asm_fprintf (STREAM, "[%r, %r]", \
REGNO (XEXP (X, 0)), \