OSDN Git Service

* lang-specs.h: Move translation of -fRTS= after -gnatez switch.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Nov 2007 18:06:47 +0000 (18:06 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Nov 2007 18:06:47 +0000 (18:06 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129826 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/lang-specs.h

index e3bfeb1..f8eeac0 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-01  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * lang-specs.h: Move translation of -fRTS= after -gnatez switch.
+
 2007-10-23  Eric Botcazou  <ebotcazou@adacore.com>
 
        * misc.c (gnat_handle_option): Replace call to abort with
index f9139e5..b6d9ce1 100644 (file)
  %{!S:%{!c:%e-c or -S required for Ada}}\
  gnat1 %{I*} %{k8:-gnatk8} %{w:-gnatws} %{!Q:-quiet} %{nostdinc*}\
     %{nostdlib*}\
-    -dumpbase %{.adb:%b.adb}%{.ads:%b.ads}%{!.adb:%{!.ads:%b.ada}} "
+    -dumpbase %{.adb:%b.adb}%{.ads:%b.ads}%{!.adb:%{!.ads:%b.ada}}\
+    %{O*} %{W*} %{w} %{p} %{pg:-p} %{a} %{f*} %{d*} %{g*&m*} "
 #if defined(TARGET_VXWORKS_RTP)
    "%{fRTS=rtp:-mrtp} "
 #endif
 #if CONFIG_DUAL_EXCEPTIONS
    "%{fRTS=sjlj:-fsjlj} "
 #endif
-   "%{O*} %{W*} %{w} %{p} %{pg:-p} %{a} %{f*} %{d*} %{g*&m*} %1\
-    %{!S:%{o*:%w%*-gnatO}} \
+   "%1 %{!S:%{o*:%w%*-gnatO}} \
     %i %{S:%W{o*}%{!o*:-o %b.s}} \
     %{gnatc*|gnats*: -o %j} %{-param*} \
     %{!gnatc*:%{!gnats*:%(invoke_as)}}", 0, 0, 0},