diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-02 13:13:18 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-14 12:09:01 +0200 |
commit | 52e5c3567117527886f793a73cc3694b9833b444 (patch) | |
tree | 476caff2abb6764e066e677ec663c67cec66724c | |
parent | b680d2e544f959e4982ff3b6d745978beaf90339 (diff) | |
download | barebox-52e5c3567117527886f793a73cc3694b9833b444.tar.gz barebox-52e5c3567117527886f793a73cc3694b9833b444.tar.xz |
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.S | 8 | ||||
-rw-r--r-- | arch/x86/mach-efi/elf_ia32_efi.lds.S | 6 | ||||
-rw-r--r-- | arch/x86/mach-efi/elf_x86_64_efi.lds.S | 6 |
3 files changed, 0 insertions, 20 deletions
diff --git a/arch/sandbox/board/barebox.lds.S b/arch/sandbox/board/barebox.lds.S index bdce8ecbd6..862376dd0e 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 a5874c448b..70d34f4871 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 b00cb98c97..53de22d75c 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); |