summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* * demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.amodra2002-06-257-12/+21
| | | | | | | | | | | * fibheap.h: Likewise. * hashtab.h: Likewise. * partition.h: Likewise. * sort.h: Likewise. * splay-tree.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54974 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.amodra2002-06-243-8/+14
| | | | | | | * getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54941 138bc75d-0d04-0410-961f-82ee72b054a4
* * hashtab.h (htab): Rearrange new members for backwarddj2002-06-062-8/+10
| | | | | | | | compatibility. (htab_create): Don't use a macro that requires other headers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54316 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: include/ChangeLoggeoffk2002-06-062-1/+11
| | | | | | | | | | | | | | * hashtab.h (htab_create): Restore prototype for backward compatibility. (htab_try_create): Likewise. Index: libiberty/ChangeLog * hashtab.c (htab_create): New stub function for backward compatibility. (htab_try_create): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54300 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from pch-branch up to tag pch-commit-20020603.geoffk2002-06-042-13/+41
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54232 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-16 David S. Miller <davem@redhat.com>davem2002-04-172-4/+15
| | | | | | | | * xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later. Do not redefine. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52383 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-01 Phil Edwards <pme@gcc.gnu.org>pme2002-04-012-3/+7
| | | | | | | * dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51707 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove floatformat_arm_ext.cagney2002-03-062-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50345 138bc75d-0d04-0410-961f-82ee72b054a4
* include:jimb2002-02-222-0/+35
| | | | | | | | | | | | | | | | | | | | | | | Allow the user to specify functions for allocating memory for splay tree roots and nodes. * splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn): New types. (splay_tree): New fields: `allocate', `deallocate', and `allocate_data'. (splay_tree_new_with_allocator): New function declaration. libiberty: * splay-tree.c (splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate): New functions. (splay_tree_new): Call splay_tree_new_with_allocator, passing the above functions and a dummy data pointer. (splay_tree_new_with_allocator): New function. (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert, splay_tree_remove): Use the splay tree's allocation and deallocation functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49968 138bc75d-0d04-0410-961f-82ee72b054a4
* * demangle.h (cplus_demangle_v3): Add "options" parm.jason2002-02-052-6/+10
| | | | | | | | | | | | | | | | | | (cplus_demangle_v3_type): Remove prototype. (DMGL_VERBOSE): New macro. (DMGL_TYPES): New macro. * cplus-dem.c (flags): Add DMGL_VERBOSE (cplus_demangle_v3_p): Remove. (demangle_it): Add DMGL_TYPES to passed flags. * cp-demangle.c (cplus_demangle_v3_all): Remove. (cplus_demangle_v3_type): Remove. (cplus_demangle_v3): Add options parm. * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49525 138bc75d-0d04-0410-961f-82ee72b054a4
* minor typodj2002-02-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49461 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-02 H.J. Lu (hjl@gnu.org)hjl2002-02-032-0/+9
| | | | | | | * demangle.h (cplus_demangle_v3_type): New prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49455 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty.h (C_alloca): Add ATTRIBUTE_MALLOC.ghazi2002-01-282-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49299 138bc75d-0d04-0410-961f-82ee72b054a4
* * demangle.h (no_demangling): New.rth2001-12-062-0/+7
| | | | | | | | | | (NO_DEMANGLING_STYLE_STRING): New. * cplus-dem.c (libiberty_demanglers): Add no_demangling case. (cplus_demangle): Support no_demangling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47733 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New.neil2001-10-242-1/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46470 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2001-10-232-0/+3
| | | | | | | | | | * libiberty.h (hex_init): Revert delete. libiberty: * hex.c (hex_init): Provide empty stub. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46421 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2001-10-222-2/+6
| | | | | | | | | | | | * libiberty.h (_hex_value): Const-ify. (hex_init): Delete. libiberty: * hex.c (hex_init): Delete. (_hex_value): Const-ify and initialize at compile-time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46417 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2001-10-073-6/+11
| | | | | | | | | | | | | | | | | | | | * demangle.h (demangler_engine): Const-ify. * libiberty.h (buildargv): Likewise. libiberty: * argv.c (buildargv, tests, main): Const-ify. * cp-demangle.c (operator_code): Likewise. * cplus-dem.c (optable, libiberty_demanglers, cplus_demangle_set_style, cplus_demangle_name_to_style, print_demangler_list): Likewise. * hashtab.c (higher_prime_number): Likewise. * strcasecmp.c (charmap): Likewise. * strerror.c (error_info, strerror, main): Likewise. * strncasecmp.c (charmap): Likewise. * strsignal.c (signal_info): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46060 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2001-09-242-0/+13
| | | | | | | | | | | | | | * 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
* * libiberty.h (concat, concat_length, concat_copy, concat_copy2,ghazi2001-09-182-9/+20
| | | | | | | ACONCAT): Improve comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45683 138bc75d-0d04-0410-961f-82ee72b054a4
* * objalloc.h (OBJALLOC_ALIGN): Define using offsetof.amodra2001-09-182-6/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45677 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2001-09-172-0/+30
| | | | | | | | | | | | | | | | * 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/+18
| | | | | | | | | | | | | | | | * 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
* * ansidecl.h: Update comments reflecting previous change.ghazi2001-08-292-5/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45275 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2001-08-272-4/+8
| | | | | | | | | | * 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
* * dyn-string.h, fibheap.h, partition.h, sort.h, splay-tree.h:gerald2001-08-236-20/+25
| | | | | | | replace "GNU CC" with "GCC". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45130 138bc75d-0d04-0410-961f-82ee72b054a4
* * fibheap.h: Tidy formatting.rth2001-08-222-13/+19
| | | | | | | (fibnode_t): Limit degree to 31 bits to avoid warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45088 138bc75d-0d04-0410-961f-82ee72b054a4
* * floatformat.h (floatformat_arm_ext): Document as deprecated.cagney2001-08-212-1/+17
| | | | | | | | | | (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-202-0/+84
| | | | | | | | | | | | | | | | | | 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
* include:zack2001-08-182-137/+186
| | | | | | | | | | | | | * ansidecl.h: Reorganize for readability, remove documentation of obsolete macros, document PARAMS and VPARAMS. Add new macros VA_OPEN, VA_CLOSE, and VA_FIXEDARG for nicer variadic function implementation. gcc: * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45011 138bc75d-0d04-0410-961f-82ee72b054a4
* * hashtab.h (htab_hash_string): Declare.rth2001-08-172-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44949 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-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44782 138bc75d-0d04-0410-961f-82ee72b054a4
* * xregex.h (_REGEX_RE_COMP): Define.dj2001-08-022-0/+10
| | | | | | | | (re_comp): Define to xre_comp. (re_exec): Define to xre_exec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44585 138bc75d-0d04-0410-961f-82ee72b054a4
* merge from glibcdj2001-07-182-9/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44138 138bc75d-0d04-0410-961f-82ee72b054a4
* * xregex.h: New file to support libiberty regex.dj2001-07-113-0/+595
| | | | | | | * xregex2.h: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43913 138bc75d-0d04-0410-961f-82ee72b054a4
* * partition.h: Fix misspelling of `implementation'.gerald2001-05-162-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42171 138bc75d-0d04-0410-961f-82ee72b054a4
* * ansidecl.h (NULL_PTR): Delete.ghazi2001-05-102-10/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41946 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (demangle_v3_with_details,zack2001-05-083-5/+14
| | | | | | | | | | | | | 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-0/+9
| | | | | | | (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-162-0/+54
| | | | | | | | | | | | | * 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-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * libiberty.h (alloca): Handle setting C_ALLOCA.ghazi2001-03-312-1/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40978 138bc75d-0d04-0410-961f-82ee72b054a4
* * demangle.h (enum gnu_v3_constructor_kinds,dj2001-03-212-0/+32
| | | | | | | | is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds, is_gnu_v3_mangled_dtor): New declarations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40709 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix pathname.dj2001-03-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40473 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix copyright datesnickc2001-03-1410-8/+48
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40469 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty/lbasename.c: New file.neil2001-03-102-0/+9
| | | | | | | | * 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-0/+5
| | | | | | | 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
* libiberty:zack2001-03-061-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. * configure.in: Replace all alloca logic with a simple use of the above new macro. * config.table: Kill *-*-beos* entry. * config/mh-beos: Delete. * configure, config.in: Regenerate. * Makefile.in (ALLOCA, HFILES): Kill. (REQUIRED_OFILES): Add alloca.o. (alloca.o): Depend on libiberty.h. (argv.o): Don't depend on alloca-conf.h. * alloca-conf.h: Delete. * alloca.c: Include libiberty.h. Kill all #ifdef emacs blocks. Provide the C alloca unconditionally. Use PTR where appropriate. Make i00afunc static. * argv.c: Don't include alloca-conf.h. include: * libiberty.h: Prototype C_alloca; define alloca to either __builtin_alloca or C_alloca as appropriate. gcc: * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE AC_FUNC_ALLOCA. * configure, config.in: Regenerate. * config.gcc: Remove references to deleted files. * genattr.c, genattrtab.c, genextract.c, genoutput.c, genrecog.c, rtl.c: Do not use alloca anywhere. * Makefile.in, build-make, system.h, config/x-interix, config/x-svr4, config/xm-interix.h, config/xm-openbsd.h, config/alpha/xm-alpha.h, config/alpha/xm-vms.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, config/h8300/xm-h8300.h, config/i370/x-oe, config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos, config/i386/x-ncr3000, config/i386/x-sco5, config/i386/xm-dgux.h, config/i860/x-sysv4, config/i960/xm-i960.h, config/m32r/xm-m32r.h, config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320, config/m68k/x-hp320g, config/m69k/x-mot3300, config/m68k/x-mot3300-gas, config/m68k/xm-amix.h, config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h, config/m68k/xm-mot3300.h, config/m88k/x-dolph, config/m88k/x-sysv4, config/m88k/x-tekXD88, config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, config/mips/x-iris, config/mips/x-iris3, config/mips/x-sni-svr4, config/mips/x-sysv, config/mips/xm-iris6.h, config/mips/xm-mips.h, config/mips/xm-nws3250v4.h, config/pa/x-hpux, config/pa/x-pa-mpeix, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/romp/xm-romp.h, config/rs6000/x-aix31, config/rs6000/x-aix41, config/rs6000/x-beos, config/rs6000/x-lynx, config/rs6000/x-mach, config/rs6000/x-rs6000, config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, config/sparc/x-sysv4, config/sparc/xm-linux.h, config/sparc/xm-pbd.h, config/sparc/xm-sparc.h, config/vax/xm-vms.h: Eradicate all references to alloca and related stuff. * config/xm-alloca.h, config/clipper/x-clix, config/i386/xm-sysv4.h, config/i860/x-fx2800, config/i860/x-sysv3, config/m88k/x-sysv3, config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete (contained only alloca related hacks). * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define USE_C_ALLOCA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40259 138bc75d-0d04-0410-961f-82ee72b054a4
* * safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pccdanglin2001-03-022-2/+7
| | | | | | | compatibility. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40175 138bc75d-0d04-0410-961f-82ee72b054a4