summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-10-02 13:13:18 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-10-14 12:09:01 +0200
commit52e5c3567117527886f793a73cc3694b9833b444 (patch)
tree476caff2abb6764e066e677ec663c67cec66724c
parentb680d2e544f959e4982ff3b6d745978beaf90339 (diff)
downloadbarebox-52e5c3567117527886f793a73cc3694b9833b444.tar.gz
X86: lds: remove unnecessary alignments
We do not seem to need all these alignments in the rodata sections, so remove them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/sandbox/board/barebox.lds.S8
-rw-r--r--arch/x86/mach-efi/elf_ia32_efi.lds.S6
-rw-r--r--arch/x86/mach-efi/elf_x86_64_efi.lds.S6
3 files changed, 0 insertions, 20 deletions
diff --git a/arch/sandbox/board/barebox.lds.S b/arch/sandbox/board/barebox.lds.S
index bdce8ec..862376d 100644
--- a/arch/sandbox/board/barebox.lds.S
+++ b/arch/sandbox/board/barebox.lds.S
@@ -4,17 +4,9 @@ SECTIONS
{
. = ALIGN(64);
.barebox_initcalls : { BAREBOX_INITCALLS }
-
- . = ALIGN(64);
.barebox_exitcalls : { BAREBOX_EXITCALLS }
-
- . = ALIGN(64);
.barebox_magicvar : { BAREBOX_MAGICVARS }
-
- . = ALIGN(64);
__barebox_cmd : { BAREBOX_CMDS }
-
- . = ALIGN(64);
__barebox_ratp_cmd : { BAREBOX_RATP_CMDS }
}
diff --git a/arch/x86/mach-efi/elf_ia32_efi.lds.S b/arch/x86/mach-efi/elf_ia32_efi.lds.S
index a5874c4..70d34f4 100644
--- a/arch/x86/mach-efi/elf_ia32_efi.lds.S
+++ b/arch/x86/mach-efi/elf_ia32_efi.lds.S
@@ -54,14 +54,8 @@ SECTIONS
.barebox_initcalls : { BAREBOX_INITCALLS }
.barebox_exitcalls : { BAREBOX_EXITCALLS }
-
- . = ALIGN(64);
.barebox_magicvar : { BAREBOX_MAGICVARS }
-
- . = ALIGN(64);
__barebox_cmd : { BAREBOX_CMDS }
-
- . = ALIGN(64);
__barebox_ratp_cmd : { BAREBOX_RATP_CMDS }
. = ALIGN(4096);
diff --git a/arch/x86/mach-efi/elf_x86_64_efi.lds.S b/arch/x86/mach-efi/elf_x86_64_efi.lds.S
index b00cb98..53de22d 100644
--- a/arch/x86/mach-efi/elf_x86_64_efi.lds.S
+++ b/arch/x86/mach-efi/elf_x86_64_efi.lds.S
@@ -56,14 +56,8 @@ SECTIONS
.barebox_initcalls : { BAREBOX_INITCALLS }
.barebox_exitcalls : { BAREBOX_EXITCALLS }
-
- . = ALIGN(64);
.barebox_magicvar : { BAREBOX_MAGICVARS }
-
- . = ALIGN(64);
__barebox_cmd : { BAREBOX_CMDS }
-
- . = ALIGN(64);
__barebox_ratp_cmd : { BAREBOX_RATP_CMDS }
. = ALIGN(4096);