This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch libgcc]: Avoid specifying w32-unwind.h for 32-bit mingw if sjlj-threading is used
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Richard Henderson <rth at redhat dot com>
- Date: Mon, 20 Feb 2012 21:37:39 +0100
- Subject: [patch libgcc]: Avoid specifying w32-unwind.h for 32-bit mingw if sjlj-threading is used
- Authentication-results: mr.google.com; spf=pass (google.com: domain of ktietz70@googlemail.com designates 10.182.72.69 as permitted sender) smtp.mail=ktietz70@googlemail.com; dkim=pass header.i=ktietz70@googlemail.com
Hi,
this patch fixes an issue about libgcc config.host for SjLj variant build.
ChangeLog
2012-02-20 Kai Tietz <ktietz@redhat.com>
* config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode to
w32-unwind.h header.
Tested for i686-w64-migw32. Ok for apply?
Regards,
Kai
Index: config.host
===================================================================
--- config.host (revision 184333)
+++ config.host (working copy)
@@ -606,6 +606,7 @@
tmake_eh_file="i386/t-sjlj-eh"
else
tmake_eh_file="i386/t-dw2-eh"
+ md_unwind_header=i386/w32-unwind.h
fi
# Shared libgcc DLL install dir depends on cross/native build.
if test x${build} = x${host} ; then
@@ -614,7 +615,6 @@
tmake_dlldir_file="i386/t-dlldir-x"
fi
tmake_file="${tmake_file} ${tmake_eh_file}
${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming
i386/t-mingw32 i386/t-crtfm i386/t-chkstk t-dfprules"
- md_unwind_header=i386/w32-unwind.h
;;
x86_64-*-mingw*)
case ${target_thread_file} in