[PATCH] Set thumb MODE_RECORDED flag for non-elf

Daniel Jacobowitz drow@false.org
Thu Dec 10 23:25:00 GMT 2009


On Thu, Dec 10, 2009 at 03:10:56PM -0800, Andrew Jenner wrote:
> Here is a patch to fix an assert failure seen when using ARM gas with
> non-elf output files (specifically, PE/COFF for Windows CE).
> 
> gas/ChangeLog
> 
> 2009-12-10  Andrew Jenner  <andrew@codesourcery.com>
> 
> 	* config/tc-arm.c (arm_init_frag): Set thumb MODE_RECORDED flag
> 	for non-elf.
> 
> OK to commit?

In the patch that introduced the failing assertion, the assertion in
arm_handle_align was not conditionalized on OBJ_ELF.  It looks like
Nick added that #ifdef a couple of weeks after I checked in the
previous patch.  Can that #ifdef be removed with this change?


-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list