Commit 9bc44bff by Hristian Kirtchev Committed by Arnaud Charlet

Make-lang.in: Enable System.Stack_Checking.Operations target pairs on VxWorks 5 only.

2013-02-06  Hristian Kirtchev  <kirtchev@adacore.com>                        
                                                                             
	* gcc-interface/Make-lang.in: Enable System.Stack_Checking.Operations   
	target pairs on VxWorks 5 only.

From-SVN: r195802
parent 42ae3870
2013-02-06 Hristian Kirtchev <kirtchev@adacore.com>
* gcc-interface/Make-lang.in: Enable System.Stack_Checking.Operations
target pairs on VxWorks 5 only.
2013-02-06 Arnaud Charlet <charlet@adacore.com>
* gcc-interface/Make-lang.in: Update dependencies.
......
......@@ -515,8 +515,6 @@ ifeq ($(strip $(filter-out e500% powerpc% wrs vxworks,$(targ))),)
s-osprim.adb<s-osprim-vxworks.adb \
s-parame.ads<s-parame-vxworks.ads \
s-parame.adb<s-parame-vxworks.adb \
s-stchop.ads<s-stchop-limit.ads \
s-stchop.adb<s-stchop-vxworks.adb \
s-taprop.adb<s-taprop-vxworks.adb \
s-tasinf.ads<s-tasinf-vxworks.ads \
s-taspri.ads<s-taspri-vxworks.ads \
......@@ -527,6 +525,19 @@ ifeq ($(strip $(filter-out e500% powerpc% wrs vxworks,$(targ))),)
$(ATOMICS_TARGET_PAIRS) \
$(ATOMICS_BUILTINS_TARGET_PAIRS)
# VxWorks 5 and 6 both use the same target triplet making them
# indistinguishable in the context of this make file. Package
# System.Stack_Checking.Operations is not needed on VxWorks 6 as it leads to
# an undefined symbol when building a dynamic shared library. To alleviate
# this problem and distinguish this case, we use the THREAD_KIND and include
# the package only in kernel mode.
ifeq ($(strip $(filter-out default,$(THREAD_KIND))),)
LIBGNAT_TARGET_PAIRS += \
s-stchop.ads<s-stchop-limit.ads \
s-stchop.adb<s-stchop-vxworks.adb
endif
TOOLS_TARGET_PAIRS=\
mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \
indepsw.adb<indepsw-gnu.adb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment