aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-05-05 19:16:43 +0000
committerIan Lance Taylor <ian@airs.com>2008-05-05 19:16:43 +0000
commit8825ac63ef01c08e4668e652d461f94e6761a312 (patch)
tree535e0e766b8a0a6473bd103a911c07f6c80fff9b /gold/layout.h
parentb3dc826bc7308d6e556424dd369d57fe8acc8a96 (diff)
downloadfsf-binutils-gdb-8825ac63ef01c08e4668e652d461f94e6761a312.zip
fsf-binutils-gdb-8825ac63ef01c08e4668e652d461f94e6761a312.tar.gz
fsf-binutils-gdb-8825ac63ef01c08e4668e652d461f94e6761a312.tar.bz2
* object.cc (Sized_relobj::include_section_group): Adjust section
indexes read from group data. Build vector to pass to layout_group. * layout.cc (Layout::layout_group): Add flags and shndxes parameters. Remove contents parameter. Change caller. Update explicit instantiations. * layout.h (class Layout): Update layout_group declaration. * output.cc (Output_data_group::Output_data_group): Add flags and input_shndxes parameters. Remove contents parameter. Change caller. (Output_data_group::do_write): Change input_sections_ to input_shndxes_. * output.h (class Output_data_group): Update constructor declaration. Rename input_sections_ to input_shndxes_. * testsuite/many_sections_test.cc: Add template.
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/layout.h b/gold/layout.h
index 8584a0c..2a173d7 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -125,7 +125,8 @@ class Layout
const char* group_section_name,
const char* signature,
const elfcpp::Shdr<size, big_endian>& shdr,
- const elfcpp::Elf_Word* contents);
+ elfcpp::Elf_Word flags,
+ std::vector<unsigned int>* shndxes);
// Like layout, only for exception frame sections. OBJECT is an
// object file. SYMBOLS is the contents of the symbol table