aboutsummaryrefslogtreecommitdiff
path: root/libiberty
AgeCommit message (Collapse)AuthorFilesLines
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
2000-09-22 * Makefile.in (REQUIRED_OFILES): Add md5.o.Jason Merrill3-2/+427
(CFILES): Add md5.c. * md5.c: New file.
2000-09-15* splay-tree.c: #include <stdio.h>.DJ Delorie2-0/+6
2000-09-13 * testsuite/demangle-expected: Add two tests for anonymousHans-Peter Nilsson3-1/+33
namespaces. * cplus-dem.c (gnu_special): Handle anonymous namespaces.
2000-09-10 * testsuite/demangle-expected: Add four tests for type_infoHans-Peter Nilsson3-1/+25
mangling. * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type, for a non-template non-qualified type_info function or node.
2000-09-05* configure.in (Cygwin): special case cygwin only when we'reDJ Delorie3-8/+23
building cygwin, not when we're hosting cygwin.
2000-08-31(From GCC:) Add testcases and missing changelogs:Hans-Peter Nilsson2-0/+76
2000-08-31 Hans-Peter Nilsson <hp@axis.com> * testsuite/demangle-expected: Add nine tests for underscore-after-number followed by five tests for name-signature delimiter. 2000-07-24 Hans-Peter Nilsson <hp@axis.com> * cplus-dem.c (work_stuff_copy_to_from): New. (delete_non_B_K_work_stuff): New. (delete_work_stuff): New. (mop_up): Break out work_stuff destruction to delete_work_stuff. (iterate_demangle_function): New. (demangle_prefix): Call iterate_demangle_function instead of demangle_function_name. Leave handling of name-signature __-delimiters to iterate_demangle_function. * cplus-dem.c (demangle_integral_value): Strip an optional following underscore cautiously. Handle negative numbers.
2000-07-27Fix typo.Jeff Law1-1/+1
2000-07-27 * config/mh-openedition.h: Added -DLE370 definition.Jeff Law2-1/+5
2000-07-27 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ toJeff Law2-5/+24
__DJGPP__. Use P_WAIT instead of constant in the spawnv* call. Cast program to 'char *' in errmsg_arg assignment. (PWAIT_ERROR): Define. (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform to DJGPP's WIF* macros.
2000-07-26 * getcwd.c: Include string.h, stdlib.h for prototypesJeff Law2-0/+8
2000-07-26 * Makefile.in (rename.o, waitpid.o): Depend on config.hJeff Law4-0/+22
* rename.c: include config.h, unistd.h * waitpid.c: include config.h, sys/wait.h
2000-07-24Demangling fixesDaniel Berlin2-31/+248
2000-07-23 * configure.in (AC_CHECK_HEADERS): Add time.h.Jeff Law9-85/+176
(AC_HEADER_TIME): Add check. * configure, config.in: Regenerate. * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
2000-07-23 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.Jeff Law8-78/+146
* configure.in (libiberty_AC_DECLARE_ERRNO): Add check. * configure, config.in: Regenerate. * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
2000-07-23 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.Jeff Law3-0/+7
2000-07-20 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,Jeff Law2-2/+7
and print it with %u.
2000-07-20merge with gccJason Merrill3-337/+873
2000-07-17 * testsuite/regress-demangle (failed test): Show result andHans-Peter Nilsson2-0/+7
expected output. (From GCC.)
2000-07-072000-07-07 Andrew Haley <aph@cygnus.com>Andrew Haley2-0/+6
* cplus-dem.c (main): fflush() after emitting last char before waiting for input.
2000-06-15Synced with libiberty in the gcc repository.H.J. Lu18-283/+4421
2000-06-06* Makefile.in: add EXTRA_INCSDJ Delorie4-105/+147
* configure.in: if with-newlib, point to it for includes rather than using the installed includes, for target builds. If cygwin, override function list only for target builds. * configure: regenerate Note from DJ: I waited a week for gcc approval and got none, but we need this patch for cygwin builds *now*. I'll fix it later if need be.
2000-05-31Add field ``name'' to floatformat.Andrew Cagney2-12/+33