aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@gmail.com>2015-03-22 07:48:07 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2015-03-25 15:15:40 +0000
commitd9ced15d6ea875aadd3e7395990eb37319454d71 (patch)
treea5c7f0dbcd450b105cb01e684fcf5e801caf652f /ld/emultempl
parent357d1523b2e5b0427fe4133cc90658026a7fac2c (diff)
downloadbinutils-d9ced15d6ea875aadd3e7395990eb37319454d71.zip
binutils-d9ced15d6ea875aadd3e7395990eb37319454d71.tar.gz
binutils-d9ced15d6ea875aadd3e7395990eb37319454d71.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.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/aarch64elf.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/aarch64elf.em b/ld/emultempl/aarch64elf.em
index dcd4ec1..75f04a7 100644
--- a/ld/emultempl/aarch64elf.em
+++ b/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);