mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
wrap long lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30662 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e354df963d
commit
7be164c0ea
@ -70,7 +70,8 @@ static void EmitBranchToAt(uint64_t At, uint64_t To, bool isCall, bool is64Bit){
|
|||||||
extern "C" void PPC32CompilationCallback();
|
extern "C" void PPC32CompilationCallback();
|
||||||
extern "C" void PPC64CompilationCallback();
|
extern "C" void PPC64CompilationCallback();
|
||||||
|
|
||||||
#if (defined(__POWERPC__) || defined (__ppc__) || defined(_POWER)) && !defined(__ppc64__)
|
#if (defined(__POWERPC__) || defined (__ppc__) || defined(_POWER)) && \
|
||||||
|
!defined(__ppc64__)
|
||||||
// CompilationCallback stub - We can't use a C function with inline assembly in
|
// 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,
|
// 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
|
// write our own wrapper, which does things our way, so we have complete control
|
||||||
@ -135,7 +136,8 @@ void PPC32CompilationCallback() {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined(__POWERPC__) || defined (__ppc__) || defined(_POWER)) && defined(__ppc64__)
|
#if (defined(__POWERPC__) || defined (__ppc__) || defined(_POWER)) && \
|
||||||
|
defined(__ppc64__)
|
||||||
asm(
|
asm(
|
||||||
".text\n"
|
".text\n"
|
||||||
".align 2\n"
|
".align 2\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user