aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/mlib.ads
diff options
context:
space:
mode:
authorNicolas Setton <setton@adacore.com>2009-04-22 10:33:15 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-22 12:33:15 +0200
commit3b81743f8901ad7bf8055d461c3cb6d1e7e13e8a (patch)
treeef9f50f373ee8f9b9a94515d768274f5fc871681 /gcc/ada/mlib.ads
parent3a69b5ffe6b707dd6e96bc5c21f5db53db5001fe (diff)
downloadgcc-3b81743f8901ad7bf8055d461c3cb6d1e7e13e8a.zip
gcc-3b81743f8901ad7bf8055d461c3cb6d1e7e13e8a.tar.gz
gcc-3b81743f8901ad7bf8055d461c3cb6d1e7e13e8a.tar.bz2
link.c: Add flag __gnat_separate_run_path_options.
2009-04-22 Nicolas Setton <setton@adacore.com> * link.c: Add flag __gnat_separate_run_path_options. * mlib.adb (Separate_Run_Path_Options): New subprogram. * mlib.ads (Separate_Run_Path_Options): Declare. * gnatcmd.adb (Process_Link): Add support for emitting one "rpath" switch per directory, rather than one "rpath" switch listing all directories. * gnatlink.adb (Process_Binder_File): Likewise. * make.adb (Gnatmake): Likewise. From-SVN: r146561
Diffstat (limited to 'gcc/ada/mlib.ads')
-rw-r--r--gcc/ada/mlib.ads6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/mlib.ads b/gcc/ada/mlib.ads
index 684e6e7..0aa62d2 100644
--- a/gcc/ada/mlib.ads
+++ b/gcc/ada/mlib.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1999-2008, AdaCore --
+-- Copyright (C) 1999-2009, AdaCore --
-- --
-- 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- --
@@ -84,6 +84,10 @@ package MLib is
-- For example, if Lib_Filename is "libtoto.so" and Lib_Version is
-- "libtoto.so.1.2", then "libtoto.so.1" is returned.
+ function Separate_Run_Path_Options return Boolean;
+ -- Return True if separate rpath arguments must be passed to the linker
+ -- for each directory in the rpath.
+
private
Preserve : Attribute := Time_Stamps;