From: Richard Earnshaw Date: Mon, 9 Jun 2003 11:27:37 +0000 (+0000) Subject: arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove cast to int. X-Git-Tag: releases/gcc-3.4.0~6025 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=659bdc68531a7885c4617b9431675ba38df12855;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 029d66d6d8a3..ba42b9c69072 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-09 Richard Earnshaw + + * arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove + cast to int. + 2003-06-09 Richard Sandiford * 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 5af2cb86ee25..cffdd3ba0562 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)), \