Re: [PATCH 6/7] x86/efi: do not merge all .init sections

2025-03-19 Thread Jan Beulich
On 18.03.2025 18:35, Roger Pau Monne wrote: > As a result of relocations now being applied after the trampoline has been > copied into the low 1MB region, there's no need for a single .init section > that's writable, as .init.text is no longer modified. This builds on the confusion of the two diff

Re: [PATCH 6/7] x86/efi: do not merge all .init sections

2025-03-18 Thread Andrew Cooper
On 18/03/2025 5:35 pm, Roger Pau Monne wrote: > As a result of relocations now being applied after the trampoline has been > copied into the low 1MB region, there's no need for a single .init section > that's writable, as .init.text is no longer modified. > > Remove the bodge and fallback to the la

[PATCH 6/7] x86/efi: do not merge all .init sections

2025-03-18 Thread Roger Pau Monne
As a result of relocations now being applied after the trampoline has been copied into the low 1MB region, there's no need for a single .init section that's writable, as .init.text is no longer modified. Remove the bodge and fallback to the layout used by ELF images with an .init.text and .init.da