Refactor Sized_relobj_file::do_relocate_sections.
[deliverable/binutils-gdb.git] / gold / arm.cc
index 5983128e03726d0fa82a5be03011ea3b21f373e8..ff472eaa747be090912066682d1a5f2e9585d473 100644 (file)
@@ -6587,9 +6587,9 @@ Arm_relobj<big_endian>::do_relocate_sections(
     Output_file* of,
     typename Sized_relobj_file<32, big_endian>::Views* pviews)
 {
-  // Call parent to relocate sections.
-  Sized_relobj_file<32, big_endian>::do_relocate_sections(symtab, layout,
-                                                         pshdrs, of, pviews);
+  // Relocate the section data.
+  this->relocate_section_range(symtab, layout, pshdrs, of, pviews,
+                              1, this->shnum() - 1);
 
   // We do not generate stubs if doing a relocatable link.
   if (parameters->options().relocatable())
This page took 0.027242 seconds and 4 git commands to generate.