[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/6] mkimage: Fix section_align for Loongson
From: |
Vladimir Serbinenko |
Subject: |
[PATCH 5/6] mkimage: Fix section_align for Loongson |
Date: |
Mon, 2 Sep 2024 03:22:53 +0300 |
Correct value has been 4 fromthe beginning but it started mattering only
recently whether because of compiler or because of code reshuffling
---
util/mkimage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/mkimage.c b/util/mkimage.c
index 8c5660825..d77399778 100644
--- a/util/mkimage.c
+++ b/util/mkimage.c
@@ -335,7 +335,7 @@ static const struct grub_install_image_target_desc
image_targets[] =
.decompressor_compressed_size =
GRUB_DECOMPRESSOR_MIPS_LOONGSON_COMPRESSED_SIZE,
.decompressor_uncompressed_size =
GRUB_DECOMPRESSOR_MIPS_LOONGSON_UNCOMPRESSED_SIZE,
.decompressor_uncompressed_addr =
GRUB_DECOMPRESSOR_MIPS_LOONGSON_UNCOMPRESSED_ADDR,
- .section_align = 1,
+ .section_align = 4,
.vaddr_offset = 0,
.link_addr = GRUB_KERNEL_MIPS_LOONGSON_LINK_ADDR,
.elf_target = EM_MIPS,
--
2.39.2