aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-24 00:15:00 +0000
committerIan Lance Taylor <iant@google.com>2008-01-24 00:15:00 +0000
commit55a934330a2d2f84e4f972454adda275b02f7aef (patch)
tree042b4651da2f08fc6f83926312362580c224ed24 /gold/layout.cc
parent7af3fd65aa8d8eeab9d078b882397e3f152e1762 (diff)
downloadgdb-55a934330a2d2f84e4f972454adda275b02f7aef.zip
gdb-55a934330a2d2f84e4f972454adda275b02f7aef.tar.gz
gdb-55a934330a2d2f84e4f972454adda275b02f7aef.tar.bz2
Originally from Craig Silverstein, with changes: support using a
version script to force symbols to be local.
Diffstat (limited to 'gold/layout.cc')
-rw-r--r--gold/layout.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/layout.cc b/gold/layout.cc
index 9f4c922..38bdcd9 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -1291,8 +1291,8 @@ Layout::create_symtab_sections(const Input_objects* input_objects,
== this->dynsym_section_->data_size() - locsize);
}
- off = symtab->finalize(local_symcount, off, dynoff, dyn_global_index,
- dyncount, &this->sympool_);
+ off = symtab->finalize(off, dynoff, dyn_global_index, dyncount,
+ &this->sympool_, &local_symcount);
if (!parameters->strip_all())
{