aboutsummaryrefslogtreecommitdiffstats
path: root/www/node25/files/patch-deps-v8-src-codegen-ppc-constants-ppc.h
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /www/node25/files/patch-deps-v8-src-codegen-ppc-constants-ppc.h
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'www/node25/files/patch-deps-v8-src-codegen-ppc-constants-ppc.h')
-rw-r--r--www/node25/files/patch-deps-v8-src-codegen-ppc-constants-ppc.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/node25/files/patch-deps-v8-src-codegen-ppc-constants-ppc.h b/www/node25/files/patch-deps-v8-src-codegen-ppc-constants-ppc.h
new file mode 100644
index 000000000000..436f9a7c82be
--- /dev/null
+++ b/www/node25/files/patch-deps-v8-src-codegen-ppc-constants-ppc.h
@@ -0,0 +1,20 @@
+--- deps/v8/src/codegen/ppc/constants-ppc.h.orig 2025-05-06 12:36:30 UTC
++++ deps/v8/src/codegen/ppc/constants-ppc.h
+@@ -35,7 +35,7 @@
+ #define ABI_PASSES_HANDLES_IN_REGS 0
+ #endif
+
+-#if !V8_HOST_ARCH_PPC64 || !V8_TARGET_ARCH_PPC64 || V8_TARGET_LITTLE_ENDIAN || \
++#if !V8_HOST_ARCH_PPC64 || !V8_TARGET_ARCH_PPC64 || \
+ (defined(_CALL_ELF) && _CALL_ELF == 2)
+ #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 1
+ #else
+@@ -44,7 +44,7 @@
+
+ #if !V8_HOST_ARCH_PPC64 || \
+ (V8_TARGET_ARCH_PPC64 && \
+- (V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2)))
++ (defined(_CALL_ELF) && _CALL_ELF == 2))
+ #define ABI_CALL_VIA_IP 1
+ #else
+ #define ABI_CALL_VIA_IP 0