aboutsummaryrefslogtreecommitdiff
path: root/gold/output.cc
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2009-12-17 00:00:26 +0000
committerDoug Kwan <dougkwan@google.com>2009-12-17 00:00:26 +0000
commitd6344fb5ba8bfe0219f91c52e296707dbcdb07e3 (patch)
tree2a6c65ec60d4c8c400166139e1dc436368182b1f /gold/output.cc
parent21f8908e380ed50e16a153aae25ba9cffd6f28af (diff)
downloadfsf-binutils-gdb-d6344fb5ba8bfe0219f91c52e296707dbcdb07e3.zip
fsf-binutils-gdb-d6344fb5ba8bfe0219f91c52e296707dbcdb07e3.tar.gz
fsf-binutils-gdb-d6344fb5ba8bfe0219f91c52e296707dbcdb07e3.tar.bz2
2009-12-16 Doug Kwan <dougkwan@google.com>
* arm.cc (Arm_relobj::scan_sections_for_stubs): Exclude ICF-eliminated sections. * object.cc (Sized_relobj::do_finalize_local_symbols): Handle relaxed input sections. * output.cc (Output_section::find_relaxed_input_section): Change return type to Output_relaxed_input_section pointer. Adjust code for new type of relaxed_input_section_map_. * output.h (Output_section::find_relaxed_input_section): Change return type to Output_relaxed_input_section pointer. (Output_section::Output_relaxed_input_section_by_input_section_map): New type. (Output_section::relaxed_input_section_map_): Change type to Output_section::Output_relaxed_input_section_by_input_section_map. * symtab.cc (Symbol_table::compute_final_value): Handle relaxed input section.
Diffstat (limited to 'gold/output.cc')
-rw-r--r--gold/output.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/output.cc b/gold/output.cc
index 61c2ba6..440d4f2 100644
--- a/gold/output.cc
+++ b/gold/output.cc
@@ -2224,7 +2224,7 @@ Output_section::find_merge_section(const Relobj* object,
// Find an relaxed input section corresponding to an input section
// in OBJECT with index SHNDX.
-const Output_section_data*
+const Output_relaxed_input_section*
Output_section::find_relaxed_input_section(const Relobj* object,
unsigned int shndx) const
{
@@ -2247,7 +2247,7 @@ Output_section::find_relaxed_input_section(const Relobj* object,
}
Input_section_specifier iss(object, shndx);
- Output_section_data_by_input_section_map::const_iterator p =
+ Output_relaxed_input_section_by_input_section_map::const_iterator p =
this->relaxed_input_section_map_.find(iss);
if (p != this->relaxed_input_section_map_.end())
return p->second;