https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64645

--- Comment #4 from Richard Henderson <rth at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #3)
> AFAIK Cygwin-32 does not support the unwind info at all, right?.

Wrong.  This should be enough to fix it.

diff --git a/src/x86/sysv.S b/src/x86/sysv.S
index 58432d9..78f245b 100644
--- a/src/x86/sysv.S
+++ b/src/x86/sysv.S
@@ -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

Reply via email to