projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.21.21: fix & share EXTERN-ALIEN-NAME logic (fixes bug #373)
[sbcl.git]
/
src
/
compiler
/
sparc
/
c-call.lisp
diff --git
a/src/compiler/sparc/c-call.lisp
b/src/compiler/sparc/c-call.lisp
index
bcb126c
..
83b5e8c
100644
(file)
--- a/
src/compiler/sparc/c-call.lisp
+++ b/
src/compiler/sparc/c-call.lisp
@@
-192,8
+192,7
@@
(:results (res :scs (sap-reg)))
(:result-types system-area-pointer)
(:generator 2
(:results (res :scs (sap-reg)))
(:result-types system-area-pointer)
(:generator 2
- (inst li res (make-fixup (extern-alien-name foreign-symbol)
- :foreign))))
+ (inst li res (make-fixup foreign-symbol :foreign))))
#!+linkage-table
(define-vop (foreign-symbol-dataref-address)
#!+linkage-table
(define-vop (foreign-symbol-dataref-address)
@@
-206,8
+205,7
@@
(:result-types system-area-pointer)
(:temporary (:scs (non-descriptor-reg)) addr)
(:generator 2
(:result-types system-area-pointer)
(:temporary (:scs (non-descriptor-reg)) addr)
(:generator 2
- (inst li addr (make-fixup (extern-alien-name foreign-symbol)
- :foreign-dataref))
+ (inst li addr (make-fixup foreign-symbol :foreign-dataref))
(loadw res addr)))
(define-vop (call-out)
(loadw res addr)))
(define-vop (call-out)
@@
-227,7
+225,7
@@
(when cur-nfp
(store-stack-tn nfp-save cur-nfp))
(move cfunc function)
(when cur-nfp
(store-stack-tn nfp-save cur-nfp))
(move cfunc function)
- (inst li temp (make-fixup (extern-alien-name "call_into_c") :foreign))
+ (inst li temp (make-fixup "call_into_c" :foreign))
(inst jal lip temp)
(inst nop)
(when cur-nfp
(inst jal lip temp)
(inst nop)
(when cur-nfp