ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.91k stars 288 forks source link

[WRAPPED32] Added an errno-aware calling convention #2006

Closed rajdakin closed 2 weeks ago

rajdakin commented 2 weeks ago

This PR adds the E calling convention to 32-bits wrapped libraries, which is the System V calling convention with copying of errno before and after the function call, to handle errno-aware functions.