]> granicus.if.org Git - gc/commit
Fix support of FreeBSD/aarch64
authorCarlos J. Puga Medina <cpm@fbsd.es>
Sat, 11 Jul 2015 18:31:40 +0000 (21:31 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 11 Jul 2015 18:31:40 +0000 (21:31 +0300)
commit1179fde261d2974f36ec5e2880a44028bd4a32ec
treed34b41d0fa5e86b35c65225dd34aef6417d868b7
parent48165d30b720091fca279a236ec100c90df5a96c
Fix support of FreeBSD/aarch64

* include/private/gc_priv.h: Include machine/trap.h if qqqFREEBSD and
AARCH64 defined.
* os_dep.c (GC_FreeBSDGetDataStart, CODE_OK): Define if FREEBSD and
AARCH64.
* include/private/gc_priv.h: Replace checking powerpc/__powerpc__
macros with POWERPC.
* os_dep.c: Likewise.
* include/private/gcconfig.h (ALIGNMENT, HEURISTIC2,
SEARCH_FOR_DATA_START): Do not define for FREEBSD/AARCH64.
* include/private/gcconfig.h (MPROTECT_VDB, FREEBSD_STACKBOTTOM,
DATASTART, DATASTART_IS_FUNC): Define if FREEBSD and AARCH64 defined.
include/private/gc_priv.h
include/private/gcconfig.h
os_dep.c