+2010-08-31 Kai Tietz <kai.tietz@onevision.com>
+
+ * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
+ (obj_coff_seh_stackalloc): Likewise.
+
2010-08-31 Alan Modra <amodra@gmail.com>
* config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
scale = (what == 1 ? 8 : 16);
- if ((off & (scale - 1)) == 0 && off <= 0xffff * scale)
+ if ((off & (scale - 1)) == 0 && off <= (offsetT) (0xffff * scale))
{
code = (what == 1 ? UWOP_SAVE_NONVOL : UWOP_SAVE_XMM128);
off /= scale;
}
- else if (off < 0xffffffff)
+ else if (off < (offsetT) 0xffffffff)
code = (what == 1 ? UWOP_SAVE_NONVOL_FAR : UWOP_SAVE_XMM128_FAR);
else
{
if ((off & 7) == 0 && off <= 128)
code = UWOP_ALLOC_SMALL, info = (off - 8) >> 3, off = 0;
- else if ((off & 7) == 0 && off <= 0xffff * 8)
+ else if ((off & 7) == 0 && off <= (offsetT) (0xffff * 8))
code = UWOP_ALLOC_LARGE, info = 0, off >>= 3;
- else if (off <= 0xffffffff)
+ else if (off <= (offsetT) 0xffffffff)
code = UWOP_ALLOC_LARGE, info = 1;
else
{