Skip to content

Use -shared compilation instead of -Wl,-r

Vladimir Serbinenko grub-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Use -shared compilation instead of -Wl,-r

-Wl,-r is a partial linking and this file is only intended as intermediate result for linker, not really intended for any other use. To make them usable we end up doing all the linker job twice over: in mkimage and in runtime. -shared on the other hand is meant to be loaded and relocated and hence it's simpler to use.

Tested on
i386-pc, x86_64-efi, powerpc-ieee1275, arm-efi, riscv64-efi, arm64-efi, sparc64-ieee1275, mipsel-loongson, mips-malta and loongarch64-efi using qemu

Tested on ia64-efi using ski
Tested on emu

Couldn't test on riscv32 as I couldn't find riscv32-efi for qemu, or any board for this matter.

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel