summaryrefslogtreecommitdiff
path: root/gcc/ada/gnatlink.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-10 13:57:01 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-10 13:57:01 +0000
commit57304b2ba4aabca3f6897b27a036a0fa9fff8e21 (patch)
tree65d8819c164cc64fb71d4de5f7c9131d9a859059 /gcc/ada/gnatlink.adb
parenta6bb679d5b8d2117abb3845585e68d10f7bd38b3 (diff)
downloadgcc-57304b2ba4aabca3f6897b27a036a0fa9fff8e21.tar.gz
* usage.adb: Add line for switch -gnat05 (allow Ada 2005 extensions)
Slight fix to documentation of -gnaty with no parameters * xr_tabls.ads: Add ??? comment for missing overall comment * xsinfo.adb: Make default file name be sinfo.h, since this is what we now use by default. * xsnames.adb: Adjust end of file test to look for five space followed by '#' instead of six spaces. The format of xsnames.adb was modified in the last update. * a-numeri.ads: Add reference to AI-388 for greek letter pi identifier. * clean.adb: Minor reformatting. * gnat1drv.adb, gnatfind.adb, gnatlink.adb, gnatmem.adb, gnatname.adb: Minor reformatting Add 2005 to copyright output when utility is run * csets.adb: Eliminate obsolete comment * debug.adb, g-socket.ads, i-cobol.adb: Minor reformatting throughout Update comments. * sem_eval.ads (Eval_Integer_Literal): Do not inline this, not useful. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94825 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnatlink.adb')
-rw-r--r--gcc/ada/gnatlink.adb28
1 files changed, 14 insertions, 14 deletions
diff --git a/gcc/ada/gnatlink.adb b/gcc/ada/gnatlink.adb
index 19728a86d88..5a4a57fec39 100644
--- a/gcc/ada/gnatlink.adb
+++ b/gcc/ada/gnatlink.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1996-2004 Free Software Foundation, Inc. --
+-- Copyright (C) 1996-2005 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -172,28 +172,28 @@ procedure Gnatlink is
-- Set to True to force generation of a response file
function Base_Name (File_Name : in String) return String;
- -- Return just the file name part without the extension (if present).
+ -- Return just the file name part without the extension (if present)
procedure Delete (Name : in String);
- -- Wrapper to unlink as status is ignored by this application.
+ -- Wrapper to unlink as status is ignored by this application
procedure Error_Msg (Message : in String);
-- Output the error or warning Message
procedure Exit_With_Error (Error : in String);
- -- Output Error and exit program with a fatal condition.
+ -- Output Error and exit program with a fatal condition
procedure Process_Args;
- -- Go through all the arguments and build option tables.
+ -- Go through all the arguments and build option tables
procedure Process_Binder_File (Name : in String);
- -- Reads the binder file and extracts linker arguments.
+ -- Reads the binder file and extracts linker arguments
procedure Write_Header;
- -- Show user the program name, version and copyright.
+ -- Show user the program name, version and copyright
procedure Write_Usage;
- -- Show user the program options.
+ -- Show user the program options
---------------
-- Base_Name --
@@ -514,7 +514,7 @@ procedure Gnatlink is
new String'(Arg);
end if;
- -- Pass to gcc for linking program.
+ -- Pass to gcc for linking program
Gcc_Linker_Options.Increment_Last;
Gcc_Linker_Options.Table
@@ -639,10 +639,10 @@ procedure Gnatlink is
-- For call to Close
GNAT_Static : Boolean := False;
- -- Save state of -static option.
+ -- Save state of -static option
GNAT_Shared : Boolean := False;
- -- Save state of -shared option.
+ -- Save state of -shared option
Xlinker_Was_Previous : Boolean := False;
-- Indicate that "-Xlinker" was the option preceding the current
@@ -704,7 +704,7 @@ procedure Gnatlink is
-- terminator.
function Index (S, Pattern : String) return Natural;
- -- Return the last occurrence of Pattern in S, or 0 if none.
+ -- Return the last occurrence of Pattern in S, or 0 if none
function Is_Option_Present (Opt : in String) return Boolean;
-- Return true if the option Opt is already present in
@@ -1279,7 +1279,7 @@ procedure Gnatlink is
Write_Str ("GNATLINK ");
Write_Str (Gnat_Version_String);
Write_Eol;
- Write_Str ("Copyright 1995-2004 Free Software Foundation, Inc");
+ Write_Str ("Copyright 1995-2005 Free Software Foundation, Inc");
Write_Eol;
end if;
end Write_Header;
@@ -1663,7 +1663,7 @@ begin
end Bind_Step;
end if;
- -- Now, actually link the program.
+ -- Now, actually link the program
-- Skip this step for now on the JVM since the Java interpreter will do
-- the actual link at run time. We might consider packing all class files