sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 1 | |
| 2 | /*--------------------------------------------------------------------*/ |
njn | c7561b9 | 2005-06-19 01:24:32 +0000 | [diff] [blame^] | 3 | /*--- Header imported directly by every asm file, and indirectly ---*/ |
| 4 | /*--- (via pub_tool_basics.h) by every C file. ---*/ |
| 5 | /*--- pub_tool_basics_asm.h ---*/ |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 6 | /*--------------------------------------------------------------------*/ |
njn | c7561b9 | 2005-06-19 01:24:32 +0000 | [diff] [blame^] | 7 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 8 | /* |
njn | b9c427c | 2004-12-01 14:14:42 +0000 | [diff] [blame] | 9 | This file is part of Valgrind, a dynamic binary instrumentation |
| 10 | framework. |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 11 | |
njn | 5361242 | 2005-03-12 16:22:54 +0000 | [diff] [blame] | 12 | Copyright (C) 2000-2005 Julian Seward |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 13 | jseward@acm.org |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 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 | |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 30 | The GNU General Public License is contained in the file COPYING. |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 31 | */ |
| 32 | |
njn | c7561b9 | 2005-06-19 01:24:32 +0000 | [diff] [blame^] | 33 | #ifndef __PUB_TOOL_BASICS_ASM_H |
| 34 | #define __PUB_TOOL_BASICS_ASM_H |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 35 | |
njn | c7561b9 | 2005-06-19 01:24:32 +0000 | [diff] [blame^] | 36 | /* All symbols externally visible from Valgrind are prefixed |
| 37 | as specified here to avoid namespace conflict problems. */ |
njn | 767eb42 | 2005-06-10 23:09:45 +0000 | [diff] [blame] | 38 | |
njn | c7561b9 | 2005-06-19 01:24:32 +0000 | [diff] [blame^] | 39 | #define VGAPPEND(str1,str2) str1##str2 |
njn | f536bbb | 2005-06-13 04:21:38 +0000 | [diff] [blame] | 40 | |
njn | c7561b9 | 2005-06-19 01:24:32 +0000 | [diff] [blame^] | 41 | #define VG_(str) VGAPPEND(vgPlain_, str) |
| 42 | #define VGA_(str) VGAPPEND(vgArch_, str) |
| 43 | #define VGO_(str) VGAPPEND(vgOS_, str) |
| 44 | #define VGP_(str) VGAPPEND(vgPlatform_, str) |
njn | 767eb42 | 2005-06-10 23:09:45 +0000 | [diff] [blame] | 45 | |
njn | c7561b9 | 2005-06-19 01:24:32 +0000 | [diff] [blame^] | 46 | #endif /* __PUB_TOOL_BASICS_ASM_H */ |
nethercote | c06e213 | 2004-09-03 13:45:29 +0000 | [diff] [blame] | 47 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 48 | /*--------------------------------------------------------------------*/ |
nethercote | 109d0df | 2004-09-02 08:10:13 +0000 | [diff] [blame] | 49 | /*--- end ---*/ |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 50 | /*--------------------------------------------------------------------*/ |