blob: f705a4b95ed8bddb8547fba15e340e570ef9b27a [file] [log] [blame]
njn1a1e95c2009-06-03 06:50:06 +00001
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
10 Copyright (C) 2005-2009 Nicholas Nethercote
11 njn@valgrind.org
12 Copyright (C) 2006-2009 OpenWorks LLP
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
45#elif defined(VGP_ppc64_linux)
46# include "vki/vki-scnums-ppc64-linux.h"
47
sewardj59570ff2010-01-01 11:59:33 +000048#elif defined(VGP_arm_linux)
49# include "vki/vki-scnums-arm-linux.h"
50
njn1a1e95c2009-06-03 06:50:06 +000051#elif defined(VGP_ppc32_aix5) || defined(VGP_ppc64_aix5)
52 // Nothing: vki-scnums-aix5.h only contains stuff suitable for inclusion
53 // in C files, not asm files. So unlike all the other
54 // vki-scnums-PLATFORM.h files, we include it in pub_tool_vkiscnums.h
55 // rather than in include/pub_tool_vkiscnums_asm.h.
56
57#elif defined(VGP_x86_darwin) || defined(VGP_amd64_darwin)
58# include "vki/vki-scnums-darwin.h"
59
60#else
61# error Unknown platform
62#endif
63
64#endif // __PUB_TOOL_VKISCNUMS_ASM_H
65
66/*--------------------------------------------------------------------*/
67/*--- end ---*/
68/*--------------------------------------------------------------------*/