From 37ce985739f8f7b85d58fd502960f1402923f67d Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 16 Jul 2013 09:59:51 +0000 Subject: [PATCH] PPCJITInfo.cpp: Tweak r186252 with s/__ppc/__powerpc/ to work on powerpc-linux Fedora 12. g++ (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10) llvm-svn: 186396 --- llvm/lib/Target/PowerPC/PPCJITInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/PowerPC/PPCJITInfo.cpp b/llvm/lib/Target/PowerPC/PPCJITInfo.cpp index 9f4525b..1745061 100644 --- a/llvm/lib/Target/PowerPC/PPCJITInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCJITInfo.cpp @@ -71,7 +71,7 @@ static void EmitBranchToAt(uint64_t At, uint64_t To, bool isCall, bool is64Bit){ extern "C" void PPC32CompilationCallback(); extern "C" void PPC64CompilationCallback(); -#if !defined(__ppc__) || defined(__ppc64__) +#if !defined(__powerpc__) || defined(__powerpc64__) void PPC32CompilationCallback() { llvm_unreachable("This is not a 32bit PowerPC, you can't execute this!"); } @@ -202,7 +202,7 @@ asm( ); #endif -#ifndef __ppc64__ +#ifndef __powerpc64__ void PPC64CompilationCallback() { llvm_unreachable("This is not a 64bit PowerPC, you can't execute this!"); } -- 2.7.4