[llvm] r186396 - PPCJITInfo.cpp: Tweak r186252 with s/__ppc/__powerpc/ to work on powerpc-linux Fedora 12.

NAKAMURA Takumi geek4civic at gmail.com
Tue Jul 16 02:59:51 PDT 2013


Author: chapuni
Date: Tue Jul 16 04:59:51 2013
New Revision: 186396

URL: http://llvm.org/viewvc/llvm-project?rev=186396&view=rev
Log:
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)

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp?rev=186396&r1=186395&r2=186396&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp Tue Jul 16 04:59:51 2013
@@ -71,7 +71,7 @@ static void EmitBranchToAt(uint64_t At,
 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!");
 }





More information about the llvm-commits mailing list