summaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1995-12-30 16:21:50 +0000
committerJason Merrill <merrill@gnu.org>1995-12-30 16:21:50 +0000
commitf8b90ffd5c09a2273bca8d3415e0bbf6a926d358 (patch)
treeb65130cbb0e8df17c07d655089b2cd3364604565 /gcc/collect2.c
parent973d79edc12ab1fde2e5d0ae8938a19f89590f29 (diff)
downloadgcc-f8b90ffd5c09a2273bca8d3415e0bbf6a926d358.tar.gz
remove auto_export functionality.
From-SVN: r10907
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c12
1 files changed, 0 insertions, 12 deletions
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; /* <xxx>.c for constructor/destructor list. */
static char *o_file; /* <xxx>.o for constructor/destructor list. */
static char *export_file; /* <xxx>.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;
}