|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80212 - in trunk/libs/context: build src
From: oliver.kowalke_at_[hidden]
Date: 2012-08-25 15:18:00
Author: olli
Date: 2012-08-25 15:18:00 EDT (Sat, 25 Aug 2012)
New Revision: 80212
URL: http://svn.boost.org/trac/boost/changeset/80212
Log:
context: support for qcc on QNX neutrino
Text files modified:
trunk/libs/context/build/Jamfile.v2 | 47 ++++++++++++++++++++++++++++++++++++++++
trunk/libs/context/src/stack_utils_posix.cpp | 4 +++
2 files changed, 51 insertions(+), 0 deletions(-)
Modified: trunk/libs/context/build/Jamfile.v2
==============================================================================
--- trunk/libs/context/build/Jamfile.v2 (original)
+++ trunk/libs/context/build/Jamfile.v2 2012-08-25 15:18:00 EDT (Sat, 25 Aug 2012)
@@ -40,6 +40,13 @@
}
+rule configure ( properties * )
+{
+ local result ;
+
+ return $(result) ;
+}
+
# ARM
alias asm_context_sources
: asm/fcontext_arm_aapcs_elf_gas.S
@@ -48,6 +55,12 @@
;
alias asm_context_sources
+ : asm/fcontext_arm_aapcs_elf_gas.S
+ : <architecture>arm
+ <toolset>qcc
+ ;
+
+alias asm_context_sources
: [ make asm/fcontext_arm_aapcs_elf_gas.o : asm/fcontext_arm_aapcs_elf_gas.S : @gas ]
: <architecture>arm
;
@@ -60,6 +73,12 @@
;
alias asm_context_sources
+ : asm/fcontext_mips32_o32_elf_gas.S
+ : <architecture>mips1
+ <toolset>qcc
+ ;
+
+alias asm_context_sources
: [ make asm/fcontext_mips32_o32_elf_gas.o : asm/fcontext_mips32_o32_elf_gas.S : @gas ]
: <architecture>mips1
;
@@ -73,6 +92,13 @@
;
alias asm_context_sources
+ : asm/fcontext_ppc32_sysv_elf_gas.S
+ : <address-model>32
+ <architecture>power
+ <toolset>qcc
+ ;
+
+alias asm_context_sources
: [ make asm/fcontext_ppc32_sysv_elf_gas.o : asm/fcontext_ppc32_sysv_elf_gas.S : @gas ]
: <address-model>32
<architecture>power
@@ -87,6 +113,13 @@
;
alias asm_context_sources
+ : asm/fcontext_ppc64_sysv_elf_gas.S
+ : <address-model>64
+ <architecture>power
+ <toolset>qcc
+ ;
+
+alias asm_context_sources
: [ make asm/fcontext_ppc64_sysv_elf_gas.o : asm/fcontext_ppc64_sysv_elf_gas.S : @gas ]
: <address-model>64
<architecture>power
@@ -104,6 +137,13 @@
: asm/fcontext_i386_sysv_elf_gas.S
: <address-model>32
<architecture>x86
+ <toolset>qcc
+ ;
+
+alias asm_context_sources
+ : asm/fcontext_i386_sysv_elf_gas.S
+ : <address-model>32
+ <architecture>x86
<toolset>intel
;
@@ -172,6 +212,13 @@
: asm/fcontext_x86_64_sysv_elf_gas.S
: <address-model>64
<architecture>x86
+ <toolset>qcc
+ ;
+
+alias asm_context_sources
+ : asm/fcontext_x86_64_sysv_elf_gas.S
+ : <address-model>64
+ <architecture>x86
<toolset>intel
;
Modified: trunk/libs/context/src/stack_utils_posix.cpp
==============================================================================
--- trunk/libs/context/src/stack_utils_posix.cpp (original)
+++ trunk/libs/context/src/stack_utils_posix.cpp 2012-08-25 15:18:00 EDT (Sat, 25 Aug 2012)
@@ -19,6 +19,10 @@
#include <boost/assert.hpp>
+#if !defined (SIGSTKSZ)
+# define SIGSTKSZ (8 * 1024)
+#endif
+
namespace {
static rlimit stacksize_limit_()
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk