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:
@@ -114,4 +114,4 @@ _jump_fcontext:
|
||||
jmp *%ecx
|
||||
|
||||
.section .drectve
|
||||
.ascii " -export:\"jump_fcontext\""
|
||||
.ascii " -export:\"_jump_fcontext\""
|
||||
|
||||
@@ -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\""
|
||||
|
||||
@@ -122,4 +122,4 @@ _ontop_fcontext:
|
||||
jmp *%ecx
|
||||
|
||||
.section .drectve
|
||||
.ascii " -export:\"ontop_fcontext\""
|
||||
.ascii " -export:\"_ontop_fcontext\""
|
||||
|
||||
Reference in New Issue
Block a user