Huw Davies huw@codeweavers.com writes:
On Mon, Jun 15, 2020 at 02:27:19PM +0200, Alexandre Julliard wrote:
Huw Davies huw@codeweavers.com writes:
On i386 macOS allowing the dynamic loader to do so results in eax and ebx being cleared.
This should go through the import table, not the dynamic loader. Where do the registers get cleared?
Ah, I see, eax isn't getting cleared, but it's being clobbered by __wine_spec_get_pc_thunk_eax .
Ah right, macOS is still using PIC. Anyway, these import thunks should go away soon (the ultimate goal being for the Unix library to never implicitly call back into PE).