x86: Fix cygwin32 build
authorRichard Henderson <rth@twiddle.net>
Mon, 19 Jan 2015 19:48:40 +0000 (20:48 +0100)
committerRichard Henderson <rth@twiddle.net>
Mon, 19 Jan 2015 19:48:40 +0000 (20:48 +0100)
The section syntax is just that little bit different.

src/x86/sysv.S

index 58432d9..78f245b 100644 (file)
@@ -822,6 +822,8 @@ ENDF(C(__x86.get_pc_thunk.dx))
 #ifdef __APPLE__
 .section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
 EHFrame0:
+#elif defined(X86_WIN32)
+.section .eh_frame,"r"
 #elif defined(HAVE_AS_X86_64_UNWIND_SECTION_TYPE)
 .section .eh_frame,EH_FRAME_FLAGS,@unwind
 #else