Fix the build on ppc/Darwin, with os_context_register_t typedef
and os_context_pc_addr function.
return &context->uc_mcontext->ss.lr;
}
+os_context_register_t *
+os_context_pc_addr(os_context_t *context)
+{
+ return &context->uc_mcontext->ss.srr0;
+}
+
void
os_flush_icache(os_vm_address_t address, os_vm_size_t length)
{
#ifndef _PPC_DARWIN_OS_H
#define _PPC_DARWIN_OS_H
+typedef unsigned int os_context_register_t;
+
static inline os_context_t *arch_os_get_context(void **void_context) {
return (os_context_t *) *void_context;
}
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.0.35"
+"1.0.0.36"