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:
parent
3a3d022561
commit
a13fd90532
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user