aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2003-06-09 11:27:37 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2003-06-09 11:27:37 +0000
commit659bdc68531a7885c4617b9431675ba38df12855 (patch)
tree14597e9b0fb13734b2c8df8289deb50b5f4a2589 /gcc
parent4dd03b276c94a3e3faec9abbb2763baf9cb67a80 (diff)
downloadgcc-659bdc68531a7885c4617b9431675ba38df12855.zip
gcc-659bdc68531a7885c4617b9431675ba38df12855.tar.gz
gcc-659bdc68531a7885c4617b9431675ba38df12855.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 029d66d..ba42b9c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 5af2cb8..cffdd3b 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -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)), \