Contents of /src/lisp/exec-final.c
| Revision Log
Thu Jul 29 01:51:12 2010 UTC
(3 years, 7 months ago)
CVS Tags: GIT-CONVERSION, cross-sol-x86-base, snapshot-2010-12, snapshot-2010-11, cross-sol-x86-merged, snapshot-2011-09, snapshot-2011-06, snapshot-2011-07, snapshot-2011-04, snapshot-2011-02, snapshot-2011-03, snapshot-2011-01, release-20b-pre1, release-20b-pre2, cross-sparc-branch-base, snapshot-2010-08, RELEASE_20b, cross-sol-x86-2010-12-20, HEAD
Branch point for: cross-sol-x86-branch, cross-sparc-branch, RELEASE-20B-BRANCH
File MIME type: text/plain
Change how Solaris executables set up builtin_image_flag. Instead of
having the address of builtin_image_flag set to some (random) address
of mapped memory that is non-zero, we add a special file to lisp.a
that defines builtin_image_flag to 1.
o Define EXEC_FINAL_OBJ
o Make lisp.a depend on EXEC_FINAL_OBJ
o On Solaris, add EXEC_FINAL_OBJ to lisp.a.
o Remove the line setting the address of builtin_image_flag.
o For Solaris, we don't need to define BIFLAG; the builtin_image_flag
is automatically set correctly by linking in lisp.a
|| * Variables for executable support.
|| * $Header: /tiger/var/lib/cvsroots/cmucl/src/lisp/exec-final.c,v 1.1 2010/07/29 01:51:12 rtoy Rel $
|| * See lisp.c for documentation, but basically this is linked in for
|| * Solaris executables to indicate that the image is builtin. We must
|| * not define initial_function_addr here because the linker script
|| * will set the value appropriately.
||int builtin_image_flag = 1;