merge from gcc
[binutils-gdb.git] / libiberty / ChangeLog
index 4bd5b209bf3634b7716292bd4a142347cf08aa66..1ceb0ee27876225acb99d41a2ce9d2b9486f3bd0 100644 (file)
@@ -1,3 +1,175 @@
+2011-07-26  Ian Lance Taylor  <iant@google.com>
+
+       * cp-demangle.c (d_print_init): Initialize pack_index field.
+       (d_print_comp): Check for NULL template argument.
+       * testsuite/demangle-expected: Add test case.
+
+2011-07-22  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       PR target/49817
+       * stack-limit.c: Include <stdint.h>.
+
+2011-07-22  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/49756
+       * stack-limit.c: New file.
+       * Makefile.in: Regenerate deps.
+       (CFILES): Add stack-limit.c.
+       (REQUIRED_OFILES): Add ./stack-limit.$(objext).
+       * configure.ac (checkfuncs): Add getrlimit and setrlimit.
+       (AC_CHECK_FUNCS): Likewise.
+       * configure: Regenerated.
+       * config.in: Regenerated.
+
+2011-07-04  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_expression): Handle 'this'.
+       (d_print_comp) [DEMANGLE_COMPONENT_FUNCTION_PARAM]: Likewise.
+
+2011-07-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * filename_cmp.c (filename_cmp, filename_ncmp): Add handling of
+       HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
+
+2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR debug/49408
+       * cp-demangle.c (d_print_comp): Suppress argument list for function
+       references by the '&' unary operator.  Keep also already processed
+       variant without the argument list.  Suppress argument list types for
+       function call used in an expression.
+       * testsuite/demangle-expected: Fix excessive argument list types in
+       `test for typed function in decltype'.  New testcase for no argument
+       list types printed.  3 new testcases for function references by the
+       '&' unary operator..
+
+2011-06-20  Jason Merrill  <jason@redhat.com>
+
+       PR c++/37089
+       * cp-demangle.c (d_print_comp): Handle reference smashing.
+       * testsuite/demangle-expected: Test it.
+
+2011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>:
+       Suppress d_print_mod for DMGL_RET_POSTFIX.
+       * testsuite/demangle-expected: New testcases for --ret-postfix.
+
+2011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do
+       not pass DMGL_RET_POSTFIX or DMGL_RET_DROP.  Support DMGL_RET_DROP.
+       * testsuite/demangle-expected: New testcases for --ret-drop.
+       * testsuite/test-demangle.c: Document --ret-drop in a comment.
+       (main): New variable ret_drop, fill it, call cplus_demangle with it.
+
+2011-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * cp-demangle.c (struct d_print_info): Remove field options.
+       (d_print_init): Remove parameter options.
+       (cplus_demangle_print_callback): Update all the callers.
+       (d_print_comp, d_print_mod_list, d_print_mod, d_print_function_type)
+       (d_print_array_type, d_print_expr_op, d_print_cast, d_print_subexpr):
+       Add parameter options, update all the callers.
+
+2011-04-20  Jim Meyering  <meyering@redhat.com>
+
+       * cp-demint.c (cplus_demangle_v3_components): Remove useless
+       if-before-free.
+       * cplus-dem.c (squangle_mop_up): Likewise.
+       (delete_non_B_K_work_stuff): Likewise.
+       * pex-common.c (pex_free): Likewise.
+       * pex-msdos.c (pex_msdos_cleanup): Likewise.
+       * pex-win32.c (mingw_rootify, msys_rootify): Likewise.
+       (win32_spawn): Likewise.
+       * regex.c (FREE_VAR, weak_alias): Likewise.
+       * spaces.c (spaces): Likewise.
+
+2011-04-10  Jim Meyering  <meyering@redhat.com>
+
+       Avoid memory overrun in a test leading to potential double-free.
+       * testsuite/test-expandargv.c (writeout_test): Fix off-by-one error:
+       i.e., do copy the trailing NUL byte.
+
+2011-03-31  Tristan Gingold  <gingold@adacore.com>
+
+       * makefile.vms (OBJS): Add filename_cmp.obj
+
+2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
+
+       * filename_cmp.c (filename_ncmp): New function.
+       * functions.texi: Regenerated.
+
+2011-02-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * splay-tree.c: Escape wrapping newlines in texinfo markup
+       with '@', to fix function declaration output rendering.
+       * gather-docs: Relax and improve macro name matching to actually
+       match all current names and to allow input line wrapping.
+       * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
+       hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
+       memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
+       pexecute.txh, random.c, setenv.c, setproctitle.c,
+       simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
+       strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
+       Wrap long texinfo input lines.
+       * functions.texi: Regenerate.
+
+2011-01-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * .gitignore: New file.
+
+2010-12-08  Doug Evans  <dje@google.com>
+
+       * splay-tree.c (splay_tree_foreach_helper): Remove arg `sp',
+       all callers updated.  Rewrite to be non-recursive.
+
+2010-11-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
+
+2010-11-20  Anthony Green  <green@moxielogic.com>
+
+       * configure.ac: Turn PR_SET_NAME link test into a test for
+       sys/prctl.h.
+       * configure, config.in: Rebuilt.
+       * setproctitle.c: Test for HAVE_SYS_PRCTL_H.
+       (setproctitle) Test for PR_SET_NAME definition.
+
+2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/46202
+       * Makefile.in (install-strip): New phony target.
+       (install): Also mark as phony.
+
+2010-11-16  Ian Lance Taylor  <iant@google.com>
+
+       * simple-object.c (simple_object_attributes_merge): Rename from
+       simple_object_attributes_compare.  Call merge field.
+       * simple-object-common.h (struct simple_object_functions): Rename
+       attributes_compare field to attribute_merge.
+       * simple-object-elf.c (EM_SPARC): Define.
+       (EM_SPARC32PLUS): Define.
+       (simple_object_elf_attributes_merge): Renamed from
+       simple_object_elf_attributes_compare.  Permit EM_SPARC and
+       EM_SPARC32PLUS objects to be merged.
+       (simple_object_elf_functions): Update function name.
+       * simple-object-coff.c (simple_object_coff_attributes_merge):
+       Rename from simple_object_coff_attributes_compare.
+       (simple_object_coff_functions): Update function name.
+       * simple-object-mach-o.c (simple_object_mach_o_attributes_merge):
+       Renamed from simple_object_mach_o_attributes_compare.
+       (simple_object_mach_o_functions): Update function name.
+
+2010-11-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR other/42670
+       PR binutils/11137
+       * cp-demangle.c (d_make_demangle_mangled_name): New.
+       (d_demangle_callback): Use it on DCT_GLOBAL_XTORS.
+
+       * testsuite/demangle-expected: Updated.
+
 2010-11-14  Kai Tietz  <kai.tietz@onevision.com>
 
        * simple-object-coff.c (simple_object_coff_read_strtab): Fix reading