[PATCH v4 1/2] bfd: fill in PE load config directory entry.
Jan Beulich
jbeulich@suse.com
Wed Apr 2 08:53:36 GMT 2025
On 02.04.2025 10:50, LIU Hao wrote:
> 在 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.
Then mind me asking: Who's still using XP? Even its successors are long
out of support.
Jan
More information about the Binutils
mailing list