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.
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.
Use appropriate flags for SunStudio 12.
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|