summarylogtreecommitdiffstats
path: root/boost-mingw.patch
blob: 4b45819bcf71d1af59bef4a31887a65dc1d1ef0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
--- libs/thread/build/Jamfile.v2.mingw	2012-12-04 15:05:00.027057650 +0100
+++ libs/thread/build/Jamfile.v2	2012-12-04 15:05:22.488292220 +0100
@@ -101,7 +101,8 @@
 local rule default_threadapi ( )
 {
     local api = pthread ;
-    if [ os.name ] = "NT" { api = win32 ; }
+    #if [ os.name ] = "NT" { api = win32 ; }
+    api = win32 ;
     return $(api) ;
 }
 
--- libs/context/build/Jamfile.v2.orig	2013-03-03 13:39:59.684868916 +0100
+++ libs/context/build/Jamfile.v2	2013-03-03 15:09:09.893232829 +0100
@@ -27,9 +27,10 @@
 local rule default_binary_format ( )
 {
     local tmp = elf ;
-    if [ os.name ] = "MACOSX" { tmp = mach-o ; }
-    if [ os.name ] = "NT" { tmp = pe ; }
-    if [ os.name ] = "AIX" { tmp = xcoff ; }
+#    if [ os.name ] = "MACOSX" { tmp = mach-o ; }
+#    if [ os.name ] = "NT" { tmp = pe ; }
+#    if [ os.name ] = "AIX" { tmp = xcoff ; }
+    tmp = pe ;
     return $(tmp) ;
 }
 
@@ -46,9 +47,10 @@
 local rule default_abi ( )
 {
     local tmp = sysv ;
-    if [ os.name ] = "NT" { tmp = ms ; }
-    else if [ os.platform ] = "ARM" { tmp = aapcs ; }
-    else if [ os.platform ] = "MIPS" { tmp = o32 ; }
+#    if [ os.name ] = "NT" { tmp = ms ; }
+#    else if [ os.platform ] = "ARM" { tmp = aapcs ; }
+#    else if [ os.platform ] = "MIPS" { tmp = o32 ; }
+    tmp = ms ;
     return $(tmp) ;
 }
 
--- libs/context/src/asm/jump_i386_ms_pe_gas.asm.mingw	2015-09-02 16:03:06.406321632 +0200
+++ libs/context/src/asm/jump_i386_ms_pe_gas.asm	2015-09-02 16:04:17.632915315 +0200
@@ -138,3 +138,6 @@
 
     /* indirect jump to context */
     jmp  *%edx
+
+.section .drectve
+.ascii " -export:\"jump_fcontext\""
--- libs/context/src/asm/jump_x86_64_ms_pe_gas.asm.mingw	2015-09-02 16:03:13.495380721 +0200
+++ libs/context/src/asm/jump_x86_64_ms_pe_gas.asm	2015-09-02 16:04:12.488872439 +0200
@@ -223,3 +223,6 @@
     /* indirect jump to context */
     jmp  *%r10
 .seh_endproc
+
+.section .drectve
+.ascii " -export:\"jump_fcontext\""
--- libs/context/src/asm/make_i386_ms_pe_gas.asm.mingw	2015-09-02 16:03:22.486455662 +0200
+++ libs/context/src/asm/make_i386_ms_pe_gas.asm	2015-09-02 16:04:32.409038476 +0200
@@ -122,3 +122,6 @@
     hlt
 
 .def	__exit;	.scl	2;	.type	32;	.endef  /* standard C library function */
+
+.section .drectve
+.ascii " -export:\"make_fcontext\""
--- libs/context/src/asm/make_x86_64_ms_pe_gas.asm.mingw	2015-09-02 16:03:30.631523552 +0200
+++ libs/context/src/asm/make_x86_64_ms_pe_gas.asm	2015-09-02 16:04:27.433997008 +0200
@@ -149,3 +149,6 @@
 .seh_endproc
 
 .def	_exit;	.scl	2;	.type	32;	.endef  /* standard C library function */
+
+.section .drectve
+.ascii " -export:\"make_fcontext\""