/[cmucl]/src/lisp/lisp.c
ViewVC logotype

Log of /src/lisp/lisp.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.84 - (view) (annotate) - [select for diffs]
Thu Sep 1 05:18:26 2011 UTC (2 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, snapshot-2011-09
Changes since 1.83: +11 -1 lines
Diff to previous 1.83
Add os_init0 to allow for some really early OS inits.

On Linux, os_init can re-exec lisp to set up the correct personality.
Not normally a problem, but if any output happens before os_init is
called, the output appears to happen twice.  So add os_init0 to do
this early on, before any output.  This is a bit of a kludge.

lisp/lisp.c:
o Call os_init0 early in main.

lisp/Linux-os.c:
o Move the personality stuff from os_init to os_init0.

lisp/Darwin-os.c:
lisp/FreeBSD-os.c:
lisp/NetBSD-os.c:
lisp/OpenBSD-os.c:
lisp/hpux-os.c:
lisp/irix-os.c:
lisp/mach-os.c:
lisp/osf1-os.c:
lisp/solaris-os.c:
lisp/sunos-os.c:
o Add dummy implementation of os_init0.  These OSes don't (currently)
  need anything special.

lisp/os.h:
o Declare os_init0.

Revision 1.83 - (view) (annotate) - [select for diffs]
Fri Jun 10 19:32:31 2011 UTC (2 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2011-07
Changes since 1.82: +3 -3 lines
Diff to previous 1.82
Allow specifying a core with an executable image.

There's no reason why this shouldn't work and tests show that it does
work.  So instead of disallowing it, just print a warning that it is
unusual.  Fred also said this should work; it's just a bit odd running
a 30MB executable with a 30MB core.

Revision 1.82 - (view) (annotate) - [select for diffs]
Tue May 31 13:26:41 2011 UTC (2 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2011-06
Changes since 1.81: +8 -1 lines
Diff to previous 1.81
Add -unidata option to specify unidata.bin file.

This change requires a cross-compile.  Use boot-2011-04-01-cross.lisp
as the cross-compile script.

bootfiles/20b/boot-2011-04-01-cross.lisp:
o New cross-compile bootstrap file

lisp/lisp.c:
o Recognize -unidata option and setup *UNIDATA-PATH* appropriately.

code/commandline.lisp:
o Add defswitch for unidata so we don't get complaints about unknown
  switch.

code/unidata.lisp:
o Rename +UNIDATA-PATH+ to *UNIDATA-PATH*, since it's not a constant
  anymore.
o Update code to use new name.

code/print.lisp:
o Update code to use *UNIDATA-PATH*

compiler/sparc/parms.lisp:
o Add *UNIDATA-PATH* to list of static symbols.
o Add back in spare-9 and spare-8 static symbols since we need to do a
  cross-compile for this change anyway.

compiler/x86/parms.lisp:
o Add *UNIDATA-PATH* to list of static symbols.
o Reorder the static symbols in a more logical arrangment so that the
  spare symbols are at the end.

i18n/local/cmucl.pot:
o Update

Revision 1.81 - (view) (annotate) - [select for diffs]
Sun Dec 26 16:04:43 2010 UTC (3 years, 3 months ago) by rswindells
Branch: MAIN
CVS Tags: snapshot-2011-01, snapshot-2011-02, snapshot-2011-03, snapshot-2011-04
Changes since 1.80: +3 -3 lines
Diff to previous 1.80
Add a test for whether the operating system supports use of the SSE2
registers. The test is a stub on everything except NetBSD for now.

Revision 1.80 - (view) (annotate) - [select for diffs]
Thu Dec 23 03:20:27 2010 UTC (3 years, 3 months ago) by rtoy
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79
Add support for NetBSD for the new executable image implementation.

lisp/Config_x86_netbsd:
o Define EXEC_FINAL_OBJ, like other x86 ports.

lisp/elf.c:
o Use the new linker.sh command script to link the executable.

lisp/lisp.c:
o Use new method of getting the initial_function.

Revision 1.79 - (view) (annotate) - [select for diffs]
Thu Dec 23 02:14:57 2010 UTC (3 years, 3 months ago) by rtoy
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78
Solaris/sparc and Solaris/x86 both use the same executable style so
get the initial_function from the initial_function_addr, not the
address of initial_function_addr.

Revision 1.78 - (view) (annotate) - [select for diffs]
Sun Sep 26 20:38:45 2010 UTC (3 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: cross-sol-x86-2010-12-20, cross-sol-x86-base, cross-sol-x86-merged, cross-sparc-branch-base, snapshot-2010-11, snapshot-2010-12
Branch point for: cross-sol-x86-branch, cross-sparc-branch
Changes since 1.77: +55 -62 lines
Diff to previous 1.77
Clean up code using FEATURE_EXECUTABLE.  Since builtin_image_flag is
always part of the build now, we can remove most of the
conditionalization on FEATURE_EXECUTABLE.  Only need to preserve the
part about calling map_core_sections, which is only defined if
FEATURE_EXECUTABLE is defined.

Revision 1.77 - (view) (annotate) - [select for diffs]
Mon Aug 2 03:58:59 2010 UTC (3 years, 8 months ago) by agoncharov
Branch: MAIN
CVS Tags: RELEASE_20b, release-20b-pre1, release-20b-pre2, snapshot-2010-08
Branch point for: RELEASE-20B-BRANCH
Changes since 1.76: +2 -2 lines
Diff to previous 1.76
Various, small (EXECUTABLE, FreeBSD, no warinings, typo)

Revision 1.76 - (view) (annotate) - [select for diffs]
Sun Aug 1 14:47:14 2010 UTC (3 years, 8 months ago) by rtoy
Branch: MAIN
Changes since 1.75: +41 -23 lines
Diff to previous 1.75
No functional changes.  Just update and clarify comments.

Revision 1.75 - (view) (annotate) - [select for diffs]
Sun Aug 1 12:32:11 2010 UTC (3 years, 8 months ago) by agoncharov
Branch: MAIN
Changes since 1.74: +3 -3 lines
Diff to previous 1.74
EXECUTABLE for FreeBSD; plus add libmd to the build

Revision 1.74 - (view) (annotate) - [select for diffs]
Sat Jul 31 01:07:15 2010 UTC (3 years, 8 months ago) by rtoy
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73
Update how executable images are done on Solaris to match Linux and
Darwin.

lisp/elf.h:
o Solaris can use linux-x86.sh too.  (Need to rename this someday!)

lisp/elf.c:
o Use same command line for sparc as for linux.

lisp/lisp.c:
o Setup up initial_function the same way as on linux.

tools/linker-x86.sh:
o Add -rdynamic or -Bdynamic as needed.
o Add support for Solaris using Sun C.

Revision 1.73 - (view) (annotate) - [select for diffs]
Fri Jul 30 22:51:58 2010 UTC (3 years, 8 months ago) by rtoy
Branch: MAIN
Changes since 1.72: +6 -4 lines
Diff to previous 1.72
First cut at executable images on Darwin/x86.  The resulting
executable appears to work!

bootfiles/20a/boot-2010-07-1.lisp:
o Add :executable for darwin/x86.

code/bsd-os.lisp:
o Make :elf and :mach-o runtime features too.
o Register :executable of :executable is defined.

lisp/Config.x86_darwin:
o Need mach-o.c
o Add exec-final.c

lisp/lisp.c:
o Don't include elf.h if we're on Darwin since Darwin uses Mach-O, not
  ELF.
o For Darwin, we get the initial function address from
  initial_function_addr, not from &initial_function_addr, like for
  Linux.

lisp/save.c
o Don't include libgen.h and elf.h on Darwin.

tools/linker-x86.sh:
o Update to support Darwin.

tools/make-main-dist.sh:
o Add support for executables on Darwin.

lisp/mach-o.c:
o Initial support for writing Mach-O files for the Lisp spaces.
o Initial support for reading a Mach-O executable to find and map the
  Lisp spaces.

Revision 1.72 - (view) (annotate) - [select for diffs]
Fri Jul 30 20:26:11 2010 UTC (3 years, 8 months ago) by rtoy
Branch: MAIN
Changes since 1.71: +9 -3 lines
Diff to previous 1.71
Some cleanup for Linux executables.  The value of the
initial_function_addr is saved to a file and compiled in when linking
the executable.  This makes building the executable more portable.
All that's need is a way for gcc to link all of lisp.a and to set the
starting address of some segments.

lisp/lisp.c:
o For Linux, use the value of initial_function_addr instead of the
  address.

tools/linker-x86.sh:
o Disable -x option, unless CMU_DEBUG_LINKER is not empty.
o Instead of using --defsym feature of GNU ld, save the initial
  function address in a file to be compiled when making the
  executable.

lisp/elf.c:
o Remove printing of the sizeof elf headers
o Print some info about the object being written and print somewhat
  neatly.

lisp/save.c:
o Rework printing info of the core objects.  Let write_elf_object do
  it.

Revision 1.71 - (view) (annotate) - [select for diffs]
Mon Jul 26 15:58:47 2010 UTC (3 years, 8 months ago) by rtoy
Branch: MAIN
Changes since 1.70: +12 -2 lines
Diff to previous 1.70
Make executables work again on Linux.  (At least on openSuSE 11.2).

lisp/lisp.c:
o Apparently tzset can call malloc on openSuSE 11.2.  This messes up
  mapping the dynamic space on executables because the heap appears to
  be allocated at the same place as the dynamic space.  Move tzset to
  the very end, after the Lisp spaces have been mapped.

tools/Linux-cmucl-linker-script:
o Update the linker script from the default version on openSuSE 11.2.

Revision 1.70 - (view) (annotate) - [select for diffs]
Mon Feb 1 15:16:09 2010 UTC (4 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: intl-2-branch-base, intl-branch-2010-03-18-1300, intl-branch-base, intl-branch-working-2010-02-11-1000, intl-branch-working-2010-02-19-1000, post-merge-intl-branch, pre-merge-intl-branch, snapshot-2010-03, snapshot-2010-04, snapshot-2010-05, snapshot-2010-06, snapshot-2010-07, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base
Branch point for: intl-2-branch, intl-branch, sparc-tramp-assem-branch
Changes since 1.69: +2 -2 lines
Diff to previous 1.69
Patch from Stelian Ionescu on cmucl-imp, 2010/02/01:

    When run on a kernel compiled without COMPAT_BRK CMUCL segfaults,
    so I copied the kludge used by SBCL - check the current
    personality, and if necessary, enable ADDR_NO_RANDOMIZE and
    re-exec itself.

Linux-os.c:
o Check for personality and rexec if necessary.

os.h:
o New prototype for os_init needed because it needs argv and envp.

lisp.c:
Darwin-os.c:
FreeBSD-os.c:
NetBSD-os.c:
OpenBSD-os.c:
hpux-os.c:
irix-os.c:
mach-os.c:
osf1-os.c:
solaris-os.c:
sunos-os.c:
o Update call to os_init, which needs argv and envp now.

Revision 1.69 - (view) (annotate) - [select for diffs]
Fri Dec 18 04:03:24 2009 UTC (4 years, 3 months ago) by agoncharov
Branch: MAIN
CVS Tags: snapshot-2010-01, snapshot-2010-02
Changes since 1.68: +3 -3 lines
Diff to previous 1.68
of (FresBSD+) Get rid of gcc warnings: int != ulong; char *strdup() != int strdup; lisp space

Revision 1.68 - (view) (annotate) - [select for diffs]
Mon Jul 13 19:41:54 2009 UTC (4 years, 9 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20a, amd64-dd-start, release-20a-base, release-20a-pre1, snapshot-2009-08, snapshot-2009-11, snapshot-2009-12, unicode-string-buffer-base, unicode-string-buffer-impl-base
Branch point for: RELEASE-20A-BRANCH, amd64-dd-branch, unicode-string-buffer-branch, unicode-string-buffer-impl-branch
Changes since 1.67: +2 -2 lines
Diff to previous 1.67
lisp/lisp.c:
o Make debug_lisp_search global instead of static.

lisp/elf.c:
o Use debug_lisp_search to control printing of some debug information
  when searching for the linker script.
o Update to support executables with Unicode support.  (CMUCL_LIB is a
  wide string, so we need to hack that into a C string.  This needs
  work.)

Revision 1.62.4.2 - (view) (annotate) - [select for diffs]
Wed Mar 18 15:37:29 2009 UTC (5 years, 1 month ago) by rtoy
Branch: unicode-utf16-extfmt-branch
CVS Tags: unicode-snapshot-2009-05, unicode-snapshot-2009-06, unicode-utf16-extfmt-2009-03-27, unicode-utf16-extfmt-2009-06-11
Changes since 1.62.4.1: +79 -52 lines
Diff to previous 1.62.4.1 , to branch point 1.62 , to next main 1.84
Sync to utf16 branch, tag unicode-utf16-sync-label-2009-03-16.

Revision 1.62.2.2 - (view) (annotate) - [select for diffs]
Mon Mar 16 21:10:56 2009 UTC (5 years, 1 month ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-char-support-2009-03-25, unicode-utf16-char-support-2009-03-26, unicode-utf16-sync-label-2009-03-16
Changes since 1.62.2.1: +79 -52 lines
Diff to previous 1.62.2.1 , to branch point 1.62 , to next main 1.84
Sync to CVS HEAD, tag label-2009-03-16.

But don't sync Config.FreeBSD_gencgc, Config.x86_freebsd,
FreeBSD-os.c, and FreeBSD-os.h.  Let Alex sync those later.

The result seems to work as expected on Solaris and x86/linux.
Darwin (ppc or x86) untested.

Revision 1.67 - (view) (annotate) - [select for diffs]
Tue Jan 20 03:58:11 2009 UTC (5 years, 2 months ago) by agoncharov
Branch: MAIN
CVS Tags: RELEASE_19f, label-2009-03-16, label-2009-03-25, merge-with-19f, merged-unicode-utf16-extfmt-2009-06-11, portable-clx-base, portable-clx-import-2009-06-16, release-19f-base, release-19f-pre1, snapshot-2009-02, snapshot-2009-04, snapshot-2009-05, snapshot-2009-07
Branch point for: RELEASE-19F-BRANCH, portable-clx-branch
Changes since 1.66: +34 -39 lines
Diff to previous 1.66
Use 'const char *' instead of 'char *' where appropriate

Revision 1.66 - (view) (annotate) - [select for diffs]
Mon Jan 5 22:26:27 2009 UTC (5 years, 3 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2009-01
Changes since 1.65: +2 -1 lines
Diff to previous 1.65
Fix for handling arithmetic errors with x87.

Use bootstrap-2009-01-1.lisp to bootstrap this change.

code/float-trap.lisp:
o FLOATING-POINT-MODES for :X87 needs to massage the results into the
  expected format (SSE2 MXCSR order).
o Update for changed VOP names too.

compiler/x86/float.lisp:
o Rename the floating-point-modes and set-floating-point-modes VOPS to
  x87-floating-point-modes and set-x87-floating-point-modes.  Change
  the translations accordingly too.

compiler/x86/parms.lisp:
o The float property bytes have been updated to match the SSE2 MXCSR
  register for both SSE2 and X87 builds because the code assumes SSE2
  format.

lisp/Linux-os.c:
o Don't OR in the SSE2 modes if we're not running an SSE2 build.
  Doing this can erroneously mask out exceptions because the Lisp code
  didn't set up the sse2 modes.  (This happens if you select the x87
  core on a chip that supports sse2.)

lisp/globals.h:
o Declare fpu_mode.

lisp/lisp.c:
o Set fpu_mode to be the mode determined from the core file.  Needed
  in Linux-os.c to process the SSE2 modes correctly with an x87 core
  on a sse2-capable chip.

Revision 1.65 - (view) (annotate) - [select for diffs]
Mon Dec 22 02:59:59 2008 UTC (5 years, 3 months ago) by rtoy
Branch: MAIN
Changes since 1.64: +55 -24 lines
Diff to previous 1.64
Make the x87 core the fallback if the chip supports SSE2, but we can't
find the SSE2 core.  This fallback only happens if the fpu type is
AUTO.  If not, then no fallback is done.

Some cleanup of the code also done by moving the code for locating the
core into its own routine.

Revision 1.62.4.1 - (view) (annotate) - [select for diffs]
Fri Dec 19 01:31:34 2008 UTC (5 years, 3 months ago) by rtoy
Branch: unicode-utf16-extfmt-branch
CVS Tags: unicode-utf16-extfmts-sync-2008-12
Changes since 1.62: +41 -11 lines
Diff to previous 1.62
Merge changes from utf16 branch to update to snapshot 2008-12.

Revision 1.62.2.1 - (view) (annotate) - [select for diffs]
Thu Dec 18 21:50:19 2008 UTC (5 years, 3 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-sync-2008-12
Changes since 1.62: +41 -11 lines
Diff to previous 1.62
Merge Snapshot 2008-12 to this branch.  Some tweaks needed in
boot-2008-05-cross-unicode-x86.lisp and the Config files.  FreeBSD and
Darwin/x86 untested, but Linux and Solaris build ok.

Revision 1.64 - (view) (annotate) - [select for diffs]
Tue Dec 9 23:17:57 2008 UTC (5 years, 4 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2008-12
Changes since 1.63: +2 -2 lines
Diff to previous 1.63
Initialize fpu_mode.

Revision 1.63 - (view) (annotate) - [select for diffs]
Wed Nov 12 15:04:24 2008 UTC (5 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: merge-sse2-packed
Changes since 1.62: +41 -11 lines
Diff to previous 1.62
Merge in SSE2 changes from sse2-packed-branch (tag
sse2-packed-2008-11-12).

Revision 1.62.6.3.2.2 - (view) (annotate) - [select for diffs]
Mon Oct 20 18:09:50 2008 UTC (5 years, 5 months ago) by rtoy
Branch: sse2-packed-branch
CVS Tags: sse2-merge-with-2008-11, sse2-packed-2008-11-12
Changes since 1.62.6.3.2.1: +3 -8 lines
Diff to previous 1.62.6.3.2.1 , to branch point 1.62.6.3
Revert change merged from sse2-branch.  We want the assembly
code and call-out vop to be ignorant of whether we're have sse2 or
not.  Always do the x87 fstp/fldz stuff.

compiler/x86/sse2-c-call.lisp:
o Revert to vers 1.1.2.4, reinstating the fstp/fldz stuff in the
  callout vop.

lisp/lisp.c:
o Remove use of use_sse2.
o Use fpu_mode_t for checking the fpu type.

x86-assem.S:
o Revert to ver 1.29.6.4:
  - Remove use of use_sse2.
  - Always do x87 fstp/fldz stuff whether we're using an sse2 or x87
    core.

Revision 1.62.6.3.2.1 - (view) (annotate) - [select for diffs]
Mon Oct 20 14:22:57 2008 UTC (5 years, 5 months ago) by rtoy
Branch: sse2-packed-branch
Changes since 1.62.6.3: +1 -3 lines
Diff to previous 1.62.6.3
Don't print out default core anymore.

Revision 1.62.6.3 - (view) (annotate) - [select for diffs]
Sat Oct 4 14:27:51 2008 UTC (5 years, 6 months ago) by rtoy
Branch: sse2-branch
CVS Tags: sse2-merge-with-2008-10, sse2-packed-base
Branch point for: sse2-packed-branch
Changes since 1.62.6.2: +21 -10 lines
Diff to previous 1.62.6.2 , to branch point 1.62 , to next main 1.84
Remove uses of x87 stuff when using sse2.  Update core file format to
tell us if the core is for x87 or sse2.

compiler/x86/sse2-c-call.lisp:
o Remove all of the fp-pop, fldz stuff from the inline foreign call.
o If there's a floating-point result, save the result and pop the FPU
  stack.

lisp/x86-assem.S:
o Add global variable use_sse2.  Non-zero means we are using SSE2 and
  should not do any x87 stuff in call_into_c and call_into_lisp.  We
  just branch around that code.  (Should we do this in a different way
  and have separate versions for x87 and sse2?)

lisp/save.c:
o After the core version, output a word indicating the type of FPU.
  Default is 0.  A value of 1 indicates we have SSE2.

lisp/coreparse.c:
o Read the fpu type word and return it.
o load_core_file has extra parameter to return the fpu type.

lisp/core.h:
o Update declaration of load_core_file

lisp/lisp.c:
o Update calls to new load_core_file.
o Add check to print a message before exiting in the case that the
  core uses SSE2 and but the chip doesn't support SSE2.
o Set use_sse2 flag appropriately.

Revision 1.62.6.2 - (view) (annotate) - [select for diffs]
Tue Sep 30 17:50:11 2008 UTC (5 years, 6 months ago) by rtoy
Branch: sse2-branch
CVS Tags: sse2-checkpoint-2008-10-01
Changes since 1.62.6.1: +2 -5 lines
Diff to previous 1.62.6.1 , to branch point 1.62
Change arch_init everywhere (almost) to take the fpu_mode_t argument.
Basically ignored everywhere except for x86.

Revision 1.62.6.1 - (view) (annotate) - [select for diffs]
Fri Sep 26 21:47:09 2008 UTC (5 years, 6 months ago) by rtoy
Branch: sse2-branch
Changes since 1.62: +33 -4 lines
Diff to previous 1.62
Initial support for x87 and sse2 cores with one binary.  More support
still needed, though.

lisp/Linux-os.c:
o Add os_support_sse2 function to tell if the chip supports SSE2 or
  not.

lisp/arch.h:
o Change declaration for arch_init to match Linux implementation.
  (Eventually, we'll get rid of this.)

lisp/lisp.c:
o Add fpu_mode variable
o Recognize -fpu switch to allow the user to select the desired FPU
  mode.
o Call arch_init with the fpu mode.

lisp/x86-arch.c:
o Use the fpu mode to select the name of the core file.

lisp/x86-assem.S:
o Add have_sse2 global variable.
o If have_sse2 is set, we copy the float result in ST(0) to XMM0.

Revision 1.62 - (view) (annotate) - [select for diffs]
Tue Mar 18 09:22:55 2008 UTC (6 years, 1 month ago) by cshapiro
Branch: MAIN
CVS Tags: snapshot-2008-04, snapshot-2008-05, snapshot-2008-06, snapshot-2008-07, snapshot-2008-08, snapshot-2008-09, snapshot-2008-10, snapshot-2008-11, sse2-base, unicode-utf16-base, unicode-utf16-extfmts-pre-sync-2008-11, unicode-utf16-string-support, unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09, unicode-utf16-sync-2008-11
Branch point for: sse2-branch, unicode-utf16-branch, unicode-utf16-extfmt-branch
Changes since 1.61: +1 -4 lines
Diff to previous 1.61
The FreeBSD-os.h header imported headers that its definitions did not
make direct use of.  Remove the includes of these headers and fix-up
several files that indirectly depended on them.

* FreeBSD-os.c - add stdio.h and unistd.h includes that were
  implicitly depended on.  Remove unused or commented system includes.

* FreeBSD-os.h - remove unused includes.  Include signal.h to directly
  provide the SIGBUS, SIGSEGV, and sub-code definitions.  Redefine
  os_vm_address_t and os_vm_size_t in terms of standard types.  Now
  that the sys/param.h include is gone we no longer need to undefine
  PAGE_SIZE.

* elf.c - add includes that were implicitly depended on.

* lisp.c - remove unused system includes including sys/param.h which
  redefines PAGE_SIZE.

Revision 1.61 - (view) (annotate) - [select for diffs]
Tue Mar 18 08:47:48 2008 UTC (6 years, 1 month ago) by cshapiro
Branch: MAIN
Changes since 1.60: +7 -7 lines
Diff to previous 1.60
Replace uses of MAXPATHLEN with FILENAME_MAX.  FILENAME_MAX is defined
by ANSI C and usually expands to the same value as MAXPATHLEN.

Revision 1.60 - (view) (annotate) - [select for diffs]
Wed Jul 25 10:23:54 2007 UTC (6 years, 8 months ago) by cshapiro
Branch: MAIN
CVS Tags: pre-telent-clx, release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, snapshot-2007-08, snapshot-2007-09, snapshot-2007-10, snapshot-2007-11, snapshot-2007-12, snapshot-2008-01, snapshot-2008-02, snapshot-2008-03
Branch point for: release-19e-branch
Changes since 1.59: +2 -5 lines
Diff to previous 1.59
Use sa_sigaction signal handlers on Linux.  The glibc definition of
sigset_t is different from the one used in the Linux kernel.  This means
that we cannot make assignments of sigset_t objects without corrupting
memory.  To work around this problem we update uc_sigmask differently
on Linux than on other systems.  Also, remove x87 control word updates
since the x87 is setup correctly inside call_into_lisp.

Revision 1.59 - (view) (annotate) - [select for diffs]
Tue Jul 24 19:09:14 2007 UTC (6 years, 8 months ago) by rtoy
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58
Add initial support executables on Solaris with gcc.  Executables are
created and will run, but you can't load new files.  Still needs work.

src/exec-init.c:
o New file that defines builtin_image_flag and initial_function_addr,
  instead of being defined in lisp.c

code/sunos-os.lisp:
o Register the :executable feature if needed.

lisp/GNUmakefile:
o Add exec-init.c to list of src files.
o Remove exec-init.o from lisp.a when building on Solaris.

lisp/elf.c:
o Port the elf code to Solaris.
  - Basically set up the correct values for the elf header and
    sections.
  - The ELF core sections on Solaris don't have valid addresses so we
    explicitly set them when mapping the core sections.

lisp/elf.h
o Use SOLARIS instead of sparc.

lisp/lisp.c:
o builtin_image_flag and initial_function_addr moved to exec-init.c.

tools/linker.sh:
o Support Solaris

tools/make-main-dist.sh:
o Support Solaris

tools/SunOS-cmucl-linker-script:
o New file for SunOS executable.

Revision 1.58 - (view) (annotate) - [select for diffs]
Mon Jul 23 05:05:17 2007 UTC (6 years, 8 months ago) by fgilham
Branch: MAIN
Changes since 1.57: +2 -3 lines
Diff to previous 1.57
Fix typo that caused executables to have incorrect initial dynamic space allocation pointers.

Revision 1.57 - (view) (annotate) - [select for diffs]
Sat Jul 21 21:12:42 2007 UTC (6 years, 8 months ago) by fgilham
Branch: MAIN
Changes since 1.56: +23 -9 lines
Diff to previous 1.56
Preserve library: search list when dumping an executable.

Revision 1.56 - (view) (annotate) - [select for diffs]
Mon Jul 9 16:04:06 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55
Fix typos, portability stuff (e.g. get rid of __FUNCTION__ which SunOS doesn't have.)

Revision 1.55 - (view) (annotate) - [select for diffs]
Sun Jul 8 06:58:34 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
Changes since 1.54: +11 -5 lines
Diff to previous 1.54
Fixed indentation I broke in save.c and lisp.c.

Revision 1.54 - (view) (annotate) - [select for diffs]
Sat Jul 7 17:25:10 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
Changes since 1.53: +7 -7 lines
Diff to previous 1.53
featureized version of executable stuff

Revision 1.53 - (view) (annotate) - [select for diffs]
Sat Jul 7 15:54:31 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
Changes since 1.52: +21 -14 lines
Diff to previous 1.52
Incorporate Lisp executable changes

Revision 1.52 - (view) (annotate) - [select for diffs]
Fri Jul 6 08:04:39 2007 UTC (6 years, 9 months ago) by cshapiro
Branch: MAIN
Changes since 1.51: +4 -2 lines
Diff to previous 1.51
Import x86 Darwin port.

Revision 1.51 - (view) (annotate) - [select for diffs]
Wed May 30 17:52:08 2007 UTC (6 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2007-06, snapshot-2007-07
Changes since 1.50: +10 -1 lines
Diff to previous 1.50
This checkin adds some debugging code for the x86 heap corruption
issue and also works around the heap corruption.  These are enabled if
DEBUG_BAD_HEAP is #defined.

gencgc.c:
o Make print_ptr and verify_gc non-static so they can be used
  elsewhere.

lisp.c:
o Call verify_gc at startup (if enabled) so we can see the heap
  corruption.

save.c:
o Add debugging prints and stuff to see what's going on, if enabled.
o The workaround is to skip over the call to
  update_dynamic_space_free_pointer in save().  See the comments there
  for more info.

Revision 1.46.2.2 - (view) (annotate) - [select for diffs]
Mon Dec 19 01:10:13 2005 UTC (8 years, 3 months ago) by rtoy
Branch: ppc_gencgc_branch
CVS Tags: ppc_gencgc_snap_2005-12-17, ppc_gencgc_snap_2006-01-06
Changes since 1.46.2.1: +296 -352 lines
Diff to previous 1.46.2.1 , to branch point 1.46 , to next main 1.84
Merge code from main branch of 2005-12-17 to ppc gencgc branch.  Still
doesn't work of course.

Revision 1.50 - (view) (annotate) - [select for diffs]
Thu Sep 15 18:26:52 2005 UTC (8 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: double-double-array-base, double-double-array-checkpoint, double-double-base, double-double-init-%make-sparc, double-double-init-checkpoint-1, double-double-init-ppc, double-double-init-sparc, double-double-init-sparc-2, double-double-init-x86, double-double-irrat-end, double-double-irrat-start, double-double-reader-base, double-double-reader-checkpoint-1, double-double-sparc-checkpoint-1, release-19c, release-19c-base, release-19c-pre1, release-19d, release-19d-base, release-19d-pre1, release-19d-pre2, snapshot-2005-10, snapshot-2005-11, snapshot-2005-12, snapshot-2006-01, snapshot-2006-02, snapshot-2006-03, snapshot-2006-04, snapshot-2006-05, snapshot-2006-06, snapshot-2006-07, snapshot-2006-08, snapshot-2006-09, snapshot-2006-10, snapshot-2006-11, snapshot-2006-12, snapshot-2007-01, snapshot-2007-02, snapshot-2007-03, snapshot-2007-04, snapshot-2007-05
Branch point for: double-double-array-branch, double-double-branch, double-double-reader-branch, release-19c-branch, release-19d-branch
Changes since 1.49: +296 -301 lines
Diff to previous 1.49
Indent all source files using GNU indent using the config in
.indent.pro.

Revision 1.49 - (view) (annotate) - [select for diffs]
Tue Sep 6 13:05:58 2005 UTC (8 years, 7 months ago) by rtoy
Branch: MAIN
Changes since 1.48: +1 -51 lines
Diff to previous 1.48
Move the Darwin-specific timebase_init stuff from lisp.c to Darwin-os.c,
where it belongs.

Revision 1.48 - (view) (annotate) - [select for diffs]
Tue Sep 6 01:33:29 2005 UTC (8 years, 7 months ago) by cshapiro
Branch: MAIN
Changes since 1.47: +1 -2 lines
Diff to previous 1.47
Remove an unused variable.

Revision 1.46.2.1 - (view) (annotate) - [select for diffs]
Sun May 15 20:01:31 2005 UTC (8 years, 11 months ago) by rtoy
Branch: ppc_gencgc_branch
Changes since 1.46: +51 -1 lines
Diff to previous 1.46
Merge snapshot-2005-05 to this branch.

Revision 1.47 - (view) (annotate) - [select for diffs]
Fri Apr 15 01:40:08 2005 UTC (9 years ago) by rtoy
Branch: MAIN
CVS Tags: release-19b-base, release-19b-pre1, release-19b-pre2, snapshot-2005-05, snapshot-2005-06, snapshot-2005-07, snapshot-2005-08, snapshot-2005-09
Branch point for: release-19b-branch
Changes since 1.46: +51 -1 lines
Diff to previous 1.46
lisp/lisp.c:
o Add function for ppc to compute the number of CPU cycles per
  timebase ticks.  Save this in a global variable.

code/time.lisp:
o Adjust cycle-count/float for ppc to use the cycles-per-tick to
  compute the actual number of CPU cycles, so we can display cycles
  instead of ticks.

Revision 1.46 - (view) (annotate) - [select for diffs]
Fri Feb 4 15:03:52 2005 UTC (9 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: ppc_gencgc_snap_2005-05-14, snapshot-2005-03, snapshot-2005-04
Branch point for: ppc_gencgc_branch
Changes since 1.45: +28 -1 lines
Diff to previous 1.45
On sparc, round up the dynamic-space-size to the nearest multiple 8
MB.  Martin Rydstrom says if the heap size is not a multiple of 8 MB
on Solaris 10, he gets GC lossage with gencgc.  Don't know why, but
this works around the problem.

Revision 1.45 - (view) (annotate) - [select for diffs]
Thu Jan 13 19:55:01 2005 UTC (9 years, 3 months ago) by fgilham
Branch: MAIN
CVS Tags: snapshot-2005-02
Changes since 1.44: +1 -9 lines
Diff to previous 1.44
Add #ifndef _FOO_H_ etc. lines to all .h files.  Moved a few lines in
lisp.c into the correct <foo>-os.h files.

Revision 1.44 - (view) (annotate) - [select for diffs]
Tue Aug 17 20:19:57 2004 UTC (9 years, 8 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2004-09, snapshot-2004-10, snapshot-2004-11, snapshot-2004-12, snapshot-2005-01
Changes since 1.43: +58 -29 lines
Diff to previous 1.43
o When searching for our files, check to see if the lisp binary is
  executable and if the lisp.core is readable.
o Add -debug-lisp-search so some information about how the search is
  progressing is displayed.
o To support -debug-lisp-search, change the #ifdefs into code.

Revision 1.43 - (view) (annotate) - [select for diffs]
Fri Jul 30 18:11:08 2004 UTC (9 years, 8 months ago) by rtoy
Branch: MAIN
Changes since 1.42: +19 -16 lines
Diff to previous 1.42
Try not to crash if the envvar PATH is empty or non-existent.

Revision 1.42 - (view) (annotate) - [select for diffs]
Thu Jul 8 17:49:04 2004 UTC (9 years, 9 months ago) by rtoy
Branch: MAIN
CVS Tags: prm-before-macosx-merge-tag, snapshot-2004-08
Changes since 1.41: +2 -2 lines
Diff to previous 1.41
Fix more compiler warnings:

* alloc.c, coreparse.c, monitor.c, validate.c, vars.c:  #include some
  files to get declarations of functions.

* coreparse.c, lisp.c, monitor.c: Fix printf warnings about args not
  matching the format string.

Revision 1.41 - (view) (annotate) - [select for diffs]
Wed Jul 7 15:03:12 2004 UTC (9 years, 9 months ago) by rtoy
Branch: MAIN
Changes since 1.40: +3 -1 lines
Diff to previous 1.40
Changes from Robert Swindells to support NetBSD.

Revision 1.40 - (view) (annotate) - [select for diffs]
Thu May 20 00:32:25 2004 UTC (9 years, 10 months ago) by cwang
Branch: MAIN
CVS Tags: snapshot-2004-06, snapshot-2004-07
Changes since 1.39: +2 -2 lines
Diff to previous 1.39
A couple simple fixes to compile a lisp executable

Revision 1.39 - (view) (annotate) - [select for diffs]
Wed May 19 22:42:53 2004 UTC (9 years, 10 months ago) by cwang
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38
amd64 changes

Revision 1.38 - (view) (annotate) - [select for diffs]
Mon Oct 13 17:25:09 2003 UTC (10 years, 6 months ago) by toy
Branch: MAIN
CVS Tags: amd64-merge-start, mod-arith-base, release-19a, release-19a-base, release-19a-pre1, release-19a-pre2, release-19a-pre3, snapshot-2003-11, snapshot-2003-12, snapshot-2004-04, snapshot-2004-05
Branch point for: mod-arith-branch, release-19a-branch
Changes since 1.37: +8 -6 lines
Diff to previous 1.37
o Sun C doesn't like "const char const* argv0arg".  Make is just const
  char*
o Sun C doesn't like "char *str = *++argptr".  Fix that.
o Clean up a few warnings.

Revision 1.37 - (view) (annotate) - [select for diffs]
Thu Sep 4 14:22:01 2003 UTC (10 years, 7 months ago) by toy
Branch: MAIN
CVS Tags: snapshot-2003-10
Changes since 1.36: +2 -1 lines
Diff to previous 1.36
Add /usr/lib/cmucl to the default core search path.  For x86/Linux
support.  From Adam Warner and Pierre Mai.

Revision 1.36.2.1 - (view) (annotate) - [select for diffs]
Wed Sep 3 11:32:05 2003 UTC (10 years, 7 months ago) by gerd
Branch: lisp-executable
Changes since 1.36: +10 -19 lines
Diff to previous 1.36 , to next main 1.84
Fred Gilham's Lisp executable support for CMUCL.

Revision 1.34.2.1 - (view) (annotate) - [select for diffs]
Mon Aug 25 15:22:44 2003 UTC (10 years, 7 months ago) by toy
Branch: dynamic-extent
Changes since 1.34: +5 -1 lines
Diff to previous 1.34 , to next main 1.84
It's current_dynamic_space_free_pointer for non-x86, not
ALLOCATION_POINTER.

Revision 1.36 - (view) (annotate) - [select for diffs]
Thu Aug 21 15:26:36 2003 UTC (10 years, 7 months ago) by gerd
Branch: MAIN
CVS Tags: lisp-executable-base, sparc_gencgc_merge
Branch point for: lisp-executable
Changes since 1.35: +22 -13 lines
Diff to previous 1.35
Lisp executable support.  From Fred Gilham.

Revision 1.35 - (view) (annotate) - [select for diffs]
Mon Aug 18 20:48:38 2003 UTC (10 years, 8 months ago) by toy
Branch: MAIN
Changes since 1.34: +5 -1 lines
Diff to previous 1.34
Only x86 has ALLOCATION_POINTER.  Use
current_dynamic_space_free_pointer for the other ports.  (Is this
right?)

Revision 1.34 - (view) (annotate) - [select for diffs]
Tue Aug 12 16:41:40 2003 UTC (10 years, 8 months ago) by gerd
Branch: MAIN
CVS Tags: dynamic-extent-base
Branch point for: dynamic-extent
Changes since 1.33: +61 -26 lines
Diff to previous 1.33
	Lisp executable support.  From Fred Gilham.

	* src/lisp/validate.c (image_dynamic_space_size): New variable.
	(validate): Allocate spaces differently if the core is part
	of the executable.

	* src/lisp/lisp.c (initial_function_addr): New variable.
	(main): Use it for the initial function if appropriate.

Revision 1.33 - (view) (annotate) - [select for diffs]
Mon Aug 4 21:27:30 2003 UTC (10 years, 8 months ago) by toy
Branch: MAIN
CVS Tags: sparc_gencgc
Branch point for: sparc_gencgc_branch
Changes since 1.32: +88 -13 lines
Diff to previous 1.32
Search PATH for the lisp binary and lisp.core as a last resort.  Based
mostly on a patch From Mike McDonald.

Revision 1.32 - (view) (annotate) - [select for diffs]
Mon Jul 28 18:52:15 2003 UTC (10 years, 8 months ago) by toy
Branch: MAIN
Changes since 1.31: +5 -1 lines
Diff to previous 1.31
Need string.h for sparc to remove some compile-time warnings about strdup.

Revision 1.31 - (view) (annotate) - [select for diffs]
Mon Apr 28 23:07:38 2003 UTC (10 years, 11 months ago) by cracauer
Branch: MAIN
Changes since 1.30: +5 -3 lines
Diff to previous 1.30
Don't damage argv[0] when startup code is invoced with absolute path.

If we ever do a patch release this should be in.

Revision 1.30 - (view) (annotate) - [select for diffs]
Tue Feb 25 15:51:17 2003 UTC (11 years, 1 month ago) by toy
Branch: MAIN
CVS Tags: cold-pcl-base, release-18e, release-18e-base, release-18e-pre1, release-18e-pre2, remove_negative_zero_not_zero
Branch point for: cold-pcl, release-18e-branch
Changes since 1.29: +7 -3 lines
Diff to previous 1.29
Solaris dumps core when printing NULL strings, so don't do that.

Revision 1.29 - (view) (annotate) - [select for diffs]
Tue Feb 18 15:48:29 2003 UTC (11 years, 1 month ago) by gerd
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28
	* lisp/lisp.c (default_cmucllib): Initialize *defpath to 0, so
	that a subsequent strcat works as expected.

Revision 1.28 - (view) (annotate) - [select for diffs]
Wed Jan 29 19:47:49 2003 UTC (11 years, 2 months ago) by toy
Branch: MAIN
Changes since 1.27: +298 -48 lines
Diff to previous 1.27
o Adds support for searching for the lisp.core file based on the
  location of the lisp C binary, when CMUCLLIB is not given, and the
  core file is not specified.
o Add support for a CMUCLCORE envvar, and a -lib option for setting
  the path for the library: search-list.
o Added some spare static symbols for the sparc port so we don't have
  to cross-compile again for a while.

See cmucl-imp archives for some more details.

Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Jan 23 21:05:38 2003 UTC (11 years, 2 months ago) by toy
Branch: MAIN
Changes since 1.26: +4 -5 lines
Diff to previous 1.26
From Eric Marsden:

    fix typos in comments, signal more specific error types, remove
    some stale code, fix a few compiler warnings in the runtime.

Revision 1.26 - (view) (annotate) - [select for diffs]
Tue Aug 27 22:18:32 2002 UTC (11 years, 7 months ago) by moore
Branch: MAIN
CVS Tags: LINKAGE_TABLE, UNICODE-BASE
Branch point for: UNICODE-BRANCH
Changes since 1.25: +4 -2 lines
Diff to previous 1.25
On x86 FreeBSD and Linux, change the way foreign symbol addresses are resolved.
They now go through a table -- effectively a new space in the core file.
Function references are resolved lazily, data references are resolved on startup
and when a .so is loaded.  The end result is that cores can be dumped that
contain references to symbols in shared libraries.  Also, the dependence of the core on addresses in the Lisp runtime is broken.

The linkage table feature is controlled by :linkage-table and LINKAGE_TABLE in C
runtime.  Several foreign symbols are now Lisp static symbols, so a cross
compile is required whether or not the new stuff is used.  I've checked in
boot4-cross-foreign-linkage.lisp that builds the compiler for linkage table; do whatever you usually do for the non-linkage table case:)  Seriously, lets start
a discussion on standardizing "cross compilation," not to mention the general
build procedure.

Revision 1.11.2.8 - (view) (annotate) - [select for diffs]
Sat Mar 23 18:51:04 2002 UTC (12 years ago) by pw
Branch: RELENG_18
CVS Tags: RELEASE_18d
Changes since 1.11.2.7: +7 -6 lines
Diff to previous 1.11.2.7 , to branch point 1.11 , to next main 1.84
Mega commit to bring RELENG_18 branch in sync with HEAD in preparation
for release tagging 18d.

Revision 1.25 - (view) (annotate) - [select for diffs]
Tue Jan 29 01:23:33 2002 UTC (12 years, 2 months ago) by pmai
Branch: MAIN
CVS Tags: PRE_LINKAGE_TABLE
Changes since 1.24: +5 -1 lines
Diff to previous 1.24
Print a warning if we can't find a core file in the specified CMUCLLIB
path and therefore fall back to the default path.  Doing this
fall-back silently can confuse users no end...

Revision 1.24 - (view) (annotate) - [select for diffs]
Thu Nov 29 01:46:59 2001 UTC (12 years, 4 months ago) by pmai
Branch: MAIN
Changes since 1.23: +1 -5 lines
Diff to previous 1.23
This change brings the defaults for CMUCLLIB and the default core on
Linux in-line with all other non-MACH platforms, and with the Linux
Filesystem Standard.

Revision 1.23 - (view) (annotate) - [select for diffs]
Thu Feb 22 20:28:54 2001 UTC (13 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22
From Paul Foley

A couple of typo corrections; fix main() in lisp.c (main returns int,
not void!); stop ACCEPT-TCP-CONNECTION blocking other processes.

Revision 1.22 - (view) (annotate) - [select for diffs]
Fri Oct 27 19:25:55 2000 UTC (13 years, 5 months ago) by dtc
Branch: MAIN
Changes since 1.21: +2 -1 lines
Diff to previous 1.21
Cleanup compiler warnings.

Revision 1.11.2.7 - (view) (annotate) - [select for diffs]
Tue Oct 24 17:46:15 2000 UTC (13 years, 5 months ago) by dtc
Branch: RELENG_18
CVS Tags: RELEASE_18c
Changes since 1.11.2.6: +2 -2 lines
Diff to previous 1.11.2.6 , to branch point 1.11
Call gc_init after validate as the lisp memory map needs to have been
allocated before malloc is called from gc_init on FreeBSD, because
malloc would otherwise allocate from conflicting addresses. Well
spotted by Paul Werkowski.

Revision 1.21 - (view) (annotate) - [select for diffs]
Tue Oct 24 17:45:57 2000 UTC (13 years, 5 months ago) by dtc
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
Call gc_init after validate as the lisp memory map needs to have been
allocated before malloc is called from gc_init on FreeBSD, because
malloc would otherwise allocate from conflicting addresses. Well
spotted by Paul Werkowski.

Revision 1.11.2.6 - (view) (annotate) - [select for diffs]
Tue Oct 24 13:34:05 2000 UTC (13 years, 5 months ago) by dtc
Branch: RELENG_18
Changes since 1.11.2.5: +38 -12 lines
Diff to previous 1.11.2.5 , to branch point 1.11
o Add the command line switch -dynamic-space-size for setting the size
  of the dynamic space. DYNAMIC_SPACE_SIZE now defines the maximum
  size, and when defined DEFAULT_DYNAMIC_SPACE_SIZE gives the default.

o Increase the maximum dynamic space size for Linux x86 to 1.625GB,
  with the default remaining at 512MB.

o Define the default dynamic space size for FreeBSD x86 to also be 512MB,
  with a maximum of 2GB.

Revision 1.20 - (view) (annotate) - [select for diffs]
Tue Oct 24 13:32:32 2000 UTC (13 years, 5 months ago) by dtc
Branch: MAIN
Changes since 1.19: +38 -12 lines
Diff to previous 1.19
o Add the command line switch -dynamic-space-size for setting the size
  of the dynamic space. DYNAMIC_SPACE_SIZE now defines the maximum
  size, and when defined DEFAULT_DYNAMIC_SPACE_SIZE gives the default.

o Increase the maximum dynamic space size for Linux x86 to 1.625GB,
  with the default remaining at 512MB.

o Define the default dynamic space size for FreeBSD x86 to also be 512MB,
  with a maximum of 2GB.

Revision 1.11.2.5 - (view) (annotate) - [select for diffs]
Tue Oct 24 11:03:22 2000 UTC (13 years, 5 months ago) by dtc
Branch: RELENG_18
Changes since 1.11.2.4: +2 -2 lines
Diff to previous 1.11.2.4 , to branch point 1.11
Fix symbol value typo.

Revision 1.19 - (view) (annotate) - [select for diffs]
Tue Oct 24 11:02:49 2000 UTC (13 years, 5 months ago) by dtc
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
Fix symbol value typo.

Revision 1.11.2.4 - (view) (annotate) - [select for diffs]
Mon Oct 23 20:21:14 2000 UTC (13 years, 5 months ago) by dtc
Branch: RELENG_18
Changes since 1.11.2.3: +17 -9 lines
Diff to previous 1.11.2.3 , to branch point 1.11
Allow the *batch-mode* setting to default from the loaded core, with
the command line -batch switch only modifying this when specified.

Revision 1.18 - (view) (annotate) - [select for diffs]
Mon Oct 23 20:20:42 2000 UTC (13 years, 5 months ago) by dtc
Branch: MAIN
Changes since 1.17: +17 -9 lines
Diff to previous 1.17
Allow the *batch-mode* setting to default from the loaded core, with
the command line -batch switch only modifying this when specified.

Revision 1.11.2.3 - (view) (annotate) - [select for diffs]
Mon Oct 16 17:32:18 2000 UTC (13 years, 6 months ago) by dtc
Branch: RELENG_18
Changes since 1.11.2.2: +7 -1 lines
Diff to previous 1.11.2.2 , to branch point 1.11
Define batch mode early in the C startup code.

Revision 1.17 - (view) (annotate) - [select for diffs]
Mon Oct 16 17:30:01 2000 UTC (13 years, 6 months ago) by dtc
Branch: MAIN
Changes since 1.16: +7 -1 lines
Diff to previous 1.16
Define batch mode early in the C startup code.

Revision 1.11.2.2 - (view) (annotate) - [select for diffs]
Tue May 23 16:38:28 2000 UTC (13 years, 10 months ago) by pw
Branch: RELENG_18
Changes since 1.11.2.1: +10 -4 lines
Diff to previous 1.11.2.1 , to branch point 1.11
This set of revisions brings the RELENG_18 branch up to HEAD in preparation
for an 18c release.

Revision 1.16 - (view) (annotate) - [select for diffs]
Thu Sep 9 16:22:44 1999 UTC (14 years, 7 months ago) by pw
Branch: MAIN
Changes since 1.15: +9 -3 lines
Diff to previous 1.15
Move first use of malloc() (definition of T and NIL) to after
validate() to avoid conflicts with possible use of mmap by malloc().
Tested only on FreeBSD but should work ok on other platforms too.

Revision 1.15 - (view) (annotate) - [select for diffs]
Sat Feb 20 15:54:44 1999 UTC (15 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
Changes for Linux running on Alpha.
From: Julian Dolby <dolby@csag-226-8.UCSD.EDU>

  Enclosed below are diffs against the cvs repository as of Feb 12;
aside from minor changes like using different include files
(e.g. validate.h instead of x86-validate.h in Linux-os.c) and adding
alpha-linux specifics unix-glibc2.lisp, there are two code changes.

 The first is to signal handling. I had to put the POSIX-SIGS
ifdefs into places used by alpha but not by x86, and I ifdef'ed out
most of the linux #define kludges for signals for alpha linux, since
alpha linux uses OSF/1 signals rather than linux ones.

 The second is that the trick of or'ing 2 into the reg_ALLOC address
to cause faults does not work on alpha linux since the kernel traps
and handles the unaligned access; I did not find a way to change that
kernel behavior, so I changed the code to or (1<<63) into the address
to cause a seg fault, and then check, in the seg fault handler, to see
if the high-order address bits are set.

 One change I made is to the memory layout (lisp/alpha-validate.h and
compiler/alpha/parms.lisp); that change is not needed to make lisp run
on alpha linux, but is there because I wanted more heap space.

Revision 1.11.2.1 - (view) (annotate) - [select for diffs]
Tue Jun 23 11:25:02 1998 UTC (15 years, 9 months ago) by pw
Branch: RELENG_18
CVS Tags: RELEASE_18b
Changes since 1.11: +16 -8 lines
Diff to previous 1.11
This (huge) revision brings the RELENG_18 branch up to the current HEAD.
Note code/unix-glib2.lisp not yet included -- not sure it is ready to go.

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Nov 21 12:23:44 1997 UTC (16 years, 4 months ago) by dtc
Branch: MAIN
Changes since 1.13: +5 -11 lines
Diff to previous 1.13
Bring forward the setup of the pseudo atomic static variables (x86 and
RT) so this is set for the first object allocation - help some checks
on the x86 port.

Revision 1.13 - (view) (annotate) - [select for diffs]
Tue Nov 18 17:08:42 1997 UTC (16 years, 5 months ago) by dtc
Branch: MAIN
Changes since 1.12: +9 -1 lines
Diff to previous 1.12
Hooks for GENCGC.

Revision 1.12 - (view) (annotate) - [select for diffs]
Tue Nov 18 16:56:01 1997 UTC (16 years, 5 months ago) by dtc
Branch: MAIN
Changes since 1.11: +10 -4 lines
Diff to previous 1.11
Implement a pseudo-atomic macro for the x86 backend.

Revision 1.11 - (view) (annotate) - [select for diffs]
Tue Jan 21 00:28:13 1997 UTC (17 years, 2 months ago) by ram
Branch: MAIN
CVS Tags: RELEASE_18a
Branch point for: RELENG_18
Changes since 1.10: +22 -5 lines
Diff to previous 1.10
source kit 1.03.7

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Nov 1 19:35:49 1994 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9
Change default library path to /usr/local/lib/cmucl/lib on all non-Mach
architectures.

Revision 1.9 - (view) (annotate) - [select for diffs]
Tue Oct 25 18:10:20 1994 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
HpUx now too seems to complain about extern getenv declaration.  Lets try
#ifdef MACH.

Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Oct 24 20:06:27 1994 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.7: +8 -3 lines
Diff to previous 1.7
Solaris patches.

Revision 1.5.1.1 - (view) (annotate) - [select for diffs] (vendor branch)
Mon Oct 24 19:48:01 1994 UTC (19 years, 5 months ago) by ram
Branch: solaris_patch
Changes since 1.5: +11 -8 lines
Diff to previous 1.5 , to next main 1.84
Solaris patches.

Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Jul 5 16:10:16 1994 UTC (19 years, 9 months ago) by hallgren
Branch: MAIN
Changes since 1.6: +8 -1 lines
Diff to previous 1.6
Updated for the sgi.

Revision 1.6 - (view) (annotate) - [select for diffs]
Thu Mar 10 16:34:14 1994 UTC (20 years, 1 month ago) by wlott
Branch: MAIN
Changes since 1.5: +4 -5 lines
Diff to previous 1.5
Changed the default for lisp.core under hpux to be /usr/local/lib/cmucl/lib.

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Jan 28 17:22:29 1994 UTC (20 years, 2 months ago) by wlott
Branch: MAIN
Branch point for: solaris_patch
Changes since 1.4: +5 -1 lines
Diff to previous 1.4
Use /usr/local/cmucl instead of /usr/misc/.cmucl on hpux.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Apr 28 01:58:33 1993 UTC (20 years, 11 months ago) by wlott
Branch: MAIN
Changes since 1.3: +12 -41 lines
Diff to previous 1.3
Changed core saving to no longer save the stacks.  Instead, when the core
is restored, a (supplied) initial function is invoked which can do whatever
kind of setup it wants.  This makes a saved lisp totally independent of the
location of the C stack.

Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Feb 9 14:02:37 1993 UTC (21 years, 2 months ago) by wlott
Branch: MAIN
Changes since 1.2: +1 -4 lines
Diff to previous 1.2
Removed stuff to print the pid on startup.

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Sep 8 20:25:21 1992 UTC (21 years, 7 months ago) by wlott
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1
Only call mach_init under mach.

Revision 1.1 - (view) (annotate) - [select for diffs]
Tue Jul 28 20:14:38 1992 UTC (21 years, 8 months ago) by wlott
Branch: MAIN
Initial revision

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5