]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-linux-ppc.64.hpp
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / os-linux-ppc.64.hpp
index cd76a010483d09721203f58edef9d846ce756b00..f1e2d58cf8bf08e3222a8e4c0e9bcd451adcb820 100644 (file)
@@ -2,13 +2,10 @@
 
 namespace factor {
 
-#define FRAME_RETURN_ADDRESS(frame, vm) \
-  *((void**)(vm->frame_successor(frame) + 1) + 2)
 #define UAP_STACK_POINTER(ucontext) \
   ((ucontext_t*)ucontext)->uc_mcontext.gp_regs[1]
 #define UAP_PROGRAM_COUNTER(ucontext) \
   (((ucontext_t*)ucontext)->uc_mcontext.gp_regs[32])
-#define UAP_SET_TOC_POINTER(uap, ptr) (void)0
 
 #define FACTOR_PPC_TOC 1
 
@@ -24,8 +21,6 @@ namespace factor {
 
 #define FUNCTION_TOC_POINTER(ptr) (function_descriptor_field((void*)ptr, 1))
 
-#define UAP_STACK_POINTER_TYPE unsigned long
-
 inline static unsigned int uap_fpu_status(void* uap) {
   union {
     double as_double;