Hello all,
Below this email is a log message of a commit I just made to FreeBSD's
SVN repository. It looks like libcompiler_rt now has yet another
customer!
Unfortunately it doesn't build on all architectures supported by FreeBSD
by default, so I had to patch it as follows:
--- lib/clear_cache.c
+++ lib/clear_cache.c
@@ -8,6 +8,7 @@
* ===----------------------------------------------------------------------===
*/
+#include "int_lib.h"
#include <stdlib.h>
#if __APPLE__
--- lib/trampoline_setup.c
+++ lib/trampoline_setup.c
@@ -23,7 +23,7 @@ extern void __clear_cache(void* start, v
* and then jumps to the target nested function.
*/
-#if __ppc__
+#if __ppc__ && !defined(__powerpc64__)
void __trampoline_setup(uint32_t* trampOnStack, int trampSizeAllocated,
const void* realFunc, void* localsPtr)
{
Greetings,