|
From: <sv...@va...> - 2005-05-08 18:21:21
|
Author: njn
Date: 2005-05-08 19:21:15 +0100 (Sun, 08 May 2005)
New Revision: 3640
Removed:
trunk/coregrind/amd64/amd64_private_asm.h
trunk/coregrind/x86/x86_private_asm.h
Modified:
trunk/coregrind/amd64/Makefile.am
trunk/coregrind/amd64/amd64_private.h
trunk/coregrind/amd64/dispatch.S
trunk/coregrind/x86/Makefile.am
trunk/coregrind/x86/dispatch.S
trunk/coregrind/x86/state.c
trunk/coregrind/x86/x86_private.h
Log:
Remove pointless platform-specific private_asm.h files.
Modified: trunk/coregrind/amd64/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/coregrind/amd64/Makefile.am 2005-05-08 17:49:37 UTC (rev 3639)
+++ trunk/coregrind/amd64/Makefile.am 2005-05-08 18:21:15 UTC (rev 3640)
@@ -6,8 +6,7 @@
noinst_HEADERS =3D \
core_arch.h \
core_arch_asm.h \
- amd64_private.h \
- amd64_private_asm.h
+ amd64_private.h
=20
noinst_LIBRARIES =3D libarch.a
=20
Modified: trunk/coregrind/amd64/amd64_private.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/coregrind/amd64/amd64_private.h 2005-05-08 17:49:37 UTC (rev 36=
39)
+++ trunk/coregrind/amd64/amd64_private.h 2005-05-08 18:21:15 UTC (rev 36=
40)
@@ -32,7 +32,6 @@
#define __AMD64_PRIVATE_H
=20
#include "core_arch_asm.h" // arch-specific asm stuff
-#include "amd64_private_asm.h" // private arch-specific asm stuff
#include "tool_arch.h" // arch-specific tool stuff
=20
/* ---------------------------------------------------------------------
Deleted: trunk/coregrind/amd64/amd64_private_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/coregrind/amd64/amd64_private_asm.h 2005-05-08 17:49:37 UTC (re=
v 3639)
+++ trunk/coregrind/amd64/amd64_private_asm.h 2005-05-08 18:21:15 UTC (re=
v 3640)
@@ -1,43 +0,0 @@
-
-/*--------------------------------------------------------------------*/
-/*--- Private arch-specific asm stuff. amd64/amd64_private_asm.h ---*/
-/*--------------------------------------------------------------------*/
-
-/*
- This file is part of Valgrind, a dynamic binary instrumentation
- framework.
-
- Copyright (C) 2000-2005 Nicholas Nethercote
- nj...@va...
-
- 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 __AMD64_PRIVATE_ASM_H
-#define __AMD64_PRIVATE_ASM_H
-
-#if 0
-/* Client address space segment limit descriptor entry */
-#define VG_POINTERCHECK_SEGIDX 1
-#endif
-
-#endif // __AMD64_PRIVATE_ASM_H
-
-/*--------------------------------------------------------------------*/
-/*--- end ---*/
-/*--------------------------------------------------------------------*/
Modified: trunk/coregrind/amd64/dispatch.S
=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/coregrind/amd64/dispatch.S 2005-05-08 17:49:37 UTC (rev 3639)
+++ trunk/coregrind/amd64/dispatch.S 2005-05-08 18:21:15 UTC (rev 3640)
@@ -30,7 +30,6 @@
*/
=20
#include "core_asm.h"
-#include "amd64_private_asm.h"
#include "libvex_guest_offsets.h" /* for OFFSET_amd64_RIP */
=20
=20
Modified: trunk/coregrind/x86/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/coregrind/x86/Makefile.am 2005-05-08 17:49:37 UTC (rev 3639)
+++ trunk/coregrind/x86/Makefile.am 2005-05-08 18:21:15 UTC (rev 3640)
@@ -6,8 +6,7 @@
noinst_HEADERS =3D \
core_arch.h \
core_arch_asm.h \
- x86_private.h \
- x86_private_asm.h
+ x86_private.h
=20
noinst_LIBRARIES =3D libarch.a
=20
Modified: trunk/coregrind/x86/dispatch.S
=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/coregrind/x86/dispatch.S 2005-05-08 17:49:37 UTC (rev 3639)
+++ trunk/coregrind/x86/dispatch.S 2005-05-08 18:21:15 UTC (rev 3640)
@@ -30,7 +30,6 @@
*/
=20
#include "core_asm.h"
-#include "x86_private_asm.h"
#include "libvex_guest_offsets.h" /* for OFFSET_x86_EIP */
=20
=20
Modified: trunk/coregrind/x86/state.c
=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/coregrind/x86/state.c 2005-05-08 17:49:37 UTC (rev 3639)
+++ trunk/coregrind/x86/state.c 2005-05-08 18:21:15 UTC (rev 3640)
@@ -287,10 +287,13 @@
/*--- pointercheck ---*/
/*------------------------------------------------------------*/
=20
+/* Client address space segment limit descriptor entry */
+#define POINTERCHECK_SEGIDX 1
+
Bool VGA_(setup_pointercheck)(void)
{
vki_modify_ldt_t ldt =3D {=20
- VG_POINTERCHECK_SEGIDX, // entry_number
+ POINTERCHECK_SEGIDX, // entry_number
VG_(client_base), // base_addr
(VG_(client_end)-VG_(client_base)) / VKI_PAGE_SIZE, // limit
1, // seg_32bit
Modified: trunk/coregrind/x86/x86_private.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/coregrind/x86/x86_private.h 2005-05-08 17:49:37 UTC (rev 3639)
+++ trunk/coregrind/x86/x86_private.h 2005-05-08 18:21:15 UTC (rev 3640)
@@ -32,7 +32,6 @@
#define __X86_PRIVATE_H
=20
#include "core_arch_asm.h" // arch-specific asm stuff
-#include "x86_private_asm.h" // private arch-specific asm stuff
#include "tool_arch.h" // arch-specific tool stuff
=20
#include "libvex_guest_x86.h" // for VexGuestX86SegDescr
Deleted: trunk/coregrind/x86/x86_private_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/coregrind/x86/x86_private_asm.h 2005-05-08 17:49:37 UTC (rev 36=
39)
+++ trunk/coregrind/x86/x86_private_asm.h 2005-05-08 18:21:15 UTC (rev 36=
40)
@@ -1,41 +0,0 @@
-
-/*--------------------------------------------------------------------*/
-/*--- Private arch-specific asm stuff. x86/x86_private_asm.h ---*/
-/*--------------------------------------------------------------------*/
-
-/*
- This file is part of Valgrind, a dynamic binary instrumentation
- framework.
-
- Copyright (C) 2000-2005 Nicholas Nethercote
- nj...@va...
-
- 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 __X86_PRIVATE_ASM_H
-#define __X86_PRIVATE_ASM_H
-
-/* Client address space segment limit descriptor entry */
-#define VG_POINTERCHECK_SEGIDX 1
-
-#endif // __X86_PRIVATE_ASM_H
-
-/*--------------------------------------------------------------------*/
-/*--- end ---*/
-/*--------------------------------------------------------------------*/
|