diff options
author | Andrew Pinski <apinski@cavium.com> | 2013-07-28 03:29:41 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@cavium.com> | 2013-07-28 03:29:41 +0000 |
commit | 0608afa70a9121aac25d261479015d424a8e2df8 (patch) | |
tree | b9592dab878f4bf70217a62135064d1962cca65a /bfd | |
parent | c9a49335b210cb43c6887d0a7f94c76df0e9e7f5 (diff) | |
download | gdb-0608afa70a9121aac25d261479015d424a8e2df8.zip gdb-0608afa70a9121aac25d261479015d424a8e2df8.tar.gz gdb-0608afa70a9121aac25d261479015d424a8e2df8.tar.bz2 |
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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elfnn-aarch64.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7774474..88b9448 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 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 BFD_RELOC_AARCH64_NONE explicitly. diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index a219310..4e6b1ad 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; |