On 7/27/2016 6:40 PM, dw wrote:
> I've gotten a couple of binutils to build, but I'm not 100% certain 
> they are correct.  Should armv7-w64-ming32 support CFI? Windows is a 
> COFF system, and CFI is normally associated with ELF.  However 
> compiling C programs with i686-w64-mingw32 outputs CFI directives and 
> that's a COFF system.  None of the gas builds I have done so far 
> support CFI, but some of the files in a gcc build use cfi directives.  
> Does that mean I'm building gas wrong?  Or that I'm configuring things 
> wrong when I build gcc so that files that shouldn't be built (since 
> they contain CFI) are being built by mistake?  Or are the files that 
> use .cfi directives without checking for something like __ELF__ just 
> wrong?

Just to follow up, it appears that WinCE on ARM uses SEH (similar to 
x64), not CFI (see https://msdn.microsoft.com/en-us/library/aa448591.aspx).

My builds of gas do support .seh_* directives, so I appear to be on the 
right track.

dw

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to