aboutsummaryrefslogtreecommitdiff
path: root/libiberty
AgeCommit message (Collapse)AuthorFilesLines
2001-05-16merge from gccDJ Delorie2-2/+6
2001-05-09merge from gccDJ Delorie2-68/+73
2001-05-08merge from gccDJ Delorie3-14/+34
2001-05-07merge from gccDJ Delorie2-1/+40
2001-04-16sync with egcsDJ Delorie1-3/+3
2001-04-16Forgot the makefile portionDaniel Berlin2-5/+7
2001-04-162001-04-15 Daniel Berlin <dan@cgsoftware.com>Daniel Berlin2-0/+162
* ternary.c: New file - Ternary search tree implementation. 2001-04-15 Daniel Berlin <dan@cgsoftware.com> * ternary.h: New file - Ternary search tree header.
2001-04-04merge from gccDJ Delorie2-2/+6
2001-03-28merge from gccDJ Delorie2-0/+5
2001-03-28merge from gccDJ Delorie2-1/+5
2001-03-23merge from gccDJ Delorie2-6/+7
2001-03-22* cp-demangle.c (string_list_delete): Don't forget to free theJim Blandy2-1/+7
actual contents of the string.
2001-03-21merge from gccDJ Delorie4-147/+181
2001-03-20* libiberty/cp-demangle.c (struct demangling_def): New fields:Jim Blandy2-6/+124
is_constructor and is_destructor. (demangling_new): Initialize them. (demangle_ctor_dtor_name): Set them, if we detect a constructor or destructor. (demangle_v3_with_details, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): New functions. * include/demangle.h (enum gnu_v3_constructor_kinds, is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds, is_gnu_v3_mangled_dtor): New declarations.
2001-03-20merge from gccDJ Delorie2-1/+5
2001-03-15merge from gccDJ Delorie1-1/+1
2001-03-15merge from gccDJ Delorie2-32/+38
2001-03-14Fix minor formatting bugs.DJ Delorie1-6/+7
2001-03-10merge from gccDJ Delorie3-6/+104
2001-03-06merge from gccDJ Delorie2-31/+0
2001-03-06merge from gccDJ Delorie9-316/+164
2001-03-05merge from gccDJ Delorie2-1/+5
2001-02-17merge from gccDJ Delorie2-1/+5
2001-02-02merge from gccDJ Delorie1-95/+117
2001-02-02merge from gccDJ Delorie4-24/+225
2001-01-27Remove extraneous tab from the blank line after the most recent entryMichael Sokolov1-1/+1
2000-12-29* fnmatch.c: Make the note about the origins of this file moreDJ Delorie6-10/+20
accurate, at least until we can sync with glibc. * getopt.c: Ditto. * getopt1.c: Ditto. * md5.c: Ditto. * obstack.c: Ditto.
2000-12-26* bsearch.c: New file.DJ Delorie5-105/+189
* configure.in (funcs): Add bsearch. (AC_CHECK_FUNCS): Likewise. * configure, config.in: Regenerate.
2000-12-26Synchronise with master FSF GCC sourcesNick Clifton1-146/+140
2000-12-17* safe-ctype.c: #include "ansidecl.h".DJ Delorie4-1/+12
* strtod.c: Likewise. * strtoul.c: Include safe-ctype.h, not ctype.h.
2000-12-09Add - before rms to be more portable.DJ Delorie1-7/+7
2000-12-08* safe-ctype.c: New file.DJ Delorie11-77/+243
* Makefile.in (CFILES): Add safe-ctype.c. (REQUIRED_OFILES): Add safe-ctype.o. * argv.c: Define ISBLANK and use it, not isspace. * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c, strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c) before calling TOLOWER(c)/TOUPPER(c).
2000-12-07* Makefile.in (distclean): When cleaning, remove testsuite.DJ Delorie2-0/+5
2000-12-05* cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangledDJ Delorie2-2/+15
name before allocating the dyn_string.
2000-12-05* cp-demangle.c: s/new_abi/v3/.DJ Delorie3-16/+29
* cplus-dem.c: Likewise. (current_demangling_style): Now auto_demangling. (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING. (main): Use standard symbol chars for auto_demangling.
2000-11-29* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.DJ Delorie2-162/+262
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader. * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three argument form of AC_DEFINE in dummy definitions block. Use AC_DEFINE_NOAUTOHEADER for real definitions of things defined in dummy block. Preload cache variables instead of bypassing tests, where possible. * acconfig.h: Removed. * xmalloc.c (xmalloc_failed): New function, does error reporting on failed allocation. (xmalloc, xcalloc, xrealloc): Use it.
2000-11-29* hashtab.c (higher_prime_number): Use a table, rather than aDJ Delorie2-22/+61
seive, to find the next prime.
2000-11-29* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.DJ Delorie5-126/+107
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader. * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three argument form of AC_DEFINE in dummy definitions block. Use AC_DEFINE_NOAUTOHEADER for real definitions of things defined in dummy block. Preload cache variables instead of bypassing tests, where possible. * acconfig.h: Removed. * xmalloc.c (xmalloc_failed): New function, does error reporting on failed allocation. (xmalloc, xcalloc, xrealloc): Use it.
2000-11-23 * cplus-dem.c (main): Handle gnat_demangling.Hans-Peter Nilsson2-0/+5
2000-11-21 * cplus-dem.c (cplus_demangle): Fix formatting.Hans-Peter Nilsson2-32/+55
(grow_vect): Ditto. (ada_demangle): Ditto. (internal_cplus_demangle): Ditto. (mop_up): Ditto. * cplus-dem.c (main): Handle java_demangling. * cplus-dem.c (grow_vect): Prototype. (ada_demangle): Cast the arg of ctype macros to unsigned char.
2000-11-16* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED forHans-Peter Nilsson2-3/+8
parameter `option'. Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog.
2000-11-16Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.cDJ Delorie1-1/+1
2000-11-15[merge]DJ Delorie2-8/+13
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot be used in GCC.
2000-11-15Correct date and style of last entryHans-Peter Nilsson1-1/+1
2000-11-15 * cplus_dem.c: Add gnat demangler. Add java to demangle styleHans-Peter Nilsson2-0/+153
list.
2000-11-04 * hashtab.c (htab_expand): Change to return int. Use calloc orHans-Peter Nilsson2-8/+68
xcalloc depending on htab->return_allocation_failure. Return zero if calloc fails. (htab_create): Update comment to cover memory allocation. (htab_try_create): New. (htab_find_slot_with_hash): Return NULL if htab_expand fails. Update comment to cover this.
2000-11-03 * hashtab.c: Change void * to PTR where necessary.Hans-Peter Nilsson2-36/+42
(htab_create, htab_expand): Correct formatting of comment before function.
2000-10-23[merge from gcc]DJ Delorie2-173/+304
* cp-demangle.c (string_list_def): Add caret_position and comments. (result_caret_pos): New macro. (result_append_string): Rename to... (result_add_string): ... this, and insert at caret position. Rename throughout. (result_append): Rename to... (result_add): ... this, and insert at caret position. Rename throughout. (result_append_char): Rename to... (result_add_char): ... this, and insert at caret position. Rename throughout. (result_append_space): Remove. (string_list_new): Initialize caret position. (result_add_separated_char): Use caret position. (result_get_caret): New funtion. (result_set_caret): Likewise. (result_shift_caret): Likewise. (result_previous_char_is_space): Likewise. (substitution_start): Use caret position. (substitution_add): Likewise. (demangling_new): Initialize caret position. (demangle_encoding): Use caret position. (demanglin_nested_name): Put CV qualifiers after name. (demangle_type_ptr): Use switch statement. Handle pointers to arrays. Don't use result_append_space. Use caret position. (demangle_type): Emit CV qualifiers after underlying type. Adjust call to demangle_array_type. (demangle_array_type): Add parameter to handle pointers to arrays.
2000-10-12merge from gcc repositoryDJ Delorie12-393/+990
2000-09-26* md5.c: #include "ansidecl.h".DJ Delorie2-0/+5