2
0
mirror of https://github.com/boostorg/context.git synced 2026-02-02 08:42:15 +00:00
Commit Graph

918 Commits

Author SHA1 Message Date
Oliver Kowalke
e18448ee3f Merge pull request #161 from sdarwin/githubactions
GitHub Actions config
boost-1.76.0 boost-1.76.0.beta1
2021-03-01 17:57:44 +01:00
sdarwin
f3b3731a71 Add GitHub Actions config [ci skip] 2021-03-01 15:45:17 +00:00
Oliver Kowalke
26d0061a78 Merge pull request #151 from lowsfer/numPages
Use integer math instead of floating-point to compute number of pages
2021-03-01 07:39:51 +01:00
Oliver Kowalke
0416c11f00 Merge pull request #160 from dixyes/combined-add-arms
Add arm and arm64 into combined asm codes
2021-03-01 07:39:05 +01:00
Oliver Kowalke
b5683be429 Merge pull request #159 from neheb/k
fix softfloat support for MIPS64 ASM
2021-03-01 07:38:36 +01:00
Oliver Kowalke
bbc24ee0ee Merge pull request #157 from sdarwin/drone
Drone config
2021-03-01 07:36:26 +01:00
dixyes
1c763c9796 Add arm and arm64 into combined asm codes
Apple silicon M1 uses arm64 architecture, this commit will add arm and
arm64 architecture into combined asm code in order to support newer
apple's machine in combined asm codes.
2021-03-01 09:27:44 +08:00
Rosen Penev
275bf84228 fix softfloat support for MIPS64 ASM
Added define also found in the MIPS32 ASM files.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-12 18:00:04 -08:00
sdarwin
4c10043c5e add drone config [ci skip] 2021-01-21 19:37:06 +00:00
Oliver Kowalke
52d34dc069 Merge pull request #156 from KochetovNicolai/tsan-annotations
TSAN annotations
2020-12-22 08:12:44 +01:00
Nikolai Kochetov
776dcdc9bc Add tsan annotations. 2020-12-17 17:45:49 +03:00
Oliver Kowalke
9efbe60979 Merge pull request #155 from viric/cygwin_fix_crash
In cygwin we want to use UCONTEXT
2020-12-17 08:26:21 +01:00
Lluís Batlle i Rossell
e785657ec4 In cygwin we want to use UCONTEXT
Crash otherwise.

I haven't tried winfibers.
2020-12-16 20:11:19 +01:00
Oliver Kowalke
683e5d724f Merge pull request #154 from eldiener/develop
Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries whose minumum C++ standard compilation level is C++11 on up. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's  compilation level, without having to search the library's documentation to find this out.
2020-12-16 08:14:32 +01:00
Edward Diener
431c9a3fa6 Move cxxstd json field to end. 2020-12-15 21:54:35 -05:00
Edward Diener
f372624c43 Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries whose minumum C++ standard compilation level is C++11 on up. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2020-12-15 16:24:44 -05:00
Oliver Kowalke
b2875be082 update documentation 2020-12-10 15:04:34 +01:00
Yao Yao
3f3d358aae Use exact integer math instead of floating-point to compute number of pages 2020-09-08 16:43:47 +08:00
Oliver Kowalke
0e463a5b66 Merge pull request #150 from ericastor/develop
Add variants for clang targeting Windows without MASM support
2020-08-31 12:01:44 +02:00
Eric Astor
e47fc8b730 Add variants for clang targeting Windows without MASM support
This is not an officially-supported Boost toolset, but is consumed by at least one user.
2020-08-24 11:55:14 -04:00
Oliver Kowalke
9a63971713 Merge pull request #149 from jschueller/bug136
Revert "Fix exports for 32-bit GNU assembler files targeting Windows."
2020-08-20 16:38:12 +02:00
Julien Schueller
d52ce8ca89 Revert "Fix exports for 32-bit GNU assembler files targeting Windows."
This reverts 85783e8, as the wrong linker was used

Closes #136
2020-08-20 12:55:24 +02:00
Oliver Kowalke
ca52f2da49 Merge pull request #145 from hvdijk/x32
Fixes for x32 ABI.
boost-1.74.0.beta1 boost-1.74.0 boost-1.75.0 boost-1.75.0.beta1
2020-06-29 08:30:08 +02:00
Harald van Dijk
5ace4ff3a5 Fixes for x32 ABI.
In the x32 ABI, pointers take up 4 bytes, so a structure containing two
pointers is passed and returned in a single 8-byte register.
2020-06-28 22:11:44 +01:00
Oliver Kowalke
575dc2b7be Merge pull request #140 from eldiener/develop
Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74
2020-06-28 17:05:44 +02:00
Oliver Kowalke
8b66a6ab30 -fsplit-stack flag with GCC 2020-06-26 17:50:15 +02:00
Oliver Kowalke
a5b889c0e0 Merge pull request #144 from EGuesnet/split-stack-flag
-fsplit-stack flag with GCC
2020-06-26 07:12:53 +02:00
EGuesnet
8d1c3fbe19 Update Jamfile.v2 2020-06-25 08:46:02 +02:00
EGuesnet
a30c251fcf split-stack flag for GCC
-fsplit-stack flag  available only on Linux for GCC
2020-06-24 10:46:39 +02:00
EGuesnet
5c0adf0b84 split-stack flag for GCC
-fsplit-stack flag  available only on Linux for GCC
2020-06-24 10:45:44 +02:00
Edward Diener
2dbaa73de2 Setup fpr Embarcadero bcc64 64-bit assembler, the Embarcadero 32-bit assembler, and the Bprland 32-bit assembler. The syntactical difference between the Embarcqadero 32-bit assembler and the Borland 32-bit assembler is simply that the embarcadero toolset uses clang-based command lines, while the bporland toolset uses bcc32 based command lines. Otherwise both use tasm32 to assemble assembly files. 2020-05-13 18:58:37 -04:00
Edward Diener
6f050b7f80 Corrected inline definitions. 2020-04-25 00:55:19 -04:00
Edward Diener
d7f002a0c7 Inline friend function definitions for exported/imported classes must become declarations and inline definitions outside the class for Embarcadero C++ clang-based compilers. This bug has been reported to Embarcadero. 2020-04-24 18:59:06 -04:00
Edward Diener
550c6d9566 Merge branch 'develop' of https://github.com/boostorg/context into develop 2020-04-24 16:29:06 -04:00
Oliver Kowalke
55dd7ebb52 Merge pull request #135 from Romain-Geissler-1A/develop
Fix gcc -Wunused-variable argument when compiling with -DNDEBUG (and …
2020-04-24 10:56:44 +02:00
Romain Geissler
cf91742a65 Fix gcc -Wunused-variable argument when compiling with -DNDEBUG (and without -DBOOST_DISABLE_ASSERT). 2020-04-03 20:08:16 +00:00
Edward Diener
2cb9300bd0 Merge branch 'develop' of https://github.com/boostorg/context into develop 2020-03-21 21:09:26 -04:00
Oliver Kowalke
7c481a8fb6 Merge pull request #133 from Andreas-Krebbel/ibmz_fix
IBM Z: Fix fcontext routines
boost-1.73.0.beta1 boost-1.73.0
2020-02-21 09:59:21 +01:00
Andreas Krebbel
e0ba57928d IBM Z: Fix fcontext routines 2020-02-21 08:47:46 +01:00
Oliver Kowalke
7ada7aa498 Merge pull request #132 from wzssyqa/align-3
mips64/n64: .align 3
2019-12-26 21:43:56 +01:00
Oliver Kowalke
668ef8514e Merge pull request #131 from wzssyqa/osplat
Use OSPLAT MIPS32/MIPS64 to set different ABI
2019-12-26 21:43:26 +01:00
YunQiang Su
e115983fdf mips64/n64: .align 3
The right align for mips64/n64 is 3 instead of 2.
2019-12-18 03:48:43 -08:00
YunQiang Su
19f2351124 Use OSPLAT MIPS32/MIPS64 to set different ABI
We should set abi for 64bit as n64, and 32bit for o32.
This patch depends on the patch of boost/build.
2019-12-18 03:33:18 -08:00
Oliver Kowalke
e77e4d48af Merge pull request #129 from andreas-schwab/develop
Fix non-PIC in RISC-V assembly
2019-12-08 16:54:37 +01:00
Edward Diener
3514c20d1c Merge branch 'develop' of https://github.com/boostorg/context into develop 2019-12-08 10:26:55 -05:00
Andreas Schwab
e86c66714c Fix non-PIC in RISC-V assembly
Since this ends up in a shared library we should use a PLT call.  Also,
the finish label is local, so we can use lla instead of la.
2019-12-06 22:49:43 +01:00
Oliver Kowalke
0e2c67e1e9 Merge pull request #128 from ericastor/develop
Mark 32-bit GNU assembly files targeting Windows as safeseh compatible
2019-11-28 07:37:09 +01:00
Eric Astor
bebf903239 Mark 32-bit GNU assembly files targeting Windows as /safeseh linking compatible.
We set the LSB of the magic symbol @feat.00 to 1.

This is used to communicate from the compiler to the linker, and specifically to express that the object file has opted into "safeseh"; any SEH handlers used in this file must be listed in the .sxdata section.

Since we don't have any SEH handlers in these files, this is trivially satisfied.

Reference: the PE-COFF specification, https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#the-sxdata-section
2019-11-27 22:30:46 -05:00
Oliver Kowalke
1954f1843b Merge pull request #127 from ericastor/develop
Fix exports for 32-bit GNU assembler files targeting Windows.
2019-11-22 22:39:29 +01:00
Eric Astor
85783e8cbb Fix exports for 32-bit GNU assembler files targeting Windows.
The incorrect exports can cause linker issues (at least when using LLVM's lld-link) claiming that these primitives are not available.
2019-11-22 11:08:41 -05:00