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
This commit is contained in:
Paul Brook 2004-09-21 23:40:21 +00:00 committed by Paul Brook
parent 3a3d022561
commit a13fd90532
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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);
}