FreeBSD src
Go to file
Dimitry Andric 714d4612df Binutils commit 0c845abb5a0083c6deebc75975608237015badba increased
ELF_MAXPAGESIZE for amd64 from 0x00100000 to 0x00200000.  This caused
the kernel to be incorrectly linked, using the existing linker script,
resulting in a virtual address of 0xffffffff80000000 for the LOAD
program header.

The boot loader will load such a kernel at a real address of 0x00000000,
which either causes protection faults in btx, crashes the machine, or
(in case of a VMware guest) even makes it power down. :)

Fix this by partially synchronizing the amd64 linker script with
binutils own updated version, in particular replacing a hardcoded
value of 0x00100000 by CONSTANT(MAXPAGESIZE).
2010-11-04 18:57:51 +00:00
bin sh(1): Correct synopsis and make precise how $0 is set. 2010-10-31 23:03:11 +00:00
cddl Fix ztest when it is executed by just 'ztest' and not by full path 2010-11-01 10:42:14 +00:00
contrib Backport a fix for binutils PR7093, which caused segfaults in ld 2010-11-03 16:46:05 +00:00
crypto Remove copyright strings printed at login time via login(1) or sshd(8). 2010-09-28 20:57:14 +00:00
etc Import the binutils master branch from the sourceware CVS repository, 2010-10-30 23:02:32 +00:00
games mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
gnu Simply our custom OSABI branding 'stub'. It is presently still needed 2010-11-03 16:39:55 +00:00
include Add an x86/include directory to the kernel to hold headers that are common 2010-11-01 17:34:04 +00:00
kerberos5 Fix a typo. 2010-01-09 18:53:03 +00:00
lib Sync: merge r214353 through r214648 from ^/head. 2010-11-01 22:11:18 +00:00
libexec Use -fPIC for rtld-elf, so it can link on sparc64. 2010-10-30 16:51:25 +00:00
release Add a short note about kernel modules in FIXIT mode. 2010-10-27 17:13:38 +00:00
rescue MFtbemd: 2010-08-23 22:24:11 +00:00
sbin Add a ${.CURDIR} reference to the previous commit. 2010-10-29 21:24:56 +00:00
secure Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
share Add DragonflyBSD 2.8 and OpenBSD 4.8 releases 2010-11-01 17:27:09 +00:00
sys Binutils commit 0c845abb5a0083c6deebc75975608237015badba increased 2010-11-04 18:57:51 +00:00
tools sh: Detect various additional errors in the parser. 2010-10-29 21:06:57 +00:00
usr.bin Correct the abbreviations for general I/O and signal traces. 2010-11-01 15:18:57 +00:00
usr.sbin Sync: merge r214353 through r214648 from ^/head. 2010-11-01 22:11:18 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:37 +00:00
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS Import the binutils master branch from the sourceware CVS repository, 2010-10-30 23:02:32 +00:00
Makefile Connect FDT infrastructure to the build system. 2010-06-13 13:02:43 +00:00
Makefile.inc1 Check TARGET_ARCH as well as TARGET to determine if we are doing a cross 2010-09-08 19:53:16 +00:00
Makefile.mips Guard against TARGET_ABI being undefined (TARGET_ABI will go away soon) 2010-08-26 14:54:12 +00:00
ObsoleteFiles.inc catch up manual pages with rename of vm_page_sleep_busy to vm_page_sleep_if_busy 2010-10-20 06:29:11 +00:00
README Vendor import of BIND 9.6-ESV-R2 2010-10-30 21:01:18 +00:00
UPDATING add dates along with revision numbers in UPDATING entry for 20100915 2010-10-25 07:39:05 +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.

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