diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-03-19 05:51:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-03-19 05:51:49 +0000 |
commit | 0d371ad35608efa28b1ea2c01a457de59b59e3e1 (patch) | |
tree | c3cbe0267d172c160c125b894caa1f7164cb42c9 /gold/ChangeLog | |
parent | 13e4f8ad17b4c8a6a6bcfe6aebe8647068985ce0 (diff) | |
download | gdb-0d371ad35608efa28b1ea2c01a457de59b59e3e1.zip gdb-0d371ad35608efa28b1ea2c01a457de59b59e3e1.tar.gz gdb-0d371ad35608efa28b1ea2c01a457de59b59e3e1.tar.bz2 |
* script-sections.h: Include <list>.
(class Script_sections): Change Sections_elements from std::vector
to std::list. Typedef public Elements_iterator. Add
orphan_section_placement_, data_segment_align_start_, and
saw_data_segment_align_ fields. Remove data_segment_align_index_
field.
* script-sections.cc (class Orphan_section_placement): New class.
(class Sections_element): Add virtual functions is_relro and
orphan_section_init. Remove virtual function place_orphan_here.
(class Output_section_definition): Add is_relro and
orphan_section_init. Remove place_orphan_here.
(class Orphan_output_section): Likewise.
(Script_sections::Script_sections): Update for field changes.
(Script_sections::data_segment_align): Set saw_data_segment_align_
and data_segment_align_start_, not data_segment_align_index.
(Script_sections::data_segment_relro_end): Check
saw_data_segment_align_. Use data_segment_align_start_ rather
than data_segment_align_index_.
(Script_sections::place_orphan): Rewrite to use
Orphan_section_placement.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 5e19718..9dd8787 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,26 @@ +2009-03-18 Ian Lance Taylor <iant@google.com> + + * script-sections.h: Include <list>. + (class Script_sections): Change Sections_elements from std::vector + to std::list. Typedef public Elements_iterator. Add + orphan_section_placement_, data_segment_align_start_, and + saw_data_segment_align_ fields. Remove data_segment_align_index_ + field. + * script-sections.cc (class Orphan_section_placement): New class. + (class Sections_element): Add virtual functions is_relro and + orphan_section_init. Remove virtual function place_orphan_here. + (class Output_section_definition): Add is_relro and + orphan_section_init. Remove place_orphan_here. + (class Orphan_output_section): Likewise. + (Script_sections::Script_sections): Update for field changes. + (Script_sections::data_segment_align): Set saw_data_segment_align_ + and data_segment_align_start_, not data_segment_align_index. + (Script_sections::data_segment_relro_end): Check + saw_data_segment_align_. Use data_segment_align_start_ rather + than data_segment_align_index_. + (Script_sections::place_orphan): Rewrite to use + Orphan_section_placement. + 2009-03-17 Ian Lance Taylor <iant@google.com> * archive.cc (Archive::add_symbols): Check for a version attached |