FreeBSD Bugzilla – Attachment 209652 Details for
Bug 242404
www/node: fix build on powerpc64 elfv1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
node.patch (text/plain), 2.69 KB, created by
Piotr Kubaj
on 2019-12-03 13:07:09 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-12-03 13:07:09 UTC
Size:
2.69 KB
patch
obsolete
>Index: files/patch-deps_v8_src_compiler_backend_instruction-selector.cc >=================================================================== >--- files/patch-deps_v8_src_compiler_backend_instruction-selector.cc (nonexistent) >+++ files/patch-deps_v8_src_compiler_backend_instruction-selector.cc (working copy) >@@ -0,0 +1,11 @@ >+--- deps/v8/src/compiler/backend/instruction-selector.cc.orig 2019-12-03 12:54:01 UTC >++++ deps/v8/src/compiler/backend/instruction-selector.cc >+@@ -2812,7 +2812,7 @@ void InstructionSelector::VisitCall(Node* node, BasicB >+ switch (call_descriptor->kind()) { >+ case CallDescriptor::kCallAddress: { >+ int misc_field = static_cast<int>(call_descriptor->ParameterCount()); >+-#if defined(_AIX) >++#if defined(_AIX) || (V8_TARGET_ARCH_PPC_BE && (!defined(_CALL_ELF) || _CALL_ELF == 1)) >+ // Highest misc_field bit is used on AIX to indicate if a CFunction call >+ // has function descriptor or not. >+ misc_field |= call_descriptor->HasFunctionDescriptor() > >Property changes on: files/patch-deps_v8_src_compiler_backend_instruction-selector.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-deps_v8_src_compiler_backend_ppc_code-generator-ppc.cc >=================================================================== >--- files/patch-deps_v8_src_compiler_backend_ppc_code-generator-ppc.cc (nonexistent) >+++ files/patch-deps_v8_src_compiler_backend_ppc_code-generator-ppc.cc (working copy) >@@ -0,0 +1,11 @@ >+--- deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc.orig 2019-12-03 11:33:29 UTC >++++ deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc >+@@ -1025,7 +1025,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleAr >+ Label start_call; >+ bool isWasmCapiFunction = >+ linkage()->GetIncomingDescriptor()->IsWasmCapiFunction(); >+-#if defined(_AIX) >++#if defined(_AIX) || (V8_TARGET_ARCH_PPC_BE && (!defined(_CALL_ELF) || _CALL_ELF == 1)) >+ // AIX/PPC64BE Linux uses a function descriptor >+ int kNumParametersMask = kHasFunctionDescriptorBitMask - 1; >+ num_parameters = kNumParametersMask & misc_field; > >Property changes on: files/patch-deps_v8_src_compiler_backend_ppc_code-generator-ppc.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
bhughes
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 242404
: 209652