Re: [PATCH 16/17] efi_loader: Move .dynamic out of .text in EFI

2025-03-03 Thread Sam Edwards
On Sun, Feb 23, 2025 at 11:34 PM Heinrich Schuchardt wrote: > > > > Sam Edwards schrieb am Mo., 24. Feb. 2025, 06:56: >> >> This was not proper: A .text section is SHT_PROGBITS, while the .dynamic >> section is SHT_DYNAMIC. Attempting to combine them like this creates a >> section type mismatch.

Re: [PATCH 16/17] efi_loader: Move .dynamic out of .text in EFI

2025-02-23 Thread Heinrich Schuchardt
Sam Edwards schrieb am Mo., 24. Feb. 2025, 06:56: > This was not proper: A .text section is SHT_PROGBITS, while the .dynamic > section is SHT_DYNAMIC. Attempting to combine them like this creates a > section type mismatch. > > It seems that while GNU ld does not complain, LLVM's lld considers thi

[PATCH 16/17] efi_loader: Move .dynamic out of .text in EFI

2025-02-23 Thread Sam Edwards
This was not proper: A .text section is SHT_PROGBITS, while the .dynamic section is SHT_DYNAMIC. Attempting to combine them like this creates a section type mismatch. It seems that while GNU ld does not complain, LLVM's lld considers this an error. Signed-off-by: Sam Edwards Cc: Heinrich Schucha