1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 #define INVALIDGCVALUE 0CCCCCCCDh
8 #define C_FUNC(name) _##name
9 #define EXTERNAL_C_FUNC(name) C_FUNC(name)
10 #define LOCAL_LABEL(name) L##name
12 #define C_FUNC(name) name
13 #define EXTERNAL_C_FUNC(name) C_FUNC(name)@plt
14 #define LOCAL_LABEL(name) .L##name
17 #if defined(__APPLE__)
18 #define C_PLTFUNC(name) _##name
20 #define C_PLTFUNC(name) name@PLT
23 .macro LEAF_END Name, Section
24 LEAF_END_MARKED \Name, \Section
30 .macro SETALIAS New, Old
35 #include "unixasmmacrosamd64.inc"
37 #include "unixasmmacrosarm.inc"
38 #elif defined(_ARM64_)
39 #include "unixasmmacrosarm64.inc"