diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-12 21:13:13 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-12 21:13:13 +0000 |
commit | 09d1782e9e06828ca6419724dfeb4403ffef3204 (patch) | |
tree | 0d0f901ff72360d15907e508b1db7c91f9f58acb /gcc/collect2.c | |
parent | eb386697f06553606918990582a568244e57fc4f (diff) | |
download | gcc-09d1782e9e06828ca6419724dfeb4403ffef3204.tar.gz |
* collect2.c (main): Do prelimnary link on AIX if rflag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29927 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index de2976e59b5..6b361440619 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1362,7 +1362,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 @@ -1374,6 +1374,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); |