2013-07-27 Andrew Pinski <apinski@cavium.com>
authorAndrew Pinski <apinski@cavium.com>
Sun, 28 Jul 2013 03:29:41 +0000 (03:29 +0000)
committerAndrew Pinski <apinski@cavium.com>
Sun, 28 Jul 2013 03:29:41 +0000 (03:29 +0000)
* elfnn-aarch64.c (elfNN_aarch64_check_relocs):
Use the correct alignment for
_bfd_elf_make_dynamic_reloc_section for ILP32.

bfd/ChangeLog
bfd/elfnn-aarch64.c

index 777447414f5b868b89a8353677205d7ed9255fb7..88b9448b367e068e32f47b19c7a50ee49e6909ec 100644 (file)
@@ -1,3 +1,9 @@
+2013-07-27  Andrew Pinski  <apinski@cavium.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_check_relocs):
+       Use the correct alignment for
+       _bfd_elf_make_dynamic_reloc_section for ILP32.
+
 2013-07-27  Andrew Pinski  <apinski@cavium.com>
 
        * elfnn-aarch64.c (elfNN_aarch64_howto_from_bfd_reloc): Handle
index a219310d6b4b027f156079c4fd39af0c8b586dd6..4e6b1adb05a7708da35a64d801b18052d40ee5fa 100644 (file)
@@ -4810,7 +4810,7 @@ elfNN_aarch64_check_relocs (bfd *abfd, struct bfd_link_info *info,
                  htab->root.dynobj = abfd;
 
                sreloc = _bfd_elf_make_dynamic_reloc_section
-                 (sec, htab->root.dynobj, 3, abfd, /*rela? */ TRUE);
+                 (sec, htab->root.dynobj, LOG_FILE_ALIGN, abfd, /*rela? */ TRUE);
 
                if (sreloc == NULL)
                  return FALSE;