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.h | |
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.h')
-rw-r--r-- | gold/output.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/output.h b/gold/output.h index 5c72c02..dc1653a 100644 --- a/gold/output.h +++ b/gold/output.h @@ -504,7 +504,7 @@ class Output_section : public Output_data // object OBJECT. Return the offset within the output section. template<int size, bool big_endian> off_t - add_input_section(Object* object, unsigned int shndx, const char *name, + add_input_section(Relobj* object, unsigned int shndx, const char *name, const elfcpp::Shdr<size, big_endian>& shdr); // Add generated data ODATA to this output section. @@ -613,7 +613,7 @@ class Output_section : public Output_data : shndx_(0), p2align_(0), data_size_(0) { this->u_.object = NULL; } - Input_section(Object* object, unsigned int shndx, off_t data_size, + Input_section(Relobj* object, unsigned int shndx, off_t data_size, uint64_t addralign) : shndx_(shndx), p2align_(ffsll(static_cast<long long>(addralign))), @@ -665,7 +665,7 @@ class Output_section : public Output_data { // If shndx_ != -1U, this points to the object which holds the // input section. - Object* object; + Relobj* object; // If shndx_ == -1U, this is the data to write out. Output_section_data* posd; } u_; |