summaryrefslogtreecommitdiff
path: root/gcc/ada/lib.ads
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2009-05-24 09:14:53 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2009-05-24 09:14:53 +0000
commit6e00e546439393178102e01e66431fa32d2205bd (patch)
tree621c8106644bb4e444801051be4bff97a4d67d53 /gcc/ada/lib.ads
parenta70d6342473292caef639fdae67ae5b78b87b006 (diff)
downloadgcc-6e00e546439393178102e01e66431fa32d2205bd.tar.gz
switch.adb (Is_Internal_GCC_Switch, [...]): Bodies of ...
* switch.adb (Is_Internal_GCC_Switch, Switch_Last): Bodies of ... * switch.ads (Is_Internal_GCC_Switch, Switch_Last): New functions. Add -auxbase variants to the list of recognized internal switches. * back_end.adb (Scan_Back_End_Switches): Use the new functions and adjust comments. * lib.ads: Make comment on internal GCC switches more general. * gcc-interface/lang-specs.h (specs for Ada): Pass -auxbase variants as for C. From-SVN: r147830
Diffstat (limited to 'gcc/ada/lib.ads')
-rw-r--r--gcc/ada/lib.ads6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/lib.ads b/gcc/ada/lib.ads
index 50be722e1f6..145d16dff08 100644
--- a/gcc/ada/lib.ads
+++ b/gcc/ada/lib.ads
@@ -734,9 +734,9 @@ private
Table_Name => "Linker_Option_Lines");
-- The following table records the compilation switches used to compile
- -- the main unit. The table includes only switches and excludes -quiet,
- -- -dumpbase, and -o switches, since the latter are typically artifacts
- -- of the gcc/gnat1 interface.
+ -- the main unit. The table includes only switches. It excludes -o
+ -- switches as well as artifacts of the gcc/gnat1 interface such as
+ -- -quiet, -dumpbase, or -auxbase.
-- This table is set as part of the compiler argument scanning in
-- Back_End. It can also be reset in -gnatc mode from the data in an