aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/link.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-04-17 11:24:31 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-17 11:24:31 +0200
commit93bcda233f11648dbf583a9f0e50af387594d78a (patch)
tree3f29dc65f74494cef564daa36014a76c44be4d21 /gcc/ada/link.c
parentba4a2f78eeb327397844448956bcc7abd5729050 (diff)
downloadgcc-93bcda233f11648dbf583a9f0e50af387594d78a.zip
gcc-93bcda233f11648dbf583a9f0e50af387594d78a.tar.gz
gcc-93bcda233f11648dbf583a9f0e50af387594d78a.tar.bz2
[multiple changes]
2009-04-17 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Add documentation about No_Streams restriction * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream attributes when checking No_Streams restriction. 2009-04-17 Thomas Quinot <quinot@adacore.com> * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity. * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add missing calls to RE_Request_Destroy to deallocate request objects after use. 2009-04-17 Nicolas Setton <setton@adacore.com> * link.c: Fix support for passing a response file under Darwin. 2009-04-17 Emmanuel Briot <briot@adacore.com> * prj.adb (Free): new subprogram. 2009-04-17 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb: additional initialization on incomplete subtypes. * sem_ch6.adb (Process_Formals): if the subprogram is in the private part and one of the formals is an incomplete tagged type, attach to list of private dependends of the type for later validation. * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare primitive operations of a Taft-amendmment type. * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete type. The check is performed on package exit, possibly after the subprogram is frozen. 2009-04-17 Vincent Celier <celier@adacore.com> * prj-nmsc.adb (Get_Directories): Get the object and exec directory before looking for source directories, but make sure that there are nil if they are not explicitely declared and there is explicitely no sources in the project. From-SVN: r146227
Diffstat (limited to 'gcc/ada/link.c')
-rw-r--r--gcc/ada/link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/link.c b/gcc/ada/link.c
index e1d86fc..5dd2c80 100644
--- a/gcc/ada/link.c
+++ b/gcc/ada/link.c
@@ -153,12 +153,12 @@ unsigned char __gnat_using_gnu_linker = 1;
const char *__gnat_object_library_extension = ".a";
#elif defined (__APPLE__)
-const char *__gnat_object_file_option = "";
+const char *__gnat_object_file_option = "-Wl,-filelist,";
const char *__gnat_run_path_option = "-Wl,-rpath,";
char __gnat_shared_libgnat_default = STATIC;
int __gnat_link_max = 262144;
unsigned char __gnat_objlist_file_supported = 1;
-unsigned char __gnat_using_gnu_linker = 1;
+unsigned char __gnat_using_gnu_linker = 0;
const char *__gnat_object_library_extension = ".a";
#elif defined (linux) || defined(__GLIBC__)