[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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 binary.
> Thanks for pointers (or better yet, a fix),

Does it work to link to ELF and use objcopy to convert to PE?


Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.