aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r--gold/dynobj.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc
index df2afeb3197..48ff474fb4e 100644
--- a/gold/dynobj.cc
+++ b/gold/dynobj.cc
@@ -83,9 +83,8 @@ Sized_dynobj<size, big_endian>::Sized_dynobj(
template<int size, bool big_endian>
void
-Sized_dynobj<size, big_endian>::setup(Target *target)
+Sized_dynobj<size, big_endian>::setup()
{
- this->set_target(target);
const unsigned int shnum = this->elf_file_.shnum();
this->set_shnum(shnum);
}