summaryrefslogtreecommitdiff
path: root/arch/riscv/lib/elf_riscv32_efi.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/lib/elf_riscv32_efi.lds')
-rw-r--r--arch/riscv/lib/elf_riscv32_efi.lds4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/lib/elf_riscv32_efi.lds b/arch/riscv/lib/elf_riscv32_efi.lds
index 629705fc28..c3e0d20d57 100644
--- a/arch/riscv/lib/elf_riscv32_efi.lds
+++ b/arch/riscv/lib/elf_riscv32_efi.lds
@@ -20,7 +20,7 @@ SECTIONS
*(.gnu.linkonce.t.*)
*(.srodata)
*(.rodata*)
- . = ALIGN(16);
+ . = ALIGN(512);
}
_etext = .;
_text_size = . - _text;
@@ -46,7 +46,7 @@ SECTIONS
*(.bss)
*(.bss.*)
*(COMMON)
- . = ALIGN(16);
+ . = ALIGN(512);
_bss_end = .;
_edata = .;
}