]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* collect2.c (main): Do preliminary link on AIX if rflag.
authorDavid Edelsohn <edelsohn@gnu.org>
Tue, 12 Oct 1999 21:16:52 +0000 (21:16 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 12 Oct 1999 21:16:52 +0000 (17:16 -0400)
From-SVN: r29928

gcc/ChangeLog
gcc/collect2.c

index ad31a5ecec698ba03efc1e19f560de2fd4c0cf9c..18a6d0b1a5bd36786f0712c597348a3340e49aa4 100644 (file)
@@ -1,3 +1,7 @@
+Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
+
+       * collect2.c (main): Do preliminary link on AIX if rflag.
+
 Mon Oct 11 23:35:19 1999  Jeffrey A Law  (law@cygnus.com)
 
        Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
index 121ad39270453536b724918db4cc9b91defbfdbf..e5d6452e19cb91cb07cedd1981708f9267cb78ef 100644 (file)
@@ -1515,7 +1515,7 @@ main (argc, argv)
 
   /* On AIX we do this later.  */
 #ifndef COLLECT_EXPORT_LIST
-  do_tlink (ld1_argv, object_lst); 
+  do_tlink (ld1_argv, object_lst);
 #endif
 
   /* If -r or they will be run via some other method, do not build the
@@ -1527,6 +1527,9 @@ main (argc, argv)
       )
     {
 #ifdef COLLECT_EXPORT_LIST
+      /* Do the link we avoided above if we are exiting.  */
+      do_tlink (ld1_argv, object_lst);
+
       /* But make sure we delete the export file we may have created.  */
       if (export_file != 0 && export_file[0])
        maybe_unlink (export_file);