This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Set thumb MODE_RECORDED flag for non-elf
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew Jenner <andrew at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 10 Dec 2009 18:25:32 -0500
- Subject: Re: [PATCH] Set thumb MODE_RECORDED flag for non-elf
- References: <4B218000.4070603@codesourcery.com>
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