* gmon_io.h: Don't include sysdep.h here.
[platform/upstream/binutils.git] / gprof / ChangeLog
1 2008-08-25  Alan Modra  <amodra@bigpond.net.au>
2
3         * gmon_io.h: Don't include sysdep.h here.
4         (O_BINARY, SET_BINARY): Don't define here.
5         * gmon_io.c: Include "binary-io.h".
6         (gmon_out_read): Remove #ifdef SET_BINARY.
7         * Makefile.am: Run "make dep-am"
8         * Makefile.in: Regenerate.
9
10 2008-08-24  Alan Modra  <amodra@bigpond.net.au>
11
12         * configure.in: Update a number of obsolete autoconf macros.
13
14 2008-08-15  Alan Modra  <amodra@bigpond.net.au>
15
16         PR 6526
17         * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
18         * Makefile.in: Regenerate.
19         * aclocal.m4: Regenerate.
20         * configure: Regenerate.
21         * gconfig.in: Regenerate.
22
23 2008-08-05  Brian Dessent  <brian@dessent.net>
24
25         * gmon_io.c (gmon_out_read): When reading old format gmon.out,
26         set num_histograms and hist_scale.
27
28 2008-08-04  Alan Modra  <amodra@bigpond.net.au>
29
30         * Makefile.am (POTFILES.in): Set LC_ALL=C.
31         * Makefile.in: Regenerate.
32
33 2008-07-30  Alan Modra  <amodra@bigpond.net.au>
34
35         * corefile.c, symtab.c: Silence gcc warnings.
36
37 2008-06-19  Andreas Schwab  <schwab@suse.de>
38
39         * basic_blocks.c: Always include "gprof.h" first.
40         * cg_arcs.c: Likewise.
41         * cg_dfn.c: Likewise.
42         * cg_print.c: Likewise.
43         * corefile.c: Likewise.
44         * gprof.c: Likewise.
45         * hist.c: Likewise.
46         * search_list.c: Likewise.
47         * sym_ids.c: Likewise.
48         * utils.c: Likewise.
49
50 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
51
52         * configure: Regenerate.
53
54 2008-06-04  Nick Clifton  <nickc@redhat.com>
55
56         * po/nl.po: New file: Dutch translation.
57         * configure.in (ALL_LINGUAS): Add nl.
58         * configure: Regenerate.
59
60 2008-05-14  Alan Modra  <amodra@bigpond.net.au>
61
62         * Makefile.in: Regenerate.
63
64 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
65
66         * aclocal.m4: Regenerate.
67         * configure: Regenerate.
68
69 2008-03-31  Nick Clifton  <nickc@redhat.com>
70
71         * po/fr.po: Updated French translation.
72
73 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
74
75         * aclocal.m4: Regenerate.
76         * configure: Likewise.
77         * Makefile.in: Likewise.
78
79 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
80
81         * configure: Regenerate.
82
83 2008-02-06  Nick Clifton  <nickc@redhat.com>
84
85         * po/ms.po: Updated Malasian translation.
86
87 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
88
89         PR 5715
90         * configure: Regenerated.
91
92 2007-10-24  H.J. Lu  <hongjiu.lu@intel.com>
93
94         * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
95         * configure: Regenerated.
96
97 2007-10-24  Alan Modra  <amodra@bigpond.net.au>
98
99         * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
100         * configure.in: Invoke AC_GNU_SOURCE.
101         * Makefile.in: Regenerate.
102         * configure: Regenerate.
103         * gconfig.in: Regenerate.
104
105 2007-10-12  Michael Haubenwallner  <haubi@gentoo.org>
106
107         PR gprof/5147
108         * configure.in: Add check for fabs() being in libm.
109         * configure: Regenerate.
110
111 2007-09-25  Robert Norton  <rnorton@broadcom.com>
112
113         * cg_print.c (sort_members): Include the final member on the list
114         in the sort.
115
116 2007-09-17  Nick Clifton  <nickc@redhat.com>
117
118         * po/es.po: Updated Spanish translation.
119
120 2007-08-30  Nick Clifton  <nickc@redhat.com>
121
122         * po/fi.po: Updated Finnish translation.
123
124 2007-08-24  Daniel Jacobowitz  <dan@codesourcery.com>
125
126         * po/sv.po: Updated Swedish translation.
127
128 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
129
130         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
131
132 2007-08-12  Matthias Klose  <doko@ubuntu.com>
133
134         * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
135         $(top_srcdir)/../../bfd/doc.
136         * Makefile.in: Regenerate.
137
138 2007-08-12  Daniel Jacobowitz  <dan@codesourcery.com>
139
140         * configure.in (ALL_LINGUAS): Add fi.
141         * po/fi.po: New file.
142         * configure: Regenerated.
143
144 2007-08-10  Nick Clifton  <nickc@redhat.com>
145
146         * po/ga.po: Updated Irish translation.
147         * po/vi.po: Updated Vietnamese translation.
148
149 2007-08-07  Nick Clifton  <nickc@redhat.com>
150
151         * po/de.po: Updated German translation.
152
153 2007-07-12  Nick Clifton  <nickc@redhat.com>
154
155         * po/vi.po: Updated translation.
156
157 2007-07-12  Kai Tietz   <kai.tietz@onevision.com>
158
159         * cg_print.c: Force cast of sizeof to be a long.
160         * hist.c: Likewise.
161
162 2007-07-06  Nick Clifton  <nickc@redhat.com>
163
164         * basic_blocks.c: Update copyright notice to refer to GPLv3.
165         * basic_blocks.h, bbconv.pl, bb_exit_func.c, call_graph.c,
166         call_graph.h, cg_print.c, cg_print.h, corefile.c, corefile.h,
167         flat_bl.m, gmon_io.c, gmon_io.h, gmon_out.h, hist.c, hist.h,
168         search_list.c, search_list.h, source.c, source.h, sym_ids.c,
169         sym_ids.h, symtab.c, symtab.h: Likewise.
170
171 2007-07-05  Tristan Gingold  <gingold@adacore.com>
172
173         * corefile.c (core_sym_class): Do not discard nested subprograms.
174         * Makefile.am (corefile.o): Add dependency upon safe-ctype.h.
175         * Makefile.in: Regenerate.
176
177 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
178
179         * Makefile.am: Run "make dep-am".
180         * Makefile.in: Regenerate.
181         * aclocal.m4: Regenerate.
182         * gconfig.in: Regenerate.
183         * po/gprof.pot: Regenerate.
184
185 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
186
187         * aclocal.m4: Regenerated.
188         * Makefile.in: Likewise.
189
190 2007-06-20  Nick Clifton  <nickc@redhat.com>
191
192         * gprof.texi: Refer readers to the gcov tool if they want
193         line-by-line profiling.
194
195 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
196
197         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
198
199         * acinclude.m4: Removed.
200
201         * Makefile.in: Regenerated.
202         * aclocal.m4: Likewise.
203         * configure: Likewise.
204
205 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
206
207         * Makefile.in: Regnerate.
208         * configure: Regenerate.
209         * aclocal.m4: Regenerate.
210
211 2007-05-24  H.J. Lu  <hongjiu.lu@intel.com>
212
213         * gprof.texi: Remove orphaned "@end ignore".
214
215 2007-05-22  Nick Clifton  <nickc@redhat.com>
216
217         * gprof.texi: Use @copying around the copyright notice.
218
219 2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>
220
221         * hist.c (scale_and_align_entries): Avoid C99 feature.
222
223 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
224
225         * corefile.c (core_create_function_syms, core_create_line_syms): Don't
226         set discard_underscores.
227         * gprof.c (discard_underscores): Delete.
228         * gprof.h (discard_underscores): Delete.
229         * sym_ids.c (match): Use bfd_get_symbol_leading_char to check for
230         leading underscores.
231         * utils.c (print_name_only): Call bfd_demangle rather than
232         cplus_demangle.
233         * Makefile.am: Run "make dep-am".
234         * Makefile.in: Regenerate.
235
236 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
237
238         * Makefile.am: Add ACLOCAL_AMFLAGS.
239         * Makefile.in: Regenerate.
240
241 2007-04-10  Vladimir Prus  <vladimir@codesourcery.com>
242
243         * hist.h (struct histogram)
244         (histograms, num_histograms): New.
245         * hist.c (find_histogram, find_histogram_for_pc)
246         (read_histogram_header): New.
247         (s_lowpc, s_highpc, lowpc, highpc, hist_num_bins)
248         (hist_sample): Remove.
249         (hist_read_rec): Use the above, and handle multiple
250         histogram records with disjoint address ranges.
251         (hist_write_hist): Support several histogram records.
252         (scale_and_align_entries): Adjust for multiple histograms.
253         (hist_assign_samples_1): New.
254         (hist_assign_samples): Use the above.
255         (hist_clip_symbol_address): New.
256         * hist.h (hist_check_address)
257         (hist_clip_symbol_address): Declare.
258         * gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling
259         of legacy format for multiple histogram changes.
260         * corefile.c (find_call): Check for core_text_space and
261         clip symbol address range here.
262         * vax.c (vax_find_call): Don't check for
263         core_text_space, or clip the symbol's address range here.
264         Use hist_check_address to check call's target address.
265         * sparc.c: Likewise.
266         * tahoe.c: Likewise.
267         * i386.c: Likewise.
268         * mips.c: Likewise. Also use core_text_sect->vma as the base
269         address for code accesses, just like other machine-specific
270         routines do.
271         * gprof.texi: Adjust for the new logic.
272
273 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
274             Phil Edwards  <phil@codesourcery.com>
275
276         * gprof.texi: Put the contents after the title page rather
277         than at the end of the document.
278
279 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
280
281         * Makefile.am (TEXI2POD): Include $(AM_MAKEINFOFLAGS).
282         (AM_MAKEINFOFLAGS, TEXI2DVI): Define with -I ../bfd/doc.
283         * Makefile.in: Regenerate.
284         * gprof.texi: Include bfdver.texi.  Report both VERSION_PACKAGE
285         and VERSION.
286
287 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
288
289         * Makefile.am (REPORT_BUGS_TO): Removed.
290         (INCLUDES): Remove -DREPORT_BUGS_TO.
291         * Makefile.in: Regenerated.
292
293         * configure.in (--with-bugurl): Removed.
294         * configure: Regenerated.
295
296 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
297
298         * gprof.c: Include bfdver.h
299         (main): Use BFD_VERSION_STRING for version number and package
300         name.
301         * Makefile.am (PKGVERSION): Remove.
302         (INCLUDES): Update.
303         Regenerate dependencies.
304         * Makefile.in: Regenerate.
305         * configure.in (PKGVERSION): Remove.
306         * configure: Regenerate.
307
308 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
309             Nathan Sidwell  <nathan@codesourcery.com>
310             Vladimir Prus  <vladimir@codesourcery.com>
311             Joseph Myers  <joseph@codesourcery.com>
312
313         * configure.in (--with-pkgversion, --with-bugurl): New options.
314         * configure: Regenerate.
315         * Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define.
316         (INCLUDES): Define PKGVERSION and REPORT_BUGS_TO.
317         Regenerate dependencies.
318         * Makefile.in: Regenerate.
319         * gprof.c (usage): Don't print empty REPORT_BUGS_TO.
320         (main): Include PKGVERSION in version output.
321         * gprof.h: Remove include of bin-bugs.h.
322
323 2007-01-16  Ben Elliston  <bje@au.ibm.com>
324
325         * corefile.c (parse_error): New function.
326         (read_function_mappings): Check calls to fscanf and report any
327         errors in parsing the mapping file.
328
329 2006-12-12  Daniel Jacobowitz  <dan@codesourcery.com>
330
331         * Makefile.am (gprof_TEXINFOS): Set.
332         (gprof.info gprof.dvi gprof.html): Delete rule.
333         * Makefile.in: Regenerated.
334
335 2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
336
337         * configure.in: Define GENINSRC_NEVER.
338         * doc/Makefile.am (gprof.info): Remove srcdir prefix.
339         (MAINTAINERCLEANFILES): Add info file.
340         (DISTCLEANFILES): Pretend to add info file.
341         * po/Make-in (.po.gmo): Put gmo files in objdir.
342         * configure, Makefile.in: Regenerated.
343
344 2006-11-27  Nick Clifton  <nickc@redhat.com>
345
346         * po/ms.po: Updated Malay translation.
347
348 2006-11-22  Nick Clifton  <nickc@redhat.com>
349
350         * configure.in (LINGUAS): Add ms.
351         * po/ms.po: New Malay translation.
352
353 2006-10-17  Bob Wilson  <bob.wilson@acm.org>
354
355         * gprof.c (main): Fix option string for -r and -R.
356
357 2006-10-16  Bob Wilson  <bob.wilson@acm.org>
358
359         * gprof.texi (Analysis Options): Argument for -n/-N is mandatory.
360
361 2006-10-16  Bob Wilson  <bob.wilson@acm.org>
362
363         * gprof.c (main): Fix option string for -C, -n and -N.
364
365 2006-09-26  Thiemo Seufer  <ths@networkno.de>
366
367         * gprof.texi: Fix install failure.
368
369 2006-09-19  Bob Wilson  <bob.wilson@acm.org>
370
371         * gprof.texi: Use TeX-style quotes and em-dashes consistently.
372         Specify section names in cross references.  Fix typos.
373         Omit "next", "previous" and "up" fields from @node lines.
374         (SYNOPSIS): Show map_file argument to --file-ordering.
375         (Compiling): Remove extra, truncated lines from example output.
376         (Cycles): Fix references to "called" field.
377         (Internals): Allow hyphenation between file:function names.
378         (GNU Free Documentation License): Update formatting to match fdl.texi.
379
380 2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
381
382         * gprof.texi: Fix some typos.
383
384 2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
385
386         * po/Make-in (pdf, ps): New dummy targets.
387
388 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
389
390         * po/Make-in (top_builddir): Define.
391
392 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
393
394         * Makefile.in: Regenerate.
395         * gconfig.in: Regenerate.
396
397 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
398
399         * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
400         and LIBINTL_DEP everywhere.
401         (INCLUDES): Use @INCINTL@.
402         * acinclude.m4: Include new gettext macros.
403         * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
404         Remove local code for po/Makefile.
405         * Makefile.in, aclocal.m4, configure: Regenerated.
406
407 2006-05-30  Nick Clifton  <nickc@redhat.com>
408
409         * po/es.po: Updated Spanish translation.
410
411 2006-05-02  James E Wilson  <wilson@specifix.com>
412
413         * gprof.c (main): When setting default output_style, add separate
414         checks for INPUT_HISTOGRAM and INPUT_CALL_GRAPH.
415
416 2006-04-25  Masaki Muranaka  <monaka@monami-software.com>
417
418         PR 2587
419         * Makefile.am: Add empty rule for .m -> .o build in order to work
420         around bug in gmake shipped by Apple.
421         * Makefile.in: Regenerate.
422
423 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
424
425         * configure: Regenerate.
426
427 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
428
429         * po/Make-in: Add install-html target.
430         * Makefile.am: Add install-html, install-html-am and
431         install-html-recursive targets.
432         * Makefile.in: Regenerate.
433         * configure.in: AC_SUBST datarootdir, docdir, htmldir.
434         * configure: Regenerate.
435
436 2006-03-21  Ben Elliston  <bje@au.ibm.com>
437
438         * corefile.c (core_init): Report that the executable is not in the
439         expected executable format rather than "a.out" format.
440
441 2006-03-09  Nick Clifton  <nickc@redhat.com>
442
443         * po/sv.po: Updated Swedish translation.
444
445 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
446
447         * po/Make-in: Add html target.
448
449 For older changes see ChangeLog-2005
450 \f
451 Local Variables:
452 mode: change-log
453 left-margin: 8
454 fill-column: 74
455 version-control: never
456 End: