2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-30 19:52:17 +00:00
Commit Graph

154 Commits

Author SHA1 Message Date
Oliver Kowalke
f43dd8a9da comments 2015-10-03 09:06:06 +02:00
Oliver Kowalke
8c60232f5f fix typo in PPC32 SYSV/MACH-O 2015-10-02 19:55:56 +02:00
Oliver Kowalke
9adeaed415 correct initialization of main context 2015-10-01 19:24:19 +02:00
Oliver Kowalke
bcc01b2636 use schwarz counter idiom for static variable initialization 2015-10-01 17:46:32 +02:00
Oliver Kowalke
58a4812f92 introduce static inititalization function main() 2015-09-07 18:22:31 +02:00
Oliver Kowalke
bcfbe21cff some modifications for stack_traits 2015-06-19 18:48:38 +02:00
Oliver Kowalke
a76a402c2c fix some typos for MinGW64 2015-06-07 18:06:51 +02:00
Oliver Kowalke
e7c71e7898 some fixes for asm MinGW on Win64 2015-06-07 17:34:25 +02:00
Oliver Kowalke
a455a63447 fix MinGW asm 2015-06-07 09:50:27 +02:00
Oliver Kowalke
624ecaf337 fix assembler for Win32+MinGw 2015-06-06 18:36:37 +02:00
Oliver Kowalke
36a2394909 renaming of asm files 2015-06-05 20:49:29 +02:00
Oliver Kowalke
fcb2283c76 first guess for support of MinGW 2015-06-05 15:00:36 +02:00
Oliver Kowalke
6189ae5ce5 don't evaluate return type in non-debug mode 2015-06-04 07:08:38 +02:00
Oliver Kowalke
70fab42aa4 XCOFF: have jump,make_fcontext show up as importable
On AIX, building with aix-soname=svr4, nm is used to list public symbols
in object files. This fixes the assembly to have make_fcontext and
jump_fcontext show up as public symbols.

The problem actually shows up when linking the coroutine library against
the context library when built with aix-soname=svr4.
However, except for this patch allowing to compile and link even
coroutine, I'm unsure if the assembly is correct from all aspects, like
alignment, TOC, and whether it works.

Thx to Michael Haubenwallner
2015-04-25 15:59:55 +02:00
Inseok Lee
4818164601 Do not export symbols for static build on PE builds.
Symbols incorrectly marked for export on static libraries exported on final executable. This change make symbols not to be marked as export on static builds.
2015-04-25 11:30:24 +09:00
Oliver Kowalke
41123e262d make execution_context conform to N4397 2015-03-26 10:00:42 +01:00
Oliver Kowalke
55b10634f7 return to parent activation record 2015-03-25 22:43:37 +01:00
Oliver Kowalke
6e2a2b4b30 do not use aliases LR and FP for ARM64/gcc 2015-02-25 19:49:30 +01:00
Oliver Kowalke
1e2584e00c some fixes for ARM64 2015-02-24 17:50:14 +01:00
Oliver Kowalke
8481d3ccfc add support for ARM64/ELF 2015-02-23 16:23:11 +01:00
Oliver Kowalke
b717da49d5 fix warning in variant=release 2015-02-19 19:06:14 +01:00
Oliver Kowalke
3b9a002642 replace test for __cplusplus by BOOST_NO_CXX11_ - macros 2015-02-07 16:42:17 +01:00
Oliver Kowalke
fa078765cb me stack-allocators/some fixes 2015-01-23 22:02:20 +01:00
Oliver Kowalke
cb29688ff5 fix destruction fcontext 2015-01-15 18:32:45 +01:00
Oliver Kowalke
d0ab46ad5c use std::call_once + lambda in stack_traits init
- stack_traits uses std::call_once for static initialization
2015-01-15 18:31:45 +01:00
Jürgen Hunold
6ab6140d4a Remove extra "e" in include directive. 2015-01-07 20:23:05 +01:00
Evgeny Shapovalov
efcdb6aae8 jump and make stubs for arm64 (aarch64) for iOS ABI 2014-12-30 17:14:49 +03:00
Oliver Kowalke
c2618274c5 Revert "some fixes"
This reverts commit f77909d0aa.
2014-12-27 09:37:55 +01:00
Oliver Kowalke
f77909d0aa some fixes 2014-12-26 19:42:11 +01:00
Oliver Kowalke
a917cd01b1 fix linker issue 2014-12-18 19:53:35 +01:00
Oliver Kowalke
c3a9e2b3f7 fix invalif path the header stack_context.hpp 2014-12-14 10:17:33 +01:00
Oliver Kowalke
ba36e3d243 add support for execution_context 2014-11-21 20:21:47 +01:00
Oliver Kowalke
cbcd605a24 add support fro ARM64/MACH-O 2014-11-12 19:46:42 +01:00
olk
8bc0c17489 Update jump_arm_aapcs_macho_gas.S
add missing curly brackets
2014-11-04 13:22:02 +01:00
Axel Ismirlian
ada351d11a Fixed assembly support for PowerPC 32-bit XCOFF on AIX and added assembly support for PowerPC 64-bit XCOFF on AIX 2014-08-01 13:33:43 -05:00
Oliver Kowalke
7bf60bd05c enable support for PowerPC 32bit XCOFF on AIX 2014-07-02 19:14:20 +02:00
Oliver Kowalke
cd49a86006 Revert "change labels for i386/mach-o/darwi"
This reverts commit c338020df9.
2014-03-30 19:41:04 +02:00
Oliver Kowalke
c338020df9 change labels for i386/mach-o/darwi 2014-03-30 19:34:56 +02:00
Oliver Kowalke
2b879699f0 fixes for powerpc_64 2014-03-06 19:09:03 +01:00
Oliver Kowalke
ab863e8f3d fix comment in jump_fcontext for Win32 2014-03-01 20:54:27 +01:00
Oliver Kowalke
e33edfd016 move SEH-struct on correct place
- old place of SEH struct resulted in an overwrite of SEH nxt
- shifted to 4 bytes higher address
2014-03-01 20:42:39 +01:00
Oliver Kowalke
0d9529da10 32byte shadow-space is already reserved for _exit() on Win64 2014-03-01 14:29:11 +01:00
Oliver Kowalke
dcf7fa159a align stack correctly for _exit() on Win64 2014-03-01 14:23:29 +01:00
Oliver Kowalke
fe3cd4e710 use SUB isntead of LEA on Win64 2014-03-01 13:12:30 +01:00
Oliver Kowalke
aef6e58eba fix bug: use RSP for reserving shadow-space on Win64 2014-03-01 12:58:11 +01:00
Oliver Kowalke
a271c7fe0d reserve shadow-space for _exit() on Win64 2014-03-01 12:54:34 +01:00
Oliver Kowalke
739fa95cae fix make_fcontext() for X86_64
- on Win64 the caller has to allocate 32 bytes of "shadow space" on the stack
- the shadow space is used to spill RCX, RDX, R8, and R9
- applies to all functions (even with fewer than four parameters)
- SYS V calling convention does not required a shadow-space
2014-03-01 12:05:58 +01:00
Oliver Kowalke
946fccee11 reserve space for first arg of context-function on I386 2014-03-01 11:23:11 +01:00
Oliver Kowalke
340760cec7 reserve space for first arg of context-function on X86_64 2014-03-01 11:21:19 +01:00
Oliver Kowalke
9ed3c19900 change untested - output 2014-02-20 19:41:07 +01:00