Skip to content

Commit

Permalink
0.9.5.84: fix PPC stack alignment problems in call_into_c on Darwin
Browse files Browse the repository at this point in the history
   * Fix from Cyrus Harmon, 2005-10-19, "PPC alignment redux"
   * When calling into C, OS X expects the stack to be 16-byte aligned or
     else C functions which use AltiVec see strange corruption
  • Loading branch information
Brian Mastenbrook committed Oct 23, 2005
1 parent e4e40e4 commit c2dd4d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime/ppc-assem.S
Expand Up @@ -72,7 +72,7 @@ x:
(NFPR_SAVE_BYTES(first_f)+ NGPR_SAVE_BYTES(first_g)+ FRAME_ARG_BYTES(out_arg_words))
#define SAVE_FPR(n) stfd f##n,-8*(32- n)(r11)
#define SAVE_GPR(n) stw r##n,-4*(32- n)(r11)
#define FULL_FRAME_SIZE FRAME_SIZE(FIRST_SAVE_GPR,FIRST_SAVE_FPR,8,1)
#define FULL_FRAME_SIZE (FRAME_SIZE(FIRST_SAVE_GPR,FIRST_SAVE_FPR,8,1)+15&~15)
#define RESTORE_FPR(n) lfd f##n,-8*(32- n)(r11)
#define RESTORE_GPR(n) lwz r##n,-4*(32- n)(r11)
#else
Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Expand Up @@ -17,4 +17,4 @@
;;; 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".)
"0.9.5.83"
"0.9.5.84"

0 comments on commit c2dd4d6

Please sign in to comment.