diff options
author | Ian Lance Taylor <iant@google.com> | 2008-01-26 01:17:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-01-26 01:17:45 +0000 |
commit | 9b07f471e3360c9790f7ec83400e500e5f3098ca (patch) | |
tree | f2efce735a3f4314b493706a771566c5441f97be /gold/defstd.cc | |
parent | 8f0a6da7a9e9d4b8258af20cfb5db072ace0ba86 (diff) | |
download | gdb-9b07f471e3360c9790f7ec83400e500e5f3098ca.zip gdb-9b07f471e3360c9790f7ec83400e500e5f3098ca.tar.gz gdb-9b07f471e3360c9790f7ec83400e500e5f3098ca.tar.bz2 |
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.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gold/defstd.cc b/gold/defstd.cc index 568ab4a..944af3e 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. |