On 17.07.2025 05:11, Demi Marie Obenour wrote:
> This was discovered by GitHub user @fallen and leads
> to an "Unsupported relocation type" crash during boot
> because shim and some patched versions of GRUB do not load
> the section.  See
> https://github.com/QubesOS/qubes-issues/issues/8206#issuecomment-3078795967
> for more details.
> 
> I'm not sure if this is a bug in Xen or a bug in the linker.

As said on Matrix, my take is that - if at all - the linker could do something
about it only with a to-be-added command line option. For all "normal" purposes
.reloc being discardable is what is wanted. Since such a command line option
would be extremely niche, I think this will need taking care of on the Xen side
(which, however, is unlikely to end up very pretty).

Jan

Reply via email to