This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Set thumb MODE_RECORDED flag for non-elf


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?

Thanks,

Andrew Jenner
CodeSourcery


Index: gas/config/tc-arm.c =================================================================== RCS file: /cvs/src/src/gas/config/tc-arm.c,v retrieving revision 1.418 diff -r1.418 tc-arm.c 18685c18685 < fragP->tc_frag_data.thumb_mode = thumb_mode; --- > fragP->tc_frag_data.thumb_mode = thumb_mode | MODE_RECORDED;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]