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