NetBSD/gnu
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
..
dist Slightly simplified version of a patch I just submitted to the 2002-01-26 23:57:59 +00:00
lib regenerate. 2002-01-22 15:52:53 +00:00
libexec then -> than. 2002-01-07 14:47:37 +00:00
usr.bin It's a C program, but it uses libgroff, which uses C++, so we 2002-01-22 23:57:19 +00:00
usr.sbin Define "HAVE_ERR_H" to fix native build. 2002-01-22 13:50:53 +00:00
Makefile Use @true instead of @${TRUE} in includes-foo targets, since there is no 2001-10-12 21:05:08 +00:00
README
toolchain2netbsd - get SIM_OBS for GDB. 2002-01-22 13:13:00 +00:00

README

src/gnu/README:			<$Revision: 1.3 $>


Organization of Sources:

This directory hierarchy is using a new organization that
separates the GNU sources from the BSD-style infrastructure
used to build the GNU sources.  The GNU sources are kept in
the standard GNU source tree layout under:

	dist/*

The build infrastructure uses the normal BSD way under:

	lib/*
	usr.bin/*

The makefiles in the above hierarchy will "reach over" into
the GNU sources (src/gnu/dist) for everything they need.


Maintenance Strategy:

The sources under src/gnu/dist are generally a combination of
some published distribution plus changes that we submit to the
maintainers and that are not yet published by them.  There are
a few files that are never expected to be submitted to the FSF,
(i.e. BSD-style makefiles and such) and those generally should
stay in src/gnu/lib or src/gnu/usr.bin (the BSD build areas).

Make sure all changes made to the GNU sources are submitted to
the appropriate maintainer, but only after coordinating with the
NetBSD maintainers by sending your proposed submission to the
<tech-toolchain@netbsd.org> mailing list.  Only send the changes
to the third-party maintainers after consensus has been reached.


Maintenance History:

Original GNU sources were imported as follows:	[gwr,1997/09/24]
	dist/gdb	FSF gdb-4-16
	dist/readline	FSF readline-2-1
	dist/(other)	FSF binutils-2-8
Updated dist/(other) to FSF binutils-2-8-1	[gwr,1997/09/24]

Several changes have been integrated since the initial import,
and those will be submitted to the maintainers after this code
has been tested on all NetBSD ports (i.e. after NetBSD 1.3).
Some of the integration was done by importing a file from a
later snapshot.  Please log all such imports here.

Updated these files via import with tags: FSF cygnus970817
	dist/gdb/alpha-tdep.c
	dist/gdb/config/alpha/tm-alpha.h