[Git][wine/wine][master] 2 commits: ntdll: Use __builtin_ffs instead of ffs in ldt_alloc_entry.
Alexandre Julliard pushed to branch master at wine / wine Commits: 293db835 by Twaik Yont at 2026-03-03T20:52:24+01:00 ntdll: Use __builtin_ffs instead of ffs in ldt_alloc_entry. Android NDK fails to build ntdll because ffs() is used without including <strings.h>, leading to an implicit function declaration error under C99. Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com> - - - - - 2f97dca1 by Twaik Yont at 2026-03-03T20:52:59+01:00 wineandroid: Force --rosegment for wine-preloader on Android (API < 29, NDK r22+). Android NDK r22 changed LLD behavior for targets below API 29 (see NDK changelog, Issue 1196). For such targets clang passes -Wl,--no-rosegment implicitly to the linker to improve backtrace correctness on older devices. As a result, wine-preloader is linked with --no-rosegment semantics. Since wine-preloader uses -Wl,-Ttext=0x7d400000, the linker assigns a very large file offset to the PT_LOAD segment containing .text in order to preserve the required relationship between virtual addresses and file offsets within the segment. This introduces a large sparse gap (around 0x7d400000) and inflates the apparent ELF size to ~2GB. Signed-off-by: Twaik Yont <9674930+twaik@users.noreply.github.com> - - - - - 3 changed files: - configure - configure.ac - dlls/ntdll/unix/unix_private.h View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/7a02a1b3eb139b7a8b8e1feac86898... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/7a02a1b3eb139b7a8b8e1feac86898... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)