diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-22 10:33:15 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-22 10:33:15 +0000 |
commit | 5e0f2e2f57e4c0dd7fbef49f53b54d41ea27aa94 (patch) | |
tree | ef9f50f373ee8f9b9a94515d768274f5fc871681 /gcc/ada/mlib.ads | |
parent | 035e891dcef99dd2d2c7da72447b690112a93f76 (diff) | |
download | gcc-5e0f2e2f57e4c0dd7fbef49f53b54d41ea27aa94.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146561 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/mlib.ads')
-rw-r--r-- | gcc/ada/mlib.ads | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/mlib.ads b/gcc/ada/mlib.ads index 684e6e70c37..0aa62d21574 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; |