Skip to content

Commit

Permalink
kernel-stub: Fix support for gnu-efi > 3.0.15
Browse files Browse the repository at this point in the history
Adding the .rodata section was forgotten in c66041f, breaking the
kernel stub when being built against latest gnu-efi.

Signed-off-by: Jan Kiszka <[email protected]>
  • Loading branch information
jan-kiszka committed Jun 18, 2024
1 parent ad76173 commit 395061d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 395061d

Please sign in to comment.