| 2022-05-27 Release Manager |
| |
| * GCC 9.5.0 released. |
| |
| 2022-05-11 Jakub Jelinek <jakub@redhat.com> |
| |
| Backported from master: |
| 2022-02-22 Jakub Jelinek <jakub@redhat.com> |
| |
| PR lto/104617 |
| * simple-object-elf.c (simple_object_elf_match): Fix up URL |
| in comment. |
| (simple_object_elf_copy_lto_debug_sections): Remap sh_info and |
| sh_link even if they are in the SHN_LORESERVE .. SHN_HIRESERVE |
| range (inclusive). |
| |
| 2021-06-01 Release Manager |
| |
| * GCC 9.4.0 released. |
| |
| 2021-04-12 Richard Biener <rguenther@suse.de> |
| |
| Backported from master: |
| 2020-08-03 Richard Biener <rguenther@suse.de> |
| |
| PR lto/96385 |
| * simple-object-elf.c |
| (simple_object_elf_copy_lto_debug_sections): Localize global |
| UNDEFs and reuse the prevailing name. |
| |
| 2020-03-12 Release Manager |
| |
| * GCC 9.3.0 released. |
| |
| 2020-03-02 H.J. Lu <hongjiu.lu@intel.com> |
| |
| Backport from master |
| 2020-03-02 H.J. Lu <hongjiu.lu@intel.com> |
| |
| PR lto/93966 |
| * simple-object.c (handle_lto_debug_sections): Also copy |
| .note.gnu.property section. |
| |
| 2019-08-12 Release Manager |
| |
| * GCC 9.2.0 released. |
| |
| 2019-07-25 Richard Biener <rguenther@suse.de> |
| |
| PR lto/90924 |
| Backport from mainline |
| 2019-07-12 Ren Kimura <rkx1209dev@gmail.com> |
| |
| * simple-object-elf.c (simple_object_elf_match): Check zero value |
| shstrndx. |
| |
| 2019-05-03 Release Manager |
| |
| * GCC 9.1.0 released. |
| |
| 2019-04-10 Nick Clifton <nickc@redhat.com> |
| |
| PR 89394 |
| * cp-demangle.c (cplus_demangle_fill_name): Reject negative |
| lengths. |
| (d_count_templates_scopes): Replace num_templates and num_scopes |
| parameters with a struct d_print_info pointer parameter. Adjust |
| body of the function accordingly. Add recursion counter and check |
| that the recursion limit is not reached. |
| (d_print_init): Pass dpi parameter to d_count_templates_scopes. |
| Reset recursion counter afterwards, unless the recursion limit was |
| reached. |
| |
| 2019-04-07 Alan Modra <amodra@gmail.com> |
| |
| * functions.texi: Regenerate. |
| |
| 2019-03-14 Jason Merrill <jason@redhat.com> |
| Jakub Jelinek <jakub@redhat.com> |
| |
| * hashtab.c (htab_remove_elt_with_hash): Return if slot is NULL rather |
| than if *slot is HTAB_EMPTY_ENTRY. |
| |
| 2019-02-11 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| |
| * splay-tree.c (splay_tree_insert): Also release old KEY in case |
| of insertion of a key equal to an already present key. |
| (splay_tree_new_typed_alloc): Update comment. |
| |
| 2019-01-22 Nidal Faour <nidal.faour@wdc.com> |
| |
| PR lto/88422 |
| * simple-object.c (O_BINARY): Define if not already defined. |
| (simple_object_copy_lto_debug_sections): Create file in binary |
| mode. |
| |
| 2019-01-21 Tom Tromey <tom@tromey.com> |
| |
| * splay-tree.c (splay_tree_remove): Delete the key if necessary. |
| |
| 2019-01-14 Tom Honermann <tom@honermann.net> |
| |
| * cp-demangle.c (cplus_demangle_builtin_types) |
| (cplus_demangle_type): Add name demangling for char8_t (Du). |
| * cp-demangle.h: Increase D_BUILTIN_TYPE_COUNT to accommodate the |
| new char8_t type. |
| |
| 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
| |
| PR other/16615 |
| |
| * cp-demangle.c: Mechanically replace "can not" with "cannot". |
| * floatformat.c: Likewise. |
| * strerror.c: Likewise. |
| |
| 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
| |
| Update copyright years. |
| |
| 2018-12-22 Jason Merrill <jason@redhat.com> |
| |
| Remove support for demangling GCC 2.x era mangling schemes. |
| * cplus-dem.c: Remove cplus_mangle_opname, cplus_demangle_opname, |
| internal_cplus_demangle, and all subroutines. |
| (libiberty_demanglers): Remove entries for ancient GNU (pre-3.0), |
| Lucid, ARM, HP, and EDG demangling styles. |
| (cplus_demangle): Remove 'work' variable. Don't call |
| internal_cplus_demangle. |
| |
| 2018-12-07 Nick Clifton <nickc@redhat.com> |
| |
| PR 87681 |
| PR 87675 |
| PR 87636 |
| PR 87350 |
| PR 87335 |
| * cp-demangle.h (struct d_info): Add recursion_level field. |
| * cp-demangle.c (d_function_type): Add recursion counter. |
| If the recursion limit is reached and the check is not disabled, |
| then return with a failure result. |
| (cplus_demangle_init_info): Initialise the recursion_level field. |
| (d_demangle_callback): If the recursion limit is enabled, check |
| for a mangled string that is so long that there is not enough |
| stack space for the local arrays. |
| * cplus-dem.c (struct work): Add recursion_level field. |
| (squangle_mop_up): Set the numb and numk fields to zero. |
| (work_stuff_copy_to_from): Handle the case where a btypevec or |
| ktypevec field is NULL. |
| (demangle_nested_args): Add recursion counter. If |
| the recursion limit is not disabled and reached, return with a |
| failure result. |
| |
| 2018-10-23 Jason Merrill <jason@redhat.com> |
| |
| Implement P0732R2, class types in non-type template parameters. |
| * cp-demangle.c (d_dump, d_make_comp, d_count_templates_scopes) |
| (d_print_comp_inner): Handle DEMANGLE_COMPONENT_TPARM_OBJ. |
| (d_special_name): Handle TA. |
| (d_expresion_1): Fix demangling of brace-enclosed initializer list. |
| |
| 2018-10-31 Joseph Myers <joseph@codesourcery.com> |
| |
| PR bootstrap/82856 |
| Merge from binutils-gdb: |
| 2018-06-19 Simon Marchi <simon.marchi@ericsson.com> |
| |
| * configure.ac: Remove AC_PREREQ. |
| * configure: Re-generate. |
| * config.in: Re-generate. |
| |
| 2018-10-01 Nathan Sidwell <nathan@acm.org> |
| |
| * configure.ac (checkfuncs): Add pipe2. |
| * config.in, configure: Rebuilt. |
| * pex-unix.c (pex_unix_exec_child): Comminicate errors from child |
| to parent with a pipe, when possible. |
| |
| 2018-08-23 Nathan Sidwell <nathan@acm.org> |
| Martin Liska <mliska@suse.cz> |
| |
| PR driver/87056 |
| * pex-unix.c (pex_unix_exec_child): Duplicate bad_fn into local |
| scopes to avoid potential clobber. |
| |
| 2018-08-20 Nathan Sidwell <nathan@acm.org> |
| |
| * pex-unix.c (pex_child_error): Delete. |
| (pex_unix_exec_child): Commonize error paths to single message & |
| exit. |
| |
| 2018-07-30 Tom Tromey <tom@tromey.com> |
| |
| * cplus-dem.c (remember_Btype): Don't call memcpy with LEN==0. |
| |
| 2018-07-26 Martin Liska <mliska@suse.cz> |
| |
| PR lto/86548 |
| * make-temp-file.c (TEMP_FILE): Remove leading 'cc'. |
| (make_temp_file): Call make_temp_file_with_prefix with |
| first argument set to NULL. |
| (make_temp_file_with_prefix): Support also prefix. |
| |
| 2018-07-19 Eli Zaretskii <eliz@gnu.org> |
| |
| * simple-object-elf.c (ENOTSUP): If not defined by errno.h, redirect |
| to ENOSYS. |
| |
| 2018-05-30 Jan Hubicka <hubicka@ucw.cz> |
| |
| * simple-object.c (handle_lto_debug_sections): Add rename parameter. |
| (handle_lto_debug_sections_rename): New function. |
| (handle_lto_debug_sections_norename): New function. |
| (simple_object_copy_lto_debug_sections): Add rename parameter. |
| |
| 2018-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de> |
| |
| * splay-tree.c (splay_tree_compare_strings, |
| splay_tree_delete_pointers): New utility functions. |
| |
| 2018-05-10 Martin Liska <mliska@suse.cz> |
| |
| PR bootstrap/64914 |
| * md5.c: Use strict alignment with UBSAN_BOOTSTRAP. |
| |
| 2018-04-30 Daniel van Gerpen <daniel@vangerpen.de> |
| |
| * argv.c (expandargv): Fix memory leak for copied argv. |
| |
| 2018-04-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
| |
| PR lto/81968 |
| * simple-object.c (handle_lto_debug_sections): Keep .comment |
| section. |
| |
| 2018-03-02 David Malcolm <dmalcolm@redhat.com> |
| |
| * cp-demangle.c: Update URL for g++ V3 ABI. |
| |
| 2018-01-20 Eli Zaretskii <eliz@gnu.org> |
| |
| * simple-object-xcoff.c (simple_object_xcoff_find_sections): Use |
| ulong_type to avoid warning about 32-bit shift. |
| |
| 2018-01-11 Richard Biener <rguenther@suse.de> |
| Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
| |
| PR lto/81968 |
| * simple-object-common.h (struct simple_object_functions): |
| Change copy_lto_debug_sections callback signature. |
| * simple-object-elf.c (SHN_HIRESERVE, SHT_SYMTAB_SHNDX, |
| SHF_INFO_LINK): Add defines. |
| (simple_object_elf_copy_lto_debug_sections): Instead of |
| leaving not to be copied sections empty unnamed SHT_NULL |
| remove them from the target section headers and adjust section |
| reference everywhere. Handle SHN_XINDEX in the symbol table |
| processing properly. |
| * simple-object.c (handle_lto_debug_sections): Change |
| interface to return a modified string and handle renaming |
| of relocation sections. |
| |
| 2018-01-10 Daniel van Gerpen <daniel@vangerpen.de> |
| |
| * argv.c (expandargv): Correct check for dynamically |
| allocated argv. |
| |
| 2018-01-03 Jakub Jelinek <jakub@redhat.com> |
| |
| Update copyright years. |
| |
| 2017-01-02 Richard Biener <rguenther@suse.de> |
| |
| PR lto/83452 |
| * simple-object-elf.c (simple_object_elf_copy_lto_debug_section): |
| Do not use UNDEF locals for removed symbols but instead just |
| define them in the first prevailing section and with no name. |
| Use the same gnu_lto_v1 name for all removed globals we promote to |
| WEAK UNDEFs so hpux can use a stub to provide this symbol. Clear |
| sh_info and sh_link in removed sections. |
| |
| 2017-10-30 Richard Biener <rguenther@suse.de> |
| |
| PR lto/82757 |
| * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): |
| Strip two leading _s from the __gnu_lto_* symbols. |
| |
| 2017-10-24 Alan Modra <amodra@gmail.com> |
| |
| PR lto/82687 |
| PR lto/82575 |
| * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): |
| Only make __gnu_lto symbols hidden. |
| |
| 2017-10-20 Alan Modra <amodra@gmail.com> |
| |
| PR lto/82575 |
| * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): |
| Make discarded non-local symbols weak and hidden. |
| |
| 2017-10-18 Jakub Jelinek <jakub@redhat.com> |
| |
| PR lto/82598 |
| * simple-object.c (handle_lto_debug_sections): Copy over also |
| .note.GNU-stack section with unchanged name. |
| * simple-object-elf.c (SHF_EXECINSTR): Define. |
| (simple_object_elf_copy_lto_debug_section): Drop SHF_EXECINSTR bit |
| on .note.GNU-stack section. |
| |
| 2017-09-25 Nathan Sidwell <nathan@acm.org> |
| |
| PR demangler/82195 |
| * cp-demangle.c (d_encoding): Strip return type when name is a |
| LOCAL_NAME. |
| (d_local_name): Strip return type of enclosing TYPED_NAME. |
| * testsuite/demangle-expected: Add and adjust tests. |
| |
| 2017-09-21 Nathan Sidwell <nathan@acm.org> |
| |
| PR demangler/82195 |
| * cp-demangle.c (d_name): Revert addition of 'toplevel' parm. |
| (has_return_type): Recurse for DEMANGLE_COMPONENT_LOCAL_NAME. |
| (d_encoding): Revert d_name change. Use is_fnqual_component_type |
| to strip modifiers that do not belong. |
| (d_special_name, d_class_enum_type): Revert d_name call change. |
| (d_expresion_1): Commonize DEMANGLE_COMPONENT_UNARY building. |
| (d_local_name): Revert parsing of a function type. |
| (d_print_comp_inner): An inner LOCAL_NAME might contain a |
| TEMPLATE. |
| * testsuite/demangle-expected: Add & adjust tests |
| |
| 2017-09-15 Nathan Sidwell <nathan@acm.org> |
| |
| PR demangler/82195 |
| * cp-demangle.c (d_name): Add 'toplevel' parm. Pass to ... |
| (d_local_name): ... here. Parse trailing function args on nested |
| local_name. |
| (d_encoding, d_special_name, d_class_enum_type): Adjust d_name calls. |
| * testsuite/demangle-expected: Add tests. |
| |
| 2017-09-15 Richard Biener <rguenther@suse.de> |
| |
| PR lto/81968 |
| * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): |
| Iterate marking dependent sections necessary. |
| |
| 2017-09-15 Nathan Sidwell <nathan@acm.org> |
| |
| * cp-demangle.c (is_fnqual_component_type): Reimplement using |
| FNQUAL_COMPONENT_CASE. |
| (d_encoding): Hold bare_function_type in local var. |
| (d_local_name): Build name in both cases and build result once. |
| Collapse switch-if to single conditional. |
| (d_local_name): |
| |
| * testsuite/demangle-expected: Realign blank lines with tests. |
| |
| 2017-09-12 Jiong Wang <jiong.wang@arm.com> |
| |
| * dwarfnames.c (DW_CFA_DUP): New define. |
| |
| 2017-09-01 Martin Liska <mliska@suse.cz> |
| |
| * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): |
| Remove duplicite declaration. |
| |
| 2017-08-31 Richard Biener <rguenther@suse.de> |
| |
| PR lto/81968 |
| * simple-object-elf.c (simple_object_elf_copy_lto_debug_section): |
| Keep names of removed global symbols. |
| |
| 2017-08-29 Tony Reix <tony.reix@atos.net> |
| |
| * simple-object-xcoff.c (simple_object_xcoff_find_sections): |
| Improve .go_export csect handling. Don't make assumptions |
| on containing section or number of auxiliary entries. |
| |
| 2017-08-28 Richard Biener <rguenther@suse.de> |
| |
| PR lto/81968 |
| * simple-object-elf.c (simple_object_elf_copy_lto_debug_section): |
| Adjust field with for sh_type write, set SHF_EXCLUDE only for |
| removed sections. |
| |
| 2017-08-22 Richard Biener <rguenther@suse.de> |
| |
| PR lto/81925 |
| * simple-object-elf.c (simple_object_elf_write_shdr): Adjust |
| type of sh_addralign and sh_entsize and properly write |
| sh_entsize as Elf_Addr. |
| (simple_object_elf_write_to_file): Read sh_entsize as Elf_Addr. |
| |
| 2017-08-21 Richard Biener <rguenther@suse.de> |
| |
| * simple-object-common.h (struct simple_object_functions): Add |
| copy_lto_debug_sections hook. |
| * simple-object.c: Include fcntl.h. |
| (handle_lto_debug_sections): New helper function. |
| (simple_object_copy_lto_debug_sections): New function copying |
| early LTO debug sections to regular debug sections in a new file. |
| (simple_object_start_write): Handle NULL segment_name. |
| * simple-object-coff.c (simple_object_coff_functions): Adjust |
| for not implemented copy_lto_debug_sections hook. |
| * simple-object-mach-o.c (simple_object_mach_o_functions): Likewise. |
| * simple-object-xcoff.c (simple_object_xcoff_functions): Likewise. |
| * simple-object-elf.c (SHT_NULL, SHT_SYMTAB, SHT_RELA, SHT_REL, |
| SHT_GROUP): Add various sectopn header types. |
| (SHF_EXCLUDE): Add flag. |
| (Elf32_External_Sym, Elf64_External_Sym): Add symbol struct. |
| (ELF_ST_BIND, ELF_ST_TYPE, ELF_ST_INFO): Add accessors. |
| (STT_OBJECT, STT_FUNC, STT_TLS, STT_GNU_IFUNC): Add Symbol types. |
| (STV_DEFAULT): Add symbol visibility. |
| (SHN_COMMON): Add special section index name. |
| (struct simple_object_elf_write): New. |
| (simple_object_elf_start_write): Adjust for new private data. |
| (simple_object_elf_write_shdr): Pass in values for all fields |
| we write. |
| (simple_object_elf_write_to_file): Adjust. Copy from recorded |
| section headers if requested. |
| (simple_object_elf_release_write): Release private data. |
| (simple_object_elf_copy_lto_debug_sections): Copy and rename sections |
| as denoted by PFN and all their dependences, symbols and relocations |
| to the empty destination file. |
| (simple_object_elf_functions): Adjust for copy_lto_debug_sections hook. |
| |
| 2017-07-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
| |
| * dwarfnames.c (DW_FIRST_IDX, DW_END_IDX, DW_IDX, DW_IDX_DUP): New. |
| |
| 2017-06-07 Tony Reix <tony.reix@atos.net> |
| Matthieu Sarter <matthieu.sarter.external@atos.net> |
| David Edelsohn <dje.gcc@gmail.com> |
| |
| * simple-object-xcoff.c (simple_object_xcoff_find_sections): |
| Search symbol table for .go_export symbol and apply pfn if found. |
| |
| 2017-05-31 DJ Delorie <dj@redhat.com> |
| |
| * configure.ac (strnlen): Add to AC_CHECK_DECLS. |
| * configure: Likewise. |
| * config.in: Add HACE_DECL_STRNLEN. |
| |
| 2017-05-27 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_identifier): Prefix mangled init symbols |
| with `initializer for'. |
| * testsuite/demangle-expected: Update tests. |
| |
| 2017-05-27 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_call_convention_p): Move declaration |
| before dlang_type. |
| (dlang_type): Handle function types. |
| * testsuite/d-demangle-expected: Add tests. |
| |
| 2017-05-27 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_parse_real): Remove stack buffer, write |
| the demangled hexadecimal directly to string. |
| * testsuite/d-demangle-expected: Add tests. |
| |
| 2017-05-24 Eli Zaretskii <eliz@gnu.org> |
| |
| * waitpid.c (wait) [__MINGW32__]: Define as a macro |
| that calls _cwait, so that this function works on MinGW. |
| |
| 2017-05-02 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_hexdigit): New function. |
| (ascii2hex): Remove function. |
| (dlang_parse_string): Update to call dlang_hexdigit. |
| * testsuite/d-demangle-expected: Add tests. |
| |
| 2017-05-02 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (strtol): Remove declaration. |
| Updated all callers to use dlang_number. |
| (dlang_number): New function. |
| (dlang_value): Moved check for ISDIGIT into dlang_parse_integer. |
| * testsuite/d-demangle-expected: Add tests. |
| |
| 2017-05-02 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_parse_symbol): Remove function. |
| (dlang_parse_qualified): New function. |
| (dlang_parse_mangle): New function. |
| (dlang_type): Update to call dlang_parse_qualified. |
| (dlang_identifier): Update to call either dlang_parse_qualified or |
| dlang_parse_mangle. |
| (dlang_type_modifier_p): Remove function. |
| (dlang_call_convention_p): Don't allow type modifiers in mangle. |
| (dlang_template_args): Update to call dlang_identifier. |
| (dlang_demangle): Update to call dlang_parse_mangle. |
| * testsuite/d-demangle-expected: Add tests. |
| |
| 2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_value): Add comment explaining why cases for |
| digits are required. |
| * testsuite/d-demangle-expected: Update integer value tests. |
| |
| 2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_parse_symbol): Skip over anonymous symbols. |
| * testsuite/d-demangle-expected: Add tests. |
| |
| 2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_identifier): Handle template constraint symbols. |
| (dlang_parse_template): Only advance if template symbol prefix is |
| followed by a digit. |
| * testsuite/d-demangle-expected: Add tests. |
| |
| 2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_attributes): Handle scope attributes. |
| * testsuite/d-demangle-expected: Add tests. |
| |
| 2017-04-27 Jonathan Wakely <jwakely@redhat.com> |
| |
| PR demangler/80513 |
| * cp-demangle.c (d_number): Check for overflow. |
| * cplus-dem.c (consume_count): Fix overflow check. |
| (gnu_special): Check for underscore after thunk delta. |
| * testsuite/demangle-expected: Add tests for overflows and invalid |
| characters in thunks. |
| |
| 2017-04-21 Mark Wielaard <mark@klomp.org> |
| |
| * cp-demangle.c (MAX_RECURSION_COUNT): New constant. |
| (struct d_print_info): Add recursion field. |
| (d_print_init): Initialize recursion. |
| (d_print_comp): Check and update d_print_info recursion depth. |
| |
| 2017-04-21 Mark Wielaard <mark@klomp.org> |
| |
| * cp-demangle.c (d_substitution): Return NULL if d_add_substitution |
| fails. |
| |
| 2017-04-21 Mark Wielaard <mark@klomp.org> |
| |
| * cp-demangle.h (struct d_info): Remove did_subs field. |
| * cp-demangle.c (struct d_info_checkpoint): Likewise. |
| (d_template_param): Don't update did_subs. |
| (d_substitution): Likewise. |
| (d_checkpoint): Don't assign did_subs. |
| (d_backtrack): Likewise. |
| (cplus_demangle_init_info): Don't initialize did_subs. |
| |
| 2017-03-27 Pedro Alves <palves@redhat.com> |
| |
| * cp-demint.c (cplus_demangle_fill_component): Handle |
| DEMANGLE_COMPONENT_RVALUE_REFERENCE. |
| |
| 2017-03-12 Mark Wielaard <mark@klomp.org> |
| |
| * cp-demangle.c (cplus_demangle_fill_name): Initialize |
| demangle_component d_printing. |
| (cplus_demangle_fill_extended_operator): Likewise. |
| (cplus_demangle_fill_ctor): Likewise. |
| (cplus_demangle_fill_dtor): Likewise. |
| |
| 2017-03-08 Mark Wielaard <mark@klomp.org> |
| |
| PR demangler/70909 |
| PR demangler/67264 |
| * cp-demangle.c: Fix endless recursion. Pass |
| struct demangle_component as non const. |
| (d_make_empty): Initialize variable. |
| (d_print_comp_inner): Limit recursion. |
| (d_print_comp): Decrement variable. |
| * cp-demint.c (cplus_demangle_fill_component): Initialize |
| variable. |
| (cplus_demangle_fill_builtin_type): Likewise. |
| (cplus_demangle_fill_operator): Likewise. |
| * testsuite/demangle-expected: Add tests. |
| |
| 2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de> |
| |
| PR PR c++/70182 |
| * cp-demangle.c (d_unqualified_name): Handle "on" for |
| operator names. |
| * testsuite/demangle-expected: Add tests. |
| |
| 2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de> |
| |
| PR c++/77489 |
| * cp-demangle.c (d_discriminator): Handle discriminator >= 10. |
| * testsuite/demangle-expected: Add tests for discriminator. |
| |
| 2017-01-04 Jakub Jelinek <jakub@redhat.com> |
| |
| Update copyright years. |
| |
| 2017-01-04 Alan Modra <amodra@gmail.com> |
| |
| * Makefile.in (configure_deps): Update. |
| * configure: Regenerate. |
| |
| 2016-12-13 Jakub Jelinek <jakub@redhat.com> |
| |
| PR c++/78761 |
| * cp-demangle.c (cplus_demangle_type): Demangle Dc as decltype(auto). |
| * testsuite/demangle-expected: Add test for decltype(auto). |
| |
| 2016-12-12 Nathan Sidwell <nathan@acm.org> |
| |
| PR c++/78252 |
| * cp-demangle.c (struct d_print_info): Add is_lambda_arg field. |
| (d_print_init): Initialize it. |
| (d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check |
| is_lambda_arg for auto. |
| <DEMANGLE_COMPONENT_REFERENCE, |
| DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when |
| is_lambda_arg. |
| <DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg |
| printing. |
| * testsuite/demangle-expected: Add lambda auto mangling cases. |
| |
| 2016-12-06 DJ Delorie <dj@redhat.com> |
| |
| * argv.c (expandargv): Check for directories passed as @-files. |
| |
| 2016-11-30 David Malcolm <dmalcolm@redhat.com> |
| |
| PR c/78498 |
| * strndup.c (strlen): Delete decl. |
| (strnlen): Add decl. |
| (strndup): Call strnlen rather than strlen. |
| * xstrndup.c (xstrndup): Likewise. |
| |
| 2016-11-29 Nathan Sidwell <nathan@acm.org> |
| |
| * cp-demangle.c (d_print_comp_inner): Fix parameter indentation. |
| |
| 2016-11-03 David Tolnay <dtolnay@gmail.com> |
| Mark Wielaard <mark@klomp.org> |
| |
| * Makefile.in (CFILES): Add rust-demangle.c. |
| (REQUIRED_OFILES): Add rust-demangle.o. |
| * cplus-dem.c (libiberty_demanglers): Add rust_demangling case. |
| (cplus_demangle): Handle RUST_DEMANGLING. |
| (rust_demangle): New function. |
| * rust-demangle.c: New file. |
| * testsuite/Makefile.in (really-check): Add check-rust-demangle. |
| (check-rust-demangle): New rule. |
| * testsuite/rust-demangle-expected: New file. |
| |
| 2016-11-15 Mark Wielaard <mark@klomp.org> |
| |
| * cp-demangle.c (d_expression_1): Make sure third expression |
| exists for ?: and fold expressions. |
| * testsuite/demangle-expected: Add examples of strings that could |
| crash the demangler because of missing expression. |
| |
| 2016-11-14 Mark Wielaard <mark@klomp.org> |
| |
| * cplus-dem.c (demangle_signature): After 'H', template function, |
| no success and don't advance position if end of string reached. |
| (demangle_template): After 'z', template name, return zero on |
| premature end of string. |
| (gnu_special): Guard strchr against searching for zero characters. |
| (do_type): If member, only advance mangled string when 'F' found. |
| * testsuite/demangle-expected: Add examples of strings that could |
| crash the demangler by reading past end of input. |
| |
| 2016-11-06 Mark Wielaard <mark@klomp.org> |
| |
| * configure.ac (ac_libiberty_warn_cflags): Add -Wshadow=local. |
| * configure: Regenerated. |
| |
| 2016-11-07 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (is_fnqual_component_type): New. |
| (d_encoding, d_print_comp_inner, d_print_mod_list): Use it. |
| (FNQUAL_COMPONENT_CASE): New. |
| (d_make_comp, has_return_type, d_print_comp_inner) |
| (d_print_function_type): Use it. |
| (next_is_type_qual): New. |
| (d_cv_qualifiers, d_print_mod): Handle noexcept and throw-spec. |
| |
| 2016-11-02 Mark Wielaard <mjw@redhat.com> |
| |
| * cplus-dem.c (demangle_signature): Move fall through comment. |
| (demangle_fund_type): Add fall through comment between 'G' and 'I'. |
| * hashtab.c (iterative_hash): Add fall through comments. |
| * regex.c (regex_compile): Add Fall through comment after '+'/'?'. |
| (byte_re_match_2_internal): Add Fall through comment after jump_n. |
| Change "Note fall through" to "Fall through". |
| (common_op_match_null_string_p): Return false after set_number_at |
| instead of fall through. |
| |
| 2016-11-01 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (d_ctor_dtor_name): Handle inheriting constructor. |
| |
| 2016-10-31 Mark Wielaard <mjw@redhat.com> |
| |
| * cplus-dem.c (ada_demangle): Initialize demangled to NULL and |
| XDELETEVEC demangled when unknown. |
| |
| 2016-09-19 Andrew Stubbs <ams@codesourcery.com> |
| |
| * pex-win32.c (argv_to_cmdline): Quote zero-length parameters. |
| * testsuite/test-pexecute.c (main): Insert check for zero-length parameters. |
| |
| 2016-09-10 Mark Wielaard <mjw@redhat.com> |
| |
| * cp-demangle.c (d_substitution): Change struct demangle_component |
| variable name from c to dc. |
| |
| 2016-08-12 Marek Polacek <polacek@redhat.com> |
| |
| PR c/7652 |
| * cp-demangle.c (d_print_mod): Add FALLTHRU. |
| |
| 2016-08-04 Marcel Böhme <boehme.marcel@gmail.com> |
| |
| PR c++/71696 |
| * cplus-dem.c: Prevent infinite recursion when there is a cycle |
| in the referencing of remembered mangled types. |
| (work_stuff): New stack to keep track of the remembered mangled |
| types that are currently being processed. |
| (push_processed_type): New method to push currently processed |
| remembered type onto the stack. |
| (pop_processed_type): New method to pop currently processed |
| remembered type from the stack. |
| (work_stuff_copy_to_from): Copy values of new variables. |
| (delete_non_B_K_work_stuff): Free stack memory. |
| (demangle_args): Push/Pop currently processed remembered type. |
| (do_type): Do not demangle a cyclic reference and push/pop |
| referenced remembered type. |
| |
| 2016-07-29 Aldy Hernandez <aldyh@redhat.com> |
| |
| * make-relative-prefix.c (make_relative_prefix_1): Fall back to |
| malloc if alloca argument is greater than MAX_ALLOCA_SIZE. |
| |
| 2016-07-15 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (cplus_demangle_operators): Add f[lrLR]. |
| (d_expression_1): Handle them. |
| (d_maybe_print_fold_expression): New. |
| (d_print_comp_inner): Use it. |
| (d_index_template_argument): Handle negative index. |
| |
| * cp-demangle.c (cplus_demangle_operators): Add sP and sZ. |
| (d_print_comp_inner): Handle them. |
| (d_template_args_1): Split out from d_template_args. |
| (d_args_length): New. |
| |
| 2016-07-13 Marcel Böhme <boehme.marcel@gmail.com> |
| |
| PR c++/70926 |
| * cplus-dem.c: Handle large values and overflow when demangling |
| length variables. |
| (demangle_template_value_parm): Read only until end of mangled string. |
| (do_hpacc_template_literal): Likewise. |
| (do_type): Handle overflow when demangling array indices. |
| |
| 2016-06-12 Brooks Moses <bmoses@google.com> |
| |
| * cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length |
| VLAs. |
| |
| 2016-05-31 Alan Modra <amodra@gmail.com> |
| |
| * xmemdup.c (xmemdup): Use xmalloc rather than xcalloc. |
| |
| 2016-05-19 Jakub Jelinek <jakub@redhat.com> |
| |
| PR c++/70498 |
| * cp-demangle.c (d_expression_1): Formatting fix. |
| |
| 2016-05-18 Artemiy Volkov <artemiyv@acm.org> |
| |
| * cplus-dem.c (enum type_kind_t): Add tk_rvalue_reference |
| constant. |
| (demangle_template_value_parm): Handle tk_rvalue_reference |
| type kind. |
| (do_type): Support 'O' type id (rvalue references). |
| |
| * testsuite/demangle-expected: Add tests. |
| |
| 2016-05-02 Marcel Böhme <boehme.marcel@gmail.com> |
| |
| PR c++/70498 |
| * cp-demangle.c: Parse numbers as integer instead of long to avoid |
| overflow after sanity checks. Include <limits.h> if available. |
| (INT_MAX): Define if necessary. |
| (d_make_template_param): Takes integer argument instead of long. |
| (d_make_function_param): Likewise. |
| (d_append_num): Likewise. |
| (d_identifier): Likewise. |
| (d_number): Parse as and return integer. |
| (d_compact_number): Handle overflow. |
| (d_source_name): Change variable type to integer for parsed number. |
| (d_java_resource): Likewise. |
| (d_special_name): Likewise. |
| (d_discriminator): Likewise. |
| (d_unnamed_type): Likewise. |
| * testsuite/demangle-expected: Add regression test cases. |
| |
| 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org> |
| |
| * configure: Remove SH5 support. |
| |
| 2016-04-08 Marcel Böhme <boehme.marcel@gmail.com> |
| |
| PR c++/69687 |
| * cplus-dem.c: Include <limits.h> if available. |
| (INT_MAX): Define if necessary. |
| (remember_type, remember_Ktype, register_Btype, string_need): |
| Abort if we detect cases where we the size of the allocation would |
| overflow. |
| |
| PR c++/70492 |
| * cplus-dem.c (gnu_special): Handle case where consume_count returns |
| -1. |
| |
| 2016-03-31 Mikhail Maltsev <maltsevm@gmail.com> |
| Marcel Bohme <boehme.marcel@gmail.com> |
| |
| PR c++/67394 |
| PR c++/70481 |
| * cplus-dem.c (squangle_mop_up): Zero bsize/ksize after freeing |
| btypevec/ktypevec. |
| * testsuite/demangle-expected: Add coverage tests. |
| |
| 2016-01-27 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_call_convention): Handle extern Objective-C |
| function calling convention. |
| (dlang_call_convention_p): Likewise. |
| (dlang_type): Likewise. |
| * testsuite/d-demangle-expected: Add coverage tests. |
| |
| 2016-01-27 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_function_args): Append ',' for variadic functions |
| only if parameters were seen before the elipsis symbol. |
| * testsuite/d-demangle-expected: Add coverage test for parameter-less |
| variadic functions. |
| |
| 2016-01-27 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_type): Handle function types only in the context |
| of seeing a pointer type symbol. |
| * testsuite/d-demangle-expected: Update function pointer tests. |
| |
| 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
| |
| * argv.c (dupargv): Change arg to char * const *. Update comment. |
| (writeargv, countargv): Likewise. |
| * functions.texi (dupargv, writeargv, countargv): Likewise. |
| |
| 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
| |
| * argv.c (dupargv): Replace strlen/xmalloc/strcpy with xstrdup. |
| |
| 2015-12-28 Patrick Palka <ppalka@gcc.gnu.org> |
| |
| * crc32.c: In the documentation, don't refer to GDB's |
| now-nonexistent crc32 implementation. In the table-generation |
| program embedded within the documentation, change the type of |
| the induction variables i and j from int to unsigned int, to |
| avoid undefined behavior. |
| |
| 2015-12-21 Nick Clifton <nickc@redhat.com> |
| |
| PR 66827 |
| * regex.c (EXTRACT_NUMBER): Cast sign byte to unsigned before left |
| shifting. |
| |
| 2015-11-27 Pedro Alves <palves@redhat.com> |
| |
| PR other/61321 |
| PR other/61233 |
| * cp-demangle.c (d_demangle_callback, d_make_comp): Handle |
| DEMANGLE_COMPONENT_CONVERSION. |
| (is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION |
| instead of DEMANGLE_COMPONENT_CAST. |
| (d_operator_name): Return a DEMANGLE_COMPONENT_CONVERSION |
| component if handling a conversion. |
| (d_count_templates_scopes, d_print_comp_inner): Handle |
| DEMANGLE_COMPONENT_CONVERSION. |
| (d_print_comp_inner): Handle DEMANGLE_COMPONENT_CONVERSION instead |
| of DEMANGLE_COMPONENT_CAST. |
| (d_print_cast): Rename as ... |
| (d_print_conversion): ... this. Adjust comments. |
| (d_print_cast): Rewrite - simply print the left subcomponent. |
| * cp-demint.c (cplus_demangle_fill_component): Handle |
| DEMANGLE_COMPONENT_CONVERSION. |
| |
| * testsuite/demangle-expected: Add tests. |
| |
| 2015-11-12 Mike Stump <mikestump@comcast.net> |
| |
| * Makefile.in (etags tags TAGS): Use && instead of ;. |
| |
| 2015-11-09 Alan Modra <amodra@gmail.com> |
| |
| * configure.ac: Check size of size_t. |
| * configure: Regenerate. |
| * config.in: Regenerate. |
| |
| 2015-11-09 Alan Modra <amodra@gmail.com> |
| |
| * obstack.c (_obstack_newchunk): Silence -Wc++compat warning. |
| (_obstack_begin_worker): Likewise. Move assignment to h->chunk |
| after alloc failure check. |
| |
| 2015-11-09 Alan Modra <amodra@gmail.com> |
| |
| PR gdb/17133 |
| * obstack.c (__alignof__): Expand alignof_type from alignof.h. |
| (obstack_exit_failure): Don't use exitfail.h. |
| (_): Include libintl.h when HAVE_LIBINTL_H and nls enabled. |
| Provide default. Don't include gettext.h. |
| (_Noreturn): Define. |
| * obstacks.texi: Adjust node references to external libc info files. |
| |
| 2015-11-09 Alan Modra <amodra@gmail.com> |
| |
| PR gdb/17133 |
| * obstack.c: Import current gnulib file. |
| * obstacks.texi: Updated doc, from glibc's manual/memory.texi. |
| |
| 2015-11-06 Joel Brobecker <brobecker@adacore.com> |
| |
| * configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on |
| Android hosts. |
| * configure: Regenerate. |
| |
| 2015-10-28 Jason Merrill <jason@redhat.com> |
| |
| * Makefile.in (TAGS): Fix for separate build directory. |
| |
| 2015-10-18 Roland McGrath <roland@gnu.org> |
| Iain Sandoe <iain@codesourcery.com> |
| |
| PR other/63758 |
| * pex-unix.c: Obtain the environment interface from settings in |
| environ.h rather than in-line code. Update copyright date. |
| * setenv.c: Likewise. |
| * xmalloc.c: Likewise. |
| |
| 2015-09-30 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (d_cv_qualifiers): Dx means transaction_safe. |
| (cplus_demangle_type): Let d_cv_qualifiers handle it. |
| (d_dump, d_make_comp, has_return_type, d_encoding) |
| (d_count_templates_scopes, d_print_comp_inner) |
| (d_print_mod_list, d_print_mod, d_print_function_type) |
| (is_ctor_or_dtor): Handle DEMANGLE_COMPONENT_TRANSACTION_SAFE. |
| |
| 2015-08-15 Ian Lance Taylor <iant@google.com> |
| |
| * cp-demangle.c (d_abi_tags): Preserve di->last_name across any |
| ABI tags. |
| |
| 2015-08-11 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_parse_real): Remove call to strtod. |
| (strtod): Remove declaration. |
| * testsuite/d-demangle-expected: Update float and complex literal |
| tests to check correct hexadecimal demangling. |
| |
| 2015-07-13 Mikhail Maltsev <maltsevm@gmail.com> |
| |
| * cp-demangle.c (d_dump): Fix syntax error. |
| (d_identifier): Adjust type of len to match d_source_name. |
| (d_expression_1): Fix out-of-bounds access. Check code variable for |
| NULL before dereferencing it. |
| (d_find_pack): Do not recurse for FIXED_TYPE, DEFAULT_ARG and NUMBER. |
| (d_print_comp_inner): Add NULL pointer check. |
| * cp-demangle.h (d_peek_next_char): Define as inline function when |
| CHECK_DEMANGLER is defined. |
| (d_advance): Likewise. |
| * testsuite/demangle-expected: Add new testcases. |
| |
| 2015-07-09 Uros Bizjak <ubizjak@gmail.com> |
| |
| * getruntime.c (RUSAGE_SELF): Define if not already defined. |
| (get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call. |
| |
| 2015-06-01 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (cplus_demangle_type): Handle arguments to vendor |
| extended qualifier. |
| |
| 2015-05-22 Yunlian Jiang <yunlian@google.com> |
| |
| * configure.ac: Add AC_GNU_SOURCE. |
| * Makefile.in (COMPILE.c): Add -D_GNU_SOURCE. |
| * configure, config.in: Rebuild. |
| * floatformat.c (_GNU_SOURCE): Don't define if already defined. |
| |
| 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_symbol_kinds): New enum. |
| (dlang_parse_symbol): Update signature. Handle an ambiguity between |
| pascal functions and template value arguments. Only check for a type |
| if parsing a function, or at the top level. Return failure if the |
| entire symbol was not successfully demangled. |
| (dlang_identifier): Update signature. Handle an ambiguity between two |
| adjacent digits in a mangled symbol string. |
| (dlang_type): Update call to dlang_parse_symbol. |
| (dlang_template_args): Likewise. |
| (dlang_parse_template): Likewise. |
| (dlang_demangle): Likewise. |
| * testsuite/d-demangle-expected: Fix bad tests found, and add problematic |
| examples to the unittests. |
| |
| 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_template_args): Skip over specialized template |
| parameters in mangled symbol. |
| * testsuite/d-demangle-expected: Add coverage and unittest for specialized |
| template parameters. |
| |
| 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_type): Handle cent and ucent types. |
| * testsuite/d-demangle-expected: Add coverage tests for cent and ucent. |
| |
| 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_attributes): Handle return attributes, ignoring |
| return parameters in the mangled string. Return NULL if have encountered |
| an unknown attribute. |
| (dlang_function_args): Handle return parameters in the mangled string. |
| * testsuite/d-demangle-expected: Add coverage tests for functions with |
| return parameters and return attributes. |
| |
| 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_identifier): Check encoded length of identifier |
| to verify strncmp matches entire string. |
| * testsuite/d-demangle-expected: Fix wrong test for postblit symbol. |
| |
| 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_type_modifiers): New function. |
| (dlang_type_modifier_p): New function. |
| (dlang_call_convention_p): Ignore any kind of type modifier. |
| (dlang_type): Handle and emit the type modifier after delegate types. |
| (dlang_parse_symbol): Handle and emit the type modifier after the symbol. |
| * testsuite/d-demangle-expected: Add coverage tests for all valid |
| usages of function symbols with type modifiers. |
| |
| 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_call_convention): Return NULL if have reached the |
| end of the symbol, but expected something to read. |
| (dlang_attributes): Likewise. |
| (dlang_function_type): Likewise. |
| (dlang_type): Likewise. |
| (dlang_identifier): Likewise. |
| (dlang_value): Likewise. |
| |
| 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * d-demangle.c (dlang_parse_string): Represent embedded whitespace or |
| non-printable characters as hex or escape sequences. |
| * testsuite/d-demangle-expected: Add test for templates with tabs and |
| newlines embedded into the signature. |
| |
| 2015-05-08 Joel Brobecker <brobecker@adacore.com> |
| |
| * mkstemps.c: #include <time.h> if HAVE_TIME_H is defined |
| but not HAVE_SYS_TIME_H. |
| |
| 2015-04-22 Eli Zaretskii <eliz@gnu.org> |
| |
| * setenv.c <environ>: Declare only if not a macro. |
| |
| 2015-04-14 Max Ostapenko <m.ostapenko@partner.samsung.com> |
| |
| * testsuite/Makefile.in (LIBCFLAGS): Add LDFLAGS. |
| |
| 2015-04-10 Jakub Jelinek <jakub@redhat.com> |
| Iain Sandoe <iain@codesourcery.com> |
| |
| PR target/65351 |
| * configure: Regenerate. |
| |
| 2015-04-07 Jakub Jelinek <jakub@redhat.com> |
| Iain Sandoe <iain@codesourcery.com> |
| |
| PR target/65351 |
| * configure: Regenerate. |
| |
| 2015-01-19 Eli Zaretskii <eliz@gnu.org> |
| |
| * strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't |
| macros. |
| |
| 2014-12-24 Uros Bizjak <ubizjak@gmail.com> |
| Ben Elliston <bje@au.ibm.com> |
| Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
| |
| * xasprintf.c: New file. |
| * Makefile.in (CFILES): Add xasprintf.c. |
| (REQUIRED_OFILES): Add xasprintf.$(objext). |
| (xasprintf.$(objext)): New target. |
| * functions.texi: Regenerate. |
| |
| 2014-12-11 Uros Bizjak <ubizjak@gmail.com> |
| Ben Elliston <bje@au.ibm.com> |
| Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
| |
| * xvasprintf.c: New file. |
| * vprintf-support.h: Likewise. |
| * vprintf-support.c: Likewise. |
| * Makefile.in (CFILES): Add vprintf-support.c, xvasprintf.c. |
| (REQUIRED_OFILES): Add vprintf-support.$(objext), xvasprintf.$(objext). |
| (vprintf-support.$(objext), xvasprintf.$(objext)): New targets. |
| (vasprintf.$(objext)): Depend on $(srcdir)/vprintf-support.h. |
| * functions.texi: Regenerate. |
| * vasprintf.c (int_vasprintf): Use libiberty_vprintf_buffer_size. |
| |
| 2014-11-22 John David Anglin <danglin@gcc.gnu.org> |
| |
| PR other/63694 |
| * configure.ac: Check for strtol, strtoul, strtoll and strtoull |
| declarations. |
| * configure: Regenerated. |
| |
| 2014-11-12 Kirill Yukhin <kirill.yukhin@intel.com> |
| |
| * testsuite/test-strtol.c (run_tests): Cast strtol return to |
| unsigned long. |
| |
| 2014-11-11 Anthony Brandon <anthony.brandon@gmail.com> |
| Manuel López-Ibáñez <manu@gcc.gnu.org> |
| |
| PR driver/36312 |
| * filename_cmp.c (canonical_filename_eq): New function to check if |
| file names are the same. |
| * functions.texi: Updated with documentation for new function. |
| |
| 2014-11-11 David Malcolm <dmalcolm@redhat.com> |
| |
| * ChangeLog.jit: New. |
| |
| 2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
| |
| * sigsetmask.c (_POSIX_SOURCE): Remove. |
| |
| 2014-10-28 Yury Gribov <y.gribov@samsung.com> |
| |
| * strtoll.c: New file. |
| * strtoull.c: New file. |
| * configure.ac: Add long long checks. Add harness for strtoll and |
| strtoull. Check decls for strtol, strtoul, strtoll, strtoull. |
| * Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull. |
| * config.in: Regenerate. |
| * configure: Regenerate. |
| * functions.texi: Regenerate. |
| * testsuite/Makefile.in (check-strtol): New rule. |
| (test-strtol): Likewise. |
| (mostlyclean): Clean up strtol test. |
| * testsuite/test-strtol.c: New test. |
| |
| 2014-10-15 David Malcolm <dmalcolm@redhat.com> |
| |
| * choose-temp.c (choose_tmpdir): Remove now-redundant local |
| copy of prototype. |
| * functions.texi: Regenerate. |
| * make-temp-file.c (choose_tmpdir): Convert return type from |
| char * to const char * - given that this returns a pointer to |
| a memoized allocation, the caller must not touch it. |
| |
| 2014-10-14 Joel Brobecker <brobecker@adacore.com> |
| |
| * d-demangle.c: Replace strtold with strtod in global comment. |
| (strtold): Remove declaration. |
| (strtod): New declaration. |
| (dlang_parse_real): Declare value as double instead of long |
| double. Replace call to strtold by call to strtod. |
| Update format in call to snprintf. |
| |
| 2014-09-26 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (d_substitution): Handle abi tags on abbreviation. |
| |
| 2014-09-26 Max Ostapenko <m.ostapenko@partner.samsung.com> |
| |
| * pex-common.h (struct pex_funcs): Add new parameter for open_write field. |
| * pex-unix.c (pex_unix_open_write): Add support for new parameter. |
| * pex-djgpp.c (pex_djgpp_open_write): Likewise. |
| * pex-win32.c (pex_win32_open_write): Likewise. |
| * pex-common.c (pex_run_in_environment): Likewise. |
| |
| 2014-09-23 Iain Buclaw <ibuclaw@gdcproject.org> |
| |
| * Makefile.in (CFILES): Add d-demangle.c. |
| (REQUIRED_OFILES): Add d-demangle.o. |
| * cplus-dem.c (libiberty_demanglers): Add dlang_demangling case. |
| (cplus_demangle): Likewise. |
| * d-demangle.c: New file. |
| * testsuite/Makefile.in (really-check): Add check-d-demangle. |
| * testsuite/d-demangle-expected: New file. |
| |
| 2014-09-19 Ian Lance Taylor <iant@google.com> |
| |
| * simple-object-elf.c (simple_object_elf_write_ehdr): Correctly |
| handle objects with more than SHN_LORESERVE sections. |
| (simple_object_elf_write_shdr): Add sh_link parameter. |
| (simple_object_elf_write_to_file): Correctly handle objects with |
| more than SHN_LORESERVE sections. |
| |
| 2014-08-29 Andrew Burgess <aburgess@broadcom.com> |
| |
| * cp-demangle.c (d_dump): Only access field from s_fixed part of |
| the union for DEMANGLE_COMPONENT_FIXED_TYPE. |
| (d_count_templates_scopes): Likewise. |
| |
| 2014-08-13 Gary Benson <gbenson@redhat.com> |
| |
| * testsuite/demangler-fuzzer.c: New file. |
| * testsuite/Makefile.in (fuzz-demangler): New rule. |
| (demangler-fuzzer): Likewise. |
| (mostlyclean): Clean up demangler fuzzer. |
| |
| 2014-06-11 Andrew Burgess <aburgess@broadcom.com> |
| |
| * cplus-dem.c (do_type): Call string_delete even if the call to |
| demangle_template fails. |
| |
| 2014-06-01 Ray Donnelly <mingw.android@gmail.com> |
| |
| * pex-win32.c (argv_to_cmdline): Don't quote |
| args unnecessarily |
| |
| 2014-05-28 Pedro Alves <palves@redhat.com> |
| |
| * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM |
| and DEMANGLE_COMPONENT_NUMBER. |
| |
| 2014-05-22 Thomas Schwinge <thomas@codesourcery.com> |
| |
| * testsuite/demangle-expected: Fix last commit. |
| |
| 2014-05-14 Andrew Burgess <aburgess@broadcom.com> |
| |
| * cplus-dmem.c (internal_cplus_demangle): Free any resources |
| allocated by possible previous call to gnu_special. |
| (squangle_mop_up): Reset pointers to NULL after calling free. |
| * testsuite/demangle-expected: New test case. |
| |
| 2014-05-08 Gary Benson <gbenson@redhat.com> |
| |
| * cp-demangle.c (struct d_component_stack): New structure. |
| (struct d_print_info): New field component_stack. |
| (d_print_init): Initialize the above. |
| (d_print_comp_inner): Renamed from d_print_comp. |
| Do not restore template stack if it would cause a loop. |
| (d_print_comp): New function. |
| * testsuite/demangle-expected: New test cases. |
| |
| 2014-04-17 Jakub Jelinek <jakub@redhat.com> |
| |
| PR sanitizer/56781 |
| * maint-tool: Also emit rule for noasan/ subdirectory. |
| * configure.ac (NOASANFLAG): Set and substitute. |
| * Makefile.in: Regenerated. |
| (NOASANFLAG): Set. |
| (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic |
| subdir. |
| (stamp-noasandir): New goal. |
| * configure: Regenerated. |
| |
| 2014-04-01 Richard Biener <rguenther@suse.de> |
| |
| * simple-object.c (simple_object_internal_write): Handle |
| EINTR and short writes. |
| |
| 2014-03-28 Richard Biener <rguenther@suse.de> |
| |
| * simple-object.c (simple_object_internal_read): Handle |
| EINTR and short reads. |
| |
| 2014-03-13 Uros Bizjak <ubizjak@gmail.com> |
| |
| * regex.c (bzero) [!_LIBC]: Define without coma expression. |
| (regerror): Cast the call to memcpy to (void) to avoid unused |
| value warnings. |
| |
| 2014-01-28 Thomas Schwinge <thomas@codesourcery.com> |
| |
| * cp-demangle.c (d_demangle_callback): Put an abort call in place, |
| to help the compiler. |
| |
| 2014-01-21 Tom Tromey <tromey@redhat.com> |
| |
| * _doprint.c (checkit): Use stdarg, not VA_* macros. |
| * asprintf.c (asprintf): Use stdarg, not VA_* macros. |
| * concat.c (concat_length, concat_copy, concat_copy2, concat) |
| (reconcat): Use stdarg, not VA_* macros. |
| * snprintf.c (snprintf): Use stdarg, not VA_* macros. |
| * vasprintf.c (checkit): Use stdarg, not VA_* macros. |
| * vsnprintf.c (checkit): Use stdarg, not VA_* macros. |
| |
| 2014-01-06 Mike Frysinger <vapier@gentoo.org> |
| |
| PR other/56780 |
| * configure.ac: Delete target_header_dir assignment. |
| * configure: Regenerated. |
| |
| 2014-01-06 Gary Benson <gbenson@redhat.com> |
| |
| * cp-demangle.c (struct d_print_info): New fields |
| next_saved_scope, copy_templates, next_copy_template and |
| num_copy_templates. |
| (d_count_templates): New function. |
| (d_print_init): New parameter "dc". |
| Estimate numbers of templates and scopes required. |
| (d_print_free): Removed function. |
| (cplus_demangle_print_callback): Allocate stack for |
| templates and scopes. Removed call to d_print_free. |
| (d_copy_templates): Removed function. |
| (d_save_scope): New function. |
| (d_get_saved_scope): Likewise. |
| (d_print_comp): Replace state saving/restoring code with |
| calls to d_save_scope and d_get_saved_scope. |
| |
| 2013-12-23 Bill Maddox <maddox@google.com> |
| |
| * cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor): |
| Handle unified ctor/dtor. |
| (d_ctor_dtor_name): Handle unified ctor/dtor. |
| |
| 2013-11-22 Cary Coutant <ccoutant@google.com> |
| |
| PR other/59195 |
| * cp-demangle.c (struct d_info_checkpoint): New struct. |
| (struct d_print_info): Add current_template field. |
| (d_operator_name): Set flag when processing a conversion |
| operator. |
| (cplus_demangle_type): When processing <template-args> for |
| a conversion operator, backtrack if necessary. |
| (d_expression_1): Renamed from d_expression. |
| (d_expression): New wrapper around d_expression_1. |
| (d_checkpoint): New function. |
| (d_backtrack): New function. |
| (d_print_init): Initialize current_template. |
| (d_print_comp): Set current_template. |
| (d_print_cast): Put current_template in scope for |
| printing conversion operator name. |
| (cplus_demangle_init_info): Initialize is_expression and |
| is_conversion. |
| * cp-demangle.h (struct d_info): Add is_expression and |
| is_conversion fields. |
| * testsuite/demangle-expected: New test cases. |
| |
| 2013-11-15 Andreas Schwab <schwab@linux-m68k.org> |
| |
| * configure: Regenerate. |
| |
| 2013-11-12 Uros Bizjak <ubizjak@gmail.com> |
| |
| * cp-demangle.c (d_copy_templates): Cast result of malloc |
| to (struct d_print_template *). |
| (d_print_comp): Cast result of realloc to (struct d_saved scope *). |
| |
| 2013-10-29 Marc Glisse <marc.glisse@inria.fr> |
| |
| PR tree-optimization/58689 |
| * concat.c: Remove note about xmalloc. |
| |
| 2013-10-27 Gerald Pfeifer <gerald@pfeifer.com> |
| |
| * testsuite/test-demangle.c: Include unistd.h. |
| |
| 2013-10-25 Gary Benson <gbenson@redhat.com> |
| |
| * cp-demangle.c (struct d_saved_scope): New structure. |
| (struct d_print_info): New fields saved_scopes and |
| num_saved_scopes. |
| (d_print_init): Initialize the above. |
| (d_print_free): New function. |
| (cplus_demangle_print_callback): Call the above. |
| (d_copy_templates): New function. |
| (d_print_comp): New variables saved_templates and |
| need_template_restore. |
| [DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE]: |
| Capture scope the first time the component is traversed, and use the |
| captured scope for subsequent traversals. |
| * testsuite/demangle-expected: Add regression test. |
| |
| 2013-10-23 Gerald Pfeifer <gerald@pfeifer.com> |
| |
| * testsuite/test-expandargv.c: Include unistd.h. |
| |
| 2013-10-15 David Malcolm <dmalcolm@redhat.com> |
| |
| * configure.ac: If --enable-host-shared, use -fPIC. |
| * configure: Regenerate. |
| |
| 2013-10-11 Paul Pluzhnikov <ppluzhnikov@google.com> |
| |
| * cp-demangle.c (d_name): Demangle local-source-names. |
| * testsuite/demangle-expected: New test. |
| |
| 2013-09-10 Paolo Carlini <paolo.carlini@oracle.com> |
| |
| PR bootstrap/58386 |
| Revert: |
| |
| 2013-09-10 Gary Benson <gbenson@redhat.com> |
| |
| * cp-demangle.c: Include hashtab.h. |
| (struct d_print_info): New field saved_scopes. |
| (d_print_init): Initialize the above. |
| (d_print_free): New function. |
| (cplus_demangle_print_callback): Call the above. |
| (struct d_saved_scope): New structure. |
| (d_store_scope): New function. |
| (d_free_scope) Likewise. |
| (d_restore_scope) Likewise. |
| (d_hash_saved_scope) Likewise. |
| (d_equal_saved_scope) Likewise. |
| (d_print_comp): New variable saved_scope. |
| [DEMANGLE_COMPONENT_REFERENCE, |
| DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first |
| time the component is traversed, and use the captured scope for |
| subsequent traversals. |
| * testsuite/demangle-expected: Add regression test. |
| |
| 2013-09-10 Gary Benson <gbenson@redhat.com> |
| |
| * cp-demangle.c: Include hashtab.h. |
| (struct d_print_info): New field saved_scopes. |
| (d_print_init): Initialize the above. |
| (d_print_free): New function. |
| (cplus_demangle_print_callback): Call the above. |
| (struct d_saved_scope): New structure. |
| (d_store_scope): New function. |
| (d_free_scope) Likewise. |
| (d_restore_scope) Likewise. |
| (d_hash_saved_scope) Likewise. |
| (d_equal_saved_scope) Likewise. |
| (d_print_comp): New variable saved_scope. |
| [DEMANGLE_COMPONENT_REFERENCE, |
| DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first |
| time the component is traversed, and use the captured scope for |
| subsequent traversals. |
| * testsuite/demangle-expected: Add regression test. |
| |
| 2013-08-20 Alan Modra <amodra@gmail.com> |
| |
| * floatformat.c (floatformat_ibm_long_double): Rename to.. |
| (floatformat_ibm_long_double_big): ..this. |
| (floatformat_ibm_long_double_little): New. |
| |
| 2013-07-09 Tristan Gingold <gingold@adacore.com> |
| |
| * makefile.vms (OBJS): Add dwarfnames.obj |
| |
| 2013-05-31 Matt Burgess <matthew@linuxfromscratch.org> |
| |
| PR other/56780 |
| * configure.ac: Move test for --enable-install-libiberty |
| outside of the 'with_target_subdir' test so that it actually gets |
| run. Add output messages to show the test result. |
| * configure: Regenerate. |
| * Makefile.in (install_to_libdir): Place the |
| installation of the libiberty library in the same guard as that |
| used for the headers to prevent it being installed unless |
| requested via --enable-install-libiberty. |
| |
| 2013-05-06 David Edelsohn <dje.gcc@gmail.com> |
| Peter Bergner <bergner@vnet.ibm.com> |
| Segher Boessenkool <segher@kernel.crashing.org> |
| Jakub Jelinek <jakub@redhat.com> |
| |
| * hashtab.c (hash_pointer): Remove conditional and avoid |
| unexecuted shift equal to wordsize. |
| |
| 2013-04-22 Andi Kleen <ak@linux.intel.com> |
| |
| * hashtab.c (hash_pointer): Move to end of file and reimplement. |
| |
| 2013-04-03 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (cplus_demangle_type): Fix function quals. |
| (d_pointer_to_member_type): Simplify. |
| |
| Demangle C++11 ref-qualifier. |
| * cp-demangle.c (d_ref_qualifier): New. |
| (d_nested_name, d_function_type): Use it. |
| (d_parmlist): Don't get confused by a ref-qualifier. |
| (cplus_demangle_type): Reorder ref-qualifier. |
| (d_pointer_to_member_type): Likewise. |
| (d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and |
| DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS. |
| (d_make_comp, has_return_type, d_encoding): Likewise. |
| (d_print_comp, d_print_mod_list, d_print_mod): Likewise. |
| (d_print_function_type, is_ctor_or_dtor): Likewise. |
| |
| 2013-03-27 Kai Tietz <ktietz@redhat.com> |
| |
| * configure: Regenerated. |
| |
| 2013-03-06 Tobias Burnus <burnus@net-b.de> |
| |
| * libiberty.texi: Update comment, remove lowersections. |
| * obstacks.texi: Regenerate. |
| |
| 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
| |
| PR middle-end/56526 |
| * simple-object-mach-o.c (simple_object_mach_o_segment): Initialize |
| wrapper_sect_offset to avoid a warning. |
| |
| 2013-03-01 Andreas Schwab <schwab@linux-m68k.org> |
| |
| * obstacks.texi (Obstacks): Trim @node to only contain the |
| node name. |
| * libiberty.texi (Obstacks): Lower section. |
| |
| 2013-02-14 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DEFAULT_ARG. |
| (d_print_comp): Likewise. |
| |
| 2013-02-09 Jakub Jelinek <jakub@redhat.com> |
| |
| PR other/56245 |
| * regex.c (PTR_INT_TYPE): Define. |
| (EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE. |
| |
| 2013-01-31 Kai Tietz <ktietz@redhat.com> |
| |
| PR other/54620 |
| * sha1.c (sha1_process_block): Handle case that size_t is |
| a wider-integer-scalar as a 32-bit unsigned integer. |
| |
| PR other/53413 |
| * md5.c (md5_process_block): Handle case that size_t is |
| a wider-integer-scalar a 32-bit unsigned integer. |
| |
| 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. |
| |
| 2011-12-20 Tristan Gingold <gingold@adacore.com> |
| |
| * aclocal.m4: Assume strncmp works in cross case. |
| * configure: Regenerate |
| |
| 2011-12-19 Andreas Schwab <schwab@linux-m68k.org> |
| |
| * configure: Regenerate. |
| |
| 2011-11-07 Richard Henderson <rth@redhat.com> |
| |
| Merged from transactional-memory. |
| |
| * cp-demangle.c (cplus_demangle_fill_ctor): Accept |
| gnu_v3_object_ctor_group. |
| (cplus_demangle_fill_dtor): Accept gnu_v3_object_dtor_group. |
| (d_ctor_dtor_name): Recognize gnu_v3_object_ctor_group |
| and gnu_v3_object_dtor_group. |
| (d_dump): Handle DEMANGLE_COMPONENT_TRANSACTION_CLONE |
| and DEMANGLE_COMPONENT_NONTRANSACTION_CLONE. |
| (d_make_comp, d_print_comp): Likewise. |
| (d_special_name): Generate them. |
| |
| 2011-11-04 Jason Merrill <jason@redhat.com> |
| |
| PR c++/48370 |
| * cp-demangle.c (d_special_name, d_print_comp): Handle a |
| discriminator number on DEMANGLE_COMPONENT_REFTEMP. |
| |
| 2011-11-02 Doug Evans <dje@google.com> |
| |
| * Makefile.in (CFILES): Add timeval-utils.c. |
| (REQUIRED_OFILES): Add timeval-utils.$(objext). |
| (INSTALLED_HEADERS): Add timeval-utils.h. |
| (timeval-utils.$(objext)): Add rule. |
| |
| 2011-10-28 Ian Lance Taylor <iant@google.com> |
| |
| * setproctitle.c (setproctitle): Use "GNU/Linux" in comment. |
| |
| 2011-10-26 Iain Sandoe <iains@gcc.gnu.org> |
| |
| PR target/48108 |
| * simple-object-mach-o.c (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX, |
| GNU_WRAPPER_NAMES): New macros. |
| (simple_object_mach_o_segment): Handle wrapper scheme. |
| (simple_object_mach_o_write_section_header): Allow the segment name |
| to be supplied. |
| (simple_object_mach_o_write_segment): Handle wrapper scheme. Ensure |
| that the top-level segment name in the load command is empty. |
| (simple_object_mach_o_write_to_file): Determine the number of |
| sections during segment output, use that in writing the header. |
| |
| 2011-10-10 Ian Lance Taylor <iant@google.com> |
| |
| PR c++/48665 |
| * cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a |
| function type, change them to apply to the "this" parameter. |
| * testsuite/demangle-expected: Add test case. |
| |
| 2011-09-28 Doug Evans <dje@google.com> |
| |
| * timeval-utils.c: New file. |
| |
| * argv.c (countargv): New function. |
| |
| 2011-09-23 Cary Coutant <ccoutant@google.com> |
| |
| PR 40831 |
| * cp-demangle.c (d_make_comp): Add new component type. |
| (cplus_demangle_mangled_name): Check for clone suffixes. |
| (d_parmlist): Don't error out if we see '.'. |
| (d_clone_suffix): New function. |
| (d_print_comp): Print info for clone suffixes. |
| * testsuite/demangle-expected: Add new testcases. |
| |
| 2011-09-23 Ian Lance Taylor <iant@google.com> |
| Pierre Vittet <piervit@pvittet.com> |
| |
| * md5.c (md5_process_bytes): Correct handling of unaligned |
| buffer. |
| |
| 2011-08-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
| |
| * aclocal.m4: Include ../config/picflag.m4. |
| * configure.ac (GCC_PICFLAG): Call it. |
| (enable_shared): Clear PICFLAG unless shared. |
| * configure: Regenerate. |
| |
| 2011-08-12 Steve Ellcey <sje@cup.hp.com> |
| |
| * md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer. |
| |
| 2011-08-06 Uros Bizjak <ubizjak@gmail.com> |
| |
| * testsuite/test-expandargv.c (writeout_test): Check result of fwrite. |
| |
| 2011-08-01 Jason Merrill <jason@redhat.com> |
| |
| PR c++/49932 |
| * cp-demangle.c (d_prefix): Handle decltype. |
| * testsuite/demangle-expected: Test it. |
| |
| 2011-07-26 H.J. Lu <hongjiu.lu@intel.com> |
| |
| * testsuite/demangle-expected: Remove an extra line. |
| |
| 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 |
| offset. |
| |
| 2010-11-12 Ian Lance Taylor <iant@google.com> |
| |
| PR other/46332 |
| * cp-demangle.c (d_print_function_type): Don't print parentheses |
| if there are no modifiers to print. |
| * testsuite/demangle-expected: Tweak one test case, add another. |
| |
| 2010-11-04 Richard Henderson <rth@redhat.com> |
| |
| * configure.ac (AC_CHECK_HEADERS): Add process.h. |
| (checkfuncs): Add dup3, spawnve, spawnvpe; sort the list. |
| (AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe. |
| * configure, config.in: Rebuild. |
| * pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function. |
| [HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions. |
| |
| 2010-11-02 Ian Lance Taylor <iant@google.com> |
| Dave Korn <dave.korn.cygwin@gmail.com> |
| Iain Sandoe <iains@gcc.gnu.org> |
| |
| * simple-object.c: New file. |
| * simple-object-common.h: New file. |
| * simple-object-elf.c: New file. |
| * simple-object-mach-o.c: New file. |
| * simple-object-coff.c: New file. |
| * simple-object.txh: New file. |
| * configure.ac: Add AC_TYPE_SSIZE_T. |
| * Makefile.in: Rebuild dependencies. |
| (CFILES): Add simple-object.c, simple-object-coff, |
| simple-object-elf.c, and simple-object-mach-o.c. |
| (REQUIRED_OFILES): Add corresponding object files. |
| * configure: Rebuild. |
| * config.in: Rebuild. |
| * functions.texi: Rebuild. |
| |
| 2010-10-29 Ian Lance Taylor <iant@google.com> |
| |
| * setproctitle.c: Add space after function name in @deftypefn |
| comment. |
| * functions.texi: Rebuild. |
| |
| 2010-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| |
| * aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete. |
| * configure: Regenerate. |
| |
| 2010-10-07 Andi Kleen <ak@linux.intel.com> |
| |
| * configure: Regenerate. |
| * configure.ac: Turn PR_SET_NAME check into link check. |
| |
| 2010-10-06 Andi Kleen <ak@linux.intel.com> |
| |
| * Makefile.in (CFILES): Add setproctitle. |
| (CONFIGURED_OFILES): Add setproctitle. |
| (setproctitle): Add rule. |
| * config.in: Regenerate. |
| * configure: Regenerate. |
| * configure.ac: Add checks for prctl PR_SET_NAME and setproctitle. |
| * setproctitle.c: Add file. |
| * functions.texi: Regenerate. |
| |
| 2010-09-22 Tristan Gingold <gingold@adacore.com> |
| |
| * cplus-dem.c (ada_demangle): Add comments. |
| Handle stream and controlled type operations. |
| Decoding of some uppercase letters moved before separators. |
| * testsuite/demangle-expected: Add tests. |
| |
| 2010-09-10 James Lyon <jameslyon0@googlemail.com> |
| |
| http://sourceware.org/bugzilla/show_bug.cgi?id=11572 |
| * cp-demangle.c (d_find_pack): Add case for |
| DEMANGLE_COMPONENT_LAMBDA. |
| * testsuite/demangle-expected: Add regression test. |
| |
| 2010-09-08 Tristan Gingold <gingold@adacore.com> |
| |
| PR 44001 |
| * maint-tool (missing): Fix pattern for object file. |
| (deps): Use $(objext) for object extension. |
| * Makefile.in (objext): New variable. |
| Replace all occurences of .o with .$(objext) |
| Regenerate with maint-deps |
| * configure.ac (pexecute): Set to the basename. |
| * configure: Regenerate. |
| |
| 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> |
| |
| * pex-common.c (pex_read_err): Set stderr_pipe to -1 if a |
| corresponding stream has been opened. |
| (pex_free): Close pipe file descriptors corresponding to child's |
| stdout and stderr before waiting. |
| |
| 2010-08-13 Nick Clifton <nickc@redhat.com> |
| |
| * argv.c (expandargv): Limit the number of times that response |
| files are opened in order to prevent infinite recursion. |
| |
| 2010-07-21 Pascal Obry <obry@adacore.com> |
| |
| * make-temp-file.c (choose_tmpdir): Append a dot to P_tmpdir if needed. |
| |
| 2010-07-06 Ken Werner <ken.werner@de.ibm.com> |
| |
| * floatformat.c (floatformat_ieee_half_big): New variable. |
| (floatformat_ieee_half_little): Likewise. |
| |
| 2010-06-14 Gerald Pfeifer <gerald@pfeifer.com> |
| |
| * libiberty.texi: Remove reference to GCC 3 and 2001 (thrice). |
| Update copyright years. |
| Move to GFDL 1.3. |
| |
| 2010-06-10 Jakub Jelinek <jakub@redhat.com> |
| |
| PR other/43838 |
| * cp-demangle.c (struct d_print_info): Add flush_count field. |
| (d_print_init): Initialize it to 0. |
| (d_print_flush): Increment it. |
| (d_print_comp): If needed flush before appending ", ". Only |
| decrement dpi->len if no flushes happened during the recursive |
| call. |
| * testsuite/demangle-expected: Add a test for this. |
| |
| 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
| |
| * splay-tree.c: Update copyright years. |
| (splay_tree_new_typed_alloc): New. |
| (splay_tree_new_with_allocator): Use it. |
| |
| * hashtab.c: Update copyright years. |
| (htab_create_typed_alloc): New. |
| (htab_create_alloc): Use it. |
| |
| * functions.texi: Regenerate. |
| |
| 2010-06-03 Joern Rennecke <joern.rennecke@embecosm.com> |
| Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| |
| PR bootstrap/42798 |
| * configure.ac: Check for declaration of 'basename(char *)'. |
| * configure: Regenerate. |
| |
| 2010-05-26 Kai Tietz <kai.tietz@onevision.com> |
| |
| * testsuite/demangle-expected: Add tests for __int128 |
| and unsigned __int128 types. |
| |
| 2010-05-06 Magnus Fromreide <magfr@lysator.liu.se> |
| Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (cplus_demangle_builtin_types): Add nullptr. |
| (cplus_demangle_type): Handle nullptr. |
| * testsuite/demangle-expected: Test it. |
| |
| 2010-04-23 Pedro Alves <pedro@codesourcery.com> |
| |
| * lbasename.c (lbasename): Split into ... |
| (unix_lbasename, dos_basename): ... these. |
| (lbasename): ... and reimplement on top of them. |
| * Makefile.in (lbasename.o): Add dependency on |
| $(INCDIR)/filenames.h. |
| |
| 2010-04-07 Jakub Jelinek <jakub@redhat.com> |
| |
| * regex.c (byte_re_match_2_internal): Avoid set but not used |
| warning. |
| |
| 2010-03-22 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (d_print_mod): Use () rather than [] for vectors. |
| |
| 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| |
| * Makefile.in (all): Do not use exec. |
| |
| 2010-02-04 Tom Tromey <tromey@redhat.com> |
| |
| * testsuite/demangle-expected: Add missing --format=gnu-v3. |
| |
| 2010-02-03 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (d_expression): Handle dependent operator name. |
| |
| PR c++/12909 |
| * cp-demangle.c (d_number_component, d_vector_type): New. |
| (cplus_demangle_type, d_print_comp, d_print_mod): Handle vectors. |
| |
| 2010-01-25 Ian Lance Taylor <iant@google.com> |
| |
| * cp-demangle.c (cplus_demangle_type): Check for invalid type |
| after "DF". |
| * testsuite/demangle-expected: Add test. |
| |
| 2010-01-20 Jason Merrill <jason@redhat.com> |
| |
| PR c++/42338 |
| * cp-demangle.c (d_print_comp): Fix array index printing. |
| |
| 2010-01-11 Tristan Gingold <gingold@adacore.com> |
| |
| * 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 <iant@google.com> |
| |
| PR other/42230 |
| * cp-demangle.c (d_demangle): Return dgs.alc on success. |
| |
| 2010-01-04 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| |
| PR target/42316 |
| * configure.ac (PICFLAG): Use -fPIC on SH hosts. |
| * configure: Regenerate. |
| |
| 2009-12-07 Doug Evans <dje@google.com> |
| |
| * pex-unix.c (pex_unix_exec_child): Save/restore environ. |
| |
| 2009-11-26 Ben Elliston <bje@au.ibm.com> |
| |
| * configure.ac (AC_CHECK_FUNCS): Sort into alphabetic order. |
| * configure: Regenerate. |
| |
| 2009-11-25 Ben Elliston <bje@au.ibm.com> |
| |
| * functions.texi: Rebuild. |
| |
| 2009-11-25 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
| Ben Elliston <bje@au.ibm.com> |
| |
| * README: Mention changes to Makefile.in and functions.texi. |
| * gather-docs: Mention 'make stamp-functions' in the header. |
| |
| 2009-11-23 Ben Elliston <bje@au.ibm.com> |
| Ian Lance Taylor <iant@google.com> |
| |
| * 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 <planet36@gmail.com> |
| |
| * dyn-string.c (dyn_string_append_char): Fix typo in comment. |
| |
| 2009-11-20 Ben Elliston <bje@au.ibm.com> |
| |
| * 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 <dgutson@codesourcery.com> |
| Daniel Jacobowitz <dan@codesourcery.com> |
| Pedro Alves <pedro@codesourcery.com> |
| |
| * 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 <martint@google.com> |
| |
| * regex.c (byte_re_match_2_internal): Split declaration and |
| assignment to avoid -Wc++-compat warning due to goto. |
| |
| 2009-09-29 Jason Merrill <jason@redhat.com> |
| |
| * 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 <gingell@adacore.com> |
| |
| * cplus-dem.c (ada_demangle): Ensure demangled is freed. |
| |
| 2009-09-22 Ozkan Sezer <sezeroz@gmail.com> |
| |
| * choose-temp.c: Include unistd.h for mingw targets. |
| |
| 2009-09-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
| |
| * hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>. |
| |
| 2009-09-15 Tristan Gingold <gingold@adacore.com> |
| |
| * config.h-vms (intptr_t): Define to compile hashtab.c |
| |
| 2009-09-04 Ozkan Sezer <sezeroz@gmail.com> |
| |
| 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 <sezeroz@gmail.com> |
| |
| 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 <gingold@adacore.com> |
| |
| * 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 <Ralf.Wildenhues@gmx.de> |
| |
| * configure.ac (AC_PREREQ): Bump to 2.64. |
| |
| 2009-08-23 H.J. Lu <hongjiu.lu@intel.com> |
| |
| PR ld/10536 |
| * Makefile.in (install-html-recursive): Removed. |
| |
| 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| |
| * config.in: Regenerate. |
| * configure: Regenerate. |
| |
| 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| |
| * Makefile.in (AUTOCONF, configure_deps): New variables. |
| ($(srcdir)/configure): New rule, active only in maintainer mode. |
| |
| 2009-07-29 Douglas B Rupp <rupp@gnat.com> |
| |
| * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS. |
| |
| 2009-07-27 Douglas B Rupp <rupp@gnat.com> |
| |
| * 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 <iant@google.com> |
| |
| PR bootstrap/40854 |
| * crc32.c (xcrc32): Rename from crc32. |
| |
| 2009-07-24 Ian Lance Taylor <iant@google.com> |
| |
| * 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 <jan.kratochvil@redhat.com> |
| |
| * cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>) |
| (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New. |
| (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>) |
| (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New. |
| (d_demangle_callback): The variable type is now declared as enum. |
| Replace parser of _GLOBAL_ symbols by a d_make_comp call. |
| |
| 2009-06-21 Jakub Jelinek <jakub@redhat.com> |
| |
| * hashtab.c (htab_traverse): Don't call htab_expand for |
| nearly empty hashtabs with sizes 7, 13 or 31. |
| |
| 2009-06-16 Nick Clifton <nickc@redhat.com> |
| |
| 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 <eliz@gnu.org> |
| |
| * snprintf.c: Doc fix. |
| |
| * vsnprintf.c: Doc fix. |
| |
| 2009-05-29 Kai Tietz <kai.tietz@onevision.com> |
| |
| * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false. |
| |
| 2009-05-29 Michael Matz <matz@suse.de> |
| |
| * 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 <gingold@adacore.com> |
| |
| * 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 <iant@google.com> |
| Ben Elliston <bje@au.ibm.com> |
| |
| * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug. |
| (cplus_demangle_fill_dtor): Likewise. |
| |
| 2009-05-17 Julian Brown <julian@codesourcery.com> |
| |
| * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing |
| standard handles (stdin, stdout, stderr) in parent. |
| |
| 2009-04-29 Julian Brown <julian@codesourcery.com> |
| |
| * 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 <eliz@gnu.org> |
| |
| * 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 <eliz@gnu.org> |
| |
| * 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 <sezeroz@gmail.com> |
| |
| 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 <apatard@mandriva.com> |
| |
| * configure.ac: Fix Linux/MIPS matching rule. |
| * configure: Regenerate. |
| |
| 2009-03-27 Ian Lance Taylor <iant@google.com> |
| |
| * 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 <jason@redhat.com> |
| |
| * 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 <jason@redhat.com> |
| |
| * 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: Update tests. |
| |
| 2009-02-21 Mark Mitchell <mark@codesourcery.com> |
| |
| * make-temp-file.c (<windows.h>): Include on Windows. |
| (choose_tmpdir): On Windows, use GetTempPath. |
| |
| 2009-01-18 Dave Korn <dave.korn.cygwin@gmail.com> |
| |
| * 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 <jason@redhat.com> |
| |
| * cp-demangle.c (d_expression): Remove mangling for zero-op casts. |
| |
| 2009-01-06 Ben Elliston <bje@au.ibm.com> |
| |
| * cp-demangle.c (cplus_demangle_type): Return NULL if the |
| character following a 'D' cannot be recognised. |
| |
| 2008-12-18 Jason Merrill <jason@redhat.com> |
| |
| PR c++/38561 |
| * cp-demangle.c (d_expression, d_print_comp): Revert |
| cast changes. |
| |
| 2008-12-17 Jason Merrill <jason@redhat.com> |
| |
| * 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 <jason@redhat.com> |
| |
| * cp-demangle.c (cplus_demangle_type): Support fixed-point types. |
| (d_print_comp, d_dump): Likewise. |
| |
| 2008-10-22 Daniel Jacobowitz <dan@codesourcery.com> |
| |
| * Makefile.in (CPPFLAGS): Define. |
| (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS. |
| |
| 2008-10-15 Paolo Bonzini <bonzini@gnu.org> |
| |
| 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 <edelsohn@gnu.org> |
| |
| * xstrdup.c: Include <sys/types.h> after "config.h" |
| |
| 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
| |
| * configure.ac: Call AC_SYS_LARGEFILE. |
| * config.in: Regenerated. |
| * configure: Likewise. |
| |
| 2008-10-06 Jason Merrill <jason@redhat.com> |
| |
| * 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 <jason@redhat.com> |
| |
| * 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 <aaronavay62@aaronwl.com> |
| |
| * pex-win32.c (argv_to_argc): New function. |
| (spawn_script): Duplicate argv before calling win32_spawn. |
| |
| 2008-07-31 Jakub Jelinek <jakub@redhat.com> |
| |
| * mkstemps.c (mkstemps): Keep looping even for EISDIR. |
| |
| 2008-07-31 Denys Vlasenko <dvlasenk@redhat.com> |
| |
| * 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 <Ralf.Wildenhues@gmx.de> |
| |
| * 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 <ebb9@byu.net> |
| |
| Adjust strsignal to POSIX 200x prototype. |
| * strsignal.c (strsignal): Remove const. |
| |
| 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| |
| * configure: Regenerate. |
| |
| 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| |
| * libiberty.texi: Expand TABs, drop indentation outside examples. |
| * obstacks.texi: Likewise. |
| |
| 2008-04-21 Aurelien Jarno <aurelien@aurel32.net> |
| |
| * configure.ac: use -fPIC on Linux/MIPS hosts. |
| * configure: Regenerate. |
| |
| 2008-04-18 Kris Van Hees <kris.van.hees@oracle.com> |
| |
| * testsuite/demangle-expected: Added tests for char16_t and char32_t. |
| |
| 2008-04-18 Paolo Bonzini <bonzini@gnu.org> |
| |
| PR bootstrap/35457 |
| * aclocal.m4: Add override.m4. |
| * configure: Regenerate. |
| |
| 2008-03-31 Ian Lance Taylor <iant@google.com> |
| |
| * cp-demangle.c (d_substitution): Correct overflow check to avoid |
| -fstrict-overflow optimizations. |
| |
| 2008-03-27 Paolo Bonzini <bonzini@gnu.org> |
| |
| * 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 <iant@google.com> |
| |
| * sha1.c: New file, from gnulib. |
| * Makefile.in: Rebuild dependencies. |
| (CFILES): Add sha1.c. |
| (REQUIRED_OFILES): Add sha1.o. |
| |
| 2008-03-24 Doug Evans <dje@google.com> |
| |
| * make-relative-prefix.c (make_relative_prefix_1): Handle NULL |
| return from strdup. |
| |
| 2008-03-12 Seongbae Park <seongbae.park@gmail.com> |
| |
| * cplus-dem.c (malloc, realloc): Use void * instead of char * |
| as return type. |
| |
| 2008-03-11 Nick Clifton <nickc@redhat.com> |
| |
| * md5.c (md5_process_bytes): Do not assume that memcpy will |
| provide a return value. |
| |
| 2008-02-19 Ben Elliston <bje@au.ibm.com> |
| |
| PR other/12618 |
| * testsuite/Makefile.in (mostlyclean): Remove any core file. |
| |
| 2008-01-26 David Daney <ddaney@avtrex.com> |
| |
| * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, |
| DEMANGLE_COMPONENT_COMPOUND_NAME, and |
| DEMANGLE_COMPONENT_CHARACTER cases. |
| (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and |
| DEMANGLE_COMPONENT_JAVA_RESOURCE cases. |
| (d_make_character): New function. |
| (d_java_resource): Same. |
| (d_special_name): Handle "Gr" case. |
| (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, |
| DEMANGLE_COMPONENT_COMPOUND_NAME, and |
| DEMANGLE_COMPONENT_CHARACTER cases. |
| * testsuite/demangle-expected: Add test for java resource name |
| mangling. |
| |
| 2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| |
| * cplus-dem.c (demangle_function_name): Changed to return value |
| indicating if a name was correctly demangled. |
| (iterate_demangle_function): Use demangle_function_name return |
| value. |
| |
| 2008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
| |
| PR other/33768 |
| * splay-tree.c (rotate_left): Fix minor typo in comment. |
| (rotate_right): Likewise. |
| |
| 2007-11-12 Joseph Myers <joseph@codesourcery.com> |
| |
| * floatformat.c (floatformat_ibm_long_double_is_valid): Fix |
| compiler warnings. |
| (floatformat_ibm_long_double): Use |
| floatformat_ibm_long_double_is_valid. |
| |
| 2007-11-07 Joseph Myers <joseph@codesourcery.com> |
| Daniel Jacobowitz <dan@codesourcery.com> |
| |
| * floatformat.c (mant_bits_set): New. |
| (floatformat_to_double): Use it. Note no special handling of |
| split formats. |
| (floatformat_from_double): Note no special handing of split |
| formats. |
| (floatformat_ibm_long_double_is_valid, |
| floatformat_ibm_long_double): New. |
| (floatformat_ieee_single_big, floatformat_ieee_single_little, |
| floatformat_ieee_double_big, floatformat_ieee_double_little, |
| floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f, |
| floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext, |
| floatformat_m68881_ext, floatformat_i960_ext, |
| floatformat_m88110_ext, floatformat_m88110_harris_ext, |
| floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword, |
| floatformat_ia64_spill_big, floatformat_ia64_spill_little, |
| floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update |
| for addition of split_half field. |
| |
| 2007-09-06 Tom Tromey <tromey@redhat.com> |
| |
| * pexecute.txh (pex_free): Document process killing. |
| |
| 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> |
| |
| * cp-demangle.c (d_dump): Handle |
| DEMANGLE_COMPONENT_RVALUE_REFERENCE. |
| (d_make_comp): Ditto. |
| (cplus_demangle_type): Ditto. |
| (d_print_comp): Ditto. |
| (d_print_mod): Ditto. |
| (d_print_function_type): Ditto. |
| |
| 2007-08-24 Kai Tietz <kai.tietz@onevision.com> |
| |
| * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t. |
| * pex-djgpp.c: Likewise. |
| * pex-msdos.c: Likewise. |
| * pex-unix.c: Likewise. |
| * pex-win32.c: Likewise. |
| |
| 2007-08-17 Michael Snyder <msnyder@access-company.com> |
| |
| * make-relative-prefix.c (make_relative_prefix_1): Resource leaks. |
| |
| 2007-08-03 Michael Snyder <msnyder@access-company.com> |
| |
| * make-relative-prefix.c (make_relative_prefix_1): Fix resource |
| leak. |
| |
| 2007-07-31 Michael Snyder <msnyder@access-company.com> |
| |
| * cp-demangle.c (d_print_comp): Guard against null. |
| |
| 2007-07-25 Ben Elliston <bje@au.ibm.com> |
| |
| * Makefile.in (CFILES): Remove ternary.c. |
| (REQUIRED_OFILES): Remove ./ternary.o. |
| (INSTALLED_HEADERS): Remove ternary.h. |
| (ternary.o): Remove. |
| * ternary.c: Remove. |
| |
| 2007-07-23 DJ Delorie <dj@redhat.com> |
| |
| * argv.c (writeargv): Fix typo in inline documentation. |
| * functions.texi: Regenerate. |
| |
| 2007-07-17 DJ Delorie <dj@redhat.com> |
| |
| * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate |
| gettimeofday entry. |
| * configure: Likewise. |
| |
| 2007-07-11 Alexandre Oliva <aoliva@redhat.com> |
| |
| * maint-tool (deps): Output stamp-h instead of config.h. |
| * Makefile.in: Rebuild deps. |
| (maintainer-clean-subdir): Depend on stamp-h rather than config.h. |
| |
| 2007-07-02 Simon Baldwin <simonb@google.com> |
| |
| * argv.c (writeargv): Removed declaration of unused variable. |
| |
| 2007-06-14 Paolo Bonzini <bonzini@gnu.org> |
| |
| * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too. |
| * configure: Regenerate. |
| |
| 2007-06-14 Paolo Bonzini <bonzini@gnu.org> |
| |
| * aclocal.m4: Include config/warnings.m4. |
| * configure.ac: Use ACX_PROG_CC_WARNING_OPTS. |
| * configure: Regenerate. |
| |
| 2007-06-07 Geoffrey Keating <geoffk@apple.com> |
| |
| * configure.ac: Non-default multilibs can be cross compilations. |
| * configure: Regenerate |
| |
| 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> |
| |
| * argv.c (writeargv): New function. |
| |
| 2007-05-05 Geoffrey Keating <geoffk@apple.com> |
| |
| * cp-demangle.c (d_name): Detect local-source-name. |
| (d_prefix): Likewise. |
| (d_unqualified_name): Implement local-source-name. |
| |
| 2007-05-03 Joel Brobecker <brobecker@adacore.com> |
| |
| * filename_cmp.c: Replace include of ctype.h by include of |
| safe-ctype.h. |
| (filename_cmp): Use TOLOWER instead of tolower for conversions |
| that are locale-independent. |
| * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h. |
| |
| 2007-04-11 Thomas Neumann <tneumann@users.sourceforge.net> |
| |
| * argv.c: Use ANSI C declarations. |
| * make-relative-prefix.c: Likewise. |
| |
| 2007-04-06 Joel Brobecker <brobecker@adacore.com> |
| |
| * filename_cmp.c (filename_cmp): Improve documentation. |
| |
| 2007-04-02 Andreas Schwab <schwab@suse.de> |
| |
| * filename_cmp.c: Include "config.h". |
| |
| 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
| |
| * filename_cmp.c: New file. |
| * Makefile.in (CFILES): Add filename_cmp.c. |
| (REQUIRED_OFILES): Add filename_cmp.o |
| (filename_cmp.o): New rule. |
| * functions.texi: Regenerate. |
| |
| 2007-03-15 Geoffrey Keating <geoffk@apple.com> |
| |
| * cp-demangle.c (d_encoding): Exit early on error. |
| (d_pointer_to_member_type): Exit early if cplus_demangle_type |
| returns NULL. |
| (cplus_demangle_type): Likewise. |
| * testsuite/demangle-expected: New testcase. |
| |
| 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> |
| |
| * Makefile.in: Add install-pdf target as copied from |
| automake v1.10 rules. |
| * testsuite/Makefile.in: Add dummy install-pdf target. |
| |
| 2007-03-01 Peter Breitenlohner <peb@mppmu.mpg.de> |
| Eric Botcazou <ebotcazou@libertysurf.fr> |
| |
| PR other/16513 |
| * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR). |
| Install headers in multilib independent location. |
| |
| 2007-02-26 DJ Delorie <dj@redhat.com> |
| |
| * configure.ac: add djgpp-specific results, so we don't have to |
| link during a cross compilation. |
| * configure: Regenerated. |
| |
| 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| |
| * hex.c: Fix typo. |
| * choose-temp.c: Likewise. |
| * functions.texi: Regenerate. |
| |
| 2007-01-31 Vladimir Prus <vladimir@codesourcery.com> |
| |
| * pex-common.h (struct pex_obj): New fields |
| stderr_pipe and read_err. |
| * pex-common.c (pex_init_common): Initialize |
| stderr_pipe. |
| (pex_run_in_environment): Add error checking |
| for PEX_STDERR_TO_PIPE. Create a pipe |
| for stderr if necessary. |
| (pex_read_err): New. |
| (pex_free): Close read_err. |
| * pexecute.txh: Document changes. |
| * functions.texi: Regenerated. |
| |
| 2007-01-31 Ben Elliston <bje@au.ibm.com> |
| |
| * strsignal.c (psignal): Change type of signo to int. |
| * functions.texi: Regenerate. |
| |
| 2007-01-29 Simon Baldwin <simonb@google.com> |
| |
| * cp-demangle.h (cplus_demangle_operators): External definition |
| suppressed if not building for libstdc++. |
| * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface |
| to demangling, provides a malloc-less version of __cxa_demangle. |
| (cplus_demangle_print_callback): Public callback version of |
| cplus_demangle_print. |
| (struct d_growable_string): New growable string structure. |
| (d_growable_string_init): New function, provides support for |
| growable strings separate from print info. |
| (d_growable_string_resize): Likewise. |
| (d_growable_string_append_buffer): Likewise. |
| (d_growable_string_callback_adapter):): Likewise. |
| (d_print_init): New print info initialization function. |
| (d_print_error): Macro replace by inline function. |
| (d_print_saw_error): Likewise. |
| (d_append_char): Likewise. |
| (d_append_buffer): Likewise. |
| (d_append_string): New inline function, replaces the |
| d_append_string_constant macro. |
| (d_flush_buffer): New function, flushes buffer to callback. |
| (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback |
| for unsupported dynamic arrays replaced by alloca(). |
| (d_demangle): Return string length estimating removed. |
| (d_dump): Moved error case handling from call site into function. |
| (d_print_resize): Function removed. |
| (d_print_append_char): Likewise. |
| (d_print_append_buffer): Likewise. |
| (d_print_error): Likewise. |
| (d_print_comp): Added special case handling for Java arrays. |
| (java_demangle_v3): Removed string post-processing for Java arrays, |
| now replaced by special case handling in d_print_comp. |
| (cplus_demangle_v3_callback): Augmented interface to demangling, |
| provides a malloc-less version of cplus_demangle_v3. |
| (java_demangle_v3_callback): Augmented interface to demangling, |
| provides a malloc-less version of java_demangle_v3. |
| |
| 2007-01-12 Ben Elliston <bje@au.ibm.com> |
| |
| * pex-unix.c (writeerr): Cast write result to void. |
| |
| * choose-temp.c (choose_temp_base): Check the result of the call |
| to mktemp rather than testing the length of the modified string. |
| |
| 2006-12-20 Geoffrey Keating <geoffk@apple.com> |
| |
| * cp-demangle.h: Add comment explaining what to do to avoid |
| overrunning string. |
| (d_check_char): New. |
| (d_next_char): Don't advance past trailing '\0'. |
| * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char. |
| (d_nested_name): Likewise. |
| (d_special_name): Likewise. |
| (d_call_offset): Likewise. |
| (d_function_type): Likewise. |
| (d_array_type): Likewise. |
| (d_pointer_to_member_type): Likewise. |
| (d_template_param): Likewise. |
| (d_template_args): Likewise. |
| (d_template_arg): Likewise. |
| (d_expr_primary): Likewise. |
| (d_local_name): Likewise. |
| (d_substitution): Likewise. |
| (d_ctor_dtor_name): Use d_advance rather than d_next_char. |
| * testsuite/test-demangle.c: Include sys/mman.h. |
| (MAP_ANONYMOUS): Define. |
| (protect_end): New. |
| (main): Use protect_end. |
| * testsuite/demangle-expected: Add testcases for overrunning |
| the end of the string. |
| |
| 2006-11-30 Andrew Stubbs <andrew.stubbs@st.com> |
| J"orn Rennecke <joern.rennecke@st.com> |
| |
| PR driver/29931 |
| * make-relative-prefix.c (make_relative_prefix_1): New function, |
| broken out of make_relative_prefix. Make link resolution dependent |
| on new parameter. |
| (make_relative_prefix): Use make_relative_prefix_1. |
| (make_relative_prefix_ignore_links): New function. |
| |
| 2006-11-08 Vladimir Prus <vladimir@codesourcery.com> |
| |
| * pex-win32.c (no_suffixes): Remove. |
| (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 <julian@codesourcery.com> |
| |
| * floatformat.c (get_field): Fix segfault with little-endian word |
| order on 64-bit hosts. |
| (put_field): Likewise. |
| (min): Move definition. |
| |
| 2006-10-26 Danny Smith <dannysmith@users.sourceforge.net> |
| |
| pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC. |
| (find_executable): Likewise. |
| (win32_spawn): Cast alloca return to (char**). |
| Replace malloc with XNEWVEC. |
| bcopy.c (bcopy): Add explict casts in assignments. |
| |
| 2006-10-25 Ben Elliston <bje@au.ibm.com> |
| |
| * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}. |
| |
| 2006-10-10 Brooks Moses <bmoses@stanford.edu> |
| |
| * Makefile.in: Added "pdf", "libiberty.pdf" target support. |
| * testsuite/Makefile.in: Added empty "pdf" target. |
| |
| 2006-09-22 Ian Lance Taylor <ian@airs.com> |
| |
| PR other/29176 |
| * cp-demangle.c (d_substitution): Check for overflow when |
| computing substitution index. |
| |
| 2006-08-30 Corinna Vinschen <corinna@vinschen.de> |
| |
| * configure.ac: Add case for Mingw as host. |
| * configure: Regenerate. |
| |
| 2006-08-27 Ian Lance Taylor <ian@airs.com> |
| |
| PR driver/27622 |
| * pex-common.h (struct pex_funcs): Add toclose parameter to |
| exec_child field. |
| * pex-common.c (pex_run_in_environment): Pass toclose to |
| exec_child. |
| * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter. |
| * pex-unix.c (pex_unix_exec_child): Likewise. |
| * pex-msdos.c (pex_msdos_exec_child): Likewise. |
| * pex-win32.c (pex_win32_exec_child): Likewise. |
| |
| PR other/28797 |
| * cp-demangle.c (d_pointer_to_member_type): Do add a substitution |
| for a qualified member which is not a function. |
| * testsuite/demangle-expected: Add test case. |
| |
| 2006-07-27 Jan Hubicka <jh@suse.cz> |
| |
| PR rtl-optimization/28071 |
| * hashtab.c (htab_empty): Clear out n_deleted/n_elements; |
| downsize the hashtable. |
| |
| 2006-07-04 Peter O'Gorman <peter@pogma.com> |
| |
| * Makefile.in: chmod 644 before ranlib during install. |
| |
| 2006-06-02 Mark Shinwell <shinwell@codesourcery.com> |
| |
| * pex-unix.c (pex_unix_exec_child): Insert cast when assigning |
| to environ. |
| |
| 2006-06-01 Mark Shinwell <shinwell@codesourcery.com> |
| |
| * pex-common.c: New function pex_run_in_environment. |
| * pex-common.h: Add environment parameter to exec_child. |
| * pex-msdos.c: Add environment parameter to pex_msdos_exec_child. |
| * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child. |
| (pex_djgpp_exec_child): Pass environment to child process. |
| * pex-unix.c: Add environment parameter to pex_unix_exec_child. |
| (pex_unix_exec_child): Pass environment to child process. |
| * pex-win32.c: Add environment parameter to pex_win32_exec_child. |
| New function env_compare for comparing VAR=VALUE pairs. |
| (win32_spawn): Assemble environment block and pass to CreateProcess. |
| (spawn_script): Pass environment through to win32_spawn. |
| (pex_win32_exec_child): Pass environment through to spawn_script and |
| win32_spawn. |
| * functions.texi: Regenerate. |
| * pexecute.txh: Document pex_run_in_environment. |
| |
| 2006-05-28 Mark Shinwell <shinwell@codesourcery.com> |
| |
| * mkstemps.c: Open temporary files in binary mode. |
| |
| 2006-05-12 Anton Blanchard <anton@samba.org> |
| |
| * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to |
| hold "int%u_t". |
| |
| 2006-04-24 Julian Brown <julian@codesourcery.com> |
| |
| * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case. |
| |
| 2006-03-29 Jim Blandy <jimb@codesourcery.com> |
| |
| * pex-common.c (pex_input_file, pex_input_pipe): New functions. |
| (pex_init_common): Initialize obj->input_file. |
| (pex_run): Close any file opened by pex_input_file. |
| * pexecute.txh (pex_input_file, pex_input_pipe): New docs. |
| * pex-common.h (struct pex_obj): New field input_file. |
| (struct pex_funcs): New function ptr fdopenw. |
| * pex-unix.c (pex_unix_fdopenw): New function. |
| (funcs): List it as our fdopenw function. |
| * pex-win32.c (pex_win32_fdopenw): New function. |
| (funcs): List it as our fdopenw function. |
| * pex-djgpp.c (funcs): Leave fdopenw null. |
| * pex-msdos (funcs): Same. |
| * functions.texi: Regenerated. |
| |
| 2006-04-10 Jim Blandy <jimb@codesourcery.com> |
| |
| * pex-common.c (temp_file): New function, containing guts of |
| pex-style temporary file name generation. |
| (pex_run): Use it. |
| |
| 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> |
| |
| * Makefile.in: Add install-html, install-html-am, and |
| 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. |
| |
| 2006-03-31 Mark Mitchell <mark@codesourcery.com> |
| |
| * pex-win32.c (<errno.h>): Include. |
| (fix_argv): Remove. |
| (argv_to_cmdline): New function. |
| (std_suffixes): New variable. |
| (no_suffixes): Likewise. |
| (find_executable): New function. |
| (win32_spawn): Likewise. |
| (spawn_script): Use win32_spawn instead of _spawnv[p]. |
| (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls. |
| (pex_win32_wait): Likewise. |
| |
| 2006-03-24 Jim Blandy <jimb@codesourcery.com> |
| |
| * pex-common.c (pex_run): Simplify output name handling. |
| |
| 2006-03-12 Jim Blandy <jimb@red-bean.com> |
| |
| * pex-common.h (struct pex_obj): Doc fixes. |
| |
| 2006-03-11 Jim Blandy <jimb@red-bean.com> |
| |
| * functions.texi: Regenerate. |
| |
| 2006-02-21 Ben Elliston <bje@au.ibm.com> |
| |
| * pexecute.c (pwait): Syntax fix for previous change. |
| |
| 2006-02-17 Uttam Pawar <uttamp@us.ibm.com> |
| |
| * pexecute.c (pwait): Free vector pointer. |
| * partition.c (partition_print): Free class_elements pointer. |
| |
| 2006-02-11 Roger Sayle <roger@eyesopen.com> |
| R. Scott Bailey <scott.bailey@eds.com> |
| Bill Northcott <w.northcott@unsw.edu.au> |
| |
| PR bootstrap/16787 |
| * floatformat.c: Include <float.h> where available. |
| (NAN): Use value of DBL_QNAN if defined, and NAN isn't. |
| |
| 2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where |
| supported. |
| * configure: Regenerated. |
| |
| 2006-01-20 Carlos O'Donell <carlos@codesourcery.com> |
| |
| * testsuite/Makefile.in: Add test-expandargv test. |
| * testsuite/test-expandargv.c: New test. |
| * argv.c (expandargv): Check for errors with ferror, |
| rather than just by looking at return value from fread. |
| |
| 2005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast |
| to convert from "from". |
| (floatformat_to_double): Likewise. |
| (floatformat_from_double): Use explicit cast to convert from "to". |
| |
| 2005-12-10 Terry Laurenzo <tlaurenzo@gmail.com> |
| |
| PR java/9861 |
| * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer |
| and include return type when found. |
| (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add |
| conditional logic to change printing order of return type.when |
| the DMGL_RET_POSTFIX option is present. |
| (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle |
| call. |
| * 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 <rguenther@suse.de> |
| |
| * splay-tree.c (rotate_left): New function. |
| (rotate_right): Likewise. |
| (splay_tree_splay_helper): Remove. |
| (splay_tree_splay): Re-implement. |
| |
| 2005-10-31 Mark Kettenis <kettenis@gnu.org> |
| |
| * floatformat.c (floatformat_vax_aingle, floatformat_vax_double): |
| New variables. |
| |
| 2005-10-07 Mark Mitchell <mark@codesourcery.com> |
| |
| * at-file.texi: Fix typo. |
| |
| 2005-10-03 Mark Mitchell <mark@codesourcery.com> |
| |
| * at-file.texi: New file. |
| |
| 2005-09-27 Mark Mitchell <mark@codesourcery.com> |
| |
| * argv.c (expandargv): Do not use xmalloc_failed. |
| |
| 2005-09-26 Mark Mitchell <mark@codesourcery.com> |
| |
| * argv.c (safe-ctype.h): Include it. |
| (ISBLANK): Remove. |
| (stdio.h): Include. |
| (buildargv): Use ISSPACE instead of ISBLANK. |
| (expandargv): New function. |
| * Makefile.in: Regenerated. |
| |
| 2005-09-14 Christopher Faylor <cgf@timesys.com> |
| |
| * pex-win32.c: Include "windows.h". |
| (backslashify): New function. |
| (fix_argv): Use backslashify to convert path to windows format. |
| Allocate one more place in new argv for potential executable from '#!' |
| parsing. |
| (tack_on_executable): New function. Conditional on USE_MINGW_MSYS |
| (openkey): Ditto. |
| (mingw_rootify): Ditto. |
| (msys_rootify): Ditto. |
| (spawn_script): New function. |
| (pex_win32_exec_child): Save translated argv in newargv. Pass to |
| spawn_script if spawnv* fails. |
| (main): New function. Conditional on MAIN. Useful for testing. |
| |
| 2005-08-17 Mark Kettenis <kettenis@gnu.org> |
| |
| * floatformat.c (floatformat_always_valid): Change type of last |
| argument to `void *'. |
| (floatformat_i387_ext_is_valid): Likewise. |
| (floatformat_to_double): Change type of second argument to `const |
| void *'. |
| (floatformat_from_double): Change type of last argument to `void |
| *'. |
| (floatformat_is_valid): Change type of last argument to `const |
| void *'. |
| (ieee_test): Remove redundant casts. |
| |
| 2005-08-17 Kelley Cook <kcook@gcc.gnu.org> |
| |
| * strverscmp.c: Update FSF address. |
| * testsuite/Makefile.in: Likewise. |
| * testsuite/test-demangle.c: Likewise. |
| * testsuite/test-pexecute.c: Likewise. |
| |
| 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| |
| * getopt.c: Include ansidecl.h before system headers. |
| |
| 2005-07-22 Ben Elliston <bje@gnu.org> |
| |
| * getopt.c: Include "ansidecl.h". |
| (_getopt_initialize): Mark argc and argv parameters as unused. |
| |
| 2005-07-22 Ben Elliston <bje@gnu.org> |
| |
| * regex.c (regcomp): Change type of `i' from unsigned to int. |
| |
| 2005-07-22 Ben Elliston <bje@gnu.org> |
| |
| Recover patch lost in the sourceware repository: |
| 2005-07-09 Ben Elliston <bje@au.ibm.com> |
| * memcpy.c: Remove ANSI_PROTOTYPES conditional code. |
| * memmove.c: Likewise. |
| * objalloc.c: Likewise. |
| |
| 2005-07-22 Ben Elliston <bje@gnu.org> |
| |
| * configure.ac: Check for a getopt(3) declaration. |
| * configure, config.in: Regenerate. |
| |
| 2005-07-15 Ben Elliston <bje@au.ibm.com> |
| |
| * regex.c (TRANSLATE): Cast rhs of ternary expression to char. |
| |
| 2005-07-12 Ben Elliston <bje@au.ibm.com> |
| |
| * floatformat.c (floatformat_to_double): Add a comment about a |
| potential source of warnings when compiling this file. |
| |
| 2005-07-12 Ben Elliston <bje@au.ibm.com> |
| |
| * pexecute.c (pexecute): Cast string litrals to char *. |
| * regex.c (re_comp): Cast a call to gettext() to char *. |
| |
| 2005-07-07 Kelley Cook <kcook@gcc.gnu.org> |
| |
| * config.table: Delete file. Move former contents into ... |
| * configure.ac: ... here and escape any brackets for m4. |
| * Makefile.in (config.status): Remove dependency on config.table. |
| * configure: Regenerate. |
| |
| 2005-07-07 Kelley Cook <kcook@gcc.gnu.org> |
| |
| * config.in: Regenerate for 6/20 change. |
| |
| 2005-07-03 Steve Ellcey <sje@cup.hp.com> |
| |
| PR other/13906 |
| * md5.c (md5_process_bytes): Check alignment. |
| |
| 2005-07-01 Ian Lance Taylor <ian@airs.com> |
| |
| PR other/22268 |
| * cp-demangle.c (d_expr_primary): Don't run off the end of the |
| string while looking for the end of a literal value. |
| * testsuite/demangle-expected: Add test case. |
| |
| 2005-06-30 Daniel Berlin <dberlin@dberlin.org> |
| |
| * hashtab.c (EMPTY_ENTRY): Moved and renamed. |
| (DELETED_ENTRY): Ditto. |
| |
| 2005-06-20 Geoffrey Keating <geoffk@apple.com> |
| |
| * strverscmp.c: New. |
| * Makefile.in (CFILES): Add strverscmp.c. |
| (CONFIGURED_OFILES): Add strverscmp.o. |
| (strverscmp.o): New rule. |
| (stamp-functions): Add $(srcdir) to files in source directory. |
| * configure.ac (funcs): Add strverscmp. |
| (AC_CHECK_FUNCS): Add strverscmp. |
| * configure: Regenerate. |
| * functions.texi: Regenerate. |
| |
| 2005-05-28 Eli Zaretskii <eliz@gnu.org> |
| |
| * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS. |
| * config.in, configure: Regenerate. |
| |
| 2005-05-25 Richard Henderson <rth@redhat.com> |
| |
| * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS. |
| (d_make_comp, d_print_comp): Likewise. |
| (d_special_name): Generate one. |
| * testsuite/demangle-expected: Add a hidden alias test. |
| |
| 2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| * configure.ac: Check declarations for calloc(), getenv(), |
| malloc(), realloc() and sbrk(). |
| * config.in: Regenerate. |
| * configure: Likewise. |
| |
| * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC |
| instead of xmalloc. |
| * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc. |
| * concat.c (liiberty_concat_ptr): Surround definition with an |
| extern "C" block, if __cplusplus. |
| (concat): Use XNEWVEC instead of xmalloc. |
| (reconcat): Likewise. |
| * cp-demangle.c (struct d_print_template): Rename member |
| "template" to "template_decl". Adjust use throughout the file. |
| (d_print_resize): Properly cast return value of realloc(). |
| (cplus_demangle_print): Same for malloc(). |
| (d_demangle): Likewise. |
| * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter |
| "typename" to "type_name". |
| * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc(). |
| (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc(). |
| (demangle_template_value_parm): Likewise. |
| (demangle_template): Likewise. |
| (recursively_demangle): Likewise. |
| (do_hpacc_template_literal): Likewise. |
| (do_arg): Likewise. |
| (remember_type): Likewise. |
| (remember_Ktype): Likewise. |
| (register_Btype): Likewise. |
| (string_need): Use XRESIZEVEC instead of xrealloc(). |
| * dyn-string.c (dyn_string_init): Use XNEWVEC. |
| (dyn_string_new): Use XNEW. |
| (dyn_string_resize): Use XRESIZEVEC. |
| * fnmatch.c (fnmatch): Rename local variable "not" to "negate". |
| * getopt.c (getenv): Declare only if !__cplusplus and !getenv. |
| Otherwise include <stdlib.h>. |
| (exchange): Cast return value of malloc(). |
| * hashtab.c (htab_size): Define as both macro and non-inline |
| function. |
| (htab_elements): Likewise. |
| * getpwd.c (getpwd): Use XNEWVEC. |
| (htab_create_alloc_ex): Use C90 prototype-style. |
| * lrealpath.c (lrealpath): Appropriately cast return value of |
| malloc(). |
| * make-relative-prefix.c (save_string): Likewise. |
| * make-temp-file.c (try_dir): Rename from "try". Adjust use in |
| the file. |
| (choose_tmpdir): Use XNEWVEC. |
| * mkstemps.c (mkstemps): Rename parameter "template" to "pattern". |
| * pex-common.c (pex_init_common): Use XNEW. |
| (pex_add_remove): Use XRESIZEVEC. |
| (pex_run): Likewise. |
| (pex_get_status_and_time): Likewise. |
| * pex-djgpp.c (pex_djgpp_exec_child): Likewise. |
| * pex-msdos.c (pex_init): Use XNEW. |
| (pex_msdos_exec_child): Likewise. |
| (pex_msdos_exec_child): Use XRESIZEVEC. |
| * pex-unix.c (pex_wait): Use XNEW. |
| * pex-win32.c (fix_argv): Use XNEWVEC. |
| * pexecute.c (pwait): Likewise. |
| * setenv.c (setenv): Properly cast return value of malloc(). |
| * sigsetmask.c (sigsetmask): Rename local variables "old" and |
| "new" to "old_sig" and "new_sig". |
| * sort.c (main): Use XNEWVEC. |
| * spaces.c (spaces): Cast return value of malloc(). |
| * strndup.c (strndup): Likewise. |
| * ternary.c (ternary_insert): Use XNEW. |
| * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration |
| with an extern "C" block if __cplusplus. |
| * xstrdup.c (xstrdup): Cast return value of memcpy(). |
| * xstrerror.c (strerror): Enclose declaration in an extern "C" |
| block if __cplusplus. |
| * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy(). |
| |
| 2005-05-16 Andreas Jaeger <aj@suse.de> |
| |
| * getpwd.c: Remove unneeded prototype getcwd and move getwd so |
| that it's only declared if needed. |
| |
| * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is |
| defined. |
| |
| 2005-05-15 Andreas Jaeger <aj@suse.de> |
| |
| * functions.texi: Regenerated. |
| |
| 2005-05-15 Eli Zaretskii <eliz@gnu.org> |
| |
| * pexecute.txh: Enclose multi-word data types in @deftypefn in |
| braces. Minor wording fixes. Use --- for em-dash. Use |
| @enumerate in enumerated lists. |
| |
| * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in |
| braces. |
| |
| 2005-05-11 Eli Zaretskii <eliz@gnu.org> |
| |
| * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and |
| sys/stat.h. |
| (pex_init): Fix last argument to pex_init_common. |
| (pex_djgpp_exec_child): Remove leading underscore from _open, |
| _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program', |
| which is undeclared, with `executable', which was unused. Remove |
| unused variable `e'. Fix casting of last arg to spawnv/spawnvp. |
| (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED. |
| |
| 2005-05-11 Paul Brook <paul@codesourcery.com> |
| |
| * Makefile.in: Regenerate dependencies. |
| |
| 2005-05-10 Nick Clifton <nickc@redhat.com> |
| |
| * Update the address and phone number of the FSF organization in |
| the GPL notices in the following files: |
| COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c, |
| choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c, |
| cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c, |
| fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c, |
| gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c, |
| lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c, |
| make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c, |
| obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c, |
| pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c, |
| physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c, |
| sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c, |
| strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c, |
| vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c |
| |
| 2005-05-06 Kelley Cook <kcook@gcc.gnu.org> |
| |
| * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove. |
| * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE. |
| * configure: Regenerate. |
| |
| 2005-05-06 Kelley Cook <kcook@gcc.gnu.org> |
| |
| * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. |
| Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF. |
| * aclocal.m4: Don't include accross.m4. |
| * configure, config.in: Regenerate. |
| |
| 2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| |
| * fopen_unlocked.c (unlock_std_streams): New. |
| |
| * functions.texi: Regenerate. |
| |
| 2005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| |
| * fopen_unlocked.c (unlock_stream): New. |
| Consolidate unlocking code into a helper function. |
| |
| * functions.texi: Regenerate. |
| |
| 2005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| * asprintf.c: Include config.h. |
| * basename.c: Likewise. |
| * fdmatch.c: Likewise. |
| * hex.c: Likewise. |
| * lbasename.c: Likewise. |
| * spaces.c: Likewise. |
| * xatexit.c:Likewise. |
| * configure.ac: Do check declarations for basename, ffs, asprintf |
| and vasprintf for real. |
| * configure: Regenerate. |
| |
| 2005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| * argv.c (dupargv): Allocate space of argv[argc], not |
| sizeof(char *) of that amount. Cast result to char *. |
| |
| 2005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal): |
| Replace not with negate. |
| |
| 2005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| * configure.ac: Check declarations for basename, ffs, asprintf, |
| vasprintf. |
| * configure: Regenerate. |
| * config.in: Likewise. |
| |
| 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| |
| * Makefile.in (CFILES): Add fopen_unlocked.c. |
| (REQUIRED_OFILES): Add ./fopen_unlocked.o. |
| Regenerate dependencies. |
| |
| * configure.ac: Check for stdio_ext.h and __fsetlocking. |
| |
| * fopen_unlocked.c: New file. |
| |
| * functions.texi, configure, config.in: Regenerate. |
| |
| 2005-04-04 Ian Lance Taylor <ian@airs.com> |
| |
| * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable |
| declaration before statement. |
| |
| 2005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| |
| * bcmp.c: Fix warnings and implement using memcmp. |
| * bcopy.c: Fix warnings. |
| * bzero.c: Fix warnings and implement using memset. |
| |
| * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings |
| -Wstrict-prototypes. |
| * configure, config.in: Regenerate. |
| |
| * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix |
| warnings and reconcile interfaces with relevant standards. |
| |
| 2005-04-02 Ian Lance Taylor <ian@airs.com> |
| |
| * cp-demangle.c: Update copyright. |
| |
| 2005-03-31 Joseph S. Myers <joseph@codesourcery.com> |
| |
| * gettimeofday.c: Add "Supplemental" to @deftypefn. |
| * functions.texi: Regenerate. |
| |
| 2005-03-28 Ian Lance Taylor <ian@airs.com> |
| |
| * pex-common.c: New file. |
| * pex-one.c: New file. |
| * pexecute.c: New file. |
| * pex-common.h: Include <stdio.h>. |
| (struct pex_obj): Define. |
| (struct pex_funcs): Define. |
| (pex_init_common): Declare. |
| * pex-unix.c: Rewrite. |
| * pex-win32.c: Rewrite. |
| * pex-djgpp.c: Rewrite. |
| * pex-msdos.c: Rewrite. |
| * testsuite/text-pexecute.c: New file. |
| * pexecute.txh: Rewrite. |
| * configure.ac: Check for wait3 and wait4. Set CHECK to |
| really-check rather than check-cplus-dem. |
| * functions.texi: Rebuild. |
| * Makefile.in: Rebuild dependencies. |
| (CFILES): Add pexecute.c, pex-common.c, pex-one.c. |
| (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o. |
| * testsuite/Makefile.in (really-check): New target. |
| (check-pexecute, test-pexecute): New targets. |
| * configure: Rebuild. |
| |
| 2005-03-28 Mark Kettenis <kettenis@gnu.org> |
| |
| * unlink-if-ordinary.c: Include <sys/types.h>. |
| |
| 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| Convert libiberty to use ISO C prototype style 7/n. |
| * regex.c (PARAMS): Remove definition. |
| (PREFIX): Unconditionaly define using ISO C ## operator. |
| (init_syntax_once, extract_number, extract_number_and_incr, |
| print_fastmap, print_partial_compiled_pattern, |
| print_compiled_pattern, print_double_string, printchar, |
| convert_mbs_to_wcs, re_set_syntax, regex_grow_registers, |
| regex_compile, store_op1, store_op2, insert_op1, insert_op2, |
| at_begline_loc_p, at_endline_p, group_in_compile_stack, |
| insert_space, wcs_compile_range, byte_compile_range, |
| truncate_wchar, re_compile_fastmap, re_compile_fastmap, |
| re_set_registers, re_search, re_search_2, re_search_3, re_match, |
| re_match_2, count_mbs_length, wcs_re_match_2_internal, |
| byte_re_match_2_internal, group_match_null_string_p, |
| alt_match_null_string_p, common_op_match_null_string_p, |
| bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp, |
| regexec, regerror, regfree): Use ISO C prototype style. |
| * partition.c: (elem_compare): Likewise. |
| * cp-demangle.c (print_usage): Likewise. |
| |
| 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| Convert libiberty to use ISO C prototype style 5/n. |
| * random.c (srandom, initstate, setstate, random): Use ISO C |
| prototypes. |
| * putenv.c (putenv): Likewise. |
| * physmem.c (physmem_available, physmem_total, main): Likewise. |
| * pex-win32.c (fix_argv, pexecute, pwait): Likewise. |
| * pex-unix.c (pexecute, pwait): Likewise. |
| * pex-msdos.c (pexecute, pwait): Likewise. |
| * pex-djgpp.c (pexecute, pwait): Likewise. |
| * partition.c (partition_new, partition_delete, partition_union) |
| (elem_compare, partition_print): Likewise. |
| * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk, |
| _obstack_allocated_p, _obstack_free, obstack_free, |
| _obstack_memory_used, print_and_abort, obstack_next_free, |
| obstack_object_size, obstack_base): Likewise. Remove codes |
| predicated on !defined(__STDC__). |
| * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free, |
| objalloc_free_block): Use ISO C prototypes. |
| * mkstemps.c (mkstemps): Likewise. |
| * memset.c (memset): Likewise. |
| * mempcpy.c (mempcpy): Likewise. |
| * rename.c (rename): Likewise. |
| * rindex.c (rindex): Likewise. |
| * setenv.c (setenv, unsetenv): Likewise. |
| * sigsetmask.c (sigsetmask): Likewise. |
| * snprintf.c (snprintf): Likewise. |
| * sort.c (sort_pointers, xmalloc): Likewise. |
| * spaces.c (spaces): Likewise. |
| * splay-tree.c (splay_tree_delete_helper, |
| splay_tree_splay_helper, splay_tree_splay, |
| splay_tree_foreach_helper, splay_tree_xmalloc_allocate, |
| splay_tree_new, splay_tree_xmalloc_allocate, |
| splay_tree_new_with_allocator, splay_tree_delete, |
| splay_tree_insert, splay_tree_remove, splay_tree_lookup, |
| splay_tree_max, splay_tree_min, splay_tree_predecessor, |
| splay_tree_successor, splay_tree_foreach, |
| splay_tree_compare_ints, splay_tree_compare_pointers): Likewise. |
| * stpcpy.c (stpcpy): Likewise. |
| * stpncpy.c (stpncpy): Likewise. |
| * strcasecmp.c (strcasecmp): Likewise. |
| * strchr.c (strchr): Likewise. |
| * strdup.c (strdup): Likewise. |
| |
| 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| Convert libiberty to use ISO C prototype style 6/n. |
| * strerror.c (init_error_tables, errno_max, strerror, strerrno, |
| strtoerrno, main): Use ISO C prototype style. |
| * strncasecmp.c (strncasecmp): Likewise. |
| * strncmp.c (strncmp): Likewise. |
| * strndup.c (strndup): Likewise. |
| * strrchr.c (strrchr): Likewise. |
| * strsignal.c (init_signal_tables, signo_max, strsignal, |
| strsigno, strtosigno, psignal, main): Likewise. |
| * strstr.c (strstr): Likewise. |
| * strtod.c (strtod, atof): Likewise. |
| * strtol.c (strtol): Likewise. |
| * strtoul.c (strtoul): Likewise. |
| * ternary.c (ternary_insert, ternary_cleanup, ternary_search, |
| ternary_recursivesearch): Likewise. |
| * tmpnam.c (tmpnam): Likewise. |
| * unlink-if-ordinary.c (unlink_if_ordinary): Likewise. |
| * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise. |
| * vfork.c (vfork): Likewise. |
| * vfprintf.c (vfprintf): Likewise. |
| * vprintf.c (vprintf): Likewise. |
| * vsnprintf.c (vsnprintf, checkit, main): Likewise. |
| * vsprintf.c (vsprintf): Likewise. |
| * waitpid.c (waitpid): Likewise. |
| * xatexit.c (xatexit, xatexit_cleanup): Likewise. |
| * xexit.c (xexit): Likewise. |
| * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc, |
| xcalloc, xrealloc): Likewise. |
| * xmemdup.c (xmemdup): Likewise. |
| * xstrdup.c (xstrdup): Likewise. |
| * xstrerror.c (xstrerror): Likewise. |
| * xstrndup.c (xstrndup): Likewise. |
| |
| 2005-03-27 Andreas Jaeger <aj@suse.de> |
| |
| * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional |
| flags. |
| * configure: Regenerated. |
| |
| 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| * getopt1.c (getopt_long_only): Fix thinko. |
| |
| 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| Convert libiberty to use ISO C prototype style 4/n. |
| * hashtab.c (higher_prime_index, hash_pointer, eq_pointer, |
| htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2, |
| htab_create_alloc, htab_set_functions_ex, htab_create, |
| htab_try_create, htab_delete, htab_empty, |
| find_empty_slot_for_expand, htab_expand, htab_find_with_hash, |
| htab_find, htab_find_slot_with_hash, htab_find_slot, |
| htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot, |
| htab_traverse_noresize, htab_traverse, htab_collisions, |
| htab_hash_string, iterative_hash): Use ISO C prototype. |
| * hex.c (hex_init): Likewise. |
| * index.c (index): Likewise. |
| * insque.c (insque, remque): Likewise. |
| * lbasename.c (lbasename): Likewise. |
| * lrealpath.c (lrealpath): Likewise. |
| * make-relative-prefix.c (save_string, split_directories, |
| free_split_directories, make_relative_prefix): Likewise. |
| * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise. |
| * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream, |
| md5_buffer, md5_process_bytes, md5_process_block): Likewise. |
| * memchr.c (memchr): Likewise. |
| * memcpy.c (memcpy): Likewise. |
| * memmove.c (memmove): Likewise. |
| * gettimeofday.c (gettimeofday): Likewise. |
| * getruntime.c (get_run_time): Likewise. |
| * getpwd.c (getpwd, getpwd): Likewise. |
| * getpagesize.c (getpagesize): Likewise. |
| * getopt1.c (getopt_long, getopt_long_only, main): Likewise. |
| * getopt.c (my_index, exchange, _getopt_initialize, |
| _getopt_internal, getopt, main): Likewise. |
| * getcwd.c (getcwd): Likewise. |
| * fnmatch.c (fnmatch): Likewise. |
| * floatformat.c (floatformat_always_valid, |
| floatformat_i387_ext_is_valid, get_field, floatformat_to_double, |
| put_field, floatformat_from_double, floatformat_is_valid, |
| ieee_test, main): Likewise. |
| * fibheap.c (fibheap_new, fibnode_new, fibheap_compare, |
| fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key, |
| fibheap_union, fibheap_extract_min, fibheap_replace_key_data, |
| fibheap_replace_key, fibheap_replace_data, fibheap_delete_node, |
| fibheap_delete, fibheap_empty, fibheap_extr_min_node, |
| fibheap_ins_root, fibheap_rem_root, fibheap_consolidate, |
| fibheap_link, fibheap_cut, fibheap_cascading_cut, |
| fibnode_insert_after, fibnode_remove): Likewise. |
| * ffs.c (ffs): Likewise. |
| * fdmatch.c (fdmatch): Likewise. |
| * dyn-string.c (dyn_string_init, dyn_string_new, |
| dyn_string_delete, dyn_string_release, dyn_string_resize, |
| dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr, |
| dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert, |
| dyn_string_insert_cstr, dyn_string_insert_char, |
| dyn_string_append, dyn_string_append_cstr, |
| dyn_string_append_char, dyn_string_substring, dyn_string_eq): |
| Likewise. |
| |
| 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| Convert libiberty to use ISO C prototype style 3/n. |
| * cplus-dem.c (set_cplus_marker_for_demangling, consume_count, |
| consume_count_with_underscores, code_for_qualifier, |
| qualifier_string, demangle_qualifier, cplus_demangle_opname, |
| cplus_mangle_opname, cplus_demangle_set_style, |
| cplus_demangle_name_to_style, cplus_demangle, grow_vect, |
| ada_demangle, internal_cplus_demangle, squangle_mop_up, |
| work_stuff_copy_to_from, delete_non_B_K_work_stuff, |
| delete_work_stuff, mop_up, demangle_signature, |
| demangle_method_args, demangle_template_template_parm, |
| demangle_expression, demangle_integral_value, |
| demangle_real_value, demangle_template_value_parm, |
| demangle_template, arm_pt, demangle_arm_hp_template, |
| demangle_class_name, demangle_class, iterate_demangle_function, |
| demangle_prefix, gnu_special, recursively_demangle, arm_special, |
| demangle_qualified, get_count, do_type, demangle_fund_type, |
| do_hpacc_template_const_value, do_hpacc_template_literal, |
| snarf_numeric_literal, do_arg, remember_type, remember_Ktype, |
| register_Btype, remember_Btype, forget_B_and_K_types, |
| forget_types, demangle_args, demangle_nested_args, |
| demangle_function_name, string_need, string_delete, string_init, |
| string_clear, string_empty, string_append, string_appends, |
| string_appendn, string_prepend, string_prepends, string_prependn, |
| string_append_template_idx): Use ISO C prootype style. |
| * cp-demint.c (cplus_demangle_fill_component, |
| cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator, |
| cplus_demangle_v3_components): Likewise. |
| |
| 2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| Convert libiberty to use ISO C prototype style 2/n. |
| * cp-demangle.h: Remove uses of PARAMS. |
| * cp-demangle.c: Likewise. |
| (d_dump, cplus_demangle_fill_name, |
| cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor, |
| cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name, |
| d_make_builtin_type, d_make_operator, d_make_extended_operator, |
| d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub, |
| cplus_demangle_mangled_name, has_return_type, |
| is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name, |
| d_prefix, d_unqualified_name, d_source_name, d_number, |
| d_identifier, d_operator_name, d_special_name, d_call_offset, |
| d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers, |
| d_function_type, d_bare_function_type, d_class_enum_type, |
| d_array_type, d_pointer_to_member_type, d_template_param, |
| d_template_args, d_template_arg, d_expression, d_expr_primary, |
| d_local_name, d_discriminator, d_add_substitution, |
| d_substitution, d_print_resize, d_print_append_char, |
| d_print_append_buffer, d_print_error, cplus_demangle_print, |
| d_print_comp, d_print_java_identifier, d_print_mod_list, |
| d_print_mod, d_print_function_type, d_print_array_type, |
| d_print_expr_op, d_print_cast, cplus_demangle_init_info, |
| d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3, |
| is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor, |
| print_usage, main): |
| |
| 2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| |
| Convert libiberty to ISO C prototype style 1/n. |
| * _doprnt.c: Remove conditional #include <varargs.h> on |
| ANSI_PROTOTYPES as the latter is always assumed. |
| (_doprnt, checkit, main): Use ISO C prototype. |
| * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype. |
| * argv.c: Remove conditional #includes on ANSI_PROTOTYPES. |
| (dupargv, freeargv, buildargv, main): Use ISO C prototype. |
| * atexit.c (atexit): Likewise |
| * asprintf.c: Remove conditional include on ANSI_PROTOTYPES. |
| (asprintf): Use ISO C prototype. |
| * basename.c (basename): Likewise |
| * bcmp.c (bcmp): Likewise. |
| * bcopy.c (bcopy): Likewise. |
| * bzero.c (bzero): Likewise. |
| * bsearch.c (bsearch): Likewise. Improve const-correctness. |
| * choose-temp.c (choose_temp_base): Likewise. |
| * calloc.c: Remove conditional #include on ANSI_PROTOTYPES. |
| (calloc): Use ISO C prototype. |
| * clock.c (clock): Likewise. |
| * concat.c: Remove conditional #include on ANSI_PROTOTYPES. |
| (vconcat_length, vconcat_copy, concat_length, concat_copy, |
| concat_copy2, concat, reconcat, main): Use ISO C prototype. |
| * copysign.c (copysign): Likewise. |
| |
| 2005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| |
| * Makefile.in (CFILES): Add strndup.c and xstrndup.c. |
| (REQUIRED_OFILES): Add xstrndup.o. |
| (CONFIGURED_OFILES): Add strndup.o. |
| Regenerate dependencies. |
| |
| * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup. |
| |
| * strndup.c, xstrndup.c: New. |
| |
| * config.in, configure, functions.texi: Regenerate. |
| |
| 2005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| |
| * xmemdup.c, xstrdup.c: Expose the tail call. |
| |
| 2005-03-09 Mark Mitchell <mark@codesourcery.com> |
| |
| * configure.ac (funcs): Add gettimeofday. |
| * configure: Regenerated. |
| * gettimeofday.c: New file. |
| * Makefile.in (CFILES): Add gettimeofday. |
| (CONFIGURED_OFILES): Add gettimeofday.o. |
| (./gettimeofday.o): New rule. |
| |
| 2005-03-09 Ian Lance Taylor <ian@airs.com> |
| |
| * pex-os2.c: Remove. |
| * configure.ac: Remove *-*-os2-emx* case when setting pexecute. |
| * Makefile.in (CFILES): Remove pex-os2.c. |
| (CONFIGURED_OFILES): Remove pex-os2.o. |
| (pex-os2.o): Remove target. |
| * configure: Rebuild. |
| |
| 2005-03-07 Ian Lance Taylor <ian@airs.com> |
| |
| * mpw-config.in: Remove. |
| * mpw-make.sed: Remove. |
| * mpw.c: Remove. |
| * Makefile.in (CFILES): Remove pex-mpw.c. |
| (CONFIGURED_OFILES): Remove pex-mpw.o. |
| (mpw.o, pex-mpw.o): Remove targets. |
| * maint-tool (undoc): Remove reference to mpw.c. |
| |
| 2005-03-06 DJ Delorie <dj@redhat.com> |
| |
| * configure.ac (target_header_dir): vfork is a stub under djgpp. |
| * configure: Regenerated. |
| |
| 2005-03-01 Jan Beulich <jbeulich@novell.com> |
| |
| * Makefile.in (CFILES): Add unlink-if-ordinary.c |
| (REQUIRED_OFILES): Add unlink-if-ordinary.o. |
| Add dependencies and rule for unlink-if-ordinary.o. |
| * unlink-if-ordinary.c: New. |
| |
| 2005-03-01 Ben Elliston <bje@au.ibm.com> |
| |
| * hashtab.c (htab_find_slot_with_hash): Make function |
| documentation clearer. |
| |
| 2005-02-13 Jason Merrill <jason@redhat.com> |
| |
| * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous |
| arguments. |
| |
| 2005-01-11 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de> |
| |
| * hex.c (hex_value): Group 'unsigned int' together to get correct |
| markup. |
| * functions.texi: Regenerated. |
| |
| 2004-12-27 H.J. Lu <hongjiu.lu@intel.com> |
| |
| * Makefile.in: Undo to 2004-12-17. |
| * aclocal.m4: Likewise. |
| * config.table: Likewise. |
| * configure.ac: Likewise. |
| * maint-tool: Likewise. |
| * configure: Likewise. |
| |
| 2004-12-19 H.J. Lu <hongjiu.lu@intel.com> |
| |
| PR bootstrap/19072 |
| * Makefile.in (enable_shared): New substitute. |
| (LTTARGETLIB): New. |
| (PREFIXTARGETLIB): New. |
| (LTTESTLIB): New. |
| (PREFIXTESTLIB): New. |
| (CCLD): New. |
| (LINK): New. |
| ($(TARGETLIB)): Use $(LINK) to create libraries and create |
| targets by hand. |
| ($(TESTLIB)): Likewise. |
| (mostlyclean): Don't remove .libs. Remove the libtool object |
| directory. |
| |
| * config.table (enable_shared): Removed. |
| |
| * configure.ac (enable_static): Set to yes. |
| (AC_PROG_LIBTOOL): Removed. |
| (AM_DISABLE_SHARED): Uncommented. |
| (AM_PROG_LIBTOOL): Likewise. |
| (LIBOBJS): Add `./' to avoid VPATH. |
| (LTLIBOBJS): Likewise. |
| (enable_shared): Substitute. |
| * configure: Regenerated. |
| |
| 2004-12-18 H.J. Lu <hongjiu.lu@intel.com> |
| |
| * Makefile.in (top_builddir): Set to `.'. |
| (OUTPUT_OPTION): Removed. |
| (LIBTOOL): New. |
| (LTLIBOBJS): New. |
| (EXTRA_LTOFILES): New. |
| (FLAGS_TO_PASS): Add EXTRA_LTOFILES. |
| (all): Remove stamp-picdir. |
| (LTCOMPILE): New. |
| (.c.lo): New rule. |
| (REQUIRED_LTOFILES): New. |
| (CONFIGURED_LTOFILES): New. |
| ($(TARGETLIB)): Check .libs for PIC object files. Depend on |
| $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS). |
| (stamp-picdir): Completely removed. |
| (maint-missing): Pass $(REQUIRED_LTOFILES) |
| $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES) |
| $(CONFIGURED_OFILES) |
| (maint-buildall): Depend on $(REQUIRED_LTOFILES) |
| $(CONFIGURED_LTOFILES). |
| (mostlyclean): Also remove *.lo .libs. |
| Run "make maint-deps". |
| |
| * aclocal.m4: Include ../libtool.m4. |
| |
| * config.table: Don't check --enable-shared. |
| |
| * configure.ac (AC_PROG_LIBTOOL): Add. |
| (AC_PROG_CC_C_O): Removed. |
| (OUTPUT_OPTION): Removed. |
| (NO_MINUS_C_MINUS_O): Removed. |
| (ltpexecute): New substitute. |
| (LIBOBJS): Cleanup. |
| * configure: Regenerated. |
| |
| * maint-tool: Updated for .lo/libtool. |
| |
| 2004-12-11 Ben Elliston <bje@au.ibm.com> |
| |
| * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int). |
| * configure: Regenerate. |
| * config.in: Likewise. |
| |
| 2004-12-07 DJ Delorie <dj@redhat.com> |
| |
| * splay-tree.c (splay_tree_delete_helper): Redesign the logic so |
| that recursion (and thus large stack space) is not needed. |
| |
| 2004-11-29 Matt Kraai <kraai@alumni.cmu.edu> |
| |
| * pex-unix.c: Fix the spelling of longjmp. |
| |
| 2004-11-23 Ian Lance Taylor <ian@wasabisystems.com> |
| |
| PR other/18623 |
| * cp-demangle.c (d_call_offset): Remove useless local variables |
| offset and virtual_offset. |
| * cplus-dem.c (ada_demangle): Remove useless local variable |
| at_start_name. |
| (demangle_template): Remove useless local variable start. |
| |
| 2004-11-19 Roger Sayle <roger@eyesopen.com> |
| |
| * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before |
| "ansidecl.h" to avoid redeclaration errors with native compilers. |
| * regex.c: Protect config.h from multiple inclusion. |
| |
| 2004-11-12 Mike Stump <mrs@apple.com> |
| |
| * Makefile.in (libiberty.html): Fix html generation. |
| |
| 2004-09-08 Adam Nemet <anemet@lnxw.com> |
| |
| * vasprintf.c: Accept __va_copy in addition to va_copy. |
| |
| 2004-09-03 Paolo Bonzini <bonzini@gnu.org> |
| |
| * configure: Regenerate. |
| |
| 2004-09-02 Paolo Bonzini <bonzini@gnu.org> |
| |
| * configure.ac: Do not enable multilibs for build-side libiberty. |
| |
| 2004-06-29 Danny Smith <dannysmith@users.sourceforge.net> |
| |
| * lrealpath.c (lrealpath): Add _WIN32 support. |
| |
| 2004-06-28 Zack Weinberg <zack@codesourcery.com> |
| |
| * cp-demangle.h: Declare cplus_demangle_operators, |
| cplus_demangle_builtin_types, cplus_demangle_mangled_name, and |
| cplus_demangle_type as static if IN_GLIBCPP_V3. |
| |
| 2004-06-28 Ian Lance Taylor <ian@wasabisystems.com> |
| |
| PR other/16240 |
| * cp-demangle.c (d_expr_primary): Check for a failure return from |
| cplus_demangle_type. |
| * testsuite/demangle-expected: Add test case. |
| |
| 2004-05-31 Danny Smith <dannysmith@users.sourceforge.net> |
| |
| * pex-win32.c (fix_argv): Expand comment. |
| |
| 2004-05-25 Daniel Jacobowitz <drow@false.org> |
| |
| * Makefile.in: Add .NOEXPORT. |
| |
| 2004-04-29 Douglas B Rupp <rupp@gnat.com> |
| |
| * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update |
| copyright. |
| |
| 2004-04-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
| |
| * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition. |
| * configure: Regenerate. |
| |
| 2004-04-22 Richard Henderson <rth@redhat.com> |
| |
| * hashtab.c: Include limits.h, stdint.h, ansidecl.h. |
| (CHAR_BIT): Provide default. |
| (struct prime_ent, prime_tab): New. |
| (higher_prime_index): Rename from higher_prime_number, return index. |
| (htab_mod_1): New. |
| (htab_mod, htab_mod_m2): Use it. |
| (htab_create_alloc, htab_create_alloc_ex): Store prime index. |
| (htab_expand): Likewise. |
| * configure.ac: Check for stdint.h. |
| (UNSIGNED_64BIT_TYPE): New define and checks to fill it in. |
| * config.in, configure: Rebuild. |
| |
| 2004-04-13 Ian Lance Taylor <ian@wasabisystems.com> |
| |
| * strerror.c: Include config.h, and redefine sys_nerr and |
| sys_errlist, before including ansidecl.h and libiberty.h. |
| |
| 2004-04-13 Jeff Law <law@redhat.com> |
| |
| * hashtab.c (htab_remove_elt_with_hash): New function. |
| (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash. |
| |
| 2004-03-31 Richard Henderson <rth@redhat.com> |
| |
| * hashtab.c (htab_size): Move to top of file; mark inline. |
| (htab_elements): Likewise. |
| (htab_mod, htab_mod_m2): New. |
| (htab_delete): Refactor htab->size and htab->entries. |
| (htab_empty): Likewise. |
| (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2. |
| (htab_find_with_hash, htab_find_slot_with_hash): Likewise. |
| (htab_clear_slot): Use htab_size, htab_elements. |
| (htab_traverse_noresize, htab_traverse): Likewise. |
| |
| 2004-03-17 Ian Lance Taylor <ian@wasabisystems.com> |
| |
| * pex-unix.c (pexecute): Use vfork instead of fork, with |
| appropriate changes to make this safe. |
| * pex-common.h (STDERR_FILE_NO): Define. |
| |
| * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for |
| an 80 column screen. Run maint-deps. |
| |
| 2004-03-09 Kelley Cook <kcook@gcc.gnu.org> |
| |
| * configure.ac: Bump version to 2.59. Apply suggested autoupdates. |
| * acconfig.h: Delete redundant file. |
| * config.in: Regenerate. |
| * configure: Regenerate. |
| |
| 2004-03-09 Hans-Peter Nilsson <hp@axis.com> |
| |
| * configure: Regenerate for config/accross.m4 correction. |
| |
| 2004-03-07 Andreas Jaeger <aj@suse.de> |
| |
| * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for |
| prototypes. |
| (main): Initialize style. |
| |
| 2004-02-24 Ian Lance Taylor <ian@wasabisystems.com> |
| |
| * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED, |
| D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG, |
| D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT. |
| * cp-demangle.c (cplus_demangle_builtin_types): Change char and |
| short types to D_PRINT_DEFAULT. Change other integer types to use |
| new D_PRINT_* values where appropriate. Change float types to |
| D_PRINT_FLOAT. |
| (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_* |
| values. |
| * testsuite/demangle-expected: Adjust two test cases. |
| |
| * cp-demangle.c (d_print_function_type): Print a space before the |
| parenthesis around the function type in more cases. |
| * testsuite/demangle-expected: Adjust one test case. |
| |
| * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra |
| parentheses around a cast. |
| * testsuite/demangle-expected: Adjust two test cases to match new |
| output. |
| |
| * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle. |
| |
| * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't |
| push more than one of the same CV-qualifier on the top of the |
| stack. |
| (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified, |
| move the CV-qualifiers to apply to the element type instead. |
| (d_print_array_type): When checking the modifiers, keep looking |
| past ones which have been printed already. |
| * testsuite/demangle-expected: Add three test cases. |
| |
| 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> |
| |
| * cp-demangle.c (__cxa_demangle): Adjust last patch to handle |
| empty string correctly. |
| |
| * cp-demangle.c (__cxa_demangle): It is not an error if status is |
| not NULL. It is an error if the mangled name is the same as a |
| built-in type name. |
| (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather |
| than cplus_demangle_v3. |
| |
| * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and |
| the associated #define of RETURN_ON_ALLOCATION_FAILURE. |
| |
| 2004-02-16 Matt Kraai <kraai@alumni.cmu.edu> |
| |
| * regex.c: Include <ansidecl.h>. |
| (regcomp): Cast i to int. |
| (regerror): Add ATTRIBUTE_UNUSED to parameter preg. |
| |
| 2004-01-25 Ian Lance Taylor <ian@wasabisystems.com> |
| |
| * configure.ac: Add m4_pattern_allow(LIBOBJS). |
| * configure: Regenerate. |
| |
| 2004-01-22 DJ Delorie <dj@redhat.com> |
| |
| * Makefile.in: Convert to ./ throughout. Rebuild dependencies |
| with explicit build rules. |
| (VPATH): Remove. |
| (.c.o): Poison. |
| * configure.ac (pexecute, LIBOBJS): Add ./ . |
| * maint-tool: Build dependencies with explicit rules. |
| |
| 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
| |
| * strdup.c (strdup): Constify the argument. |
| |
| 2004-01-14 Loren J. Rittle <ljrittle@acm.org> |
| |
| * Makefile.in (distclean): Remove config.cache. |
| |
| 2004-01-13 Daniel Jacobowitz <drow@mvista.com> |
| |
| * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE |
| takes two parameters. |
| * cp-demint.c (cplus_demangle_fill_component): Likewise. |
| |
| 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com> |
| |
| * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is |
| defined, rename some functions which are to become static via |
| #define. |
| (CP_STATIC_IF_GLIBCPP_V3): Define. |
| (struct d_operator_info): Move definition to cp-demangle.h, and |
| rename to demangle_operator_info. Change all uses. |
| (enum d_builtin_type_print): Move definition to cp-demangle.h. |
| (struct d_builtin_type_info): Move definition to cp-demangle.h, |
| and rename to demangle_builtin_type_info. Change all uses. |
| (enum d_comp_type): Move definition to include/demangle.h, and |
| rename to demangle_component_type, and change all enums to start |
| with DEMANGLE_COMPONENT_ instead of D_. Change all uses. |
| (struct d_comp): Move definition to include/demangle.h, and rename |
| to demangle_component. Change all uses. |
| (struct d_info): Move definition to cp-demangle.h. |
| (cplus_demangle_fill_name): New function. |
| (cplus_demangle_fill_extended_operator): New function. |
| (cplus_demangle_fill_ctor): New function. |
| (cplus_demangle_fill_dtor): New function. |
| (d_make_empty): Remove type parameter. Change all callers. |
| (d_make_name): Use cplus_demangle_fill_name. |
| (d_make_extended_operator): Use |
| cplus_demangle_fill_extended_operator. |
| (d_make_ctor): Use cplus_demangle_fill_ctor. |
| (d_make_dtor): Use cplus_demangle_fill_dtor. |
| (cplus_demangle_mangled_name): Rename from d_mangled_name. Make |
| non-static by default. Change all callers. |
| (cplus_demangle_operators): Rename from d_operators. Change all |
| uses. Make non-static by default. Add sentinel at end of array. |
| (d_operator_name): Adjust initialization of high for new sentinel |
| in cplus_demangle_operators. |
| (cplus_demangle_builtin_types): Rename from d_builtin_types. |
| Change all uses. Make non-static by default. Change initializer |
| to use D_BUILTIN_TYPE_COUNT instead of magic number 26. |
| (cplus_demangle_type): Rename from d_type. Make non-static by |
| default. Change all callers. |
| (cplus_demangle_init_info): Rename from d_init_info. Make |
| non-static by default. Change all callers. |
| * cp-demangle.h: New file. |
| * cp-demint.c: New file. |
| * Makefile.in: Rebuild dependencies. |
| (CFILES): Add cp-demint.c. |
| (REQUIRED_OFILES): Add cp-demint.o. |
| |
| 2004-01-09 Kelley Cook <kcook@gcc.gnu.org> |
| |
| * configure.in: Rename file to ... |
| * configure.ac: ... this. |
| * Makefile.in: Update a comment for above change. |
| * README: Likewise. |
| * config.in: Regenerate. |
| |
| 2004-01-02 Ian Lance Taylor <ian@wasabisystems.com> |
| |
| * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip |
| CV-qualifiers from D_COMP_LOCAL_NAME right subtree. |
| * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when |
| demangling template parameters. |
| * testsuite/test-demangle.c (fail): New static function. |
| (main): Support new options in input file: --no-params, |
| --is-v3-ctor, and --is-v3-dtor. |
| * testsuite/demangle-expected: Add --no-params to most tests, and |
| add the correct result when parameters are not demangled. Add |
| some simple tests for V3 constructor/destructor recognition. |
| |
| 2003-12-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
| |
| * cp-demangle.c (is_ctor_or_dtor): Fix error in last change. |
| |
| 2003-12-22 Daniel Jacobowitz <drow@mvista.com> |
| |
| PR debug/13272 |
| * Makefile.in (lbasename.o): Depend on filenames.h. |
| * lbasename.c: Include "filenames.h" instead of defining |
| its macros locally. |
| |
| 2003-12-22 Ian Lance Taylor <ian@wasabisystems.com> |
| |
| * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports |
| dynamic arrays. |
| (struct d_operator_info): Add len field. |
| (struct d_builtin_type_info): Add len and java_len fields. |
| (struct d_standard_sub_info): Add simple_len, full_len, and |
| set_last_name_len fields. |
| (struct d_comp): Add len field to s_string. |
| (struct d_info): Add send, did_subs, and expansion fields. |
| (d_append_string_constant): Define. |
| (d_append_string): Remove. Change all users to use |
| d_append_string_constant or d_append_buffer instead. |
| (d_make_sub): Add len parameter. Change all callers. |
| (d_name): Increase expansion when substituting std::. |
| (d_unqualified_name): Increase expansion for an operator. |
| (d_number): Don't use multiplication for negative numbers. |
| (d_identifier): Make sure there are enough characters in the |
| string for the specified length. Adjust expansion for an |
| anonymous namespace. |
| (d_operators): Initialize len field. |
| (d_special_name, d_ctor_dtor_name): Increase expansion. |
| (d_builtin_types): Initialize len and java_len fields. |
| (d_type): Increase expansion for a builtin type. |
| |