Warning, /graphics/krita/3rdparty/ext_icu/0003-toolutil-Fix-MASM-generation-for-x86-64-and-ARM64.patch is written in an unsupported language. File is not indexed.
0001 From cb2bc2dcd9fdebb871938b311156527b3330c285 Mon Sep 17 00:00:00 2001 0002 From: "L. E. Segovia" <amy@amyspark.me> 0003 Date: Thu, 17 Nov 2022 11:56:02 -0300 0004 Subject: [PATCH 3/3] toolutil: Fix MASM generation for x86-64 and ARM64 0005 0006 --- 0007 icu4c/source/tools/toolutil/pkg_genc.cpp | 12 ++++++++++++ 0008 1 file changed, 12 insertions(+) 0009 0010 diff --git a/icu4c/source/tools/toolutil/pkg_genc.cpp b/icu4c/source/tools/toolutil/pkg_genc.cpp 0011 index 4ae36702da6..af253e38cad 100644 0012 --- a/icu4c/source/tools/toolutil/pkg_genc.cpp 0013 +++ b/icu4c/source/tools/toolutil/pkg_genc.cpp 0014 @@ -254,6 +254,17 @@ static const struct AssemblyType { 0015 "%s:\n", 0016 " dd ","",HEX_0X 0017 }, 0018 +#if defined(_WIN64) 0019 + { "masm", 0020 + "\tTITLE %s\n" 0021 + "; generated by genccode\n" 0022 + "\tPUBLIC _%s\n" 0023 + "ICUDATA_%s\tSEGMENT READONLY 'DATA'\n" 0024 + "\tALIGN 16\n" 0025 + "_%s\tLABEL DWORD\n", 0026 + "\tDWORD ","\nICUDATA_%s\tENDS\n\tEND\n",HEX_0H 0027 + } 0028 +#else 0029 { "masm", 0030 "\tTITLE %s\n" 0031 "; generated by genccode\n" 0032 @@ -274,6 +285,7 @@ static const struct AssemblyType { 0033 "_%s\tLABEL DWORD\n", 0034 "\tDWORD ","\nICUDATA_%s\tENDS\n\tEND\n",HEX_0H 0035 } 0036 +#endif 0037 }; 0038 0039 static int32_t assemblyHeaderIndex = -1; 0040 -- 0041 2.24.1.windows.2 0042