forked from Lainports/freebsd-ports
Update to the latest major release of Node.js, which includes many significant changes. Users are encouraged to read the release notes before upgrading. https://nodejs.org/en/blog/release/v15.0.0/ While here, refresh existing patches with `make makepatch`, removing some powerpc* related patches that have been adopted/reworked upstream in V8. Remove the dependency on dns/c-ares and use the bundled version instead, since Node.js has adopted a change to c-ares that has not yet been released. The dependency will be re-added once dns/c-ares has been updated to a release that contains support for CAA DNS records. An UPDATING entry has also been added to include a notice about this major version upgrade, and steps users can take to continue using the v14.x line, which is now LTS. Sponsored by: Miles AS
13 lines
664 B
C++
13 lines
664 B
C++
--- deps/v8/src/libsampler/sampler.cc.orig 2020-10-20 11:49:50 UTC
|
|
+++ deps/v8/src/libsampler/sampler.cc
|
|
@@ -489,6 +489,10 @@ void SignalHandler::FillRegisterState(void* context, R
|
|
state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
|
|
state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
|
|
state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
|
|
+#elif V8_TARGET_ARCH_PPC_BE
|
|
+ state->pc = reinterpret_cast<void*>(mcontext.mc_srr0);
|
|
+ state->sp = reinterpret_cast<void*>(mcontext.mc_frame[1]);
|
|
+ state->fp = reinterpret_cast<void*>(mcontext.mc_frame[31]);
|
|
#endif // V8_HOST_ARCH_*
|
|
#elif V8_OS_NETBSD
|
|
#if V8_HOST_ARCH_IA32
|