1 --- deps/v8/src/codegen/ppc/constants-ppc.h.orig	2025-05-06 12:36:30 UTC
2 +++ deps/v8/src/codegen/ppc/constants-ppc.h
3 @@ -35,7 +35,7 @@
4  #define ABI_PASSES_HANDLES_IN_REGS 0
5  #endif
6 
7 -#if !V8_HOST_ARCH_PPC64 || !V8_TARGET_ARCH_PPC64 || V8_TARGET_LITTLE_ENDIAN || \
8 +#if !V8_HOST_ARCH_PPC64 || !V8_TARGET_ARCH_PPC64 || \
9      (defined(_CALL_ELF) && _CALL_ELF == 2)
10  #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 1
11  #else
12 @@ -44,7 +44,7 @@
13 
14  #if !V8_HOST_ARCH_PPC64 ||   \
15      (V8_TARGET_ARCH_PPC64 && \
16 -     (V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2)))
17 +     (defined(_CALL_ELF) && _CALL_ELF == 2))
18  #define ABI_CALL_VIA_IP 1
19  #else
20  #define ABI_CALL_VIA_IP 0
21