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/layout.cc | |
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/layout.cc')
-rw-r--r-- | gold/layout.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/layout.cc b/gold/layout.cc index 85648d3..07e9056 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -2479,7 +2479,7 @@ Layout::create_interp(const Target* target) { Output_segment* oseg = this->make_output_segment(elfcpp::PT_INTERP, elfcpp::PF_R); - oseg->add_initial_output_section(osec, elfcpp::PF_R); + oseg->add_output_section(osec, elfcpp::PF_R); } } @@ -2494,8 +2494,8 @@ Layout::finish_dynamic_section(const Input_objects* input_objects, Output_segment* oseg = this->make_output_segment(elfcpp::PT_DYNAMIC, (elfcpp::PF_R | elfcpp::PF_W)); - oseg->add_initial_output_section(this->dynamic_section_, - elfcpp::PF_R | elfcpp::PF_W); + oseg->add_output_section(this->dynamic_section_, + elfcpp::PF_R | elfcpp::PF_W); } Output_data_dynamic* const odyn = this->dynamic_data_; |