Update patchset

This commit is contained in:
Hugo Beauzée-Luyssen committed 2016-08-04 16:20:17 +02:00
1 parent 62be46d9c6
commit d52220c121
5 files changed
+1722 -3

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
From 9d0332b9dac6c5925c827d8b372f3c846da8a639 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <hugo@beauzee.fr>
Date: Fri, 13 May 2016 15:07:26 +0200
Subject: [PATCH] Define _Unwind_Ptr on windows
---
src/AddressSpace.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/AddressSpace.hpp b/src/AddressSpace.hpp
index ab17d42..8e5fc20 100644
--- a/src/AddressSpace.hpp
+++ b/src/AddressSpace.hpp
@@ -47,6 +47,8 @@ extern "C" _Unwind_Ptr __gnu_Unwind_Find_exidx(_Unwind_Ptr addr, int *len);
// Emulate the BSD dl_unwind_find_exidx API when on a GNU libdl system.
#define dl_unwind_find_exidx __gnu_Unwind_Find_exidx
+#elif defined(_WIN32)
+typedef void *_Unwind_Ptr;
#elif !defined(_LIBUNWIND_IS_BAREMETAL)
#include <link.h>
#else // !defined(_LIBUNWIND_IS_BAREMETAL)
--
2.8.1
+30
View File
@@ -0,0 +1,30 @@
From 5592b70cca64935b0d090fe5030b3110ba17068c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <hugo@beauzee.fr>
Date: Fri, 13 May 2016 15:17:56 +0200
Subject: [PATCH] yvals.h: Don't create a _Bool typedef if a macro already
exists
---
mingw-w64-headers/crt/yvals.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mingw-w64-headers/crt/yvals.h b/mingw-w64-headers/crt/yvals.h
index 70593c4..98b6921 100644
--- a/mingw-w64-headers/crt/yvals.h
+++ b/mingw-w64-headers/crt/yvals.h
@@ -163,10 +163,12 @@
#define _Restrict __restrict__
#ifdef __cplusplus
+#ifndef _Bool
_STD_BEGIN
typedef bool _Bool;
_STD_END
#endif
+#endif
#define _LONGLONG /* __MINGW_EXTENSION */ __int64
#define _ULONGLONG /* __MINGW_EXTENSION */ unsigned __int64
--
2.8.1
+25
View File
@@ -0,0 +1,25 @@
From 61aebb5782a696df60f4f84a2326752845196583 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <hugo@beauzee.fr>
Date: Mon, 16 May 2016 18:02:01 +0200
Subject: [PATCH 1/2] crt: Add e_pow.c to the source list
---
mingw-w64-crt/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index aa198bd..52d1dc7 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -348,7 +348,7 @@ src_libmingwex32=\
# these only go into the ARM32 version:
src_libmingwexarm32=\
- math/softmath/e_fmod.c math/softmath/e_fmodf.c math/softmath/e_powf.c \
+ math/softmath/e_fmod.c math/softmath/e_fmodf.c math/softmath/e_powf.c math/softmath/e_pow.c \
math/softmath/acosf.c math/softmath/acosh.c math/softmath/acosl.c math/softmath/acoshf.c math/softmath/acoshl.c \
math/softmath/asinf.c math/softmath/asinh.c math/softmath/asinl.c math/softmath/asinhf.c math/softmath/asinhl.c \
math/softmath/atan2f.c math/softmath/atan2l.c math/softmath/atanf.c math/softmath/atanh.c math/softmath/atanl.c \
--
2.8.1
File diff suppressed because it is too large. Load diff