old-cross-binutils/gprof
Jeff Law 64c50fc5db * gprof.c (long_options): Add "--function-ordering" and
"--file-ordering" options.
	(usage): Add new options to usage message.
	(main): Handle new options.
	* gprof.h (STYLE_FUNCTION_ORDER): Define.
	(STYLE_FILE_ORDER): Define.
	(function_mapping_file): Declare.
	* cg_arcs.c (arcs, numarcs): New globals.
	(arc_add): Put new arcs into the arc array so the function/file
	ordering code can examine them.
	* cg_arcs.h (struct arc): New field "has_been_placed".
	(arcs, numarcs): Declare new globals.
	* core.c (symbol_map, symbol_map_count): New globals.
	(read_function_mappings): New function to read in a function
	to object map file.
	(core_init): Call read_function_mappings if a function mapping
	file exists.
	(core_create_function_syms): Handle function to object file
	mappings.
	* symtab.h (struct sym): New fields "mapped", "has_been_placed",
	"nuses", "prev".
	* cg_print.c (cmp_arc_count): New function for sorting arcs.
	(cmp_fun_nuses): Likewise for functions.
	(cg_print_function_ordering): New function to print a suggested
	function ordering.
	(cg_print_file_ordering): Likewise for ordering .o files.
	(order_and_dump_functions_by_arcs): Helper function for function
	and object file ordering code.
Gprof changes for mentor vm work.
1995-12-31 06:36:30 +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 Just so we have them checked in somewhere; they're sanitized away as we 1995-12-31 06:28:22 +00:00
__bb_exit_func.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
alpha.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
alpha.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +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
bsd_callg_bl.m
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 * gprof.c (long_options): Add "--function-ordering" and 1995-12-31 06:36:30 +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 * gprof.c (long_options): Add "--function-ordering" and 1995-12-31 06:36:30 +00:00
cg_print.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
ChangeLog * gprof.c (long_options): Add "--function-ordering" and 1995-12-31 06:36:30 +00:00
configure some ns32k updates from Ian Dall 1995-09-05 19:04:22 +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 some ns32k updates from Ian Dall 1995-09-05 19:04:22 +00:00
core.c * gprof.c (long_options): Add "--function-ordering" and 1995-12-31 06:36:30 +00:00
core.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
dummy.c Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1995-10-06 20:51:43 +00:00
dummy.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +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 * gen-c-prog.awk: Changed reference to "make-c-prog.awk" in 1995-04-19 18:27:35 +00:00
gmon.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
gmon_io.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +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
gprof.c * gprof.c (long_options): Add "--function-ordering" and 1995-12-31 06:36:30 +00:00
gprof.h * gprof.c (long_options): Add "--function-ordering" and 1995-12-31 06:36:30 +00:00
gprof.texi * gprof.c (long_options): Add "--function-ordering" and 1995-12-31 06:36:30 +00:00
hertz.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
hertz.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
hist.c fix typo in last change 1995-11-21 19:28:35 +00:00
hist.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
i386.c ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
i386.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
make_hp_order_obj Just so we have them checked in somewhere; they're sanitized away as we 1995-12-31 06:28:22 +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.in * Makefile.in (.m.c): Strip out directory name from function name. 1995-11-21 19:26:27 +00:00
NOTES Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details: 1995-02-07 22:34:18 +00:00
ns532.c some ns32k updates from Ian Dall 1995-09-05 19:04:22 +00:00
ns532.h some ns32k updates from Ian Dall 1995-09-05 19:04:22 +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 * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
source.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
sparc.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
sparc.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +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 * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
symtab.h * gprof.c (long_options): Add "--function-ordering" and 1995-12-31 06:36:30 +00:00
tahoe.c * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +00:00
tahoe.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00
TEST add final newline 1995-07-07 02:19:13 +00:00
TODO * __bb_exit_func.c: New file, from David Mosberger-Tang. 1995-03-14 02:58:16 +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 vax.c doesn't need to include vax.h; gprof.h does it 1995-11-21 18:34:11 +00:00
vax.h ran "indent -gnu"; have not fixed block comment style 1995-02-08 02:35:44 +00:00