Re: [edk2-devel] [PATCH] MdePkg/BasePeCoffLib: Deal with broken debug directories

2023-05-05 Thread Ard Biesheuvel
On Fri, 5 May 2023 at 03:56, Michael Kubacki wrote: > > Acked-by: Michael Kubacki > Merged as #4340 Thanks all > On 5/4/2023 10:47 AM, Ard Biesheuvel wrote: > > Older versions of GenFw put the wrong value in the debug directory size > > field in the PE/COFF header: instead of putting the comb

Re: [edk2-devel] [PATCH] MdePkg/BasePeCoffLib: Deal with broken debug directories

2023-05-04 Thread Michael Kubacki
Acked-by: Michael Kubacki On 5/4/2023 10:47 AM, Ard Biesheuvel wrote: Older versions of GenFw put the wrong value in the debug directory size field in the PE/COFF header: instead of putting the combined size of all the entries, it puts the size of the only entry it creates, but adds the size of

[edk2-devel] [PATCH] MdePkg/BasePeCoffLib: Deal with broken debug directories

2023-05-04 Thread Ard Biesheuvel
Older versions of GenFw put the wrong value in the debug directory size field in the PE/COFF header: instead of putting the combined size of all the entries, it puts the size of the only entry it creates, but adds the size of the NB10 payload that the entry points to. This confuses the loader now t