diff --git a/external/boost/README.md b/external/boost/README.md index 1888e17dcbb..48f931758c5 100644 --- a/external/boost/README.md +++ b/external/boost/README.md @@ -10,3 +10,5 @@ bz2. `boost/context/fiber_fcontext.hpp`. 6. Minimal updates to `libs/context/CMakeLists.txt` to remove other library dependencies, remove library alias, support `CMAKE_OSX_ARCHITECTURES` +7. Rename the `boost` namespace to `hoost` using a preprocessor define. +8. Rename the `xxx_fcontext()` globals to have a `hoost_` prefix. diff --git a/external/boost/boost_1_86_0/boost/config/user.hpp b/external/boost/boost_1_86_0/boost/config/user.hpp index 7bbc93a9a45..f43f05bce01 100644 --- a/external/boost/boost_1_86_0/boost/config/user.hpp +++ b/external/boost/boost_1_86_0/boost/config/user.hpp @@ -131,6 +131,9 @@ // to ensure the correct libraries are selected at link time. // #define BOOST_LIB_BUILDID amd64 +// Rename boost to hoost to avoid conflicts +#define boost hoost + #if !defined(__EXCEPTIONS) && !defined(_CPPUNWIND) #define HOOST_EXCEPTIONS_DISABLED #endif diff --git a/external/boost/boost_1_86_0/boost/context/detail/fcontext.hpp b/external/boost/boost_1_86_0/boost/context/detail/fcontext.hpp index 00cb24d9415..7759827e8b2 100644 --- a/external/boost/boost_1_86_0/boost/context/detail/fcontext.hpp +++ b/external/boost/boost_1_86_0/boost/context/detail/fcontext.hpp @@ -28,13 +28,13 @@ struct transfer_t { }; extern "C" BOOST_CONTEXT_DECL -transfer_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t const to, void * vp); +transfer_t BOOST_CONTEXT_CALLDECL hoost_jump_fcontext( fcontext_t const to, void * vp); extern "C" BOOST_CONTEXT_DECL -fcontext_t BOOST_CONTEXT_CALLDECL make_fcontext( void * sp, std::size_t size, void (* fn)( transfer_t) ); +fcontext_t BOOST_CONTEXT_CALLDECL hoost_make_fcontext( void * sp, std::size_t size, void (* fn)( transfer_t) ); // based on an idea of Giovanni Derreta extern "C" BOOST_CONTEXT_DECL -transfer_t BOOST_CONTEXT_CALLDECL ontop_fcontext( fcontext_t const to, void * vp, transfer_t (* fn)( transfer_t) ); +transfer_t BOOST_CONTEXT_CALLDECL hoost_ontop_fcontext( fcontext_t const to, void * vp, transfer_t (* fn)( transfer_t) ); }}} @@ -43,4 +43,3 @@ transfer_t BOOST_CONTEXT_CALLDECL ontop_fcontext( fcontext_t const to, void * vp #endif #endif // BOOST_CONTEXT_DETAIL_FCONTEXT_H - diff --git a/external/boost/boost_1_86_0/boost/context/fiber_fcontext.hpp b/external/boost/boost_1_86_0/boost/context/fiber_fcontext.hpp index e5cc9456ef2..b4239d3f39b 100644 --- a/external/boost/boost_1_86_0/boost/context/fiber_fcontext.hpp +++ b/external/boost/boost_1_86_0/boost/context/fiber_fcontext.hpp @@ -97,7 +97,7 @@ void fiber_entry( transfer_t t) noexcept { try { #endif // jump back to `create_context()` - t = jump_fcontext( t.fctx, nullptr); + t = hoost_jump_fcontext( t.fctx, nullptr); // start executing t.fctx = rec->run( t.fctx); #ifndef HOOST_EXCEPTIONS_DISABLED @@ -107,7 +107,7 @@ void fiber_entry( transfer_t t) noexcept { #endif BOOST_ASSERT( nullptr != t.fctx); // destroy context-stack of `this`context on next context - ontop_fcontext( t.fctx, rec, fiber_exit< Rec >); + hoost_ontop_fcontext( t.fctx, rec, fiber_exit< Rec >); BOOST_ASSERT_MSG( false, "context already terminated"); } @@ -200,7 +200,7 @@ fcontext_t create_fiber1( StackAlloc && salloc, Fn && fn) { void *ss_base = (void *)syscall(__NR_map_shadow_stack, 0, ss_size, SHADOW_STACK_SET_TOKEN); BOOST_ASSERT(ss_base != -1); unsigned long ss_sp = (unsigned long)ss_base + ss_size; - /* pass the shadow stack pointer to make_fcontext + /* pass the shadow stack pointer to hoost_make_fcontext i.e., link the new shadow stack with the new fcontext TODO should be a better way? */ *((unsigned long*)(reinterpret_cast< uintptr_t >( stack_top)- 8)) = ss_sp; @@ -208,10 +208,10 @@ fcontext_t create_fiber1( StackAlloc && salloc, Fn && fn) { *((unsigned long*)(reinterpret_cast< uintptr_t >( storage)- 8)) = (unsigned long) ss_base; *((unsigned long*)(reinterpret_cast< uintptr_t >( storage)- 16)) = ss_size; #endif - const fcontext_t fctx = make_fcontext( stack_top, size, & fiber_entry< Record >); + const fcontext_t fctx = hoost_make_fcontext( stack_top, size, & fiber_entry< Record >); BOOST_ASSERT( nullptr != fctx); // transfer control structure to context-stack - return jump_fcontext( fctx, record).fctx; + return hoost_jump_fcontext( fctx, record).fctx; } template< typename Record, typename StackAlloc, typename Fn > @@ -241,7 +241,7 @@ fcontext_t create_fiber2( preallocated palloc, StackAlloc && salloc, Fn && fn) { void *ss_base = (void *)syscall(__NR_map_shadow_stack, 0, ss_size, SHADOW_STACK_SET_TOKEN); BOOST_ASSERT(ss_base != -1); unsigned long ss_sp = (unsigned long)ss_base + ss_size; - /* pass the shadow stack pointer to make_fcontext + /* pass the shadow stack pointer to hoost_make_fcontext i.e., link the new shadow stack with the new fcontext TODO should be a better way? */ *((unsigned long*)(reinterpret_cast< uintptr_t >( stack_top)- 8)) = ss_sp; @@ -249,10 +249,10 @@ fcontext_t create_fiber2( preallocated palloc, StackAlloc && salloc, Fn && fn) { *((unsigned long*)(reinterpret_cast< uintptr_t >( storage)- 8)) = (unsigned long) ss_base; *((unsigned long*)(reinterpret_cast< uintptr_t >( storage)- 16)) = ss_size; #endif - const fcontext_t fctx = make_fcontext( stack_top, size, & fiber_entry< Record >); + const fcontext_t fctx = hoost_make_fcontext( stack_top, size, & fiber_entry< Record >); BOOST_ASSERT( nullptr != fctx); // transfer control structure to context-stack - return jump_fcontext( fctx, record).fctx; + return hoost_jump_fcontext( fctx, record).fctx; } } @@ -302,7 +302,7 @@ class fiber { ~fiber() { if ( BOOST_UNLIKELY( nullptr != fctx_) ) { - detail::ontop_fcontext( + detail::hoost_ontop_fcontext( #if defined(BOOST_NO_CXX14_STD_EXCHANGE) detail::exchange( fctx_, nullptr), #else @@ -330,7 +330,7 @@ class fiber { fiber resume() && { BOOST_ASSERT( nullptr != fctx_); - return { detail::jump_fcontext( + return { detail::hoost_jump_fcontext( #if defined(BOOST_NO_CXX14_STD_EXCHANGE) detail::exchange( fctx_, nullptr), #else @@ -343,7 +343,7 @@ class fiber { fiber resume_with( Fn && fn) && { BOOST_ASSERT( nullptr != fctx_); auto p = std::forward< Fn >( fn); - return { detail::ontop_fcontext( + return { detail::hoost_ontop_fcontext( #if defined(BOOST_NO_CXX14_STD_EXCHANGE) detail::exchange( fctx_, nullptr), #else diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_elf_gas.S index cefd1830d71..92e9c2bf598 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_elf_gas.S @@ -54,9 +54,9 @@ .file "jump_arm64_aapcs_elf_gas.S" .text .align 2 -.global jump_fcontext -.type jump_fcontext, %function -jump_fcontext: +.global hoost_jump_fcontext +.type hoost_jump_fcontext, %function +hoost_jump_fcontext: # prepare stack for GP + FPU sub sp, sp, #0xb0 @@ -109,6 +109,6 @@ jump_fcontext: add sp, sp, #0xb0 ret x4 -.size jump_fcontext,.-jump_fcontext +.size hoost_jump_fcontext,.-hoost_jump_fcontext # Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_macho_gas.S index 31738f74531..95d93b22256 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_macho_gas.S @@ -52,9 +52,9 @@ *******************************************************/ .text -.globl _jump_fcontext +.globl _hoost_jump_fcontext .balign 16 -_jump_fcontext: +_hoost_jump_fcontext: ; prepare stack for GP + FPU sub sp, sp, #0xb0 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_pe_armasm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_pe_armasm.asm index 3100243d68d..94d1886a805 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_pe_armasm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm64_aapcs_pe_armasm.asm @@ -58,9 +58,9 @@ ;******************************************************* AREA |.text|, CODE, READONLY, ALIGN=4, CODEALIGN - EXPORT jump_fcontext + EXPORT hoost_jump_fcontext -jump_fcontext proc +hoost_jump_fcontext proc ; prepare stack for GP + FPU sub sp, sp, #0xd0 @@ -130,4 +130,4 @@ jump_fcontext proc ret x4 ENDP - END \ No newline at end of file + END diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S index 86efe9d8214..2cc81ff1519 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S @@ -40,11 +40,11 @@ .file "jump_arm_aapcs_elf_gas.S" .text -.globl jump_fcontext +.globl hoost_jump_fcontext .align 2 -.type jump_fcontext,%function +.type hoost_jump_fcontext,%function .syntax unified -jump_fcontext: +hoost_jump_fcontext: @ save LR as PC push {lr} @ save hidden,V1-V8,LR @@ -82,7 +82,7 @@ jump_fcontext: @ restore PC pop {pc} -.size jump_fcontext,.-jump_fcontext +.size hoost_jump_fcontext,.-hoost_jump_fcontext @ Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_macho_gas.S index 077c36409e8..33c3942205c 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_macho_gas.S @@ -39,9 +39,9 @@ *******************************************************/ .text -.globl _jump_fcontext +.globl _hoost_jump_fcontext .align 2 -_jump_fcontext: +_hoost_jump_fcontext: @ save LR as PC push {lr} @ save hidden,V1-V8,LR diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_pe_armasm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_pe_armasm.asm index bca923c6c76..3066dde4421 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_pe_armasm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_arm_aapcs_pe_armasm.asm @@ -26,9 +26,9 @@ AREA |.text|, CODE ALIGN 4 - EXPORT jump_fcontext + EXPORT hoost_jump_fcontext -jump_fcontext PROC +hoost_jump_fcontext PROC ; save LR as PC push {lr} ; save hidden,V1-V8,LR diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_clang_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_clang_gas.S index cad2c1361fe..bc967322790 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_clang_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_clang_gas.S @@ -32,9 +32,9 @@ .def @feat.00; .scl 3; .type 0; .endef .set @feat.00, 1 -.globl _jump_fcontext -.def _jump_fcontext; .scl 2; .type 32; .endef -_jump_fcontext: +.globl _hoost_jump_fcontext +.def _hoost_jump_fcontext; .scl 2; .type 32; .endef +_hoost_jump_fcontext: /* prepare stack */ leal -0x2c(%esp), %esp @@ -71,9 +71,9 @@ _jump_fcontext: /* store ESP (pointing to context-data) in EAX */ movl %esp, %eax - /* firstarg of jump_fcontext() == fcontext to jump to */ + /* firstarg of hoost_jump_fcontext() == fcontext to jump to */ movl 0x30(%esp), %ecx - + /* restore ESP (pointing to context-data) from ECX */ movl %ecx, %esp @@ -120,4 +120,4 @@ _jump_fcontext: jmp *%ecx .section .drectve -.ascii " -export:\"_jump_fcontext\"" +.ascii " -export:\"_hoost_jump_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_gas.asm b/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_gas.asm index 6eb45326ce3..466d39fadcb 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_gas.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_gas.asm @@ -32,9 +32,9 @@ .def @feat.00; .scl 3; .type 0; .endef .set @feat.00, 1 -.globl _jump_fcontext -.def _jump_fcontext; .scl 2; .type 32; .endef -_jump_fcontext: +.globl _hoost_jump_fcontext +.def _hoost_jump_fcontext; .scl 2; .type 32; .endef +_hoost_jump_fcontext: /* prepare stack */ leal -0x2c(%esp), %esp @@ -71,9 +71,9 @@ _jump_fcontext: /* store ESP (pointing to context-data) in EAX */ movl %esp, %eax - /* firstarg of jump_fcontext() == fcontext to jump to */ + /* firstarg of hoost_jump_fcontext() == fcontext to jump to */ movl 0x30(%esp), %ecx - + /* restore ESP (pointing to context-data) from ECX */ movl %ecx, %esp @@ -120,4 +120,4 @@ _jump_fcontext: jmp *%ecx .section .drectve -.ascii " -export:\"jump_fcontext\"" +.ascii " -export:\"hoost_jump_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_masm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_masm.asm index 7a9e848f1c3..05394498af6 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_masm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_ms_pe_masm.asm @@ -24,7 +24,7 @@ .model flat, c .code -jump_fcontext PROC BOOST_CONTEXT_EXPORT +hoost_jump_fcontext PROC BOOST_CONTEXT_EXPORT ; prepare stack lea esp, [esp-02ch] @@ -55,17 +55,17 @@ ENDIF mov eax, [edx] mov [esp+018h], eax - mov [esp+01ch], edi ; save EDI - mov [esp+020h], esi ; save ESI - mov [esp+024h], ebx ; save EBX - mov [esp+028h], ebp ; save EBP + mov [esp+01ch], edi ; save EDI + mov [esp+020h], esi ; save ESI + mov [esp+024h], ebx ; save EBX + mov [esp+028h], ebp ; save EBP ; store ESP (pointing to context-data) in EAX mov eax, esp - ; firstarg of jump_fcontext() == fcontext to jump to + ; firstarg of hoost_jump_fcontext() == fcontext to jump to mov ecx, [esp+030h] - + ; restore ESP (pointing to context-data) from ECX mov esp, ecx @@ -98,10 +98,10 @@ ENDIF mov ecx, [esp+02ch] ; restore EIP - mov edi, [esp+01ch] ; restore EDI - mov esi, [esp+020h] ; restore ESI - mov ebx, [esp+024h] ; restore EBX - mov ebp, [esp+028h] ; restore EBP + mov edi, [esp+01ch] ; restore EDI + mov esi, [esp+020h] ; restore ESI + mov ebx, [esp+024h] ; restore EBX + mov ebp, [esp+028h] ; restore EBP ; prepare stack lea esp, [esp+030h] @@ -112,5 +112,5 @@ ENDIF ; jump to context jmp ecx -jump_fcontext ENDP +hoost_jump_fcontext ENDP END diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_sysv_elf_gas.S index ed83717ce2b..6e7de7b2f6e 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_sysv_elf_gas.S @@ -30,10 +30,10 @@ .file "jump_i386_sysv_elf_gas.S" .text -.globl jump_fcontext +.globl hoost_jump_fcontext .align 2 -.type jump_fcontext,@function -jump_fcontext: +.type hoost_jump_fcontext,@function +hoost_jump_fcontext: leal -0x1c(%esp), %esp /* prepare stack */ #if !defined(BOOST_USE_TSX) @@ -54,10 +54,10 @@ jump_fcontext: /* store ESP (pointing to context-data) in ECX */ movl %esp, %ecx - /* first arg of jump_fcontext() == fcontext to jump to */ + /* first arg of hoost_jump_fcontext() == fcontext to jump to */ movl 0x24(%esp), %eax - /* second arg of jump_fcontext() == data to be transferred */ + /* second arg of hoost_jump_fcontext() == data to be transferred */ movl 0x28(%esp), %edx /* restore ESP (pointing to context-data) from EAX */ @@ -91,7 +91,7 @@ jump_fcontext: /* jump to context */ jmp *%ecx -.size jump_fcontext,.-jump_fcontext +.size hoost_jump_fcontext,.-hoost_jump_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_sysv_macho_gas.S index 8ab7c6f29c6..555c3bf0df1 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_i386_sysv_macho_gas.S @@ -25,9 +25,9 @@ ****************************************************************************************/ .text -.globl _jump_fcontext +.globl _hoost_jump_fcontext .align 2 -_jump_fcontext: +_hoost_jump_fcontext: leal -0x18(%esp), %esp /* prepare stack */ #if !defined(BOOST_USE_TSX) @@ -43,10 +43,10 @@ _jump_fcontext: /* store ESP (pointing to context-data) in ECX */ movl %esp, %ecx - /* first arg of jump_fcontext() == fcontext to jump to */ + /* first arg of hoost_jump_fcontext() == fcontext to jump to */ movl 0x1c(%esp), %eax - /* second arg of jump_fcontext() == data to be transferred */ + /* second arg of hoost_jump_fcontext() == data to be transferred */ movl 0x20(%esp), %edx /* restore ESP (pointing to context-data) from EAX */ @@ -54,8 +54,8 @@ _jump_fcontext: /* return parent fcontext_t */ movl %ecx, %eax - /* returned data is stored in EDX */ - + /* returned data is stored in EDX */ + movl 0x18(%esp), %ecx /* restore EIP */ #if !defined(BOOST_USE_TSX) diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_loongarch64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_loongarch64_sysv_elf_gas.S index 74c081e07fa..0cf2db77105 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_loongarch64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_loongarch64_sysv_elf_gas.S @@ -40,10 +40,10 @@ .file "jump_loongarch64_sysv_elf_gas.S" .text -.globl jump_fcontext +.globl hoost_jump_fcontext .align 2 -.type jump_fcontext,@function -jump_fcontext: +.type hoost_jump_fcontext,@function +hoost_jump_fcontext: # reserve space on stack addi.d $sp, $sp, -160 @@ -115,7 +115,7 @@ jump_fcontext: # jump to context jr $a2 -.size jump_fcontext, .-jump_fcontext +.size hoost_jump_fcontext, .-hoost_jump_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_mips32_o32_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_mips32_o32_elf_gas.S index f2b8034d8c5..96b37c05a92 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_mips32_o32_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_mips32_o32_elf_gas.S @@ -40,11 +40,11 @@ .file "jump_mips32_o32_elf_gas.S" .text -.globl jump_fcontext +.globl hoost_jump_fcontext .align 2 -.type jump_fcontext,@function -.ent jump_fcontext -jump_fcontext: +.type hoost_jump_fcontext,@function +.ent hoost_jump_fcontext +hoost_jump_fcontext: # reserve space on stack addiu $sp, $sp, -96 @@ -102,18 +102,18 @@ jump_fcontext: # adjust stack addiu $sp, $sp, 96 - + # return transfer_t from jump sw $a0, ($v0) # fctx of transfer_t sw $a2, 4($v0) # data of transfer_t # pass transfer_t as first arg in context function # A0 == fctx, A1 == data - move $a1, $a2 + move $a1, $a2 # jump to context jr $t9 -.end jump_fcontext -.size jump_fcontext, .-jump_fcontext +.end hoost_jump_fcontext +.size hoost_jump_fcontext, .-hoost_jump_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_mips64_n64_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_mips64_n64_elf_gas.S index e338912bb6e..d54b4a9fa6c 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_mips64_n64_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_mips64_n64_elf_gas.S @@ -47,11 +47,11 @@ .file "jump_mips64_n64_elf_gas.S" .text -.globl jump_fcontext +.globl hoost_jump_fcontext .align 3 -.type jump_fcontext,@function -.ent jump_fcontext -jump_fcontext: +.type hoost_jump_fcontext,@function +.ent hoost_jump_fcontext +hoost_jump_fcontext: # reserve space on stack daddiu $sp, $sp, -160 @@ -117,8 +117,8 @@ jump_fcontext: # jump to context jr $t9 -.end jump_fcontext -.size jump_fcontext, .-jump_fcontext +.end hoost_jump_fcontext +.size hoost_jump_fcontext, .-hoost_jump_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S index 48e09c935e0..d743a638f2d 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S @@ -52,12 +52,12 @@ .file "jump_ppc32_sysv_elf_gas.S" .text -.globl jump_fcontext +.globl hoost_jump_fcontext .align 2 -.type jump_fcontext,@function -jump_fcontext: - # Linux: jump_fcontext( hidden transfer_t * R3, R4, R5) - # Other: transfer_t R3:R4 = jump_fcontext( R3, R4) +.type hoost_jump_fcontext,@function +hoost_jump_fcontext: + # Linux: hoost_jump_fcontext( hidden transfer_t * R3, R4, R5) + # Other: transfer_t R3:R4 = hoost_jump_fcontext( R3, R4) mflr %r0 # return address from LR mffs %f0 # FPSCR @@ -195,7 +195,7 @@ jump_fcontext: # jump to context bctr -.size jump_fcontext, .-jump_fcontext +.size hoost_jump_fcontext, .-hoost_jump_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_macho_gas.S index fef90c295f8..bc546bd0987 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_macho_gas.S @@ -68,15 +68,15 @@ * ------------------------------------------------- * * | 256 | | * * ------------------------------------------------- * - * | DATA| | * + * | DATA| | * * ------------------------------------------------- * * * *******************************************************/ .text -.globl _jump_fcontext +.globl _hoost_jump_fcontext .align 2 -_jump_fcontext: +_hoost_jump_fcontext: ; reserve space on stack subi r1, r1, 244 @@ -193,7 +193,7 @@ _jump_fcontext: ; adjust stack addi r1, r1, 244 - ; return transfer_t + ; return transfer_t stw r6, 0(r3) stw r5, 4(r3) diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_xcoff_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_xcoff_gas.S index 1854613d761..5b678e7083d 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_xcoff_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc32_sysv_xcoff_gas.S @@ -58,13 +58,13 @@ .file "jump_ppc32_sysv_xcoff_gas.S" .toc .csect .text[PR], 5 - .globl jump_fcontext[DS] - .globl .jump_fcontext - .csect jump_fcontext[DS] -jump_fcontext: - .long .jump_fcontext[PR], TOC[tc0], 0 + .globl hoost_jump_fcontext[DS] + .globl .hoost_jump_fcontext + .csect hoost_jump_fcontext[DS] +hoost_jump_fcontext: + .long .hoost_jump_fcontext[PR], TOC[tc0], 0 .csect .text[PR], 5 -.jump_fcontext: +.hoost_jump_fcontext: # reserve space on stack subi 1, 1, 256 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S index 28907db32b8..7b1cf5079d7 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S @@ -67,33 +67,33 @@ *******************************************************/ .file "jump_ppc64_sysv_elf_gas.S" -.globl jump_fcontext +.globl hoost_jump_fcontext #if _CALL_ELF == 2 .text .align 2 -jump_fcontext: - addis %r2, %r12, .TOC.-jump_fcontext@ha - addi %r2, %r2, .TOC.-jump_fcontext@l - .localentry jump_fcontext, . - jump_fcontext +hoost_jump_fcontext: + addis %r2, %r12, .TOC.-hoost_jump_fcontext@ha + addi %r2, %r2, .TOC.-hoost_jump_fcontext@l + .localentry hoost_jump_fcontext, . - hoost_jump_fcontext #else .section ".opd","aw" .align 3 -jump_fcontext: +hoost_jump_fcontext: # ifdef _CALL_LINUX - .quad .L.jump_fcontext,.TOC.@tocbase,0 - .type jump_fcontext,@function + .quad .L.hoost_jump_fcontext,.TOC.@tocbase,0 + .type hoost_jump_fcontext,@function .text .align 2 -.L.jump_fcontext: +.L.hoost_jump_fcontext: # else - .hidden .jump_fcontext - .globl .jump_fcontext - .quad .jump_fcontext,.TOC.@tocbase,0 - .size jump_fcontext,24 - .type .jump_fcontext,@function + .hidden .hoost_jump_fcontext + .globl .hoost_jump_fcontext + .quad .hoost_jump_fcontext,.TOC.@tocbase,0 + .size hoost_jump_fcontext,24 + .type .hoost_jump_fcontext,@function .text .align 2 -.jump_fcontext: +.hoost_jump_fcontext: # endif #endif # reserve space on stack @@ -189,7 +189,7 @@ jump_fcontext: # jump to context bctr - .size jump_fcontext, .-jump_fcontext + .size hoost_jump_fcontext, .-hoost_jump_fcontext #else # zero in r3 indicates first jump to context-function cmpdi %r3, 0 @@ -210,9 +210,9 @@ use_entry_arg: # jump to context bctr # ifdef _CALL_LINUX - .size .jump_fcontext, .-.L.jump_fcontext + .size .hoost_jump_fcontext, .-.L.hoost_jump_fcontext # else - .size .jump_fcontext, .-.jump_fcontext + .size .hoost_jump_fcontext, .-.hoost_jump_fcontext # endif #endif diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_macho_gas.S index dcc6c645db6..17a61b72168 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_macho_gas.S @@ -68,9 +68,9 @@ .text .align 2 -.globl _jump_fcontext +.globl _hoost_jump_fcontext -_jump_fcontext: +_hoost_jump_fcontext: ; reserve space on stack subi r1, r1, 184 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_xcoff_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_xcoff_gas.S index f835d2a76a6..77744d6f457 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_xcoff_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_ppc64_sysv_xcoff_gas.S @@ -71,13 +71,13 @@ .toc .csect .text[PR], 5 .align 2 - .globl jump_fcontext[DS] - .globl .jump_fcontext - .csect jump_fcontext[DS], 3 -jump_fcontext: - .llong .jump_fcontext[PR], TOC[tc0], 0 + .globl hoost_jump_fcontext[DS] + .globl .hoost_jump_fcontext + .csect hoost_jump_fcontext[DS], 3 +hoost_jump_fcontext: + .llong .hoost_jump_fcontext[PR], TOC[tc0], 0 .csect .text[PR], 5 -.jump_fcontext: +.hoost_jump_fcontext: # reserve space on stack subi 1, 1, 184 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_riscv64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_riscv64_sysv_elf_gas.S index 5417e5d5e34..8a57a414baa 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_riscv64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_riscv64_sysv_elf_gas.S @@ -60,9 +60,9 @@ .file "jump_riscv64_sysv_elf_gas.S" .text .align 1 -.global jump_fcontext -.type jump_fcontext, %function -jump_fcontext: +.global hoost_jump_fcontext +.type hoost_jump_fcontext, %function +hoost_jump_fcontext: # prepare stack for GP + FPU addi sp, sp, -0xd0 @@ -145,6 +145,6 @@ jump_fcontext: addi sp, sp, 0xd0 jr a2 -.size jump_fcontext,.-jump_fcontext +.size hoost_jump_fcontext,.-hoost_jump_fcontext # Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_s390x_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_s390x_sysv_elf_gas.S index fa71467756d..20d36b6f292 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_s390x_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_s390x_sysv_elf_gas.S @@ -45,8 +45,8 @@ .text .align 8 -.global jump_fcontext -.type jump_fcontext, @function +.global hoost_jump_fcontext +.type hoost_jump_fcontext, @function #define ARG_OFFSET 0 #define GR_OFFSET 16 @@ -67,7 +67,7 @@ struct transfer_t { void * data; }; -transfer_t jump_fcontext( fcontext_t const to, +transfer_t hoost_jump_fcontext( fcontext_t const to, void * data); Incoming args @@ -77,7 +77,7 @@ r4 - Data pointer */ -jump_fcontext: +hoost_jump_fcontext: .machine "z10" /* Reserve stack space to store the current context. */ aghi %r15,-CONTEXT_SIZE @@ -132,7 +132,7 @@ jump_fcontext: ltg %r2,GR_OFFSET(%r15) jnz use_return_slot - /* We're restoring a context created by make_fcontext. + /* We're restoring a context created by hoost_make_fcontext. This is going to be the argument of the entry point of the fiber. We're placing it on top of the ABI defined register save area of the fiber's own stack. */ @@ -143,9 +143,9 @@ jump_fcontext: use_return_slot: /* Save the two fields in transfer_t. When calling a - make_fcontext function this becomes the function argument of + hoost_make_fcontext function this becomes the function argument of the target function, otherwise it will be the return value of - jump_fcontext. */ + hoost_jump_fcontext. */ stg %r1,0(%r2) stg %r4,8(%r2) @@ -156,5 +156,5 @@ use_return_slot: br %r5 -.size jump_fcontext,.-jump_fcontext +.size hoost_jump_fcontext,.-hoost_jump_fcontext .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_sparc64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_sparc64_sysv_elf_gas.S index 61101fb1f62..5c5588eab8a 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_sparc64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_sparc64_sysv_elf_gas.S @@ -13,7 +13,7 @@ * void * data; * }; * - * transfer_t jump_fcontext(fcontext_t const to, void *vp); + * transfer_t hoost_jump_fcontext(fcontext_t const to, void *vp); */ #define CC64FSZ 176 #define BIAS 2047 @@ -23,9 +23,9 @@ .file "jump_sparc64_sysv_elf_gas.S" .text .align 4 -.global jump_fcontext -.type jump_fcontext, %function -jump_fcontext: +.global hoost_jump_fcontext +.type hoost_jump_fcontext, %function +hoost_jump_fcontext: # prepare stack save %sp, -CC64FSZ, %sp @@ -46,6 +46,6 @@ jump_fcontext: restore %o0, %g0, %o0 # restore old %sp (pointing to old context-data) in %o0 # *data stored in %o1 was not modified -.size jump_fcontext,.-jump_fcontext +.size hoost_jump_fcontext,.-hoost_jump_fcontext # Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_clang_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_clang_gas.S index 1f633f75620..5c5110f4f53 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_clang_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_clang_gas.S @@ -89,10 +89,10 @@ .file "jump_x86_64_ms_pe_clang_gas.S" .text .p2align 4,,15 -.globl jump_fcontext -.def jump_fcontext; .scl 2; .type 32; .endef -.seh_proc jump_fcontext -jump_fcontext: +.globl hoost_jump_fcontext +.def hoost_jump_fcontext; .scl 2; .type 32; .endef +.seh_proc hoost_jump_fcontext +hoost_jump_fcontext: .seh_endprologue leaq -0x118(%rsp), %rsp /* prepare stack */ @@ -206,4 +206,4 @@ jump_fcontext: .seh_endproc .section .drectve -.ascii " -export:\"jump_fcontext\"" +.ascii " -export:\"hoost_jump_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_gas.asm b/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_gas.asm index ec4ecfe946d..08893532d1c 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_gas.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_gas.asm @@ -89,10 +89,10 @@ .file "jump_x86_64_ms_pe_gas.asm" .text .p2align 4,,15 -.globl jump_fcontext -.def jump_fcontext; .scl 2; .type 32; .endef -.seh_proc jump_fcontext -jump_fcontext: +.globl hoost_jump_fcontext +.def hoost_jump_fcontext; .scl 2; .type 32; .endef +.seh_proc hoost_jump_fcontext +hoost_jump_fcontext: .seh_endprologue leaq -0x118(%rsp), %rsp /* prepare stack */ @@ -206,4 +206,4 @@ jump_fcontext: .seh_endproc .section .drectve -.ascii " -export:\"jump_fcontext\"" +.ascii " -export:\"hoost_jump_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_masm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_masm.asm index c8a28a558e8..f4619d09d4d 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_masm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_ms_pe_masm.asm @@ -84,7 +84,7 @@ .code -jump_fcontext PROC BOOST_CONTEXT_EXPORT FRAME +hoost_jump_fcontext PROC BOOST_CONTEXT_EXPORT FRAME .endprolog ; prepare stack @@ -201,5 +201,5 @@ ENDIF ; indirect jump to context jmp r10 -jump_fcontext ENDP +hoost_jump_fcontext ENDP END diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S index be264bdc2e2..e6e7ff59f73 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S @@ -43,10 +43,10 @@ # endif .file "jump_x86_64_sysv_elf_gas.S" .text -.globl jump_fcontext -.type jump_fcontext,@function +.globl hoost_jump_fcontext +.type hoost_jump_fcontext,@function .align 16 -jump_fcontext: +hoost_jump_fcontext: _CET_ENDBR leaq -0x40(%rsp), %rsp /* prepare stack */ @@ -100,7 +100,7 @@ jump_fcontext: /* on previous shadow stack after saveprevssp */ saveprevssp - /* when return, jump_fcontext jump to restored return address */ + /* when return, hoost_jump_fcontext jump to restored return address */ /* (r8) instead of RET. This miss of RET implies us to unwind */ /* shadow stack accordingly. Otherwise mismatch occur */ movq $1, %rcx @@ -147,7 +147,7 @@ jump_fcontext: /* indirect jump to context */ jmp *%r8 -.size jump_fcontext,.-jump_fcontext +.size hoost_jump_fcontext,.-hoost_jump_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_sysv_macho_gas.S index afc3e5c126f..bb8fb273dae 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/jump_x86_64_sysv_macho_gas.S @@ -25,9 +25,9 @@ ****************************************************************************************/ .text -.globl _jump_fcontext +.globl _hoost_jump_fcontext .align 8 -_jump_fcontext: +_hoost_jump_fcontext: leaq -0x38(%rsp), %rsp /* prepare stack */ #if !defined(BOOST_USE_TSX) diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_elf_gas.S index 66cfb2da17e..1046f7e0e32 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_elf_gas.S @@ -54,16 +54,16 @@ .file "make_arm64_aapcs_elf_gas.S" .text .align 2 -.global make_fcontext -.type make_fcontext, %function -make_fcontext: +.global hoost_make_fcontext +.type hoost_make_fcontext, %function +hoost_make_fcontext: # shift address in x0 (allocated stack) to lower 16 byte boundary and x0, x0, ~0xF # reserve space for context-data on context-stack sub x0, x0, #0xb0 - # third arg of make_fcontext() == address of context-function + # third arg of hoost_make_fcontext() == address of context-function # store address as a PC to jump in str x2, [x0, #0xa0] @@ -80,6 +80,6 @@ finish: # exit application bl _exit -.size make_fcontext,.-make_fcontext +.size hoost_make_fcontext,.-hoost_make_fcontext # Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_macho_gas.S index b30b1e3e5bb..1465ae6a8fe 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_macho_gas.S @@ -52,17 +52,17 @@ *******************************************************/ .text -.globl _make_fcontext +.globl _hoost_make_fcontext .balign 16 -_make_fcontext: +_hoost_make_fcontext: ; shift address in x0 (allocated stack) to lower 16 byte boundary and x0, x0, ~0xF ; reserve space for context-data on context-stack sub x0, x0, #0xb0 - ; third arg of make_fcontext() == address of context-function + ; third arg of hoost_make_fcontext() == address of context-function ; store address as a PC to jump in str x2, [x0, #0xa0] @@ -79,5 +79,3 @@ finish: mov x0, #0 ; exit application bl __exit - - diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_pe_armasm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_pe_armasm.asm index 50f9b69876b..330d5987b7f 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_pe_armasm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm64_aapcs_pe_armasm.asm @@ -58,10 +58,10 @@ ;******************************************************* AREA |.text|, CODE, READONLY, ALIGN=4, CODEALIGN - EXPORT make_fcontext + EXPORT hoost_make_fcontext IMPORT _exit -make_fcontext proc +hoost_make_fcontext proc ; save stack top address to x3 mov x3, x0 @@ -79,7 +79,7 @@ make_fcontext proc ; save 0 as 'fiber data' str xzr, [x0, #0xb8] - ; third arg of make_fcontext() == address of context-function + ; third arg of hoost_make_fcontext() == address of context-function ; store address as x19 for trampoline str x2, [x0, #0x40] ; store trampoline address as pc diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_elf_gas.S index 98ae64b43f9..ff80944534a 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_elf_gas.S @@ -40,18 +40,18 @@ .file "make_arm_aapcs_elf_gas.S" .text -.globl make_fcontext +.globl hoost_make_fcontext .align 2 -.type make_fcontext,%function +.type hoost_make_fcontext,%function .syntax unified -make_fcontext: +hoost_make_fcontext: @ shift address in A1 to lower 16 byte boundary bic a1, a1, #15 @ reserve space for context-data on context-stack sub a1, a1, #124 - @ third arg of make_fcontext() == address of context-function + @ third arg of hoost_make_fcontext() == address of context-function str a3, [a1, #104] @ compute address of returned transfer_t @@ -75,7 +75,7 @@ finish: mov a1, #0 @ exit application bl _exit@PLT -.size make_fcontext,.-make_fcontext +.size hoost_make_fcontext,.-hoost_make_fcontext @ Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_macho_gas.S index c909ae9d43a..cb093c9c28d 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_macho_gas.S @@ -39,16 +39,16 @@ *******************************************************/ .text -.globl _make_fcontext +.globl _hoost_make_fcontext .align 2 -_make_fcontext: +_hoost_make_fcontext: @ shift address in A1 to lower 16 byte boundary bic a1, a1, #15 @ reserve space for context-data on context-stack sub a1, a1, #124 - @ third arg of make_fcontext() == address of context-function + @ third arg of hoost_make_fcontext() == address of context-function str a3, [a1, #108] @ compute address of returned transfer_t diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_pe_armasm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_pe_armasm.asm index 27cbfb08253..863adb92786 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_pe_armasm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_arm_aapcs_pe_armasm.asm @@ -27,11 +27,11 @@ AREA |.text|, CODE ALIGN 4 - EXPORT make_fcontext + EXPORT hoost_make_fcontext IMPORT _exit -make_fcontext PROC - ; first arg of make_fcontext() == top of context-stack +hoost_make_fcontext PROC + ; first arg of hoost_make_fcontext() == top of context-stack ; save top of context-stack (base) A4 mov a4, a1 @@ -43,7 +43,7 @@ make_fcontext PROC ; save top address of context_stack as 'base' str a4, [a1, #0x8] - ; second arg of make_fcontext() == size of context-stack + ; second arg of hoost_make_fcontext() == size of context-stack ; compute bottom address of context-stack (limit) sub a4, a4, a2 ; save bottom address of context-stack as 'limit' @@ -51,7 +51,7 @@ make_fcontext PROC ; save bottom address of context-stack as 'dealloction stack' str a4, [a1, #0x0] - ; third arg of make_fcontext() == address of context-function + ; third arg of hoost_make_fcontext() == address of context-function str a3, [a1, #0x34] ; compute address of returned transfer_t diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_clang_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_clang_gas.S index 79f5024602f..6f8da561bf9 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_clang_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_clang_gas.S @@ -32,10 +32,10 @@ .def @feat.00; .scl 3; .type 0; .endef .set @feat.00, 1 -.globl _make_fcontext -.def _make_fcontext; .scl 2; .type 32; .endef -_make_fcontext: - /* first arg of make_fcontext() == top of context-stack */ +.globl _hoost_make_fcontext +.def _hoost_make_fcontext; .scl 2; .type 32; .endef +_hoost_make_fcontext: + /* first arg of hoost_make_fcontext() == top of context-stack */ movl 0x04(%esp), %eax /* reserve space for first argument of context-function */ @@ -56,11 +56,11 @@ _make_fcontext: /* save x87 control-word */ fnstcw 0x4(%eax) - /* first arg of make_fcontext() == top of context-stack */ + /* first arg of hoost_make_fcontext() == top of context-stack */ movl 0x4(%esp), %ecx /* save top address of context stack as 'base' */ movl %ecx, 0x14(%eax) - /* second arg of make_fcontext() == size of context-stack */ + /* second arg of hoost_make_fcontext() == size of context-stack */ movl 0x8(%esp), %edx /* negate stack size for LEA instruction (== substraction) */ negl %edx @@ -74,7 +74,7 @@ _make_fcontext: xorl %ecx, %ecx movl %ecx, 0x8(%eax) - /* third arg of make_fcontext() == address of context-function */ + /* third arg of hoost_make_fcontext() == address of context-function */ /* stored in EBX */ movl 0xc(%esp), %ecx movl %ecx, 0x24(%eax) @@ -82,7 +82,7 @@ _make_fcontext: /* compute abs address of label trampoline */ movl $trampoline, %ecx /* save address of trampoline as return-address for context-function */ - /* will be entered after calling jump_fcontext() first time */ + /* will be entered after calling hoost_jump_fcontext() first time */ movl %ecx, 0x2c(%eax) /* compute abs address of label finish */ @@ -150,4 +150,4 @@ finish: .def __exit; .scl 2; .type 32; .endef /* standard C library function */ .section .drectve -.ascii " -export:\"_make_fcontext\"" +.ascii " -export:\"_hoost_make_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_gas.asm b/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_gas.asm index 608ddf3af0f..f423e2f264b 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_gas.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_gas.asm @@ -32,10 +32,10 @@ .def @feat.00; .scl 3; .type 0; .endef .set @feat.00, 1 -.globl _make_fcontext -.def _make_fcontext; .scl 2; .type 32; .endef -_make_fcontext: - /* first arg of make_fcontext() == top of context-stack */ +.globl _hoost_make_fcontext +.def _hoost_make_fcontext; .scl 2; .type 32; .endef +_hoost_make_fcontext: + /* first arg of hoost_make_fcontext() == top of context-stack */ movl 0x04(%esp), %eax /* reserve space for first argument of context-function */ @@ -56,11 +56,11 @@ _make_fcontext: /* save x87 control-word */ fnstcw 0x4(%eax) - /* first arg of make_fcontext() == top of context-stack */ + /* first arg of hoost_make_fcontext() == top of context-stack */ movl 0x4(%esp), %ecx /* save top address of context stack as 'base' */ movl %ecx, 0x14(%eax) - /* second arg of make_fcontext() == size of context-stack */ + /* second arg of hoost_make_fcontext() == size of context-stack */ movl 0x8(%esp), %edx /* negate stack size for LEA instruction (== substraction) */ negl %edx @@ -74,7 +74,7 @@ _make_fcontext: xorl %ecx, %ecx movl %ecx, 0x8(%eax) - /* third arg of make_fcontext() == address of context-function */ + /* third arg of hoost_make_fcontext() == address of context-function */ /* stored in EBX */ movl 0xc(%esp), %ecx movl %ecx, 0x24(%eax) @@ -82,7 +82,7 @@ _make_fcontext: /* compute abs address of label trampoline */ movl $trampoline, %ecx /* save address of trampoline as return-address for context-function */ - /* will be entered after calling jump_fcontext() first time */ + /* will be entered after calling hoost_jump_fcontext() first time */ movl %ecx, 0x2c(%eax) /* compute abs address of label finish */ @@ -150,4 +150,4 @@ finish: .def __exit; .scl 2; .type 32; .endef /* standard C library function */ .section .drectve -.ascii " -export:\"make_fcontext\"" +.ascii " -export:\"hoost_make_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_masm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_masm.asm index 5246465cb97..b4d0a6e587b 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_masm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_ms_pe_masm.asm @@ -26,8 +26,8 @@ _exit PROTO, value:SDWORD .code -make_fcontext PROC BOOST_CONTEXT_EXPORT - ; first arg of make_fcontext() == top of context-stack +hoost_make_fcontext PROC BOOST_CONTEXT_EXPORT + ; first arg of hoost_make_fcontext() == top of context-stack mov eax, [esp+04h] ; reserve space for first argument of context-function @@ -47,11 +47,11 @@ make_fcontext PROC BOOST_CONTEXT_EXPORT ; save x87 control-word fnstcw [eax+04h] - ; first arg of make_fcontext() == top of context-stack + ; first arg of hoost_make_fcontext() == top of context-stack mov ecx, [esp+04h] ; save top address of context stack as 'base' mov [eax+014h], ecx - ; second arg of make_fcontext() == size of context-stack + ; second arg of hoost_make_fcontext() == size of context-stack mov edx, [esp+08h] ; negate stack size for LEA instruction (== substraction) neg edx @@ -65,7 +65,7 @@ make_fcontext PROC BOOST_CONTEXT_EXPORT xor ecx, ecx mov [eax+08h], ecx - ; third arg of make_fcontext() == address of context-function + ; third arg of hoost_make_fcontext() == address of context-function ; stored in EBX mov ecx, [esp+0ch] mov [eax+024h], ecx @@ -73,7 +73,7 @@ make_fcontext PROC BOOST_CONTEXT_EXPORT ; compute abs address of label trampoline mov ecx, trampoline ; save address of trampoline as return-address for context-function - ; will be entered after calling jump_fcontext() first time + ; will be entered after calling hoost_jump_fcontext() first time mov [eax+02ch], ecx ; compute abs address of label finish @@ -136,5 +136,5 @@ finish: ; exit application call _exit hlt -make_fcontext ENDP +hoost_make_fcontext ENDP END diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_sysv_elf_gas.S index c6e0b36558a..ed32ef6bdcd 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_sysv_elf_gas.S @@ -30,11 +30,11 @@ .file "make_i386_sysv_elf_gas.S" .text -.globl make_fcontext +.globl hoost_make_fcontext .align 2 -.type make_fcontext,@function -make_fcontext: - /* first arg of make_fcontext() == top of context-stack */ +.type hoost_make_fcontext,@function +hoost_make_fcontext: + /* first arg of hoost_make_fcontext() == top of context-stack */ movl 0x4(%esp), %eax /* reserve space for first argument of context-function @@ -47,7 +47,7 @@ make_fcontext: /* reserve space for context-data on context-stack, and align the stack */ leal -0x34(%eax), %eax - /* third arg of make_fcontext() == address of context-function */ + /* third arg of hoost_make_fcontext() == address of context-function */ /* stored in EBX */ movl 0xc(%esp), %ecx movl %ecx, 0x14(%eax) @@ -75,7 +75,7 @@ make_fcontext: /* compute abs address of label trampoline */ addl $trampoline-1b, %ecx /* save address of trampoline as return address */ - /* will be entered after calling jump_fcontext() first time */ + /* will be entered after calling hoost_jump_fcontext() first time */ movl %ecx, 0x1c(%eax) /* compute abs address of label finish */ @@ -111,7 +111,7 @@ finish: /* exit application */ call _exit@PLT hlt -.size make_fcontext,.-make_fcontext +.size hoost_make_fcontext,.-hoost_make_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_sysv_macho_gas.S index 519e406248b..2af22a25162 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_i386_sysv_macho_gas.S @@ -25,10 +25,10 @@ ****************************************************************************************/ .text -.globl _make_fcontext +.globl _hoost_make_fcontext .align 2 -_make_fcontext: - /* first arg of make_fcontext() == top of context-stack */ +_hoost_make_fcontext: + /* first arg of hoost_make_fcontext() == top of context-stack */ movl 0x4(%esp), %eax /* reserve space for first argument of context-function @@ -41,7 +41,7 @@ _make_fcontext: /* reserve space for context-data on context-stack, and align the stack */ leal -0x34(%eax), %eax - /* third arg of make_fcontext() == address of context-function */ + /* third arg of hoost_make_fcontext() == address of context-function */ /* stored in EBX */ movl 0xc(%esp), %ecx movl %ecx, 0x10(%eax) @@ -58,7 +58,7 @@ _make_fcontext: /* compute abs address of label trampoline */ addl $trampoline-1b, %ecx /* save address of trampoline as return address */ - /* will be entered after calling jump_fcontext() first time */ + /* will be entered after calling hoost_jump_fcontext() first time */ movl %ecx, 0x18(%eax) /* compute abs address of label finish */ @@ -69,7 +69,7 @@ _make_fcontext: addl $finish-2b, %ecx /* save address of finish as return-address for context-function */ /* will be entered after context-function returns */ - movl %ecx, 0x14(%eax) + movl %ecx, 0x14(%eax) ret /* return pointer to context-data */ diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_loongarch64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_loongarch64_sysv_elf_gas.S index 55062702f18..64da45324a8 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_loongarch64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_loongarch64_sysv_elf_gas.S @@ -40,17 +40,17 @@ .file "make_loongarch64_sysv_elf_gas.S" .text -.globl make_fcontext +.globl hoost_make_fcontext .align 2 -.type make_fcontext,@function -make_fcontext: +.type hoost_make_fcontext,@function +hoost_make_fcontext: # shift address in A0 to lower 16 byte boundary bstrins.d $a0, $zero, 3, 0 # reserve space for context-data on context-stack addi.d $a0, $a0, -160 - # third arg of make_fcontext() == address of context-function + # third arg of hoost_make_fcontext() == address of context-function st.d $a2, $a0, 152 # save address of finish as return-address for context-function @@ -67,6 +67,6 @@ finish: # call _exit(0) b %plt(_exit) -.size make_fcontext, .-make_fcontext +.size hoost_make_fcontext, .-hoost_make_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_mips32_o32_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_mips32_o32_elf_gas.S index 4e11e3d0582..daa2daa3a66 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_mips32_o32_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_mips32_o32_elf_gas.S @@ -40,11 +40,11 @@ .file "make_mips32_o32_elf_gas.S" .text -.globl make_fcontext +.globl hoost_make_fcontext .align 2 -.type make_fcontext,@function -.ent make_fcontext -make_fcontext: +.type hoost_make_fcontext,@function +.ent hoost_make_fcontext +hoost_make_fcontext: #ifdef __PIC__ .set noreorder .cpload $t9 @@ -63,7 +63,7 @@ make_fcontext: # - 4 bytes for alignment addiu $v0, $v0, -128 - # third arg of make_fcontext() == address of context-function + # third arg of hoost_make_fcontext() == address of context-function sw $a2, 92($v0) # save global pointer in context-data sw $gp, 112($v0) @@ -90,8 +90,8 @@ finish: la $t9, _exit move $a0, $zero jr $t9 -.end make_fcontext -.size make_fcontext, .-make_fcontext +.end hoost_make_fcontext +.size hoost_make_fcontext, .-hoost_make_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_mips64_n64_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_mips64_n64_elf_gas.S index 7bb30b14dee..c2895833cef 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_mips64_n64_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_mips64_n64_elf_gas.S @@ -47,11 +47,11 @@ .file "make_mips64_n64_elf_gas.S" .text -.globl make_fcontext +.globl hoost_make_fcontext .align 3 -.type make_fcontext,@function -.ent make_fcontext -make_fcontext: +.type hoost_make_fcontext,@function +.ent hoost_make_fcontext +hoost_make_fcontext: #ifdef __PIC__ .set noreorder .cpload $t9 @@ -64,7 +64,7 @@ make_fcontext: # reserve space for context-data on context-stack daddiu $v0, $v0, -160 - # third arg of make_fcontext() == address of context-function + # third arg of hoost_make_fcontext() == address of context-function sd $a2, 152($v0) # save global pointer in context-data sd $gp, 136($v0) @@ -89,8 +89,8 @@ finish: dla $t9, _exit move $a0, $zero jr $t9 -.end make_fcontext -.size make_fcontext, .-make_fcontext +.end hoost_make_fcontext +.size hoost_make_fcontext, .-hoost_make_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S index 9616c4ca9b4..58ac28ec450 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S @@ -52,14 +52,14 @@ .file "make_ppc32_sysv_elf_gas.S" .text -.globl make_fcontext +.globl hoost_make_fcontext .align 2 -.type make_fcontext,@function -make_fcontext: +.type hoost_make_fcontext,@function +hoost_make_fcontext: # save return address into R6 mflr %r6 - # first arg of make_fcontext() == top address of context-function + # first arg of hoost_make_fcontext() == top address of context-function # shift address in R3 to lower 16 byte boundary clrrwi %r3, %r3, 4 @@ -67,7 +67,7 @@ make_fcontext: # and parameter area + 240 bytes of context-data (R1 % 16 == 0) subi %r3, %r3, 16 + 240 - # third arg of make_fcontext() == address of context-function + # third arg of hoost_make_fcontext() == address of context-function #ifdef __linux__ # save context-function as PC stw %r5, 16(%r3) @@ -111,7 +111,7 @@ make_fcontext: #ifndef __linux__ trampoline: - # On systems other than Linux, jump_fcontext is returning the + # On systems other than Linux, hoost_jump_fcontext is returning the # transfer_t in R3:R4, but we need to pass transfer_t * R3 to # our context-function. lwz %r0, 8(%r1) # address of context-function @@ -136,7 +136,7 @@ finish: # call _exit(0) with special addend 0x8000 for large model li %r3, 0 bl _exit + 0x8000@plt -.size make_fcontext, .-make_fcontext +.size hoost_make_fcontext, .-hoost_make_fcontext /* Provide the GOT pointer for secure PLT, large model. */ .section .got2,"aw" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_macho_gas.S index 1102ee90ef0..1c1afcb1db0 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_macho_gas.S @@ -68,19 +68,19 @@ * ------------------------------------------------- * * | 256 | | * * ------------------------------------------------- * - * | DATA| | * + * | DATA| | * * ------------------------------------------------- * * * *******************************************************/ .text -.globl _make_fcontext +.globl _hoost_make_fcontext .align 2 -_make_fcontext: +_hoost_make_fcontext: ; save return address into R6 mflr r6 - ; first arg of make_fcontext() == top address of context-function + ; first arg of hoost_make_fcontext() == top address of context-function ; shift address in R3 to lower 16 byte boundary clrrwi r3, r3, 4 @@ -88,7 +88,7 @@ _make_fcontext: ; including 64 byte of linkage + parameter area (R1 % 16 == 0) subi r3, r3, 336 - ; third arg of make_fcontext() == address of context-function + ; third arg of hoost_make_fcontext() == address of context-function ; store as trampoline's R31 stw r5, 224(r3) @@ -101,8 +101,8 @@ _make_fcontext: ; compute address of returned transfer_t addi r0, r3, 252 - mr r4, r0 - stw r4, 228(r3) + mr r4, r0 + stw r4, 228(r3) ; load LR mflr r0 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_xcoff_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_xcoff_gas.S index e803757fa35..a39dff101ec 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_xcoff_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc32_sysv_xcoff_gas.S @@ -58,17 +58,17 @@ .toc .csect .text[PR] .align 2 - .globl make_fcontext[DS] - .globl .make_fcontext - .csect make_fcontext[DS] -make_fcontext: - .long .make_fcontext[PR], TOC[tc0], 0 + .globl hoost_make_fcontext[DS] + .globl .hoost_make_fcontext + .csect hoost_make_fcontext[DS] +hoost_make_fcontext: + .long .hoost_make_fcontext[PR], TOC[tc0], 0 .csect .text[PR], 5 -.make_fcontext: +.hoost_make_fcontext: # save return address into R6 mflr 6 - # first arg of make_fcontext() == top address of context-function + # first arg of hoost_make_fcontext() == top address of context-function # shift address in R3 to lower 16 byte boundary clrrwi 3, 3, 4 @@ -76,7 +76,7 @@ make_fcontext: # including 32 byte of linkage + parameter area (R1 % 16 == 0) subi 3, 3, 288 - # third arg of make_fcontext() == address of context-function descriptor + # third arg of hoost_make_fcontext() == address of context-function descriptor lwz 4, 0(5) stw 4, 240(3) # save TOC of context-function diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S index c4d7ee59826..db7a3115464 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S @@ -67,39 +67,39 @@ *******************************************************/ .file "make_ppc64_sysv_elf_gas.S" -.globl make_fcontext +.globl hoost_make_fcontext #if _CALL_ELF == 2 .text .align 2 -make_fcontext: - addis %r2, %r12, .TOC.-make_fcontext@ha - addi %r2, %r2, .TOC.-make_fcontext@l - .localentry make_fcontext, . - make_fcontext +hoost_make_fcontext: + addis %r2, %r12, .TOC.-hoost_make_fcontext@ha + addi %r2, %r2, .TOC.-hoost_make_fcontext@l + .localentry hoost_make_fcontext, . - hoost_make_fcontext #else .section ".opd","aw" .align 3 -make_fcontext: +hoost_make_fcontext: # ifdef _CALL_LINUX - .quad .L.make_fcontext,.TOC.@tocbase,0 - .type make_fcontext,@function + .quad .L.hoost_make_fcontext,.TOC.@tocbase,0 + .type hoost_make_fcontext,@function .text .align 2 -.L.make_fcontext: +.L.hoost_make_fcontext: # else - .hidden .make_fcontext - .globl .make_fcontext - .quad .make_fcontext,.TOC.@tocbase,0 - .size make_fcontext,24 - .type .make_fcontext,@function + .hidden .hoost_make_fcontext + .globl .hoost_make_fcontext + .quad .hoost_make_fcontext,.TOC.@tocbase,0 + .size hoost_make_fcontext,24 + .type .hoost_make_fcontext,@function .text .align 2 -.make_fcontext: +.hoost_make_fcontext: # endif #endif # save return address into R6 mflr %r6 - # first arg of make_fcontext() == top address of context-stack + # first arg of hoost_make_fcontext() == top address of context-stack # shift address in R3 to lower 16 byte boundary clrrdi %r3, %r3, 4 @@ -107,7 +107,7 @@ make_fcontext: # including 64 byte of linkage + parameter area (R1 % 16 == 0) subi %r3, %r3, 248 - # third arg of make_fcontext() == address of context-function + # third arg of hoost_make_fcontext() == address of context-function # entry point (ELFv2) or descriptor (ELFv1) #if _CALL_ELF == 2 # save address of context-function entry point @@ -164,12 +164,12 @@ finish: bl _exit nop #if _CALL_ELF == 2 - .size make_fcontext, .-make_fcontext + .size hoost_make_fcontext, .-hoost_make_fcontext #else # ifdef _CALL_LINUX - .size .make_fcontext, .-.L.make_fcontext + .size .hoost_make_fcontext, .-.L.hoost_make_fcontext # else - .size .make_fcontext, .-.make_fcontext + .size .hoost_make_fcontext, .-.hoost_make_fcontext # endif #endif diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_macho_gas.S index dd7bf2c5c0c..216aae4d41c 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_macho_gas.S @@ -67,12 +67,12 @@ *******************************************************/ .text -.globl _make_fcontext -_make_fcontext: +.globl _hoost_make_fcontext +_hoost_make_fcontext: ; save return address into R6 mflr r6 - ; first arg of make_fcontext() == top address of context-function + ; first arg of hoost_make_fcontext() == top address of context-function ; shift address in R3 to lower 16 byte boundary clrrwi r3, r3, 4 @@ -80,7 +80,7 @@ _make_fcontext: ; including 64 byte of linkage + parameter area (R1 16 == 0) subi r3, r3, 240 - ; third arg of make_fcontext() == address of context-function + ; third arg of hoost_make_fcontext() == address of context-function stw r5, 176(r3) ; set back-chain to zero diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_xcoff_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_xcoff_gas.S index 2374b50ee63..e6fd7541af0 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_xcoff_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_ppc64_sysv_xcoff_gas.S @@ -70,17 +70,17 @@ .toc .csect .text[PR], 5 .align 2 - .globl make_fcontext[DS] - .globl .make_fcontext - .csect make_fcontext[DS], 3 -make_fcontext: - .llong .make_fcontext[PR], TOC[tc0], 0 + .globl hoost_make_fcontext[DS] + .globl .hoost_make_fcontext + .csect hoost_make_fcontext[DS], 3 +hoost_make_fcontext: + .llong .hoost_make_fcontext[PR], TOC[tc0], 0 .csect .text[PR], 5 -.make_fcontext: +.hoost_make_fcontext: # save return address into R6 mflr 6 - # first arg of make_fcontext() == top address of context-function + # first arg of hoost_make_fcontext() == top address of context-function # shift address in R3 to lower 16 byte boundary clrrdi 3, 3, 4 @@ -88,7 +88,7 @@ make_fcontext: # including 64 byte of linkage + parameter area (R1 % 16 == 0) subi 3, 3, 248 - # third arg of make_fcontext() == address of context-function descriptor + # third arg of hoost_make_fcontext() == address of context-function descriptor ld 4, 0(5) std 4, 176(3) # save TOC of context-function diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_riscv64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_riscv64_sysv_elf_gas.S index 5322e0fdbde..045325444f0 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_riscv64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_riscv64_sysv_elf_gas.S @@ -60,16 +60,16 @@ .file "make_riscv64_sysv_elf_gas.S" .text .align 1 -.global make_fcontext -.type make_fcontext, %function -make_fcontext: +.global hoost_make_fcontext +.type hoost_make_fcontext, %function +hoost_make_fcontext: # shift address in a0 (allocated stack) to lower 16 byte boundary andi a0, a0, ~0xF # reserve space for context-data on context-stack addi a0, a0, -0xd0 - # third arg of make_fcontext() == address of context-function + # third arg of hoost_make_fcontext() == address of context-function # store address as a PC to jump in sd a2, 0xc8(a0) @@ -86,6 +86,6 @@ finish: # exit application tail _exit@plt -.size make_fcontext,.-make_fcontext +.size hoost_make_fcontext,.-hoost_make_fcontext # Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_s390x_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_s390x_sysv_elf_gas.S index 4dd423e2a44..07b5152276a 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_s390x_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_s390x_sysv_elf_gas.S @@ -45,8 +45,8 @@ .text .align 8 -.global make_fcontext -.type make_fcontext, @function +.global hoost_make_fcontext +.type hoost_make_fcontext, @function #define ARG_OFFSET 0 #define GR_OFFSET 16 @@ -58,7 +58,7 @@ /* -fcontext_t make_fcontext( void * sp, std::size_t size, void (* fn)( transfer_t) ); +fcontext_t hoost_make_fcontext( void * sp, std::size_t size, void (* fn)( transfer_t) ); Create and return a context below SP to call FN. @@ -69,7 +69,7 @@ r4 - The address of the context function */ -make_fcontext: +hoost_make_fcontext: .machine "z10" /* Align the stack to an 8 byte boundary. */ nill %r2,0xfff8 @@ -77,7 +77,7 @@ make_fcontext: /* Allocate stack space for the context. */ aghi %r2,-CONTEXT_SIZE - /* Set the r2 save slot to zero. This indicates jump_fcontext + /* Set the r2 save slot to zero. This indicates hoost_jump_fcontext that this is a special context. */ mvghi GR_OFFSET(%r2),0 @@ -99,10 +99,10 @@ make_fcontext: finish: /* In finish tasks, you load the exit code and exit the - make_fcontext This is called when the context-function is + hoost_make_fcontext This is called when the context-function is entirely executed. */ lghi %r2,0 brasl %r14,_exit@PLT -.size make_fcontext,.-make_fcontext +.size hoost_make_fcontext,.-hoost_make_fcontext .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_sparc64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_sparc64_sysv_elf_gas.S index 3e7ee809c91..9cf0a7c9801 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_sparc64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_sparc64_sysv_elf_gas.S @@ -6,7 +6,7 @@ */ /* - * fcontext_t *make_fcontext(void *sp, size_t size, void (*fn)(transfer_t)); + * fcontext_t *hoost_make_fcontext(void *sp, size_t size, void (*fn)(transfer_t)); */ #define CC64FSZ 176 #define BIAS 2047 @@ -17,9 +17,9 @@ .file "make_sparc64_sysv_elf_gas.S" .text .align 4 -.global make_fcontext -.type make_fcontext, %function -make_fcontext: +.global hoost_make_fcontext +.type hoost_make_fcontext, %function +hoost_make_fcontext: save %sp, -CC64FSZ, %sp # shift address in %i0 (allocated stack) to lower 16 byte boundary @@ -27,10 +27,10 @@ make_fcontext: # reserve space for two frames on the stack # the first frame is for the call the second one holds the data - # for jump_fcontext + # for hoost_jump_fcontext sub %i0, 2 * CC64FSZ, %i0 - # third argument of make_fcontext() is the context-function to call + # third argument of hoost_make_fcontext() is the context-function to call # store it in the first stack frame, also clear %fp there to indicate # the end of the stack. stx %i2, [%i0 + CC64FSZ + I7] @@ -63,6 +63,6 @@ trampoline: call _exit clr %o0 unimp -.size make_fcontext,.-make_fcontext +.size hoost_make_fcontext,.-hoost_make_fcontext # Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_clang_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_clang_gas.S index 9b3a6fccf7c..2464c3f0af5 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_clang_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_clang_gas.S @@ -89,13 +89,13 @@ .file "make_x86_64_ms_pe_clang_gas.S" .text .p2align 4,,15 -.globl make_fcontext -.def make_fcontext; .scl 2; .type 32; .endef -.seh_proc make_fcontext -make_fcontext: +.globl hoost_make_fcontext +.def hoost_make_fcontext; .scl 2; .type 32; .endef +.seh_proc hoost_make_fcontext +hoost_make_fcontext: .seh_endprologue - /* first arg of make_fcontext() == top of context-stack */ + /* first arg of hoost_make_fcontext() == top of context-stack */ movq %rcx, %rax /* shift address in RAX to lower 16 byte boundary */ @@ -106,13 +106,13 @@ make_fcontext: /* on context-function entry: (RSP -0x8) % 16 == 0 */ leaq -0x150(%rax), %rax - /* third arg of make_fcontext() == address of context-function */ + /* third arg of hoost_make_fcontext() == address of context-function */ movq %r8, 0x100(%rax) - /* first arg of make_fcontext() == top of context-stack */ + /* first arg of hoost_make_fcontext() == top of context-stack */ /* save top address of context stack as 'base' */ movq %rcx, 0xc8(%rax) - /* second arg of make_fcontext() == size of context-stack */ + /* second arg of hoost_make_fcontext() == size of context-stack */ /* negate stack size for LEA instruction (== substraction) */ negq %rdx /* compute bottom address of context stack (limit) */ @@ -138,7 +138,7 @@ make_fcontext: /* compute abs address of label trampoline */ leaq trampoline(%rip), %rcx /* save address of finish as return-address for context-function */ - /* will be entered after jump_fcontext() first time */ + /* will be entered after hoost_jump_fcontext() first time */ movq %rcx, 0x118(%rax) /* compute abs address of label finish */ @@ -151,7 +151,7 @@ make_fcontext: trampoline: /* store return address on stack */ - /* fix stack alignment */ + /* fix stack alignment */ pushq %rbp /* jump to context-function */ jmp *%rbx @@ -160,7 +160,7 @@ finish: /* 32byte shadow-space for _exit() */ andq $-32, %rsp /* 32byte shadow-space for _exit() are */ - /* already reserved by make_fcontext() */ + /* already reserved by hoost_make_fcontext() */ /* exit code is zero */ xorq %rcx, %rcx /* exit application */ @@ -171,4 +171,4 @@ finish: .def _exit; .scl 2; .type 32; .endef /* standard C library function */ .section .drectve -.ascii " -export:\"make_fcontext\"" +.ascii " -export:\"hoost_make_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_gas.asm b/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_gas.asm index 958a2a7b6d0..e4033b499db 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_gas.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_gas.asm @@ -89,13 +89,13 @@ .file "make_x86_64_ms_pe_gas.asm" .text .p2align 4,,15 -.globl make_fcontext -.def make_fcontext; .scl 2; .type 32; .endef -.seh_proc make_fcontext -make_fcontext: +.globl hoost_make_fcontext +.def hoost_make_fcontext; .scl 2; .type 32; .endef +.seh_proc hoost_make_fcontext +hoost_make_fcontext: .seh_endprologue - /* first arg of make_fcontext() == top of context-stack */ + /* first arg of hoost_make_fcontext() == top of context-stack */ movq %rcx, %rax /* shift address in RAX to lower 16 byte boundary */ @@ -106,13 +106,13 @@ make_fcontext: /* on context-function entry: (RSP -0x8) % 16 == 0 */ leaq -0x150(%rax), %rax - /* third arg of make_fcontext() == address of context-function */ + /* third arg of hoost_make_fcontext() == address of context-function */ movq %r8, 0x100(%rax) - /* first arg of make_fcontext() == top of context-stack */ + /* first arg of hoost_make_fcontext() == top of context-stack */ /* save top address of context stack as 'base' */ movq %rcx, 0xc8(%rax) - /* second arg of make_fcontext() == size of context-stack */ + /* second arg of hoost_make_fcontext() == size of context-stack */ /* negate stack size for LEA instruction (== substraction) */ negq %rdx /* compute bottom address of context stack (limit) */ @@ -138,7 +138,7 @@ make_fcontext: /* compute abs address of label trampoline */ leaq trampoline(%rip), %rcx /* save address of finish as return-address for context-function */ - /* will be entered after jump_fcontext() first time */ + /* will be entered after hoost_jump_fcontext() first time */ movq %rcx, 0x118(%rax) /* compute abs address of label finish */ @@ -151,7 +151,7 @@ make_fcontext: trampoline: /* store return address on stack */ - /* fix stack alignment */ + /* fix stack alignment */ pushq %rbp /* jump to context-function */ jmp *%rbx @@ -160,7 +160,7 @@ finish: /* 32byte shadow-space for _exit() */ andq $-32, %rsp /* 32byte shadow-space for _exit() are */ - /* already reserved by make_fcontext() */ + /* already reserved by hoost_make_fcontext() */ /* exit code is zero */ xorq %rcx, %rcx /* exit application */ @@ -171,4 +171,4 @@ finish: .def _exit; .scl 2; .type 32; .endef /* standard C library function */ .section .drectve -.ascii " -export:\"make_fcontext\"" +.ascii " -export:\"hoost_make_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_masm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_masm.asm index 8f6c959a837..0fd33cd6436 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_masm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_ms_pe_masm.asm @@ -87,11 +87,11 @@ EXTERN _exit:PROC .code ; generate function table entry in .pdata and unwind information in -make_fcontext PROC BOOST_CONTEXT_EXPORT FRAME +hoost_make_fcontext PROC BOOST_CONTEXT_EXPORT FRAME ; .xdata for a function's structured exception handling unwind behavior .endprolog - ; first arg of make_fcontext() == top of context-stack + ; first arg of hoost_make_fcontext() == top of context-stack mov rax, rcx ; shift address in RAX to lower 16 byte boundary @@ -102,14 +102,14 @@ make_fcontext PROC BOOST_CONTEXT_EXPORT FRAME ; on context-function entry: (RSP -0x8) % 16 == 0 sub rax, 0150h - ; third arg of make_fcontext() == address of context-function + ; third arg of hoost_make_fcontext() == address of context-function ; stored in RBX mov [rax+0100h], r8 - ; first arg of make_fcontext() == top of context-stack + ; first arg of hoost_make_fcontext() == top of context-stack ; save top address of context stack as 'base' mov [rax+0c8h], rcx - ; second arg of make_fcontext() == size of context-stack + ; second arg of hoost_make_fcontext() == size of context-stack ; negate stack size for LEA instruction (== substraction) neg rdx ; compute bottom address of context stack (limit) @@ -135,13 +135,13 @@ make_fcontext PROC BOOST_CONTEXT_EXPORT FRAME ; compute abs address of label trampoline lea rcx, trampoline ; save address of trampoline as return-address for context-function - ; will be entered after calling jump_fcontext() first time + ; will be entered after calling hoost_jump_fcontext() first time mov [rax+0118h], rcx ; compute abs address of label finish lea rcx, finish ; save address of finish as return-address for context-function in RBP - ; will be entered after context-function returns + ; will be entered after context-function returns mov [rax+0108h], rcx ret ; return pointer to context-data @@ -159,5 +159,5 @@ finish: ; exit application call _exit hlt -make_fcontext ENDP +hoost_make_fcontext ENDP END diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S index b0d0c0341ef..aff0a5c4113 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S @@ -43,10 +43,10 @@ # endif .file "make_x86_64_sysv_elf_gas.S" .text -.globl make_fcontext -.type make_fcontext,@function +.globl hoost_make_fcontext +.type hoost_make_fcontext,@function .align 16 -make_fcontext: +hoost_make_fcontext: _CET_ENDBR #if BOOST_CONTEXT_SHADOW_STACK @@ -54,7 +54,7 @@ make_fcontext: movq -0x8(%rdi), %r9 #endif - /* first arg of make_fcontext() == top of context-stack */ + /* first arg of hoost_make_fcontext() == top of context-stack */ movq %rdi, %rax /* shift address in RAX to lower 16 byte boundary */ @@ -64,7 +64,7 @@ make_fcontext: /* on context-function entry: (RSP -0x8) % 16 == 0 */ leaq -0x48(%rax), %rax - /* third arg of make_fcontext() == address of context-function */ + /* third arg of hoost_make_fcontext() == address of context-function */ /* stored in RBX */ movq %rdx, 0x30(%rax) @@ -82,7 +82,7 @@ make_fcontext: /* compute abs address of label trampoline */ leaq trampoline(%rip), %rcx /* save address of trampoline as return-address for context-function */ - /* will be entered after calling jump_fcontext() first time */ + /* will be entered after calling hoost_jump_fcontext() first time */ movq %rcx, 0x40(%rax) /* compute abs address of label finish */ @@ -183,7 +183,7 @@ finish: /* exit application */ call _exit@PLT hlt -.size make_fcontext,.-make_fcontext +.size hoost_make_fcontext,.-hoost_make_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_sysv_macho_gas.S index 5d6c5431c59..20299379d27 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/make_x86_64_sysv_macho_gas.S @@ -25,10 +25,10 @@ ****************************************************************************************/ .text -.globl _make_fcontext +.globl _hoost_make_fcontext .align 8 -_make_fcontext: - /* first arg of make_fcontext() == top of context-stack */ +_hoost_make_fcontext: + /* first arg of hoost_make_fcontext() == top of context-stack */ movq %rdi, %rax /* shift address in RAX to lower 16 byte boundary */ @@ -38,7 +38,7 @@ _make_fcontext: /* on context-function entry: (RSP -0x8) % 16 == 0 */ leaq -0x40(%rax), %rax - /* third arg of make_fcontext() == address of context-function */ + /* third arg of hoost_make_fcontext() == address of context-function */ /* stored in RBX */ movq %rdx, 0x28(%rax) @@ -50,7 +50,7 @@ _make_fcontext: /* compute abs address of label trampoline */ leaq trampoline(%rip), %rcx /* save address of trampoline as return-address for context-function */ - /* will be entered after calling jump_fcontext() first time */ + /* will be entered after calling hoost_jump_fcontext() first time */ movq %rcx, 0x38(%rax) /* compute abs address of label finish */ diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_elf_gas.S index 665ca5a2c11..0c074df88ff 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_elf_gas.S @@ -54,9 +54,9 @@ .file "ontop_arm64_aapcs_elf_gas.S" .text .align 2 -.global ontop_fcontext -.type ontop_fcontext, %function -ontop_fcontext: +.global hoost_ontop_fcontext +.type hoost_ontop_fcontext, %function +hoost_ontop_fcontext: # prepare stack for GP + FPU sub sp, sp, #0xb0 @@ -108,6 +108,6 @@ ontop_fcontext: # jump to ontop-function ret x2 -.size ontop_fcontext,.-ontop_fcontext +.size hoost_ontop_fcontext,.-hoost_ontop_fcontext # Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S index a387d06dd29..c8a27bb4404 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S @@ -52,9 +52,9 @@ *******************************************************/ .text -.global _ontop_fcontext +.global _hoost_ontop_fcontext .balign 16 -_ontop_fcontext: +_hoost_ontop_fcontext: ; prepare stack for GP + FPU sub sp, sp, #0xb0 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_pe_armasm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_pe_armasm.asm index dc522c0a623..7970ccab39d 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_pe_armasm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm64_aapcs_pe_armasm.asm @@ -58,9 +58,9 @@ ;******************************************************* AREA |.text|, CODE, READONLY, ALIGN=4, CODEALIGN - EXPORT ontop_fcontext + EXPORT hoost_ontop_fcontext -ontop_fcontext proc BOOST_CONTEXT_EXPORT +hoost_ontop_fcontext proc BOOST_CONTEXT_EXPORT ; prepare stack for GP + FPU sub sp, sp, #0xd0 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_elf_gas.S index 59ad5ca9ce7..527425cf23f 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_elf_gas.S @@ -40,11 +40,11 @@ .file "ontop_arm_aapcs_elf_gas.S" .text -.globl ontop_fcontext +.globl hoost_ontop_fcontext .align 2 -.type ontop_fcontext,%function +.type hoost_ontop_fcontext,%function .syntax unified -ontop_fcontext: +hoost_ontop_fcontext: @ save LR as PC push {lr} @ save hidden,V1-V8,LR @@ -87,7 +87,7 @@ ontop_fcontext: @ jump to ontop-function bx a4 -.size ontop_fcontext,.-ontop_fcontext +.size hoost_ontop_fcontext,.-hoost_ontop_fcontext @ Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_macho_gas.S index 3633aca641a..59f6d2ed8d3 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_macho_gas.S @@ -39,9 +39,9 @@ *******************************************************/ .text -.globl _ontop_fcontext +.globl _hoost_ontop_fcontext .align 2 -_ontop_fcontext: +_hoost_ontop_fcontext: @ save LR as PC push {lr} @ save hidden,V1-V8,LR diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_pe_armasm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_pe_armasm.asm index f360a8ffca1..0cd29324ee2 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_pe_armasm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_arm_aapcs_pe_armasm.asm @@ -26,9 +26,9 @@ AREA |.text|, CODE ALIGN 4 - EXPORT ontop_fcontext + EXPORT hoost_ontop_fcontext -ontop_fcontext PROC +hoost_ontop_fcontext PROC ; save LR as PC push {lr} ; save hidden,V1-V8,LR diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_clang_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_clang_gas.S index 16eb33e1a71..af0a597ba6b 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_clang_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_clang_gas.S @@ -32,9 +32,9 @@ .def @feat.00; .scl 3; .type 0; .endef .set @feat.00, 1 -.globl _ontop_fcontext -.def _ontop_fcontext; .scl 2; .type 32; .endef -_ontop_fcontext: +.globl _hoost_ontop_fcontext +.def _hoost_ontop_fcontext; .scl 2; .type 32; .endef +_hoost_ontop_fcontext: /* prepare stack */ leal -0x2c(%esp), %esp @@ -71,19 +71,19 @@ _ontop_fcontext: /* store ESP (pointing to context-data) in ECX */ movl %esp, %ecx - /* first arg of ontop_fcontext() == fcontext to jump to */ + /* first arg of hoost_ontop_fcontext() == fcontext to jump to */ movl 0x30(%esp), %eax /* pass parent fcontext_t */ movl %ecx, 0x30(%eax) - /* second arg of ontop_fcontext() == data to be transferred */ + /* second arg of hoost_ontop_fcontext() == data to be transferred */ movl 0x34(%esp), %ecx /* pass data */ movl %ecx, 0x34(%eax) - /* third arg of ontop_fcontext() == ontop-function */ + /* third arg of hoost_ontop_fcontext() == ontop-function */ movl 0x38(%esp), %ecx /* restore ESP (pointing to context-data) from EDX */ @@ -128,4 +128,4 @@ _ontop_fcontext: jmp *%ecx .section .drectve -.ascii " -export:\"_ontop_fcontext\"" +.ascii " -export:\"_hoost_ontop_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_gas.asm b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_gas.asm index abe9002a4b9..0fd9ebc8f00 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_gas.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_gas.asm @@ -32,9 +32,9 @@ .def @feat.00; .scl 3; .type 0; .endef .set @feat.00, 1 -.globl _ontop_fcontext -.def _ontop_fcontext; .scl 2; .type 32; .endef -_ontop_fcontext: +.globl _hoost_ontop_fcontext +.def _hoost_ontop_fcontext; .scl 2; .type 32; .endef +_hoost_ontop_fcontext: /* prepare stack */ leal -0x2c(%esp), %esp @@ -71,19 +71,19 @@ _ontop_fcontext: /* store ESP (pointing to context-data) in ECX */ movl %esp, %ecx - /* first arg of ontop_fcontext() == fcontext to jump to */ + /* first arg of hoost_ontop_fcontext() == fcontext to jump to */ movl 0x30(%esp), %eax /* pass parent fcontext_t */ movl %ecx, 0x30(%eax) - /* second arg of ontop_fcontext() == data to be transferred */ + /* second arg of hoost_ontop_fcontext() == data to be transferred */ movl 0x34(%esp), %ecx /* pass data */ movl %ecx, 0x34(%eax) - /* third arg of ontop_fcontext() == ontop-function */ + /* third arg of hoost_ontop_fcontext() == ontop-function */ movl 0x38(%esp), %ecx /* restore ESP (pointing to context-data) from EDX */ @@ -128,4 +128,4 @@ _ontop_fcontext: jmp *%ecx .section .drectve -.ascii " -export:\"ontop_fcontext\"" +.ascii " -export:\"hoost_ontop_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_masm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_masm.asm index 82246a4a2c5..b53a6ab3e22 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_masm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_ms_pe_masm.asm @@ -24,7 +24,7 @@ .model flat, c .code -ontop_fcontext PROC BOOST_CONTEXT_EXPORT +hoost_ontop_fcontext PROC BOOST_CONTEXT_EXPORT ; prepare stack lea esp, [esp-02ch] @@ -55,29 +55,29 @@ ENDIF mov eax, [edx] mov [esp+018h], eax - mov [esp+01ch], edi ; save EDI - mov [esp+020h], esi ; save ESI - mov [esp+024h], ebx ; save EBX - mov [esp+028h], ebp ; save EBP + mov [esp+01ch], edi ; save EDI + mov [esp+020h], esi ; save ESI + mov [esp+024h], ebx ; save EBX + mov [esp+028h], ebp ; save EBP ; store ESP (pointing to context-data) in ECX mov ecx, esp - ; first arg of ontop_fcontext() == fcontext to jump to + ; first arg of hoost_ontop_fcontext() == fcontext to jump to mov eax, [esp+030h] ; pass parent fcontext_t mov [eax+030h], ecx - ; second arg of ontop_fcontext() == data to be transferred + ; second arg of hoost_ontop_fcontext() == data to be transferred mov ecx, [esp+034h] ; pass data mov [eax+034h], ecx - ; third arg of ontop_fcontext() == ontop-function + ; third arg of hoost_ontop_fcontext() == ontop-function mov ecx, [esp+038h] - + ; restore ESP (pointing to context-data) from EAX mov esp, eax @@ -108,10 +108,10 @@ ENDIF mov eax, [esp+018h] mov [edx], eax - mov edi, [esp+01ch] ; restore EDI - mov esi, [esp+020h] ; restore ESI - mov ebx, [esp+024h] ; restore EBX - mov ebp, [esp+028h] ; restore EBP + mov edi, [esp+01ch] ; restore EDI + mov esi, [esp+020h] ; restore ESI + mov ebx, [esp+024h] ; restore EBX + mov ebp, [esp+028h] ; restore EBP ; prepare stack lea esp, [esp+02ch] @@ -120,5 +120,5 @@ ENDIF ; jump to context jmp ecx -ontop_fcontext ENDP +hoost_ontop_fcontext ENDP END diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_sysv_elf_gas.S index 0cb6168fab7..84239a2f522 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_sysv_elf_gas.S @@ -26,10 +26,10 @@ .file "ontop_i386_sysv_elf_gas.S" .text -.globl ontop_fcontext +.globl hoost_ontop_fcontext .align 2 -.type ontop_fcontext,@function -ontop_fcontext: +.type hoost_ontop_fcontext,@function +hoost_ontop_fcontext: leal -0x1c(%esp), %esp /* prepare stack */ #if !defined(BOOST_USE_TSX) @@ -50,19 +50,19 @@ ontop_fcontext: /* store ESP (pointing to context-data) in ECX */ movl %esp, %ecx - /* first arg of ontop_fcontext() == fcontext to jump to */ + /* first arg of hoost_ontop_fcontext() == fcontext to jump to */ movl 0x24(%esp), %eax /* pass parent fcontext_t */ movl %ecx, 0x24(%eax) - /* second arg of ontop_fcontext() == data to be transferred */ + /* second arg of hoost_ontop_fcontext() == data to be transferred */ movl 0x28(%esp), %ecx /* pass data */ movl %ecx, 0x28(%eax) - /* third arg of ontop_fcontext() == ontop-function */ + /* third arg of hoost_ontop_fcontext() == ontop-function */ movl 0x2c(%esp), %ecx /* restore ESP (pointing to context-data) from EAX */ @@ -94,7 +94,7 @@ ontop_fcontext: /* jump to context */ jmp *%ecx -.size ontop_fcontext,.-ontop_fcontext +.size hoost_ontop_fcontext,.-hoost_ontop_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_sysv_macho_gas.S index 3a88372b3ab..5333bc041b5 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_i386_sysv_macho_gas.S @@ -25,9 +25,9 @@ ****************************************************************************************/ .text -.globl _ontop_fcontext +.globl _hoost_ontop_fcontext .align 2 -_ontop_fcontext: +_hoost_ontop_fcontext: leal -0x18(%esp), %esp /* prepare stack */ #if !defined(BOOST_USE_TSX) @@ -43,19 +43,19 @@ _ontop_fcontext: /* store ESP (pointing to context-data) in ECX */ movl %esp, %ecx - /* first arg of ontop_fcontext() == fcontext to jump to */ + /* first arg of hoost_ontop_fcontext() == fcontext to jump to */ movl 0x1c(%esp), %eax /* pass parent fcontext_t */ movl %ecx, 0x1c(%eax) - /* second arg of ontop_fcontext() == data to be transferred */ + /* second arg of hoost_ontop_fcontext() == data to be transferred */ movl 0x20(%esp), %ecx /* pass data */ movl %ecx, 0x20(%eax) - /* third arg of ontop_fcontext() == ontop-function */ + /* third arg of hoost_ontop_fcontext() == ontop-function */ movl 0x24(%esp), %ecx /* restore ESP (pointing to context-data) from EAX */ diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_loongarch64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_loongarch64_sysv_elf_gas.S index c6ea0448579..016c11688c1 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_loongarch64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_loongarch64_sysv_elf_gas.S @@ -40,10 +40,10 @@ .file "ontop_loongarch64_sysv_elf_gas.S" .text -.globl ontop_fcontext +.globl hoost_ontop_fcontext .align 2 -.type ontop_fcontext,@function -ontop_fcontext: +.type hoost_ontop_fcontext,@function +hoost_ontop_fcontext: # reserve space on stack addi.d $sp, $sp, -160 @@ -112,7 +112,7 @@ ontop_fcontext: # jump to context jr $a2 -.size ontop_fcontext, .-ontop_fcontext +.size hoost_ontop_fcontext, .-hoost_ontop_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_mips32_o32_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_mips32_o32_elf_gas.S index c69203c655d..31b23f8cf74 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_mips32_o32_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_mips32_o32_elf_gas.S @@ -40,11 +40,11 @@ .file "ontop_mips32_o32_elf_gas.S" .text -.globl ontop_fcontext +.globl hoost_ontop_fcontext .align 2 -.type ontop_fcontext,@function -.ent ontop_fcontext -ontop_fcontext: +.type hoost_ontop_fcontext,@function +.ent hoost_ontop_fcontext +hoost_ontop_fcontext: # reserve space on stack addiu $sp, $sp, -96 @@ -102,19 +102,19 @@ ontop_fcontext: # adjust stack addiu $sp, $sp, 96 - + # return transfer_t from jump sw $a0, ($v0) # fctx of transfer_t sw $a2, 4($v0) # data of transfer_t # pass transfer_t as first arg in context function # A0 == hidden, A1 == fctx, A2 == data - move $a1, $a0 + move $a1, $a0 move $a0, $v0 # jump to context jr $t9 -.end ontop_fcontext -.size ontop_fcontext, .-ontop_fcontext +.end hoost_ontop_fcontext +.size hoost_ontop_fcontext, .-hoost_ontop_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_mips64_n64_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_mips64_n64_elf_gas.S index 68087b0521b..06052164285 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_mips64_n64_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_mips64_n64_elf_gas.S @@ -47,11 +47,11 @@ .file "ontop_mips64_n64_elf_gas.S" .text -.globl ontop_fcontext +.globl hoost_ontop_fcontext .align 3 -.type ontop_fcontext,@function -.ent ontop_fcontext -ontop_fcontext: +.type hoost_ontop_fcontext,@function +.ent hoost_ontop_fcontext +hoost_ontop_fcontext: # reserve space on stack daddiu $sp, $sp, -160 @@ -116,8 +116,8 @@ ontop_fcontext: # jump to context jr $t9 -.end ontop_fcontext -.size ontop_fcontext, .-ontop_fcontext +.end hoost_ontop_fcontext +.size hoost_ontop_fcontext, .-hoost_ontop_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_elf_gas.S index 464d99d59dc..3a105dc4833 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_elf_gas.S @@ -52,12 +52,12 @@ .file "ontop_ppc32_sysv_elf_gas.S" .text -.globl ontop_fcontext +.globl hoost_ontop_fcontext .align 2 -.type ontop_fcontext,@function -ontop_fcontext: - # Linux: ontop_fcontext( hidden transfer_t * R3, R4, R5, R6) - # Other: transfer_t R3:R4 = jump_fcontext( R3, R4, R5) +.type hoost_ontop_fcontext,@function +hoost_ontop_fcontext: + # Linux: hoost_ontop_fcontext( hidden transfer_t * R3, R4, R5, R6) + # Other: transfer_t R3:R4 = hoost_jump_fcontext( R3, R4, R5) mflr %r0 # return address from LR mffs %f0 # FPSCR @@ -186,8 +186,8 @@ ontop_fcontext: # see tail_ppc32_sysv_elf_gas.cpp # Linux: fcontext_ontop_tail( hidden transfer_t * R3, R4, R5, R6, R7) # Other: transfer_t R3:R4 = fcontext_ontop_tail( R3, R4, R5, R6) - b ontop_fcontext_tail -.size ontop_fcontext, .-ontop_fcontext + b hoost_ontop_fcontext_tail +.size hoost_ontop_fcontext, .-hoost_ontop_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S index a74617172c7..8f902ca8947 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S @@ -68,15 +68,15 @@ * ------------------------------------------------- * * | 256 | | * * ------------------------------------------------- * - * | DATA| | * + * | DATA| | * * ------------------------------------------------- * * * *******************************************************/ .text -.globl _ontop_fcontext +.globl _hoost_ontop_fcontext .align 2 -_ontop_fcontext: +_hoost_ontop_fcontext: ; reserve space on stack subi r1, r1, 244 @@ -190,7 +190,7 @@ _ontop_fcontext: ; adjust stack addi r1, r1, 244 - ; Need to pass ontop_fcontext_tail( + ; Need to pass hoost_ontop_fcontext_tail( ; hidden R3, ; R4 = ignore, ; R5 = data, @@ -198,4 +198,4 @@ _ontop_fcontext: ; R7 = fcontext_t ; ) ; All of these registers are correctly set at this point - b _ontop_fcontext_tail + b _hoost_ontop_fcontext_tail diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_xcoff_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_xcoff_gas.S index 9dfb492f7e4..1f7053d5d23 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_xcoff_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc32_sysv_xcoff_gas.S @@ -59,13 +59,13 @@ .toc .csect .text[PR] .align 2 - .globl ontop_fcontext[DS] - .globl .ontop_fcontext - .csect ontop_fcontext[DS] -ontop_fcontext: - .long .ontop_fcontext[PR], TOC[tc0], 0 + .globl hoost_ontop_fcontext[DS] + .globl .hoost_ontop_fcontext + .csect hoost_ontop_fcontext[DS] +hoost_ontop_fcontext: + .long .hoost_ontop_fcontext[PR], TOC[tc0], 0 .csect .text[PR], 5 -.ontop_fcontext: +.hoost_ontop_fcontext: # reserve space on stack subi 1, 1, 256 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_elf_gas.S index cd97f456713..05a97ded374 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_elf_gas.S @@ -67,33 +67,33 @@ *******************************************************/ .file "ontop_ppc64_sysv_elf_gas.S" -.globl ontop_fcontext +.globl hoost_ontop_fcontext #if _CALL_ELF == 2 .text .align 2 -ontop_fcontext: - addis %r2, %r12, .TOC.-ontop_fcontext@ha - addi %r2, %r2, .TOC.-ontop_fcontext@l - .localentry ontop_fcontext, . - ontop_fcontext +hoost_ontop_fcontext: + addis %r2, %r12, .TOC.-hoost_ontop_fcontext@ha + addi %r2, %r2, .TOC.-hoost_ontop_fcontext@l + .localentry hoost_ontop_fcontext, . - hoost_ontop_fcontext #else .section ".opd","aw" .align 3 -ontop_fcontext: +hoost_ontop_fcontext: # ifdef _CALL_LINUX - .quad .L.ontop_fcontext,.TOC.@tocbase,0 - .type ontop_fcontext,@function + .quad .L.hoost_ontop_fcontext,.TOC.@tocbase,0 + .type hoost_ontop_fcontext,@function .text .align 2 -.L.ontop_fcontext: +.L.hoost_ontop_fcontext: # else - .hidden .ontop_fcontext - .globl .ontop_fcontext - .quad .ontop_fcontext,.TOC.@tocbase,0 - .size ontop_fcontext,24 - .type .ontop_fcontext,@function + .hidden .hoost_ontop_fcontext + .globl .hoost_ontop_fcontext + .quad .hoost_ontop_fcontext,.TOC.@tocbase,0 + .size hoost_ontop_fcontext,24 + .type .hoost_ontop_fcontext,@function .text .align 2 -.ontop_fcontext: +.hoost_ontop_fcontext: # endif #endif # reserve space on stack @@ -209,7 +209,7 @@ return_to_ctx: bctr #if _CALL_ELF == 2 - .size ontop_fcontext, .-ontop_fcontext + .size hoost_ontop_fcontext, .-hoost_ontop_fcontext #else use_entry_arg: # compute return-value struct address @@ -233,9 +233,9 @@ use_entry_arg: b return_to_ctx # ifdef _CALL_LINUX - .size .ontop_fcontext, .-.L.ontop_fcontext + .size .hoost_ontop_fcontext, .-.L.hoost_ontop_fcontext # else - .size .ontop_fcontext, .-.ontop_fcontext + .size .hoost_ontop_fcontext, .-.hoost_ontop_fcontext # endif #endif diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_macho_gas.S index a9fe8cf5b81..715bd7005a7 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_macho_gas.S @@ -68,9 +68,9 @@ .text .align 2 -.globl _ontop_fcontext +.globl _hoost_ontop_fcontext -_ontop_fcontext: +_hoost_ontop_fcontext: ; reserve space on stack subi r1, r1, 184 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_xcoff_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_xcoff_gas.S index 546b1b2da8e..3059408006c 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_xcoff_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_ppc64_sysv_xcoff_gas.S @@ -70,13 +70,13 @@ .toc .csect .text[PR], 5 .align 2 - .globl ontop_fcontext[DS] - .globl .ontop_fcontext - .csect ontop_fcontext[DS], 3 -ontop_fcontext: - .llong .ontop_fcontext[PR], TOC[tc0], 0 + .globl hoost_ontop_fcontext[DS] + .globl .hoost_ontop_fcontext + .csect hoost_ontop_fcontext[DS], 3 +hoost_ontop_fcontext: + .llong .hoost_ontop_fcontext[PR], TOC[tc0], 0 .csect .text[PR], 5 -.ontop_fcontext: +.hoost_ontop_fcontext: # reserve space on stack subi 1, 1, 184 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_riscv64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_riscv64_sysv_elf_gas.S index 61ab46bcc6d..3dd06c3f30c 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_riscv64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_riscv64_sysv_elf_gas.S @@ -60,9 +60,9 @@ .file "ontop_riscv64_sysv_elf_gas.S" .text .align 1 -.global ontop_fcontext -.type ontop_fcontext, %function -ontop_fcontext: +.global hoost_ontop_fcontext +.type hoost_ontop_fcontext, %function +hoost_ontop_fcontext: # prepare stack for GP + FPU addi sp, sp, -0xd0 @@ -144,6 +144,6 @@ ontop_fcontext: # jump to ontop-function jr a2 -.size ontop_fcontext,.-ontop_fcontext +.size hoost_ontop_fcontext,.-hoost_ontop_fcontext # Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_s390x_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_s390x_sysv_elf_gas.S index 6a464aa3bf4..d1c1c3967da 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_s390x_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_s390x_sysv_elf_gas.S @@ -45,8 +45,8 @@ .text .align 8 -.global ontop_fcontext -.type ontop_fcontext, @function +.global hoost_ontop_fcontext +.type hoost_ontop_fcontext, @function #define ARG_OFFSET 0 #define GR_OFFSET 16 @@ -65,7 +65,7 @@ struct transfer_t { void * data; }; -transfer_t ontop_fcontext( fcontext_t const to, +transfer_t hoost_ontop_fcontext( fcontext_t const to, void * vp, transfer_t (* fn)( transfer_t) ); @@ -75,12 +75,12 @@ r3 - Target context r4 - Data pointer r5 - Function to be executed -This implementation assumes that ontop_fcontext will never be called with target contexts -created via make_fcontext. +This implementation assumes that hoost_ontop_fcontext will never be called with target contexts +created via hoost_make_fcontext. */ -ontop_fcontext: +hoost_ontop_fcontext: /* Reserve stack space to store the current context. */ aghi %r15,-CONTEXT_SIZE @@ -141,5 +141,5 @@ ontop_fcontext: br %r5 -.size ontop_fcontext,.-ontop_fcontext +.size hoost_ontop_fcontext,.-hoost_ontop_fcontext .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_sparc64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_sparc64_sysv_elf_gas.S index 2fcdb891056..59556cf7ff5 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_sparc64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_sparc64_sysv_elf_gas.S @@ -6,7 +6,7 @@ */ /* - * transfer_t ontop_fcontext(fcontext_t const to, void *vp, transfer_t (*fn)(transfer_t)); + * transfer_t hoost_ontop_fcontext(fcontext_t const to, void *vp, transfer_t (*fn)(transfer_t)); */ #define CC64FSZ 176 #define BIAS 2047 @@ -16,9 +16,9 @@ .file "ontop_sparc64_sysv_elf_gas.S" .text .align 4 -.global ontop_fcontext -.type ontop_fcontext, %function -ontop_fcontext: +.global hoost_ontop_fcontext +.type hoost_ontop_fcontext, %function +hoost_ontop_fcontext: # prepare stack save %sp, -CC64FSZ, %sp @@ -35,7 +35,7 @@ ontop_fcontext: ldx [%sp + BIAS + SP], %fp ldx [%sp + BIAS + I7], %i7 - # ontop_fcontext requires to directly call a function on top of the + # hoost_ontop_fcontext requires to directly call a function on top of the # current frame so restore register window before doing the jump # to the context function which then is in %o2. Do not clobber # %o7 in the jump so that (*fn)() returns to that address. @@ -45,6 +45,6 @@ ontop_fcontext: jmpl %o2, %g0 nop -.size jump_fcontext,.-jump_fcontext +.size hoost_jump_fcontext,.-hoost_jump_fcontext # Mark that we don't need executable stack. .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_clang_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_clang_gas.S index 162c1f4ea03..d420fcfd827 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_clang_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_clang_gas.S @@ -89,10 +89,10 @@ .file "ontop_x86_64_ms_pe_clang_gas.S" .text .p2align 4,,15 -.globl ontop_fcontext -.def ontop_fcontext; .scl 2; .type 32; .endef -.seh_proc ontop_fcontext -ontop_fcontext: +.globl hoost_ontop_fcontext +.def hoost_ontop_fcontext; .scl 2; .type 32; .endef +.seh_proc hoost_ontop_fcontext +hoost_ontop_fcontext: .seh_endprologue leaq -0x118(%rsp), %rsp /* prepare stack */ @@ -208,4 +208,4 @@ ontop_fcontext: .seh_endproc .section .drectve -.ascii " -export:\"ontop_fcontext\"" +.ascii " -export:\"hoost_ontop_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_gas.asm b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_gas.asm index 02e040c9dc8..30fb7e80764 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_gas.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_gas.asm @@ -89,10 +89,10 @@ .file "ontop_x86_64_ms_pe_gas.asm" .text .p2align 4,,15 -.globl ontop_fcontext -.def ontop_fcontext; .scl 2; .type 32; .endef -.seh_proc ontop_fcontext -ontop_fcontext: +.globl hoost_ontop_fcontext +.def hoost_ontop_fcontext; .scl 2; .type 32; .endef +.seh_proc hoost_ontop_fcontext +hoost_ontop_fcontext: .seh_endprologue leaq -0x118(%rsp), %rsp /* prepare stack */ @@ -208,4 +208,4 @@ ontop_fcontext: .seh_endproc .section .drectve -.ascii " -export:\"ontop_fcontext\"" +.ascii " -export:\"hoost_ontop_fcontext\"" diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_masm.asm b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_masm.asm index b57dd158845..0229e0aadf4 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_masm.asm +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_ms_pe_masm.asm @@ -84,7 +84,7 @@ .code -ontop_fcontext PROC BOOST_CONTEXT_EXPORT FRAME +hoost_ontop_fcontext PROC BOOST_CONTEXT_EXPORT FRAME .endprolog ; prepare stack @@ -197,11 +197,11 @@ ENDIF ; transport_t as 1.arg of context-function ; RCX contains address of returned (hidden) transfer_t - mov rcx, rax + mov rcx, rax ; RDX contains address of passed transfer_t mov rdx, rax ; indirect jump to context jmp r9 -ontop_fcontext ENDP +hoost_ontop_fcontext ENDP END diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_sysv_elf_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_sysv_elf_gas.S index c3892b8ba0a..3973553e3ab 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_sysv_elf_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_sysv_elf_gas.S @@ -39,10 +39,10 @@ # endif .file "ontop_x86_64_sysv_elf_gas.S" .text -.globl ontop_fcontext -.type ontop_fcontext,@function +.globl hoost_ontop_fcontext +.type hoost_ontop_fcontext,@function .align 16 -ontop_fcontext: +hoost_ontop_fcontext: _CET_ENDBR /* preserve ontop-function in R8 */ movq %rdx, %r8 @@ -132,7 +132,7 @@ ontop_fcontext: /* indirect jump to context */ jmp *%r8 -.size ontop_fcontext,.-ontop_fcontext +.size hoost_ontop_fcontext,.-hoost_ontop_fcontext /* Mark that we don't need executable stack. */ .section .note.GNU-stack,"",%progbits diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_sysv_macho_gas.S b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_sysv_macho_gas.S index 49755c69b07..ea61cc93ad8 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_sysv_macho_gas.S +++ b/external/boost/boost_1_86_0/libs/context/src/asm/ontop_x86_64_sysv_macho_gas.S @@ -25,9 +25,9 @@ ****************************************************************************************/ .text -.globl _ontop_fcontext +.globl _hoost_ontop_fcontext .align 8 -_ontop_fcontext: +_hoost_ontop_fcontext: /* preserve ontop-function in R8 */ movq %rdx, %r8 diff --git a/external/boost/boost_1_86_0/libs/context/src/asm/tail_ontop_ppc32_sysv.cpp b/external/boost/boost_1_86_0/libs/context/src/asm/tail_ontop_ppc32_sysv.cpp index 348608460f8..72b0c719f90 100644 --- a/external/boost/boost_1_86_0/libs/context/src/asm/tail_ontop_ppc32_sysv.cpp +++ b/external/boost/boost_1_86_0/libs/context/src/asm/tail_ontop_ppc32_sysv.cpp @@ -9,10 +9,10 @@ using boost::context::detail::fcontext_t; using boost::context::detail::transfer_t; -// This C++ tail of ontop_fcontext() allocates transfer_t{ from, vp } +// This C++ tail of hoost_ontop_fcontext() allocates transfer_t{ from, vp } // on the stack. If fn() throws a C++ exception, then the C++ runtime // must remove this tail's stack frame. extern "C" transfer_t -ontop_fcontext_tail( int ignore, void * vp, transfer_t (* fn)(transfer_t), fcontext_t const from) { +hoost_ontop_fcontext_tail( int ignore, void * vp, transfer_t (* fn)(transfer_t), fcontext_t const from) { return fn( transfer_t{ from, vp }); } diff --git a/external/boost/boost_1_86_0/libs/context/test/test_fcontext.cpp b/external/boost/boost_1_86_0/libs/context/test/test_fcontext.cpp index 6bbd9ed6808..960e43bcc24 100644 --- a/external/boost/boost_1_86_0/libs/context/test/test_fcontext.cpp +++ b/external/boost/boost_1_86_0/libs/context/test/test_fcontext.cpp @@ -99,32 +99,32 @@ void * value4 = 0; void f1( ctx::transfer_t t) { ++value1; - ctx::jump_fcontext( t.fctx, t.data); + ctx::hoost_jump_fcontext( t.fctx, t.data); } void f3( ctx::transfer_t t_) { ++value1; - ctx::transfer_t t = ctx::jump_fcontext( t_.fctx, 0); + ctx::transfer_t t = ctx::hoost_jump_fcontext( t_.fctx, 0); ++value1; - ctx::jump_fcontext( t.fctx, t.data); + ctx::hoost_jump_fcontext( t.fctx, t.data); } void f4( ctx::transfer_t t) { int i = 7; - ctx::jump_fcontext( t.fctx, & i); + ctx::hoost_jump_fcontext( t.fctx, & i); } void f5( ctx::transfer_t t) { - ctx::jump_fcontext( t.fctx, t.data); + ctx::hoost_jump_fcontext( t.fctx, t.data); } void f6( ctx::transfer_t t_) { std::pair< int, int > data = * ( std::pair< int, int > * ) t_.data; int res = data.first + data.second; - ctx::transfer_t t = ctx::jump_fcontext( t_.fctx, & res); + ctx::transfer_t t = ctx::hoost_jump_fcontext( t_.fctx, & res); data = * ( std::pair< int, int > *) t.data; res = data.first + data.second; - ctx::jump_fcontext( t.fctx, & res); + ctx::hoost_jump_fcontext( t.fctx, & res); } void f7( ctx::transfer_t t) { @@ -133,28 +133,28 @@ void f7( ctx::transfer_t t) { } catch ( std::runtime_error const& e) { value2 = e.what(); } - ctx::jump_fcontext( t.fctx, t.data); + ctx::hoost_jump_fcontext( t.fctx, t.data); } void f8( ctx::transfer_t t) { double d = * ( double *) t.data; d += 3.45; value3 = d; - ctx::jump_fcontext( t.fctx, 0); + ctx::hoost_jump_fcontext( t.fctx, 0); } void f10( ctx::transfer_t t) { value1 = 3; - ctx::jump_fcontext( t.fctx, 0); + ctx::hoost_jump_fcontext( t.fctx, 0); } void f9( ctx::transfer_t t) { std::cout << "f1: entered" << std::endl; stack_allocator alloc; void * sp = alloc.allocate( stack_allocator::default_stacksize()); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f10); - ctx::jump_fcontext( ctx, 0); - ctx::jump_fcontext( t.fctx, 0); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f10); + ctx::hoost_jump_fcontext( ctx, 0); + ctx::hoost_jump_fcontext( t.fctx, 0); } ctx::transfer_t f11( ctx::transfer_t t_) { @@ -164,9 +164,9 @@ ctx::transfer_t f11( ctx::transfer_t t_) { } void f12( ctx::transfer_t t_) { - ctx::transfer_t t = ctx::jump_fcontext( t_.fctx, t_.data); + ctx::transfer_t t = ctx::hoost_jump_fcontext( t_.fctx, t_.data); value1 = * ( int *) t.data; - ctx::jump_fcontext( t.fctx, t.data); + ctx::hoost_jump_fcontext( t.fctx, t.data); } void f13( ctx::transfer_t t) { @@ -191,7 +191,7 @@ void f13( ctx::transfer_t t) { BOOST_CHECK( n1 == 1); BOOST_CHECK( n2 == 23); } - ctx::jump_fcontext( t.fctx, 0); + ctx::hoost_jump_fcontext( t.fctx, 0); } void f14( ctx::transfer_t t) { @@ -209,13 +209,13 @@ void f14( ctx::transfer_t t) { snprintf( buf, sizeof( buf), fmt, n); BOOST_CHECK_EQUAL( std::string("0x0BCDEF1234567890"), std::string( buf, 18) ); } - ctx::jump_fcontext( t.fctx, 0); + ctx::hoost_jump_fcontext( t.fctx, 0); } void test_setup() { stack_allocator alloc; void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f1); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f1); BOOST_CHECK( ctx); alloc.deallocate( sp, stack_allocator::default_stacksize() ); } @@ -224,11 +224,11 @@ void test_start() { value1 = 0; stack_allocator alloc; void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f1); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f1); BOOST_CHECK( ctx); BOOST_CHECK_EQUAL( 0, value1); - ctx::jump_fcontext( ctx, 0); + ctx::hoost_jump_fcontext( ctx, 0); BOOST_CHECK_EQUAL( 1, value1); alloc.deallocate( sp, stack_allocator::default_stacksize() ); } @@ -237,12 +237,12 @@ void test_jump() { value1 = 0; stack_allocator alloc; void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f3); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f3); BOOST_CHECK( ctx); BOOST_CHECK_EQUAL( 0, value1); - ctx::transfer_t t = ctx::jump_fcontext( ctx, 0); + ctx::transfer_t t = ctx::hoost_jump_fcontext( ctx, 0); BOOST_CHECK_EQUAL( 1, value1); - ctx::jump_fcontext( t.fctx, 0); + ctx::hoost_jump_fcontext( t.fctx, 0); BOOST_CHECK_EQUAL( 2, value1); alloc.deallocate( sp, stack_allocator::default_stacksize() ); } @@ -250,9 +250,9 @@ void test_jump() { void test_result() { stack_allocator alloc; void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f4); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f4); BOOST_CHECK( ctx); - ctx::transfer_t t = ctx::jump_fcontext( ctx, 0); + ctx::transfer_t t = ctx::hoost_jump_fcontext( ctx, 0); int result = * ( int *) t.data; BOOST_CHECK_EQUAL( 7, result); alloc.deallocate( sp, stack_allocator::default_stacksize() ); @@ -262,9 +262,9 @@ void test_arg() { stack_allocator alloc; int i = 7; void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f5); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f5); BOOST_CHECK( ctx); - ctx::transfer_t t = ctx::jump_fcontext( ctx, & i); + ctx::transfer_t t = ctx::hoost_jump_fcontext( ctx, & i); int result = * ( int *) t.data; BOOST_CHECK_EQUAL( i, result); alloc.deallocate( sp, stack_allocator::default_stacksize() ); @@ -274,13 +274,13 @@ void test_transfer() { stack_allocator alloc; std::pair< int, int > data = std::make_pair( 3, 7); void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f6); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f6); BOOST_CHECK( ctx); - ctx::transfer_t t = ctx::jump_fcontext( ctx, & data); + ctx::transfer_t t = ctx::hoost_jump_fcontext( ctx, & data); int result = * ( int *) t.data; BOOST_CHECK_EQUAL( 10, result); data = std::make_pair( 7, 7); - t = ctx::jump_fcontext( t.fctx, & data); + t = ctx::hoost_jump_fcontext( t.fctx, & data); result = * ( int *) t.data; BOOST_CHECK_EQUAL( 14, result); alloc.deallocate( sp, stack_allocator::default_stacksize() ); @@ -290,9 +290,9 @@ void test_exception() { stack_allocator alloc; std::string what("hello world"); void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f7); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f7); BOOST_CHECK( ctx); - ctx::jump_fcontext( ctx, & what); + ctx::hoost_jump_fcontext( ctx, & what); BOOST_CHECK_EQUAL( std::string( what), value2); alloc.deallocate( sp, stack_allocator::default_stacksize() ); } @@ -301,9 +301,9 @@ void test_fp() { stack_allocator alloc; double d = 7.13; void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f8); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f8); BOOST_CHECK( ctx); - ctx::jump_fcontext( ctx, & d); + ctx::hoost_jump_fcontext( ctx, & d); BOOST_CHECK_EQUAL( 10.58, value3); alloc.deallocate( sp, stack_allocator::default_stacksize() ); } @@ -312,8 +312,8 @@ void test_stacked() { value1 = 0; stack_allocator alloc; void * sp = alloc.allocate( stack_allocator::default_stacksize()); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f9); - ctx::jump_fcontext( ctx, 0); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f9); + ctx::hoost_jump_fcontext( ctx, 0); BOOST_CHECK_EQUAL( 3, value1); alloc.deallocate( sp, stack_allocator::default_stacksize() ); } @@ -323,13 +323,13 @@ void test_ontop() { value4 = 0; stack_allocator alloc; void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f12); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f12); BOOST_CHECK( ctx); - ctx::transfer_t t = ctx::jump_fcontext( ctx, 0); + ctx::transfer_t t = ctx::hoost_jump_fcontext( ctx, 0); BOOST_CHECK_EQUAL( 0, value1); BOOST_CHECK( 0 == value4); int i = -3; - t = ctx::ontop_fcontext( t.fctx, & i, f11); + t = ctx::hoost_ontop_fcontext( t.fctx, & i, f11); BOOST_CHECK_EQUAL( -3, value1); BOOST_CHECK_EQUAL( & i, value4); BOOST_CHECK_EQUAL( -3, * ( int *) t.data); @@ -340,17 +340,17 @@ void test_ontop() { void test_sscanf() { stack_allocator alloc; void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f13); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f13); BOOST_CHECK( ctx); - ctx::jump_fcontext( ctx, 0); + ctx::hoost_jump_fcontext( ctx, 0); alloc.deallocate( sp, stack_allocator::default_stacksize() ); } void test_snprintf() { stack_allocator alloc; void * sp = alloc.allocate( stack_allocator::default_stacksize() ); - ctx::fcontext_t ctx = ctx::make_fcontext( sp, stack_allocator::default_stacksize(), f14); - ctx::jump_fcontext( ctx, 0); + ctx::fcontext_t ctx = ctx::hoost_make_fcontext( sp, stack_allocator::default_stacksize(), f14); + ctx::hoost_jump_fcontext( ctx, 0); alloc.deallocate( sp, stack_allocator::default_stacksize() ); }