From c18c42f3f391149c80faced47e64ad67359194cc Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Fri, 25 Aug 2000 17:14:47 +0000 Subject: [PATCH] * collect2.c (use_import_list): Always return 0 (disable). From-SVN: r35987 --- gcc/ChangeLog | 4 ++++ gcc/collect2.c | 12 +----------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e2cc82e50e0c..396c43c536e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-08-25 David Edelsohn + + * collect2.c (use_import_list): Always return 0 (disable). + 2000-07-07 Manfred Hollstein * i386.md (exception_receiver): Add missing parameter in diff --git a/gcc/collect2.c b/gcc/collect2.c index e5d6452e19cb..c1f9b1c2aec8 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -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; } -- 2.47.2