Merge "riscv64: say "x3" rather than "gp" in shadow call stack assembler." am: ad333b6161 am: 7e6e6d64ee am: 54b76d6a2b

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2592806

Change-Id: I8465f12ba1f4d1db23915b9c6ed4c4c6a7591075
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libc/bionic/pthread_create.cpp b/libc/bionic/pthread_create.cpp
index 7bf9b40..844f9d8 100644
--- a/libc/bionic/pthread_create.cpp
+++ b/libc/bionic/pthread_create.cpp
@@ -140,7 +140,7 @@
 #if defined(__aarch64__)
   __asm__ __volatile__("mov x18, %0" ::"r"(scs));
 #elif defined(__riscv)
-  __asm__ __volatile__("mv gp, %0" ::"r"(scs));
+  __asm__ __volatile__("mv x3, %0" ::"r"(scs));
 #endif
 #endif
 }