aboutsummaryrefslogtreecommitdiff
path: root/include/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2001-10-24* include/safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New.Neil Booth1-0/+4
From-SVN: r46470
2001-10-23libiberty.h (hex_init): Revert delete.Kaveh R. Ghazi1-0/+2
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. Ghazi1-0/+5
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. Ghazi1-0/+5
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. Ghazi1-0/+4
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. Ghazi1-0/+5
* 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 Modra1-0/+4
From-SVN: r45677
2001-09-17libiberty.h (concat_length, [...]): New.Kaveh R. Ghazi1-0/+3
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. Ghazi1-0/+5
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. Ghazi1-0/+4
From-SVN: r45275
2001-08-27ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses.Kaveh R. Ghazi1-0/+4
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 Brinkhoff1-0/+5
* 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 Henderson1-0/+5
* 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 Cagney1-0/+8
* 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 Berlin1-0/+4
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 Weinberg1-0/+7
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 Henderson1-0/+4
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 Cagney1-0/+5
From-SVN: r44782
2001-08-02xregex.h (_REGEX_RE_COMP): Define.Mark Kettenis1-0/+6
* 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 Delorie1-0/+4
From-SVN: r44138
2001-07-10xregex.h: New file to support libiberty regex.Jeff Johnston1-0/+5
* xregex.h: New file to support libiberty regex. * xregex2.h: Ditto. From-SVN: r43913
2001-05-16* partition.h: Fix misspelling of `implementation'.Matt Kraai1-0/+4
From-SVN: r42171
2001-05-10* ansidecl.h (NULL_PTR): Delete.Kaveh R. Ghazi1-0/+4
From-SVN: r41946
2001-05-08cp-demangle.c (demangle_v3_with_details, [...]): Use K+R style function ↵Zack Weinberg1-0/+6
definition. * 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
2001-05-07splay-tree.h (splay_tree_max): New function.Mark Mitchell1-0/+5
* splay-tree.h (splay_tree_max): New function. (splay_tree_min): Likewise. From-SVN: r41895
2001-04-16ternary.h: New file - Ternary search tree header.Daniel Berlin1-0/+4
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
2001-04-04ansidecl.h: All logic from gcc/gansidecl.h moved here.Zack Weinberg1-0/+4
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
2001-03-31* libiberty.h (alloca): Handle setting C_ALLOCA.Kaveh R. Ghazi1-0/+4
From-SVN: r40978
2001-03-21demangle.h (enum gnu_v3_constructor_kinds, [...]): New declarations.Jim Blandy1-0/+6
* demangle.h (enum gnu_v3_constructor_kinds, is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds, is_gnu_v3_mangled_dtor): New declarations. From-SVN: r40709
2001-03-14Fix pathname.DJ Delorie1-1/+1
From-SVN: r40473
2001-03-14Fix copyright datesNick Clifton1-0/+12
From-SVN: r40469
2001-03-10lbasename.c: New file.Neil Booth1-0/+5
* 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
2001-03-06oops, edited changelogs in wrong treeZack Weinberg1-0/+5
this is the log for the big alloca configuration patch From-SVN: r40260
2001-03-02safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc ↵John David Anglin1-0/+5
compatibility. * safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc compatibility. From-SVN: r40175
2000-12-18COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 ↵Joseph Myers1-0/+6
(fixes... * COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references to 19yy as example year in copyright notice). gcc: * COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references to 19yy as example year in copyright notice). gcc/f: * g77.texi: Update GPL copy not to refer to years 19@var{yy}. include: * COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references to 19yy as example year in copyright notice). From-SVN: r38366
2000-12-16safe-ctype.h: Make code work on all targets and not just on targets where a ↵Herman A.J. ten Brugge1-0/+5
char is 8 bits. * safe-ctype.h: Make code work on all targets and not just on targets where a char is 8 bits. From-SVN: r38312
2000-12-08safe-ctype.h: New file.Zack Weinberg1-0/+4
include: * safe-ctype.h: New file. libiberty: * safe-ctype.c: New file. * Makefile.in (CFILES): Add safe-ctype.c. (REQUIRED_OFILES): Add safe-ctype.o. * argv.c: Define ISBLANK and use it, not isspace. * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c, strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c) before calling TOLOWER(c)/TOUPPER(c). gcc: * Makefile.in (HOST_RTL): Add safe-ctype.o. (safe-ctype.o): New rule. * system.h: Include safe-ctype.h, not ctype.h. No need to wrap ctype macros. * cpphash.h: Zap IStable and related macros. Define is_* in terms of safe-ctype.h macros. * cppinit.c: Delete the IStable and all related code. * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and is_space arrays. Delete initialize_char_syntax. Change all references to the above arrays to use macros instead. * tradcpp.h: Define is_idchar, is_idstart, is_space, and is_nvspace in terms of safe_ctype.h's macros. * tradcif.y: is_idchar, is_idstart are macros not arrays. * config/i370/i370.c, config/winnt/dirent.c, config/winnt/fixinc-nt.c, config/winnt/ld.c: Use uppercase ctype macros. If we included ctype.h, include safe-ctype.h instead. * fixinc/fixfixes.c: Use uppercase ctype macros. Don't test ISLOWER(c) before calling TOUPPER(c). * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk. * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h. No need to wrap ctype macros. Don't test ISUPPER(x) before calling TOLOWER(x). gcc/ch: * lex.c: Don't bother checking whether ISUPPER(c) before calling TOLOWER(c). Don't bother checking whether isascii(c) before testing ISSPACE(c); ISSPACE(c) includes '\n'. gcc/f: * Make-lang.in: Link f/fini with safe-ctype.o. * bad.c: Don't test ISUPPER(c) || ISLOWER(c) before calling TOUPPER(c). * com.c: Use TOUPPER, not ffesrc_toupper. * fini.c: Don't test ISALPHA(c) before calling TOUPPER(c)/TOLOWER(c). * intrin.c: Don't test IN_CTYPE_DOMAIN(c). * src.c: Delete ffesrc_toupper_ and ffesrc_tolower_ and their initializing code; use TOUPPER and TOLOWER instead of ffesrc_toupper and ffesrc_tolower. * src.h: Don't declare ffesrc_toupper_ or ffesrc_tolower_. Don't define ffesrc_toupper or ffesrc_tolower. gcc/java: * jvgenmain.c: Use ISPRINT not isascii. From-SVN: r38124
2000-12-06* getopt.h obstack.h: Standarize copyright statement.Rodney Brown1-0/+4
From-SVN: r38086
2000-12-04* demangle.h: Change "new_abi" to "v3" everywhere.Richard Henderson1-0/+4
From-SVN: r38020
2000-11-22Makefile.in, [...]: Expunge remaining traces of facility for running MD ↵Zack Weinberg1-0/+4
files through C preprocessor. gcc: * Makefile.in, config.gcc, configure.in: Expunge remaining traces of facility for running MD files through C preprocessor. libiberty: * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in. (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader. * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three argument form of AC_DEFINE in dummy definitions block. Use AC_DEFINE_NOAUTOHEADER for real definitions of things defined in dummy block. Preload cache variables instead of bypassing tests, where possible. * acconfig.h: Removed. * xmalloc.c (xmalloc_failed): New function, does error reporting on failed allocation. (xmalloc, xcalloc, xrealloc): Use it. * libiberty.h: Move #includes to top. Prototype xmalloc_failed. From-SVN: r37650
2000-11-15Correct date and style of last entryHans-Peter Nilsson1-1/+1
From-SVN: r37476
2000-11-15* demangle.h: Add gnat and java demangle styles.Kenneth Block1-0/+4
From-SVN: r37474
2000-11-04hashtab.h (struct htab): Add member return_allocation_failure.Hans-Peter Nilsson1-0/+6
* hashtab.h (struct htab): Add member return_allocation_failure. (htab_try_create): New prototype. Mention which functions may return NULL when this is used. From-SVN: r37246
2000-11-03* hashtab.h: Change void * to PTR where necessary.Hans-Peter Nilsson1-0/+4
From-SVN: r37230
2000-09-10splay-tree.h (splay_tree_predecessor): Declare.Mark Mitchell1-0/+4
* splay-tree.h (splay_tree_predecessor): Declare. * splay-tree.c (splay_tree_predecessor): New function. (splay_tree_successor): Likewise. From-SVN: r36304
2000-09-05John David Anglin <dave@hiauly1.hia.nrc.ca>John David Anglin1-0/+4
* md5.h (md5_uint32): Choose via INT_MAX instead of UINT_MAX. From-SVN: r36181
2000-09-05In include:Alex Samuel1-0/+5
* dyn-string.h: Adjust formatting. (dyn_string_insert_char): New macro. New declaration. In libiberty: * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro. (substitution_def): Remove template_parm_number. (NOT_TEMPLATE_PARM): Remove. (result_insert_string): New macro. (result_insert): Likewise. (result_insert_char): Likewise. (substitution_add): Remove last parameter. Don't store template parm number. (BFT_NO_RETURN_TYPE): Define as NULL. (demangle_encoding): Adjust call to demangle_bare_function_type. (demangle_name): Adjust substitution. Adjust call to substitution_add. (demangle_prefix): Adjust call to substitution_add. (demangle_identifier): Handle anonymous namespaces. (demangle_operator_name): Change demangling of vendor-extended operator to match ABI changes. (demangle_type_ptr): Change parameters. Make recursive. Handle substitutions here. (demangle_type): Adjust calls to demangle_template_param, substitution_add, and demangle_type_ptr. Fix substitution of templated types. (demangle_function_type): Change parameter to a pointer. (demangle_bare_function_type): Likewise. Adjust insertion point. (demangle_template_param): Remove last parameter. (demangle_expr_primary): Remove unused variable. Adjust call to demangle_template_param. (is_mangled_char): Accept `$' and `.'. * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'. * dyn-string.c (dyn_string_insert_char): New function. From-SVN: r36148
2000-08-28[multiple changes]Jason Merrill1-0/+4
2000-08-28 Daniel Berlin <dberlin@redhat.com> * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__". (print_die): If we don't know the offset of the target die, try the symbol. Add a trailing newline. (reverse_all_dies): New fn. (dwarf2out_finish): Call it. (break_out_includes): Reorganize for clarity. (add_sibling_attributes): Don't call reverse_die_lists. (output_comp_unit): Rename from output_comdat_comp_unit. Use for primary CU, too. * flags.h: Add flag_eliminate_dwarf2_dups. * toplev.c (f_options): Support -feliminate-dwarf2-dups. 2000-08-28 Jason Merrill <jason@redhat.com> * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags. * dwarf2out.c: #include "md5.h". (DIE_LABEL_PREFIX): New macro. (dw_val_struct): Add 'external' flag to val_die_ref. (add_AT_die_ref, AT_ref): Adjust. (AT_ref_external, set_AT_ref_external): New fns. (build_abbrev_table): Call set_AT_ref_external. (value_format): Call AT_ref_external. (die_struct): Add die_symbol field. (new_die): Clear it. (dwarf_tag_name): Handle BINCL/EINCL. (dwarf2out_start_source_file): Add BINCL DIE. (dwarf2out_end_source_file): Add EINCL DIE. (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns. (loc_checksum, attr_checksum, die_checksum): New fns. (is_type_die, is_comdat_die, is_symbol_die): New fns. (compute_section_prefix, assign_symbol_names): New fns. (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns. (output_die): Call output_die_symbol and AT_ref_external. (output_comdat_comp_unit): New fn, split out from... (dwarf2out_finish): ...here. Also call add_sibling_attributes for secondary CUs. (output_pubnames, output_aranges): Abort if we see entries from secondary CUs. * toplev.h: Declare file_name_nondirectory. * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend. (rest_of_type_compilation): Call dwarf2out_decl if at toplevel. (debug_start_source_file): Call dwarf2out_start_source_file regardless of debug verbosity. (debug_end_source_file): Similarly. * tree.h: Declare clean_symbol_name. * tree.c (clean_symbol_name): Split out from... (get_file_function_name_long): ...here. * dwarf2out.c (new_loc_descr): Use calloc. (splice_child_die): Remove the die from the right parent. (gen_struct_or_union_die): Don't add AT_name to a specification DIE. gcc/cp: 2000-08-28 Jason Merrill <jason@redhat.com> * lex.c (file_name_nondirectory): Move to toplev.c. libiberty: 2000-08-28 Jason Merrill <jason@redhat.com> * Makefile.in (REQUIRED_OFILES): Add md5.o. (CFILES): Add md5.c. * md5.c: New file. include: 2000-08-28 Jason Merrill <jason@redhat.com> * md5.h: New file. gcc/cp: 2000-08-28 Jason Merrill <jason@redhat.com> * cp-tree.h (LOCAL_CLASS_P): New macro. * class.c (finish_struct_1): Use it. From-SVN: r36022
2000-08-24* libiberty.h (ARRAY_SIZE): New macro.Greg McGary1-0/+4
From-SVN: r35947