NetBSD/gnu/dist/toolchain/gprof
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
..
po Import binutils 2.11. 2001-04-23 12:27:01 +00:00
.gdbinit
ChangeLog Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
MAINTAINERS Import binutils 2.11. 2001-04-23 12:27:01 +00:00
Makefile.am Resolve conflicts from binutils 2.11.2 import 2001-08-14 04:43:05 +00:00
Makefile.in Resolve conflicts from binutils 2.11.2 import 2001-08-14 04:43:05 +00:00
NOTES
TEST
TODO Slightly simplified version of a patch I just submitted to the 2002-01-26 23:57:59 +00:00
acconfig.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
acinclude.m4 Import binutils 2.11. 2001-04-23 12:27:01 +00:00
aclocal.m4 Import binutils 2.11. 2001-04-23 12:27:01 +00:00
alpha.c
basic_blocks.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
basic_blocks.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
bb_exit_func.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
bbconv.pl Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
bsd_callg_bl.c
bsd_callg_bl.m
call_graph.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
call_graph.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
cg_arcs.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
cg_arcs.h
cg_dfn.c
cg_dfn.h
cg_print.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
cg_print.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
configure Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
configure.in Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
corefile.c Need <stdlib.h> for malloc() protoype (to avoid warning on LP64). 2001-10-05 18:47:42 +00:00
corefile.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
dep-in.sed Import binutils 2.11. 2001-04-23 12:27:01 +00:00
flat_bl.c
flat_bl.m
fsf_callg_bl.c
fsf_callg_bl.m
gconfig.in Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
gen-c-prog.awk
gmon.h Slightly simplified version of a patch I just submitted to the 2002-01-26 23:57:59 +00:00
gmon_io.c Slightly simplified version of a patch I just submitted to the 2002-01-26 23:57:59 +00:00
gmon_io.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
gmon_out.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
gprof.1 Merge manpage changes for gprof from gnu/dist/gprof. 2001-08-06 20:05:16 +00:00
gprof.c Need <stdlib.h> for getenv() protoype (to avoid warning on LP64). 2001-10-05 18:48:01 +00:00
gprof.h
gprof.info Import binutils 2.11. 2001-04-23 12:27:01 +00:00
gprof.info-1 Import binutils 2.11. 2001-04-23 12:27:01 +00:00
gprof.info-2 Import binutils 2.11. 2001-04-23 12:27:01 +00:00
gprof.info-3 Import binutils 2.11. 2001-04-23 12:27:01 +00:00
gprof.texi Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
hertz.c
hertz.h
hist.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
hist.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
i386.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
mips.c Add mips support from gnu/dist/gprof. 2001-08-06 20:13:28 +00:00
search_list.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
search_list.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
source.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
source.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
sparc.c
stamp-h.in
sym_ids.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
sym_ids.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
symtab.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
symtab.h Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
tahoe.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
utils.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
utils.h
vax.c Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00