diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-05-16 22:29:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-05-16 22:29:04 +0000 |
commit | 01676dcd515a65afcc47d3c6f38a71b6830df3c1 (patch) | |
tree | 5f4262f253855840a1f8671add53dae6f5af2594 /gold/output.h | |
parent | 497897f98cc3ae32477afbbf00fd871372a69ce7 (diff) | |
download | gdb-01676dcd515a65afcc47d3c6f38a71b6830df3c1.zip gdb-01676dcd515a65afcc47d3c6f38a71b6830df3c1.tar.gz gdb-01676dcd515a65afcc47d3c6f38a71b6830df3c1.tar.bz2 |
* output.cc (Output_segment::add_output_section): Remove front
parameter.
* output.h (class Output_segment): Remove
add_initial_output_section and overloaded add_output_section.
Update declaration of remaining add_output_section.
* layout.cc (Layout::create_interp): Call add_output_section
rather than add_initial_output_section.
(Layout::finish_dynamic_section): Likewise.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/gold/output.h b/gold/output.h index 7c24372..b4dbbd1 100644 --- a/gold/output.h +++ b/gold/output.h @@ -2682,13 +2682,7 @@ class Output_segment // Add an Output_section to this segment. void - add_output_section(Output_section* os, elfcpp::Elf_Word seg_flags) - { this->add_output_section(os, seg_flags, false); } - - // Add an Output_section to the start of this segment. - void - add_initial_output_section(Output_section* os, elfcpp::Elf_Word seg_flags) - { this->add_output_section(os, seg_flags, true); } + add_output_section(Output_section* os, elfcpp::Elf_Word seg_flags); // Remove an Output_section from this segment. It is an error if it // is not present. @@ -2787,11 +2781,6 @@ class Output_segment typedef std::list<Output_data*> Output_data_list; - // Add an Output_section to this segment, specifying front or back. - void - add_output_section(Output_section*, elfcpp::Elf_Word seg_flags, - bool front); - // Find the maximum alignment in an Output_data_list. static uint64_t maximum_alignment_list(const Output_data_list*); |