From: Andrew Pinski Date: Sun, 28 Jul 2013 03:29:41 +0000 (+0000) Subject: 2013-07-27 Andrew Pinski X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0608afa70a9121aac25d261479015d424a8e2df8;p=binutils-gdb.git 2013-07-27 Andrew Pinski * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Use the correct alignment for _bfd_elf_make_dynamic_reloc_section for ILP32. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 777447414f5..88b9448b367 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2013-07-27 Andrew Pinski + + * 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 * elfnn-aarch64.c (elfNN_aarch64_howto_from_bfd_reloc): Handle diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index a219310d6b4..4e6b1adb05a 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -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;