diff options
author | Doug Kwan <dougkwan@google.com> | 2010-10-29 20:49:20 +0000 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2010-10-29 20:49:20 +0000 |
commit | d06fb4d1df16ab118624e9abd711005d044a176b (patch) | |
tree | aa6a4a62b185dea10390a299c048c1e13a595b7e /gold/arm.cc | |
parent | ae6a0217c573fdf00a40820a325cb988a03271d2 (diff) | |
download | gdb-d06fb4d1df16ab118624e9abd711005d044a176b.zip gdb-d06fb4d1df16ab118624e9abd711005d044a176b.tar.gz gdb-d06fb4d1df16ab118624e9abd711005d044a176b.tar.bz2 |
2010-10-29 Doug Kwan <dougkwan@google.com>
* arm.cc (Arm_outout_section::fix_exidx_coverage): Adjust call to
Output_section::add_relaxed_input_section.
* output.cc (Output_section::add_relaxed_input_section): Add new
arguments LAYOUT and NAME. Set section order index.
(Output_section::convert_input_sections_in_list_to_relaxed_sections):
Copy section order index.
* output.h (Output_section::add_relaxed_input_section): Add new
arguments LAYOUT and NAME.
Diffstat (limited to 'gold/arm.cc')
-rw-r--r-- | gold/arm.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/arm.cc b/gold/arm.cc index c2dc026..6556828 100644 --- a/gold/arm.cc +++ b/gold/arm.cc @@ -5847,7 +5847,8 @@ Arm_output_section<big_endian>::fix_exidx_coverage( Arm_exidx_merged_section* merged_section = new Arm_exidx_merged_section(*exidx_input_section, *section_offset_map, deleted_bytes); - this->add_relaxed_input_section(merged_section); + const std::string secname = exidx_relobj->section_name(exidx_shndx); + this->add_relaxed_input_section(layout, merged_section, secname); arm_relobj->convert_input_section_to_relaxed_section(exidx_shndx); // All local symbols defined in discarded portions of this input |