From: Nick Clifton Date: Mon, 17 Sep 2007 16:34:47 +0000 (+0000) Subject: PR gas/5026 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c61236951045d12cce535fbdeb726ee03844f41;p=binutils-gdb.git PR gas/5026 * read.c (emit_expr): Use unsigned long long values in warning message about truncated expressions. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 12f91bfbbbf..08b48019849 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2007-09-17 Evandro Menezes + + PR gas/5026 + * read.c (emit_expr): Use unsigned long long values in warning + message about truncated expressions. + 2007-09-17 H.J. Lu * config/tc-i386.c (intel_e04): Revert the last change. diff --git a/gas/read.c b/gas/read.c index 0abbdb23341..19b434f30b9 100644 --- a/gas/read.c +++ b/gas/read.c @@ -4106,8 +4106,8 @@ emit_expr (expressionS *exp, unsigned int nbytes) && ((get & mask) != mask || (get & hibit) == 0)) { /* Leading bits contain both 0s & 1s. */ - as_warn (_("value 0x%lx truncated to 0x%lx"), - (unsigned long) get, (unsigned long) use); + as_warn (_("value 0x%llx truncated to 0x%llx"), + (unsigned long long) get, (unsigned long long) use); } /* Put bytes in right order. */ md_number_to_chars (p, use, (int) nbytes);