summaryrefslogtreecommitdiff
path: root/boehm-gc/os_dep.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-16 19:38:59 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-16 19:38:59 +0000
commit3300270f208cd3e1719beb3baee4e7186e9eb865 (patch)
tree40dfd5349e1228940b798a45f7fde50ee8960d62 /boehm-gc/os_dep.c
parent0ab5481f30050ed8a84fb6f77fdf48f0fc0678c4 (diff)
downloadgcc-3300270f208cd3e1719beb3baee4e7186e9eb865.tar.gz
2007-01-16 Petr Salinger <Petr.Salinger@seznam.cz>
* include/private/gcconfig.h: Handle amd64/x86-64 cpu under GNU/kFreeBSD. * os_dep.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120831 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/os_dep.c')
-rw-r--r--boehm-gc/os_dep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/boehm-gc/os_dep.c b/boehm-gc/os_dep.c
index de7cdd57b0d..540dcba5321 100644
--- a/boehm-gc/os_dep.c
+++ b/boehm-gc/os_dep.c
@@ -84,7 +84,7 @@
# define NEED_FIND_LIMIT
# endif
-#if defined(FREEBSD) && (defined(I386) || defined(powerpc) || defined(__powerpc__))
+#if defined(FREEBSD) && (defined(I386) || defined(X86_64) || defined(powerpc) || defined(__powerpc__))
# include <machine/trap.h>
# if !defined(PCR)
# define NEED_FIND_LIMIT
@@ -1392,7 +1392,7 @@ int * etext_addr;
}
# endif
-# if defined(FREEBSD) && (defined(I386) || defined(powerpc) || defined(__powerpc__)) && !defined(PCR)
+# if defined(FREEBSD) && (defined(I386) || defined(X86_64) || defined(powerpc) || defined(__powerpc__)) && !defined(PCR)
/* Its unclear whether this should be identical to the above, or */
/* whether it should apply to non-X86 architectures. */
/* For now we don't assume that there is always an empty page after */