buildtools/binutils
Ingo Weinhold 17dd620975 Another piece of the puzzle: BFD has a value for a target's max page size.
The value defined for ld must be the same, since otherwise one gets
effects like we had for generated PPC objects: The BFD page size was
0x10000, the ld page size 0x1000. Thus the data segment alignment forced
in the linker script didn't allow BFD to really start a new segment
(unless by accident a 0x10000 boundary was crossed as well). Hence our
libraries and executables only had one loadable segment (containing both
text and data), which neither of the three Haiku ELF loaders (in boot
loader, kernel, and userland) likes at all.

As a fix we force 0x1000 page size for target Haiku in a similar way it
is done for QNX.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 00:08:48 +00:00
..
bfd Another piece of the puzzle: BFD has a value for a target's max page size. 2005-12-29 00:08:48 +00:00
binutils Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
config Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
cpu Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
etc Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
gas Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
gprof Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
include Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
intl Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
ld * The .plt section for PPC is of type SHT_NOBITS (not SHT_PROGBITS as 2005-12-10 20:07:57 +00:00
libiberty Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
opcodes Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
texinfo Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
config-ml.in Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
config.guess Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
config.sub Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
configure Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
configure.in Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
COPYING Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
COPYING.LIB Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
gettext.m4 Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
install-sh Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
libtool.m4 Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
ltcf-c.sh Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
ltcf-cxx.sh Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
ltcf-gcj.sh Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
ltconfig Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
ltmain.sh Added support for target i586-pc-haiku. 2005-12-05 14:10:26 +00:00
Makefile.def Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
Makefile.in Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
Makefile.tpl Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
makefile.vms Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
md5.sum Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
missing Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
mkdep Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
mkinstalldirs Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
move-if-change Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
README Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
setup.com Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
src-release Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
symlink-tree Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00
ylwrap Copying binutils 2.16.1 into trunk. 2005-11-22 16:32:10 +00:00

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.