aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-12 00:30:59 +0000
committerIan Lance Taylor <iant@google.com>2007-09-12 00:30:59 +0000
commit31365f57aed5fff65b2e88dd8d4ed7412097ae38 (patch)
tree2fbb14391fedb1c05768377ac58bfd71067496e5 /gold/layout.cc
parent7c9a538008218f669c9e3cdbb83f54084e35de23 (diff)
downloadgdb-31365f57aed5fff65b2e88dd8d4ed7412097ae38.zip
gdb-31365f57aed5fff65b2e88dd8d4ed7412097ae38.tar.gz
gdb-31365f57aed5fff65b2e88dd8d4ed7412097ae38.tar.bz2
Don't try to find version definition index when creating an executable.
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 d533722..3e8a223 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -1056,8 +1056,8 @@ Layout::sized_create_version_sections(
unsigned char* vbuf;
unsigned int vsize;
versions->symbol_section_contents SELECT_SIZE_ENDIAN_NAME(size, big_endian)(
- &this->dynpool_, local_symcount, dynamic_symbols, &vbuf, &vsize
- SELECT_SIZE_ENDIAN(size, big_endian));
+ &this->options_, &this->dynpool_, local_symcount, dynamic_symbols,
+ &vbuf, &vsize SELECT_SIZE_ENDIAN(size, big_endian));
Output_section_data* vdata = new Output_data_const_buffer(vbuf, vsize, 2);