Refactor Sized_relobj_file::do_relocate_sections.
[deliverable/binutils-gdb.git] / gold / aarch64.cc
index facbbd89f3bc98d7aabbf6c032a604e290f452f5..b207dcdc3da31edd71d62e48d6b6cb818897e3bf 100644 (file)
@@ -2044,9 +2044,9 @@ AArch64_relobj<size, big_endian>::do_relocate_sections(
     const unsigned char* pshdrs, Output_file* of,
     typename Sized_relobj_file<size, big_endian>::Views* pviews)
 {
-  // Call parent to relocate sections.
-  Sized_relobj_file<size, 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.024063 seconds and 4 git commands to generate.