Fix bad math in %THREAD-LOCAL-REFERENCES.

This was no mere fencepost bug - it was off by a factor of 2 or 4
despite attempted previous fix in revision 85a570a, probably
explaining why the careful MAKE-LISP-OBJ was used.
Remove ineffectual concurrency test of INFO.

The database supports multi-reader/writer concurrency, but testing
symbols proves nothing since they aren't backed by a shared table.
Remove x86-64 disassembler hack for unknown tls-index of static symbol.

The use-case no longer exists. Cross-compilation chooses the tls-index.
Fix make-windows-installer.

The change of where contribs are stored is still popping up.
Stop sb-sprof test from failing on FreeBSD 10.

setitimer with small intervals is broken on FreeBSD 10.
Enable building 32-bit SBCL on 64-bit FreeBSD.

Allow for ./make.sh --arch=x86 to work on x86-64.
Remove unused ldt.h includes from x86-64-*-os.c files.
Remove strange #defines from *-linux-os.c

#define function_name somethine_nonexisting
just before a function named function_name doesn't appear to make any
sense.
Remove all C code that dealt with TLS index assignment.

While this reduces duplicated code, it regretably introduces duplicate data.
At least the lose() message informs you what list should be maintained.
add :TYPE for some STRING-OUTPUT-STREAM slots

The transition through FILL shows up in some profiles when
GET-OUTPUT-STREAM-STRING is used heavily.  Add :TYPE information to the
appropriate slots so the compiler knows LIST-FILL* can be used.

Moving the NREVERSE call is required so the compiler understands that
PREV is actually of list type.  NREVERSE's :DERIVE-TYPE is set up
correctly; I think the compiler's failure to understand that

  (setf prev (nreverse prev))

is not also a list is just fallout from the compiler not dealing
well with SETF and/or some fault in the type derivation itself.
Have LDB understand UCS-4 strings instead of showing as #<ptr to...>

Also fix 2 warnings about comparison between signed and unsigned.
Fix compiler warnings in coreparse - printf's "%p" wants void*.
Use handy inline function instead of hairy expression.
Shrink symbols on x86-64 by putting tls-index in the header.

Using the upper 4 bytes of the header makes symbols take up
6 words instead of 8, reducing the initial core by 565KB.

The patch could theoretically be applied for 32-bit builds,
but using a 2-byte index limits the TLS_SIZE to 2^14 words.
This is sufficient at present, but I wouldn't want to undo
the space savings if it is decided that TLS_SIZE should
be enlarged by a factor of 8 or more in the future.

In C, tls_index_of() should be used in lieu of sym->tls_index.
This is defined to be the constant 0 for non-threaded builds,
so eliminates #ifdef LISP_FEATURE_SB_THREAD in three places.
Rearrange and fix whitespace.
Improve readability
Unbreak builds without sb-thread feature
compiler/sparc/subprim: Change LENGTH/LIST to use non-continuable errors.

  * There's a small stack of more to be done here, but the use of
continuable errors, while supported at least somewhat by the
runtime, simply isn't supported by the debugger, so there's no
point in using them over the non-continuable errors...  And these
are the last two use sites for continuable errors on SPARC.

  * There are a few more opportunities for excellence here, but
there are some fiddly little details involved, so they call for
separate commits.
compiler/sparc/macros: Kill the continuable-error trap noise.

  * We don't use continuable error traps anywhere, and the
debugger doesn't support them.  If anyone wants to resurrect such
support (and I can see it as a possibility), they can either dig
the old code out of source control or re-derive it themselves.
Move SPARC over to slimmed-down EMIT-ERROR-BREAK interface, part 1.

  * The prep-work has already been done in eliminating the
continuable error bits, now it's time for the first part of the
main show: adjusting the INTERFACE parts.

  * For this part we're just pushing a QUOTE from the guts of a
macro code generation function out to the call sites, matching the
other platforms that have already made this change.  We'll do the
actual implementation damage in part 2.