summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2000-03-14 21:20:19 +0000
committerSteve Huston <shuston@riverace.com>2000-03-14 21:20:19 +0000
commit916dc2727f0489b7629068600cbd203d73f02a4d (patch)
treeffed8c067f2d41444a4dfe1fd37c3bae9af470f0
parent286919aa2974e86965a963742b2101623afc5384 (diff)
downloadATCD-916dc2727f0489b7629068600cbd203d73f02a4d.tar.gz
ChangeLogTag:Tue Mar 14 15:01:46 2000 Steve Huston <shuston@riverace.com>
-rw-r--r--tests/Malloc_Test.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Malloc_Test.cpp b/tests/Malloc_Test.cpp
index f8049bd6511..fe6afc4e335 100644
--- a/tests/Malloc_Test.cpp
+++ b/tests/Malloc_Test.cpp
@@ -58,8 +58,12 @@ static const void *PARENT_BASE_ADDR = ACE_DEFAULT_BASE_ADDR;
// If the platform supports position-independent malloc, choose
// another base address that's 1M higher so that <ACE_Malloc> will be
// mapped into a different address in the child's virtual memory.
+// Note that on HP-UX on PA-RISC hardware, a single range of a file cannot
+// be mapped into multiple virtual address ranges, even across processes.
+// So, though the whole PI pointer thing is tested here, it isn't actually
+// using multiple address ranges.
static const void *CHILD_BASE_ADDR =
-#if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1)
+#if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 && !defined (HPUX))
1024 * 1024 +
#endif /* ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 */
ACE_DEFAULT_BASE_ADDR;