aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorNicolas Roche <roche@adacore.com>2011-10-15 09:24:32 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2011-10-15 11:24:32 +0200
commitc225ba500b4c34dde743798bf9ccb5dcef7af832 (patch)
treec3df53b857b92ca0c8d97c45c32851191c12afad /gcc/ada
parent3e452820c3956cbefe3a0547fe51198a882d9e54 (diff)
downloadgcc-c225ba500b4c34dde743798bf9ccb5dcef7af832.zip
gcc-c225ba500b4c34dde743798bf9ccb5dcef7af832.tar.gz
gcc-c225ba500b4c34dde743798bf9ccb5dcef7af832.tar.bz2
lang-specs.h: Ensure -mrtp switch is passed when using either rtp-smp or ravenscar-cert-rtp...
2011-10-15 Nicolas Roche <roche@adacore.com> * gcc-interface/lang-specs.h: Ensure -mrtp switch is passed when using either rtp-smp or ravenscar-cert-rtp runtimes. From-SVN: r180026
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/gcc-interface/lang-specs.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 891ac96..ac9e221 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-15 Nicolas Roche <roche@adacore.com>
+
+ * gcc-interface/lang-specs.h: Ensure -mrtp switch is passed when using
+ either rtp-smp or ravenscar-cert-rtp runtimes.
+
2011-10-15 Bob Duff <duff@adacore.com>
* exp_ch6.adb (Add_Unconstrained_Actuals_To_Build_In_Place_Call):
diff --git a/gcc/ada/gcc-interface/lang-specs.h b/gcc/ada/gcc-interface/lang-specs.h
index ff3de85..9657a6e 100644
--- a/gcc/ada/gcc-interface/lang-specs.h
+++ b/gcc/ada/gcc-interface/lang-specs.h
@@ -40,7 +40,7 @@
%{coverage:-fprofile-arcs -ftest-coverage} "
"%{gnatea:-gnatez} %{g*&m*} "
#if defined(TARGET_VXWORKS_RTP)
- "%{fRTS=rtp:-mrtp} "
+ "%{fRTS=rtp:-mrtp} %{fRTS=rtp-smp:-mrtp} %{fRTS=ravenscar-cert-rtp:-mrtp}"
#endif
"%1 %{!S:%{o*:%w%*-gnatO}} \
%i %{S:%W{o*}%{!o*:-o %b.s}} \