Skip to content
Snippets Groups Projects
  1. Dec 06, 2001
    • Richard Henderson's avatar
      demangle.h (no_demangling): New. · d06ba3c7
      Richard Henderson authored
              * 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
      d06ba3c7
  2. Oct 24, 2001
  3. Oct 23, 2001
  4. Oct 22, 2001
    • Kaveh R. Ghazi's avatar
      libiberty.h (_hex_value): Const-ify. · 26ad2982
      Kaveh R. Ghazi authored
      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
      26ad2982
  5. Oct 07, 2001
    • Kaveh R. Ghazi's avatar
      demangle.h (demangler_engine): Const-ify. · 0be6abca
      Kaveh R. Ghazi authored
      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
      0be6abca
  6. Sep 24, 2001
    • Kaveh R. Ghazi's avatar
      libiberty.h (reconcat): New function. · ad43d46f
      Kaveh R. Ghazi authored
      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
      ad43d46f
  7. Sep 18, 2001
  8. Sep 17, 2001
    • Kaveh R. Ghazi's avatar
      libiberty.h (concat_length, [...]): New. · c793eea7
      Kaveh R. Ghazi authored
      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
      c793eea7
    • Kaveh R. Ghazi's avatar
      libiberty.h (ASTRDUP): New macro. · c1d49704
      Kaveh R. Ghazi authored
      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
      c1d49704
  9. Aug 29, 2001
  10. Aug 27, 2001
  11. Aug 23, 2001
  12. Aug 22, 2001
  13. Aug 21, 2001
    • Andrew Cagney's avatar
      floatformat.h (floatformat_arm_ext): Document as deprecated. · 0310e5ac
      Andrew Cagney authored
      * 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
      0310e5ac
  14. Aug 20, 2001
    • Daniel Berlin's avatar
      fibheap.h: New file. · 8c23e0a4
      Daniel Berlin authored
      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
      8c23e0a4
  15. Aug 18, 2001
    • Zack Weinberg's avatar
      ansidecl.h: Reorganize for readability... · b649398a
      Zack Weinberg authored
      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
      b649398a
  16. Aug 17, 2001
  17. Aug 12, 2001
  18. Aug 10, 2001
  19. Aug 02, 2001
  20. Jul 18, 2001
  21. Jul 11, 2001
  22. May 16, 2001
  23. May 10, 2001
  24. May 08, 2001
    • Zack Weinberg's avatar
      cp-demangle.c (demangle_v3_with_details, [...]): Use K+R style function definition. · 641b2721
      Zack Weinberg authored
      	* 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
      641b2721
  25. May 07, 2001
  26. Apr 16, 2001
    • Daniel Berlin's avatar
      ternary.h: New file - Ternary search tree header. · 9dab060e
      Daniel Berlin authored
      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
      9dab060e
  27. Apr 04, 2001
    • Zack Weinberg's avatar
      ansidecl.h: All logic from gcc/gansidecl.h moved here. · d02af173
      Zack Weinberg authored
      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
      d02af173
  28. Mar 31, 2001
  29. Mar 21, 2001
  30. Mar 14, 2001
  31. Mar 10, 2001
  32. Mar 06, 2001
    • Zack Weinberg's avatar
      oops, edited changelogs in wrong tree · 1f50aafb
      Zack Weinberg authored
      this is the log for the big alloca configuration patch
      
      From-SVN: r40260
      1f50aafb
    • Zack Weinberg's avatar
      aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. · b548dffb
      Zack Weinberg authored
      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
      b548dffb
  33. Mar 02, 2001
  34. Feb 02, 2001
    • Bryce McKinlay's avatar
      Add support for Java demangling under the v3 ABI: · 3b60dd8e
      Bryce McKinlay authored
      	* 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
      3b60dd8e
  35. Dec 18, 2000
  36. Dec 16, 2000
Loading