Link object files with the .exp file, not the .lib file
authorNick Clifton <nickc@redhat.com>
Mon, 21 Jun 1999 03:25:35 +0000 (03:25 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 21 Jun 1999 03:25:35 +0000 (03:25 +0000)
binutils/ChangeLog
binutils/dlltool.c

index 3e689b9798aa7f4432734cfc60cdb3a952e55d15..e2f8b481c9cbe68f06123e86de918f8c0e97f2ad 100644 (file)
@@ -1,3 +1,8 @@
+1999-06-17  Nick Clifton  <nickc@cygnus.com>
+
+       * dlltool.c (mcore_elf_gen_out_file): Link object files with the
+       .exp file, not the .lib file.
+
 Fri Jun 18 20:17:51 1999  Mumit Khan  <khan@xraylith.wisc.edu>
 
        * deflex.l: Accept single-character symbol names.
index 9adf9b2b9980264bcdf7e1fa47a04f0cb0058f41..aa596c9145a79912c51548ffdfc12a4e9b7f8be3 100644 (file)
@@ -3430,7 +3430,7 @@ mcore_elf_gen_out_file (void)
   
   run (program_name, outfile);
 
-  /* Step four. Feed the .exp and .lib files to ld -shared to create the dll.  */
+  /* Step four. Feed the .exp and object files to ld -shared to create the dll.  */
   strcpy (outfile, "-shared ");
 
   if (mcore_elf_linker_flags)
@@ -3439,17 +3439,14 @@ mcore_elf_gen_out_file (void)
   strcat (outfile, " ");
   strcat (outfile, MCORE_ELF_TMP_EXP);
   strcat (outfile, " ");
-  strcat (outfile, MCORE_ELF_TMP_LIB);
+  strcat (outfile, MCORE_ELF_TMP_OBJ);
   strcat (outfile, " -o ");
   strcat (outfile, mcore_elf_out_file);
 
   run (mcore_elf_linker, outfile);
 
   if (dontdeltemps == 0)
-    {
-      unlink (MCORE_ELF_TMP_EXP);
-      unlink (MCORE_ELF_TMP_LIB);
-    }
+    unlink (MCORE_ELF_TMP_EXP);
 
   if (dontdeltemps < 2)
     unlink (MCORE_ELF_TMP_OBJ);
This page took 0.029366 seconds and 4 git commands to generate.