* collect2.c (main): Do prelimnary link on AIX if rflag.
From-SVN: r29927
This commit is contained in:
parent
e780ca1d84
commit
72c06938c8
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
|
||||||
|
|
||||||
|
* collect2.c (main): Do prelimnary link on AIX if rflag.
|
||||||
|
|
||||||
Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
|
Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
|
||||||
|
|
||||||
* config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
|
* config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
|
||||||
|
|
|
@ -1362,7 +1362,7 @@ main (argc, argv)
|
||||||
|
|
||||||
/* On AIX we do this later. */
|
/* On AIX we do this later. */
|
||||||
#ifndef COLLECT_EXPORT_LIST
|
#ifndef COLLECT_EXPORT_LIST
|
||||||
do_tlink (ld1_argv, object_lst);
|
do_tlink (ld1_argv, object_lst);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If -r or they will be run via some other method, do not build the
|
/* If -r or they will be run via some other method, do not build the
|
||||||
|
@ -1374,6 +1374,9 @@ main (argc, argv)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
#ifdef COLLECT_EXPORT_LIST
|
#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. */
|
/* But make sure we delete the export file we may have created. */
|
||||||
if (export_file != 0 && export_file[0])
|
if (export_file != 0 && export_file[0])
|
||||||
maybe_unlink (export_file);
|
maybe_unlink (export_file);
|
||||||
|
|
Loading…
Reference in New Issue