summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-04-16 18:27:45 +0200
committerIvan Maidanski <ivmai@mail.ru>2012-05-01 17:01:09 +0200
commitfb19d88c0730de7bf97e0fd6deba5632d37d3dfb (patch)
tree22804da54236b44e986cbb23542a13646d7fd85d /include
parentcfc93a13d6aff2d764c098021daebd27f239cbf3 (diff)
Set GC_GRANULE_BYTES/GC_GRANULE_WORDS for x32
(Apply commit 4a0675b from 'master' branch) * include/gc_tiny_fl.h (GC_GRANULE_BYTES): Set to 8 for x32. (GC_GRANULE_WORDS): Set to 2 for x32.
Diffstat (limited to 'include')
-rw-r--r--include/gc_tiny_fl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/gc_tiny_fl.h b/include/gc_tiny_fl.h
index 91b77fd..7758151 100644
--- a/include/gc_tiny_fl.h
+++ b/include/gc_tiny_fl.h
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright (c) 1999-2005 Hewlett-Packard Development Company, L.P.
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
@@ -20,7 +20,7 @@
* However, global free lists are known to the GC. "Tiny" free lists
* are basically private to the client. Their contents are viewed as
* "in use" and marked accordingly by the core of the GC.
- *
+ *
* Note that inlined code might know about the layout of these and the constants
* involved. Thus any change here may invalidate clients, and such changes should
* be avoided. Hence we keep this as simple as possible.
@@ -47,7 +47,8 @@
/* library that may be shared between applications, since it affects */
/* the binary interface to the library. */
# if defined(__LP64__) || defined (_LP64) || defined(_WIN64) \
- || defined(__s390x__) || defined(__x86_64__) \
+ || defined(__s390x__) \
+ || (defined(__x86_64__) && !defined(__ILP32__)) \
|| defined(__alpha__) || defined(__powerpc64__) \
|| defined(__arch64__)
# define GC_GRANULE_BYTES 16