aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authoralanm <alanm@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-02 21:57:06 +0000
committeralanm <alanm@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-02 21:57:06 +0000
commit11eeed3b3e58dac814de23fe1b9c9201938fcdfe (patch)
treecfaf7fdc68c0f7654aebe79f6e2af41d65484d76 /gcc/varasm.c
parent9f1b3f6642a34d4cfd6442b4c4c719da59157c61 (diff)
2001-09-02 Alan Matsuoka <alanm@redhat.com>pchmerge-branch
* Changes for RedHat Precompiled headers merge from the PCH project by Geoffrey Keating <geoffk@redhat.com>, Jason Merrill <jason@redhat.com>, Catherine Moore <clm@redhat.com> et. al. Note that this is a merge in progress and things may not work. This is a source dump that has debug code, warts and all. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/pchmerge-branch@45976 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index b2ce9a6de8f..60c06aca001 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -5126,9 +5126,15 @@ init_varasm_once ()
in_named_entry_eq, NULL);
ggc_add_root (const_hash_table, MAX_HASH_TABLE, sizeof const_hash_table[0],
- mark_const_hash_entry);
+ mark_const_hash_entry, "const_hash_table");
ggc_add_root (&const_str_htab, 1, sizeof const_str_htab,
- mark_const_str_htab);
+ mark_const_str_htab, "const_str_htab");
+ add_untyped_address (&data_to_save, &const_labelno, sizeof (const_labelno), "const_labelno");
+ add_untyped_address (&data_to_save, &var_labelno, sizeof (var_labelno), "var_labelno");
+ add_untyped_address (&data_to_save, &in_section, sizeof (in_section), "in_section");
+ add_typed_addresses (&data_to_save, (void **)&in_named_name,
+ string_type_def, 1, "in_named_name");
+
}
/* Select a set of attributes for section NAME based on the properties