PR gas/5026
* read.c (emit_expr): Only use long long if required and available.
This commit is contained in:
parent
20e192ab8d
commit
b6ac5419b4
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-09-18 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
PR gas/5026
|
||||
* read.c (emit_expr): Only use long long if required and available.
|
||||
|
||||
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/tc-i386.c (baseindex): Removed.
|
||||
|
|
|
@ -4106,8 +4106,13 @@ emit_expr (expressionS *exp, unsigned int nbytes)
|
|||
&& ((get & mask) != mask
|
||||
|| (get & hibit) == 0))
|
||||
{ /* Leading bits contain both 0s & 1s. */
|
||||
#if defined (BFD64) && BFD_HOST_64BIT_LONG_LONG
|
||||
as_warn (_("value 0x%llx truncated to 0x%llx"),
|
||||
(unsigned long long) get, (unsigned long long) use);
|
||||
#else
|
||||
as_warn (_("value 0x%lx truncated to 0x%lx"),
|
||||
(unsigned long) get, (unsigned long) use);
|
||||
#endif
|
||||
}
|
||||
/* Put bytes in right order. */
|
||||
md_number_to_chars (p, use, (int) nbytes);
|
||||
|
|
Loading…
Reference in a new issue