mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Add FreeBSD/PPC support, patch by Marcel Moolenaar!
llvm-svn: 51538
This commit is contained in:
parent
3def8b4e53
commit
a9c89da681
@ -72,7 +72,7 @@ extern "C" void PPC32CompilationCallback();
|
||||
extern "C" void PPC64CompilationCallback();
|
||||
|
||||
#if (defined(__POWERPC__) || defined (__ppc__) || defined(_POWER)) && \
|
||||
!defined(__ppc64__)
|
||||
!(defined(__ppc64__) || defined(__FreeBSD__))
|
||||
// CompilationCallback stub - We can't use a C function with inline assembly in
|
||||
// it, because we the prolog/epilog inserted by GCC won't work for us. Instead,
|
||||
// write our own wrapper, which does things our way, so we have complete control
|
||||
@ -138,7 +138,7 @@ asm(
|
||||
);
|
||||
|
||||
#elif defined(__PPC__) && !defined(__ppc64__)
|
||||
// Linux/PPC support
|
||||
// Linux & FreeBSD / PPC 32 support
|
||||
|
||||
// CompilationCallback stub - We can't use a C function with inline assembly in
|
||||
// it, because we the prolog/epilog inserted by GCC won't work for us. Instead,
|
||||
|
Loading…
Reference in New Issue
Block a user