aboutsummaryrefslogtreecommitdiff
path: root/libiberty
AgeCommit message (Collapse)AuthorFilesLines
2001-08-27ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses.Kaveh R. Ghazi2-27/+12
include: * ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses. libiberty: * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE. From-SVN: r45204
2001-08-23merge from glibcUlrich Drepper2-14/+69
From-SVN: r45134
2001-08-22fibheap.c (fibheap_init, [...]): Remove.Matt Kraai2-44/+16
* fibheap.c (fibheap_init, fibnode_init): Remove. (fibheap_new, fibnode_new): Use xcalloc to allocate and initialize memory. (fibheap_insert): Remove check for node allocation failure. From-SVN: r45113
2001-08-21Makefile.in (fibheap.o): Depend on config.h.Richard Henderson3-125/+137
* Makefile.in (fibheap.o): Depend on config.h. * fibheap.c: Tidy formatting. Use config.h.` Rearrange some functions for inlining. From-SVN: r45089
2001-08-21configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever ↵Christopher Faylor3-66/+77
hosting on cygwin. * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever hosting on cygwin. * configure: Regenerate. From-SVN: r45081
2001-08-21floatformat.h (floatformat_arm_ext): Document as deprecated.Andrew Cagney2-7/+54
* floatformat.h (floatformat_arm_ext): Document as deprecated. (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. From-SVN: r45065
2001-08-20fibheap.h: New file.Daniel Berlin3-2/+563
include/ 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. From-SVN: r45062
2001-08-17configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.Christopher Faylor3-72/+92
* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin. * configure: Regenerate. From-SVN: r44979
2001-08-17Add commentary.Richard Henderson1-1/+24
From-SVN: r44978
2001-08-16* hashtab.c (htab_hash_string): New.Richard Henderson2-0/+20
From-SVN: r44950
2001-08-14floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix name.Andrew Cagney2-1/+6
* floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix name. From-SVN: r44878
2001-08-12backport: regex.c (wcs_regex_compile): Use appropriate string to compare ↵Isamu Hasegawa2-2/+8
with collating element. Merge from libc: * regex.c (wcs_regex_compile): Use appropriate string to compare with collating element. Fix the padding for the alignment. From-SVN: r44838
2001-08-12Oops, fix check-in date.Andrew Cagney1-1/+1
From-SVN: r44816
2001-08-10(lbasename): Change function declaration to return a const char pointer.Andrew Cagney2-3/+8
From-SVN: r44782
2001-08-07cp-demangle.c (demangle_special_name): "GR" -> "reference temporary for".Jason Merrill2-4/+25
* cp-demangle.c (demangle_special_name): "GR" -> "reference temporary for". From-SVN: r44694
2001-08-03* Makefile.in (concat.o): Depend on config.h.Richard Henderson2-1/+5
From-SVN: r44622
2001-07-30* concat.c: Include "config.h".Andreas Jaeger2-0/+7
From-SVN: r44481
2001-07-30backport: regex.c: Declare wcs functions only if compiling with MBS_SUPPORT.Andreas Jaeger2-96/+174
Merge from glibc: * 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. From-SVN: r44471
2001-07-26* Makefile.in (regex.o): Add dependency on config.h.Daniel Jacobowitz2-1/+5
From-SVN: r44394
2001-07-18merge from glibcDJ Delorie2-10/+38
From-SVN: r44138
2001-07-10Makefile.in: Add support for regex code.Jeff Johnston3-2/+8254
* Makefile.in: Add support for regex code. * regex.c: New file. From-SVN: r43914
2001-07-05Makefile.in: Add ffs.c dependency.Mark Klein5-3/+40
* Makefile.in: Add ffs.c dependency. * configure.in: Add ffs.c. * ffs.c: New file. From-SVN: r43784
2001-06-18* concat.c: Include <sys/types.h>.Richard Henderson2-0/+5
From-SVN: r43449
2001-06-12Add GNATS ID.Loren J. Rittle1-0/+1
From-SVN: r43244
2001-06-12strerror.c (sys_nerr): Hide the OS header version.Loren J. Rittle3-0/+9
* strerror.c (sys_nerr): Hide the OS header version. * strsignal.c (sys_nsig): Likewise. From-SVN: r43242
2001-06-10concat.c: Include string.h.Richard Henderson2-48/+35
* concat.c: Include string.h. Fix int vs size_t usage. Simplify the iteration loops. Use memcpy. From-SVN: r43149
2001-05-16* partition.c: Fix misspelling of `implementation'.Matt Kraai2-2/+6
From-SVN: r42170
2001-05-09md5.c (md5_init_ctx): Declare constants as unsigned.Thiemo Seufer2-68/+73
* md5.c (md5_init_ctx): Declare constants as unsigned. (md5_process_block): Likewise. From-SVN: r41930
2001-05-08cp-demangle.c (demangle_v3_with_details, [...]): Use K+R style function ↵Zack Weinberg3-14/+34
definition. * cp-demangle.c (demangle_v3_with_details, 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. From-SVN: r41910
2001-05-07splay-tree.h (splay_tree_max): New function.Mark Mitchell2-1/+40
* splay-tree.h (splay_tree_max): New function. (splay_tree_min): Likewise. From-SVN: r41895
2001-04-16ternary.h: New file - Ternary search tree header.Daniel Berlin3-2/+166
2001-04-15 Daniel Berlin <dan@cgsoftware.com> * 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. From-SVN: r41380
2001-04-04ansidecl.h: All logic from gcc/gansidecl.h moved here.Zack Weinberg2-2/+6
include: * 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. From-SVN: r41069
2001-03-28* Makefile.in (make-temp-file.o): Depend on config.h.Richard Henderson2-0/+5
From-SVN: r40929
2001-03-28* memchr.c (memchr): Adjust condition to avoid infinite loop.Kaveh R. Ghazi2-1/+5
From-SVN: r40899
2001-03-23mangle.c (write_discriminator): Use `_0' for discriminator 1, not `_'.Jakub Jelinek2-6/+7
* mangle.c (write_discriminator): Use `_0' for discriminator 1, not `_'. * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1, `_' not followed by a digit is invalid. From-SVN: r40795
2001-03-22cp-demangle.c (string_list_delete): Don't forget to free the actual contents ↵Jim Blandy2-1/+7
of the string. * cp-demangle.c (string_list_delete): Don't forget to free the actual contents of the string. From-SVN: r40744
2001-03-21cp-demangle.c (struct demangling_def): New fields: is_constructor and ↵Jim Blandy2-6/+124
is_destructor. * cp-demangle.c (struct demangling_def): New fields: 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. From-SVN: r40713
2001-03-21make-temp-file.c: Always default DIR_SEPARATOR to '/'.Zack Weinberg2-21/+13
* make-temp-file.c: Always default DIR_SEPARATOR to '/'. Don't default P_tmpdir to anything. Try /var/tmp before /usr/tmp. From-SVN: r40706
2001-03-21choose-temp.c: Split off make_temp_file...Zack Weinberg4-147/+189
* choose-temp.c: Split off make_temp_file, and the code 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. From-SVN: r40683
2001-03-20* cplus-dem.c (main): Skip initial $.Jason Merrill2-1/+5
From-SVN: r40655
2001-03-15fix typoMichael Meissner1-1/+1
From-SVN: r40517
2001-03-15Silence warningMichael Meissner1-39/+32
From-SVN: r40512
2001-03-15Silence warningMichael Meissner2-32/+45
From-SVN: r40511
2001-03-10lbasename.c: New file.Neil Booth3-6/+104
* libiberty/lbasename.c: New file. * libiberty/Makefile.in: Update for lbasename. * include/libiberty.h: Add lbasename. Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca> From-SVN: r40363
2001-03-06oops, edited changelogs in wrong treeZack Weinberg1-1/+20
this is the log for the big alloca configuration patch From-SVN: r40260
2001-03-06aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.Zack Weinberg10-347/+146
libiberty: * 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. From-SVN: r40259
2001-03-05* cplus-dem.c (main): Cast enum style to int.John David Anglin2-1/+5
From-SVN: r40242
2001-02-16cplus-dem.c (main): Initialize style.Loren J. Rittle2-1/+5
2001-02-16 Loren J. Rittle <ljrittle@acm.org> * cplus-dem.c (main): Initialize style. From-SVN: r39782
2001-02-02COPYING.LIB: Update to LGPL 2.1 from the FSF.Phil Edwards2-99/+121
2001-02-02 Phil Edwards <pme@sources.redhat.com> * COPYING.LIB: Update to LGPL 2.1 from the FSF. From-SVN: r39413
2001-02-02Add support for Java demangling under the v3 ABI:Bryce McKinlay4-24/+221
* cp-demangle.c (NAMESPACE_SEPARATOR): New define. (struct demangling_def): Add `style' field. (demangling_new): New parameter `style'. Set it in demangling_t. (demangle_prefix): Use NAMESPACE_SEPARATOR. (demangle_type_ptr): Don't emit pointer symbol if doing Java output. (cp_demangle): New parameter `style'. Pass it to demangling_new(). (main): Call cp_demangle with extra parameter. (java_demangle_v3): New function. (java_builtin_type_names): New. Table of primitive type names used for Java demangling. (demangle_builtin_type): Look up in java_builtin_type_names if doing Java output. * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java demangling. (long_options): Remove obsolete `java' option. (main): Remove explicit handling of `java' option. Instead, pass style parameter in cplus_demangle flags as gdb does. * testsuite/demangle.expected: Add some Java test cases. From-SVN: r39399