From: Jan Kiszka <jan.kis...@siemens.com>

Adding the .rodata section was forgotten in c66041fc7c66, breaking the
kernel stub when being built against latest gnu-efi.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 0bd2dec..2ea47ae 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -310,7 +310,7 @@ $(kernel_stub_solib): $(kernel_stub_objects)
 
 $(kernel_stub_name): $(kernel_stub_solib)
        $(AM_V_GEN) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
-         -j .dynsym -j .rel* $(objcopy_format) $< $@
+         -j .dynsym -j .rodata -j .rel* $(objcopy_format) $< $@
 
 endif # BOOTLOADER
 
-- 
2.43.0

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to efibootguard-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/ac655ddf-f4ef-4545-8925-88770df1e520%40siemens.com.

Reply via email to