diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-10-23 12:19:58 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-10-23 12:19:58 +0200 |
commit | b04d926e216ec1c7bd66080fd891dafc1baed9c5 (patch) | |
tree | e96f199d4c266ea9f9630787a37a515e6d00e222 /gcc/ada/mlib-prj.adb | |
parent | 3ad33e339551b0a57ffad95cd03b964f9494fc60 (diff) | |
download | gcc-b04d926e216ec1c7bd66080fd891dafc1baed9c5.zip gcc-b04d926e216ec1c7bd66080fd891dafc1baed9c5.tar.gz gcc-b04d926e216ec1c7bd66080fd891dafc1baed9c5.tar.bz2 |
[multiple changes]
2014-10-23 Yannick Moy <moy@adacore.com>
* sem_prag.adb (Analyze_Pragma/Pragma_Inline & Pragma_Inline_Always):
Disable analysis in GNATprove mode.
2014-10-23 Arnaud Charlet <charlet@adacore.com>
* mlib-prj.adb: Remove obsolete references to libdecgnat (VMS only).
2014-10-23 Arnaud Charlet <charlet@adacore.com>
* gnat1drv.adb (Adjust_Global_Switches): Ignore style check
pragmas in codepeer mode.
2014-10-23 Gary Dismukes <dismukes@adacore.com>
* gnat_rm.texi: Minor syntax fix for pragma Annotate (missing ',').
2014-10-23 Hristian Kirtchev <kirtchev@adacore.com>
* sem_ch12.adb (Inline_Instance_Body): Alphabetize
local variables and constants. Add constants Save_SM and Save_SMP
to capture SPARK_Mode-related attributes. Compile the inlined
body with the SPARK_Mode of the enclosing context.
2014-10-23 Hristian Kirtchev <kirtchev@adacore.com>
* sinfo.adb (Elaboration_Boolean): Removed.
(Set_Elaboration_Boolean): Removed.
* sinfo.ads Remove attribute Elaboration_Boolean along with its
occurrence in nodes.
(Elaboration_Boolean): Removed along with pragma Inline.
(Set_Elaboration_Boolean): Removed along with pragma Inline.
2014-10-23 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Constant_Redeclaration): Make error message more
explicit on a deferred constant whose object_definition is an
anonymous array.
2014-10-23 Vincent Celier <celier@adacore.com>
* gnatls.adb: Never call Targparm.Get_Target_Parameters.
2014-10-23 Ed Schonberg <schonberg@adacore.com>
* sem_ch6.adb (Analyze_Expression_Function): In a generic
context do not create a body, and only pre-analyze the expression,
which may include incomplete views.
From-SVN: r216584
Diffstat (limited to 'gcc/ada/mlib-prj.adb')
-rw-r--r-- | gcc/ada/mlib-prj.adb | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/ada/mlib-prj.adb b/gcc/ada/mlib-prj.adb index 943361f..236a636 100644 --- a/gcc/ada/mlib-prj.adb +++ b/gcc/ada/mlib-prj.adb @@ -1515,8 +1515,7 @@ package body MLib.Prj is ALIs.Append (new String'(ALI_Path)); -- Find out if for this ALI file, - -- libgnarl or libdecgnat is - -- necessary. + -- libgnarl is necessary. Check_Libs (ALI_Path, True); end if; @@ -2392,8 +2391,8 @@ package body MLib.Prj is -- Ignore -static and -shared, since -shared will be used -- in any case. - -- Ignore -lgnat, -lgnarl and -ldecgnat as they will be added - -- later, because they are also needed for non Stand-Alone shared + -- Ignore -lgnat and -lgnarl as they will be added later, + -- because they are also needed for non Stand-Alone shared -- libraries. -- Also ignore the shared libraries which are : @@ -2403,13 +2402,9 @@ package body MLib.Prj is if Next_Line (1 .. Nlast) /= "-static" and then Next_Line (1 .. Nlast) /= "-shared" and then - Next_Line (1 .. Nlast) /= "-ldecgnat" and then Next_Line (1 .. Nlast) /= "-lgnarl" and then Next_Line (1 .. Nlast) /= "-lgnat" and then Next_Line - (1 .. Natural'Min (Nlast, 10 + Library_Version'Length)) /= - Shared_Lib ("decgnat") and then - Next_Line (1 .. Natural'Min (Nlast, 8 + Library_Version'Length)) /= Shared_Lib ("gnarl") and then Next_Line |