NetBSD/gnu/dist
thorpej bc7317ef89 Slightly simplified version of a patch I just submitted to the
master binutils sources that fix gprof for LP64 platforms and
also fix some problems with cross-gprof:

        * TODO: Remove "host architecture pointer size" item.
        * gmon.h (GMON_HDRSIZE_BSD44_32): Define.
        (GMON_HDRSIZE_BSD44_64): Ditto.
        (GMON_HDRSIZE_OLDBSD_32): Ditto.
        (GMON_HDRSIZE_OLDBSD_64): Ditto.
        (struct raw_phdr): Wrap in #if 0, keeping it for
        documentation purposes only.
        (struct old_raw_phdr): Likewise.
        (struct raw_arc): Likewise.  Change type/size of
        "count" member to long match 4.4BSD.
        * gmon_io: Update copyright years.
        (gmon_io_read_64): New function.
        (gmon_io_read_vma): Use bfd_arch_bits_per_address to
        determine target pointer size.  Use gmon_io_read_32
        and gmon_io_read_64.
        (gmon_io_write_64): New function.
        (gmon_io_write_vma): Use bfd_arch_bits_per_address to
        determine target pointer size.  Use gmon_io_write_32
        and gmon_io_write_64.
        (get_vma): Remove.
        (put_vma): Ditto.
        (gmon_read_raw_arc): New function.
        (gmon_write_raw_arc): New function.
        (gmon_out_read): Do not use struct raw_phdr or
        struct old_raw_phdr to read the gmon header.  Use
        gmon_read_raw_arc to read call graph records.
        (gmon_out_write): Do not use struct raw_phdr or
        struct old_raw_phdr to write the gmon header.  Use
        gmon_write_raw_arc to write call graph records.

This makes the GMON_PTR_SIZE constant obsolete, however I have not
included the changes to the autoconf machinery that eliminate that
constant completely in order to minimize the changes here (they
will be picked up when we import Binutils 2.12 when it is released).
2002-01-26 23:57:59 +00:00
..
autoconf Allow $M4 to contain command line options. 2001-11-14 23:48:33 +00:00
bc
bfd Garbage-collect the code that created old-format PLT entires. 2001-12-14 01:12:24 +00:00
binutils
cvs
diffutils
gas add "-big" options for little endian 2001-11-29 09:24:24 +00:00
gawk
gcc apply gcc original rev. 1.198 (as rev. 1.116) 2001-11-16 07:25:18 +00:00
gdb
gettext
gprof
grep
groff Add a trailing dot. 2002-01-13 11:44:27 +00:00
include Pull up code from binutils 2.11.3 to fix a problem when linking against 2001-11-15 20:06:27 +00:00
ld Pull up code from binutils 2.11.3 to fix a problem when linking against 2001-11-15 20:06:27 +00:00
libf2c
libiberty
libio Disable the atexit(_IO_cleanup) for two good reasons: 2001-12-24 16:38:19 +00:00
libstdc++
opcodes
postfix sync with 20010228-pl08 2001-11-20 03:58:40 +00:00
readline/doc
sendmail
texinfo Some sanity fixes (including a possible buffer overflow in makeinfo), plus 2002-01-16 17:22:37 +00:00
toolchain Slightly simplified version of a patch I just submitted to the 2002-01-26 23:57:59 +00:00
README.toolchain
config.guess
config.sub
install.sh

README.toolchain

$NetBSD: README.toolchain,v 1.3 2001/10/15 18:28:28 bjh21 Exp $


HOW TO BUILD A CROSS COMPILER
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Section to be written.]

See also: http://www.netbsd.org/Documentation/cross/


IMPORTED VERSIONS
~~~~~~~~~~~~~~~~~
The following software is in gnusrc/gnu/dist/toolchain, in a unified build
structure:

    gcc-2.95.3
    binutils-2.11.2
    gdb-5.0


IMPORT STEPS
~~~~~~~~~~~~
1. All distributions were unpacked and all `.cvsignore' files were
   removed.

2. All files in gcc's `include' top level directory were removed from
   binutils's `include' top level directory (these are the libiberty
   include files).

   cd gcc-*/include; for f in *; do rm -f ../../binutils-*/include/$f; done

3. The gcc distribution was imported in one shot into
   gnusrc/gnu/dist/toolchain, including the recursive build structure.

4. The binutils distribution was stripped down to the following directories,
   with no files at the top level:

   bfd, binutils, gas, gprof, include, intl, ld, opcodes

5. Binutils was imported into gnusrc/gnu/dist/toolchain, which included
   only the subdirectories above.

6. The gdb distribution was stripped down to the following directories,
   with no files at the top level:

   gdb, mmalloc, readline, sim

7. Gdb was imported into gnusrc/gnu/dist/toolchain, which included only
   the subdirectories above.