From: Jason Merrill Date: Sat, 30 Dec 1995 16:21:50 +0000 (+0000) Subject: remove auto_export functionality. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8b90ffd5c09a2273bca8d3415e0bbf6a926d358;p=gcc.git remove auto_export functionality. From-SVN: r10907 --- diff --git a/gcc/collect2.c b/gcc/collect2.c index a74a7f06992..0428940497c 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -255,7 +255,6 @@ static char *temp_filename; /* Base of temp filenames */ static char *c_file; /* .c for constructor/destructor list. */ static char *o_file; /* .o for constructor/destructor list. */ static char *export_file; /* .x for AIX export list. */ -static int auto_export = 1; /* true if exporting everything. */ char *ldout; /* File for ld errors. */ static char *output_file; /* Output file for ld. */ static char *nm_file_name; /* pathname of nm */ @@ -1243,15 +1242,6 @@ main (argc, argv) } break; -#ifdef COLLECT_EXPORT_LIST - case 'b': - if ((!strncmp (arg, "-bE:", 4) - || !strncmp (arg, "-bexport:", 9)) - && strcmp (arg, "-bexport:/usr/lib/libg.exp")) - auto_export = 0; - break; -#endif - case 'l': if (first_file) { @@ -2554,8 +2544,6 @@ scan_prog_file (prog_name, which_pass) break; default: /* not a constructor or destructor */ - if (which_pass == PASS_OBJ && auto_export) - add_to_list (&exports, name); continue; }