]> git.pld-linux.org Git - packages/crossmingw32-boost.git/blob - boost-mingw-lld.patch
- updated to 1.73.0
[packages/crossmingw32-boost.git] / boost-mingw-lld.patch
1 From 85783e8cbba03804e13b3d314112df6b089ed2c0 Mon Sep 17 00:00:00 2001
2 From: Eric Astor <epastor@google.com>
3 Date: Fri, 22 Nov 2019 11:07:15 -0500
4 Subject: [PATCH] Fix exports for 32-bit GNU assembler files targeting Windows.
5
6 The incorrect exports can cause linker issues (at least when using LLVM's lld-link) claiming that these primitives are not available.
7 ---
8  src/asm/jump_i386_ms_pe_gas.asm  | 2 +-
9  src/asm/make_i386_ms_pe_gas.asm  | 2 +-
10  src/asm/ontop_i386_ms_pe_gas.asm | 2 +-
11  3 files changed, 3 insertions(+), 3 deletions(-)
12
13 diff --git a/src/asm/jump_i386_ms_pe_gas.asm b/src/asm/jump_i386_ms_pe_gas.asm
14 index 8512a3d0..4c623006 100644
15 --- a/src/asm/jump_i386_ms_pe_gas.asm
16 +++ b/src/asm/jump_i386_ms_pe_gas.asm
17 @@ -114,4 +114,4 @@ _jump_fcontext:
18      jmp *%ecx
19  
20  .section .drectve
21 -.ascii " -export:\"jump_fcontext\""
22 +.ascii " -export:\"_jump_fcontext\""
23 diff --git a/src/asm/make_i386_ms_pe_gas.asm b/src/asm/make_i386_ms_pe_gas.asm
24 index dcb77000..f2e3b689 100644
25 --- a/src/asm/make_i386_ms_pe_gas.asm
26 +++ b/src/asm/make_i386_ms_pe_gas.asm
27 @@ -144,4 +144,4 @@ finish:
28  .def   __exit; .scl    2;      .type   32;     .endef  /* standard C library function */
29  
30  .section .drectve
31 -.ascii " -export:\"make_fcontext\""
32 +.ascii " -export:\"_make_fcontext\""
33 diff --git a/src/asm/ontop_i386_ms_pe_gas.asm b/src/asm/ontop_i386_ms_pe_gas.asm
34 index 41f15f5b..8bfe93c6 100644
35 --- a/src/asm/ontop_i386_ms_pe_gas.asm
36 +++ b/src/asm/ontop_i386_ms_pe_gas.asm
37 @@ -122,4 +122,4 @@ _ontop_fcontext:
38      jmp  *%ecx
39  
40  .section .drectve
41 -.ascii " -export:\"ontop_fcontext\""
42 +.ascii " -export:\"_ontop_fcontext\""
This page took 0.854576 seconds and 3 git commands to generate.