summaryrefslogtreecommitdiff
path: root/gold/defstd.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-26 01:17:45 +0000
committerIan Lance Taylor <iant@google.com>2008-01-26 01:17:45 +0000
commit9b07f471e3360c9790f7ec83400e500e5f3098ca (patch)
treef2efce735a3f4314b493706a771566c5441f97be /gold/defstd.cc
parent8f0a6da7a9e9d4b8258af20cfb5db072ace0ba86 (diff)
downloadbinutils-gdb-9b07f471e3360c9790f7ec83400e500e5f3098ca.tar.gz
Don't pass around the target in order to define symbols; get it from
the parameters instead.
Diffstat (limited to 'gold/defstd.cc')
-rw-r--r--gold/defstd.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/gold/defstd.cc b/gold/defstd.cc
index 568ab4a7c09..944af3e0869 100644
--- a/gold/defstd.cc
+++ b/gold/defstd.cc
@@ -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.