+2010-06-26 Douglas B Rupp <rupp@gnat.com>
+
+ * config/alpha/alpha.c (alpha_need_linkage): Adjust
+ splay_tree_new_gcc_call.
+ (alpha_use_linkage): Likewise.
+
2010-06-26 Joseph Myers <joseph@codesourcery.com>
* collect2.c (main): Remove SWITCHES_NEED_SPACES conditional.
struct alpha_funcs *cfaf;
if (!alpha_funcs_tree)
- alpha_funcs_tree = splay_tree_new_ggc ((splay_tree_compare_fn)
- splay_tree_compare_pointers);
+ alpha_funcs_tree = splay_tree_new_ggc
+ (splay_tree_compare_pointers,
+ ggc_alloc_splay_tree_tree_node_tree_node_splay_tree_s,
+ ggc_alloc_splay_tree_tree_node_tree_node_splay_tree_node_s);
+
cfaf = ggc_alloc_alpha_funcs ();
}
}
else
- alpha_links_tree = splay_tree_new_ggc ((splay_tree_compare_fn) strcmp);
+ alpha_links_tree = splay_tree_new_ggc
+ ((splay_tree_compare_fn) strcmp,
+ ggc_alloc_splay_tree_str_alpha_links_splay_tree_s,
+ ggc_alloc_splay_tree_str_alpha_links_splay_tree_node_s);
al = ggc_alloc_alpha_links ();
name = ggc_strdup (name);
al = (struct alpha_links *) lnode->value;
}
else
- cfaf->links = splay_tree_new_ggc ((splay_tree_compare_fn) strcmp);
+ cfaf->links = splay_tree_new_ggc
+ ((splay_tree_compare_fn) strcmp,
+ ggc_alloc_splay_tree_str_alpha_links_splay_tree_s,
+ ggc_alloc_splay_tree_str_alpha_links_splay_tree_node_s);
if (!al)
{