summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/tree.c5
-rwxr-xr-xgcc/varasm.c33
2 files changed, 0 insertions, 38 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index ff5cac2..511f2b0 100755
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -4764,12 +4764,7 @@ dump_tree_statistics ()
print_obstack_statistics ("temp_decl_obstack", &temp_decl_obstack);
print_inline_obstack_statistics ();
}
-
-
-extern char * first_global_object_name;
-extern char * weak_global_object_name;
-
/* Expand (the constant part of) a SET_TYPE CONSTRUCTOR node.
The result is placed in BUFFER (which has length BIT_SIZE),
with one bit in each char ('\000' or '\001').
diff --git a/gcc/varasm.c b/gcc/varasm.c
index b311884..45d36dd 100755
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -78,10 +78,6 @@ Boston, MA 02111-1307, USA. */
extern FILE *asm_out_file;
-/* The (assembler) name of the first globally-visible object output. */
-char *first_global_object_name;
-char *weak_global_object_name;
-
extern struct obstack *current_obstack;
extern struct obstack *saveable_obstack;
extern struct obstack *rtl_obstack;
@@ -876,21 +872,6 @@ assemble_start_function (decl, fnname)
if (TREE_PUBLIC (decl))
{
- if (! first_global_object_name)
- {
- char *p;
- char **name;
-
- if (! DECL_WEAK (decl) && ! DECL_ONE_ONLY (decl))
- name = &first_global_object_name;
- else
- name = &weak_global_object_name;
-
- STRIP_NAME_ENCODING (p, fnname);
- *name = permalloc (strlen (p) + 1);
- strcpy (*name, p);
- }
-
#ifdef ASM_WEAKEN_LABEL
if (DECL_WEAK (decl))
ASM_WEAKEN_LABEL (asm_out_file, fnname);
@@ -1210,20 +1191,6 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
name = XSTR (XEXP (DECL_RTL (decl), 0), 0);
- if (TREE_PUBLIC (decl) && DECL_NAME (decl)
- && ! first_global_object_name
- && ! (DECL_COMMON (decl) && (DECL_INITIAL (decl) == 0
- || DECL_INITIAL (decl) == error_mark_node))
- && ! DECL_WEAK (decl)
- && ! DECL_ONE_ONLY (decl))
- {
- char *p;
-
- STRIP_NAME_ENCODING (p, name);
- first_global_object_name = permalloc (strlen (p) + 1);
- strcpy (first_global_object_name, p);
- }
-
/* Compute the alignment of this data. */
align = DECL_ALIGN (decl);