Hi, this is a backport from gc mainline of the basic AArch64 support (it covers the Linux and bare machine mode). I tested it on the Foundation model with enabling the objc frontend, and passing the testsuite manually (maybe I miss-configured it, but it seems that the boehm-gc testsuite is not cross-environment friendly, as the gctest script looks for the host gcc build tree), and everything is fine, except the thread_leak_test which has a different output than the x86 one:
x86 thread_leak_test output Leaked composite object at 0x2aaaaab05fe0 (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, sz=4, NORMAL) Leaked composite object at start: 0x2aaaaab03fa0, appr. length: 40 Leaked composite object at 0x2aaaaab05ec0 (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, sz=4, NORMAL) Leaked composite object at 0x2aaaaab05f20 (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, sz=4, NORMAL) Leaked composite object at start: 0x2aaaaab03f50, appr. length: 40 Leaked composite object at start: 0x2aaaaab03f78, appr. length: 40 Leaked composite object at 0x2aaaaab05ef0 (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, sz=4, NORMAL) Leaked composite object at start: 0x2aaaaab03fa0, appr. length: 40 Leaked composite object at 0x2aaaaab05e00 (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, sz=4, NORMAL) Leaked composite object at start: 0x2aaaaab03f78, appr. length: 40 AArch64 thread_leak_test output: Leaked composite object at 0x7f91e14ef0 (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, sz=4, NORMAL) Leaked composite object at 0x7f91e14fe0 (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, sz=4, NORMAL) Leaked composite object at 0x7f91e14e00 (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, sz=4, NORMAL) Leaked composite object at 0x7f91e14e30 (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, sz=4, NORMAL) Leaked composite object at 0x7f91e14fe0 (/work/sources/gcc-fsf/bgc/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:21, sz=4, NORMAL) Regards, Yvan 2013-03-16 Yvan Roux <yvan.r...@linaro.org> * include/private/gcconfig.h (AARCH64): New macro (defined only if __aarch64__). * include/private/gcconfig.h (mach_type_known): Update comment adding ARM AArch64 target. * include/private/gcconfig.h (NOSYS, mach_type_known, CPP_WORDSZ, MACH_TYPE, ALIGNMENT, HBLKSIZE, OS_TYPE, LINUX_STACKBOTTOM, USE_GENERIC_PUSH_REGS, DYNAMIC_LOADING, DATASTART, DATAEND, STACKBOTTOM): Define for AArch64.
boehm-gc-aarch64.patch
Description: Binary data