summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.c')
-rwxr-xr-xgcc/toplev.c32
1 files changed, 1 insertions, 31 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index a4c9fdc..8e0d511 100755
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -68,9 +68,7 @@ Boston, MA 02111-1307, USA. */
extern int rtx_equal_function_value_matters;
-#if ! defined (OS2)
extern char **environ;
-#endif
extern char *version_string, *language_string;
/* Carry information from ASM_DECLARE_OBJECT_NAME
@@ -659,17 +657,6 @@ typedef struct
}
lang_independent_options;
-/* Add or remove a leading underscore from user symbols. */
-int flag_leading_underscore = -1;
-
-/* The user symbol prefix after having resolved same. */
-char *user_label_prefix;
-
-/* A default for same. */
-#ifndef USER_LABEL_PREFIX
-#define USER_LABEL_PREFIX ""
-#endif
-
/* Table of language-independent -f options.
STRING is the option name. VARIABLE is the address of the variable.
ON_VALUE is the value to store in VARIABLE
@@ -801,9 +788,7 @@ lang_independent_options f_options[] =
{"dump-unnumbered", &flag_dump_unnumbered, 1,
"Suppress output of instruction numbers and line number notes in debugging dumps"},
{"instrument-functions", &flag_instrument_function_entry_exit, 1,
- "Instrument function entry/exit with profiling calls"},
- {"leading-underscore", &flag_leading_underscore, 1,
- "External symbols have a leading underscore" }
+ "Instrument function entry/exit with profiling calls"}
};
#define NUM_ELEM(a) (sizeof (a) / sizeof ((a)[0]))
@@ -4519,21 +4504,6 @@ main (argc, argv)
flag_rerun_cse_after_loop = 1;
}
- user_label_prefix = USER_LABEL_PREFIX;
- if (flag_leading_underscore != -1)
- {
- /* If the default prefix is more complicated than "" or "_",
- issue a warning and ignore this option. */
- if (user_label_prefix[0] == 0 ||
- (user_label_prefix[0] == '_' && user_label_prefix[1] == 0))
- {
- user_label_prefix = flag_leading_underscore ? "_" : "";
- }
- else
- warning ("-f%sleading-underscore not supported on this target machine",
- flag_leading_underscore ? "" : "no-");
- }
-
/* If we are in verbose mode, write out the version and maybe all the
option flags in use. */
if (version_flag)