old-cross-binutils/gprof
Ian Lance Taylor c3de2a19e8 Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>
Make it possible to build a cross gprof, although a few cases are
	still not handled:
	* configure.in: Don't set MY_TARGET.
	* gprof.h: Don't include MACHINE_H.  Don't define FOPEN_RB or
	FOPEN_WB; just get them from sysdep.h.
	* core.h (min_insn_size, offset_to_code): Declare.
	* core.c (MIN_INSN_SIZE): Don't define.
	(min_insn_size, offset_to_code): New variables.
	(core_init): Initialize min_insn_size and offset_to_code.
	(find_call): New function.
	(core_create_line_syms): Don't use min_dist.  Set is_static in
	pass 2.
	* hist.c (UNITS_TO_CODE): Define.
	* gprof.c (default_excluded_list): Add "__mcount_internal".
	* gmon.h: Change TARGET_alpha to __alpha__.
	* hertz.h: Ifdef MACH, define hertz as HZ.
	* alpha.c (alpha_Instruction): Rename from Instruction.  Change
	all references.
	(alpha_find_call): Rename from find_call.
	* alpha.h: Remove.
	* dummy.c, dummy.h: Remove.
	* i386.c (i386_iscall): Rename from iscall.  Change all
	references.  Check for call instruction, not jump or lcall.
	(i386_find_call): Rename from find_call.  Correct for VMA.
	Correct call destination computation.  Don't dereference symbol if
	it is NULL.
	* i386.h: Remove.
	* ns532.c, ns532.h: Remove.
	* sparc.c (CALL): Define.
	(sparc_find_call): Rename from find_call.
	* sparc.h: Remove.
	* tahoe.c: Include cg_arcs.h, core.h, hist.h, and symtab.h.  Don't
	include time_host.h.
	(CALLF, PC): Define.
	(enum tahoe_opermodes, tahoe_operandenum): Define.  Rename all
	references to opermodes or operandenum to these.
	(tahoe_operandmode): Rename from operandmode.  Call abort if
	switch does not return.
	(tahoe_operandname): Rename from operandname.  Call abort if
	switch does not return.
	(tahoe_operandlength): Rename from operandlength.  Call abort if
	switch does not return.
	(tahoe_reladdr): Rename from reladdr.
	(tahoe_find_call): Rename from find_call.  Use core_text_space
	rather than textspace.
	* tahoe.h: Remove.
	* vax.c (CALLS, PC): Define.
	(enum opermodes, operandenum, struct modebyte): Define.
	(vax_operandmode): Rename from operandmode.  Call abort if switch
	does not return.
	(vax_operandname): Rename from operandname.  Call abort if switch
	does not return.
	(vax_operandlength): Rename from operandlength.  Call abort if
	switch does not return.
	(vax_reladdr): Rename from reladdr.
	(vax_find_call): Rename from find_call.
	* vax.h: Remove.
	* Makefile.am (AUTOMAKE_OPTIONS): Set to cygnus.
	(MY_TARGET): Remove.
	(INCLUDES): Remove -DTARGET_$(MY_TARGET) and -DMACHINE_H=
	\"$(MY_TARGET).h\".
	(gprof_SOURCES): Add i386.c, alpha.c, vax.c, tahoe.c, sparc.c.
	(gprof_DEPENDENCIES): Remove $(MY_TARGET).o.
	(gprof_LDADD): Likewise.
	(noinst_HEADERS): Remove alpha.h, i386.h, ns532.h, sparc.h,
	tahoe.h, vax.h, dummy.h.
	(EXTRA_DIST): Remove alpha.c, i386.c, ns532.c, sparc.c, tahoe.c,
	vax.c, dummy.c.
	($(OBJECTS)): Don't depend upon $(MY_TARGET).h.
	($(MY_TARGET).o): Remove target.
	(i386.o, alpha.o, vax.o, tahoe.o, sparc.o): New targets.
	* configure, Makefile.in, aclocal.m4: Rebuild.
1998-02-03 19:52:41 +00:00
..
.cvsignore Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details: 1995-02-07 22:34:18 +00:00
.gdbinit Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details: 1995-02-07 22:34:18 +00:00
.Sanitize Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
acconfig.h * configure.in: Change version number to 2.8.2. Call 1997-08-09 20:30:19 +00:00
aclocal.m4 Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
alpha.c Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
basic_blocks.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
basic_blocks.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
bb_exit_func.c * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be 1996-07-04 18:35:44 +00:00
bsd_callg_bl.m * gen-c-prog.awk: New awk script, lightly changed from 1992-10-06 00:57:18 +00:00
call_graph.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
call_graph.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
cg_arcs.c Mon Mar 17 10:54:47 1997 David Mosberger-Tang <davidm@azstarnet.com> 1997-03-17 15:55:41 +00:00
cg_arcs.h * gprof.c (long_options): Add "--function-ordering" and 1995-12-31 06:36:30 +00:00
cg_dfn.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
cg_dfn.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
cg_print.c * core.c (core_create_function_syms): Move filename and func_name 1996-03-21 22:21:30 +00:00
cg_print.h * core.c (core_create_function_syms): Move filename and func_name 1996-03-21 22:21:30 +00:00
ChangeLog Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
configure Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
configure.bat changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs) 1994-05-27 16:58:05 +00:00
configure.in Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
core.c Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
core.h Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
flat_bl.m Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details: 1995-02-07 22:34:18 +00:00
fsf_callg_bl.m * gen-c-prog.awk: New awk script, lightly changed from 1992-10-06 00:57:18 +00:00
gconfig.in * configure.in: Change version number to 2.8.2. Call 1997-08-09 20:30:19 +00:00
gen-c-prog.awk * gen-c-prog.awk: Changed reference to "make-c-prog.awk" in 1995-04-19 18:27:35 +00:00
gmon.h Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
gmon_io.c * configure.in: Define BSD44_FORMAT if the target looks like a 1997-02-27 17:49:00 +00:00
gmon_io.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
gmon_out.h * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
gprof.1 tipoes 1998-01-22 02:27:29 +00:00
gprof.c Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
gprof.h Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
gprof.texi Add missing end itemize. 1997-09-04 19:36:15 +00:00
hertz.c * configure.in: Call AC_ISC_POSIX. 1996-06-27 15:37:48 +00:00
hertz.h Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
hist.c Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
hist.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
i386.c Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
make_hp_order_obj Remove temporary file when finished. 1996-01-17 21:16:59 +00:00
make_solaris_order_map Just so we have them checked in somewhere; they're sanitized away as we 1995-12-31 06:28:22 +00:00
Makefile.am Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
Makefile.in Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
NOTES Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details: 1995-02-07 22:34:18 +00:00
search_list.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
search_list.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
source.c * core.c (core_create_line_syms): Use xstrdup rather than strdup. 1996-06-18 21:37:38 +00:00
source.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
sparc.c Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
stamp-h.in * configure.in: Change version number to 2.8.2. Call 1997-08-09 20:30:19 +00:00
sym_ids.c Wed Nov 1 15:23:15 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> 1995-11-01 20:24:27 +00:00
sym_ids.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
symtab.c * core.c (core_create_function_syms): Move filename and func_name 1996-03-21 22:21:30 +00:00
symtab.h Sat Mar 15 19:17:31 1997 H.J. Lu <hjl@lucon.org> 1997-03-16 00:18:26 +00:00
tahoe.c Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
TEST add final newline 1995-07-07 02:19:13 +00:00
TODO Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00
utils.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
utils.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
vax.c Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org> 1998-02-03 19:52:41 +00:00