Cleanups in binutils makefiles.
[binutils.git] / gprof / ChangeLog
blob7a44010fb3b16fd2d6039376a31445c9aaaa1293
1 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         * Makefile.am (AM_CPPFLAGS): Renamed from ...
4         (INCLUDES): ... this.
5         * Makefile.in: Regenerate.
7         * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add 1.11,
8         foreign, no-dist, no-texinfo.tex.
9         (TEXINFO_TEX): New variable.
10         (MKDEP, CLEANFILES): Remove:
11         (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
12         (install-data-local): Remove now-unneeded dependency on
13         install-info.
14         (mkdep section): Remove.
15         * Makefile.in: Regenerate.
17         * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
18         (install-pdf-recursive, html__strip_dir, install-html)
19         (install-html-am, install-html-recursive): Remove.
20         * Makefile.in: Regenerate.
22         * Makefile.in: Regenerate.
23         * aclocal.m4: Likewise.
24         * configure: Likewise.
25         * gconfig.in: Likewise.
27 2009-06-16  Homer Xing  <homer.xing@yahoo.com>
29         * corefile.c (cmp_symbol_map): New function.
30         (read_function_mappins): Use qsort to sort the symbols.
31         (search_mapped_symbol): New function.
32         (core_create_function_syms): Use bsearch to find symbols.
33         * corefile.h (struct function_map): Add new bit-field: is_first.
34         * cg_print.c (cmp_symbol_map): New function.
35         (cg_print_file_ordering): Sort the symbol map.
37 2009-06-15  Homer Xing  <homer.xing@yahoo.com>
39         * corefile.c (core_create_syms_from): Use BFD_VMA_FMT when
40         scanning in an address.
42 2009-06-12  Homer Xing  <homer.xing@yahoo.com>
44         * corefile.c (num_of_syms_in): New function - computes the number
45         of symbols in a given file.
46         (core_create_syms_from): New function - populates a symbol table
47         from the symbols found in a specified file.
48         * corefile.h: Prototype core_create_syms_from.
49         * gprof.c (long_options): Add --external-symbol-table.
50         (usage): Mention it.
51         (main): Initiailize external_symbol_table from
52         --external-symbol-table option.  If set use it.
53         * gprof.texi: Document the new option.
55 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
57         * dep-in.sed: Don't use \n in replacement part of s command.
58         * Makefile.am (DEP1): LC_ALL for uniq.
59         * Makefile.in: Regenerate.
61 2009-05-26  Nick Clifton  <nickc@redhat.com>
63         * po/id.po: Updated Indonesian translation.
64         * po/gprof.pot: Updated template file.
66 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
68         * dep-in.sed: Output one filename per line with all lines having
69         continuation backslash.  Prefix first line with "A", following
70         lines with "B".
71         * Makefile.am (DEP): Don't use dep.sed here.
72         (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
73         sort and uniq.
74         * Makefile.in: Regenerate.
76 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
78         * Makefile.am: Run "make dep-am".
79         * Makefile.in: Regenerate.
81 2009-04-15  Kazu Hirata  <kazu@codesourcery.com>
83         * gprof.h: Include gconfig.h.  #undef PACKAGE.
85 2009-04-09  Philippe Biondi  <phil@secdev.org>
87         * corefile.c (core_create_function_syms): Initialise a symbol's
88         is_func field based on the setting of the BSF_FUNCTION flag.
90 2009-03-06  Nick Clifton  <nickc@redhat.com>
92         * po/es.po: Updated Spanish translation.
94 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
96         * Makefile.am: Run "make dep-am".
97         * Makefile.in: Regenerate.
99 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
101         * configure: Regenerate.
103 2009-02-12  Ken Werner  <ken.werner@de.ibm.com>
105         * corefile.c (core_create_function_syms): Remove "<locore>" and 
106         "<hicore>" sentinels.
107         * gprof.c: Likewise.
108         * cg_print.c (cg_print_function_ordering): Likewise.
109         * alpha.c (alpha_find_call): Add check for return value of sym_lookup.
110         * mips.c (mips_find_call): Likewise.
111         * sparc.c (sparc_find_call): Likewise.
112         * tahoe.c (tahoe_find_call): Likewise.
113         * vax.c (vax_find_call): Likewise.
115 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
117         * configure.in: AC_SUBST pdfdir.
118         * Makefile.am: Add install-pdf, install-pdf-am,
119         and install-pdf-recursive targets. Define pdf__strip_dir.
120         * po/Make-in: Add install-pdf target.
121         * configure: Regenerate.
122         * Makefile.in: Regenerate.
124 2009-01-03  Nick Clifton  <nickc@redhat.com>
126         PR 7099
127         * gprof.texi (Compiling): Mention the need for using
128         -static-libgcc on shared library systems.
130 2009-01-02  Nick Clifton  <nickc@redhat.com>
132         * po/id.po: Updated Indonesian translation.
134 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
136         * configure: Regenerate.
138 2008-11-19  Nick Clifton  <nickc@redhat.com>
140         * fdl.texi: New file.
141         * gprof.texi: Change license to v1.3.
143 2008-09-29  Peter O'Gorman  <pogma@thewrittenword.com>
144             Steve Ellcey  <sje@cup.hp.com>
146         * configure: Regenerate for new libtool.
147         * aclocal.m4: Ditto.
148         * Makefile.in: Ditto.
150 2008-09-29  Nick Clifton  <nickc@redhat.com>
152         * po/vi.po: Updated Vietnamese translation.
154 2008-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
156         * configure.in: Call AC_SYS_LARGEFILE.
157         * gconfig.in: Regenerate.
158         * configure: Regenerate.
160 2008-09-11  Alan Modra  <amodra@bigpond.net.au>
162         * po/ro.po: New file.
164 2008-08-25  Alan Modra  <amodra@bigpond.net.au>
166         * gmon_io.h: Don't include sysdep.h here.
167         (O_BINARY, SET_BINARY): Don't define here.
168         * gmon_io.c: Include "binary-io.h".
169         (gmon_out_read): Remove #ifdef SET_BINARY.
170         * Makefile.am: Run "make dep-am"
171         * Makefile.in: Regenerate.
173 2008-08-24  Alan Modra  <amodra@bigpond.net.au>
175         * configure.in: Update a number of obsolete autoconf macros.
177 2008-08-15  Alan Modra  <amodra@bigpond.net.au>
179         PR 6526
180         * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
181         * Makefile.in: Regenerate.
182         * aclocal.m4: Regenerate.
183         * configure: Regenerate.
184         * gconfig.in: Regenerate.
186 2008-08-05  Brian Dessent  <brian@dessent.net>
188         * gmon_io.c (gmon_out_read): When reading old format gmon.out,
189         set num_histograms and hist_scale.
191 2008-08-04  Alan Modra  <amodra@bigpond.net.au>
193         * Makefile.am (POTFILES.in): Set LC_ALL=C.
194         * Makefile.in: Regenerate.
196 2008-07-30  Alan Modra  <amodra@bigpond.net.au>
198         * corefile.c, symtab.c: Silence gcc warnings.
200 2008-06-19  Andreas Schwab  <schwab@suse.de>
202         * basic_blocks.c: Always include "gprof.h" first.
203         * cg_arcs.c: Likewise.
204         * cg_dfn.c: Likewise.
205         * cg_print.c: Likewise.
206         * corefile.c: Likewise.
207         * gprof.c: Likewise.
208         * hist.c: Likewise.
209         * search_list.c: Likewise.
210         * sym_ids.c: Likewise.
211         * utils.c: Likewise.
213 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
215         * configure: Regenerate.
217 2008-06-04  Nick Clifton  <nickc@redhat.com>
219         * po/nl.po: New file: Dutch translation.
220         * configure.in (ALL_LINGUAS): Add nl.
221         * configure: Regenerate.
223 2008-05-14  Alan Modra  <amodra@bigpond.net.au>
225         * Makefile.in: Regenerate.
227 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
229         * aclocal.m4: Regenerate.
230         * configure: Regenerate.
232 2008-03-31  Nick Clifton  <nickc@redhat.com>
234         * po/fr.po: Updated French translation.
236 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
238         * aclocal.m4: Regenerate.
239         * configure: Likewise.
240         * Makefile.in: Likewise.
242 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
244         * configure: Regenerate.
246 2008-02-06  Nick Clifton  <nickc@redhat.com>
248         * po/ms.po: Updated Malasian translation.
250 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
252         PR 5715
253         * configure: Regenerated.
255 2007-10-24  H.J. Lu  <hongjiu.lu@intel.com>
257         * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
258         * configure: Regenerated.
260 2007-10-24  Alan Modra  <amodra@bigpond.net.au>
262         * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
263         * configure.in: Invoke AC_GNU_SOURCE.
264         * Makefile.in: Regenerate.
265         * configure: Regenerate.
266         * gconfig.in: Regenerate.
268 2007-10-12  Michael Haubenwallner  <haubi@gentoo.org>
270         PR gprof/5147
271         * configure.in: Add check for fabs() being in libm.
272         * configure: Regenerate.
274 2007-09-25  Robert Norton  <rnorton@broadcom.com>
276         * cg_print.c (sort_members): Include the final member on the list
277         in the sort.
279 2007-09-17  Nick Clifton  <nickc@redhat.com>
281         * po/es.po: Updated Spanish translation.
283 2007-08-30  Nick Clifton  <nickc@redhat.com>
285         * po/fi.po: Updated Finnish translation.
287 2007-08-24  Daniel Jacobowitz  <dan@codesourcery.com>
289         * po/sv.po: Updated Swedish translation.
291 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
293         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
295 2007-08-12  Matthias Klose  <doko@ubuntu.com>
297         * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
298         $(top_srcdir)/../../bfd/doc.
299         * Makefile.in: Regenerate.
301 2007-08-12  Daniel Jacobowitz  <dan@codesourcery.com>
303         * configure.in (ALL_LINGUAS): Add fi.
304         * po/fi.po: New file.
305         * configure: Regenerated.
307 2007-08-10  Nick Clifton  <nickc@redhat.com>
309         * po/ga.po: Updated Irish translation.
310         * po/vi.po: Updated Vietnamese translation.
312 2007-08-07  Nick Clifton  <nickc@redhat.com>
314         * po/de.po: Updated German translation.
316 2007-07-12  Nick Clifton  <nickc@redhat.com>
318         * po/vi.po: Updated translation.
320 2007-07-12  Kai Tietz   <kai.tietz@onevision.com>
322         * cg_print.c: Force cast of sizeof to be a long.
323         * hist.c: Likewise.
325 2007-07-06  Nick Clifton  <nickc@redhat.com>
327         * basic_blocks.c: Update copyright notice to refer to GPLv3.
328         * basic_blocks.h, bbconv.pl, bb_exit_func.c, call_graph.c,
329         call_graph.h, cg_print.c, cg_print.h, corefile.c, corefile.h,
330         flat_bl.m, gmon_io.c, gmon_io.h, gmon_out.h, hist.c, hist.h,
331         search_list.c, search_list.h, source.c, source.h, sym_ids.c,
332         sym_ids.h, symtab.c, symtab.h: Likewise.
334 2007-07-05  Tristan Gingold  <gingold@adacore.com>
336         * corefile.c (core_sym_class): Do not discard nested subprograms.
337         * Makefile.am (corefile.o): Add dependency upon safe-ctype.h.
338         * Makefile.in: Regenerate.
340 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
342         * Makefile.am: Run "make dep-am".
343         * Makefile.in: Regenerate.
344         * aclocal.m4: Regenerate.
345         * gconfig.in: Regenerate.
346         * po/gprof.pot: Regenerate.
348 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
350         * aclocal.m4: Regenerated.
351         * Makefile.in: Likewise.
353 2007-06-20  Nick Clifton  <nickc@redhat.com>
355         * gprof.texi: Refer readers to the gcov tool if they want
356         line-by-line profiling.
358 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
360         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
362         * acinclude.m4: Removed.
364         * Makefile.in: Regenerated.
365         * aclocal.m4: Likewise.
366         * configure: Likewise.
368 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
370         * Makefile.in: Regnerate.
371         * configure: Regenerate.
372         * aclocal.m4: Regenerate.
374 2007-05-24  H.J. Lu  <hongjiu.lu@intel.com>
376         * gprof.texi: Remove orphaned "@end ignore".
378 2007-05-22  Nick Clifton  <nickc@redhat.com>
380         * gprof.texi: Use @copying around the copyright notice.
382 2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>
384         * hist.c (scale_and_align_entries): Avoid C99 feature.
386 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
388         * corefile.c (core_create_function_syms, core_create_line_syms): Don't
389         set discard_underscores.
390         * gprof.c (discard_underscores): Delete.
391         * gprof.h (discard_underscores): Delete.
392         * sym_ids.c (match): Use bfd_get_symbol_leading_char to check for
393         leading underscores.
394         * utils.c (print_name_only): Call bfd_demangle rather than
395         cplus_demangle.
396         * Makefile.am: Run "make dep-am".
397         * Makefile.in: Regenerate.
399 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
401         * Makefile.am: Add ACLOCAL_AMFLAGS.
402         * Makefile.in: Regenerate.
404 2007-04-10  Vladimir Prus  <vladimir@codesourcery.com>
406         * hist.h (struct histogram)
407         (histograms, num_histograms): New.
408         * hist.c (find_histogram, find_histogram_for_pc)
409         (read_histogram_header): New.
410         (s_lowpc, s_highpc, lowpc, highpc, hist_num_bins)
411         (hist_sample): Remove.
412         (hist_read_rec): Use the above, and handle multiple
413         histogram records with disjoint address ranges.
414         (hist_write_hist): Support several histogram records.
415         (scale_and_align_entries): Adjust for multiple histograms.
416         (hist_assign_samples_1): New.
417         (hist_assign_samples): Use the above.
418         (hist_clip_symbol_address): New.
419         * hist.h (hist_check_address)
420         (hist_clip_symbol_address): Declare.
421         * gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling
422         of legacy format for multiple histogram changes.
423         * corefile.c (find_call): Check for core_text_space and
424         clip symbol address range here.
425         * vax.c (vax_find_call): Don't check for
426         core_text_space, or clip the symbol's address range here.
427         Use hist_check_address to check call's target address.
428         * sparc.c: Likewise.
429         * tahoe.c: Likewise.
430         * i386.c: Likewise.
431         * mips.c: Likewise. Also use core_text_sect->vma as the base
432         address for code accesses, just like other machine-specific
433         routines do.
434         * gprof.texi: Adjust for the new logic.
436 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
437             Phil Edwards  <phil@codesourcery.com>
439         * gprof.texi: Put the contents after the title page rather
440         than at the end of the document.
442 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
444         * Makefile.am (TEXI2POD): Include $(AM_MAKEINFOFLAGS).
445         (AM_MAKEINFOFLAGS, TEXI2DVI): Define with -I ../bfd/doc.
446         * Makefile.in: Regenerate.
447         * gprof.texi: Include bfdver.texi.  Report both VERSION_PACKAGE
448         and VERSION.
450 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
452         * Makefile.am (REPORT_BUGS_TO): Removed.
453         (INCLUDES): Remove -DREPORT_BUGS_TO.
454         * Makefile.in: Regenerated.
456         * configure.in (--with-bugurl): Removed.
457         * configure: Regenerated.
459 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
461         * gprof.c: Include bfdver.h
462         (main): Use BFD_VERSION_STRING for version number and package
463         name.
464         * Makefile.am (PKGVERSION): Remove.
465         (INCLUDES): Update.
466         Regenerate dependencies.
467         * Makefile.in: Regenerate.
468         * configure.in (PKGVERSION): Remove.
469         * configure: Regenerate.
471 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
472             Nathan Sidwell  <nathan@codesourcery.com>
473             Vladimir Prus  <vladimir@codesourcery.com>
474             Joseph Myers  <joseph@codesourcery.com>
476         * configure.in (--with-pkgversion, --with-bugurl): New options.
477         * configure: Regenerate.
478         * Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define.
479         (INCLUDES): Define PKGVERSION and REPORT_BUGS_TO.
480         Regenerate dependencies.
481         * Makefile.in: Regenerate.
482         * gprof.c (usage): Don't print empty REPORT_BUGS_TO.
483         (main): Include PKGVERSION in version output.
484         * gprof.h: Remove include of bin-bugs.h.
486 2007-01-16  Ben Elliston  <bje@au.ibm.com>
488         * corefile.c (parse_error): New function.
489         (read_function_mappings): Check calls to fscanf and report any
490         errors in parsing the mapping file.
492 2006-12-12  Daniel Jacobowitz  <dan@codesourcery.com>
494         * Makefile.am (gprof_TEXINFOS): Set.
495         (gprof.info gprof.dvi gprof.html): Delete rule.
496         * Makefile.in: Regenerated.
498 2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
500         * configure.in: Define GENINSRC_NEVER.
501         * doc/Makefile.am (gprof.info): Remove srcdir prefix.
502         (MAINTAINERCLEANFILES): Add info file.
503         (DISTCLEANFILES): Pretend to add info file.
504         * po/Make-in (.po.gmo): Put gmo files in objdir.
505         * configure, Makefile.in: Regenerated.
507 2006-11-27  Nick Clifton  <nickc@redhat.com>
509         * po/ms.po: Updated Malay translation.
511 2006-11-22  Nick Clifton  <nickc@redhat.com>
513         * configure.in (LINGUAS): Add ms.
514         * po/ms.po: New Malay translation.
516 2006-10-17  Bob Wilson  <bob.wilson@acm.org>
518         * gprof.c (main): Fix option string for -r and -R.
520 2006-10-16  Bob Wilson  <bob.wilson@acm.org>
522         * gprof.texi (Analysis Options): Argument for -n/-N is mandatory.
524 2006-10-16  Bob Wilson  <bob.wilson@acm.org>
526         * gprof.c (main): Fix option string for -C, -n and -N.
528 2006-09-26  Thiemo Seufer  <ths@networkno.de>
530         * gprof.texi: Fix install failure.
532 2006-09-19  Bob Wilson  <bob.wilson@acm.org>
534         * gprof.texi: Use TeX-style quotes and em-dashes consistently.
535         Specify section names in cross references.  Fix typos.
536         Omit "next", "previous" and "up" fields from @node lines.
537         (SYNOPSIS): Show map_file argument to --file-ordering.
538         (Compiling): Remove extra, truncated lines from example output.
539         (Cycles): Fix references to "called" field.
540         (Internals): Allow hyphenation between file:function names.
541         (GNU Free Documentation License): Update formatting to match fdl.texi.
543 2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
545         * gprof.texi: Fix some typos.
547 2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
549         * po/Make-in (pdf, ps): New dummy targets.
551 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
553         * po/Make-in (top_builddir): Define.
555 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
557         * Makefile.in: Regenerate.
558         * gconfig.in: Regenerate.
560 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
562         * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
563         and LIBINTL_DEP everywhere.
564         (INCLUDES): Use @INCINTL@.
565         * acinclude.m4: Include new gettext macros.
566         * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
567         Remove local code for po/Makefile.
568         * Makefile.in, aclocal.m4, configure: Regenerated.
570 2006-05-30  Nick Clifton  <nickc@redhat.com>
572         * po/es.po: Updated Spanish translation.
574 2006-05-02  James E Wilson  <wilson@specifix.com>
576         * gprof.c (main): When setting default output_style, add separate
577         checks for INPUT_HISTOGRAM and INPUT_CALL_GRAPH.
579 2006-04-25  Masaki Muranaka  <monaka@monami-software.com>
581         PR 2587
582         * Makefile.am: Add empty rule for .m -> .o build in order to work
583         around bug in gmake shipped by Apple.
584         * Makefile.in: Regenerate.
586 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
588         * configure: Regenerate.
590 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
592         * po/Make-in: Add install-html target.
593         * Makefile.am: Add install-html, install-html-am and
594         install-html-recursive targets.
595         * Makefile.in: Regenerate.
596         * configure.in: AC_SUBST datarootdir, docdir, htmldir.
597         * configure: Regenerate.
599 2006-03-21  Ben Elliston  <bje@au.ibm.com>
601         * corefile.c (core_init): Report that the executable is not in the
602         expected executable format rather than "a.out" format.
604 2006-03-09  Nick Clifton  <nickc@redhat.com>
606         * po/sv.po: Updated Swedish translation.
608 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
610         * po/Make-in: Add html target.
612 For older changes see ChangeLog-2005
614 Local Variables:
615 mode: change-log
616 left-margin: 8
617 fill-column: 74
618 version-control: never
619 End: