[PATCH v2] loader: Add support for ARM linux in the preloader

Jacek Caban jacek at codeweavers.com
Tue Aug 3 06:37:54 CDT 2021

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.



More information about the wine-devel mailing list