summaryrefslogtreecommitdiff
path: root/gcc/ada/makeutl.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-09 13:55:34 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-09 13:55:34 +0000
commit4c944adacd9c0dc5872b3f59ae2d80b82443204c (patch)
tree3fd50b8f723e15ae546cc88b013d87e9b0c04719 /gcc/ada/makeutl.ads
parent238b18db17e1512a970596392c8eba0a3ed0aec5 (diff)
downloadgcc-4c944adacd9c0dc5872b3f59ae2d80b82443204c.tar.gz
2010-09-09 Vincent Celier <celier@adacore.com>
* gnat_ugn.texi: Add documentation for new gnatmake switch --create-map-file. * make.adb (Map_File): New global variable to store the value of switch --create-map-file. (Gnatmake): Add switch -M to gnatlink if buider switch --create-map-file has been specified. (Scan_Make_Arg): Recognize switch --create-map-file * makeutl.ads (Create_Map_File_Switch): New constant string for new gnatmake and gprbuild switch --create-map-file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164104 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/makeutl.ads')
-rw-r--r--gcc/ada/makeutl.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/makeutl.ads b/gcc/ada/makeutl.ads
index 13d53b0229c..f1557a5a334 100644
--- a/gcc/ada/makeutl.ads
+++ b/gcc/ada/makeutl.ads
@@ -57,6 +57,9 @@ package Makeutl is
-- Switch to forbid simultaneous compilations for the same object directory
-- when project files are used.
+ Create_Map_File_Switch : constant String := "--create-map-file";
+ -- Switch to create a map file when an executable is linked
+
procedure Add
(Option : String_Access;
To : in out String_List_Access;