summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/emultempl
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@gmail.com>2015-03-22 07:48:07 +0000
committerAndrew Hsieh <andrewhsieh@google.com>2015-03-30 21:39:11 -0700
commit53079dc96023ca7367d09acc8fdc5044d4ffdfb6 (patch)
tree88d69c0039f0a2156b587369fa2c680ede215c42 /binutils-2.25/ld/emultempl
parent41d20d6703b40032054016f67fee40b6a03ca4a4 (diff)
downloadtoolchain_binutils-53079dc96023ca7367d09acc8fdc5044d4ffdfb6.zip
toolchain_binutils-53079dc96023ca7367d09acc8fdc5044d4ffdfb6.tar.gz
toolchain_binutils-53079dc96023ca7367d09acc8fdc5044d4ffdfb6.tar.bz2
[AArch64] Remove padding before stub sections.
Lower stub alignment from 8 to 4 bytes thus removing padding between input section content and stub section content. Change-Id: Ic3afff9bc2f013b4b47e181b269b40231385080a
Diffstat (limited to 'binutils-2.25/ld/emultempl')
-rw-r--r--binutils-2.25/ld/emultempl/aarch64elf.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils-2.25/ld/emultempl/aarch64elf.em b/binutils-2.25/ld/emultempl/aarch64elf.em
index 42e8056..8572e5e 100644
--- a/binutils-2.25/ld/emultempl/aarch64elf.em
+++ b/binutils-2.25/ld/emultempl/aarch64elf.em
@@ -170,7 +170,7 @@ elf${ELFSIZE}_aarch64_add_stub_section (const char *stub_sec_name,
if (stub_sec == NULL)
goto err_ret;
- bfd_set_section_alignment (stub_file->the_bfd, stub_sec, 3);
+ bfd_set_section_alignment (stub_file->the_bfd, stub_sec, 2);
output_section = input_section->output_section;
os = lang_output_section_get (output_section);