Please review, i'll split it up and commit it.
Index: mingw-w64-headers/crt/setjmp.h
===================================================================
--- mingw-w64-headers/crt/setjmp.h (Revision 6610)
+++ mingw-w64-headers/crt/setjmp.h (Arbeitskopie)
@@ -141,6 +141,27 @@
SETJMP_FLOAT128 Xmm15;
} _JUMP_BUFFER;
+#elif defined(_ARM_)
+
+#define _JBLEN 28
+#define _JBTYPE int
+
+ typedef struct __JUMP_BUFFER {
+ unsigned long Frame;
+ unsigned long R4;
+ unsigned long R5;
+ unsigned long R6;
+ unsigned long R7;
+ unsigned long R8;
+ unsigned long R9;
+ unsigned long R10;
+ unsigned long R11;
+ unsigned long Sp;
+ unsigned long Pc;
+ unsigned long Fpscr;
+ unsigned long long D[8];
+ } _JUMP_BUFFER;
+
#endif
#ifndef _JMP_BUF_DEFINED
Index: mingw-w64-headers/crt/intrin.h
===================================================================
--- mingw-w64-headers/crt/intrin.h (Revision 6610)
+++ mingw-w64-headers/crt/intrin.h (Arbeitskopie)
@@ -99,6 +99,8 @@
#endif
#endif
+#if (defined(_X86_) || defined(__x86_64))
+
#if defined(__MMX__) || defined(__MINGW_FORCE_SYS_INTRINS)
#if defined(__cplusplus)
extern "C" {
@@ -150,6 +152,8 @@
#endif
#endif
+#endif
+
#if (defined(_X86_) && !defined(__x86_64))
#if defined(__cplusplus)
extern "C" {
Index: mingw-w64-headers/crt/malloc.h
===================================================================
--- mingw-w64-headers/crt/malloc.h (Revision 6610)
+++ mingw-w64-headers/crt/malloc.h (Arbeitskopie)
@@ -134,7 +134,7 @@
#define _ALLOCA_S_STACK_MARKER 0xCCCC
#define _ALLOCA_S_HEAP_MARKER 0xDDDD
-#if(defined(_X86_) && !defined(__x86_64))
+#if defined(_ARM_) || (defined(_X86_) && !defined(__x86_64))
#define _ALLOCA_S_MARKER_SIZE 8
#elif defined(__ia64__) || defined(__x86_64)
#define _ALLOCA_S_MARKER_SIZE 16
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public