Don't pass around the target in order to define symbols; get it from

the parameters instead.
This commit is contained in:
Ian Lance Taylor
2008-01-26 01:17:45 +00:00
parent 8f0a6da7a9
commit 9b07f471e3
13 changed files with 98 additions and 109 deletions

View File

@ -249,11 +249,10 @@ namespace gold
{
void
define_standard_symbols(Symbol_table* symtab, const Layout* layout,
Target* target)
define_standard_symbols(Symbol_table* symtab, const Layout* layout)
{
symtab->define_symbols(layout, target, in_section_count, in_section);
symtab->define_symbols(layout, target, in_segment_count, in_segment);
symtab->define_symbols(layout, in_section_count, in_section);
symtab->define_symbols(layout, in_segment_count, in_segment);
}
} // End namespace gold.