collect2 AIX "-r" fix

David Edelsohn dje@watson.ibm.com
Tue Oct 12 19:08:00 GMT 1999


	Applied to trunk and release branch.

David

Index: collect2.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/collect2.c,v
retrieving revision 1.81
diff -c -p -r1.81 collect2.c
*** collect2.c	1999/10/06 14:48:38	1.81
--- collect2.c	1999/10/12 21:12:46
*************** main (argc, argv)
*** 1374,1379 ****
--- 1374,1382 ----
        )
      {
  #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);


More information about the Gcc-patches mailing list