From f6ce93d6e999d1a0c450c5e71c5b3468e6217f0a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 6 Nov 2006 22:46:08 +0000 Subject: Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. --- gold/output.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gold/output.h') 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 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& 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(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_; -- cgit v1.1