aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2003-02-27* libiberty.h: Document return value of physmem routines.Kaveh R. Ghazi2-1/+5
From-SVN: r63521
2003-02-21libiberty.h (physmem_total, [...]): Prototype.Kaveh R. Ghazi2-0/+8
include: * libiberty.h (physmem_total, physmem_available): Prototype. libiberty: * Makefile.in (CFILES): Add physmem.c. (REQUIRED_OFILES): Add physmem.o. * configure.in: Check for sys/pstat.h. (checkfuncs): Add pstat_getstatic and pstat_getdynamic. * physmem.c: New file, copied from textutils. * config.in, configure: Regenerated. From-SVN: r63198
2003-02-20* libiberty.h (lrealpath): Add declaration.Daniel Jacobowitz2-0/+8
From-SVN: r63185
2003-01-26hashtab.h (htab_alloc_with_arg, [...]): Add new types.Daniel Jacobowitz2-2/+30
include/ * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types. (struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f. (htab_create_alloc_ex): New prototype. (htab_set_functions_ex): New prototype. libiberty/ * hashtab.c (htab_create_alloc_ex): New function. (hatab_set_functions_ex): New function. (htab_delete, htab_expand): Support alternate allocation functions. From-SVN: r61820
2003-01-10Merge from pch-branch.Geoffrey Keating2-10/+23
From-SVN: r61136
2002-11-24* libiberty.h (basename): Add NetBSD to the list.Simon Burge2-1/+5
From-SVN: r59421
2002-11-22libiberty.h (make_relative_prefix): Add prototype.Daniel Jacobowitz2-0/+10
include/ * libiberty.h (make_relative_prefix): Add prototype. libiberty/ * Makefile.in: Add make-relative-prefix.c. * make-relative-prefix.c: New file. * functions.texi: Rebuilt. gcc/ * gcc.c (make_relative_prefix, split_directories) (free_split_directories): Removed. From-SVN: r59385
2002-10-27partition.h: Close the extern "C" scope when compiling with C++.Roger Sayle3-2/+10
* partition.h: Close the extern "C" scope when compiling with C++. * getopt.h: Update copyright year from the previous patch. From-SVN: r58570
2002-10-27re PR bootstrap/8351 (3.3 20021024 (experimental) fails to bootstrap on cygwin)Roger Sayle2-0/+8
PR bootstrap/8351 * getopt.h: Avoid prototyping getopt with no arguments in C++. Co-Authored-By: DJ Delorie <dj@redhat.com> From-SVN: r58569
2002-10-24ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the list of platform ↵Nathan Tallent2-1/+10
compilers that may look... * ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the list of platform compilers that may look, smell and act like __STDC__ but that may not define it. From-SVN: r58513
2002-10-16Remove bogus copyright message in my last entry.David O'Brien1-2/+1
From-SVN: r58188
2002-10-12getopt.h: getopt is in unistd.h.David O'Brien2-1/+6
2002-10-11 David O'Brien <obrien@FreeBSD.org> * getopt.h: getopt is in unistd.h. The Single UNIX(tm) Specification, Version 2 Copyright (c)1997 The Open Group Approved by: Committed as obvious. From-SVN: r58078
2002-09-20libiberty.h (asprintf, vasprintf): Don't declare them if the corresponding ↵Alexandre Oliva2-0/+9
HAVE_DECL_ macro is 1. * libiberty.h (asprintf, vasprintf): Don't declare them if the corresponding HAVE_DECL_ macro is 1. From-SVN: r57324
2002-06-25demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.Alan Modra7-12/+21
* demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>. * fibheap.h: Likewise. * hashtab.h: Likewise. * partition.h: Likewise. * sort.h: Likewise. * splay-tree.h: Likewise. From-SVN: r54974
2002-06-24libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.Alan Modra3-8/+14
* libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME. * getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT. From-SVN: r54941
2002-06-06hashtab.h (htab): Rearrange new members for backward compatibility.DJ Delorie2-8/+10
* hashtab.h (htab): Rearrange new members for backward compatibility. (htab_create): Don't use a macro that requires other headers. From-SVN: r54316
2002-06-06Index: include/ChangeLogGeoffrey Keating2-1/+11
Index: include/ChangeLog * 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. From-SVN: r54300
2002-06-04Merge from pch-branch up to tag pch-commit-20020603.Geoffrey Keating2-13/+41
From-SVN: r54232
2002-04-16xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later.David S. Miller2-4/+15
2002-04-16 David S. Miller <davem@redhat.com> * xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later. Do not redefine. From-SVN: r52383
2002-04-01dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names.Phil Edwards2-3/+7
2002-04-01 Phil Edwards <pme@gcc.gnu.org> * dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names. From-SVN: r51707
2002-03-06Remove floatformat_arm_ext.Andrew Cagney2-1/+4
From-SVN: r50345
2002-02-22Allow the user to specify functions for allocating memory for splay tree ↵Jim Blandy2-0/+35
roots and nodes. include: 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. From-SVN: r49968
2002-02-05demangle.h (cplus_demangle_v3): Add "options" parm.Jason Merrill2-6/+10
* demangle.h (cplus_demangle_v3): Add "options" parm. (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. From-SVN: r49525
2002-02-03minor typoDJ Delorie1-1/+1
From-SVN: r49461
2002-02-02demangle.h (cplus_demangle_v3_type): New prototype.H.J. Lu2-0/+9
2002-02-02 H.J. Lu (hjl@gnu.org) * demangle.h (cplus_demangle_v3_type): New prototype. From-SVN: r49455
2002-01-28* libiberty.h (C_alloca): Add ATTRIBUTE_MALLOC.Kaveh R. Ghazi2-2/+6
From-SVN: r49299
2001-12-06demangle.h (no_demangling): New.Richard Henderson2-0/+7
* demangle.h (no_demangling): New. (NO_DEMANGLING_STYLE_STRING): New. * cplus-dem.c (libiberty_demanglers): Add no_demangling case. (cplus_demangle): Support no_demangling. From-SVN: r47733
2001-10-24* include/safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New.Neil Booth2-1/+8
From-SVN: r46470
2001-10-23libiberty.h (hex_init): Revert delete.Kaveh R. Ghazi2-0/+3
include: * libiberty.h (hex_init): Revert delete. libiberty: * hex.c (hex_init): Provide empty stub. From-SVN: r46421
2001-10-22libiberty.h (_hex_value): Const-ify.Kaveh R. Ghazi2-2/+6
include: * libiberty.h (_hex_value): Const-ify. (hex_init): Delete. libiberty: * hex.c (hex_init): Delete. (_hex_value): Const-ify and initialize at compile-time. From-SVN: r46417
2001-10-07demangle.h (demangler_engine): Const-ify.Kaveh R. Ghazi3-6/+11
include: * 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. From-SVN: r46060
2001-09-24libiberty.h (reconcat): New function.Kaveh R. Ghazi2-0/+13
include: * 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. From-SVN: r45789
2001-09-18libiberty.h (concat, [...]): Improve comments.Kaveh R. Ghazi2-9/+20
* libiberty.h (concat, concat_length, concat_copy, concat_copy2, ACONCAT): Improve comments. From-SVN: r45683
2001-09-18* objalloc.h (OBJALLOC_ALIGN): Define using offsetof.Alan Modra2-6/+9
From-SVN: r45677
2001-09-17libiberty.h (concat_length, [...]): New.Kaveh R. Ghazi2-0/+30
include: * 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. From-SVN: r45664
2001-09-17libiberty.h (ASTRDUP): New macro.Kaveh R. Ghazi2-0/+18
include: * 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. From-SVN: r45657
2001-08-29* ansidecl.h: Update comments reflecting previous change.Kaveh R. Ghazi2-5/+11
From-SVN: r45275
2001-08-27ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses.Kaveh R. Ghazi2-4/+8
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-23dyn-string.h, [...]: replace "GNU CC" with "GCC".Lars Brinkhoff6-20/+25
* dyn-string.h, fibheap.h, partition.h, sort.h, splay-tree.h: replace "GNU CC" with "GCC". From-SVN: r45130
2001-08-21fibheap.h: Tidy formatting.Richard Henderson2-13/+19
* fibheap.h: Tidy formatting. (fibnode_t): Limit degree to 31 bits to avoid warning. From-SVN: r45088
2001-08-21floatformat.h (floatformat_arm_ext): Document as deprecated.Andrew Cagney2-1/+17
* 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 Berlin2-0/+84
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-18ansidecl.h: Reorganize for readability...Zack Weinberg2-137/+186
include: * 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. From-SVN: r45011
2001-08-16* hashtab.h (htab_hash_string): Declare.Richard Henderson2-0/+7
From-SVN: r44949
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-1/+6
From-SVN: r44782
2001-08-02xregex.h (_REGEX_RE_COMP): Define.Mark Kettenis2-0/+10
* xregex.h (_REGEX_RE_COMP): Define. (re_comp): Define to xre_comp. (re_exec): Define to xre_exec. From-SVN: r44585
2001-07-18merge from glibcDJ Delorie2-9/+12
From-SVN: r44138
2001-07-10xregex.h: New file to support libiberty regex.Jeff Johnston3-0/+595
* xregex.h: New file to support libiberty regex. * xregex2.h: Ditto. From-SVN: r43913
2001-05-16* partition.h: Fix misspelling of `implementation'.Matt Kraai2-2/+6
From-SVN: r42171