Author: Sam James
Date: 2022-01-27T23:21:07+01:00
New Revision: 11c2ef5638c3cff489744f1d342cd92e2a864614

URL: 
https://github.com/llvm/llvm-project/commit/11c2ef5638c3cff489744f1d342cd92e2a864614
DIFF: 
https://github.com/llvm/llvm-project/commit/11c2ef5638c3cff489744f1d342cd92e2a864614.diff

LOG: unwind: fix typo for __powerpc__

Fixes: cd20e579df07517a4ddbf6eef58b96d04f6bd9a9
Signed-off-by: Sam James <s...@gentoo.org>

Added: 
    

Modified: 
    libunwind/src/UnwindRegistersSave.S

Removed: 
    


################################################################################
diff  --git a/libunwind/src/UnwindRegistersSave.S 
b/libunwind/src/UnwindRegistersSave.S
index 42fd7ed1a1b61..7af5c9d154fb3 100644
--- a/libunwind/src/UnwindRegistersSave.S
+++ b/libunwind/src/UnwindRegistersSave.S
@@ -326,7 +326,7 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext)
 DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext)
   teq $0, $0
 
-#elif defined(__powerpc__)
+#elif defined(__powerpc64__)
 
 //
 // extern int __unw_getcontext(unw_context_t* thread_state)


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to