summaryrefslogtreecommitdiff
path: root/arch/riscv/lib/elf_riscv64_efi.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/lib/elf_riscv64_efi.lds')
-rw-r--r--arch/riscv/lib/elf_riscv64_efi.lds4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/lib/elf_riscv64_efi.lds b/arch/riscv/lib/elf_riscv64_efi.lds
index aece030c37..ecb9139548 100644
--- a/arch/riscv/lib/elf_riscv64_efi.lds
+++ b/arch/riscv/lib/elf_riscv64_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 = .;
}