diff options
author | Ian Lance Taylor <iant@google.com> | 2006-11-06 22:46:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-11-06 22:46:08 +0000 |
commit | f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a (patch) | |
tree | 945ecd482d35d1c2a590645ef3d5f41fb83dcc4b /gold/output.cc | |
parent | 8d9455b422d98d97f090923445aa2680e6882f20 (diff) | |
download | gdb-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.zip gdb-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.tar.gz gdb-f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a.tar.bz2 |
Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes.
Diffstat (limited to 'gold/output.cc')
-rw-r--r-- | gold/output.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gold/output.cc b/gold/output.cc index 220a4f6..40d5866 100644 --- a/gold/output.cc +++ b/gold/output.cc @@ -399,7 +399,7 @@ Output_section_got<size, big_endian>::Got_entry::write(unsigned char* pov) } Valtype* povv = reinterpret_cast<Valtype*>(pov); - Swap<size, big_endian>::writeval(povv, val); + elfcpp::Swap<size, big_endian>::writeval(povv, val); } // Output_section_data methods. @@ -509,7 +509,7 @@ Output_section::~Output_section() template<int size, bool big_endian> off_t -Output_section::add_input_section(Object* object, unsigned int shndx, +Output_section::add_input_section(Relobj* object, unsigned int shndx, const char* secname, const elfcpp::Shdr<size, big_endian>& shdr) { @@ -1091,7 +1091,7 @@ Output_file::close() template off_t Output_section::add_input_section<32, false>( - Object* object, + Relobj* object, unsigned int shndx, const char* secname, const elfcpp::Shdr<32, false>& shdr); @@ -1099,7 +1099,7 @@ Output_section::add_input_section<32, false>( template off_t Output_section::add_input_section<32, true>( - Object* object, + Relobj* object, unsigned int shndx, const char* secname, const elfcpp::Shdr<32, true>& shdr); @@ -1107,7 +1107,7 @@ Output_section::add_input_section<32, true>( template off_t Output_section::add_input_section<64, false>( - Object* object, + Relobj* object, unsigned int shndx, const char* secname, const elfcpp::Shdr<64, false>& shdr); @@ -1115,7 +1115,7 @@ Output_section::add_input_section<64, false>( template off_t Output_section::add_input_section<64, true>( - Object* object, + Relobj* object, unsigned int shndx, const char* secname, const elfcpp::Shdr<64, true>& shdr); |