diff options
author | obrien <obrien@FreeBSD.org> | 1999-11-01 08:28:22 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-11-01 08:28:22 +0000 |
commit | 4b66dfb9030fa6d9912fcf3dfbe3fa8a4fa0a3fc (patch) | |
tree | 0e33a2f257e9df8e4af5c0ecf0304ce5239fa3bf /contrib/gcc/collect2.c | |
parent | 1d061a7b0a9151a14d61c129611f720697c28e76 (diff) | |
download | FreeBSD-src-4b66dfb9030fa6d9912fcf3dfbe3fa8a4fa0a3fc.zip FreeBSD-src-4b66dfb9030fa6d9912fcf3dfbe3fa8a4fa0a3fc.tar.gz |
Virgin import of the GCC 2.95.2 compilers
Diffstat (limited to 'contrib/gcc/collect2.c')
-rw-r--r-- | contrib/gcc/collect2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/gcc/collect2.c b/contrib/gcc/collect2.c index 121ad39..e5d6452 100644 --- a/contrib/gcc/collect2.c +++ b/contrib/gcc/collect2.c @@ -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); |