Commit a13fd905 by Paul Brook Committed by Paul Brook

varasm.c (default_assemble_integer): Return false for values wider than the target word size.

	* varasm.c (default_assemble_integer): Return false for values wider
	than the target word size.  Works around GAS bug.

From-SVN: r87827
parent 3a3d0225
2004-09-21 Paul Brook <paul@codesourcery.com>
* varasm.c (default_assemble_integer): Return false for values wider
than the target word size. Works around GAS bug.
2004-09-21 Zack Weinberg <zack@codesourcery.com>
* reg-notes.def (REG_DEP_TRUE): New entry, place first so it
......
......@@ -2008,6 +2008,9 @@ default_assemble_integer (rtx x ATTRIBUTE_UNUSED,
int aligned_p ATTRIBUTE_UNUSED)
{
const char *op = integer_asm_op (size, aligned_p);
/* Avoid GAS bugs for values > word size. */
if (size > UNITS_PER_WORD)
return false;
return op && (assemble_integer_with_op (op, x), true);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment