freebsd kernel with SKQ
Go to file
Andrew Turner 93c7e89712 Allow the unwind functions int libgcc_s to interact correctly with libthr.
_Unwind_ForcedUnwind in libgcc_s takes as one of it's parameters a stop
function to tell it when to stop unwinding. One of the stop function's
parameters is a _Unwind_Exception_Class. On most architectures this is an
int64_t, however on ARM EABI the gcc developers have made this a char array
with 8 items. While both of these take the same space they are passed into
the stop function differently, an int64_t is passed in in registers r2 and
r3, while the char[8] is passed in as a pointer to the first item in
register r2.

Because libthr expects the value to be an int64_t we would get incorrect
results when it passes a function that take an int64_t but libgcc passes in
a pointer to a char array including crashing.

The fix is to update libgcc_s to make it pass an int64_t to the stop
function and to libstdc++ as it expects _Unwind_Exception_Class to be an
array.
2013-02-04 09:28:36 +00:00
bin sh: Expand here documents in the current process. 2013-02-03 15:54:57 +00:00
cddl Add a new LIBRARIES_ONLY make variable to disable the build and install 2013-01-17 17:27:10 +00:00
contrib Allow the unwind functions int libgcc_s to interact correctly with libthr. 2013-02-04 09:28:36 +00:00
crypto Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
etc Use the default policy table of RFC 6724. 2013-02-02 18:08:09 +00:00
games Use Bernard Baruch's full name. 2012-12-05 13:57:00 +00:00
gnu - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from 2013-01-29 17:03:18 +00:00
include Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along 2013-01-30 14:59:26 +00:00
kerberos5 Only try to install one link at each path. 2013-01-23 23:49:35 +00:00
lib Add several missing symbols to libcxxrt's symbol version map, and remove 2013-02-03 20:40:41 +00:00
libexec Retire struct sockaddr_inarp. 2013-01-31 08:55:21 +00:00
release - Add CHECKSUM.* support in Makefile[1]. 2013-02-03 10:26:24 +00:00
rescue Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
sbin Retire struct sockaddr_inarp. 2013-01-31 08:55:21 +00:00
secure Add a src.conf(5) option to allow users to compile in the "NONE cipher", 2013-01-17 01:51:04 +00:00
share - Add CHECKSUM.* support in Makefile[1]. 2013-02-03 10:26:24 +00:00
sys Further improve r242655 and supply VM_{MIN,MAX}_KERNEL_ADDRESS as constant 2013-02-03 21:43:55 +00:00
tools Add missing src.conf(5) fragments for WITHOUT_LIBCPLUSPLUS and WITH_GPL_DTC. 2013-02-02 22:42:46 +00:00
usr.bin Pull in r170135 from upstream clang trunk: 2013-02-02 22:28:29 +00:00
usr.sbin crunchide(1): Put e_shnum into a local variable. 2013-02-03 21:16:33 +00:00
COPYRIGHT Happy New Year 2013! 2012-12-31 11:22:55 +00:00
LOCKS Test commit to make sure commit mail works after moving the server. 2012-12-29 16:03:23 +00:00
MAINTAINERS Fix typo ('a' and 'o' are not the same letter apparently) 2012-10-22 14:48:14 +00:00
Makefile Import bmake-20130123 2013-01-31 16:44:23 +00:00
Makefile.inc1 - Add CHECKSUM.* support in Makefile[1]. 2013-02-03 10:26:24 +00:00
ObsoleteFiles.inc According to the notes in ObsoleteFiles.inc we last installed section 2013-01-16 23:16:41 +00:00
README Add the cddl/ directory. 2010-11-14 11:32:56 +00:00
UPDATING - Fix typo 2013-01-30 10:23:38 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The ``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html