aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfnn-aarch64.c
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2013-07-28 03:29:41 +0000
committerAndrew Pinski <apinski@cavium.com>2013-07-28 03:29:41 +0000
commit0608afa70a9121aac25d261479015d424a8e2df8 (patch)
treeb9592dab878f4bf70217a62135064d1962cca65a /bfd/elfnn-aarch64.c
parentc9a49335b210cb43c6887d0a7f94c76df0e9e7f5 (diff)
downloadgdb-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/elfnn-aarch64.c')
-rw-r--r--bfd/elfnn-aarch64.c2
1 files changed, 1 insertions, 1 deletions
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;