[PATCH v4 1/2] bfd: fill in PE load config directory entry.
LIU Hao
lh_mouse@126.com
Wed Apr 2 08:50:46 GMT 2025
在 2025-4-2 16:45, Jan Beulich 写道:
> On 02.04.2025 10:27, LIU Hao wrote:
>> 在 2025-4-2 15:57, Jan Beulich 写道:
>>> "While the Microsoft PE format documentation says that, for compatibility with
>>> Windows XP and earlier, the size must be 64 for x86 images, we don't check or
>>> enforce this here."
>>
>> Oh please don't do that. mingw-w64 will provide a load config directory in libmingwex, so it will be
>> horrible breakage if anyone wants to build programs for XP: They will have to clear loadcfg.S and rebuild
>> mingw-w64.
>
> Please don't do what? Adding the comment hardly can introduce any breakage.
It was a reply to "we don't check or enforce this here." In other words, it should be enforced when
targeting XP on i386.
--
Best regards,
LIU Hao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20250402/fe422daf/attachment.sig>
More information about the Binutils
mailing list