X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libiberty%2FChangeLog;h=1e2fbffdf74c11ffa46c95dfdf3a15e9c7f2a3f0;hp=f533060f9759bfaf6a6ef7f6dc9f7a19538edc0d;hb=e9b1be72e8c51f2f935e82733151993527722cad;hpb=c8d35c3cd3f3f783710c0f4917b3b52c7a4b119f diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index f533060f975..1e2fbffdf74 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,484 @@ +2010-01-20 Jason Merrill + + PR c++/42338 + * cp-demangle.c (d_print_comp): Fix array index printing. + +2010-01-11 Tristan Gingold + + * cplus-dem.c (ada_demangle): Remove prototype. + (grow_vect): Removed. + (ada_demangle): Rewritten. + (cplus_demangle): Fix indentation. + * testsuite/demangle-expected: Add tests for Ada. + +2010-01-09 Ian Lance Taylor + + PR other/42230 + * cp-demangle.c (d_demangle): Return dgs.alc on success. + +2010-01-04 Nobuhiro Iwamatsu + + PR target/42316 + * configure.ac (PICFLAG): Use -fPIC on SH hosts. + * configure: Regenerate. + +2009-12-07 Doug Evans + + * pex-unix.c (pex_unix_exec_child): Save/restore environ. + +2009-11-26 Ben Elliston + + * configure.ac (AC_CHECK_FUNCS): Sort into alphabetic order. + * configure: Regenerate. + +2009-11-25 Ben Elliston + + * functions.texi: Rebuild. + +2009-11-25 Manuel Lopez-Ibanez + Ben Elliston + + * README: Mention changes to Makefile.in and functions.texi. + * gather-docs: Mention 'make stamp-functions' in the header. + +2009-11-23 Ben Elliston + Ian Lance Taylor + + * pex-unix.c (pex_child_error): Improve warning avoidance by + checking the results of write(3) and exiting with -2 if any write + returns a negative value. + +2009-11-22 Steve Ward + + * dyn-string.c (dyn_string_append_char): Fix typo in comment. + +2009-11-20 Ben Elliston + + * pex-unix.c (pex_child_error): Define writeerr macro to avoid + unused result warnings from write(3) calls. Undefine writeerr + after all uses. + +2009-10-08 Daniel Gutson + Daniel Jacobowitz + Pedro Alves + + libiberty/ + * argv.c (consume_whitespace): New function. + (only_whitespace): New function. + (buildargv): Always use ISSPACE by calling consume_whitespace. + (expandargv): Skip empty files. Do not stop at the first empty + argument (calling only_whitespace).. + * testsuite/test-expandargv.c: (test_data): Test empty lines + and empty arguments. + (run_tests): Fix false positives due to shorter arguments. + +2009-09-30 Martin Thuresson + + * regex.c (byte_re_match_2_internal): Split declaration and + assignment to avoid -Wc++-compat warning due to goto. + +2009-09-29 Jason Merrill + + * Makefile.in: Enable demangle target. + * cp-demangle.c (d_lambda, d_unnamed_type, d_make_default_arg): New. + (d_name, d_prefix, d_unqualified_name, d_local_name): Handle lambdas. + (d_parmlist): Factor out from d_bare_function_type. + (d_compact_number): Factor out from d_template_param and d_expression. + (d_append_num): Factor out from d_print_comp. + (d_print_comp, d_print_mod_list): Handle lambdas. + * testsuite/demangle-expected: Add lambda tests. + +2009-09-23 Matthew Gingell + + * cplus-dem.c (ada_demangle): Ensure demangled is freed. + +2009-09-22 Ozkan Sezer + + * choose-temp.c: Include unistd.h for mingw targets. + +2009-09-16 Rainer Orth + + * hashtab.c [HAVE_INTTYPES_H]: Include . + +2009-09-15 Tristan Gingold + + * config.h-vms (intptr_t): Define to compile hashtab.c + +2009-09-04 Ozkan Sezer + + PR target/39065 + * configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t + with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T. + * config.in: Regenerated. + * configure: Regenerated. + +2009-09-03 Ozkan Sezer + + PR target/39065 + * configure.ac: Also check for intptr_t. + * config.h.in: Regenerated. + * configure: Regenerated. + * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t + instead of of long. + +2009-09-02 Tristan Gingold + + * vmsbuild.com: Removed as unused and superceeded by makefile.vms. + * makefile.vms: Ported to Itanium VMS. Remove useless targets and + dependencies. Remove unused FORMAT variable. + * configure.com: New file to create build.com DCL script for + Itanium VMS or Alpha VMS. + +2009-08-24 Ralf Wildenhues + + * configure.ac (AC_PREREQ): Bump to 2.64. + +2009-08-23 H.J. Lu + + PR ld/10536 + * Makefile.in (install-html-recursive): Removed. + +2009-08-22 Ralf Wildenhues + + * config.in: Regenerate. + * configure: Regenerate. + +2009-07-30 Ralf Wildenhues + + * Makefile.in (AUTOCONF, configure_deps): New variables. + ($(srcdir)/configure): New rule, active only in maintainer mode. + +2009-07-29 Douglas B Rupp + + * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS. + +2009-07-27 Douglas B Rupp + + * pex-unix.c (vfork): Remove VMS specific definition (get from header + file instead). + (to_ptr32): New function. + (pex_unix_exec_child): Use it. + +2009-07-24 Ian Lance Taylor + + PR bootstrap/40854 + * crc32.c (xcrc32): Rename from crc32. + +2009-07-24 Ian Lance Taylor + + * crc32.c: New file. + * Makefile.in: Rebuild dependencies. + (CFILES): Add crc32.c. + (REQUIRED_OFILES): Add ./crc32.o. + * functions.texi: Rebuild. + +2009-07-17 Jan Kratochvil + + * cp-demangle.c (d_print_comp ) + (d_print_comp ) + (d_make_comp + + * hashtab.c (htab_traverse): Don't call htab_expand for + nearly empty hashtabs with sizes 7, 13 or 31. + +2009-06-16 Nick Clifton + + PR 10197 + * testsuite/test-demangle.c: Rename getline to get_line to avoid + conflicts with system function of the same name. + +2009-05-30 Eli Zaretskii + + * snprintf.c: Doc fix. + + * vsnprintf.c: Doc fix. + +2009-05-29 Kai Tietz + + * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false. + +2009-05-29 Michael Matz + + * fibheap.c (fibheap_replace_key_data): Make sure we don't early + out when forcing the minimum. + (fibheap_delete_node): Assert that we managed to force the minimum. + +2009-05-25 Tristan Gingold + + * config.h-vms: Rewritten. Define configure macros. + Use DEC-C builtin alloca. + + * makefile.vms (OBJS): Update list. + (OPT): New variable. + (CFLAGS): Update compilation flags. + (libiberty.olb): Do not depend on alloca-conf.h anymore. + +2009-05-19 Ian Lance Taylor + Ben Elliston + + * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug. + (cplus_demangle_fill_dtor): Likewise. + +2009-05-17 Julian Brown + + * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing + standard handles (stdin, stdout, stderr) in parent. + +2009-04-29 Julian Brown + + * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT. + (pex_win32_exec_child): Ensure each process has only one handle open + on pipe endpoints. Close standard input after creating child for + symmetry with standard output/standard error. + +2009-04-25 Eli Zaretskii + + * Makefile.in (needed-list): Target removed (not used in GCC + 3.0 and later). All references deleted. + (mostlyclean): Remove references to needed.awk and needed2.awk. + +2009-04-14 Eli Zaretskii + + * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of + existing and required library functions to with_target_subdir + section, so that the native build does detect them at configure + time. + * configure: Regenerated. + +2009-04-13 Ozkan Sezer + + PR target/39397 + * pex-common.h (struct pex_obj): Store pid values as pid_t, + not as long (members *children and (*wait)) + * pex-common.c (pex_run_in_environment): Likewise. + * pex-win32.c (pex_win32_wait): Return pid_t and properly check + returned pid value. + * pex-djgpp.c (pex_djgpp_wait): Return pid_t. + * pex-msdos.c (pex_msdos_wait): Likewise. + +2009-04-07 Arnaud Patard + + * libiberty/configure.ac: Fix Linux/MIPS matching rule. + * libiberty/configure: Regenerate. + +2009-03-27 Ian Lance Taylor + + * memmem.c: New file, from gnulib. + * configure.ac: Add memmem to list of functions provided if they + are not available on the host. + * Makefile.in: Rebuild dependencies. + (CFILES): Add memmem.c. + (CONFIGURED_OFILES): Add memmem.o. + * configure, config.in, functions.texi: Rebuild. + +2009-03-23 Jason Merrill + + * cp-demangle.c (d_expression): Handle pack expansion. + (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM. + (d_print_subexpr): Don't wrap function parms in (). + (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle + not finding a pack. + +2009-03-17 Jason Merrill + + * cp-demangle.c (d_make_function_param): new fn. + (cplus_demangle_mangled_name): Work around abi v2 bug. + (d_expr_primary): Likewise. + (cplus_demangle_operators): Add alignof ops. + (d_expression): Handle function parameters and conversions + with other than 1 operand. + (d_print_comp): Handle function parameters. Fix bug with + function used in type of function. + * testsuite/demangle-expected: Upate tests. + +2009-02-21 Mark Mitchell + + * make-temp-file.c (): Include on Windows. + (choose_tmpdir): On Windows, use GetTempPath. + +2009-01-18 Dave Korn + + * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin, + as it no longer shares libiberty object files. + * configure: Regenerated. + +2009-01-07 Jason Merrill + + * cp-demangle.c (d_expression): Remove mangling for zero-op casts. + +2009-01-06 Ben Elliston + + * cp-demangle.c (cplus_demangle_type): Return NULL if the + character following a 'D' cannot be recognised. + +2008-12-18 Jason Merrill + + PR c++/38561 + * cp-demangle.c (d_expression, d_print_comp): Revert + cast changes. + +2008-12-17 Jason Merrill + + * cp-demangle.c (d_expression): Handle rvalue stubs too. + [DEMANGLE_COMPONENT_CAST]: Update mangling. + (d_print_comp): Avoid extra ", " with empty template argument packs. + Remove handling for obsolete T() mangling. + +2008-12-10 Jason Merrill + + * cp-demangle.c (cplus_demangle_type): Support fixed-point types. + (d_print_comp, d_dump): Likewise. + +2008-10-22 Daniel Jacobowitz + + * Makefile.in (CPPFLAGS): Define. + (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS. + +2008-10-15 Paolo Bonzini + + PR bootstrap/37137 + * Makefile.in (LIBCFLAGS): Remove. + (FLAGS_TO_PASS): Don't mention it. + (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS. + +2008-10-08 David Edelsohn + + * xstrdup.c: Include after "config.h" + +2008-10-07 Jan Kratochvil + + * configure.ac: Call AC_SYS_LARGEFILE. + * config.in: Regenerated. + * configure: Likewise. + +2008-10-06 Jason Merrill + + * cp-demangle.c (struct d_print_info): Add pack_index. + (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION. + (d_make_comp): Likewise. DEMANGLE_COMPONENT_ARGLIST and + DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args. + (cplus_demangle_builtin_types): Add char16/32_t. + (cplus_demangle_type): Recognize them. + (d_template_args): Handle empty argument packs. + (d_template_arg): Handle argument packs. + (d_expression): Handle dependent name. + (d_index_template_argument): New fn. + (d_lookup_template_argument): New fn. + (d_find_pack, d_pack_length): New fn. + (d_print_subexpr): Split out... + (d_print_comp): ...from here. Use d_*_template_argument. + Handle empty arg lists. Support pack expansions. + * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32. + +2008-09-09 Jason Merrill + + * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE. + (d_make_comp): Likewise. + (cplus_demangle_type): Handle decltype and DFP types. + (cplus_demangle_operators): Call operator takes 2 args. + (cplus_demangle_builtin_types): Add DFP types. + (d_exprlist): New fn. + (d_expression): Handle parm placeholders, T() and calls. + (d_print_comp): Handle decltype, T() and calls. + * testsuite/demangle-expected: Test the above. + +2008-08-07 Aaron W. LaFramboise + + * pex-win32.c (argv_to_argc): New function. + (spawn_script): Duplicate argv before calling win32_spawn. + +2008-07-31 Jakub Jelinek + + * mkstemps.c (mkstemps): Keep looping even for EISDIR. + +2008-07-31 Denys Vlasenko + + * mkstemps.c (mkstemps): If open failed with errno other than + EEXIST, return immediately. + * make-temp-file.c: Include errno.h. + (make_temp_file): If mkstemps failed, print an error message + before aborting. + +2008-07-24 Ralf Wildenhues + + * maint-tool (deps): Output config.h instead of stamp-h. + * Makefile.in: Rebuild deps. + (maintainer-clean-subdir): Depend on stamp-h rather than config.h. + Reverts 2007-07-11 change. + +2008-06-19 Eric Blake + + Adjust strsignal to POSIX 200x prototype. + * strsignal.c (strsignal): Remove const. + +2008-06-17 Ralf Wildenhues + + * configure: Regenerate. + +2008-06-15 Ralf Wildenhues + + * libiberty.texi: Expand TABs, drop indentation outside examples. + * obstacks.texi: Likewise. + +2008-04-21 Aurelien Jarno + + * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts. + * libiberty/configure: Regenerate. + +2008-04-18 Kris Van Hees + + * testsuite/demangle-expected: Added tests for char16_t and char32_t. + +2008-04-18 Paolo Bonzini + + PR bootstrap/35457 + * aclocal.m4: Add override.m4. + * configure: Regenerate. + +2008-03-31 Ian Lance Taylor + + * cp-demangle.c (d_substitution): Correct overflow check to avoid + -fstrict-overflow optimizations. + +2008-03-27 Paolo Bonzini + + * configure.ac (frags): Don't set, use frag instead. + (PICFLAG): Set here and substitute. + * Makefile.in (PICFLAG): Substitute from autoconf. + * configure: Regenerate. + +2008-03-24 Ian Lance Taylor + + * sha1.c: New file, from gnulib. + * Makefile.in: Rebuild dependencies. + (CFILES): Add sha1.c. + (REQUIRED_OFILES): Add sha1.o. + +2008-03-24 Doug Evans + + * make-relative-prefix.c (make_relative_prefix_1): Handle NULL + return from strdup. + +2008-03-12 Seongbae Park + + * cplus-dem.c (malloc, realloc): Use void * instead of char * + as return type. + +2008-03-11 Nick Clifton + + * md5.c (md5_process_bytes): Do not assume that memcpy will + provide a return value. + +2008-02-19 Ben Elliston + + PR other/12618 + * testsuite/Makefile.in (mostlyclean): Remove any core file. + 2008-01-26 David Daney * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, @@ -60,9 +541,9 @@ * pexecute.txh (pex_free): Document process killing. 2007-08-31 Douglas Gregor - + * cp-demangle.c (d_dump): Handle - DEMANGLE_COMPONENT_RVALUE_REFERENCE. + DEMANGLE_COMPONENT_RVALUE_REFERENCE. (d_make_comp): Ditto. (cplus_demangle_type): Ditto. (d_print_comp): Ditto. @@ -189,7 +670,7 @@ * testsuite/Makefile.in: Add dummy install-pdf target. 2007-03-01 Peter Breitenlohner - Eric Botcazou + Eric Botcazou PR other/16513 * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR). @@ -200,7 +681,7 @@ * configure.ac: add djgpp-specific results, so we don't have to link during a cross compilation. * configure: Regenerated. - + 2007-01-31 Ralf Wildenhues * hex.c: Fix typo. @@ -210,7 +691,7 @@ 2007-01-31 Vladimir Prus * pex-common.h (struct pex_obj): New fields - stderr_pipe and read_err. + stderr_pipe and read_err. * pex-common.c (pex_init_common): Initialize stderr_pipe. (pex_run_in_environment): Add error checking @@ -299,7 +780,7 @@ the end of the string. 2006-11-30 Andrew Stubbs - J"orn Rennecke + J"orn Rennecke PR driver/29931 * make-relative-prefix.c (make_relative_prefix_1): New function, @@ -314,7 +795,7 @@ (std_suffixes): Add "" as first element. (find_executable): Remove detection of already-present extension. Try all suffixes in std_suffixes. - + 2006-11-07 Julian Brown * floatformat.c (get_field): Fix segfault with little-endian word @@ -333,7 +814,7 @@ 2006-10-25 Ben Elliston * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}. - + 2006-10-10 Brooks Moses * Makefile.in: Added "pdf", "libiberty.pdf" target support. @@ -438,8 +919,8 @@ 2006-04-06 Carlos O'Donell * Makefile.in: Add install-html, install-html-am, and - install-html-recursive targets. Define mkdir_p and - NORMAL_INSTALL. + install-html-recursive targets. Define mkdir_p and + NORMAL_INSTALL. * configure.ac: AC_SUBST datarootdir, docdir, htmldir. * configure: Regenerate. * testsuite/Makefile.in: Add install-html and html targets. @@ -489,7 +970,7 @@ 2006-01-29 Gabriel Dos Reis * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where - supported. + supported. * configure: Regenerated. 2006-01-20 Carlos O'Donell @@ -519,7 +1000,7 @@ * testsuite/test-demangle.c (main): Recognize option --ret-postfix * testsuite/demangle-expected: Test cases to verify extended encoding. Updated comment to document --ret-postfix option. - + 2005-11-06 Richard Guenther * splay-tree.c (rotate_left): New function. @@ -655,7 +1136,7 @@ 2005-06-30 Daniel Berlin * hashtab.c (EMPTY_ENTRY): Moved and renamed. - (DELETED_ENTRY): Ditto. + (DELETED_ENTRY): Ditto. 2005-06-20 Geoffrey Keating @@ -4809,7 +5290,7 @@ Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com) * Merge egcs & devo libiberty. -1998-09-08 Martin von Löwis +1998-09-08 Martin von Löwis * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.