Re: ld 2.36 regression linking EFI binary from ELF input with debug info

2021-02-04 Thread Jan Beulich
On 04.02.2021 14:34, Andreas Schwab wrote: > On Feb 04 2021, Jan Beulich via Binutils wrote: > >> For reference, the probing is as simple as >> >> $(LD) -mi386pep --subsystem=10 -o efi/check.efi efi/check.o >> >> As was to be expected, the errors disappear with -S, but that's >> an option only for

Re: ld 2.36 regression linking EFI binary from ELF input with debug info

2021-02-04 Thread Andreas Schwab
On Feb 04 2021, Jan Beulich via Binutils wrote: > For reference, the probing is as simple as > > $(LD) -mi386pep --subsystem=10 -o efi/check.efi efi/check.o > > As was to be expected, the errors disappear with -S, but that's > an option only for the probing, not for the actual linking of > the bin

ld 2.36 regression linking EFI binary from ELF input with debug info

2021-02-04 Thread Jan Beulich
Hello, the Xen project hypervisor build system includes building the hypervisor binary as an EFI application, as an option (i.e. as long as the tool chain supports this). Already when probing the linker we now suddenly get several "relocation truncated to fit:R_X86_64_32 against `.debug_...'" erro