1. 08 May, 2002 1 commit
  2. 07 May, 2002 1 commit
  3. 10 Apr, 2002 1 commit
  4. 01 Apr, 2002 1 commit
  5. 30 Mar, 2002 1 commit
  6. 28 Mar, 2002 1 commit
  7. 27 Mar, 2002 1 commit
  8. 26 Mar, 2002 1 commit
  9. 18 Mar, 2002 1 commit
  10. 12 Mar, 2002 1 commit
  11. 11 Mar, 2002 1 commit
  12. 07 Mar, 2002 1 commit
  13. 06 Mar, 2002 1 commit
  14. 04 Mar, 2002 2 commits
  15. 03 Mar, 2002 1 commit
  16. 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
  17. 19 Feb, 2002 1 commit
  18. 18 Feb, 2002 1 commit
    • re PR other/5390 ([3.3 only?] Libiberty fails to demangle multi-digit template parameters.) · 336669e7
      2002-02-18  Carlo Wood  <carlo@gnu.org>
      
      	PR c++/5390
              * cplus-dem.c (demangle_integral_value): Accept multi-digit
              numbers that do not start with an underscore; This is needed
              for integer template parameters. This doesn't break anything
              because multi-digit numbers are never followed by a digit.
              * testsuite/demangle-expected: Corrected all mangled test
              cases with multi-digit template parameters: g++ 2.95.x does
              not generate underscores around these parameters.
      
      From-SVN: r49851
      Carlo Wood committed
  19. 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
  20. 03 Feb, 2002 1 commit
    • cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2. · d74697b8
      2002-02-02  H.J. Lu  (hjl@gnu.org)
      
      	* cp-demangle.c (cp_demangle_type): Do not protect with
      	IN_LIBGCC2.
      	(cplus_demangle_v3_all): New.
      	(cplus_demangle_v3): Call cplus_demangle_v3_all.
      	(cplus_demangle_v3_type): Call cplus_demangle_v3_all.
      
      	* cplus-dem.c (cplus_demangle_v3_p): New function pointer.
      	Initialized to cplus_demangle_v3.
      	(cplus_demangle_with_style): Call cplus_demangle_v3_p instead
      	of cplus_demangle_v3.
      	(main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
      	command line symbol.
      
      	* testsuite/regress-demangle: Pass the mangled name at the
      	command line.
      
      From-SVN: r49456
      H.J. Lu committed
  21. 01 Feb, 2002 2 commits
  22. 31 Jan, 2002 2 commits
  23. 22 Jan, 2002 2 commits
    • configure.in (variable detection): Use arrays of unspecified size instead of plain integers. · e64d0626
              * configure.in (variable detection): Use arrays of unspecified
              size instead of plain integers.
      
      From-SVN: r49103
      Momchil Velikov committed
    • Makefile.in (TESTLIB): New. · 9ce3f7e5
      * Makefile.in (TESTLIB): New.  This library is for future
      testsuites.
      (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
      break down by letter.
      (REQUIRED_OFILES): List long-to-compile files first.
      (maint-deps): New, target for updating dependencies.
      (dependencies): Update.
      * maint-tool: Add dependency-generating option.
      * configure.in: Check for _doprnt even if we're not providing it.
      * configure: Regenerate.
      
      * _doprnt.c: Modifications to allow compiling on any platform.
      * copysign.c: Likewise.
      * putenv.c: Likewise.
      * setenv.c: Likewise.
      * vsprintf.c: Likewise.
      
      From-SVN: r49090
      DJ Delorie committed
  24. 15 Jan, 2002 1 commit
  25. 02 Jan, 2002 2 commits
    • gcc.c (default_compilers): Const-ify. · 5e65297b
      	* gcc.c (default_compilers): Const-ify.
      	* mips-tdump.c (stab_names): Likewise.
      	* mips-tfile.c (map_coff_types, map_coff_storage,
      	map_coff_sym_type, map_coff_derived_type, stabs_symbol,
      	pseudo_ops_t, pseudo_ops): Likewise.
      	* protoize.c (default_include): Likewise
      
      f:
      	* com.c (clear_binding_level): Const-ify.
      	(ffecom_arglist_expr_): Likewise.
      	* info.c (ffeinfo_types_): Don't needlessly zero init.
      	* lex.c (ffelex_hash_kludge): Const-ify.
      
      java:
      	* parse.y (src_parse_roots): Don't needlessly zero init.
      
      libiberty:
      	* cp-demangle.c (long_options): Const-ify.
      	* cplus-dem.c (long_options): Likewise.
      
      From-SVN: r48485
      Kaveh R. Ghazi committed
    • cplus-dem.c (mystrstr): Delete. · adddf5bf
      	* cplus-dem.c (mystrstr): Delete.  All callers changed to use
      	strstr instead.
      
      From-SVN: r48476
      Kaveh R. Ghazi committed
  26. 01 Jan, 2002 1 commit
  27. 31 Dec, 2001 1 commit
  28. 24 Dec, 2001 1 commit
  29. 12 Dec, 2001 1 commit
  30. 11 Dec, 2001 1 commit
  31. 06 Dec, 2001 1 commit
  32. 28 Nov, 2001 1 commit
    • top level: · e490616e
      2001-11-27  DJ Delorie <dj@redhat.com>
      	    Zack Weinberg  <zack@codesourcery.com>
      
      	When build != host, create libiberty for the build machine.
      
      	* Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace
      	CONFIG_ARGUMENTS.
      	(ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR):
      	New variables.
      	(ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables
      	and rules.
      	(all.normal): Depend on ALL_BUILD_MODULES.
      	(CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS.
      	(all-build-libiberty): Depend on configure-build-libiberty.
      
      	* configure: Calculate and substitute proper value for
      	ALL_BUILD_MODULES.
      	* configure.in: Create the build subdirectory.
      	Calculate and substitute TARGET_CONFIGARGS (formerly
      	CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new).
      
      libiberty:
      2001-11-27  Zack Weinberg  <zack@codesourcery.com>
      
      	* _doprnt.c: Moved here from gcc/doprint.c.  Adjust to build
      	in libiberty context.  Fix typo in leading comment.
      	* configure.in: Fix various AC_DEFINEs so autoheader works.
      	If any of vprintf, vsprintf, vfprintf is missing from libc,
      	then AC_REPLACE_FUNCS(_doprnt).
      
      From-SVN: r47393
      Zack Weinberg committed
  33. 26 Nov, 2001 3 commits