22 Jan
2024
22 Jan
'24
3:39 p.m.
On Mon Jan 22 15:35:13 2024 +0000, Alexandre Julliard wrote:
Unfortunately naked functions don't have well-defined semantics, I don't think we can use them. They seem to be well defined nowadays, on the x86 page:
https://gcc.gnu.org/onlinedocs/gcc/x86-Function-Attributes.html They're there since [GCC 8 apparently](https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/x86-Function-Attributes.html), but I'm not sure if they were reliable back then or not. We can use a version check to guard them in such case? And of course we already use basic asm so that shouldn't be an issue right? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4883#note_58409