summaryrefslogtreecommitdiff
path: root/libiberty
Commit message (Collapse)AuthorAgeFilesLines
* merge from gccDJ Delorie2001-03-052-1/+5
|
* merge from gccDJ Delorie2001-02-172-1/+5
|
* merge from gccDJ Delorie2001-02-021-95/+117
|
* merge from gccDJ Delorie2001-02-024-24/+225
|
* Remove extraneous tab from the blank line after the most recent entryMichael Sokolov2001-01-271-1/+1
|
* * fnmatch.c: Make the note about the origins of this file moreDJ Delorie2000-12-296-10/+20
| | | | | | | | accurate, at least until we can sync with glibc. * getopt.c: Ditto. * getopt1.c: Ditto. * md5.c: Ditto. * obstack.c: Ditto.
* * bsearch.c: New file.DJ Delorie2000-12-265-105/+189
| | | | | | * configure.in (funcs): Add bsearch. (AC_CHECK_FUNCS): Likewise. * configure, config.in: Regenerate.
* Synchronise with master FSF GCC sourcesNick Clifton2000-12-261-146/+140
|
* * safe-ctype.c: #include "ansidecl.h".DJ Delorie2000-12-174-1/+12
| | | | | * strtod.c: Likewise. * strtoul.c: Include safe-ctype.h, not ctype.h.
* Add - before rms to be more portable.DJ Delorie2000-12-091-7/+7
|
* * safe-ctype.c: New file.DJ Delorie2000-12-0811-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).
* * Makefile.in (distclean): When cleaning, remove testsuite.DJ Delorie2000-12-072-0/+5
|
* * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangledDJ Delorie2000-12-052-2/+15
| | | | name before allocating the dyn_string.
* * cp-demangle.c: s/new_abi/v3/.DJ Delorie2000-12-053-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.
* * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.DJ Delorie2000-11-292-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.
* * hashtab.c (higher_prime_number): Use a table, rather than aDJ Delorie2000-11-292-22/+61
| | | | seive, to find the next prime.
* * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.DJ Delorie2000-11-295-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.
* * cplus-dem.c (main): Handle gnat_demangling.Hans-Peter Nilsson2000-11-232-0/+5
|
* * cplus-dem.c (cplus_demangle): Fix formatting.Hans-Peter Nilsson2000-11-212-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.
* * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED forHans-Peter Nilsson2000-11-162-3/+8
| | | | | parameter `option'. Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog.
* Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.cDJ Delorie2000-11-161-1/+1
|
* [merge]DJ Delorie2000-11-152-8/+13
| | | | | * cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot be used in GCC.
* Correct date and style of last entryHans-Peter Nilsson2000-11-151-1/+1
|
* * cplus_dem.c: Add gnat demangler. Add java to demangle styleHans-Peter Nilsson2000-11-152-0/+153
| | | | list.
* * hashtab.c (htab_expand): Change to return int. Use calloc orHans-Peter Nilsson2000-11-042-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.
* * hashtab.c: Change void * to PTR where necessary.Hans-Peter Nilsson2000-11-032-36/+42
| | | | | (htab_create, htab_expand): Correct formatting of comment before function.
* [merge from gcc]DJ Delorie2000-10-232-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.
* merge from gcc repositoryDJ Delorie2000-10-1212-393/+990
|
* * md5.c: #include "ansidecl.h".DJ Delorie2000-09-262-0/+5
|
* * Makefile.in (REQUIRED_OFILES): Add md5.o.Jason Merrill2000-09-223-2/+427
| | | | | (CFILES): Add md5.c. * md5.c: New file.
* * splay-tree.c: #include <stdio.h>.DJ Delorie2000-09-152-0/+6
|
* * testsuite/demangle-expected: Add two tests for anonymousHans-Peter Nilsson2000-09-133-1/+33
| | | | | namespaces. * cplus-dem.c (gnu_special): Handle anonymous namespaces.
* * testsuite/demangle-expected: Add four tests for type_infoHans-Peter Nilsson2000-09-103-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.
* * configure.in (Cygwin): special case cygwin only when we'reDJ Delorie2000-09-053-8/+23
| | | | building cygwin, not when we're hosting cygwin.
* (From GCC:) Add testcases and missing changelogs:Hans-Peter Nilsson2000-08-312-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.
* Fix typo.Jeff Law2000-07-271-1/+1
|
* * config/mh-openedition.h: Added -DLE370 definition.Jeff Law2000-07-272-1/+5
|
* * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ toJeff Law2000-07-272-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.
* * getcwd.c: Include string.h, stdlib.h for prototypesJeff Law2000-07-262-0/+8
|
* * Makefile.in (rename.o, waitpid.o): Depend on config.hJeff Law2000-07-264-0/+22
| | | | | * rename.c: include config.h, unistd.h * waitpid.c: include config.h, sys/wait.h
* Demangling fixesDaniel Berlin2000-07-242-31/+248
|
* * configure.in (AC_CHECK_HEADERS): Add time.h.Jeff Law2000-07-239-85/+176
| | | | | | (AC_HEADER_TIME): Add check. * configure, config.in: Regenerate. * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
* * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.Jeff Law2000-07-238-78/+146
| | | | | | * configure.in (libiberty_AC_DECLARE_ERRNO): Add check. * configure, config.in: Regenerate. * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
* * cp-demangle.c, mkstemps.c: #include <sys/types.h>.Jeff Law2000-07-233-0/+7
|
* * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,Jeff Law2000-07-202-2/+7
| | | | and print it with %u.
* merge with gccJason Merrill2000-07-203-337/+873
|
* * testsuite/regress-demangle (failed test): Show result andHans-Peter Nilsson2000-07-172-0/+7
| | | | | expected output. (From GCC.)
* 2000-07-07 Andrew Haley <aph@cygnus.com>Andrew Haley2000-07-072-0/+6
| | | | | * cplus-dem.c (main): fflush() after emitting last char before waiting for input.
* Synced with libiberty in the gcc repository.H.J. Lu2000-06-1518-283/+4421
|
* * Makefile.in: add EXTRA_INCSDJ Delorie2000-06-064-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.