]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* collect2.c (use_import_list): Always return 0 (disable).
authorDavid Edelsohn <edelsohn@gnu.org>
Fri, 25 Aug 2000 17:14:47 +0000 (17:14 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 25 Aug 2000 17:14:47 +0000 (13:14 -0400)
From-SVN: r35987

gcc/ChangeLog
gcc/collect2.c

index e2cc82e50e0cb14575697e7f3564b9172204bb66..396c43c536e193b49c18a98066e3e5d54ad60bf5 100644 (file)
@@ -1,3 +1,7 @@
+2000-08-25  David Edelsohn  <edelsohn@gnu.org>
+
+       * collect2.c (use_import_list): Always return 0 (disable).
+
 2000-07-07  Manfred Hollstein  <manfredh@redhat.com>
 
        * i386.md (exception_receiver): Add missing parameter in
index e5d6452e19cb91cb07cedd1981708f9267cb78ef..c1f9b1c2aec86278cf4a9295bdda8be57b06c4e4 100644 (file)
@@ -3045,21 +3045,11 @@ scan_prog_file (prog_name, which_pass)
 
 #ifdef COLLECT_EXPORT_LIST
 
-/* This new function is used to decide whether we should
-   generate import list for an object or to use it directly.  */
+/* Never generate import list (gcc-2.95 branch).  */
 static int
 use_import_list (prog_name)
      char *prog_name;
 {
-  char *p;
-
-  /* If we do not build a shared object then import list should not be used.  */
-  if (! shared_obj) return 0;
-
-  /* Currently we check only for libgcc, but this can be changed in future.  */
-  p = strstr (prog_name, "libgcc.a");
-  if (p != 0 && (strlen (p) == sizeof ("libgcc.a") - 1))
-    return 1;
   return 0;
 }