summaryrefslogtreecommitdiff
path: root/libiberty
Commit message (Collapse)AuthorAgeFilesLines
* * concat.c (reconcat): Fix for traditional C.ghazi2001-09-252-3/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45814 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2001-09-242-0/+29
| | | | | | | | | | | | | | * libiberty.h (reconcat): New function. libiberty: * concat.c (reconcat): New function. gcc: * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid leak by passing malloc'ed pointer to reconcat, not concat. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45789 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2001-09-172-19/+83
| | | | | | | | | | | | | | | | * libiberty.h (concat_length, concat_copy, concat_copy2, libiberty_concat_ptr, ACONCAT): New. libiberty: * concat.c (vconcat_length, vconcat_copy, concat_length, concat_copy, concat_copy2): New functions. (concat): Use vconcat_length/vconcat_copy. gcc: * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45664 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2001-09-172-0/+11
| | | | | | | | | | | | | | | | * libiberty.h (ASTRDUP): New macro. libiberty_optr, libiberty_nptr, libiberty_len): Declare. libiberty: * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len): Define. gcc: * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of alloca/strcpy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45657 138bc75d-0d04-0410-961f-82ee72b054a4
* * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,ghazi2001-09-043-37/+25
| | | | | | | | | | | VA_FIXEDARG & VA_CLOSE. * vasprintf.c: Check HAVE_STRING_H when including string.h. (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1. Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45382 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2001-08-272-27/+12
| | | | | | | | | | * ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses. libiberty: * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45204 138bc75d-0d04-0410-961f-82ee72b054a4
* merge from glibcdj2001-08-232-14/+69
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45134 138bc75d-0d04-0410-961f-82ee72b054a4
* * fibheap.c (fibheap_init, fibnode_init): Remove.kraai2001-08-222-44/+16
| | | | | | | | | (fibheap_new, fibnode_new): Use xcalloc to allocate and initialize memory. (fibheap_insert): Remove check for node allocation failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45113 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (fibheap.o): Depend on config.h.rth2001-08-223-125/+137
| | | | | | | | * fibheap.c: Tidy formatting. Use config.h.` Rearrange some functions for inlining. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45089 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever hostingcgf2001-08-213-66/+77
| | | | | | | | on cygwin. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45081 138bc75d-0d04-0410-961f-82ee72b054a4
* * floatformat.h (floatformat_arm_ext): Document as deprecated.cagney2001-08-212-7/+54
| | | | | | | | | | (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) (floatformat_ia64_spill_little, floatformat_ia64_quad_little) (floatformat_ia64_spill_big, floatformat_ia64_quad_big) (floatformat_m88110_harris_ext): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45065 138bc75d-0d04-0410-961f-82ee72b054a4
* include/dberlin2001-08-203-2/+563
| | | | | | | | | | | | | | | | | | 2001-08-20 Daniel Berlin <dan@cgsoftware.com> * fibheap.h: New file. Fibonacci heap. libiberty/ 2001-08-20 Daniel Berlin <dan@cgsoftware.com> * fibheap.c: New file. Fibonacci heap. * Makefile.in (CFILES): Add fibheap.c. (REQUIRED_OFILES): Add fibheap.o. (fibheap.o): Add dependencies for fibheap.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45062 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.cgf2001-08-173-72/+92
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44979 138bc75d-0d04-0410-961f-82ee72b054a4
* Add commentary.rth2001-08-171-1/+24
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44978 138bc75d-0d04-0410-961f-82ee72b054a4
* * hashtab.c (htab_hash_string): New.rth2001-08-172-0/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44950 138bc75d-0d04-0410-961f-82ee72b054a4
* * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fixcagney2001-08-142-1/+6
| | | | | | | name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44878 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from libc:dj2001-08-132-2/+8
| | | | | | | | | * regex.c (wcs_regex_compile): Use appropriate string to compare with collating element. Fix the padding for the alignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44838 138bc75d-0d04-0410-961f-82ee72b054a4
* Oops, fix check-in date.cagney2001-08-121-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44816 138bc75d-0d04-0410-961f-82ee72b054a4
* (lbasename): Change function declaration to return a const char pointer.cagney2001-08-102-3/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44782 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (demangle_special_name): "GR" -> "reference temporaryjason2001-08-072-4/+25
| | | | | | | for". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44694 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (concat.o): Depend on config.h.rth2001-08-042-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44622 138bc75d-0d04-0410-961f-82ee72b054a4
* * concat.c: Include "config.h".aj2001-07-302-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44481 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from glibc:aj2001-07-302-96/+174
| | | | | | | | | | | | * regex.c: Declare wcs functions only if compiling with MBS_SUPPORT. Don't use #elif for traditional C. * regex.c: Revamp memory allocation for WCHAR functions to not use too much stack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44471 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (regex.o): Add dependency on config.h.gerald2001-07-262-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44394 138bc75d-0d04-0410-961f-82ee72b054a4
* merge from glibcdj2001-07-182-10/+38
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44138 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Add support for regex code.dj2001-07-113-2/+8254
| | | | | | | * regex.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43914 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Add ffs.c dependency.dj2001-07-055-3/+40
| | | | | | | | * configure.in: Add ffs.c. * ffs.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43784 138bc75d-0d04-0410-961f-82ee72b054a4
* * concat.c: Include <sys/types.h>.rth2001-06-182-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43449 138bc75d-0d04-0410-961f-82ee72b054a4
* Add GNATS ID.ljrittle2001-06-121-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43244 138bc75d-0d04-0410-961f-82ee72b054a4
* * strerror.c (sys_nerr): Hide the OS header version.ljrittle2001-06-123-0/+9
| | | | | | | * strsignal.c (sys_nsig): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43242 138bc75d-0d04-0410-961f-82ee72b054a4
* * concat.c: Include string.h. Fix int vs size_t usage.rth2001-06-102-48/+35
| | | | | | | Simplify the iteration loops. Use memcpy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43149 138bc75d-0d04-0410-961f-82ee72b054a4
* * partition.c: Fix misspelling of `implementation'.gerald2001-05-162-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42170 138bc75d-0d04-0410-961f-82ee72b054a4
* * md5.c (md5_init_ctx): Declare constants as unsigned.dj2001-05-092-68/+73
| | | | | | | (md5_process_block): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41930 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (demangle_v3_with_details,zack2001-05-083-14/+34
| | | | | | | | | | | | | is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style function definition. * ternary.c: Use K+R style function definitions. Use PTR, not void *. Make arguments constant where possible. * demangle.h: Use PARAMS for all prototypes. * ternary.h: Use PARAMS for all prototypes. Use PTR, not void *. Make arguments constant where possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41910 138bc75d-0d04-0410-961f-82ee72b054a4
* * splay-tree.h (splay_tree_max): New function.mmitchel2001-05-072-1/+40
| | | | | | | (splay_tree_min): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41895 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-15 Daniel Berlin <dan@cgsoftware.com>dberlin2001-04-163-2/+166
| | | | | | | | | | | | | * ternary.h: New file - Ternary search tree header. 2001-04-15 Daniel Berlin <dan@cgsoftware.com> * ternary.c: New file - Ternary search tree implementation. * Makefile.in: Add ternary.o, and ternary.c dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41380 138bc75d-0d04-0410-961f-82ee72b054a4
* include:zack2001-04-042-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * ansidecl.h: All logic from gcc/gansidecl.h moved here. gcc: * gansidecl.h: Delete file. * configure.in: Change all refs to gansidecl.h to use ansidecl.h. Adjust *_file_list so they know where ansidecl.h lives. * configure: Regenerate. * Makefile.in (intl.o): Don't depend on gansidecl.h. * defaults.h: s/gansidecl.h/ansidecl.h/ in comment. * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c: Don't include gansidecl.h. * intl.c, main.c, version.c, fixinc/fixlib.h, fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not gansidecl.h. gcc/java: * Make-lang.in (buffer.o, check-init.o, class.o): Don't depend on gansidecl.h. * buffer.c, jvgenmain.c: Don't include gansidecl.h. libiberty: * make-temp-file.c (try): Inline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41069 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (make-temp-file.o): Depend on config.h.rth2001-03-282-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40929 138bc75d-0d04-0410-961f-82ee72b054a4
* * memchr.c (memchr): Adjust condition to avoid infinite loop.ghazi2001-03-282-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40899 138bc75d-0d04-0410-961f-82ee72b054a4
* * mangle.c (write_discriminator): Use `_0' for discriminator 1,jakub2001-03-232-6/+7
| | | | | | | | | | not `_'. * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1, `_' not followed by a digit is invalid. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40795 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (string_list_delete): Don't forget to free thejimb2001-03-222-1/+7
| | | | | | | actual contents of the string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40744 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (struct demangling_def): New fields:dj2001-03-212-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40713 138bc75d-0d04-0410-961f-82ee72b054a4
* * make-temp-file.c: Always default DIR_SEPARATOR to '/'.zack2001-03-212-21/+13
| | | | | | | | Don't default P_tmpdir to anything. Try /var/tmp before /usr/tmp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40706 138bc75d-0d04-0410-961f-82ee72b054a4
* * choose-temp.c: Split off make_temp_file, and the codezack2001-03-214-147/+189
| | | | | | | | | | | duplicated between it and choose_temp_base, into... * make-temp-file.c: ... here; new file. * Makefile.in (CFILES): Add make-temp-file.c. (REQUIRED_OFILES): Add make-temp-file.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40683 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (main): Skip initial $.jason2001-03-202-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40655 138bc75d-0d04-0410-961f-82ee72b054a4
* fix typomeissner2001-03-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40517 138bc75d-0d04-0410-961f-82ee72b054a4
* Silence warningmeissner2001-03-151-39/+32
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40512 138bc75d-0d04-0410-961f-82ee72b054a4
* Silence warningmeissner2001-03-152-32/+45
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40511 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty/lbasename.c: New file.neil2001-03-103-6/+104
| | | | | | | | * libiberty/Makefile.in: Update for lbasename. * include/libiberty.h: Add lbasename. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40363 138bc75d-0d04-0410-961f-82ee72b054a4
* oops, edited changelogs in wrong treezack2001-03-061-1/+20
| | | | | | | this is the log for the big alloca configuration patch git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40260 138bc75d-0d04-0410-961f-82ee72b054a4