diff options
author | SaeHie Park <saehie.park@gmail.com> | 2017-01-11 08:42:12 +0900 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2017-01-11 00:42:12 +0100 |
commit | 7bb52294ab9d555d773eb5f64e2fbd876d1a5dff (patch) | |
tree | 7a65a353f53210eb29ff606f14e6a74a1fddea9c /src/jit | |
parent | c6c5b6c07618016af9313a1df40d5986952881e5 (diff) | |
download | coreclr-7bb52294ab9d555d773eb5f64e2fbd876d1a5dff.tar.gz coreclr-7bb52294ab9d555d773eb5f64e2fbd876d1a5dff.tar.bz2 coreclr-7bb52294ab9d555d773eb5f64e2fbd876d1a5dff.zip |
[x86/Linux] Introduce UNIX_X86_ABI definition (#8863)
Add UNIX_X86_ABI definition for Unix/Linux specific ABI parts
First will be for 16 byte stack alignment codes
Diffstat (limited to 'src/jit')
-rw-r--r-- | src/jit/target.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/jit/target.h b/src/jit/target.h index 8b448a2b7f..32eb16698c 100644 --- a/src/jit/target.h +++ b/src/jit/target.h @@ -13,6 +13,13 @@ #endif #endif +// If the UNIX_X86_ABI is defined make sure that _TARGET_X86_ is also defined. +#if defined(UNIX_X86_ABI) +#if !defined(_TARGET_X86_) +#error When UNIX_X86_ABI is defined you must define _TARGET_X86_ defined as well. +#endif +#endif + #if (defined(FEATURE_CORECLR) && defined(PLATFORM_UNIX)) #define FEATURE_VARARG 0 #else // !(defined(FEATURE_CORECLR) && defined(PLATFORM_UNIX)) |