From d9ced15d6ea875aadd3e7395990eb37319454d71 Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Sun, 22 Mar 2015 07:48:07 +0000 Subject: [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. --- ld/emultempl/aarch64elf.em | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/emultempl') 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); -- cgit v1.1