3 Aug
2021
3 Aug
'21
6:37 a.m.
Hi Martin, On 8/3/21 11:46 AM, Martin Storsjö wrote:
As the preloader is linked with -nodefaultlibs, we need to provide builtin helpers for division on arm (that normally are provided by libgcc or compiler-rt).
I wonder how hard it would be to avoid using divisions in preloader code instead. If that's not an option, maybe we could have a naive version of those helpers in C. As a side note, we should probably have those helpers in winecrt0 for PE targets, but that wouldn't help preloader for which I think it would be nice to use a simpler solution, if possible. Thanks, Jacek