OSDN Git Service

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