1. 06 Mar, 2002 1 commit
  2. 22 Feb, 2002 1 commit
    • Allow the user to specify functions for allocating memory for splay tree roots and nodes. · 00c2f96f
      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
      Jim Blandy committed
  3. 05 Feb, 2002 1 commit
    • demangle.h (cplus_demangle_v3): Add "options" parm. · c13db5d1
              * 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
      Jason Merrill committed
  4. 03 Feb, 2002 2 commits
  5. 28 Jan, 2002 1 commit
  6. 06 Dec, 2001 1 commit
  7. 24 Oct, 2001 1 commit
  8. 23 Oct, 2001 1 commit
  9. 22 Oct, 2001 1 commit
  10. 07 Oct, 2001 1 commit
    • demangle.h (demangler_engine): Const-ify. · 0be6abca
      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
      Kaveh R. Ghazi committed
  11. 24 Sep, 2001 1 commit
  12. 18 Sep, 2001 2 commits
  13. 17 Sep, 2001 2 commits
    • libiberty.h (concat_length, [...]): New. · c793eea7
      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
      Kaveh R. Ghazi committed
    • libiberty.h (ASTRDUP): New macro. · c1d49704
      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
      Kaveh R. Ghazi committed
  14. 29 Aug, 2001 1 commit
  15. 27 Aug, 2001 1 commit
  16. 23 Aug, 2001 1 commit
  17. 22 Aug, 2001 1 commit
  18. 21 Aug, 2001 1 commit
  19. 20 Aug, 2001 1 commit
    • fibheap.h: New file. · 8c23e0a4
      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
      Daniel Berlin committed
  20. 18 Aug, 2001 1 commit
    • ansidecl.h: Reorganize for readability... · b649398a
      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
      Zack Weinberg committed
  21. 17 Aug, 2001 1 commit
  22. 12 Aug, 2001 1 commit
  23. 10 Aug, 2001 1 commit
  24. 02 Aug, 2001 1 commit
  25. 18 Jul, 2001 1 commit
  26. 11 Jul, 2001 1 commit
  27. 16 May, 2001 1 commit
  28. 10 May, 2001 1 commit
  29. 08 May, 2001 1 commit
  30. 07 May, 2001 1 commit
  31. 16 Apr, 2001 1 commit
  32. 04 Apr, 2001 1 commit
    • ansidecl.h: All logic from gcc/gansidecl.h moved here. · d02af173
      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
      Zack Weinberg committed
  33. 31 Mar, 2001 1 commit
  34. 21 Mar, 2001 1 commit
  35. 14 Mar, 2001 2 commits
  36. 10 Mar, 2001 1 commit
    • lbasename.c: New file. · 2b757d51
      	* 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
      Neil Booth committed