1. 17 Mar, 2003 2 commits
    • ansidecl.h (ATTRIBUTE_NONNULL, [...]): New. · d41c4351
      include:
      	* ansidecl.h (ATTRIBUTE_NONNULL, ATTRIBUTE_NULL_PRINTF,
      	ATTRIBUTE_NULL_PRINTF_1, ATTRIBUTE_NULL_PRINTF_2,
      	ATTRIBUTE_NULL_PRINTF_3, ATTRIBUTE_NULL_PRINTF_4,
      	ATTRIBUTE_NULL_PRINTF_5): New.
      	(ATTRIBUTE_PRINTF): Add ATTRIBUTE_NONNULL.
      
      gcc:
      	* dwarf2asm.h: Delete obsolete comment.
      	(dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
      	dw2_asm_output_pcrel, dw2_asm_output_addr,
      	dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
      	dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
      	dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
      	dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
      
      From-SVN: r64505
      Kaveh R. Ghazi committed
    • ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize. · dbccdc42
      	* ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.
      
      	* hashtab.h (htab_traverse_noresize): Declare.
      
      	* hashtab.c (htab_traverse_noresize): Break out from ...
      	* hashtab.c (htab_traverse): ... here.
      
      From-SVN: r64496
      Jan Hubicka committed
  2. 27 Feb, 2003 1 commit
  3. 21 Feb, 2003 1 commit
    • libiberty.h (physmem_total, [...]): Prototype. · a354191e
      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
      Kaveh R. Ghazi committed
  4. 20 Feb, 2003 1 commit
  5. 26 Jan, 2003 1 commit
    • hashtab.h (htab_alloc_with_arg, [...]): Add new types. · 74828682
      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
      Daniel Jacobowitz committed
  6. 10 Jan, 2003 1 commit
  7. 24 Nov, 2002 1 commit
  8. 22 Nov, 2002 1 commit
  9. 27 Oct, 2002 2 commits
  10. 24 Oct, 2002 1 commit
  11. 16 Oct, 2002 1 commit
  12. 12 Oct, 2002 1 commit
  13. 20 Sep, 2002 1 commit
  14. 25 Jun, 2002 1 commit
  15. 24 Jun, 2002 1 commit
  16. 06 Jun, 2002 2 commits
  17. 04 Jun, 2002 1 commit
  18. 17 Apr, 2002 1 commit
  19. 01 Apr, 2002 1 commit
  20. 06 Mar, 2002 1 commit
  21. 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
  22. 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
  23. 03 Feb, 2002 2 commits
  24. 28 Jan, 2002 1 commit
  25. 06 Dec, 2001 1 commit
  26. 24 Oct, 2001 1 commit
  27. 23 Oct, 2001 1 commit
  28. 22 Oct, 2001 1 commit
  29. 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
  30. 24 Sep, 2001 1 commit
  31. 18 Sep, 2001 2 commits
  32. 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
  33. 29 Aug, 2001 1 commit
  34. 27 Aug, 2001 1 commit