freebsd kernel with SKQ
Go to file
tmm 1dc333167a Fix the problem that surfaced with the new binutils import on sparc64
(and that is for now being worked around by a binutils patch).

The rtld code tested &_DYNAMIC against 0 to see whether rtld itself
was built as PIC or not. While the sparc64 MD code did not rely
on the preset value of the GOT slot for _DYNAMIC any more due
to previous binutils changes, it still used to not be 0, so
that this check did work. The new binutils do however initialize
this slot with 0. As a consequence, rtld would not properly initialize
itself and crash.
Fix that by introducing a new macro, RTLD_IS_DYNAMIC, to take the role
of this test. For sparc64, it is implemented using the rtld_dynamic()
code that was already there. If an architecture does not provide its
own implementation, we default to the old check.

While being there, mark _DYNAMIC as a weak symbol in the sparc64
rtld_start.S. This is needed in the LDSCRIPT case, which is however
not currently supported for want of an actual ldscript.

Sanity checked with md5 on alpha, amd64, i386 and ia64.
2004-06-18 02:01:37 +00:00
bin Typo: s/SunOP/SunOS/g. 2004-06-16 12:57:31 +00:00
contrib Fix printing of u_int64_t with a cast to unsigned long long. 2004-06-17 15:23:51 +00:00
crypto Regenerate. 2004-04-20 09:49:37 +00:00
etc Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
games Correct assorted typos and grammos. 2004-06-10 21:03:34 +00:00
gnu Commit a crude hack so we get sparc64 snapshots working again with a 2004-06-17 16:08:20 +00:00
include Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
kerberos5 Update version strings for Heimdal: 0.6 -> 0.6.1 2004-04-13 16:41:00 +00:00
lib CLOCK_PROF and CLOCK_VIRTUAL are implemented now. 2004-06-17 23:13:38 +00:00
libexec Fix the problem that surfaced with the new binutils import on sparc64 2004-06-18 02:01:37 +00:00
release Die if make buildworld fails -- don't wait 'till installworld can't find 2004-06-10 19:33:26 +00:00
rescue
sbin Add missing newlines. 2004-06-17 06:04:14 +00:00
secure Import the openssl conf for arm. 2004-05-14 12:26:51 +00:00
share Add an example to rc.conf(5) about how to use the static_routes variable. 2004-06-18 01:28:33 +00:00
sys A couple more style(9) nits I should have included in last commit 2004-06-18 01:28:54 +00:00
tools Update for so_state->sb_state, SB_* flag renames. 2004-06-14 21:42:01 +00:00
usr.bin Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
usr.sbin Use strlcpy(3) to replace the idiomatic 2004-06-17 14:07:16 +00:00
COPYRIGHT
installworld_newk
installworld_oldk
MAINTAINERS Add myself as maintainer for geom_nop, geom_stripe and geom(8). 2004-05-20 12:44:23 +00:00
Makefile Add a kernel-toolchain target which only builds the bits required to build 2004-04-13 13:42:01 +00:00
Makefile.inc1 Third time's a charm?? (the logic was reversed from desired) 2004-06-17 08:06:41 +00:00
README
UPDATING Change the return value of sema_timedwait() so it returns 0 on 2004-06-14 18:19:05 +00:00
UPDATING.64BTT

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
``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.

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.

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