|
From: <sv...@va...> - 2005-05-13 21:39:49
|
Author: njn Date: 2005-05-13 22:39:45 +0100 (Fri, 13 May 2005) New Revision: 3692 Removed: trunk/memcheck/mc_asm.h Modified: trunk/NOTES.txt trunk/memcheck/Makefile.am trunk/memcheck/mc_include.h Log: Removed mc_asm.h, which is no longer needed since Memcheck has no=20 assembly files any more. Moved MC_() into mc_include.h. Modified: trunk/NOTES.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/NOTES.txt 2005-05-13 16:54:09 UTC (rev 3691) +++ trunk/NOTES.txt 2005-05-13 21:39:45 UTC (rev 3692) @@ -21,16 +21,13 @@ =20 9 Apr 05 (starting work on memcheck for 32/64-bit and big/little endian) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* get rid of memcheck/mc_asm.h and include/tool_asm.h. I think=20 - these are left over from single-platform days, when it made +* get rid of include/tool_asm.h. I think=20 + this is left over from single-platform days, when it made sense to have tool-helpers written in assembly. Looks like we need to retain coregrind/core_asm.h, though. =20 - [core_asm.h includes tool_asm.h. The contents of tool_asm.h could be = put - into core_asm.h, but that would deviate from the structure described a= t - the top of core.h... that structure will slowly change as core.h/tool.= h - are split up into separate headers for each module, but it might be - worthwhile keeping the asm-only headers? Not sure. --njn] + [tool_asm.h will need to remain in some form -- there are still assemb= ly + files that need to see VG_() and related macros. --njn] =20 Urk. Perhaps nuke all that X86_FEAT gunk in coregrind/core_asm.h though. Vex isn't clever enough to distinguish dozens of CPU Modified: trunk/memcheck/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/memcheck/Makefile.am 2005-05-13 16:54:09 UTC (rev 3691) +++ trunk/memcheck/Makefile.am 2005-05-13 21:39:45 UTC (rev 3692) @@ -29,7 +29,6 @@ =20 noinst_HEADERS =3D \ mac_shared.h \ - mc_asm.h \ mc_include.h =20 mac_replace_strmem.o: CFLAGS +=3D -fno-omit-frame-pointer Deleted: trunk/memcheck/mc_asm.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/memcheck/mc_asm.h 2005-05-13 16:54:09 UTC (rev 3691) +++ trunk/memcheck/mc_asm.h 2005-05-13 21:39:45 UTC (rev 3692) @@ -1,43 +0,0 @@ - -/*--------------------------------------------------------------------*/ -/*--- mc_asm.h ---*/ -/*--------------------------------------------------------------------*/ - -/* - This file is part of MemCheck, a heavyweight Valgrind tool for - detecting memory errors. - - Copyright (C) 2000-2005 Julian Seward=20 - js...@ac... - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307, USA. - - The GNU General Public License is contained in the file COPYING. -*/ - -#ifndef __MC_ASM_H -#define __MC_ASM_H - -#include "tool_asm.h" - -#define MC_(str) VGAPPEND(vgMemCheck_,str) - -#endif /* __MC_ASM_H */ - -/*--------------------------------------------------------------------*/ -/*--- end ---*/ -/*--------------------------------------------------------------------*/ - Modified: trunk/memcheck/mc_include.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/memcheck/mc_include.h 2005-05-13 16:54:09 UTC (rev 3691) +++ trunk/memcheck/mc_include.h 2005-05-13 21:39:45 UTC (rev 3692) @@ -37,8 +37,8 @@ #define __MC_INCLUDE_H =20 #include "mac_shared.h" -#include "mc_asm.h" =20 +#define MC_(str) VGAPPEND(vgMemCheck_,str) =20 /*------------------------------------------------------------*/ /*--- Command line options ---*/ |