This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 libgcc]: Avoid specifying w32-unwind.h for 32-bit mingw if sjlj-threading is used


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


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