Module: wine Branch: master Commit: 7b216b69c7924bbd0abee52f1c79e84871c5995f URL: https://gitlab.winehq.org/wine/wine/-/commit/7b216b69c7924bbd0abee52f1c79e84...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Oct 13 14:17:48 2023 +0200
winebuild: Use COMDAT sections for ARM64EC functions.
---
tools/winebuild/utils.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c index 795afb29242..c9880400a8c 100644 --- a/tools/winebuild/utils.c +++ b/tools/winebuild/utils.c @@ -842,6 +842,7 @@ void output_function_header( const char *func, int global ) break; case PLATFORM_MINGW: case PLATFORM_WINDOWS: + if (target.cpu == CPU_ARM64EC) output( ".section .text,"xr",discard,%s\n\t", name ); output( "\t.def %s\n\t.scl 2\n\t.type 32\n\t.endef\n", name ); if (global) output( "\t.globl %s\n", name ); if (thumb_mode) output( "\t.thumb_func\n" );