1*3d8817e4Smiod2003-11-06  Bruno Rohee  <bruno@rohee.com>
2*3d8817e4Smiod
3*3d8817e4Smiod	* gprof.texi: Fix "the the" typo.
4*3d8817e4Smiod
5*3d8817e4Smiod2003-10-30  Nick Clifton  <nickc@redhat.com>
6*3d8817e4Smiod
7*3d8817e4Smiod	* gprof.texi (Compiling): Describe how to use gprof when source
8*3d8817e4Smiod	files are not compiled with -pg.  Mention other profiling options
9*3d8817e4Smiod	supported by gcc.
10*3d8817e4Smiod	(How do I?): Mention the function call overhead introduced by -pg.
11*3d8817e4Smiod
12*3d8817e4Smiod2003-10-29  Nick Clifton  <nickc@redhat.com>
13*3d8817e4Smiod
14*3d8817e4Smiod	* gprof.texi: Apply patch supplied by Eric S Raymond via RMS:
15*3d8817e4Smiod	(Compiling): Mention that -pg must be passed to both the compiler
16*3d8817e4Smiod	and the linker.
17*3d8817e4Smiod	Mention that -a is now deprecated.
18*3d8817e4Smiod	(How do I?): Add an entry describing how to get more information
19*3d8817e4Smiod	about program hotspots.
20*3d8817e4Smiod
21*3d8817e4Smiod2003-10-11  Alan Modra  <amodra@bigpond.net.au>
22*3d8817e4Smiod
23*3d8817e4Smiod	* corefile.c (core_create_function_syms): Don't refer directly to
24*3d8817e4Smiod	_cooked_size and vma;  Use bfd_section_size and bfd_get_section_vma.
25*3d8817e4Smiod
26*3d8817e4Smiod2003-08-26  Nick Clifton  <nickc@redhat.com>
27*3d8817e4Smiod
28*3d8817e4Smiod	* po/de.po: New German translation.
29*3d8817e4Smiod	* configure.in (ALL_LINGUAS): Add de.
30*3d8817e4Smiod	* configure: Regenerate.
31*3d8817e4Smiod	* Makefile.in: Regenerate.
32*3d8817e4Smiod	* aclocal.m4: Regenerate.
33*3d8817e4Smiod	* gconfig.in: Regenerate.
34*3d8817e4Smiod
35*3d8817e4Smiod2003-08-21  Nick Clifton  <nickc@redhat.com>
36*3d8817e4Smiod
37*3d8817e4Smiod	* po/tr.po: Updated Turkish translation.
38*3d8817e4Smiod
39*3d8817e4Smiod2003-08-14  Alan Modra  <amodra@bigpond.net.au>
40*3d8817e4Smiod
41*3d8817e4Smiod	* dep-in.sed: Remove libintl.h.
42*3d8817e4Smiod	* Makefile.am (POTFILES.in): Unset LC_COLLATE.
43*3d8817e4Smiod	* Makefile.in: Regenerate.
44*3d8817e4Smiod
45*3d8817e4Smiod2003-07-24  Nick Clifton  <nickc@redhat.com>
46*3d8817e4Smiod
47*3d8817e4Smiod	* po/fr.po: Updated French translation.
48*3d8817e4Smiod
49*3d8817e4Smiod2003-07-20  H.J. Lu <hongjiu.lu@intel.com>
50*3d8817e4Smiod
51*3d8817e4Smiod	* po/Make-in (.po.gmo): Do check if the .gmo file is writable
52*3d8817e4Smiod	before generating it.
53*3d8817e4Smiod
54*3d8817e4Smiod2003-07-17  Nick Clifton  <nickc@redhat.com>
55*3d8817e4Smiod
56*3d8817e4Smiod	* po/es.po: New Spanish translation.
57*3d8817e4Smiod
58*3d8817e4Smiod2003-07-11  Alan Modra  <amodra@bigpond.net.au>
59*3d8817e4Smiod
60*3d8817e4Smiod	* po/gprof.pot: Regenerate.
61*3d8817e4Smiod
62*3d8817e4Smiod2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
63*3d8817e4Smiod
64*3d8817e4Smiod	* po/Make-in (DESTDIR): New.
65*3d8817e4Smiod	(install-data-yes): Support $(DESTDIR).
66*3d8817e4Smiod	(uninstall): Likewise.
67*3d8817e4Smiod
68*3d8817e4Smiod2003-03-27  Chris Demetriou  <cgd@broadcom.com>
69*3d8817e4Smiod
70*3d8817e4Smiod	* gmon_io.c (enum gmon_ptr_size, enum gmon_ptr_signedness): New.
71*3d8817e4Smiod	(gmon_get_ptr_size, gmon_get_ptr_signedness): New.
72*3d8817e4Smiod	(gmon_io_read_vma, gmon_io_write_vma, gmon_read_raw_arc)
73*3d8817e4Smiod	(gmon_write_raw_arc, gmon_out_read, gmon_out_write): Adjust to
74*3d8817e4Smiod	use new functions and enums.
75*3d8817e4Smiod
76*3d8817e4Smiod2003-02-21  K Schutte  <schutte@fel.tno.nl>
77*3d8817e4Smiod
78*3d8817e4Smiod	* corefile.c (core_create_line_syms): Check for a NULL sentinel
79*3d8817e4Smiod	value before using it.
80*3d8817e4Smiod
81*3d8817e4Smiod2002-12-02  Nick Clifton  <nickc@redhat.com>
82*3d8817e4Smiod
83*3d8817e4Smiod	* configure.in (LINGUAS): Add pt_BR.
84*3d8817e4Smiod	* configure: Regenerate.
85*3d8817e4Smiod	* po/pt_BR: New Brazillian Portugese translation.
86*3d8817e4Smiod
87*3d8817e4Smiod2002-11-30  Alan Modra  <amodra@bigpond.net.au>
88*3d8817e4Smiod
89*3d8817e4Smiod	* basic_blocks.c, basic_blocks.h, cg_arcs.c, cg_dfn.c, cg_print.c,
90*3d8817e4Smiod	corefile.c, gmon_io.c, gprof.c, gprof.h, hist.c, mips.c, source.c,
91*3d8817e4Smiod	source.h, sym_ids.c, sym_ids.h, symtab.h, tahoe.c, vax.c: Replace
92*3d8817e4Smiod	boolean with bfd_boolean, true with TRUE, false with FALSE.
93*3d8817e4Smiod	Formatting.
94*3d8817e4Smiod
95*3d8817e4Smiod2002-11-12  Nick Clifton  <nickc@redhat.com>
96*3d8817e4Smiod
97*3d8817e4Smiod	* configure.in (ALL_LINGUAS): Add da.
98*3d8817e4Smiod	* configure: Regenerate.
99*3d8817e4Smiod	* po/da.po: New Danish translation.
100*3d8817e4Smiod
101*3d8817e4Smiod2002-08-22  Nick Clifton  <nickc@redhat.com>
102*3d8817e4Smiod
103*3d8817e4Smiod	* gprof.c (main): Turn off default excluded functions in FLAT
104*3d8817e4Smiod	profile.
105*3d8817e4Smiod
106*3d8817e4Smiod2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
107*3d8817e4Smiod
108*3d8817e4Smiod	* gmon_io.c (gmon_io_read_64, gmon_io_write_64): Define only if
109*3d8817e4Smiod	BFD_HOST_U_64_BIT is defined.
110*3d8817e4Smiod	(gmon_io_read_vma, gmon_io_write_vma): Add ifdefs.
111*3d8817e4Smiod
112*3d8817e4Smiod2002-07-30  Nick Clifton  <nickc@redhat.com>
113*3d8817e4Smiod
114*3d8817e4Smiod	* po/tr.po: Updated Turkish translation.
115*3d8817e4Smiod
116*3d8817e4Smiod2002-07-30  Nick Clifton  <nickc@redhat.com>
117*3d8817e4Smiod
118*3d8817e4Smiod	* alpha.c, cg_arcs.c, cg_dfn.c, gmon.h, gprof.c, gprof.h, hertz.c,
119*3d8817e4Smiod	i386.c, mips.c, sparc.c, tahoe.c, utils.c, vax.c: Update Copyright
120*3d8817e4Smiod	notice so that it applies even if the sources are modified.
121*3d8817e4Smiod
122*3d8817e4Smiod2002-07-29  Ulrich Drepper  <drepper@redhat.com>
123*3d8817e4Smiod
124*3d8817e4Smiod	* gprof.texi (Executing the Program): Add documentation on how to use
125*3d8817e4Smiod	bbconv.pl.  Patch by Eric Hanchrow.
126*3d8817e4Smiod
127*3d8817e4Smiod2002-07-25  Nick Clifton  <nickc@redhat.com>
128*3d8817e4Smiod
129*3d8817e4Smiod	* po/es.po: Updated Spanish translation.
130*3d8817e4Smiod	* po/fr.po: Updated French translation.
131*3d8817e4Smiod
132*3d8817e4Smiod2002-07-24  Dave Brolley  <brolley@redhat.com>
133*3d8817e4Smiod
134*3d8817e4Smiod	* corefile.c (core_create_function_syms): Use the end of the section
135*3d8817e4Smiod	containing the symbol to compute max_vma.
136*3d8817e4Smiod
137*3d8817e4Smiod2002-07-24  Nick Clifton  <nickc@redhat.com>
138*3d8817e4Smiod
139*3d8817e4Smiod	* po/sv.po: Updated Swedish translation.
140*3d8817e4Smiod	* po/es.po: Updated Spanish translation.
141*3d8817e4Smiod
142*3d8817e4Smiod2002-07-23  Nick Clifton  <nickc@redhat.com>
143*3d8817e4Smiod
144*3d8817e4Smiod	* po/fr.po: Updated French translation.
145*3d8817e4Smiod	* po/id.po: New Indonesian translation.
146*3d8817e4Smiod	* configure.in (LINGUAS): Add id.
147*3d8817e4Smiod	* configure: Regenerate.
148*3d8817e4Smiod
149*3d8817e4Smiod2002-05-02  Nick Clifton  <nickc@cambridge.redhat.com>
150*3d8817e4Smiod
151*3d8817e4Smiod	* po/Make-in (.po.gmo): Do not attempt to create a .gmo file if
152*3d8817e4Smiod	the sources are read-only.
153*3d8817e4Smiod
154*3d8817e4Smiod2002-04-04  Alan Modra  <amodra@bigpond.net.au>
155*3d8817e4Smiod
156*3d8817e4Smiod	* dep-in.sed: Cope with absolute paths.
157*3d8817e4Smiod	* Makefile.am (dep.sed): Subst TOPDIR.
158*3d8817e4Smiod	Run "make dep-am".
159*3d8817e4Smiod	* Makefile.in: Regenerate.
160*3d8817e4Smiod
161*3d8817e4Smiod2002-03-21  Alan Modra  <amodra@bigpond.net.au>
162*3d8817e4Smiod
163*3d8817e4Smiod	* Makefile.am: Run "make dep-am".
164*3d8817e4Smiod	* Makefile.in: Regenerate.
165*3d8817e4Smiod
166*3d8817e4Smiod2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
167*3d8817e4Smiod
168*3d8817e4Smiod	* po/fr.po: Updated version.
169*3d8817e4Smiod
170*3d8817e4Smiod2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
171*3d8817e4Smiod
172*3d8817e4Smiod	* po/fr.po: Updated version.
173*3d8817e4Smiod
174*3d8817e4Smiod2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
175*3d8817e4Smiod
176*3d8817e4Smiod	* gprof.texi: Wrap @menu in @ifnottex, not @ifinfo.
177*3d8817e4Smiod
178*3d8817e4Smiod2002-02-19  Frank Ch. Eigler  <fche@redhat.com>
179*3d8817e4Smiod
180*3d8817e4Smiod	* hist.c (hist_print): Rewrite log_scale calculation loop.
181*3d8817e4Smiod
182*3d8817e4Smiod2002-02-11  Alan Modra  <amodra@bigpond.net.au>
183*3d8817e4Smiod
184*3d8817e4Smiod	* Makefile.am: "make dep-am".
185*3d8817e4Smiod	* Makefile.in: Regenerate.
186*3d8817e4Smiod
187*3d8817e4Smiod2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
188*3d8817e4Smiod
189*3d8817e4Smiod	* gprof.c: Include "getopt.h" after other includes, so that
190*3d8817e4Smiod	the proper macros are defined.
191*3d8817e4Smiod	* gen-c-prog.awk: Emit a prototype for the generated function.
192*3d8817e4Smiod
193*3d8817e4Smiod2002-02-01  Alan Modra  <amodra@bigpond.net.au>
194*3d8817e4Smiod
195*3d8817e4Smiod	* configure.in (build_warnings): Add -Wstrict-prototypes
196*3d8817e4Smiod	-Wmissing-prototypes.
197*3d8817e4Smiod	* aclocal.m4: Regenerate.
198*3d8817e4Smiod	* gconfig.in: Regenerate.
199*3d8817e4Smiod	* configure: Regenerate.
200*3d8817e4Smiod	* Makefile.am: Run "make dep-am".
201*3d8817e4Smiod	* Makefile.in: Regenerate.
202*3d8817e4Smiod
203*3d8817e4Smiod	* alpha.c (alpha_find_call): Warning fixes.
204*3d8817e4Smiod	* mips.c (mips_find_call): Likewise.
205*3d8817e4Smiod	* sparc.c (sparc_find_call): Likewise.
206*3d8817e4Smiod	* basic_blocks.c: Warning fixes.  Eliminate DEFUN.
207*3d8817e4Smiod	* call_graph.c: Likewise.
208*3d8817e4Smiod	* cg_arcs.c: Likewise.
209*3d8817e4Smiod	* cg_dfn.cp: Likewise.
210*3d8817e4Smiod	* gprof.c: Likewise.
211*3d8817e4Smiod	* gprof.h: Likewise.
212*3d8817e4Smiod	* hist.c: Likewise.
213*3d8817e4Smiod	* search_list.c: Likewise.
214*3d8817e4Smiod	* source.c: Likewise.
215*3d8817e4Smiod	* source.h: Likewise.
216*3d8817e4Smiod	* sym_ids.c: Likewise.
217*3d8817e4Smiod	* symtab.c: Likewise.
218*3d8817e4Smiod	* symtab.h: Likewise.
219*3d8817e4Smiod	* utils.c: Likewise.
220*3d8817e4Smiod	* cg_print.c: Likewise.
221*3d8817e4Smiod	(struct function_map, symbol_map, symbol_map_count): Move
222*3d8817e4Smiod	declaration to..
223*3d8817e4Smiod	* corefile: ..here.
224*3d8817e4Smiod	* corefile.c: Warning fixes.  Eliminate DEFUN.
225*3d8817e4Smiod	(struct function_map): Remove declaration.
226*3d8817e4Smiod	* gmon_io.c: Warning fixes.  Eliminate DEFUN.
227*3d8817e4Smiod	(gmon_io_read_64): Make static.
228*3d8817e4Smiod	(gmon_io_write_64): Likewise.
229*3d8817e4Smiod	(gmon_read_raw_arc): Likewise.
230*3d8817e4Smiod	(gmon_write_raw_arc): Likewise.
231*3d8817e4Smiod	(gmon_io_write_8): Don't pass char, pass int param.
232*3d8817e4Smiod	* gmon_io.h (gmon_io_write_8): Likewise.
233*3d8817e4Smiod
234*3d8817e4Smiod	* Makefile.am: Run "make dep-am"
235*3d8817e4Smiod	* Makefile.in: Regenerate.
236*3d8817e4Smiod
237*3d8817e4Smiod	* basic_blocks.c: Replace bool with boolean, TRUE with true and
238*3d8817e4Smiod	FALSE with false throughout.
239*3d8817e4Smiod	* basic_blocks.h: Likewise.
240*3d8817e4Smiod	* cg_arcs.c: Likewise.
241*3d8817e4Smiod	* cg_dfn.c: Likewise.
242*3d8817e4Smiod	* cg_print.c: Likewise.
243*3d8817e4Smiod	* corefile.c: Likewise.
244*3d8817e4Smiod	* gmon_io.c: Likewise.
245*3d8817e4Smiod	* gprof.c: Likewise.
246*3d8817e4Smiod	* hist.c: Likewise.
247*3d8817e4Smiod	* mips.c: Likewise.
248*3d8817e4Smiod	* source.c: Likewise.
249*3d8817e4Smiod	* source.h: Likewise.
250*3d8817e4Smiod	* sym_ids.c: Likewise.
251*3d8817e4Smiod	* sym_ids.h: Likewise.
252*3d8817e4Smiod	* symtab.h: Likewise.
253*3d8817e4Smiod	* tahoe.c: Likewise.
254*3d8817e4Smiod	* vax.c: Likewise.
255*3d8817e4Smiod	* gprof.h: Likewise.
256*3d8817e4Smiod	(TRUE): Don't define.
257*3d8817e4Smiod	(FALSE): Don't define.
258*3d8817e4Smiod
259*3d8817e4Smiod2002-01-31  Jason R Thorpe <thorpej@wasabisystems.com>
260*3d8817e4Smiod
261*3d8817e4Smiod	* TODO: Remove "host architecture pointer size" item.
262*3d8817e4Smiod	* acconfig.h: Remove.
263*3d8817e4Smiod	* gconfig.in: Regenerate.
264*3d8817e4Smiod	* configure.in: Remove check for gmon pointer size.
265*3d8817e4Smiod	* configure: Regenerate.
266*3d8817e4Smiod	* gmon.h (GMON_HDRSIZE_BSD44_32): Define.
267*3d8817e4Smiod	(GMON_HDRSIZE_BSD44_64): Ditto.
268*3d8817e4Smiod	(GMON_HDRSIZE_OLDBSD_32): Ditto.
269*3d8817e4Smiod	(GMON_HDRSIZE_OLDBSD_64): Ditto.
270*3d8817e4Smiod	(struct raw_phdr): Wrap in #if 0, keeping it for
271*3d8817e4Smiod	documentation purposes only.
272*3d8817e4Smiod	(struct old_raw_phdr): Likewise.
273*3d8817e4Smiod	(struct raw_arc): Likewise.  Change type/size of
274*3d8817e4Smiod	"count" member to long match 4.4BSD.
275*3d8817e4Smiod	* gmon_io: Update copyright years.
276*3d8817e4Smiod	(gmon_io_read_64): New function.
277*3d8817e4Smiod	(gmon_io_read_vma): Use bfd_arch_bits_per_address to
278*3d8817e4Smiod	determine target pointer size.  Use gmon_io_read_32
279*3d8817e4Smiod	and gmon_io_read_64.
280*3d8817e4Smiod	(gmon_io_write_64): New function.
281*3d8817e4Smiod	(gmon_io_write_vma): Use bfd_arch_bits_per_address to
282*3d8817e4Smiod	determine target pointer size.  Use gmon_io_write_32
283*3d8817e4Smiod	and gmon_io_write_64.
284*3d8817e4Smiod	(get_vma): Remove.
285*3d8817e4Smiod	(put_vma): Ditto.
286*3d8817e4Smiod	(gmon_read_raw_arc): New function.
287*3d8817e4Smiod	(gmon_write_raw_arc): New function.
288*3d8817e4Smiod	(gmon_out_read): Do not use struct raw_phdr or
289*3d8817e4Smiod	struct old_raw_phdr to read the gmon header.  Use
290*3d8817e4Smiod	gmon_read_raw_arc to read call graph records.
291*3d8817e4Smiod	(gmon_out_write): Do not use struct raw_phdr or
292*3d8817e4Smiod	struct old_raw_phdr to write the gmon header.  Use
293*3d8817e4Smiod	gmon_write_raw_arc to write call graph records.
294*3d8817e4Smiod	* po/gprof.pot: Regenerate.
295*3d8817e4Smiod	* Makefile.in: Regenerate.
296*3d8817e4Smiod
297*3d8817e4Smiod2002-01-31  Alan Modra  <amodra@bigpond.net.au>
298*3d8817e4Smiod
299*3d8817e4Smiod	* alpha.c (alpha_Instruction): Don't use.
300*3d8817e4Smiod	(alpha_find_call): Avoid use of bitfields and casts between
301*3d8817e4Smiod	pointers and integers of different sizes.  Avoid endian problems
302*3d8817e4Smiod	when cross-compiling.
303*3d8817e4Smiod	* vax.c (vax_find_call): Likewise.
304*3d8817e4Smiod	(struct modebyte): Don't use.
305*3d8817e4Smiod	(vax_operandmode): Pass in an unsigned char *.
306*3d8817e4Smiod	(vax_operandlength): Likewise.
307*3d8817e4Smiod	(vax_reladdr): Rename to vax_offset and return relative offset
308*3d8817e4Smiod	rather than address.
309*3d8817e4Smiod	* i386.c (i386_find_call): Avoid casts between pointers and
310*3d8817e4Smiod	integers of different sizes.
311*3d8817e4Smiod	* sparc.c (sparc_find_call): Likewise.  Avoid endian problems.
312*3d8817e4Smiod	* tahoe.c (tahoe_find_call): Likewise.
313*3d8817e4Smiod	(tahoe_reladdr): Rename to tahoe_offset and return relative offset
314*3d8817e4Smiod	rather than address.
315*3d8817e4Smiod
316*3d8817e4Smiod	* basic_blocks.h: Don't include headers here.
317*3d8817e4Smiod	* call_graph.h: Likewise.
318*3d8817e4Smiod	* cg_arcs.h: Likewise.
319*3d8817e4Smiod	* cg_print.h: Likewise.
320*3d8817e4Smiod	* corefile.h: Likewise.
321*3d8817e4Smiod	* gmon_io.h: Likewise.
322*3d8817e4Smiod	* gmon_out.h: Likewise.
323*3d8817e4Smiod	* hertz.h: Likewise.
324*3d8817e4Smiod	* hist.h: Likewise.
325*3d8817e4Smiod	* source.h: Likewise.
326*3d8817e4Smiod	* sym_ids.h: Likewise.
327*3d8817e4Smiod	* symtab.h: Likewise.
328*3d8817e4Smiod	* gprof.h: Don't include ansidecl.h, do include bfd.h.
329*3d8817e4Smiod	(bool): Don't typedef.
330*3d8817e4Smiod	* alpha.c: Adjust #include's for above header changes.
331*3d8817e4Smiod	* basic_blocks.c: Likewise.
332*3d8817e4Smiod	* call_graph.c: Likewise.
333*3d8817e4Smiod	* cg_arcs.c: Likewise.
334*3d8817e4Smiod	* cg_dfn.c: Likewise.
335*3d8817e4Smiod	* cg_print.c: Likewise.
336*3d8817e4Smiod	* corefile.c: Likewise.
337*3d8817e4Smiod	* gmon_io.c: Likewise.
338*3d8817e4Smiod	* gprof.c: Likewise.
339*3d8817e4Smiod	* hertz.c: Likewise.
340*3d8817e4Smiod	* hist.c: Likewise.
341*3d8817e4Smiod	* i386.c: Likewise.
342*3d8817e4Smiod	* mips.c: Likewise.
343*3d8817e4Smiod	* sparc.c: Likewise.
344*3d8817e4Smiod	* sym_ids.c: Likewise.
345*3d8817e4Smiod	* symtab.c: Likewise.
346*3d8817e4Smiod	* tahoe.c: Likewise.
347*3d8817e4Smiod	* utils.c: Likewise.
348*3d8817e4Smiod	* vax.c: Likewise.
349*3d8817e4Smiod
350*3d8817e4Smiod	* po/POTFILES.in: Regenerate.
351*3d8817e4Smiod
352*3d8817e4Smiod2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
353*3d8817e4Smiod
354*3d8817e4Smiod	* configure: Regenerated.
355*3d8817e4Smiod
356*3d8817e4Smiod2002-01-26  Richard Henderson  <rth@redhat.com>
357*3d8817e4Smiod
358*3d8817e4Smiod	* i386.c (i386_iscall): Static.
359*3d8817e4Smiod	* tahoe.c (indirectchild, tahoe_operandmode): Static.
360*3d8817e4Smiod	(tahoe_operandlength, tahoe_reladdr): Static.
361*3d8817e4Smiod	* vax.c (indirectchild): Static.
362*3d8817e4Smiod
363*3d8817e4Smiod2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
364*3d8817e4Smiod
365*3d8817e4Smiod	* Makefile.am (install): Depend on install-info.
366*3d8817e4Smiod	* Makefile.in: Regenerate.
367*3d8817e4Smiod
368*3d8817e4Smiod2002-01-26  Jason Thorpe  <thorpej@wasabisystems.com>
369*3d8817e4Smiod
370*3d8817e4Smiod	* mips.c: New file.
371*3d8817e4Smiod	* Makefile.am (sources): Add mips.c.
372*3d8817e4Smiod	(mips.o): New rule.
373*3d8817e4Smiod	* Makefile.in: Regenerate.
374*3d8817e4Smiod	* corefile.c: Update copyright years.
375*3d8817e4Smiod	(find_call): Call mips_find_call for bfd_arch_mips.
376*3d8817e4Smiod
377*3d8817e4Smiod2002-01-26  Nick Clifton  <nickc@cambridge.redhat.com>
378*3d8817e4Smiod
379*3d8817e4Smiod	* po/fr.po: Updated version.
380*3d8817e4Smiod
381*3d8817e4Smiod2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
382*3d8817e4Smiod
383*3d8817e4Smiod	* po/es.po: Updated version.
384*3d8817e4Smiod
385*3d8817e4Smiod2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
386*3d8817e4Smiod
387*3d8817e4Smiod	* po/gprof.pot: Regenerate.
388*3d8817e4Smiod
389*3d8817e4Smiod2002-01-07  Nick Clifton  <nickc@cambridge.redhat.com>
390*3d8817e4Smiod
391*3d8817e4Smiod	* po/es.po: New file: Spanish translation.
392*3d8817e4Smiod	* configure.in (ALL_LINGUAS): Add es.
393*3d8817e4Smiod	* configure: Regenerate.
394*3d8817e4Smiod
395*3d8817e4Smiod2002-01-03  Nick Clifton  <nickc@cambridge.redhat.com>
396*3d8817e4Smiod
397*3d8817e4Smiod	* gmon_io.c (gmon_out_read): Remove use of ngettext().  It is not
398*3d8817e4Smiod	present under AIX.
399*3d8817e4Smiod
400*3d8817e4Smiod2002-01-02  Nick Clifton  <nickc@cambridge.redhat.com>
401*3d8817e4Smiod
402*3d8817e4Smiod	* cg_print.c (print_header): Fix spelling typo.
403*3d8817e4Smiod
404*3d8817e4Smiod	* gmon_io.c (gmon_out_read): Fix formatting of text messages to
405*3d8817e4Smiod	allow easier translation into other languages.
406*3d8817e4Smiod
407*3d8817e4Smiod2001-12-21  Nick Clifton  <nickc@cambridge.redhat.com>
408*3d8817e4Smiod
409*3d8817e4Smiod	* configure.in (ALL_LINGUAS): Add sv.
410*3d8817e4Smiod	* configure: Regenerate.
411*3d8817e4Smiod	* po/sv.po: Import from translation project web site.
412*3d8817e4Smiod
413*3d8817e4Smiod2001-12-03  Nick Clifton  <nickc@cambridge.redhat.com>
414*3d8817e4Smiod
415*3d8817e4Smiod	* configure.in (LINGUAS): Add tr.
416*3d8817e4Smiod	* configure: Regenerate.
417*3d8817e4Smiod	* po/tr.po: Import from translation project's web site.
418*3d8817e4Smiod
419*3d8817e4Smiod2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
420*3d8817e4Smiod
421*3d8817e4Smiod	* configure.in (ALL_LINGUAS): Add 'fr'.
422*3d8817e4Smiod	* configure: Regernate.
423*3d8817e4Smiod	* po/fr.po: New file.
424*3d8817e4Smiod
425*3d8817e4Smiod2001-10-03  Alan Modra  <amodra@bigpond.net.au>
426*3d8817e4Smiod
427*3d8817e4Smiod	* configure: Regenerate.
428*3d8817e4Smiod
429*3d8817e4Smiod2001-10-02  Alan Modra  <amodra@bigpond.net.au>
430*3d8817e4Smiod
431*3d8817e4Smiod	* Makefile.am (Makefile): Depend on bfd/configure.in.
432*3d8817e4Smiod	Run "make dep-am".
433*3d8817e4Smiod	* Makefile.in: Regenerate.
434*3d8817e4Smiod
435*3d8817e4Smiod2001-09-18  Bruno Haible  <haible@clisp.cons.org>
436*3d8817e4Smiod
437*3d8817e4Smiod	* gprof.c (main): For gettext, also set the LC_CTYPE locate facet.
438*3d8817e4Smiod	* sym_ids.c: Include "safe-ctype.h" instead of <ctype.h>.
439*3d8817e4Smiod	(parse_spec): Use ISDIGIT instead of isdigit.
440*3d8817e4Smiod
441*3d8817e4Smiod2001-09-18  Alan Modra  <amodra@bigpond.net.au>
442*3d8817e4Smiod
443*3d8817e4Smiod	* sparc.c (sparc_find_call): Warning fix.
444*3d8817e4Smiod	* alpha.c (alpha_find_call): Likewise.
445*3d8817e4Smiod
446*3d8817e4Smiod2001-08-09  Alan Modra  <amodra@bigpond.net.au>
447*3d8817e4Smiod
448*3d8817e4Smiod	* alpha.c: Add missing prototypes.
449*3d8817e4Smiod	* sparc.c: Likewise.
450*3d8817e4Smiod	* tahoe.c: Likewise.
451*3d8817e4Smiod	* vax.c: Likewise.
452*3d8817e4Smiod	* i386.c: Likewise.
453*3d8817e4Smiod	(i386_iscall): Don't use DEFUN.
454*3d8817e4Smiod
455*3d8817e4Smiod2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
456*3d8817e4Smiod
457*3d8817e4Smiod	* NOTES: Rename to README for consistency with other binutils.
458*3d8817e4Smiod
459*3d8817e4Smiod2001-06-18  H.J. Lu <hjl@gnu.org>
460*3d8817e4Smiod
461*3d8817e4Smiod	* Makefile.am (diststuff): Add $(MANS).
462*3d8817e4Smiod	(gprof.1): Remove the prefix `$(srcdir)/'.
463*3d8817e4Smiod	* Makefile.in: Regenerated.
464*3d8817e4Smiod
465*3d8817e4Smiod	* gprof.1: Removed.
466*3d8817e4Smiod
467*3d8817e4Smiod2001-06-12  Ben Elliston  <bje@redhat.com>
468*3d8817e4Smiod
469*3d8817e4Smiod	* gprof.texi (File Format): Profile data files are stored in
470*3d8817e4Smiod	target byte order, not host byte order.
471*3d8817e4Smiod
472*3d8817e4Smiod2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
473*3d8817e4Smiod
474*3d8817e4Smiod	* gmon_io.c (gmon_io_read, gmon_io_write_vma,
475*3d8817e4Smiod	gmon_io_write_32, gmon_io_write_8, gmon_io_write): Adjust
476*3d8817e4Smiod	argument list for K&R C.
477*3d8817e4Smiod
478*3d8817e4Smiod2001-04-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
479*3d8817e4Smiod
480*3d8817e4Smiod	* gprof.texi: Put @c man begin and @c man end indications
481*3d8817e4Smiod	to generate man page using texi2pod and pod2man.  Added SEEALSO,
482*3d8817e4Smiod	SYNOPSIS, BUGS, FILES and DESCRIPTION from original gprof.1
483*3d8817e4Smiod	enclosed in @ifset man condition.
484*3d8817e4Smiod	* Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
485*3d8817e4Smiod	Generate gprof.1 from gprof.texi.
486*3d8817e4Smiod	* gprof.1: Generate from gprof.texi.
487*3d8817e4Smiod	* Makefile.in: Regenerate.
488*3d8817e4Smiod
489*3d8817e4Smiod2001-03-13  David Mosberger  <davidm@hpl.hp.com>
490*3d8817e4Smiod
491*3d8817e4Smiod	* hist.c (hist_dimension): Declare as an array of 16 characters.
492*3d8817e4Smiod	(hist_read_rec): If SAMPLEDEBUG, print each histogram bin count.
493*3d8817e4Smiod
494*3d8817e4Smiod	* basic_blocks.c: Whitespace and formatting changes.
495*3d8817e4Smiod	* bb_exit_func.c: Ditto.
496*3d8817e4Smiod	* call_graph.c: Ditto.
497*3d8817e4Smiod	* call_graph.h: Ditto.
498*3d8817e4Smiod	* cg_arcs.c: Ditto.
499*3d8817e4Smiod	* cg_print.c: Ditto.
500*3d8817e4Smiod	* cg_print.h: Ditto.
501*3d8817e4Smiod	* corefile.c: Ditto.
502*3d8817e4Smiod	* corefile.h: Ditto.
503*3d8817e4Smiod	* gmon_io.c: Ditto.
504*3d8817e4Smiod	* gmon_io.h: Ditto.
505*3d8817e4Smiod	* gmon_out.h: Ditto.
506*3d8817e4Smiod	* gprof.c: Ditto.
507*3d8817e4Smiod	* hist.c: Ditto.
508*3d8817e4Smiod	* hist.h: Ditto.
509*3d8817e4Smiod	* i386.c: Ditto.
510*3d8817e4Smiod	* search_list.c: Ditto.
511*3d8817e4Smiod	* search_list.h: Ditto.
512*3d8817e4Smiod	* source.c: Ditto.
513*3d8817e4Smiod	* source.h: Ditto.
514*3d8817e4Smiod	* sym_ids.c: Ditto.
515*3d8817e4Smiod	* sym_ids.h: Ditto.
516*3d8817e4Smiod	* symtab.c: Ditto.
517*3d8817e4Smiod	* symtab.h: Ditto.
518*3d8817e4Smiod	* tahoe.c: Ditto.
519*3d8817e4Smiod	* utils.c: Ditto.
520*3d8817e4Smiod	* vax.c: Ditto.
521*3d8817e4Smiod
522*3d8817e4Smiod	* gmon_out.h (gmon_hist_hdr): Delete.
523*3d8817e4Smiod	(gmon_cg_arc_record): Delete.
524*3d8817e4Smiod
525*3d8817e4Smiod	* gmon_io.c (put_vma): Declare "static".
526*3d8817e4Smiod	(get_vma): Ditto.
527*3d8817e4Smiod	(gmon_io_write): New function.
528*3d8817e4Smiod	(gmon_io_write_8): Ditto.
529*3d8817e4Smiod	(gmon_io_write_32): Ditto.
530*3d8817e4Smiod	(gmon_io_write_vma): Ditto.
531*3d8817e4Smiod	(gmon_io_read): Ditto.
532*3d8817e4Smiod	(gmon_io_read_32): Ditto.
533*3d8817e4Smiod	(gmon_io_read_vma): Ditto.
534*3d8817e4Smiod	* basic_blocks.c (bb_read_rec): Use gmon_io_read* / gmon_io_write*
535*3d8817e4Smiod	to read/write data file in a more portable fashion.
536*3d8817e4Smiod	(bb_write_blocks): Ditto.
537*3d8817e4Smiod	* call_graph.c (cg_read_rec): Ditto.
538*3d8817e4Smiod	(cg_write_arcs): Ditto.
539*3d8817e4Smiod	* hist.c (hist_read_rec): Ditto.
540*3d8817e4Smiod	(hist_write_hist): Ditto.
541*3d8817e4Smiod
542*3d8817e4Smiod	From Jes Sorensen  <jes@linuxcare.com>
543*3d8817e4Smiod	* gmon_out.h: Use GMON_PTR_SIZE instead of sizeof(char*).
544*3d8817e4Smiod	* gmon.h: Ditto.
545*3d8817e4Smiod	* configure.in: Get GMON_PTR_SIZE from existing <sys/gmon_out.h>
546*3d8817e4Smiod	if it exists.
547*3d8817e4Smiod	* acconfig.h: New file. Mention and document GMON_PTR_SIZE.
548*3d8817e4Smiod	* gconfig.h: Regenerate.
549*3d8817e4Smiod	* configure: Regenerate.
550*3d8817e4Smiod	* Makefile.in: Regenerate.
551*3d8817e4Smiod
552*3d8817e4Smiod2001-02-27  Alan Modra  <alan@linuxcare.com.au>
553*3d8817e4Smiod
554*3d8817e4Smiod	* configure.in (BFD_VERSION): New.
555*3d8817e4Smiod	(AM_INIT_AUTOMAKE): Use $BFD_VERSION.
556*3d8817e4Smiod	* configure: Regenerate.
557*3d8817e4Smiod	* gconfig.in: Regenerate.
558*3d8817e4Smiod	* Makefile.am: Run "make dep-am"
559*3d8817e4Smiod	* Makefile.in: Regenerate.
560*3d8817e4Smiod
561*3d8817e4Smiod2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
562*3d8817e4Smiod
563*3d8817e4Smiod	* basic_blocks.c: #include <unistd.h> only if it exists.
564*3d8817e4Smiod
565*3d8817e4Smiod2000-11-06  Nick Clifton  <nickc@redhat.com>
566*3d8817e4Smiod
567*3d8817e4Smiod	* gprof.texi: Add GNU Free Documentation License.
568*3d8817e4Smiod
569*3d8817e4Smiod2000-09-07  H.J. Lu  <hjl@gnu.org>
570*3d8817e4Smiod
571*3d8817e4Smiod	* configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
572*3d8817e4Smiod	* configure: Rebuild.
573*3d8817e4Smiod
574*3d8817e4Smiod2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
575*3d8817e4Smiod
576*3d8817e4Smiod	* aclocal.m4, configure: Rebuilt with new libtool.m4.
577*3d8817e4Smiod
578*3d8817e4Smiod2000-09-02  Nick Clifton  <nickc@redhat.com>
579*3d8817e4Smiod
580*3d8817e4Smiod	* configure.in: Increase version number to 2.10.91.
581*3d8817e4Smiod	* configure: Regenerate.
582*3d8817e4Smiod	* aclocal.m4: Regenerate.
583*3d8817e4Smiod	* config.in: Regenerate.
584*3d8817e4Smiod
585*3d8817e4Smiod2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
586*3d8817e4Smiod
587*3d8817e4Smiod	* acinclude.m4: Include libtool and gettext macros from the
588*3d8817e4Smiod	top level.
589*3d8817e4Smiod	* aclocal.m4, configure: Rebuilt.
590*3d8817e4Smiod
591*3d8817e4Smiod2000-07-26  Nick Clifton  <nickc@cygnus.com>
592*3d8817e4Smiod
593*3d8817e4Smiod	* bb_exit_func.c: Assign copyright to FSF.  Note that David
594*3d8817e4Smiod	Mosberger-Tang <David.Mosberger@acm.org> continuted this code.
595*3d8817e4Smiod
596*3d8817e4Smiod2000-07-24  Nick Clifton  <nickc@cygnus.com>
597*3d8817e4Smiod
598*3d8817e4Smiod	* basic_blocks.c: Add copyright notice.
599*3d8817e4Smiod	* basic_blocks.h: Add copyright notice.
600*3d8817e4Smiod	* call_graph.c: Add copyright notice.
601*3d8817e4Smiod	* call_graph.h: Add copyright notice.
602*3d8817e4Smiod	* cg_print.c: Add copyright notice.
603*3d8817e4Smiod	* cg_print.h: Add copyright notice.
604*3d8817e4Smiod	* corefile.c: Add copyright notice.
605*3d8817e4Smiod	* corefile.h: Add copyright notice.
606*3d8817e4Smiod	* gmon_io.c: Add copyright notice.
607*3d8817e4Smiod	* gmon_io.h: Add copyright notice.
608*3d8817e4Smiod	* gmon_out.h: Add copyright notice.
609*3d8817e4Smiod	* hist.c: Add copyright notice.
610*3d8817e4Smiod	* hist.h: Add copyright notice.
611*3d8817e4Smiod	* search_list.c: Add copyright notice.
612*3d8817e4Smiod	* search_list.h: Add copyright notice.
613*3d8817e4Smiod	* source.c: Add copyright notice.
614*3d8817e4Smiod	* source.h: Add copyright notice.
615*3d8817e4Smiod	* sym_ids.c: Add copyright notice.
616*3d8817e4Smiod	* sym_ids.h: Add copyright notice.
617*3d8817e4Smiod	* symtab.c: Add copyright notice.
618*3d8817e4Smiod	* symtab.h: Add copyright notice.
619*3d8817e4Smiod
620*3d8817e4Smiod2000-07-05  Kenneth Block  <krblock@computer.org>
621*3d8817e4Smiod
622*3d8817e4Smiod	* gprof.c: Add optional style to demangle switch
623*3d8817e4Smiod	* gprof.texi: Document optional style to demangle switch.
624*3d8817e4Smiod
625*3d8817e4Smiod2000-06-05  DJ Delorie  <dj@redhat.com>
626*3d8817e4Smiod
627*3d8817e4Smiod	* MAINTAINERS: new
628*3d8817e4Smiod
629*3d8817e4Smiod2000-07-01  Alan Modra  <alan@linuxcare.com.au>
630*3d8817e4Smiod
631*3d8817e4Smiod	* Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
632*3d8817e4Smiod	(CLEANFILES): Add DEPA.
633*3d8817e4Smiod	* Makefile.in: Regenerate.
634*3d8817e4Smiod
635*3d8817e4Smiod2000-06-22  Alan Modra  <alan@linuxcare.com.au>
636*3d8817e4Smiod
637*3d8817e4Smiod	* Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
638*3d8817e4Smiod	find one.
639*3d8817e4Smiod	* Makefile.in: Regenerate.
640*3d8817e4Smiod
641*3d8817e4Smiod2000-06-20  Alan Modra  <alan@linuxcare.com.au>
642*3d8817e4Smiod
643*3d8817e4Smiod	* source.c (annotate_source): Correct pointer comparison when
644*3d8817e4Smiod	checking for backslashes.
645*3d8817e4Smiod
646*3d8817e4Smiod2000-06-13  H.J. Lu  <hjl@gnu.org>
647*3d8817e4Smiod
648*3d8817e4Smiod	* configure: Regenerate.
649*3d8817e4Smiod
650*3d8817e4Smiod2000-06-08  David O'Brien  <obrien@FreeBSD.org>
651*3d8817e4Smiod
652*3d8817e4Smiod	* configure.in (VERSION): Update to show this is the CVS mainline.
653*3d8817e4Smiod
654*3d8817e4Smiod2000-06-07  Philippe De Muyter  <phdm@macqel.be>
655*3d8817e4Smiod
656*3d8817e4Smiod	* source.c: Remove direct inclusion of sys/stat.h.
657*3d8817e4Smiod
658*3d8817e4Smiod2000-05-31  Nick Clifton  <nickc@cygnus.com>
659*3d8817e4Smiod
660*3d8817e4Smiod	* gprof.h (_): Revert previous delta.  We want to use gettext,
661*3d8817e4Smiod	not dgettext in the _ macro.
662*3d8817e4Smiod
663*3d8817e4Smiod2000-05-29  Alan Modra  <alan@linuxcare.com.au>
664*3d8817e4Smiod
665*3d8817e4Smiod	* gprof.h (_): Use BFD version.
666*3d8817e4Smiod
667*3d8817e4Smiod2000-05-26  Nick Clifton  <nickc@cygnus.com>
668*3d8817e4Smiod
669*3d8817e4Smiod	* gprof.c (main): When calling getopt_long indicate that the 'd'
670*3d8817e4Smiod	switch takes an optional argument, whereas the 'D' switch takes no
671*3d8817e4Smiod	argument at all.
672*3d8817e4Smiod
673*3d8817e4Smiod2000-05-26  Alan Modra  <alan@linuxcare.com.au>
674*3d8817e4Smiod
675*3d8817e4Smiod	* dep-in.sed: Copy from ../binutils.
676*3d8817e4Smiod	* Makefile.am: Update dependencies with "make dep-am"
677*3d8817e4Smiod	* Makefile.in: Regenerate.
678*3d8817e4Smiod
679*3d8817e4Smiod	* gprof.h: Remove most nls defines.  They are pulled in by
680*3d8817e4Smiod	bfd/sysdep.h.  #include "ansidecl.h" not <ansidecl.h>
681*3d8817e4Smiod
682*3d8817e4Smiod2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
683*3d8817e4Smiod
684*3d8817e4Smiod	* gprof.texi: Fix numerous typos. Mention some DOS/Windows related
685*3d8817e4Smiod	issues.
686*3d8817e4Smiod
687*3d8817e4Smiod	* configure.in: Check for setmode function.
688*3d8817e4Smiod	* configure: Regenerate.
689*3d8817e4Smiod
690*3d8817e4Smiod	* gmon_io.h (SET_BINARY) [HAVE_SETMODE]: Define.
691*3d8817e4Smiod
692*3d8817e4Smiod	* gmon_io.c (gmon_out_read) [SET_BINARY]: Switch stdin into binary
693*3d8817e4Smiod	mode.
694*3d8817e4Smiod
695*3d8817e4Smiod	* source.c: Include filenames.h and sys/stat.h.
696*3d8817e4Smiod	(source_file_lookup_path, source_file_lookup_name): Use
697*3d8817e4Smiod	FILENAME_CMP to compare file names.
698*3d8817e4Smiod	(annotate_source) [__MSDOS__]: If "filename-ann" would overwrite
699*3d8817e4Smiod	"filename", replace the extension with ".ann".
700*3d8817e4Smiod	[HAVE_DOS_BASED_FILE_SYSTEM]: Support file names with
701*3d8817e4Smiod	backslashes and drive letters.
702*3d8817e4Smiod	Use IS_ABSOLUTE_PATH.
703*3d8817e4Smiod
704*3d8817e4Smiod	* search_list.h (PATH_SEP_CHAR): Define.
705*3d8817e4Smiod
706*3d8817e4Smiod	* search_list.c (search_list_append): Use PATH_SEP_CHAR.
707*3d8817e4Smiod
708*3d8817e4Smiod	* hertz.c (HERTZ) [__MSDOS__]: Don't define unless they have
709*3d8817e4Smiod	neither HAVE_SETITIMER nor HAVE_SYSCONF.
710*3d8817e4Smiod	[HAVE_SETITIMER]: If they define both HAVE_SETITIMER and
711*3d8817e4Smiod	HAVE_SYSCONF, try setitimer and fall back on sysconf.
712*3d8817e4Smiod
713*3d8817e4Smiod2000-04-07  Andrew Cagney  <cagney@b1.cygnus.com>
714*3d8817e4Smiod
715*3d8817e4Smiod	* configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
716*3d8817e4Smiod	--enable-build-warnings option.
717*3d8817e4Smiod	* Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
718*3d8817e4Smiod	* Makefile.in, configure, aclocal.m4: Re-generate.
719*3d8817e4Smiod
720*3d8817e4Smiod2000-04-05  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
721*3d8817e4Smiod
722*3d8817e4Smiod	* gprof.c (copyright): Do not use N_ in array initializer.
723*3d8817e4Smiod
724*3d8817e4Smiod2000-04-04  Alan Modra  <alan@linuxcare.com.au>
725*3d8817e4Smiod
726*3d8817e4Smiod	* po/gprof.pot: Regenerate.
727*3d8817e4Smiod
728*3d8817e4Smiod	* gprof.c (usage): Restore translated part of bug string.
729*3d8817e4Smiod
730*3d8817e4Smiod	* Makefile.am (BASEDIR): Define.
731*3d8817e4Smiod	(BFDDIR): Define.
732*3d8817e4Smiod	(INCDIR): Define.
733*3d8817e4Smiod	(MKDEP): Define.
734*3d8817e4Smiod	(INCLUDES): Add "-I."
735*3d8817e4Smiod	(DEP, DEP1, dep.sed, dep, dep-in, dep-am): New targets.
736*3d8817e4Smiod	(CLEANFILES): Define.
737*3d8817e4Smiod	Update dependencies.
738*3d8817e4Smiod	* Makefile.in: Regenerate.
739*3d8817e4Smiod
740*3d8817e4Smiod2000-04-03  Alan Modra  <alan@linuxcare.com.au>
741*3d8817e4Smiod
742*3d8817e4Smiod	* gprof.h: #include "bin-bugs.h".
743*3d8817e4Smiod	* gprof.c (usage): Use REPORT_BUGS_TO.
744*3d8817e4Smiod
745*3d8817e4Smiod2000-03-31  Alan Modra  <alan@linuxcare.com.au>
746*3d8817e4Smiod
747*3d8817e4Smiod	* symtab.c (symtab_finalize): Don't use post-increment on
748*3d8817e4Smiod	structure copy, to work around a ppc gcc bug.
749*3d8817e4Smiod
750*3d8817e4Smiod1999-09-29  Mark Kettenis  <kettenis@gnu.org>
751*3d8817e4Smiod
752*3d8817e4Smiod	* hertz.h [MACH] (hertz): Remove macro.  The
753*3d8817e4Smiod	<machine/mach_param.h> include doesn't exist on al Mach based
754*3d8817e4Smiod	systems, and the definition of hertz breaks compilation of hertz.c
755*3d8817e4Smiod	anyway.
756*3d8817e4Smiod
757*3d8817e4Smiod2000-02-22  Ian Lance Taylor  <ian@zembu.com>
758*3d8817e4Smiod
759*3d8817e4Smiod	From Brad Lucier <lucier@math.purdue.edu>:
760*3d8817e4Smiod	* i386.c (i386_find_call): Add cast to ensure that printf argument
761*3d8817e4Smiod	matches format.
762*3d8817e4Smiod	* tahoe.c (tahoe_find_call): Likewise.
763*3d8817e4Smiod	* vax.c (vax_find_call): Likewise.
764*3d8817e4Smiod
765*3d8817e4Smiod2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
766*3d8817e4Smiod
767*3d8817e4Smiod	* utils.c (print_name_only): Don't pass error strings to
768*3d8817e4Smiod	printf as format arg.
769*3d8817e4Smiod
770*3d8817e4Smiod1999-09-24  Nick Clifton  <nickc@cygnus.com>
771*3d8817e4Smiod
772*3d8817e4Smiod	* gmon_io.c (gmon_out_read): Make sure that sensible values
773*3d8817e4Smiod	are extracted from a raw header.
774*3d8817e4Smiod
775*3d8817e4Smiod1999-08-06  Ian Lance Taylor  <ian@zembu.com>
776*3d8817e4Smiod
777*3d8817e4Smiod	From Brad Lucier <lucier@math.purdue.edu>:
778*3d8817e4Smiod	* corefile.c (core_create_line_syms): Add cast for printf.
779*3d8817e4Smiod
780*3d8817e4Smiod1999-07-21  Ian Lance Taylor  <ian@zembu.com>
781*3d8817e4Smiod
782*3d8817e4Smiod	From Mark Elbrecht:
783*3d8817e4Smiod	* configure.bat: Remove; obsolete.
784*3d8817e4Smiod
785*3d8817e4Smiod1999-07-15  Ian Lance Taylor  <ian@zembu.com>
786*3d8817e4Smiod
787*3d8817e4Smiod	* configure.in: Bump version number to 2.9.5.
788*3d8817e4Smiod	* configure: Rebuild.
789*3d8817e4Smiod
790*3d8817e4Smiod1999-07-11  Ian Lance Taylor  <ian@zembu.com>
791*3d8817e4Smiod
792*3d8817e4Smiod	* corefile.c (core_create_function_syms): Add ATTRIBUTED_UNUSED.
793*3d8817e4Smiod	* sym-ids.c (non_existent_file): Fully initialize structure.
794*3d8817e4Smiod
795*3d8817e4Smiod1999-07-01  Ian Lance Taylor  <ian@zembu.com>
796*3d8817e4Smiod
797*3d8817e4Smiod	* Many files: Add casts in many print statements to cast bfd_vma
798*3d8817e4Smiod	values to unsigned long when calling printf.
799*3d8817e4Smiod	* Makefile.am ($(OBJECTS)): Add gmon.h.
800*3d8817e4Smiod	* Makefile.in: Rebuild.
801*3d8817e4Smiod
802*3d8817e4Smiod1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
803*3d8817e4Smiod
804*3d8817e4Smiod	* gprof.texi: Fix typo.
805*3d8817e4Smiod
806*3d8817e4Smiod1999-06-13  Ian Lance Taylor  <ian@zembu.com>
807*3d8817e4Smiod
808*3d8817e4Smiod	From Bob Byrnes <byrnes@curl.com>:
809*3d8817e4Smiod	* cg_dfn.c: Include "libiberty.h"
810*3d8817e4Smiod	(DFN_INCR_DEPTH): Define instead of DFN_DEPTH.
811*3d8817e4Smiod	(dfn_stack): Define as pointer rather than array.
812*3d8817e4Smiod	(pre_visit): Reallocate dfn_stack as needed.
813*3d8817e4Smiod
814*3d8817e4Smiod1999-04-26  Tom Tromey  <tromey@cygnus.com>
815*3d8817e4Smiod
816*3d8817e4Smiod	* aclocal.m4, configure: Updated for new version of libtool.
817*3d8817e4Smiod
818*3d8817e4Smiod1999-04-06  Ian Lance Taylor  <ian@zembu.com>
819*3d8817e4Smiod
820*3d8817e4Smiod	* gprof.h (LC_MESSAGES): Never define.
821*3d8817e4Smiod	* gprof.c (main): Don't pass LC_MESSAGES to setlocale if the
822*3d8817e4Smiod	system does not define it.
823*3d8817e4Smiod
824*3d8817e4Smiod1999-04-05  H.J. Lu  <hjl@gnu.org>
825*3d8817e4Smiod
826*3d8817e4Smiod	* corefile.c (core_create_line_syms): Don't use fixed size array
827*3d8817e4Smiod	for prev_name and prev_filename.
828*3d8817e4Smiod
829*3d8817e4Smiod1999-04-04  Michael Hohmuth  <hohmuth@innocent.com>
830*3d8817e4Smiod
831*3d8817e4Smiod	* gprof.h (FF_BSD44): Define.
832*3d8817e4Smiod	* gmon.h (struct raw_phdr): Add version, profrate, and spare
833*3d8817e4Smiod	fields unconditionally.
834*3d8817e4Smiod	(struct old_raw_phdr): New struct.
835*3d8817e4Smiod	* gprof.c (main): Handle -O 4.4bsd.
836*3d8817e4Smiod	* gmon_io.c (gmon_out_read): Handle BSD 4.4 format, either
837*3d8817e4Smiod	automatically or by user specification.
838*3d8817e4Smiod	(gmon_out_write): Handle BSD 4.4 format.
839*3d8817e4Smiod	* configure.in: Don't set BSD44_FORMAT.
840*3d8817e4Smiod	* gprof.texi (Miscellaneous Options): Document -O 4.4bsd.
841*3d8817e4Smiod	* configure, gconfig.in: Rebuild.
842*3d8817e4Smiod
843*3d8817e4SmiodTue Feb 16 17:01:33 1999  Ian Lance Taylor  <ian@cygnus.com>
844*3d8817e4Smiod
845*3d8817e4Smiod	* configure.in: Change AC_PREREQ to 2.13.  Change AM_PROG_INSTALL
846*3d8817e4Smiod	to AC_PROG_INSTALL.  Remove AM_CYGWIN32.  Change AM_EXEEXT to
847*3d8817e4Smiod	AC_EXEEXT.  Add comment to AC_DEFINE.
848*3d8817e4Smiod	* acconfig.h: Remove.
849*3d8817e4Smiod	* aclocal.m4: Rebuild.
850*3d8817e4Smiod	* configure: Rebuild.
851*3d8817e4Smiod	* Makefile.in: Rebuild.
852*3d8817e4Smiod	* gconfig.in: Rebuild.
853*3d8817e4Smiod
854*3d8817e4Smiod1998-12-06  Ian Lance Taylor  <ian@cygnus.com>
855*3d8817e4Smiod
856*3d8817e4Smiod	* gprof.texi (Symspecs): Mention that you have to add any
857*3d8817e4Smiod	underscore yourself when naming a symbol.
858*3d8817e4Smiod
859*3d8817e4Smiod1998-11-02  Geoffrey Noer  <noer@cygnus.com>
860*3d8817e4Smiod
861*3d8817e4Smiod	* configure.in: detect cygwin* instead of cygwin32*
862*3d8817e4Smiod	* configure: regenerate
863*3d8817e4Smiod
864*3d8817e4SmiodWed Aug 12 14:59:06 1998  Ian Lance Taylor  <ian@cygnus.com>
865*3d8817e4Smiod
866*3d8817e4Smiod	Avoid some overflow cases:
867*3d8817e4Smiod	* basic_blocks.h (bb_min_calls): Change to unsigned long.
868*3d8817e4Smiod	* call_graph.h (cg_tally): Change count parameter to unsigned
869*3d8817e4Smiod	long.
870*3d8817e4Smiod	* cg_arcs.h (Arc): Change count field to unsigned long.
871*3d8817e4Smiod	(arc_add): Change count parameter to unsigned long.
872*3d8817e4Smiod	* source.h (Source_File): Change ncalls field to unsigned long.
873*3d8817e4Smiod	* symtab.h (Sym): Change fields ncalls, bb_calls, and
874*3d8817e4Smiod	cg.self_calls to unsigned long.
875*3d8817e4Smiod	* Many files: Update accordingly.
876*3d8817e4Smiod
877*3d8817e4Smiod	* configure, Makefile.in, aclocal.m4: Rebuild with current tools.
878*3d8817e4Smiod
879*3d8817e4SmiodFri Jul 10 17:29:49 1998  Stan Cox  <scox@equinox.cygnus.com>
880*3d8817e4Smiod
881*3d8817e4Smiod	* configure.in (BSD44_FORMAT): Define for cygwin32, win32, mingw32
882*3d8817e4Smiod	* configure: Rebuild.
883*3d8817e4Smiod
884*3d8817e4SmiodFri Jun 12 13:40:05 1998  Tom Tromey  <tromey@cygnus.com>
885*3d8817e4Smiod
886*3d8817e4Smiod	* po/Make-in (all-yes): If maintainer mode, depend on .pot file.
887*3d8817e4Smiod	($(PACKAGE).pot): Unconditionally depend on POTFILES.
888*3d8817e4Smiod
889*3d8817e4SmiodSun May 10 22:35:33 1998  Jeffrey A Law  (law@cygnus.com)
890*3d8817e4Smiod
891*3d8817e4Smiod	* po/Make-in (install-info): New target.
892*3d8817e4Smiod
893*3d8817e4SmiodTue May  5 18:28:40 1998  Tom Tromey  <tromey@cygnus.com>
894*3d8817e4Smiod
895*3d8817e4Smiod	* gprof.h (_): Undefine BFD's version.
896*3d8817e4Smiod
897*3d8817e4SmiodTue Apr 28 19:17:33 1998  Tom Tromey  <tromey@cygnus.com>
898*3d8817e4Smiod
899*3d8817e4Smiod	* gprof.c (main): Conditionally call setlocale.
900*3d8817e4Smiod	* gprof.h: Include <locale.h> if HAVE_LOCALE_H.
901*3d8817e4Smiod	(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
902*3d8817e4Smiod
903*3d8817e4SmiodTue Apr 28 19:50:09 1998  Ian Lance Taylor  <ian@cygnus.com>
904*3d8817e4Smiod
905*3d8817e4Smiod	* corefile.c: Rename from core.c.
906*3d8817e4Smiod	* corefile.h: Rename from core.h.
907*3d8817e4Smiod	* Many .c files: Include corefile.h rather than core.h.
908*3d8817e4Smiod	* Makefile.am (sources): Change core.c to corefile.c.
909*3d8817e4Smiod	(noinst_HEADERS): Change core.h to corefile.h.
910*3d8817e4Smiod	($(OBJECTS)): Depend upon corefile.h rather than core.h.
911*3d8817e4Smiod	(corefile.o): Rename target from core.o, depend upon corefile.c.
912*3d8817e4Smiod	* Makefile.in, po/POTFILES.in: Rebuild.
913*3d8817e4Smiod
914*3d8817e4SmiodMon Apr 27 16:50:40 1998  Ian Lance Taylor  <ian@cygnus.com>
915*3d8817e4Smiod
916*3d8817e4Smiod	* configure.in: Change version number to 2.9.4
917*3d8817e4Smiod	* configure: Rebuild.
918*3d8817e4Smiod
919*3d8817e4SmiodWed Apr 22 16:01:17 1998  Tom Tromey  <tromey@cygnus.com>
920*3d8817e4Smiod
921*3d8817e4Smiod	* po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
922*3d8817e4Smiod
923*3d8817e4SmiodWed Apr 22 00:00:22 1998  Tom Tromey  <tromey@scribbles.cygnus.com>
924*3d8817e4Smiod
925*3d8817e4Smiod	* gprof.h: Added includes and defines for gettext.
926*3d8817e4Smiod	* configure.in (ALL_LINGUAS): New macro.
927*3d8817e4Smiod	Call CY_GNU_GETTEXT.  Create po/Makefile.in and po/Makefile.
928*3d8817e4Smiod	* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
929*3d8817e4Smiod	HAVE_LC_MESSAGES): Define.
930*3d8817e4Smiod	* gprof.c (main): Call setlocale, bindtextdomain, textdomain.
931*3d8817e4Smiod	* Makefile.am (SUBDIRS): New macro.
932*3d8817e4Smiod	(INCLUDES): Look in intl dirs for headers.  Define LOCALEDIR.
933*3d8817e4Smiod	(gprof_DEPENDENCIES): Added INTLDEPS.
934*3d8817e4Smiod	(gprof_LDADD): Added INTLLLIBS.
935*3d8817e4Smiod	(POTFILES): New macro.
936*3d8817e4Smiod	(po/POTFILES.in): New target.
937*3d8817e4Smiod	* Many files: Wrap user-visible strings with gettext invocation.
938*3d8817e4Smiod
939*3d8817e4SmiodTue Apr  7 12:43:37 1998  Ian Lance Taylor  <ian@cygnus.com>
940*3d8817e4Smiod
941*3d8817e4Smiod	From hjl@lucon.org <H.J. Lu>:
942*3d8817e4Smiod	* Makefile.am (diststuff): New target.
943*3d8817e4Smiod	* Makefile.in: Rebuild.
944*3d8817e4Smiod
945*3d8817e4SmiodMon Mar 30 12:47:48 1998  Ian Lance Taylor  <ian@cygnus.com>
946*3d8817e4Smiod
947*3d8817e4Smiod	* configure.in: Set version to 2.9.1.
948*3d8817e4Smiod	* configure: Rebuild.
949*3d8817e4Smiod
950*3d8817e4Smiod	* Branched binutils 2.9.
951*3d8817e4Smiod
952*3d8817e4SmiodSat Mar 28 23:09:08 1998  Ian Lance Taylor  <ian@cygnus.com>
953*3d8817e4Smiod
954*3d8817e4Smiod	Fix some gcc -Wall warnings:
955*3d8817e4Smiod	* cg_arcs.c (num_cycles): Change to unsigned int.
956*3d8817e4Smiod	(numarcs): Likewise.
957*3d8817e4Smiod	(arc_add): Change maxarcs to unsigned int.
958*3d8817e4Smiod	(cg_assemble): Change index to unsigned int.
959*3d8817e4Smiod	* cg_arcs.h (num_cycles, numarcs): Update declarations.
960*3d8817e4Smiod	* cg_print.c (cg_print): Change index to unsigned int.
961*3d8817e4Smiod	(cg_print_index): Change index, nnames, todo, i, and j to unsigned
962*3d8817e4Smiod	int.
963*3d8817e4Smiod	(cg_print_file_ordering): Change symbol_count and index2 to
964*3d8817e4Smiod	unsigned int.
965*3d8817e4Smiod	* core.c (symbol_map_count): Change to unsigned int.
966*3d8817e4Smiod	(core_create_function_syms): Change j to unsigned int.
967*3d8817e4Smiod	(core_create_line_syms): Add cast to avoid warning.
968*3d8817e4Smiod	* hist.c (hist_assign_samples): Change j to unsigned int.
969*3d8817e4Smiod	(hist_print): Change index to unsigned i nt.  Add cast to avoid
970*3d8817e4Smiod	warning.
971*3d8817e4Smiod	* sym_ids.c (parse_spec): Add casts to avoid warning.
972*3d8817e4Smiod	* symtab.c (symtab_finalize): Change j to unsigned int.
973*3d8817e4Smiod	(sym_lookup): Update printf format strings.
974*3d8817e4Smiod	* symtab.h (Sym_Table): Change len to unsigned int.
975*3d8817e4Smiod	* tahoe.c (tahoe_reladdr): Add casts to avoid warnings.
976*3d8817e4Smiod
977*3d8817e4SmiodTue Mar 24 19:00:11 1998  Ian Lance Taylor  <ian@cygnus.com>
978*3d8817e4Smiod
979*3d8817e4Smiod	Add --demangle and --no-demangle options:
980*3d8817e4Smiod	* gprof.h (demangle): Declare.
981*3d8817e4Smiod	* gprof.c (demangle): New global variable.
982*3d8817e4Smiod	(OPTION_DEMANGLE, OPTION_NO_DEMANGLE): Define.
983*3d8817e4Smiod	(long_options): Add "demangle" and "no-demangle".
984*3d8817e4Smiod	(usage): Mention --demangle and --no-demangle.
985*3d8817e4Smiod	(main): Handle OPTION_DEMANGLE and OPTION_NO_DEMANGLE.
986*3d8817e4Smiod	* utils.c (print_name_only): Only demangle symbol name if demangle
987*3d8817e4Smiod	is true.
988*3d8817e4Smiod	* gprof.texi (Output Options): Document new options.
989*3d8817e4Smiod
990*3d8817e4SmiodFri Mar 20 19:21:56 1998  Ian Lance Taylor  <ian@cygnus.com>
991*3d8817e4Smiod
992*3d8817e4Smiod	* Makefile.in: Rebuild with automake 1.2e.
993*3d8817e4Smiod	* aclocal.m4, configure: Rebuild with libtool 1.2.
994*3d8817e4Smiod
995*3d8817e4SmiodThu Feb 12 14:36:05 1998  Ian Lance Taylor  <ian@cygnus.com>
996*3d8817e4Smiod
997*3d8817e4Smiod	* gprof.c (usage): Update bug-gnu-utils address.
998*3d8817e4Smiod
999*3d8817e4SmiodSat Feb  7 15:43:12 1998  Ian Lance Taylor  <ian@cygnus.com>
1000*3d8817e4Smiod
1001*3d8817e4Smiod	* configure, aclocal.m4: Rebuild with new libtool.
1002*3d8817e4Smiod
1003*3d8817e4SmiodFri Feb  6 12:02:28 1998  Ian Lance Taylor  <ian@cygnus.com>
1004*3d8817e4Smiod
1005*3d8817e4Smiod	* alpha.c (alpha_Instruction): Use int, not signed.
1006*3d8817e4Smiod
1007*3d8817e4SmiodFri Feb  6 02:00:19 1998  Jeffrey A Law  (law@cygnus.com)
1008*3d8817e4Smiod
1009*3d8817e4Smiod	* core.c (core_init): Adding missing "break".
1010*3d8817e4Smiod
1011*3d8817e4SmiodThu Feb  5 12:49:37 1998  Ian Lance Taylor  <ian@cygnus.com>
1012*3d8817e4Smiod
1013*3d8817e4Smiod	* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
1014*3d8817e4Smiod
1015*3d8817e4SmiodTue Feb  3 14:25:25 1998  Brent Baccala  <baccala@freesoft.org>
1016*3d8817e4Smiod
1017*3d8817e4Smiod	* bbconv.pl: New file.
1018*3d8817e4Smiod	* Makefile.am (EXTRA_DIST): Add bbconv.pl.
1019*3d8817e4Smiod	* Makefile.in: Rebuild.
1020*3d8817e4Smiod
1021*3d8817e4Smiod	* gprof.texi: Extensive additions to document all arguments and
1022*3d8817e4Smiod	output formats.
1023*3d8817e4Smiod
1024*3d8817e4Smiod	* symtab.c (symtab_finalize): Prefer function symbols over line
1025*3d8817e4Smiod	symbols.
1026*3d8817e4Smiod	(dbg_sym_lookup): Correct debugging messages.
1027*3d8817e4Smiod
1028*3d8817e4Smiod	* gprof.c (main): --sum implies --line.
1029*3d8817e4Smiod
1030*3d8817e4Smiod	* cg_print.c (cg_print): When doing line by line profiling, don't
1031*3d8817e4Smiod	use a non-function as a main listing item.
1032*3d8817e4Smiod
1033*3d8817e4Smiod	* call_graph.c (cg_tally): When using line by line profiling, use
1034*3d8817e4Smiod	the function symbol as the child.
1035*3d8817e4Smiod
1036*3d8817e4Smiod	* symtab.h (NBBS): Define.
1037*3d8817e4Smiod	(Sym): Add bb_addr and bb_calls fields.
1038*3d8817e4Smiod	* basic_blocks.c (bb_read_rec): Save multiple basic blocks per
1039*3d8817e4Smiod	symbol.
1040*3d8817e4Smiod	(bb_write_blocks): Adjust for multiple basic blocks per symbol.
1041*3d8817e4Smiod	(print_exec_counts): Don't check whether a symbol is the start of
1042*3d8817e4Smiod	a basic block.  Print all basic blocks for a symbol.
1043*3d8817e4Smiod	(annotate_with_count): Rewrite to print all basic block counts and
1044*3d8817e4Smiod	to pay attention to width argument.
1045*3d8817e4Smiod	(print_annotated_source): Don't check whether symbol is the start
1046*3d8817e4Smiod	of a basic block.
1047*3d8817e4Smiod
1048*3d8817e4Smiod	Make it possible to build a cross gprof, although a few cases are
1049*3d8817e4Smiod	still not handled:
1050*3d8817e4Smiod	* configure.in: Don't set MY_TARGET.
1051*3d8817e4Smiod	* gprof.h: Don't include MACHINE_H.  Don't define FOPEN_RB or
1052*3d8817e4Smiod	FOPEN_WB; just get them from sysdep.h.
1053*3d8817e4Smiod	* core.h (min_insn_size, offset_to_code): Declare.
1054*3d8817e4Smiod	* core.c (MIN_INSN_SIZE): Don't define.
1055*3d8817e4Smiod	(min_insn_size, offset_to_code): New variables.
1056*3d8817e4Smiod	(core_init): Initialize min_insn_size and offset_to_code.
1057*3d8817e4Smiod	(find_call): New function.
1058*3d8817e4Smiod	(core_create_line_syms): Don't use min_dist.  Set is_static in
1059*3d8817e4Smiod	pass 2.
1060*3d8817e4Smiod	* hist.c (UNITS_TO_CODE): Define.
1061*3d8817e4Smiod	* gprof.c (default_excluded_list): Add "__mcount_internal".
1062*3d8817e4Smiod	* gmon.h: Change TARGET_alpha to __alpha__.
1063*3d8817e4Smiod	* hertz.h: Ifdef MACH, define hertz as HZ.
1064*3d8817e4Smiod	* alpha.c (alpha_Instruction): Rename from Instruction.  Change
1065*3d8817e4Smiod	all references.
1066*3d8817e4Smiod	(alpha_find_call): Rename from find_call.
1067*3d8817e4Smiod	* alpha.h: Remove.
1068*3d8817e4Smiod	* dummy.c, dummy.h: Remove.
1069*3d8817e4Smiod	* i386.c (i386_iscall): Rename from iscall.  Change all
1070*3d8817e4Smiod	references.  Check for call instruction, not jump or lcall.
1071*3d8817e4Smiod	(i386_find_call): Rename from find_call.  Correct for VMA.
1072*3d8817e4Smiod	Correct call destination computation.  Don't dereference symbol if
1073*3d8817e4Smiod	it is NULL.
1074*3d8817e4Smiod	* i386.h: Remove.
1075*3d8817e4Smiod	* ns532.c, ns532.h: Remove.
1076*3d8817e4Smiod	* sparc.c (CALL): Define.
1077*3d8817e4Smiod	(sparc_find_call): Rename from find_call.
1078*3d8817e4Smiod	* sparc.h: Remove.
1079*3d8817e4Smiod	* tahoe.c: Include cg_arcs.h, core.h, hist.h, and symtab.h.  Don't
1080*3d8817e4Smiod	include time_host.h.
1081*3d8817e4Smiod	(CALLF, PC): Define.
1082*3d8817e4Smiod	(enum tahoe_opermodes, tahoe_operandenum): Define.  Rename all
1083*3d8817e4Smiod	references to opermodes or operandenum to these.
1084*3d8817e4Smiod	(tahoe_operandmode): Rename from operandmode.  Call abort if
1085*3d8817e4Smiod	switch does not return.
1086*3d8817e4Smiod	(tahoe_operandname): Rename from operandname.  Call abort if
1087*3d8817e4Smiod	switch does not return.
1088*3d8817e4Smiod	(tahoe_operandlength): Rename from operandlength.  Call abort if
1089*3d8817e4Smiod	switch does not return.
1090*3d8817e4Smiod	(tahoe_reladdr): Rename from reladdr.
1091*3d8817e4Smiod	(tahoe_find_call): Rename from find_call.  Use core_text_space
1092*3d8817e4Smiod	rather than textspace.
1093*3d8817e4Smiod	* tahoe.h: Remove.
1094*3d8817e4Smiod	* vax.c (CALLS, PC): Define.
1095*3d8817e4Smiod	(enum opermodes, operandenum, struct modebyte): Define.
1096*3d8817e4Smiod	(vax_operandmode): Rename from operandmode.  Call abort if switch
1097*3d8817e4Smiod	does not return.
1098*3d8817e4Smiod	(vax_operandname): Rename from operandname.  Call abort if switch
1099*3d8817e4Smiod	does not return.
1100*3d8817e4Smiod	(vax_operandlength): Rename from operandlength.  Call abort if
1101*3d8817e4Smiod	switch does not return.
1102*3d8817e4Smiod	(vax_reladdr): Rename from reladdr.
1103*3d8817e4Smiod	(vax_find_call): Rename from find_call.
1104*3d8817e4Smiod	* vax.h: Remove.
1105*3d8817e4Smiod	* Makefile.am (AUTOMAKE_OPTIONS): Set to cygnus.
1106*3d8817e4Smiod	(MY_TARGET): Remove.
1107*3d8817e4Smiod	(INCLUDES): Remove -DTARGET_$(MY_TARGET) and -DMACHINE_H=
1108*3d8817e4Smiod	\"$(MY_TARGET).h\".
1109*3d8817e4Smiod	(gprof_SOURCES): Add i386.c, alpha.c, vax.c, tahoe.c, sparc.c.
1110*3d8817e4Smiod	(gprof_DEPENDENCIES): Remove $(MY_TARGET).o.
1111*3d8817e4Smiod	(gprof_LDADD): Likewise.
1112*3d8817e4Smiod	(noinst_HEADERS): Remove alpha.h, i386.h, ns532.h, sparc.h,
1113*3d8817e4Smiod	tahoe.h, vax.h, dummy.h.
1114*3d8817e4Smiod	(EXTRA_DIST): Remove alpha.c, i386.c, ns532.c, sparc.c, tahoe.c,
1115*3d8817e4Smiod	vax.c, dummy.c.
1116*3d8817e4Smiod	($(OBJECTS)): Don't depend upon $(MY_TARGET).h.
1117*3d8817e4Smiod	($(MY_TARGET).o): Remove target.
1118*3d8817e4Smiod	(i386.o, alpha.o, vax.o, tahoe.o, sparc.o): New targets.
1119*3d8817e4Smiod	* configure, Makefile.in, aclocal.m4: Rebuild.
1120*3d8817e4Smiod
1121*3d8817e4SmiodMon Dec 29 14:17:08 1997  Ian Lance Taylor  <ian@cygnus.com>
1122*3d8817e4Smiod
1123*3d8817e4Smiod	* core.c (core_sym_class): Treat weak symbols as text symbols.
1124*3d8817e4Smiod	From Dean Gaudet <dgaudet@arctic.org>.
1125*3d8817e4Smiod
1126*3d8817e4SmiodWed Sep 24 11:35:43 1997  Ian Lance Taylor  <ian@cygnus.com>
1127*3d8817e4Smiod
1128*3d8817e4Smiod	* aclocal.m4: Rebuild with new libtool.
1129*3d8817e4Smiod	* Makefile.in: Rebuild with current automake.
1130*3d8817e4Smiod	* configure: Rebuild.
1131*3d8817e4Smiod
1132*3d8817e4SmiodSat Aug  9 16:25:01 1997  Ian Lance Taylor  <ian@cygnus.com>
1133*3d8817e4Smiod
1134*3d8817e4Smiod	* configure.in: Change version number to 2.8.2.  Call
1135*3d8817e4Smiod	AM_PROG_LIBTOOL.  Remove shared library handling; now handled by
1136*3d8817e4Smiod	libtool.  Add AM_CONFIG_HEADER.  Change AC_PROG_INSTALL to
1137*3d8817e4Smiod	AM_PROG_INSTALL.  Add AM_EXEEXT.
1138*3d8817e4Smiod	* Makefile.am (LINK): Remove.
1139*3d8817e4Smiod	(gprof_LDFLAGS): Remove
1140*3d8817e4Smiod	(gprof_DEPENDENCIES): Change libbfd.a to libbfd.la.
1141*3d8817e4Smiod	(gprof_LDADD): Likewise.
1142*3d8817e4Smiod	($(OBJECTS)): Depend upon gconfig.h and ../bfd/config.h.
1143*3d8817e4Smiod	* gprof.h: Undefine PACKAGE and VERSION after including BFD
1144*3d8817e4Smiod	sysdep.h file, then include new gconfig.h file.
1145*3d8817e4Smiod	* gprof.c (VERSION): Don't define.
1146*3d8817e4Smiod	* acconfig.h: New file.
1147*3d8817e4Smiod	* stamp-h.in: New file.
1148*3d8817e4Smiod	* gconfig.in: New file, created by autoheader.
1149*3d8817e4Smiod	* Makefile.in, configure, aclocal.m4: Rebuild.
1150*3d8817e4Smiod
1151*3d8817e4SmiodSat Jun 28 23:20:42 1997  Ian Lance Taylor  <ian@cygnus.com>
1152*3d8817e4Smiod
1153*3d8817e4Smiod	* aclocal.m4, configure, Makefile.in: Rebuild with automake 1.2.
1154*3d8817e4Smiod
1155*3d8817e4SmiodMon Jun 16 15:31:39 1997  Ian Lance Taylor  <ian@cygnus.com>
1156*3d8817e4Smiod
1157*3d8817e4Smiod	* Makefile.am (INCLUDES): Add -DDEBUG.
1158*3d8817e4Smiod	* Makefile.in: Rebuild.
1159*3d8817e4Smiod
1160*3d8817e4SmiodTue Apr 15 14:19:30 1997  Ian Lance Taylor  <ian@cygnus.com>
1161*3d8817e4Smiod
1162*3d8817e4Smiod	Change to use automake:
1163*3d8817e4Smiod	* Makefile.am: New file.
1164*3d8817e4Smiod	* configure.in: Run AM_INIT_AUTOMAKE, AM_MAINTAINER_MODE, and
1165*3d8817e4Smiod	AM_CYGWIN32.
1166*3d8817e4Smiod	* aclocal.m4: New file, created by aclocal.
1167*3d8817e4Smiod	* Makefile.in: Replace with file created by automake --cygnus.
1168*3d8817e4Smiod	* configure: Rebuild.
1169*3d8817e4Smiod
1170*3d8817e4SmiodThu Apr  3 13:21:25 1997  Ian Lance Taylor  <ian@cygnus.com>
1171*3d8817e4Smiod
1172*3d8817e4Smiod	* gprof.c (VERSION): Define as "2.8.1".
1173*3d8817e4Smiod
1174*3d8817e4Smiod	* Branched binutils 2.8.
1175*3d8817e4Smiod
1176*3d8817e4SmiodThu Mar 27 17:15:23 1997  Ian Lance Taylor  <ian@cygnus.com>
1177*3d8817e4Smiod
1178*3d8817e4Smiod	* gprof.c (main): Correct copyright message.
1179*3d8817e4Smiod
1180*3d8817e4SmiodMon Mar 24 11:12:26 1997  Ian Lance Taylor  <ian@cygnus.com>
1181*3d8817e4Smiod
1182*3d8817e4Smiod	* Makefile.in (.c.o): Define TARGET_$(MY_TARGET) when compiling.
1183*3d8817e4Smiod	* gmon.h: Use bytes counts rather than sizeof in struct raw_phdr
1184*3d8817e4Smiod	and struct raw_arc.
1185*3d8817e4Smiod
1186*3d8817e4SmiodMon Mar 17 10:54:47 1997  David Mosberger-Tang  <davidm@azstarnet.com>
1187*3d8817e4Smiod
1188*3d8817e4Smiod	* cg_arcs.c (arc_add): memset() newly alloced arc to ensure
1189*3d8817e4Smiod	all fields are initialized with 0.
1190*3d8817e4Smiod
1191*3d8817e4SmiodSat Mar 15 19:17:31 1997  H.J. Lu  <hjl@lucon.org>
1192*3d8817e4Smiod
1193*3d8817e4Smiod	* symtab.h (find_call): Declare.
1194*3d8817e4Smiod	* cg_arcs.c (cg_assemble): Don't declare find_call.
1195*3d8817e4Smiod	* hist.c (scale_and_align_entries): Declare.
1196*3d8817e4Smiod
1197*3d8817e4SmiodThu Feb 27 12:46:53 1997  Ian Lance Taylor  <ian@cygnus.com>
1198*3d8817e4Smiod
1199*3d8817e4Smiod	* configure.in: Define BSD44_FORMAT if the target looks like a
1200*3d8817e4Smiod	BSD4.4 derived system.
1201*3d8817e4Smiod	* configure: Rebuild.
1202*3d8817e4Smiod	* Makefile.in (.c.o): Add @DEFS@.
1203*3d8817e4Smiod	* gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate
1204*3d8817e4Smiod	from profrate field, not version field.
1205*3d8817e4Smiod
1206*3d8817e4SmiodThu Jan 16 17:42:54 1997  Ian Lance Taylor  <ian@cygnus.com>
1207*3d8817e4Smiod
1208*3d8817e4Smiod	* dummy.c (find_call): Clear ignore_direct_calls.
1209*3d8817e4Smiod
1210*3d8817e4SmiodTue Dec 31 15:44:10 1996  Ian Lance Taylor  <ian@cygnus.com>
1211*3d8817e4Smiod
1212*3d8817e4Smiod	* Makefile.in (.c.o): Add -D_GNU_SOURCE.  Put $(CFLAGS) at the
1213*3d8817e4Smiod	end.
1214*3d8817e4Smiod	(gprof): Put $(CFLAGS) after the other options.
1215*3d8817e4Smiod
1216*3d8817e4SmiodTue Nov 26 17:08:38 1996  Ian Lance Taylor  <ian@cygnus.com>
1217*3d8817e4Smiod
1218*3d8817e4Smiod	* configure: Rebuild with autoconf 2.12.
1219*3d8817e4Smiod
1220*3d8817e4SmiodWed Oct  2 15:23:16 1996  Ian Lance Taylor  <ian@cygnus.com>
1221*3d8817e4Smiod
1222*3d8817e4Smiod	* sparc.c (find_call): Align p_lowpc to avoid bus error.
1223*3d8817e4Smiod
1224*3d8817e4SmiodTue Oct  1 15:58:10 1996  Ian Lance Taylor  <ian@cygnus.com>
1225*3d8817e4Smiod
1226*3d8817e4Smiod	* gprof.c (usage): Print bug report address.
1227*3d8817e4Smiod	(main): Change version printing to match current GNU standards.
1228*3d8817e4Smiod
1229*3d8817e4SmiodFri Aug 30 12:16:11 1996  Ian Lance Taylor  <ian@cygnus.com>
1230*3d8817e4Smiod
1231*3d8817e4Smiod	* gmon.h: Replace #elif with #else/#endif.
1232*3d8817e4Smiod
1233*3d8817e4SmiodThu Aug 29 17:04:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
1234*3d8817e4Smiod
1235*3d8817e4Smiod	* configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
1236*3d8817e4Smiod	* configure: Regenerate.
1237*3d8817e4Smiod
1238*3d8817e4SmiodThu Aug 22 17:12:30 1996  Ian Lance Taylor  <ian@cygnus.com>
1239*3d8817e4Smiod
1240*3d8817e4Smiod	* configure.in: Set and substitute HLDENV.
1241*3d8817e4Smiod	* configure: Rebuild.
1242*3d8817e4Smiod	* Makefile.in (HLDENV): New variable.
1243*3d8817e4Smiod	(gprof): Use $(HLDENV).
1244*3d8817e4Smiod
1245*3d8817e4SmiodWed Aug  7 14:43:51 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
1246*3d8817e4Smiod
1247*3d8817e4Smiod	* core.c (read_function_mappings): Cast xmalloc return.
1248*3d8817e4Smiod
1249*3d8817e4SmiodThu Jul  4 12:01:42 1996  Ian Lance Taylor  <ian@cygnus.com>
1250*3d8817e4Smiod
1251*3d8817e4Smiod	* gprof.c (VERSION): Define as "2.7.1".
1252*3d8817e4Smiod
1253*3d8817e4Smiod	* Released binutils 2.7.
1254*3d8817e4Smiod
1255*3d8817e4Smiod	* bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be
1256*3d8817e4Smiod	stored on a System V file system.
1257*3d8817e4Smiod
1258*3d8817e4SmiodThu Jun 27 11:36:22 1996  Ian Lance Taylor  <ian@cygnus.com>
1259*3d8817e4Smiod
1260*3d8817e4Smiod	* configure.in: Call AC_ISC_POSIX.
1261*3d8817e4Smiod	* configure: Rebuild.
1262*3d8817e4Smiod	* Makefile.in (gprof): Pass $(CFLAGS) during link.
1263*3d8817e4Smiod	* hertz.c: Don't include <sys/time.h>; let sysdep.h handle that.
1264*3d8817e4Smiod	If HAVE_SETITIMER is not defined, try using sysconf.
1265*3d8817e4Smiod
1266*3d8817e4SmiodMon Jun 24 18:27:28 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
1267*3d8817e4Smiod
1268*3d8817e4Smiod	* Makefile.in (exec_prefix, bindir, libdir, mandir, infodir, datadir,
1269*3d8817e4Smiod	INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1270*3d8817e4Smiod	* configure.in (AC_PREREQ): autoconf 2.5 or higher.
1271*3d8817e4Smiod	(AC_PROG_INSTALL): added.
1272*3d8817e4Smiod	* configure: Rebuilt.
1273*3d8817e4Smiod
1274*3d8817e4SmiodMon Jun 24 12:03:09 1996  Ian Lance Taylor  <ian@cygnus.com>
1275*3d8817e4Smiod
1276*3d8817e4Smiod	* configure.in: On alpha*-*-osf*, link against libbfd.a if not
1277*3d8817e4Smiod	using shared libraries.
1278*3d8817e4Smiod	* configure: Rebuild with autoconf 2.10.
1279*3d8817e4Smiod
1280*3d8817e4SmiodTue Jun 18 17:35:58 1996  Ian Lance Taylor  <ian@cygnus.com>
1281*3d8817e4Smiod
1282*3d8817e4Smiod	* core.c (core_create_line_syms): Use xstrdup rather than strdup.
1283*3d8817e4Smiod	* source.c (source_file_lookup_path): Likewise.
1284*3d8817e4Smiod
1285*3d8817e4SmiodMon Apr  8 14:44:33 1996  Ian Lance Taylor  <ian@cygnus.com>
1286*3d8817e4Smiod
1287*3d8817e4Smiod	* configure.in: Permit --enable-shared to specify a list of
1288*3d8817e4Smiod	directories.
1289*3d8817e4Smiod	* configure: Rebuild.
1290*3d8817e4Smiod
1291*3d8817e4SmiodThu Mar 21 17:18:25 1996  Ian Lance Taylor  <ian@cygnus.com>
1292*3d8817e4Smiod
1293*3d8817e4Smiod	* core.c (core_create_function_syms): Move filename and func_name
1294*3d8817e4Smiod	inside ifdef where they are used.
1295*3d8817e4Smiod
1296*3d8817e4Smiod	* core.c (core_sym_class): Parenthesize && within ||.
1297*3d8817e4Smiod	* symtab.c (symtab_finalize): Correct parenthesization.
1298*3d8817e4Smiod
1299*3d8817e4Smiod	* cg_print.h (cg_print_file_ordering): Declare.
1300*3d8817e4Smiod	(cg_print_function_ordering): Declare.
1301*3d8817e4Smiod
1302*3d8817e4Smiod	* __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy.
1303*3d8817e4Smiod	* cg_arcs.c (arc_add): Likewise.
1304*3d8817e4Smiod	* cg_print.c (cg_print_function_ordering): Likewise.
1305*3d8817e4Smiod
1306*3d8817e4SmiodThu Mar 21 17:02:02 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1307*3d8817e4Smiod
1308*3d8817e4Smiod	* gprof.c (default_excluded_list): Add "__mcount".
1309*3d8817e4Smiod
1310*3d8817e4Smiod	* gprof.c (main): Change ifdef __osf__ to __alpha__.
1311*3d8817e4Smiod
1312*3d8817e4Smiod	* gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the
1313*3d8817e4Smiod	profiling rate from the header.
1314*3d8817e4Smiod
1315*3d8817e4Smiod	* gmon.h (struct raw_phdr): Only include pad if both __alpha__ and
1316*3d8817e4Smiod	__osf__ are defined.  Add new fields if BSD44_FORMAT is defined.
1317*3d8817e4Smiod
1318*3d8817e4Smiod	* alpha.h (MIN_INSN_SIZE): Define.
1319*3d8817e4Smiod	* core.c (MIN_INSN_SIZE): If not defined, define as 1.
1320*3d8817e4Smiod	(core_sym_class): Ignore debugging symbols.
1321*3d8817e4Smiod	(core_create_line_syms): Use MIN_INSN_SIZE when gathering line
1322*3d8817e4Smiod	information.
1323*3d8817e4Smiod
1324*3d8817e4SmiodWed Mar 20 18:15:47 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1325*3d8817e4Smiod
1326*3d8817e4Smiod	* cg_print.c (cg_print_function_ordering): Fix __GNUC__ misspelled
1327*3d8817e4Smiod	as __GNU_C__.
1328*3d8817e4Smiod	(order_and_dump_functions_by_arcs): Likewise.
1329*3d8817e4Smiod
1330*3d8817e4SmiodTue Mar 12 12:19:50 1996  Ian Lance Taylor  <ian@cygnus.com>
1331*3d8817e4Smiod
1332*3d8817e4Smiod	* configure: Rebuild with autoconf 2.8.
1333*3d8817e4Smiod
1334*3d8817e4SmiodSun Feb 18 15:06:18 1996  Ian Lance Taylor  <ian@cygnus.com>
1335*3d8817e4Smiod
1336*3d8817e4Smiod	* configure.in: Check for 'do not mix' from native linker before
1337*3d8817e4Smiod	trying to use -rpath.
1338*3d8817e4Smiod	* configure: Rebuild.
1339*3d8817e4Smiod
1340*3d8817e4SmiodTue Feb 13 15:32:53 1996  Ian Lance Taylor  <ian@cygnus.com>
1341*3d8817e4Smiod
1342*3d8817e4Smiod	* configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
1343*3d8817e4Smiod	* configure: Rebuild.
1344*3d8817e4Smiod
1345*3d8817e4SmiodWed Feb  7 14:03:17 1996  Ian Lance Taylor  <ian@cygnus.com>
1346*3d8817e4Smiod
1347*3d8817e4Smiod	* configure.in: Don't set CC.  Look for --enable-shared.  Set
1348*3d8817e4Smiod	BFDLIB and HLDFLAGS and substitute them.
1349*3d8817e4Smiod	* configure: Rebuild.
1350*3d8817e4Smiod	* Makefile.in (LIBS): Use @BFDLIB@.
1351*3d8817e4Smiod	(HLDFLAGS): New variable.
1352*3d8817e4Smiod	(gprof): Use $(HLDFLAGS).
1353*3d8817e4Smiod
1354*3d8817e4SmiodMon Feb  5 16:34:44 1996  Ian Lance Taylor  <ian@cygnus.com>
1355*3d8817e4Smiod
1356*3d8817e4Smiod	Support for building bfd and opcodes as shared libraries, based on
1357*3d8817e4Smiod	patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
1358*3d8817e4Smiod	* Makefile.in (LIBDEPS): New variable.
1359*3d8817e4Smiod	(LIBS): Use -L../bfd -lbfd.
1360*3d8817e4Smiod	(gprof): Depend upon $(LIBDEPS) rather than $(LIBS).
1361*3d8817e4Smiod
1362*3d8817e4SmiodSat Dec 30 10:11:03 1995  Jeffrey A Law  (law@cygnus.com)
1363*3d8817e4Smiod
1364*3d8817e4Smiod	* gprof.c (long_options): Add "--function-ordering" and
1365*3d8817e4Smiod	"--file-ordering" options.
1366*3d8817e4Smiod	(usage): Add new options to usage message.
1367*3d8817e4Smiod	(main): Handle new options.
1368*3d8817e4Smiod	* gprof.h (STYLE_FUNCTION_ORDER): Define.
1369*3d8817e4Smiod	(STYLE_FILE_ORDER): Define.
1370*3d8817e4Smiod	(function_mapping_file): Declare.
1371*3d8817e4Smiod	* cg_arcs.c (arcs, numarcs): New globals.
1372*3d8817e4Smiod	(arc_add): Put new arcs into the arc array so the function/file
1373*3d8817e4Smiod	ordering code can examine them.
1374*3d8817e4Smiod	* cg_arcs.h (struct arc): New field "has_been_placed".
1375*3d8817e4Smiod	(arcs, numarcs): Declare new globals.
1376*3d8817e4Smiod	* core.c (symbol_map, symbol_map_count): New globals.
1377*3d8817e4Smiod	(read_function_mappings): New function to read in a function
1378*3d8817e4Smiod	to object map file.
1379*3d8817e4Smiod	(core_init): Call read_function_mappings if a function mapping
1380*3d8817e4Smiod	file exists.
1381*3d8817e4Smiod	(core_create_function_syms): Handle function to object file
1382*3d8817e4Smiod	mappings.
1383*3d8817e4Smiod	* symtab.h (struct sym): New fields "mapped", "has_been_placed",
1384*3d8817e4Smiod	"nuses", "prev".
1385*3d8817e4Smiod	* cg_print.c (cmp_arc_count): New function for sorting arcs.
1386*3d8817e4Smiod	(cmp_fun_nuses): Likewise for functions.
1387*3d8817e4Smiod	(cg_print_function_ordering): New function to print a suggested
1388*3d8817e4Smiod	function ordering.
1389*3d8817e4Smiod	(cg_print_file_ordering): Likewise for ordering .o files.
1390*3d8817e4Smiod	(order_and_dump_functions_by_arcs): Helper function for function
1391*3d8817e4Smiod	and object file ordering code.
1392*3d8817e4Smiod
1393*3d8817e4SmiodSun Dec 24 21:32:27 1995  Jeffrey A Law  (law@cygnus.com)
1394*3d8817e4Smiod
1395*3d8817e4Smiod	* core.c (core_sym_class): Ignore symbols without BSF_FUNCTION
1396*3d8817e4Smiod	set if ignore_non_function is set.
1397*3d8817e4Smiod	* gprof.h (ignore_non_functions): Declare.
1398*3d8817e4Smiod	* gprof.c (ignore_non_functions): Define.
1399*3d8817e4Smiod	(long_options): Add "ignore-non-functions".
1400*3d8817e4Smiod	(usage): Add new options.
1401*3d8817e4Smiod	(main): Recognize "-D" and "--ignore-non-functions" option.
1402*3d8817e4Smiod
1403*3d8817e4SmiodTue Nov 21 13:24:39 1995  Ken Raeburn  <raeburn@cygnus.com>
1404*3d8817e4Smiod
1405*3d8817e4Smiod	* Makefile.in (.m.c): Strip out directory name from function
1406*3d8817e4Smiod	name.
1407*3d8817e4Smiod
1408*3d8817e4Smiod	* hist.c (scale_and_align_entries): Don't use DEFUN_VOID.  Do
1409*3d8817e4Smiod	UNITS_TO_CODE adjustment unconditionally; compiler can optimize
1410*3d8817e4Smiod	away zero-offset case.  Refer to scaled_addr, not aligned_addr.
1411*3d8817e4Smiod
1412*3d8817e4Smiod	* vax.c: Don't include vax.h here.
1413*3d8817e4Smiod
1414*3d8817e4SmiodThu Nov 16 03:41:37 1995  Ken Raeburn  <raeburn@cygnus.com>
1415*3d8817e4Smiod
1416*3d8817e4Smiod	Version 2.6 released.
1417*3d8817e4Smiod
1418*3d8817e4SmiodWed Nov  8 11:40:04 1995  Ian Lance Taylor  <ian@cygnus.com>
1419*3d8817e4Smiod
1420*3d8817e4Smiod	* gprof.c (main): Cast getenv return value.
1421*3d8817e4Smiod
1422*3d8817e4SmiodMon Nov  6 15:05:00 1995  Ken Raeburn  <raeburn@cygnus.com>
1423*3d8817e4Smiod
1424*3d8817e4Smiod	* Makefile.in (TAGS): New target.
1425*3d8817e4Smiod
1426*3d8817e4SmiodWed Nov  1 12:51:21 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1427*3d8817e4Smiod
1428*3d8817e4Smiod	* Makefile.in (DISTSTUFF):  Rename to GEN_FILES, to avoid confusion.
1429*3d8817e4Smiod	(all):  Depend on $(GEN_FILES), not diststuff (which also depends
1430*3d8817e4Smiod	on info).
1431*3d8817e4Smiod
1432*3d8817e4SmiodWed Nov  1 15:23:15 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>
1433*3d8817e4Smiod
1434*3d8817e4Smiod	* sym_ids.c: Include <ctype.h>.
1435*3d8817e4Smiod
1436*3d8817e4SmiodWed Oct 25 13:24:31 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1437*3d8817e4Smiod
1438*3d8817e4Smiod	* Makefile.in (diststuff):  Also make info.
1439*3d8817e4Smiod	(mostlyclean):  Don't remove gprof.info*.
1440*3d8817e4Smiod	(maintainer-clean realclean):  Also remove *.info*.
1441*3d8817e4Smiod
1442*3d8817e4SmiodFri Oct  6 16:25:32 1995  Ken Raeburn  <raeburn@cygnus.com>
1443*3d8817e4Smiod
1444*3d8817e4Smiod	Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1445*3d8817e4Smiod
1446*3d8817e4Smiod	* Makefile.in: Add dependecies for $(OBJS) on header files.
1447*3d8817e4Smiod
1448*3d8817e4Smiod	* cg_print.c (print_cycle, print_members, cg_print_index): Fix new
1449*3d8817e4Smiod	style output format to make it consistent.
1450*3d8817e4Smiod	* dummy.c (find_call): Fix typo in error message.
1451*3d8817e4Smiod
1452*3d8817e4SmiodWed Sep 20 13:21:02 1995  Ian Lance Taylor  <ian@cygnus.com>
1453*3d8817e4Smiod
1454*3d8817e4Smiod	* Makefile.in (maintainer-clean): New target, synonym for
1455*3d8817e4Smiod	realclean.
1456*3d8817e4Smiod
1457*3d8817e4SmiodFri Sep  8 14:38:08 1995  Ian Lance Taylor  <ian@cygnus.com>
1458*3d8817e4Smiod
1459*3d8817e4Smiod	* Makefile.in (install): Don't install in $(tooldir).
1460*3d8817e4Smiod
1461*3d8817e4SmiodFri Aug 25 15:30:05 1995  Ken Raeburn  <raeburn@cygnus.com>
1462*3d8817e4Smiod
1463*3d8817e4Smiod	NS32K changes from Ian Dall:
1464*3d8817e4Smiod	* configure.in: Use ns32k, not ns532.
1465*3d8817e4Smiod	* ns532.c: Include symtab.h.
1466*3d8817e4Smiod	(find_call): Renamed from findcall.  Print a message.
1467*3d8817e4Smiod	* ns532.h: Remove dummy.h comments.
1468*3d8817e4Smiod
1469*3d8817e4SmiodTue Aug 22 10:00:45 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
1470*3d8817e4Smiod
1471*3d8817e4Smiod	* Makefile.in (install): Remove "brokensed" hack, unnecessary now
1472*3d8817e4Smiod	that we're using autoconf.
1473*3d8817e4Smiod
1474*3d8817e4SmiodWed Jul 19 18:46:13 1995  Fred Fish  <fnf@cygnus.com>
1475*3d8817e4Smiod
1476*3d8817e4Smiod	* core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line
1477*3d8817e4Smiod	to proper type of "unsigned int *".
1478*3d8817e4Smiod
1479*3d8817e4SmiodFri Jun 16 15:29:36 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
1480*3d8817e4Smiod
1481*3d8817e4Smiod	* configure.in: Use changequote around use of [].
1482*3d8817e4Smiod
1483*3d8817e4SmiodMon Jun 12 12:14:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
1484*3d8817e4Smiod
1485*3d8817e4Smiod	* Makefile.in (distclean, realclean): Remove config.cache and
1486*3d8817e4Smiod	  config.log.
1487*3d8817e4Smiod
1488*3d8817e4SmiodWed May 17 17:56:53 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
1489*3d8817e4Smiod
1490*3d8817e4Smiod	* Makefile.in (Makefile): Added config.status to dependency list.
1491*3d8817e4Smiod	  (config.status): New target.
1492*3d8817e4Smiod	  (SHELL): New definition.
1493*3d8817e4Smiod
1494*3d8817e4SmiodTue Apr 25 21:11:12 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
1495*3d8817e4Smiod
1496*3d8817e4Smiod	* Makefile.in (install): Depend on "all".
1497*3d8817e4Smiod
1498*3d8817e4SmiodThu Apr 20 17:29:07 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
1499*3d8817e4Smiod
1500*3d8817e4Smiod	* Makefile.in: Change all references to MY_MACHINE to MY_TARGET,
1501*3d8817e4Smiod	to match configure script.
1502*3d8817e4Smiod
1503*3d8817e4SmiodWed Apr 19 11:19:37 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
1504*3d8817e4Smiod
1505*3d8817e4Smiod	* gen-c-prog.awk: Changed reference to "make-c-prog.awk" in
1506*3d8817e4Smiod	  comment emitted by this script to gen-c-prog.awk.
1507*3d8817e4Smiod
1508*3d8817e4Smiod	* Makefile.in, configure.in: Converted to use autoconf.
1509*3d8817e4Smiod	* configure: New file, generated with autoconf 2.3.
1510*3d8817e4Smiod	* config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc,
1511*3d8817e4Smiod	  mt-tahoe, mt-vax}: Removed.
1512*3d8817e4Smiod
1513*3d8817e4SmiodMon Mar 13 21:44:24 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
1514*3d8817e4Smiod
1515*3d8817e4Smiod	* __bb_exit_func.c: New file, from David Mosberger-Tang.
1516*3d8817e4Smiod
1517*3d8817e4Smiod	Thu Feb  9 16:56:07 1995  David Mosberger-Tang  <davidm@piston.cs.arizona.edu>
1518*3d8817e4Smiod
1519*3d8817e4Smiod	* All *.c: More cleanup towards GNU format.
1520*3d8817e4Smiod
1521*3d8817e4Smiod	* gmon_out.h (struct gmon_hist_hdr, struct gmon_cg_arc_record):
1522*3d8817e4Smiod	replaced sizeof (bfd_vma) by size (char*) because Ken tells me
1523*3d8817e4Smiod	that bfd_vma is only guaranteed to be at least as big as a pointer.
1524*3d8817e4Smiod
1525*3d8817e4Smiod	(GMON_Record_tag): added explicit enumeration values to ensure
1526*3d8817e4Smiod	compatibility across compilers.
1527*3d8817e4Smiod
1528*3d8817e4Smiod	* gmon_io.c (get_vma, put_vma): replaced sizeof(bfd_vma) by
1529*3d8817e4Smiod	sizeof(char*).
1530*3d8817e4Smiod
1531*3d8817e4SmiodTue Feb  7 17:24:12 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
1532*3d8817e4Smiod
1533*3d8817e4Smiod	* All *.c and *.h files: Ran "indent -gnu".  Cleaned up a couple
1534*3d8817e4Smiod	of constructs GNU indent couldn't handle.  Block comments not yet
1535*3d8817e4Smiod	rewritten in GNU format.
1536*3d8817e4Smiod
1537*3d8817e4Smiod	* gprof.c (VERSION): Changed to 2.6, to get in sync for next
1538*3d8817e4Smiod	binutils release.
1539*3d8817e4Smiod
1540*3d8817e4SmiodSun Feb  5 16:19:46 1995  David Mosberger-Tang  <davidm@piston.cs.arizona.edu>
1541*3d8817e4Smiod
1542*3d8817e4Smiod	* symtab.c (symtab_finalize): ensure globals symbols really
1543*3d8817e4Smiod	are favored over static ones---even if their name looks less
1544*3d8817e4Smiod	preferable; this is important for HP-UX; for example, there
1545*3d8817e4Smiod	is a static label Ltext_something that aliases the global
1546*3d8817e4Smiod	symbol _start
1547*3d8817e4Smiod
1548*3d8817e4Smiod	* hist.c (hist_print): auto-scaling is now in effect for FSF-style
1549*3d8817e4Smiod	output only; also, auto-scaling is now performed based on
1550*3d8817e4Smiod	per-call, rather than total execution time, which is what it was
1551*3d8817e4Smiod	meant to be.
1552*3d8817e4Smiod
1553*3d8817e4Smiod	* gprof.h (File_Format): new type.
1554*3d8817e4Smiod
1555*3d8817e4Smiod	* gprof.c (VERSION): upped to 2.7---seems to be completely out of
1556*3d8817e4Smiod	sync with Cygnus version numbers though...
1557*3d8817e4Smiod
1558*3d8817e4Smiod	(long_options): renamed --gmon-info to --file-info, --width added,
1559*3d8817e4Smiod	renamed --old-file-format to --file-format
1560*3d8817e4Smiod	(main): dito; also added support to read prof files, but as
1561*3d8817e4Smiod	mon_out_read() is not implemented, it's #ifdef'd out for now
1562*3d8817e4Smiod
1563*3d8817e4Smiod	(usage): update to reflect new options.
1564*3d8817e4Smiod
1565*3d8817e4Smiod	* gmon_io.c: replaced "old_file_format" by more general
1566*3d8817e4Smiod	"file_format" option
1567*3d8817e4Smiod
1568*3d8817e4Smiod	* gmon.h (struct raw_phdr): fixed declaration for OSF/1.
1569*3d8817e4Smiod
1570*3d8817e4Smiod	* core.c (core_sym_class): added back check for __gnu_compiled and
1571*3d8817e4Smiod	___gnu_compiled for the benefit of systems without
1572*3d8817e4Smiod	bfd_find_nearest_line() support
1573*3d8817e4Smiod
1574*3d8817e4Smiod	(get_src_info): now the libbfd is fixed, invoke bfd_find_nearest_line()
1575*3d8817e4Smiod	with section-relative addresses
1576*3d8817e4Smiod
1577*3d8817e4Smiod	(core_create_function_syms): get_src_info() calls are currently
1578*3d8817e4Smiod	enabled for OSF/1 only.  It appears to work allright for SunOS
1579*3d8817e4Smiod	4.1.x as well, but on SPARCs it gets painfully slow with the
1580*3d8817e4Smiod	current implementation of aout_32_find_nearest_line();
1581*3d8817e4Smiod	unfortunately, this means that static functions will not have their
1582*3d8817e4Smiod	filename printed in the call-graph function index; line-level
1583*3d8817e4Smiod	profiling should still work, but requires some patience
1584*3d8817e4Smiod
1585*3d8817e4Smiod	* cg_print.c (cg_print_index): sanitised printing of index when
1586*3d8817e4Smiod	using FSF-style output; in particular, output width is now controlled
1587*3d8817e4Smiod	via option --width and the function tries hard to keep columns
1588*3d8817e4Smiod	aligned even in the presence of (occasional) long names
1589*3d8817e4Smiod
1590*3d8817e4Smiod	* NOTES: a first shot at updating the documentation.
1591*3d8817e4Smiod
1592*3d8817e4SmiodWed Feb  1 19:07:44 1995  David Mosberger-Tang  <davidm@piston.cs.arizona.edu>
1593*3d8817e4Smiod
1594*3d8817e4Smiod	* core.c (core_create_function_syms): fixed computation of min_vma
1595*3d8817e4Smiod	and max_vma.
1596*3d8817e4Smiod
1597*3d8817e4Smiod	* *.c: removed rcsid.
1598*3d8817e4Smiod
1599*3d8817e4SmiodTue Jan 31 16:18:18 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
1600*3d8817e4Smiod
1601*3d8817e4Smiod	* Lots of changes from David Mosberger-Tang:
1602*3d8817e4Smiod
1603*3d8817e4Smiod	Tue Oct 25 19:20:14 1994  David Mosberger-Tang	<davidm@piston.cs.arizona.edu>
1604*3d8817e4Smiod
1605*3d8817e4Smiod	* gprof.c (main): put parentheses around & within &&.
1606*3d8817e4Smiod
1607*3d8817e4Smiod	* basic_blocks.c (bb_read_rec): print warning message (once) when
1608*3d8817e4Smiod	ignoring basic-block execution counts.
1609*3d8817e4Smiod
1610*3d8817e4Smiod	* source.c (source_file_lookup_name): corrected second argument to
1611*3d8817e4Smiod	strcmp().
1612*3d8817e4Smiod
1613*3d8817e4Smiod	* hist.c (print_header): merged Fri Oct 21 18:58:02 1994 change by
1614*3d8817e4Smiod	Ken Raeburn <raeburn@cujo.cygnus.com> from binutils-2.5.1.
1615*3d8817e4Smiod
1616*3d8817e4Smiod	* gmon_io.c (gmon_out_read): the output stule STYLE_GMON_INFO is now
1617*3d8817e4Smiod	supported both for old and new (versioned) gmon.out files.  Old
1618*3d8817e4Smiod	files are identified as version 0.
1619*3d8817e4Smiod
1620*3d8817e4Smiod	* gmon.h (struct raw_arc): count field is now sizeof(long) bytes
1621*3d8817e4Smiod	long (instead of 4) because that is what OSF/1 v3.0 uses.
1622*3d8817e4Smiod
1623*3d8817e4Smiod	* core.c: minor fixes and debugging info changes.
1624*3d8817e4Smiod
1625*3d8817e4Smiod	Sun Sep 11 18:47:47 1994  David Mosberger-Tang	(davidm@piston.cs.arizona.edu)
1626*3d8817e4Smiod
1627*3d8817e4Smiod	* core.c (core_init): if .text cannot be found, try $CODE$ (the
1628*3d8817e4Smiod	name of the text-section under HP-UX).
1629*3d8817e4Smiod
1630*3d8817e4Smiod	* hist.c (hist_assign_samples): fixed off-by-one bug: highpc
1631*3d8817e4Smiod	points one past the last sampling bin, so hist_scale should be
1632*3d8817e4Smiod	computed as "hist_scale /= hist_num_bins", not "hist_scale /=
1633*3d8817e4Smiod	hist_num_bins - 1".
1634*3d8817e4Smiod
1635*3d8817e4Smiod	* gmon_io.c, hist.c, hist.h: renamed hist_num_samples to
1636*3d8817e4Smiod	hist_num_bins.
1637*3d8817e4Smiod
1638*3d8817e4Smiod	* configure.in: added alpha-*-*) for per-target config.
1639*3d8817e4Smiod
1640*3d8817e4Smiod	* alpha.c, alpha.h: created.
1641*3d8817e4Smiod
1642*3d8817e4Smiod	* gprof.c (default_excluded_list): <locore>, <hicore> added.
1643*3d8817e4Smiod
1644*3d8817e4Smiod	* core.c (core_create_function_syms, core_create_line_syms):
1645*3d8817e4Smiod	explicitly keep two sentinels "<locore>" and "<hicore>" that catch
1646*3d8817e4Smiod	all addresses outside the text-space.  Thus, sym_lookup(&symtab,
1647*3d8817e4Smiod	addr) continues to guarantee not to return 0 on any address.  It
1648*3d8817e4Smiod	also avoids incorrectly crediting the first/last symbol in the
1649*3d8817e4Smiod	text-space.
1650*3d8817e4Smiod
1651*3d8817e4Smiod	* core.c (core_create_line_syms): always create function symbols
1652*3d8817e4Smiod	first, then merge in line symbols; this is so that if parts of the
1653*3d8817e4Smiod	program were compiled without -g, function-level symbols are
1654*3d8817e4Smiod	available still.
1655*3d8817e4Smiod
1656*3d8817e4Smiod	* utils.c (print_name_only): support for print_path added.
1657*3d8817e4Smiod
1658*3d8817e4Smiod	* symtab.c (cmp_addr): also use is_func flag in comparison.
1659*3d8817e4Smiod	(symtab_finalize): return immediately when table empty; now
1660*3d8817e4Smiod	more careful about getting rid of the right duplicate symbol.
1661*3d8817e4Smiod
1662*3d8817e4Smiod	* sparc.c (find_call): many fixes---this function was rather
1663*3d8817e4Smiod	botched in binutils-2.4 already; it should work again.
1664*3d8817e4Smiod
1665*3d8817e4Smiod	* source.c (source_file_lookup_path): PATH is now strdup'ed (it is
1666*3d8817e4Smiod	not good to rely on get_src_info() to return distinct string
1667*3d8817e4Smiod	pointers).
1668*3d8817e4Smiod
1669*3d8817e4Smiod	* search_list.c (search_list_append): added cast for xmalloc().
1670*3d8817e4Smiod
1671*3d8817e4Smiod	* hist.c: added explicit initialization to some of the global
1672*3d8817e4Smiod	variables; fixed SItab (scales were off by a factor of 10).
1673*3d8817e4Smiod
1674*3d8817e4Smiod	* hist.h: include of bfd.h added.
1675*3d8817e4Smiod
1676*3d8817e4Smiod	* gprof.c, gprof.h (print_path): added.
1677*3d8817e4Smiod
1678*3d8817e4Smiod	* gprof.h (MAX): fixed.
1679*3d8817e4Smiod
1680*3d8817e4Smiod	* gmon_out.h: renamed gmon_time_hist_hdr to gmon_hist_hdr.
1681*3d8817e4Smiod
1682*3d8817e4Smiod	* gmon_io.c: added some casts to (long) so we can always print as %lx
1683*3d8817e4Smiod
1684*3d8817e4Smiod	* core.c (core_get_text_space): fixed to make it work.
1685*3d8817e4Smiod
1686*3d8817e4Smiod	* cg_print.c (cg_print_index): added support for print_path option.
1687*3d8817e4Smiod
1688*3d8817e4Smiod	* cg_dfn.h (cg_dfn): wrap prototype in PARAMS().
1689*3d8817e4Smiod
1690*3d8817e4Smiod	* call_graph.c, gmon_io.c, hist.c: avoid taking address of array
1691*3d8817e4Smiod	as some compilers complain (e.g., DEC's OSF/1 compiler)
1692*3d8817e4Smiod
1693*3d8817e4Smiod	* basic_blocks.c, gmon_io.c, hist.c, source.c, sym_ids.c,
1694*3d8817e4Smiod	symtab.c: calls to memset() had 2nd and 3rd args reversed.
1695*3d8817e4Smiod
1696*3d8817e4Smiod	Sat Sep 10 21:53:13 1994  David Mosberger-Tang	(davidm@piston.cs.arizona.edu)
1697*3d8817e4Smiod
1698*3d8817e4Smiod	* gprof.c: added "_mcount" to default_excluded_list.
1699*3d8817e4Smiod	(main): if output_style==0 and there is either a histogram or a
1700*3d8817e4Smiod	call-graph, always generate flat and call-graph, no matter what
1701*3d8817e4Smiod	line_granularity is set to.
1702*3d8817e4Smiod
1703*3d8817e4Smiod	* source.c (source_file_lookup_name): if searching for sf->name
1704*3d8817e4Smiod	fails, try again with filename obtained after stripping off any
1705*3d8817e4Smiod	partial path from sf->name.
1706*3d8817e4Smiod
1707*3d8817e4Smiod	* gprof.h (SRCDEBUG): added.
1708*3d8817e4Smiod
1709*3d8817e4Smiod	* search_list.c (search_list_append): directories were added in wrong
1710*3d8817e4Smiod	order.
1711*3d8817e4Smiod
1712*3d8817e4Smiod	* reimplemented selection mechanism from ground up; it is now possible
1713*3d8817e4Smiod	to accurately control what gets included/excluded in each of the
1714*3d8817e4Smiod	output styles;	a "symbol-specification" (spec) is the basic means
1715*3d8817e4Smiod	to select a set of symbols; a spec has the syntax:
1716*3d8817e4Smiod
1717*3d8817e4Smiod	  spec == (FILENAME:(FUNCNAME|LINE_NUM) | NAME).
1718*3d8817e4Smiod	  arc == spec/spec.
1719*3d8817e4Smiod
1720*3d8817e4Smiod	any of the terminal symbols can be empty, in which case they
1721*3d8817e4Smiod	match anything (wildcards).  NAME is interpreted as a FILENAME
1722*3d8817e4Smiod	if it contains a dot (e.g., foo.c), as LINE_NUM if it starts
1723*3d8817e4Smiod	with a digit, and as FUNCNAME otherwise.
1724*3d8817e4Smiod
1725*3d8817e4Smiod	For example, to get a call-graph display that ignores arcs
1726*3d8817e4Smiod	from foo() to bar(), you'd say "--no-graph=foo/bar"; to
1727*3d8817e4Smiod	show only arcs into bar() (no matter what the caller),
1728*3d8817e4Smiod	you'd say "--graph=/bar"; and to get a call-graph without
1729*3d8817e4Smiod	any arc info, you'd say "--graph=/";  similarly, to
1730*3d8817e4Smiod	get a flat profile without mcount, you'd say "--no-flat=mcount"
1731*3d8817e4Smiod	and to get a flat profile that shows includes all functions
1732*3d8817e4Smiod	you'd say "--flat=""" (i.e., an empty spec)
1733*3d8817e4Smiod
1734*3d8817e4Smiod	* hist.c (hist_print): top_time wasn't initialized to 0.0.
1735*3d8817e4Smiod
1736*3d8817e4Smiod	Fri Sep	 9 01:10:21 1994  David Mosberger-Tang	(davidm@piston.cs.arizona.edu)
1737*3d8817e4Smiod
1738*3d8817e4Smiod	* gmon_out.h: all headers now declared in terms of characters
1739*3d8817e4Smiod	  to avoid getting into trouble with different compilers introducing
1740*3d8817e4Smiod	  different amount of padding; the code already accessed the fields
1741*3d8817e4Smiod	  through bfd functions, so that didn't have to change.
1742*3d8817e4Smiod
1743*3d8817e4Smiod	* hist.c (hist_read_rec, hist_write_rec): added support for
1744*3d8817e4Smiod	  collection pc histograms measuring quantities other than time;
1745*3d8817e4Smiod	  the histogram header now includes a field that specifies the
1746*3d8817e4Smiod	  dimension of the quantity measured by the histogram bins
1747*3d8817e4Smiod	  (normally, this is "seconds", but other meaningful dimensions
1748*3d8817e4Smiod	   include such things as "I-cache misses", "instruction issue stalls"
1749*3d8817e4Smiod	   etc.); there is also a field to specify a one-character
1750*3d8817e4Smiod	  abbreviation for the dimension; in the case of time, this would
1751*3d8817e4Smiod	  be 's'; in most other cases it probably would be '1' (not a physical
1752*3d8817e4Smiod	  dimension).
1753*3d8817e4Smiod
1754*3d8817e4Smiod	Thu Sep	 8 16:05:08 1994  David Mosberger-Tang	(davidm@piston.cs.arizona.edu)
1755*3d8817e4Smiod
1756*3d8817e4Smiod	* gprof.c, gmon_io.[ch]: BSD_COMPATIBLE is gone and new_file_version
1757*3d8817e4Smiod	  has become old_file_version; gmon_io.c now always supports old-style
1758*3d8817e4Smiod	  gmon.out files; it first tries to read gmon.out as a new version
1759*3d8817e4Smiod	  file, if that fails, it tries to read it in the old format;
1760*3d8817e4Smiod	  although not very likely, it is possible for gprof to mistake an
1761*3d8817e4Smiod	  old-style file as a new one (the first 4 bytes would have to
1762*3d8817e4Smiod	  be "gmon"---including the trailing '\0'); in that case, it is
1763*3d8817e4Smiod	  necessary to specify --old-file-version
1764*3d8817e4Smiod
1765*3d8817e4Smiod	* gprof.h: removed dependency on SYSV; the code now always uses
1766*3d8817e4Smiod	  strrchr(), memset(), and memcpy() and does not include either
1767*3d8817e4Smiod	  of string.h or strings.h; this should make gprof compile on
1768*3d8817e4Smiod	  any (Unix) system without configuration (per suggestion of
1769*3d8817e4Smiod	  raeburn@cygnus.com)
1770*3d8817e4Smiod
1771*3d8817e4Smiod	* gprof.c (usage): fixed location of --new-file-format option.
1772*3d8817e4Smiod
1773*3d8817e4Smiod	* cg_arcs.c (propagate_flags): fixed typo in declaration.
1774*3d8817e4Smiod
1775*3d8817e4Smiod	* flat_bl.m: removed formfeed at end of file; the form-feed
1776*3d8817e4Smiod	  is now printed cg_print.c only when necessary.
1777*3d8817e4Smiod
1778*3d8817e4Smiod	* major rewrite of gprof---too many changes to mention all of
1779*3d8817e4Smiod	  them.	 new features:
1780*3d8817e4Smiod
1781*3d8817e4Smiod	+ -l now requests profiling at the line level (as opposed
1782*3d8817e4Smiod	  to function level); in this mode, gprof creates a "symbol"
1783*3d8817e4Smiod	  (aka name-list entry) for each line of source code, instead
1784*3d8817e4Smiod	   of one per function)
1785*3d8817e4Smiod
1786*3d8817e4Smiod	+ support for a new gmon.out file format; the new format
1787*3d8817e4Smiod	  consists of a header with a magic and a version number,
1788*3d8817e4Smiod	  followed by a sequence of profile data; profile data
1789*3d8817e4Smiod	  can any of: (a) PC histogram, (b) call-graph arcs, or
1790*3d8817e4Smiod	  (c) basic-block execution counts; the version number makes
1791*3d8817e4Smiod	  it possible to extend gmon.out in a backwards compatible
1792*3d8817e4Smiod	  fashion
1793*3d8817e4Smiod
1794*3d8817e4Smiod	+ support for tcov style annotated output: if the gmon.out file
1795*3d8817e4Smiod	  contains basic-block execution counts, the user can request
1796*3d8817e4Smiod	  the generation of annotated source files, much like Sun's
1797*3d8817e4Smiod	  tcov used to do
1798*3d8817e4Smiod
1799*3d8817e4Smiod	+ long options
1800*3d8817e4Smiod
1801*3d8817e4Smiod	+ new scheme to suppress symbols that aren't function names
1802*3d8817e4Smiod	  (e.g., avoids mistaking a goto label as a function)
1803*3d8817e4Smiod
1804*3d8817e4Smiod	+ reorganized source code to make it more managable; as a
1805*3d8817e4Smiod	  side effect, gprof now compiles cleanly with "gcc -Wall"
1806*3d8817e4Smiod
1807*3d8817e4Smiod	Thu Sep	 1 15:46:49 1994  David Mosberger-Tang	(davidm@piston.cs.arizona.edu)
1808*3d8817e4Smiod
1809*3d8817e4Smiod	* gprof.c (funcsymbol): bfd_find_nearest_line() is now used as a
1810*3d8817e4Smiod	final cross-check to determine whether a static symbol should be
1811*3d8817e4Smiod	considered as a function-name.
1812*3d8817e4Smiod
1813*3d8817e4Smiod	Fri Aug	 5 19:32:36 1994  David Mosberger-Tang	(davidm@piston.cs.arizona.edu)
1814*3d8817e4Smiod
1815*3d8817e4Smiod	* gmon_io.c (gmon_out_read): recognize "-" as the filename for
1816*3d8817e4Smiod	stdin; this is useful if you wanna keep gmon.out files compressed;
1817*3d8817e4Smiod	this way you can "gzcat" the compressed file into gprof.
1818*3d8817e4Smiod
1819*3d8817e4Smiod	* gprof.c: flag_min_count now initialized with 1 instead of 0.
1820*3d8817e4Smiod
1821*3d8817e4Smiod	* basic_blocks.c (bb_annotate_source): added support for creating
1822*3d8817e4Smiod	.tcov files when option flag_annotate_make_files is TRUE.
1823*3d8817e4Smiod	(annotate_with_count): all counts less than the minimum count
1824*3d8817e4Smiod	specified by -m are now annotated with hash-marks.
1825*3d8817e4Smiod
1826*3d8817e4Smiod	* gprof.c (main): -A is now followed by a string of option chars.
1827*3d8817e4Smiod
1828*3d8817e4Smiod	* basic_blocks.c (annotate_with_count): replaced b->count with
1829*3d8817e4Smiod	cnt.
1830*3d8817e4Smiod
1831*3d8817e4Smiod	* source.c: flag_annotate_source replaced by source_lock_map.
1832*3d8817e4Smiod
1833*3d8817e4Smiod	* source.h: source_lock_map added.
1834*3d8817e4Smiod
1835*3d8817e4Smiod	* gprof.c (main): new command-line syntax: -S simply specifies
1836*3d8817e4Smiod	which source-files user is interested in; -A requests annotated
1837*3d8817e4Smiod	source files and -AA requests that all lines in a source file
1838*3d8817e4Smiod	are annotated.
1839*3d8817e4Smiod
1840*3d8817e4Smiod	Thu Aug	 4 23:27:03 1994  David Mosberger-Tang	(davidm@piston.cs.arizona.edu)
1841*3d8817e4Smiod
1842*3d8817e4Smiod	* basic_blocks.c (PATH_MAX): if undefined, define as 1024.
1843*3d8817e4Smiod
1844*3d8817e4Smiod	* sparc.c, i386.c, tahoe.c, vax.c: added include of "time_hist.h"
1845*3d8817e4Smiod	so s_lowpc etc. get declared.
1846*3d8817e4Smiod
1847*3d8817e4Smiod	* arcs.h (doarcs): created.
1848*3d8817e4Smiod
1849*3d8817e4Smiod	* arcs.c: reordered static functions such that they get defined
1850*3d8817e4Smiod	before use.
1851*3d8817e4Smiod
1852*3d8817e4Smiod	* gprof.c (main): added options:
1853*3d8817e4Smiod	   -A: request annotation of all source lines (with -S)
1854*3d8817e4Smiod	   -m: minimum execution count (with default basic-block display)
1855*3d8817e4Smiod	   -N: force new file format (only if BSD_COMPATIBLE is defined)
1856*3d8817e4Smiod	   -S: annotate source file
1857*3d8817e4Smiod	   -t: set table length (with -S)
1858*3d8817e4Smiod
1859*3d8817e4Smiod	* Makefile.am (OBJS): added basic_blocks.o call_graph.o gmon_io.o
1860*3d8817e4Smiod	source.o time_hist.o
1861*3d8817e4Smiod
1862*3d8817e4Smiod	Fri Jul	 1 15:23:50 1994  David Mosberger-Tang	(davidm@piston.cs.arizona.edu)
1863*3d8817e4Smiod
1864*3d8817e4Smiod	* gprof.c (asgnsamples): computation of "pcl" and "pch" depended
1865*3d8817e4Smiod	on the fact being able to store a long in a double without loss of
1866*3d8817e4Smiod	precision; this does not hold on machines with 64 bit longs and 64
1867*3d8817e4Smiod	bit doubles.
1868*3d8817e4Smiod
1869*3d8817e4SmiodFri Oct 21 18:58:02 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
1870*3d8817e4Smiod
1871*3d8817e4Smiod	* printgprof.c (flatprofheader): Always set totime to 1.0 if not
1872*3d8817e4Smiod	greater than 0.0.  Suggested by Harold Assink
1873*3d8817e4Smiod	<carlo@sg.tn.tudelft.nl>.
1874*3d8817e4Smiod
1875*3d8817e4SmiodFri Sep 23 15:06:45 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
1876*3d8817e4Smiod
1877*3d8817e4Smiod	* printgprof.c (printprof): Use free, not cfree.
1878*3d8817e4Smiod	(printgprof, printindex): Ditto.
1879*3d8817e4Smiod
1880*3d8817e4SmiodThu Sep  1 10:40:45 1994  Jeff Law  (law@snake.cs.utah.edu)
1881*3d8817e4Smiod
1882*3d8817e4Smiod	* gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
1883*3d8817e4Smiod	decls extern to keep native HP compiler quiet.
1884*3d8817e4Smiod
1885*3d8817e4SmiodTue Aug 30 11:12:13 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1886*3d8817e4Smiod
1887*3d8817e4Smiod	* gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
1888*3d8817e4Smiod	__gnu_compiled, for the benefit of systems which add a leading
1889*3d8817e4Smiod	underscore.
1890*3d8817e4Smiod
1891*3d8817e4SmiodWed Aug 24 12:49:13 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
1892*3d8817e4Smiod
1893*3d8817e4Smiod	* configure.in: Change i386-*-* to i[345]86-*-*.
1894*3d8817e4Smiod
1895*3d8817e4SmiodSun Jul 10 00:35:31 1994  Ian Dall  (dall@hfrd.dsto.gov.au)
1896*3d8817e4Smiod
1897*3d8817e4Smiod	* ns532.c, ns532.h: New Files. ns532 support.
1898*3d8817e4Smiod
1899*3d8817e4Smiod	* config/mt-ns532: New File. ns532 support.
1900*3d8817e4Smiod
1901*3d8817e4Smiod	* gprof.c: user register int i instead of defaulting the int.
1902*3d8817e4Smiod	Allows compilation with -Dregister= for debugging.
1903*3d8817e4Smiod
1904*3d8817e4Smiod	* configure.in: Add ns532 support.
1905*3d8817e4Smiod
1906*3d8817e4SmiodThu Jun 23 11:22:41 1994  Jeff Law  (law@snake.cs.utah.edu)
1907*3d8817e4Smiod
1908*3d8817e4Smiod	* Makefile.in (gprof): Depend on $(LIBS).
1909*3d8817e4Smiod
1910*3d8817e4SmiodFri May 27 12:24:57 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
1911*3d8817e4Smiod
1912*3d8817e4Smiod	From binutils-2.4 release:
1913*3d8817e4Smiod
1914*3d8817e4Smiod	Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
1915*3d8817e4Smiod
1916*3d8817e4Smiod	* configure.bat: [new] build makefile from makefile.in (dos)
1917*3d8817e4Smiod	* hertz.c: allow static HERTZ (msdos needs it)
1918*3d8817e4Smiod	* gprof.c: allow target to select "r" or "rb" for fopen
1919*3d8817e4Smiod	* gprof.c: ignore __gnu_compiled symbols
1920*3d8817e4Smiod	* i386.h: dfine FOPEN_RB to "rb" for dos.
1921*3d8817e4Smiod
1922*3d8817e4SmiodTue May 17 15:30:22 1994  E. Michael Smith (ems@cygnus.com)
1923*3d8817e4Smiod
1924*3d8817e4Smiod	* Makefile.in (.m.c:):  Added .SUFFIXES : .m
1925*3d8817e4Smiod	so flat_bl.c would make from flat_bl.m file.
1926*3d8817e4Smiod
1927*3d8817e4SmiodThu May  5 19:23:24 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
1928*3d8817e4Smiod
1929*3d8817e4Smiod	* Makefile.in (install-info): Check for gprof.info in build dir,
1930*3d8817e4Smiod	fall back to srcdir.  Depend on it.
1931*3d8817e4Smiod
1932*3d8817e4Smiod	* gprof.h (TRUE, FALSE): Always use undef before defining them.
1933*3d8817e4Smiod
1934*3d8817e4SmiodMon Apr  4 23:47:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
1935*3d8817e4Smiod
1936*3d8817e4Smiod	* Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losing
1937*3d8817e4Smiod	makes (osf1) in which the value of MACHINE can not be changed.
1938*3d8817e4Smiod	* config/*.mt: Changed appropriately.
1939*3d8817e4Smiod
1940*3d8817e4SmiodWed Mar 30 16:12:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
1941*3d8817e4Smiod
1942*3d8817e4Smiod	* gprof.c (getsymtab): Change nosyms to long.  Rename
1943*3d8817e4Smiod	get_symtab_upper_bound to bfd_get_symtab_upper_bound.  Check for
1944*3d8817e4Smiod	errors from bfd_get_symtab_upper_bound and
1945*3d8817e4Smiod	bfd_canonicalize_symtab.
1946*3d8817e4Smiod
1947*3d8817e4SmiodTue Mar 22 10:50:52 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
1948*3d8817e4Smiod
1949*3d8817e4Smiod	* gprof.c (funcsymbol): Use bfd_get_symbol_info instead of
1950*3d8817e4Smiod	bfd_decode_symclass.
1951*3d8817e4Smiod
1952*3d8817e4SmiodSun Mar 20 15:40:21 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
1953*3d8817e4Smiod
1954*3d8817e4Smiod	* Makefile.in: Avoid bug in hpux sed.
1955*3d8817e4Smiod
1956*3d8817e4SmiodWed Dec 15 20:16:40 1993  david d `zoo' zuhn  (zoo@andros.cygnus.com)
1957*3d8817e4Smiod
1958*3d8817e4Smiod	* gprof.texi (Invoking): add text about -v flag
1959*3d8817e4Smiod
1960*3d8817e4Smiod	* gprof.1: add text about -v flag
1961*3d8817e4Smiod
1962*3d8817e4SmiodWed Dec  8 16:55:06 1993  david d `zoo' zuhn  (zoo@andros.cygnus.com)
1963*3d8817e4Smiod
1964*3d8817e4Smiod	* gprof.c (VERSION): defined a version macro, print the value
1965*3d8817e4Smiod	when the -v option is used
1966*3d8817e4Smiod
1967*3d8817e4SmiodTue Jul  6 10:11:56 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
1968*3d8817e4Smiod
1969*3d8817e4Smiod	* Makefile.in: Install correctly.
1970*3d8817e4Smiod
1971*3d8817e4SmiodThu Jun 24 14:43:22 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
1972*3d8817e4Smiod
1973*3d8817e4Smiod	* gprof.c (main): Get whoami from argv, instead of hardcoding.
1974*3d8817e4Smiod	Use it in usage message.  Split usage message to fit in 80 cols.
1975*3d8817e4Smiod
1976*3d8817e4SmiodSun Jun 20 20:58:02 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
1977*3d8817e4Smiod
1978*3d8817e4Smiod	* Makefile.in: Undo 15 June change.
1979*3d8817e4Smiod
1980*3d8817e4SmiodWed Jun 16 12:54:53 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
1981*3d8817e4Smiod
1982*3d8817e4Smiod	* gmon.h, gprof.h: structs of chars used to hold external
1983*3d8817e4Smiod	representations.
1984*3d8817e4Smiod	* gprof.c (getpfile, openpfile, readsamples): Swap data in using
1985*3d8817e4Smiod	new structures.
1986*3d8817e4Smiod
1987*3d8817e4SmiodTue Jun 15 23:09:17 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
1988*3d8817e4Smiod
1989*3d8817e4Smiod	* Makefile.in (.c.o): Look in ../include, not ../bfd, for bfd.h.
1990*3d8817e4Smiod
1991*3d8817e4SmiodMon Jun 14 16:22:59 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
1992*3d8817e4Smiod
1993*3d8817e4Smiod	* Makefile.in: remove parentdir support
1994*3d8817e4Smiod
1995*3d8817e4SmiodMon Jun  7 12:56:17 1993  Per Bothner  (bothner@rtl.cygnus.com)
1996*3d8817e4Smiod
1997*3d8817e4Smiod	* Makefile.in (INCLUDES):  Add -I../bfd for sysdep.h and bfd.h.
1998*3d8817e4Smiod	* configure.in:  No longer need to configure to get sysdep.h.
1999*3d8817e4Smiod
2000*3d8817e4SmiodTue May 18 21:44:11 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2001*3d8817e4Smiod
2002*3d8817e4Smiod	* Makefile.in (install): should not depend on install-info
2003*3d8817e4Smiod
2004*3d8817e4SmiodMon Apr 26 12:37:46 1993  Ian Lance Taylor  (ian@cygnus.com)
2005*3d8817e4Smiod
2006*3d8817e4Smiod	* gprof.h: Include ansidecl.h before sysdep.h.  Undefine hz.
2007*3d8817e4Smiod
2008*3d8817e4SmiodTue Apr 13 16:14:03 1993  Per Bothner  (bothner@cygnus.com)
2009*3d8817e4Smiod
2010*3d8817e4Smiod	* Makefile.in:  Add -g to CFLAGS.
2011*3d8817e4Smiod	Ads LDFLAGS and use in place of CFLAGS where appropriate.
2012*3d8817e4Smiod	* configure.in:  Make a sysdep.hlink in the same way other
2013*3d8817e4Smiod	bfd-based directories do.
2014*3d8817e4Smiod	* gprof.h (UNIT):  Replace non-standard 'u_short' by 'unsigned
2015*3d8817e4Smiod	short'.
2016*3d8817e4Smiod	* gprof.h:  #include sysdep.h instead of a bunch of stuff.
2017*3d8817e4Smiod	* gprof.c (main):  Fix typo gproff->gprof.
2018*3d8817e4Smiod
2019*3d8817e4SmiodThu Mar 25 19:00:37 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2020*3d8817e4Smiod
2021*3d8817e4Smiod	* gprof.texi: add INFO-DIR-ENTRY
2022*3d8817e4Smiod
2023*3d8817e4SmiodTue Mar 23 00:03:11 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2024*3d8817e4Smiod
2025*3d8817e4Smiod	* Makefile.in: add installcheck target
2026*3d8817e4Smiod
2027*3d8817e4SmiodSat Feb 27 18:17:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
2028*3d8817e4Smiod
2029*3d8817e4Smiod	* gprof.c (funcsymbol):  Invert test for aflag.
2030*3d8817e4Smiod
2031*3d8817e4SmiodThu Feb 25 16:01:50 1993  Per Bothner  (bothner@rtl.cygnus.com)
2032*3d8817e4Smiod
2033*3d8817e4Smiod	* printgprof (xmalloc, xrealloc):  Cast results of malloc
2034*3d8817e4Smiod	and realloc to PTR.
2035*3d8817e4Smiod
2036*3d8817e4SmiodWed Feb  3 13:55:33 1993  Jeffrey Osier  (jeffrey@fowanton.cygnus.com)
2037*3d8817e4Smiod
2038*3d8817e4Smiod	* Makefile.in: created info, install-info, dvi
2039*3d8817e4Smiod
2040*3d8817e4SmiodWed Jan  6 00:58:09 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2041*3d8817e4Smiod
2042*3d8817e4Smiod	* Makefile.in: fix install rule for $(PROG)
2043*3d8817e4Smiod
2044*3d8817e4SmiodFri Oct  9 11:25:41 1992  Mark Eichin  (eichin@cygnus.com)
2045*3d8817e4Smiod
2046*3d8817e4Smiod	* gprof.1: updated SYNOPSIS to match actual behavior.
2047*3d8817e4Smiod
2048*3d8817e4SmiodMon Oct  5 17:50:16 1992  Per Bothner  (bothner@cygnus.com)
2049*3d8817e4Smiod
2050*3d8817e4Smiod	* gen-c-prog.awk:  New awk script, lightly changed from
2051*3d8817e4Smiod	previously deleted make-c-prog.awk.  Converts a text file
2052*3d8817e4Smiod	to a c function that prints that text.
2053*3d8817e4Smiod	* flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m:  New files.
2054*3d8817e4Smiod	Inputs to gen-c-prog.awk, containing text describing
2055*3d8817e4Smiod	gprof output.
2056*3d8817e4Smiod	* blurbs.c:  Removed.  Use *_bl.c instead.
2057*3d8817e4Smiod	* Makefile.in: Use gen-cprog.awk to generate *_bl.c files
2058*3d8817e4Smiod	from *_bl.m files.  Also, improve *clean rules.
2059*3d8817e4Smiod	* printgprof.c (printgprof):  Usw new function names from *_bl.c.
2060*3d8817e4Smiod
2061*3d8817e4Smiod
2062*3d8817e4SmiodSun Aug 30 19:54:53 1992  Per Bothner  (bothner@rtl.cygnus.com)
2063*3d8817e4Smiod
2064*3d8817e4Smiod	* gprof.h, gprof.c, printfgprof.c:  Add support for two
2065*3d8817e4Smiod	output styles:  The default is similar to the old FSF gprof,
2066*3d8817e4Smiod	while -T sets the variable bsd_style_output, which causes
2067*3d8817e4Smiod	output matching Berkeley's gprof.  The biggest differences
2068*3d8817e4Smiod	are that with the FSF style output, the flat profile comes
2069*3d8817e4Smiod	before the call graph; numbers come before explanations;
2070*3d8817e4Smiod	and there is less gratuitous white space.
2071*3d8817e4Smiod	* gprof.h, gprof.c, printfgprof.c:  New discard_underscores
2072*3d8817e4Smiod	variable causes discarding of initial underscores when
2073*3d8817e4Smiod	printing symbol names.  It is set unless there is a "main"
2074*3d8817e4Smiod	symbol (without an underscore).
2075*3d8817e4Smiod	* printfgprof.c:  New function printnameonly(), called
2076*3d8817e4Smiod	by printname().  It handles stripping of initial '_',
2077*3d8817e4Smiod	as well as C++ name-demangling.
2078*3d8817e4Smiod	* gprof.callg, gprof.flat, make-c-prog.awk:  Removed.
2079*3d8817e4Smiod	It is just as convenient to edit blurbs.c directly.
2080*3d8817e4Smiod	* Makefile.in:  Removed rule for making blurbs.c.
2081*3d8817e4Smiod	* blurbs.c:  This is now a true source file (as opposed
2082*3d8817e4Smiod	to being generated from gprof.callg and gprof.flat).
2083*3d8817e4Smiod	Change style to use one long string literal, instead of
2084*3d8817e4Smiod	one literal per output line.  Add FSF-style blurb for call graph.
2085*3d8817e4Smiod
2086*3d8817e4SmiodWed Aug 19 14:36:39 1992  Ian Lance Taylor  (ian@cygnus.com)
2087*3d8817e4Smiod
2088*3d8817e4Smiod	* Makefile.in: always create installation directories.
2089*3d8817e4Smiod
2090*3d8817e4SmiodWed Aug 12 15:14:14 1992  Mark Eichin  (eichin@cygnus.com)
2091*3d8817e4Smiod
2092*3d8817e4Smiod	* Makefile.in: change ${MACHINE} to $(MACHINE).
2093*3d8817e4Smiod
2094*3d8817e4SmiodSun Jul 19 17:34:01 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2095*3d8817e4Smiod
2096*3d8817e4Smiod	* Makefile.in:  removed installation of the now useless
2097*3d8817e4Smiod	call.{flag,callg} files.
2098*3d8817e4Smiod
2099*3d8817e4Smiod	* gprof.1: now uses the standard man macros instead of the new BSD
2100*3d8817e4Smiod	mandoc macros.
2101*3d8817e4Smiod
2102*3d8817e4SmiodSun Jul 12 19:06:00 1992  John Gilmore  (gnu at cygnus.com)
2103*3d8817e4Smiod
2104*3d8817e4Smiod	* configure.in:  Remove host section, expand target section.
2105*3d8817e4Smiod	* config/mt-{tahoe,vax}:  Add, to match existing support files.
2106*3d8817e4Smiod	* config/tmake-*:  Remove leftover crud.
2107*3d8817e4Smiod
2108*3d8817e4Smiod	* blurbs.c:  New file, created from gprof.flat and gprof.callg by
2109*3d8817e4Smiod	* make-c-prog.awk:  which processes text files into C programs.
2110*3d8817e4Smiod	* printgprof.c (flatprofheader, gprofheader):  Call new functions
2111*3d8817e4Smiod	to print blurbs.
2112*3d8817e4Smiod	(printblurb):  Remove.
2113*3d8817e4Smiod	* Makefile.in:  Infrastructure to build blurbs.
2114*3d8817e4Smiod	* pathnames.h:  has been removed.  Gprof now has no filename
2115*3d8817e4Smiod	dependencies in it.
2116*3d8817e4Smiod	* gprof.c:  Lint.
2117*3d8817e4Smiod
2118*3d8817e4SmiodSat Jul 11 18:07:21 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
2119*3d8817e4Smiod
2120*3d8817e4Smiod	* Makefile.in: define man1dir and install the man page
2121*3d8817e4Smiod
2122*3d8817e4SmiodFri Jul 10 21:14:08 1992  david d `zoo' zuhn (zoo@cygnus.com)
2123*3d8817e4Smiod
2124*3d8817e4Smiod	* Makefile.in: added dummy info and install-info targets
2125*3d8817e4Smiod
2126*3d8817e4SmiodThu Jun  4 11:34:02 1992  Mark Eichin  (eichin at cygnus.com)
2127*3d8817e4Smiod
2128*3d8817e4Smiod	* lookup.c: fixed fencepost in nllookup and added dbg_nllookup for
2129*3d8817e4Smiod	help in debugging the problem (with -DDEBUG)
2130*3d8817e4Smiod	* gprof.c: symbol values are now real values, don't add the vma
2131*3d8817e4Smiod	anymore. (done for solaris; should verify this on other platforms)
2132*3d8817e4Smiod
2133*3d8817e4SmiodLocal Variables:
2134*3d8817e4Smiodmode: change-log
2135*3d8817e4Smiodleft-margin: 8
2136*3d8817e4Smiodfill-column: 74
2137*3d8817e4Smiodversion-control: never
2138*3d8817e4SmiodEnd:
2139