|
From: <sv...@va...> - 2015-03-27 08:47:30
|
Author: florian
Date: Fri Mar 27 08:47:22 2015
New Revision: 15042
Log:
Change the minimum allowable value of aspacem_minAddr to
be VKI_PAGE_SIZE. That follows from the requirement that
the address ought to be page aligned and > 0.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
==============================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-linux.c (original)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-linux.c Fri Mar 27 08:47:22 2015
@@ -1606,7 +1606,7 @@
Bool
VG_(am_is_valid_for_aspacem_minAddr)( Addr addr, const HChar **errmsg )
{
- const Addr min = 0x1000; // 1 page FIXME: VKI_PAGE_SIZE ?
+ const Addr min = VKI_PAGE_SIZE;
#if VG_WORDSIZE == 4
const Addr max = 0x40000000; // 1Gb
#else
|