diff options
author | Ian Lance Taylor <iant@google.com> | 2007-09-26 07:01:35 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-09-26 07:01:35 +0000 |
commit | 9025d29d14ae287d2bc338ef1b0bfa043799e15c (patch) | |
tree | 7802e1942ac6c30223c2bd6b077dc3a64e1d9280 /gold/layout.h | |
parent | cc941dee4852b197c1437b2eb28eafb0c9ccaff9 (diff) | |
download | gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.zip gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.tar.gz gdb-9025d29d14ae287d2bc338ef1b0bfa043799e15c.tar.bz2 |
Put size and endianness in parameters.
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/gold/layout.h b/gold/layout.h index 609de50..3e09d62 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -167,7 +167,7 @@ class Layout // Write out data not associated with an input file or the symbol // table. void - write_data(const Symbol_table*, const Target*, Output_file*) const; + write_data(const Symbol_table*, Output_file*) const; // Return an output section named NAME, or NULL if there is none. Output_section* @@ -220,8 +220,7 @@ class Layout // Create the output sections for the symbol table. void - create_symtab_sections(int size, const Input_objects*, Symbol_table*, - off_t*); + create_symtab_sections(const Input_objects*, Symbol_table*, off_t*); // Create the .shstrtab section. Output_section* @@ -229,7 +228,7 @@ class Layout // Create the section header table. Output_section_headers* - create_shdrs(int size, bool big_endian, off_t*); + create_shdrs(off_t*); // Create the dynamic symbol table. void @@ -248,7 +247,7 @@ class Layout // Create the version sections. void - create_version_sections(const Target*, const Versions*, + create_version_sections(const Versions*, unsigned int local_symcount, const std::vector<Symbol*>& dynamic_symbols, const Output_section* dynstr); @@ -374,10 +373,8 @@ class Write_data_task : public Task { public: Write_data_task(const Layout* layout, const Symbol_table* symtab, - const Target* target, Output_file* of, - Task_token* final_blocker) - : layout_(layout), symtab_(symtab), target_(target), of_(of), - final_blocker_(final_blocker) + Output_file* of, Task_token* final_blocker) + : layout_(layout), symtab_(symtab), of_(of), final_blocker_(final_blocker) { } // The standard Task methods. @@ -394,7 +391,6 @@ class Write_data_task : public Task private: const Layout* layout_; const Symbol_table* symtab_; - const Target* target_; Output_file* of_; Task_token* final_blocker_; }; |