Fix an illegal memorty access when running gprof over corrupt data.
[binutils-gdb.git] / gprof / ChangeLog
index e9ae218f45b24b850eb2379312749e665dffda13..33a95f272fa2de9bdd377ffd150f1fe894b58182 100644 (file)
-2009-11-30  Joseph Myers  <joseph@codesourcery.com>
+2023-04-11  Nick Clifton  <nickc@redhat.com>
 
-       * configure: Regenerate.
-
-2009-11-17  Nick Clifton  <nickc@redhat.com>
-
-       * po/bg.po: New Bulgarian translation.
-       * configure.in (ALL_LINGUAS): Add bg.po.
-       * configure: Regenerate.
+       PR 30324
+       * symtab.c (symtab_finalize): Only change the end address if dst
+       has been updated.
 
-2009-11-11  Nick Clifton  <nickc@redhat.com>
+2023-02-20  Nick Clifton  <nickc@redhat.com>
 
-       * po/id.po: Updated Indonesian translation.
+       * po/ms.po: Updated Malayasian translation.
 
-2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+2023-01-09  Nick Clifton  <nickc@redhat.com>
 
-       * configure.in: Call ACX_LARGEFILE.  Stop calling AC_SYS_LARGEFILE.
-       * aclocal.m4: Regenerate.
-       * configure: Regenerate.
+       * po/eo.po: Updated Esperanto translation.
 
-2009-09-25  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
+2023-01-05  Nick Clifton  <nickc@redhat.com>
 
-       PR 10656
-       * hist.h: Move declaration of histograms and num_histograms
-       variables from here to...
-       * hist.c: ...here.
+       * po/bg.po: Updated Bulgarian translation.
+       * po/ru.po: Updated Russian translation.
 
-2009-09-23  Nick Clifton  <nickc@redhat.com>
+2023-01-03  Nick Clifton  <nickc@redhat.com>
 
-       * po/vi.po: Updated Vietnamese translation.
+       * po/de.po: Updated German translation.
+       * po/ro.po: Updated Romainian translation.
+       * po/sv.po: Updated Swedish translation.
+       * po/uk.po: Updated Ukrainian translation.
 
-2009-09-18  Nick Clifton  <nickc@redhat.com>
+2022-12-31  Nick Clifton  <nickc@redhat.com>
 
-       * po/es.po: Updated Spanish translation.
-       * po/fi.po: Updated Finnish translation.
+       * 2.40 branch created.
 
-2009-09-14  Nick Clifton  <nickc@redhat.com>
+2022-10-21  Nick Clifton  <nickc@redhat.com>
 
-       * po/de.po: Updated German translation.
-       * po/nl.po: Update Dutch translation.
+       * po/hu.po: Updated Hungarian translation.
 
-2009-09-11  Nick Clifton  <nickc@redhat.com>
+2022-09-29  Nick Clifton  <nickc@redhat.com>
 
-       * po/gprof.pot: Updated by the Translation project.
-       * po/sv.po: Updated Swedish translation.
+       PR 29627
+       * gprof.c (usage): Add -B.
+       * gprof.texi (synopsis): Add -B.
+       (Output Options): Add entry for -B.
 
-2009-09-11  Martin Thuresson  <martint@google.com>
+2022-07-08  Nick Clifton  <nickc@redhat.com>
 
-       Updated sources to compile cleanly with -Wc++-compat:
-       * basic_blocks.c: Add casts.
-       * cg_dfn.c: Add cast.
-       * corefile.c: Add casts.
-       * gmon_io.c: Add casts.
-       * hist.c: Add cast.
-       * source.c: Add cast.
-       * sym_ids.c (struct match): Moved to top level.
+       * 2.39 branch created.
 
-2009-09-07  Tristan Gingold  <gingold@adacore.com>
+2022-03-16  Nick Clifton  <nickc@redhat.com>
 
-       * po/gprof.pot: Regenerate.
+       * po/ru.po: Updated Russian translation.
 
-2009-09-05  Martin Thuresson  <martin@mtme.org>
+2022-01-24  Nick Clifton  <nickc@redhat.com>
 
-       * corefile.c (core_create_function_syms): Rename variable
-       class to cxxclass.
+       * po/ro.po: Updated Romanian translation.
 
-2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+2022-01-22  Nick Clifton  <nickc@redhat.com>
 
-       * Makefile.am (AM_CPPFLAGS): Renamed from ...
-       (INCLUDES): ... this.
+       * configure: Regenerate.
        * Makefile.in: Regenerate.
+       * po/gprof.pot: Regenerate.
 
-       * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add 1.11,
-       foreign, no-dist, no-texinfo.tex.
-       (TEXINFO_TEX): New variable.
-       (MKDEP, CLEANFILES): Remove:
-       (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
-       (install-data-local): Remove now-unneeded dependency on
-       install-info.
-       (mkdep section): Remove.
-       * Makefile.in: Regenerate.
+2022-01-22  Nick Clifton  <nickc@redhat.com>
 
-       * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
-       (install-pdf-recursive, html__strip_dir, install-html)
-       (install-html-am, install-html-recursive): Remove.
-       * Makefile.in: Regenerate.
+       * 2.38 release branch created.
 
-       * Makefile.in: Regenerate.
-       * aclocal.m4: Likewise.
-       * configure: Likewise.
-       * gconfig.in: Likewise.
+2021-09-27  Nick Alcock  <nick.alcock@oracle.com>
 
-2009-06-16  Homer Xing  <homer.xing@yahoo.com>
+       * configure: Regenerate.
+
+2021-07-03  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * corefile.c (cmp_symbol_map): New function.
-       (read_function_mappins): Use qsort to sort the symbols.
-       (search_mapped_symbol): New function.
-       (core_create_function_syms): Use bsearch to find symbols.
-       * corefile.h (struct function_map): Add new bit-field: is_first.
-       * cg_print.c (cmp_symbol_map): New function.
-       (cg_print_file_ordering): Sort the symbol map.
+       * configure: Regenerated.
 
-2009-06-15  Homer Xing  <homer.xing@yahoo.com>
+2021-07-03  Nick Clifton  <nickc@redhat.com>
 
-       * corefile.c (core_create_syms_from): Use BFD_VMA_FMT when
-       scanning in an address.
+       * 2.37 release branch created.
 
-2009-06-12  Homer Xing  <homer.xing@yahoo.com>
+2021-06-03   Ben Asselstine  <benasselstine@gmail.com>
 
-       * corefile.c (num_of_syms_in): New function - computes the number
-       of symbols in a given file.
-       (core_create_syms_from): New function - populates a symbol table
-       from the symbols found in a specified file.
-       * corefile.h: Prototype core_create_syms_from.
-       * gprof.c (long_options): Add --external-symbol-table.
-       (usage): Mention it.
-       (main): Initiailize external_symbol_table from
-       --external-symbol-table option.  If set use it.
-       * gprof.texi: Document the new option.
+       PR 4283
+       * gprof.texi (Executing): Note GMON_OUT_PREFIX environment variable.
 
-2009-06-04  Alan Modra  <amodra@bigpond.net.au>
+2021-05-08  Mike Frysinger  <vapier@gentoo.org>
 
-       * dep-in.sed: Don't use \n in replacement part of s command.
-       * Makefile.am (DEP1): LC_ALL for uniq.
+       * Makefile.am (html-local, doc/gprof/index.html): New targets.
        * Makefile.in: Regenerate.
 
-2009-05-26  Nick Clifton  <nickc@redhat.com>
+2021-05-08  Mike Frysinger  <vapier@gentoo.org>
 
-       * po/id.po: Updated Indonesian translation.
-       * po/gprof.pot: Updated template file.
+       * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
+       * Makefile.in: Regenerate.
 
-2009-05-26  Alan Modra  <amodra@bigpond.net.au>
+2021-04-14  Alan Modra  <amodra@gmail.com>
 
-       * dep-in.sed: Output one filename per line with all lines having
-       continuation backslash.  Prefix first line with "A", following
-       lines with "B".
-       * Makefile.am (DEP): Don't use dep.sed here.
-       (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
-       sort and uniq.
-       * Makefile.in: Regenerate.
+       PR 27716
+       * gprof.h (PATH_MAX): Don't define.
+       * corefile.c (core_create_line_syms): Don't use PATH_MAX for initial
+       file name size.
+       * source.c (annotate_source): Malloc file name buffer.  Always
+       trim off "-ann" when dos 8.3 annotate file matches original.
+       * utils.c (print_name_only): Malloc file name buffer.
 
-2009-05-22  Alan Modra  <amodra@bigpond.net.au>
+2021-04-05  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac: Check for sys/time.h and setitimer.  Don't invoke
+       AC_ISC_POSIX.  Don't check for setmode.
+       * gprof.c: Don't test HAVE_SETLOCALE.
+       * gprof.h: Include sys/time.h.
+       * configure: Regenerate.
+       * gconfig.in: Regenerate.
+
+2021-03-31  Alan Modra  <amodra@gmail.com>
+
+       * basic_blocks.c: Replace bfd_boolean with bool, FALSE with false,
+       and TRUE with true throughout.
+       * basic_blocks.h: Likewise.
+       * cg_arcs.c: Likewise.
+       * cg_dfn.c: Likewise.
+       * cg_print.c: Likewise.
+       * corefile.c: Likewise.
+       * gmon_io.c: Likewise.
+       * gprof.c: Likewise.
+       * gprof.h: Likewise.
+       * hist.c: Likewise.
+       * mips.c: Likewise.
+       * source.c: Likewise.
+       * source.h: Likewise.
+       * sym_ids.c: Likewise.
+       * sym_ids.h: Likewise.
+       * symtab.h: Likewise.
+       * vax.c: Likewise.
+
+2021-01-13  Alan Modra  <amodra@gmail.com>
 
-       * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerate.
 
-2009-04-15  Kazu Hirata  <kazu@codesourcery.com>
+2021-01-12  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * gprof.h: Include gconfig.h.  #undef PACKAGE.
+       PR binutils/26792
+       * configure.ac: Use GNU_MAKE_JOBSERVER.
+       * aclocal.m4: Regenerated.
+       * configure: Likewise.
 
-2009-04-09  Philippe Biondi  <phil@secdev.org>
+2021-01-11  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * corefile.c (core_create_function_syms): Initialise a symbol's
-       is_func field based on the setting of the BSF_FUNCTION flag.
+       PR ld/27173
+       * configure: Regenerated.
 
-2009-03-06  Nick Clifton  <nickc@redhat.com>
+2021-01-09  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * po/es.po: Updated Spanish translation.
+       * configure: Regenerated.
 
-2009-03-03  Alan Modra  <amodra@bigpond.net.au>
+2021-01-09  Nick Clifton  <nickc@redhat.com>
 
-       * Makefile.am: Run "make dep-am".
-       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * po/gprof.pot: Regenerate.
 
-2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+2021-01-09  Nick Clifton  <nickc@redhat.com>
 
-       * configure: Regenerate.
+       * 2.36 release branch crated.
 
-2009-02-12  Ken Werner  <ken.werner@de.ibm.com>
+2021-01-09  Alan Modra  <amodra@gmail.com>
 
-        * corefile.c (core_create_function_syms): Remove "<locore>" and 
-        "<hicore>" sentinels.
-        * gprof.c: Likewise.
-        * cg_print.c (cg_print_function_ordering): Likewise.
-        * alpha.c (alpha_find_call): Add check for return value of sym_lookup.
-        * mips.c (mips_find_call): Likewise.
-        * sparc.c (sparc_find_call): Likewise.
-        * tahoe.c (tahoe_find_call): Likewise.
-        * vax.c (vax_find_call): Likewise.
+       * configure: Regenerate.
 
-2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
+2021-01-07  Samuel Thibault  <samuel.thibault@gnu.org>
 
-       * configure.in: AC_SUBST pdfdir.
-       * Makefile.am: Add install-pdf, install-pdf-am,
-       and install-pdf-recursive targets. Define pdf__strip_dir.
-       * po/Make-in: Add install-pdf target.
        * configure: Regenerate.
-       * Makefile.in: Regenerate.
 
-2009-01-03  Nick Clifton  <nickc@redhat.com>
+2021-01-01  Nicolas Boulenguez  <nicolas@debian.org>
 
-       PR 7099
-       * gprof.texi (Compiling): Mention the need for using
-       -static-libgcc on shared library systems.
+       * README: Correct grammar.
+       * gprof.texi: Likewise.
 
-2009-01-02  Nick Clifton  <nickc@redhat.com>
+2021-01-01  Alan Modra  <amodra@gmail.com>
 
-       * po/id.po: Updated Indonesian translation.
+       Update year range in copyright notice of all files.
 
-For older changes see ChangeLog-2008
+For older changes see ChangeLog-2020
 \f
+Copyright (C) 2021-2023 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
 Local Variables:
 mode: change-log
 left-margin: 8