-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
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to