On Mon Sep 18 18:45:42 2023 +0000, Stefan Dösinger wrote:
movl.s requires a minimum GNU binutils version. I think it's been 13 or so years since I added that feature, but e.g. mac binutils does not have it. I also don't know how e.g. clang handles it when building windows binaries. A configure check might be worth adding though. In most cases this code will be compiled by mingw-w64 with gcc and gnu binutils, which should be fine even on mac. I think the two possible configurations that could run into problems here_
- clang in msvc mode or mingw-clang
- A 32 bit build targeting MacOS mojave with --without-mingw
The latter is pretty tricky to pull off, so not much of a concern. Can you test the first case?
Or more simply we could just do '.byte 0x8b, 0xff, 0x55, 0x8b, 0xec'. That's what winebuild does.