blob: dc5c898ab6bd10af75f3abf224f8ff850ac4ddf4 [file] [log] [blame]
njnc9539842002-10-02 13:26:35 +00001
njn25e49d8e72002-09-23 09:36:25 +00002##--------------------------------------------------------------------##
3##--- Support routines for the memory checker. ---##
njn25cac76cb2002-09-23 11:21:57 +00004##--- mc_helpers.S ---##
njn25e49d8e72002-09-23 09:36:25 +00005##--------------------------------------------------------------------##
6
7/*
nethercote137bc552003-11-14 17:47:54 +00008 This file is part of MemCheck, a heavyweight Valgrind tool for
njnc9539842002-10-02 13:26:35 +00009 detecting memory errors.
njn25e49d8e72002-09-23 09:36:25 +000010
nethercotebb1c9912004-01-04 16:43:23 +000011 Copyright (C) 2000-2004 Julian Seward
njn25e49d8e72002-09-23 09:36:25 +000012 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
njn5c004e42002-11-18 11:04:50 +000032#include "mc_constants.h"
njn25e49d8e72002-09-23 09:36:25 +000033
njn5c004e42002-11-18 11:04:50 +000034.global MC_(helper_value_check0_fail)
35MC_(helper_value_check0_fail):
njn25e49d8e72002-09-23 09:36:25 +000036 pushal
njn5c004e42002-11-18 11:04:50 +000037 call MC_(helperc_value_check0_fail)
njn25e49d8e72002-09-23 09:36:25 +000038 popal
39 ret
40
njn5c004e42002-11-18 11:04:50 +000041.global MC_(helper_value_check1_fail)
42MC_(helper_value_check1_fail):
njn25e49d8e72002-09-23 09:36:25 +000043 pushal
njn5c004e42002-11-18 11:04:50 +000044 call MC_(helperc_value_check1_fail)
njn25e49d8e72002-09-23 09:36:25 +000045 popal
46 ret
47
njn5c004e42002-11-18 11:04:50 +000048.global MC_(helper_value_check2_fail)
49MC_(helper_value_check2_fail):
njn25e49d8e72002-09-23 09:36:25 +000050 pushal
njn5c004e42002-11-18 11:04:50 +000051 call MC_(helperc_value_check2_fail)
njn25e49d8e72002-09-23 09:36:25 +000052 popal
53 ret
54
njn5c004e42002-11-18 11:04:50 +000055.global MC_(helper_value_check4_fail)
56MC_(helper_value_check4_fail):
njn25e49d8e72002-09-23 09:36:25 +000057 pushal
njn5c004e42002-11-18 11:04:50 +000058 call MC_(helperc_value_check4_fail)
njn25e49d8e72002-09-23 09:36:25 +000059 popal
60 ret
61
njn25cac76cb2002-09-23 11:21:57 +000062##--------------------------------------------------------------------##
63##--- end mc_helpers.S ---##
64##--------------------------------------------------------------------##
njn25e49d8e72002-09-23 09:36:25 +000065