OSDN Git Service

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