njn | c953984 | 2002-10-02 13:26:35 +0000 | [diff] [blame] | 1 | |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 2 | ##--------------------------------------------------------------------## |
| 3 | ##--- Support routines for the memory checker. ---## |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 4 | ##--- mc_helpers.S ---## |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 5 | ##--------------------------------------------------------------------## |
| 6 | |
| 7 | /* |
nethercote | 137bc55 | 2003-11-14 17:47:54 +0000 | [diff] [blame] | 8 | This file is part of MemCheck, a heavyweight Valgrind tool for |
njn | c953984 | 2002-10-02 13:26:35 +0000 | [diff] [blame] | 9 | detecting memory errors. |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 10 | |
nethercote | bb1c991 | 2004-01-04 16:43:23 +0000 | [diff] [blame] | 11 | Copyright (C) 2000-2004 Julian Seward |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 12 | jseward@acm.org |
| 13 | |
| 14 | This program is free software; you can redistribute it and/or |
| 15 | modify it under the terms of the GNU General Public License as |
| 16 | published by the Free Software Foundation; either version 2 of the |
| 17 | License, or (at your option) any later version. |
| 18 | |
| 19 | This program is distributed in the hope that it will be useful, but |
| 20 | WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 22 | General Public License for more details. |
| 23 | |
| 24 | You should have received a copy of the GNU General Public License |
| 25 | along with this program; if not, write to the Free Software |
| 26 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
| 27 | 02111-1307, USA. |
| 28 | |
| 29 | The GNU General Public License is contained in the file COPYING. |
| 30 | */ |
| 31 | |
njn | 5c004e4 | 2002-11-18 11:04:50 +0000 | [diff] [blame] | 32 | #include "mc_constants.h" |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 33 | |
njn | 5c004e4 | 2002-11-18 11:04:50 +0000 | [diff] [blame] | 34 | .global MC_(helper_value_check0_fail) |
| 35 | MC_(helper_value_check0_fail): |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 36 | pushal |
njn | 5c004e4 | 2002-11-18 11:04:50 +0000 | [diff] [blame] | 37 | call MC_(helperc_value_check0_fail) |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 38 | popal |
| 39 | ret |
| 40 | |
njn | 5c004e4 | 2002-11-18 11:04:50 +0000 | [diff] [blame] | 41 | .global MC_(helper_value_check1_fail) |
| 42 | MC_(helper_value_check1_fail): |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 43 | pushal |
njn | 5c004e4 | 2002-11-18 11:04:50 +0000 | [diff] [blame] | 44 | call MC_(helperc_value_check1_fail) |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 45 | popal |
| 46 | ret |
| 47 | |
njn | 5c004e4 | 2002-11-18 11:04:50 +0000 | [diff] [blame] | 48 | .global MC_(helper_value_check2_fail) |
| 49 | MC_(helper_value_check2_fail): |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 50 | pushal |
njn | 5c004e4 | 2002-11-18 11:04:50 +0000 | [diff] [blame] | 51 | call MC_(helperc_value_check2_fail) |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 52 | popal |
| 53 | ret |
| 54 | |
njn | 5c004e4 | 2002-11-18 11:04:50 +0000 | [diff] [blame] | 55 | .global MC_(helper_value_check4_fail) |
| 56 | MC_(helper_value_check4_fail): |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 57 | pushal |
njn | 5c004e4 | 2002-11-18 11:04:50 +0000 | [diff] [blame] | 58 | call MC_(helperc_value_check4_fail) |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 59 | popal |
| 60 | ret |
| 61 | |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 62 | ##--------------------------------------------------------------------## |
| 63 | ##--- end mc_helpers.S ---## |
| 64 | ##--------------------------------------------------------------------## |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 65 | |