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.
This commit is contained in:
Andrew Pinski 2013-07-28 03:29:41 +00:00
parent c9a49335b2
commit 0608afa70a
2 changed files with 7 additions and 1 deletions

View 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

View 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;