njn | 1a1e95c | 2009-06-03 06:50:06 +0000 | [diff] [blame] | 1 | |
| 2 | /*--------------------------------------------------------------------*/ |
| 3 | /*--- asm-only vkiscnums stuff. pub_tool_vkiscnums_asm.h ---*/ |
| 4 | /*--------------------------------------------------------------------*/ |
| 5 | |
| 6 | /* |
| 7 | This file is part of Valgrind, a dynamic binary instrumentation |
| 8 | framework. |
| 9 | |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 10 | Copyright (C) 2005-2017 Nicholas Nethercote |
njn | 1a1e95c | 2009-06-03 06:50:06 +0000 | [diff] [blame] | 11 | njn@valgrind.org |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 12 | Copyright (C) 2006-2017 OpenWorks LLP |
njn | 1a1e95c | 2009-06-03 06:50:06 +0000 | [diff] [blame] | 13 | info@open-works.co.uk |
| 14 | |
| 15 | This program is free software; you can redistribute it and/or |
| 16 | modify it under the terms of the GNU General Public License as |
| 17 | published by the Free Software Foundation; either version 2 of the |
| 18 | License, or (at your option) any later version. |
| 19 | |
| 20 | This program is distributed in the hope that it will be useful, but |
| 21 | WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 23 | General Public License for more details. |
| 24 | |
| 25 | You should have received a copy of the GNU General Public License |
| 26 | along with this program; if not, write to the Free Software |
| 27 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
| 28 | 02111-1307, USA. |
| 29 | |
| 30 | The GNU General Public License is contained in the file COPYING. |
| 31 | */ |
| 32 | |
| 33 | #ifndef __PUB_TOOL_VKISCNUMS_ASM_H |
| 34 | #define __PUB_TOOL_VKISCNUMS_ASM_H |
| 35 | |
| 36 | #if defined(VGP_x86_linux) |
| 37 | # include "vki/vki-scnums-x86-linux.h" |
| 38 | |
| 39 | #elif defined(VGP_amd64_linux) |
| 40 | # include "vki/vki-scnums-amd64-linux.h" |
| 41 | |
| 42 | #elif defined(VGP_ppc32_linux) |
| 43 | # include "vki/vki-scnums-ppc32-linux.h" |
| 44 | |
carll | cae0cc2 | 2014-08-07 23:17:29 +0000 | [diff] [blame] | 45 | #elif defined(VGP_ppc64be_linux) || defined(VGP_ppc64le_linux) |
njn | 1a1e95c | 2009-06-03 06:50:06 +0000 | [diff] [blame] | 46 | # include "vki/vki-scnums-ppc64-linux.h" |
| 47 | |
sewardj | b5b8740 | 2011-03-07 16:05:35 +0000 | [diff] [blame] | 48 | #elif defined(VGP_s390x_linux) |
| 49 | # include "vki/vki-scnums-s390x-linux.h" |
| 50 | |
sewardj | 59570ff | 2010-01-01 11:59:33 +0000 | [diff] [blame] | 51 | #elif defined(VGP_arm_linux) |
| 52 | # include "vki/vki-scnums-arm-linux.h" |
| 53 | |
sewardj | f0c1250 | 2014-01-12 12:54:00 +0000 | [diff] [blame] | 54 | #elif defined(VGP_arm64_linux) |
| 55 | # include "vki/vki-scnums-arm64-linux.h" |
| 56 | |
sewardj | 5db1540 | 2012-06-07 09:13:21 +0000 | [diff] [blame] | 57 | #elif defined(VGP_mips32_linux) |
| 58 | # include "vki/vki-scnums-mips32-linux.h" |
| 59 | |
petarj | 4df0bfc | 2013-02-27 23:17:33 +0000 | [diff] [blame] | 60 | #elif defined(VGP_mips64_linux) |
| 61 | # include "vki/vki-scnums-mips64-linux.h" |
| 62 | |
njn | 1a1e95c | 2009-06-03 06:50:06 +0000 | [diff] [blame] | 63 | #elif defined(VGP_x86_darwin) || defined(VGP_amd64_darwin) |
| 64 | # include "vki/vki-scnums-darwin.h" |
| 65 | |
sewardj | 8eb8bab | 2015-07-21 14:44:28 +0000 | [diff] [blame] | 66 | #elif defined(VGP_x86_solaris) || (VGP_amd64_solaris) |
| 67 | # include "vki/vki-scnums-solaris.h" |
| 68 | |
njn | 1a1e95c | 2009-06-03 06:50:06 +0000 | [diff] [blame] | 69 | #else |
| 70 | # error Unknown platform |
| 71 | #endif |
| 72 | |
| 73 | #endif // __PUB_TOOL_VKISCNUMS_ASM_H |
| 74 | |
| 75 | /*--------------------------------------------------------------------*/ |
| 76 | /*--- end ---*/ |
| 77 | /*--------------------------------------------------------------------*/ |