projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.0.27: various PCL cleanups in cache.lisp
[sbcl.git]
/
tests
/
foreign-stack-alignment.impure.lisp
diff --git
a/tests/foreign-stack-alignment.impure.lisp
b/tests/foreign-stack-alignment.impure.lisp
index
9ed1a02
..
0f416e3
100644
(file)
--- a/
tests/foreign-stack-alignment.impure.lisp
+++ b/
tests/foreign-stack-alignment.impure.lisp
@@
-32,9
+32,9
@@
(defvar *required-alignment*
#+(and ppc darwin) 16
(defvar *required-alignment*
#+(and ppc darwin) 16
- #+(and ppc linux) 16
+ #+(and ppc linux) 8
#+x86-64 16
#+x86-64 16
- #+(or mips) 8
+ #+mips 8
#+x86 4
#-(or x86 x86-64 mips (and ppc (or darwin linux))) (error "Unknown platform"))
#+x86 4
#-(or x86 x86-64 mips (and ppc (or darwin linux))) (error "Unknown platform"))
@@
-43,7
+43,7
@@
;;;; number.
(run "cc"
;;;; number.
(run "cc"
- #+x86-64 "-fPIC"
+ #+(and linux (or x86-64 ppc)) "-fPIC"
"stack-alignment-offset.c" "-o" "stack-alignment-offset")
(defparameter *good-offset*
"stack-alignment-offset.c" "-o" "stack-alignment-offset")
(defparameter *good-offset*
@@
-53,7
+53,7
@@
;;;; Build the tool again, this time as a shared object, and load it
(run "cc" "stack-alignment-offset.c"
;;;; Build the tool again, this time as a shared object, and load it
(run "cc" "stack-alignment-offset.c"
- #+x86-64 "-fPIC"
+ #+(and linux (or x86-64 ppc)) "-fPIC"
#+darwin "-bundle" #-darwin "-shared"
"-o" "stack-alignment-offset.so")
#+darwin "-bundle" #-darwin "-shared"
"-o" "stack-alignment-offset.so")