2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-19 16:12:17 +00:00

Fix exports for 32-bit GNU assembler files targeting Windows.

The incorrect exports can cause linker issues (at least when using LLVM's lld-link) claiming that these primitives are not available.
This commit is contained in:
Eric Astor
2019-11-22 11:07:15 -05:00
parent bd493f77d8
commit 85783e8cbb
3 changed files with 3 additions and 3 deletions

View File

@@ -114,4 +114,4 @@ _jump_fcontext:
jmp *%ecx
.section .drectve
.ascii " -export:\"jump_fcontext\""
.ascii " -export:\"_jump_fcontext\""

View File

@@ -144,4 +144,4 @@ finish:
.def __exit; .scl 2; .type 32; .endef /* standard C library function */
.section .drectve
.ascii " -export:\"make_fcontext\""
.ascii " -export:\"_make_fcontext\""

View File

@@ -122,4 +122,4 @@ _ontop_fcontext:
jmp *%ecx
.section .drectve
.ascii " -export:\"ontop_fcontext\""
.ascii " -export:\"_ontop_fcontext\""