Commit 7b216b69 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winebuild: Use COMDAT sections for ARM64EC functions.

parent a0a2ef5a
......@@ -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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment