merge from gcc
[external/binutils.git] / libiberty / ChangeLog
index b536611..4479c77 100644 (file)
@@ -1,3 +1,180 @@
+2013-01-04  Ian Lance Taylor  <iant@google.com>
+
+       PR other/54800
+       * simple-object-mach-o.c (simple_object_mach_o_segment): Don't
+       bother to zero out a buffer we are about to set anyhow.
+
+2013-01-01  David Edelsohn  <dje.gcc@gmail.com>
+
+       * simple-object-xcoff.c: New file.
+       * Makefile.in: Add it to build machinery.
+       * simple-object-common.h (simple_object_xcoff_functions): Declare.
+       * simple-object.c (format_functions): Add
+       simple_object_xcoff_functions.
+
+2012-11-10  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_unqualified_name): Handle abi tags here.
+       (d_name): Not here.
+
+2012-11-09  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME.
+       (d_make_comp, d_find_pack, d_print_comp): Likewise.
+       (d_abi_tags): New.
+       (d_name): Call it.
+
+2012-10-08  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_special_name, d_dump): Handle TH and TW.
+       (d_make_comp, d_print_comp): Likewise.
+
+2012-09-18  Ian Lance Taylor  <iant@google.com>
+
+       * strnlen.c: New file.
+       * configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not
+       present.
+       * Makefile.in: Rebuild dependencies.
+       (CFILES): Add strnlen.c.
+       (CONFIGURED_OFILES): Add ./strnlen.$(objext).
+       * configure, config.in, functions.texi: Rebuild.
+
+       * maint-tool: Accept .def files in the include directory.
+
+2012-09-18  Florian Weimer  <fweimer@redhat.com>
+
+       PR other/54411
+       * objalloc.c (_objalloc_alloc): Add overflow check covering
+       alignment and CHUNK_HEADER_SIZE addition.
+
+2011-08-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * argv.c (dupargv): Replace malloc with xmalloc.  Don't check
+       xmalloc return.
+       (buildargv): Likewise.  Also replace strdup with xstrdup.
+       (expandargv): Don't check dupargv return.
+
+2011-08-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/14526
+       * argv.c (buildargv): Replace alloca with xmalloc/free.
+
+2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * floatformat.c (floatformat_to_double): Correctly handle numbers
+       between 1 and 2.  Simplify handling of denormal number.
+       (main): Test with 1.1.
+
+2012-07-31  Mike Frysinger  <vapier@gentoo.org>
+
+       * md5.c (md5_finish_ctx): Declare swap_bytes.  Assign SWAP() output
+       to swap_bytes, and then call memcpy to move it to ctx->buffer.
+
+2012-07-26  Kazu Hirata  <kazu@codesourcery.com>
+           Sandra Loosemore  <sandra@codesourcery.com>
+
+       * pex-win32.c (pex_win32_exec_child): Only close original file
+       descriptors if child is launched successfully.
+
+2012-07-18  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (cplus_demangle_operators): Add *_cast.
+       (op_is_new_cast): New.
+       (d_expression, d_print_comp): Check it.
+
+2012-07-13  Doug Evans  <dje@google.com>
+
+       * filename_cmp.c (filename_hash, filename_eq): New functions.
+
+2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * copying-lib.texi (Library Copying): Don't use @heading inside
+       @enumerate.
+
+2012-05-22  Tom Tromey  <tromey@redhat.com>
+
+       http://sourceware.org/bugzilla/show_bug.cgi?id=14065
+       * testsuite/demangle-expected: Add regression test.
+       * cp-demangle.c (d_find_pack): Return NULL for
+       DEMANGLE_COMPONENT_UNNAMED_TYPE.
+
+2012-04-27  Tom Tromey  <tromey@redhat.com>
+
+       * dwarfnames.c: New file.
+       * Makefile.in (CFILES): Add dwarfnames.
+       (REQUIRED_OFILES): Add dwarfnames.
+       (./dwarfnames.$(objext)): New target.
+
+2012-04-04  Tristan Gingold  <gingold@adacore.com>
+
+       * pex-unix.c (to_ptr32): Fix style.
+
+2012-04-02  Tristan Gingold  <gingold@adacore.com>
+
+       * stack-limit.c: Includes ansidecl.h.
+       (stack_limit_increase): Add ATTRIBUTE_UNUSED
+
+2012-03-20  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (cplus_demangle_type): Handle 'auto'.
+
+2012-03-07  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (cplus_demangle_operators): Add li.
+       (d_unqualified_name): Handle it specially.
+
+2012-01-26  Jakub Jelinek  <jakub@redhat.com>
+
+       * make-relative-prefix.c (make_relative_prefix_1): Avoid warning
+       about using preprocessor directives inside of macro arguments.
+
+2012-01-22  Douglas B Rupp  <rupp@gnat.com>
+
+       * configure: Regenerate.
+
+2012-01-10  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]:
+       Omit a trailing space in the operator name.
+
+2012-01-06  Jason Merrill  <jason@redhat.com>
+
+       PR c++/6057
+       PR c++/48051
+       PR c++/50855
+       PR c++/51322
+       * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and
+       DEMANGLE_COMPONENT_INITIALIZER_LIST.
+       (d_make_comp): Likewise.  Allow null right arg for
+       DEMANGLE_COMPONENT_TRINARY_ARG2.
+       (cplus_demangle_operators): Adjust new/delete; add .*, :: and throw.
+       (d_template_args, d_template_arg): Handle 'J' for argument packs.
+       (d_exprlist): Add terminator parm.
+       (d_expression, d_print_comp): Handle initializer lists, nullary
+       expressions, prefix/suffix operators, and new.
+       (d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME
+       and DEMANGLE_COMPONENT_INITIALIZER_LIST.
+       * testsuite/demangle-expected: Add tests.
+
+       * cp-demangle.c (cplus_demangle_type): decltype, pack expansion
+       and vector are substitutable.
+       (cplus_demangle_operators): Sort.
+
+2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * configure: Regenerate.
+
+2012-01-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * make-relative-prefix.c (make_relative_prefix_1): Avoid
+       stack overflow if PATH contains just a single entry and
+       HOST_EXECUTABLE_SUFFIX needs to be used.
+
+       PR driver/48306
+       * make-relative-prefix.c: Include sys/stat.h.
+       (make_relative_prefix_1): If access succeeds, check also stat
+       if nstore is a regular file.
+
 2011-12-20  Andreas Schwab  <schwab@linux-m68k.org>
 
        * configure: Regenerate.