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

956 Commits

Author SHA1 Message Date
Naveenaidu
adecfdc88c S390x: Add Support for s390x arch 2019-09-06 20:08:10 +05:30
Oliver Kowalke
0c754f90c5 execution_context removed 2019-08-29 13:42:03 +02:00
Edward Diener
00e3ad63ce Merge branch 'develop' of https://github.com/boostorg/context into develop 2019-08-19 19:43:14 -04:00
Oliver Kowalke
227fbd01f2 documentation updated boost-1.71.0 2019-08-11 20:04:40 +02:00
Oliver Kowalke
cba547ba5d Merge pull request #112 from boostorg/revert-111-s390x-debug
Revert "S390x Implementation: WIP"
2019-08-03 08:33:36 +02:00
Oliver Kowalke
9c772a7830 Revert "S390x Implementation: WIP" 2019-08-03 08:33:17 +02:00
Oliver Kowalke
26aee14910 Merge pull request #111 from Naveenaidu/s390x-debug
S390x Implementation: WIP
2019-08-03 08:25:57 +02:00
Naveenaidu
cc71b90db6 Jamfile.v2: Fix binary format s390x 2019-08-03 09:27:55 +05:30
Naveenaidu
4d0cd2a6ce jump_s390x_sys_elf: Add jump_context for s390x 2019-07-31 18:51:49 +05:30
Naveenaidu
99a29956f3 s390x_make_context: Fix stack frame 2019-07-31 18:50:38 +05:30
Naveenaidu
81e26a1618 make_context: Add s390x arch 2019-07-22 22:53:43 +05:30
Naveenaidu
e7c5977119 architecture.jam: Add s390x arch 2019-07-22 22:53:43 +05:30
Naveenaidu
2d56804025 Jamfile.v2: Add s390x arch 2019-07-22 22:53:43 +05:30
Edward Diener
6026b81fda Merge branch 'develop' of https://github.com/boostorg/context into develop 2019-07-04 05:42:19 -04:00
Oliver Kowalke
d4608a4e8b Merge pull request #106 from shawnanastasio/ppc64_elfv2_fix
Fix ABI violation on ppc64 ELFv2, fixes #72
boost-1.71.0.beta1
2019-05-04 10:43:00 +02:00
Shawn Anastasio
2354eca9b7 Fix ABI violation on ppc64 ELFv2, fixes #72
The existing ontop_fcontext implementation for ppc64 ELFv2
violates the ABI by not storing the callback entry address
in %r12 before branching. This results in crashes on this
platform.

This commit addresses this and allows the context library
to function as expected on ppc64 platforms using the ELFv2 ABI.
2019-05-03 20:18:11 -05:00
Oliver Kowalke
9b25cc4bda Merge pull request #104 from andreas-schwab/develop
Add support for RISC-V LP64D
2019-04-09 15:09:08 +02:00
Andreas Schwab
c8fb4a42f3 Add support for RISC-V LP64D 2019-04-09 14:15:31 +02:00
Oliver Kowalke
fa50eb9d33 abi::__forced_unwind is only part of gnu's libstc++ boost-1.70.0 2019-03-17 15:49:35 +01:00
Oliver Kowalke
42ac510319 do not define BOOST_CONTEXT_HAS_CXXABI_H for MacOS 2019-03-15 10:38:11 +01:00
Oliver Kowalke
26e6ea0325 Don't crash on pthread_cancel
Justinas V. Daugmaudis: This patch prevents abi::__forced_unwind from being eaten<Paste>
2019-03-14 15:43:53 +01:00
Oliver Kowalke
f62fbbe318 test for CXXABI 2019-03-14 15:00:19 +01:00
Oliver Kowalke
0cd376c71a cleanup of stack if creating ucontext fails
- in context of #99
2019-02-22 09:28:40 +01:00
Oliver Kowalke
a8889e0b59 Merge pull request #98 from tux3/fix_ios_i386_jump
Fix jump_i386_sysv_macho writing garbage to the x87 control word
boost-1.70.0.beta1
2019-02-18 19:31:40 +01:00
Oliver Kowalke
2741e7b771 Update jump_i386_sysv_macho_gas.S 2019-02-18 19:30:00 +01:00
tux3
8e0047654d Fix jump_i386_sysv_macho writing garbage to the x87 control word
It seems the macho code may have been modeled after the elf version,
which writes the returned transport_t through a pointer in eax,
however macho is expected to return its transport_t result in eax:edx.

The macho code mistakenly wrote its "data" return value through eax.
This happens to overwrite the saved fc_x87_cw before it is loaded,
resulting in floating-point exceptions and crashes in unrelated code.
2019-02-18 17:44:54 +01:00
Oliver Kowalke
b35a0dba0e Update README.md 2019-02-02 12:59:32 +01:00
Oliver Kowalke
9f8a21a623 Merge pull request #97 from djarek/fix_dll_warning
Add missing BOST_CONTEXT_DECL in stack_context
2019-02-02 09:33:31 +01:00
Damian Jarek
a7d6914380 Add missing BOST_CONTEXT_DECL in stack_context
Fixes a dll-interface warning in MSVC.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-02-01 22:54:52 +01:00
Edward Diener
973019a239 Merge branch 'develop' of https://github.com/boostorg/context into develop 2018-12-20 09:28:53 -05:00
Oliver Kowalke
ed0e1bd58d Merge pull request #95 from djarek/fix_bad_cast
Fix bad static_cast in resume_with:
2018-12-16 14:46:26 +01:00
Damian Jarek
e547c725a9 Fix bad static_cast in resume_with:
- fix a cast from void* to the wrong dynamic type. The code cast from
  tuple<decay_t<Fn>>* -> void* -> tuple<Fn>, which worked when an rvalue
  was passed to resume_with(), but broke if the function was passed
  by lvalue-reference, because it resulted in a cast from Fn to Fn&.
- remove use of std::tuple - no need to instantiate it for every callable.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2018-12-16 04:07:20 +01:00
Edward Diener
16bd07e1d9 Merge branch 'develop' of https://github.com/boostorg/context into develop 2018-12-03 17:18:02 -05:00
Oliver Kowalke
11a5126526 Merge pull request #94 from the78mole/develop
Fixed a bug for armv7 by adding .syntax unifed to assembly sources
2018-12-02 17:26:17 +01:00
Daniel Glaser
b1ec752540 Fixed a bug for armv7 by adding .syntax unifed to assembly sources 2018-12-02 12:56:51 +01:00
Jiaxun Yang
6edc8184a7 Switch mips1 to mips 2018-12-02 13:07:18 +08:00
Oliver Kowalke
7601e2a975 Merge pull request #92 from FlyGoat/mips-n64
Implement mips64 n64 elf
2018-11-28 10:23:40 +01:00
Jiaxun Yang
e3f744a186 Implement mips64 n64 elf
n64 ABI is very different from o32 ABI
2018-11-28 15:13:56 +08:00
Oliver Kowalke
bcc3ed785b Reproducibility: Set .file section for all *_elf_gas.S
- in context of #91

Add a .file directive to all *_elf_gas.S files to prevent the linker
adding a host build-system path as a FILE symbol to the object file.
Without this, the gnu linker adds a symbol like this:

thanks to Douglas Royds <douglas.royds@taitradio.com>
openembedded/openembedded-core
boost-1.69.0
2018-11-24 19:36:27 +01:00
Edward Diener
259716e7d3 Merge branch 'develop' of https://github.com/boostorg/context into develop 2018-11-12 08:01:36 -05:00
Oliver Kowalke
0ff78f749b Merge pull request #90 from theodelrieu/build/remove_useless_lines
Build/remove useless lines
2018-11-09 14:15:02 +01:00
Théo DELRIEU
d8830fedff remove useless lines in Jamfile.v2
The gcc toolset is responsible of building assembly files.
This patch removes what seems to be old remnants.
2018-11-09 13:43:12 +01:00
Edward Diener
a1862294b7 Merge branch 'develop' of https://github.com/boostorg/context into develop 2018-10-30 15:40:26 -04:00
Oliver Kowalke
d047170a15 Merge pull request #87 from boostorg/pr/clang-win-masm
The clang-win toolset (clang-cl.exe) uses masm from the underlying msvc
2018-10-28 10:26:40 +01:00
Oliver Kowalke
f43ac1ad19 Merge branch 'develop' boost-1.69.0-beta1 2018-10-28 10:22:16 +01:00
Peter Dimov
554ed190ae The clang-win toolset (clang-cl.exe) uses masm from the underlying msvc 2018-10-27 15:56:32 +03:00
Edward Diener
f8a70220ee Merge branch 'develop' of https://github.com/boostorg/context into develop 2018-10-15 00:45:45 -04:00
Oliver Kowalke
ef4fc2159e Merge pull request #85 from kuhlenough/patch-1
Duplicate alias should be missing GCC alias
2018-09-17 06:59:44 +02:00
Brian Kuhl
09584e9f5b Duplicate alias should be missing GCC alias
Turn duplicate sysv-power-32-elf-clang alias into missing sysv-power-32-elf-gcc alias
2018-09-14 01:16:05 -04:00
Oliver Kowalke
16b10296bf Merge pull request #84 from hackaugusto/typo
Just a one letter typo fix
2018-08-27 11:44:56 +02:00