non-elf.
(arm_handle_align): Re-enable assert for non-elf.
+2009-12-11 Andrew Jenner <andrew@codesourcery.com>
+
+ * config/tc-arm.c (arm_init_frag): Set thumb MODE_RECORDED flag for
+ non-elf.
+ (arm_handle_align): Re-enable assert for non-elf.
+
2009-12-11 Nick Clifton <nickc@redhat.com>
* Makefile.in: Regenerate.
if (bytes > MAX_MEM_FOR_RS_ALIGN_CODE)
bytes &= MAX_MEM_FOR_RS_ALIGN_CODE;
-#ifdef OBJ_ELF
gas_assert ((fragP->tc_frag_data.thumb_mode & MODE_RECORDED) != 0);
-#endif
if (fragP->tc_frag_data.thumb_mode & (~ MODE_RECORDED))
{
arm_init_frag (fragS * fragP, int max_chars ATTRIBUTE_UNUSED)
{
/* Record whether this frag is in an ARM or a THUMB area. */
- fragP->tc_frag_data.thumb_mode = thumb_mode;
+ fragP->tc_frag_data.thumb_mode = thumb_mode | MODE_RECORDED;
}
#else /* OBJ_ELF is defined. */