Change how user-specified toplevel-functions are handled: don't
call QUIT in cleanup code (while unwinding), do call it when the
user-specified function returns.  If we don't QUIT abruptly,
don't close the streams.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14849 8bdb8f1d-59ce-db11-9e41-0016172a54ae
If [E|C]TYPECASE warns about a shadowed clause, it has to be a
STYLE-WARNING.

Fixes ticket:872 in the trunk.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14850 8bdb8f1d-59ce-db11-9e41-0016172a54ae
In shadowed-typecase-clause condition: add an omitted quote
to the construct slot initform.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14851 8bdb8f1d-59ce-db11-9e41-0016172a54ae
When assembling for a 32-bit x86 target, use the modrm encoding (and
not a sib) to specify a memory address that is just a displacement.

See ticket:860.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14852 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Put :ccl-1.7 on *features*.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14855 8bdb8f1d-59ce-db11-9e41-0016172a54ae
In CLEAR-GF-CACHE, don't do anything if the dispatch table's 
ARGNUM slot has a negative value.

In %SNAP-READER-METHOD, if the gf's dispatch table's argnum
is non-negative, complement it and store the gf's dcode in
the dt's GENERIC-FUNCTION slot.

In PESSIMIZE-CLOS, if a GF's dispatch-table's argnum is negative,
complement it and set the gf's dcode to the value saved in the
dispatch-table's GENERIC-FUNCTION slot.  (We can't use COMPUTE-DCODE
to restore the GF's dcode, since it calls slot accessors, possibly
including the one that we're modifying in a non-atomic way.)

It's not clear that PESSIMIZE-CLOS has to deal with anything but
snapped reader methods;  DCODE-FOR-UNIVERSALLY-APPLICABLE-SINGLETON
looks like it was half-finished.  If we do things like that, we may
need to adopt and follow similar conventions to allow it to be undone,


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14860 8bdb8f1d-59ce-db11-9e41-0016172a54ae
don't force gcc 4.0, live with protocol warnings

git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14861 8bdb8f1d-59ce-db11-9e41-0016172a54ae
UNOPTIMIZE-DEPENDENTS undoes reader-method optimization.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14862 8bdb8f1d-59ce-db11-9e41-0016172a54ae
In handle_fault: some OSes (you know who) don't bother to set 
information about the fault address on certain kinds of memory
faults, so we can't compare it to tcr.safe_ref_address.  If
tcr.save_ref_address is non-zero when we get a fault, behave
as if we'd accessed that address (how would we know what address
was accessed ?) and return a null pointer to %SAFE-GET-PTR.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14863 8bdb8f1d-59ce-db11-9e41-0016172a54ae
A long time ago (2001), some PPC Linux distribution's C libraries
didn't define madvise().  It's probably time to stop doing it for
them.

(A bug that affected the LinuxPPC64 port went away after this change,
but it's not clear why; then again, that may have to do with the 
PowerOpen calling sequence and the TOC.)

If anyone's still running YDL 2.0 ... upgrade.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14865 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Remove some darwinppc stuff from lisp-kernel.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14866 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Bump max image, fasl versions.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14867 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Shouldn't need LISP_ASSEMBLER_EXTRA_SIB_BYTE in pc_luser_xp()
any more.  See ticket:860.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14868 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Bump min image, current fasl versions.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14869 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Remove the LISP_ASSEMBLER_EXTRA_SIB_BYTE code from pc_luser_xp() and
friends.  Finally closes ticket:860.

Also, the consing sequence used to branch around the alloc trap with
a "jg" instruction.  We haven't done that for a long time, so don't
check for that any more, either.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14871 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Newer versions of the win64 toolchain don't prepend underscores to
C function/variable names.

Changing that means that we don't depend on an old toolchain anymore
(and in fact an old toolchain won't build a linkable kernel.)


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14872 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Change signature of install_signal_handler() and update
callers.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14873 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Forgot the "l" in "interrupt_handler".


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14874 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Correct #ifdef confusion in install_pmcl_exception_handlers().


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14875 8bdb8f1d-59ce-db11-9e41-0016172a54ae
In thread_signal_setup(): have the system restart system
calls when we get SIG_SUSPEND_THREAD.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@14876 8bdb8f1d-59ce-db11-9e41-0016172a54ae