mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-28 21:39:37 +00:00
* output.h (class Output_section_data): Remove inline definition
of set_addralign. * output.cc (Output_section_data::set_addralign): New function.
This commit is contained in:
parent
c2b45e22d5
commit
759b1a245d
@ -1,3 +1,9 @@
|
|||||||
|
2008-04-11 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
* output.h (class Output_section_data): Remove inline definition
|
||||||
|
of set_addralign.
|
||||||
|
* output.cc (Output_section_data::set_addralign): New function.
|
||||||
|
|
||||||
2008-04-11 Cary Coutant <ccoutant@google.com>
|
2008-04-11 Cary Coutant <ccoutant@google.com>
|
||||||
|
|
||||||
Add support for TLS descriptors for i386 and x86_64.
|
Add support for TLS descriptors for i386 and x86_64.
|
||||||
|
@ -535,6 +535,18 @@ Output_section_data::do_out_shndx() const
|
|||||||
return this->output_section_->out_shndx();
|
return this->output_section_->out_shndx();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the alignment, which means we may need to update the alignment
|
||||||
|
// of the output section.
|
||||||
|
|
||||||
|
void
|
||||||
|
Output_section_data::set_addralign(uint64_t addralign)
|
||||||
|
{
|
||||||
|
this->addralign_ = addralign;
|
||||||
|
if (this->output_section_ != NULL
|
||||||
|
&& this->output_section_->addralign() < addralign)
|
||||||
|
this->output_section_->set_addralign(addralign);
|
||||||
|
}
|
||||||
|
|
||||||
// Output_data_strtab methods.
|
// Output_data_strtab methods.
|
||||||
|
|
||||||
// Set the final data size.
|
// Set the final data size.
|
||||||
|
@ -595,8 +595,7 @@ class Output_section_data : public Output_data
|
|||||||
|
|
||||||
// Set the alignment.
|
// Set the alignment.
|
||||||
void
|
void
|
||||||
set_addralign(uint64_t addralign)
|
set_addralign(uint64_t addralign);
|
||||||
{ this->addralign_ = addralign; }
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// The output section for this section.
|
// The output section for this section.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user