mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-15 13:54:14 +00:00
abseil-cpp: Fix ppc/musl patch
typecasting to pt_regs is not needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
dc989053c7
commit
cd1f51b603
@ -62,7 +62,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
+#elif defined(__powerpc__) && defined(__GLIBC__)
|
||||
return reinterpret_cast<void*>(context->uc_mcontext.uc_regs->gregs[32]);
|
||||
+#elif defined(__powerpc__)
|
||||
+ return reinterpret_cast<void*>(((struct pt_regs *)context->uc_regs)->gregs[32]);
|
||||
+ return reinterpret_cast<void*>((context->uc_regs)->gregs[32]);
|
||||
#elif defined(__riscv)
|
||||
return reinterpret_cast<void*>(context->uc_mcontext.__gregs[REG_PC]);
|
||||
#elif defined(__s390__) && !defined(__s390x__)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user