diff --git a/compiler/generic/core.lisp b/compiler/generic/core.lisp
index 7cce3194d94a3393aead4f2c9a15305d74e2fa9a..27f303ed1c2f3469e1c0dd4beb03a36ca8fc6ada 100644
--- a/compiler/generic/core.lisp
+++ b/compiler/generic/core.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/core.lisp,v 1.32 1997/01/18 14:31:14 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/core.lisp,v 1.33 1997/04/01 12:04:25 pw Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -95,8 +95,13 @@
 	     (gethash name lisp::*assembler-routines*))
 	    (:foreign
 	     (assert (stringp name))
-	     (gethash name lisp::*foreign-symbols*))
-	    ;;; pw -- don't the RISC systems need this too?
+	     (multiple-value-bind
+		   (value found)
+		 (gethash name lisp::*foreign-symbols*)
+	       (if found
+		   (values value found)
+		   (gethash (concatenate 'string "PVE_stub_" name)
+			    lisp::*foreign-symbols*))))
 	    #+x86
 	    (:code-object
 	     (values