Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
Merge changes from cross-sol-x86-2010-12-20 which adds support for Solaris/x86. There should be no functional changes for either other x86 ports or for the sparc port.
Add -DFEATURE_SSE2 if we're compiling on x86 and have either FEATURE_X87 or FEATURE_SSE2 defined.
First cut at a build for Solaris/x86. Result doesn't work; it gets as far as TYPE-INIT, but then crashes. These changes still allow solaris/sparc and darwin/x86 to build, so we haven't broken both sparc and x86 while doing this. tools/cross-scripts/cross-x86-osx-solaris.lisp: o New cross-compile script to use darwin/x86 to cross-compile to solaris/x86. compiler/x86/parms.lisp: o For now, put thel linkage space start at 0xc0000000 on Solaris/x86. lisp/Config.sparc_common: o Separate out the common parts between Solaris sparc and x86. Move the different parts into the appropriate file. lisp/Config.sparc_sunc: o Add ASSEM_SRC and ARCH_SRC here, with the appropriate OS_SRC, OS_LINK_FLAGS, and OS_LIBS> lisp/Config.x86_solaris_sunc: o New file for building solaris/x86 using Sun C (aka Sun Studio aka Solaris Studio) lisp/interrupt.c: o Use a static array for the altstack. Should eventually do what other x86 platforms do. lisp/solaris-os.c: o Don't need os_flush_icache on x86 (?), so make the body empty for x86. o Add x86 version of os_sigcontext_reg and os_sigcontext_pc. lisp/sunos-os.h: o The pagesize is 4096 on x86 instead of 8192. o Don't need (?) SAVE_CONTEXT. lisp/x86-assem.S: o Update to support Sun C assembler: - Add appropriate GNAME, FUNCDEF and ENDFUNC macros. - Sun assembler doesn't have int3 instruction, so add INT3 macro to do the appropriate things. - Sun assembler doesn't like control L characters in the file so remove them. lisp/x86-validate.h: o Add entry for Solaris. This needs work, but it looks like these values will work.
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. lisp/Config.sparc_common: o Define EXEC_FINAL_OBJ lisp/GNUmakefile: o Make lisp.a depend on EXEC_FINAL_OBJ o On Solaris, add EXEC_FINAL_OBJ to lisp.a. tools/SunOS-cmucl-linker-script: o Remove the line setting the address of builtin_image_flag. tools/linker.sh: o For Solaris, we don't need to define BIFLAG; the builtin_image_flag is automatically set correctly by linking in lisp.a
Merge intl-branch 2010-03-18 to HEAD. To build, you need to use boot-2010-02-1 as the bootstrap file. You should probably also use the new -P option for build.sh to generate and update the po files while building.
Restart internalization work. This new branch starts with code from the intl-branch on date 2010-02-12 18:00:00+0500. This version works and LANG=en@piglatin bin/lisp works (once the piglatin translation is added).
Add new path, as was done for x86.
Add new config for sparc/solaris, matching what was done for x86. The sun4_solaris_gcc and sun4_solaris_sunc configs are now obsolete, but we leave the around for now. Tested both configs and they work. lisp/Config.sparc_common: o New file for common config for gcc and Sun C builds on Solaris lisp/Config.sparc_gcc: o New file for building on sparc/solaris with gcc lisp/Config.sparc_sunc: o New file for building on sparc/solaris with Sun C tools/create-target.sh: o Change default from sun4_solaris_gcc to sparc_gcc to use new configuration.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|