Commit the vtable verification feature.
Commit the vtable verification feature. This feature is designed to
detect, at run time, if/when the vtable pointer in a C++ object has
been corrupted, before allowing virtual calls through that pointer.
If pointer corruption is detected, execution of the program is halted.
libstdc++-v3 ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* fragment.am: Add XTEMPLATE_FLAGS.
* configure.ac: Add definitions for --enable-vtable-verify.
* acinclude.m4: Add --enable-vtable-verify and
--disable-vtable-verify; define --enable-vtable-verify; define
VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
* config/abi/pre/gnu.ver: Export symbols for vtable verification.
* libsupc++/Makefile.am: Define vtv_sources and add it to
libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
* libsupc++/vtv_stubs.cc: New file.
* include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
* src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
VTV_CXXLINKFLAGS to CXXLINK.
* src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
* src/C++11/Makefile.am: Ditto.
* doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
* scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
* testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
cxxvtvflags to cxx_final.
* testsuite/18_support/bad_exception/23591_thread-1.c: Add
-fvtable-verify=none to compiler flags.
* testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
to compiler flags.
* configure: Regenerated.
* Makefile.in: Regenerated.
* python/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* config.h.in: Regenerated.
* po/Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* src/c++98/Makefile.in: Regenerated.
* src/c++11/Makefile.in: Regenerated.
* doc/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
top level ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* configure.ac: Add target-libvtv to target_libraries; disable libvtv
on non-linux systems; add target-libvtv to noconfigdirs; add
libsupc++/.libs to C++ library search paths.
* configure: Regenerated.
* Makefile.def: Add libvtv to target_modules; make libvtv depend on
libstdc++ and libgcc.
* Makefile.in: Regenerated.
include/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* vtv-change-permission.h: New file.
contrib/ChangeLog:
2013-08-06 Caroline Tice4 <cmtice@google.com>
* gcc_update: Add libvtv files.
libgcc/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
config.host (extra_parts): Add vtv_start.o, vtv_end.o
vtv_start_preinit.o and vtv_end_preinit.o.
configure.ac: Add code to check/set enable_vtable_verify.
Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
true.
vtv_start_preinit.c: New file.
vtv_end_preinit.c: New file.
vtv_start.c: New file.
vtv_end.c: New file.
configure: Regenerated.
gcc/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* gcc.c (VTABLE_VERIFICATION_SPEC): New definition.
(LINK_COMMAND_SPEC): Add VTABLE_VERIFICATION_SPEC.
* tree-pass.h: Add pass_vtable_verify.
* varasm.c (assemble_variable): Add code to properly set the comdat
section and name for the .vtable_map_vars section.
(assemble_vtyv_preinit_initializer): New function.
(default_sectin_type_flags): Make sure .vtable_map_vars section has
LINK_ONCE flag.
* output.h: Add function decl for assemble_vtv_preinit_initializer.
* vtable-verify.c: New file.
* vtable-verify.h: New file.
* flag-types.h (enum vtv_priority): Defintions for flag_vtable_verify
initialiation levels.
* timevar.def (TV_VTABLE_VERIFICATION): New definition.
* passes.def: Insert pass_vtable_verify.
* aclocal.m4: Reorder includes.
* doc/invoke.texi: Add documentation for the flags -fvtable-verify=,
-fvtv-debug and -fvtv-counts.
* config/gnu-user.h (GNU_USER_TARGET_STARTFILE_SPEC): Add vtv_start*.o,
as appropriate, if -fvtable-verify=... is used.
(GNU_USER_TARGET_ENDFILE_SPEC): Add vtv_end*.o as appropriate, if
-fvtable-verify=... is used.
* Makefile.in (OBJS): Add vtable-verify.o to list.
(vtable-verify.o): Add new build rule.
(GTFILES): Add vtable-verify.c to list.
* common.opt (fvtable-verify=): New flag.
(vtv_priority): Values for fvtable-verify= flag.
(fvtv-counts): New flag.
(fvtv-debug): New flag.
* tree.h (save_vtable_map_decl): New extern function decl.
gcc/cp/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
* Make-lang.in (*CXX_AND_OBJCXX_OBJS): Add vtable-class-hierarchy.o to
list.
(vtable-class-hierarchy.o): Add build rule.
* cp-tree.h (vtv_start_verification_constructor_init_function): New
extern function decl.
(vtv_finish_verification_constructor_init_function): New extern
function decl.
(build_vtbl_address): New extern function decl.
(get_mangled_vtable_map_var_name): New extern function decl.
(vtv_compute_class_hierarchy_transitive_closure): New extern function
decl.
(vtv_generate_init_routine): New extern function decl.
(vtv_save_class_info): New extern function decl.
(vtv_recover_class_info): New extern function decl.
(vtv_build_vtable_verify_fndecl): New extern function decl.
* class.c (finish_struct_1): Add call to vtv_save_class_info if
flag_vtable_verify is true.
* config-lang.in: Add vtable-class-hierarchy.c to gtfiles list.
* vtable-class-hierarchy.c: New file.
* mangle.c (get_mangled_vtable_map_var_name): New function.
* decl2.c (start_objects): Update function comment.
(cp_write_global_declarations): Call vtv_recover_class_info,
vtv_compute_class_hierarchy_transitive_closure and
vtv_build_vtable_verify_fndecl, before calling
finalize_compilation_unit, and call vtv_generate_init_rount after, IFF
flag_vtable_verify is true.
(vtv_start_verification_constructor_init_function): New function.
(vtv_finish_verification_constructor_init_function): New function.
* init.c (build_vtbl_address): Remove static qualifier from function.
libvtv/ChangeLog:
2013-08-06 Caroline Tice <cmtice@google.com>
Initial check-in of new vtable verification feature.
* configure.ac : New file.
* acinclude.m4 : New file.
* Makefile.am : New file.
* aclocal.m4 : New file.
* configure.tgt : New file.
* configure: New file (generated).
* Makefile.in: New file (generated).
* vtv_set.h : New file.
* vtv_utils.cc : New file.
* vtv_utils.h : New file.
* vtv_malloc.cc : New file.
* vtv_rts.cc : New file.
* vtv_malloc.h : New file.
* vtv_rts.h : New file.
* vtv_fail.cc : New file.
* vtv_fail.h : New file.
* vtv_map.h : New file.
* scripts/run-testsuite.sh : New file.
* scripts/sum-vtv-counts.c : New file.
* testsuite/parts-test-main.h : New file.
* testusite/dataentry.cc : New file.
* testsuite/temp_deriv.cc : New file.
* testsuite/register_pair.cc : New file.
* testsuite/virtual_inheritance.cc : New file.
* testsuite/field-test.cc : New file.
* testsuite/nested_vcall_test.cc : New file.
* testsuite/template-list-iostream.cc : New file.
* testsuite/register_pair_inserts.cc : New file.
* testsuite/register_pair_inserts_mt.cc : New file.
* testsuite/event.list : New file.
* testsuite/parts-test-extra-parts-views.cc : New file.
* testsuite/parts-test-extra-parts-views.h : New file.
* testsuite/environment-fail-32.s : New file.
* testsuite/parts-test-extra-parts.h : New file.
* testsuite/temp_deriv2.cc : New file.
* testsuite/dlopen_mt.cc : New file.
* testsuite/event.h : New file.
* testsuite/template-list.cc : New file.
* testsuite/replace-fail.cc : New file.
* testsuite/Makefile.am : New file.
* testsuite/Makefile.in: New file (generated).
* testsuite/mempool_negative.c : New file.
* testsuite/parts-test-main.cc : New file.
* testsuite/event-private.cc : New file.
* testsuite/thunk.cc : New file.
* testsuite/event-defintiions.cc : New file.
* testsuite/event-private.h : New file.
* testsuite/parts-test.list : New file.
* testusite/register_pair_mt.cc : New file.
* testsuite/povray-derived.cc : New file.
* testsuite/event-main.cc : New file.
* testsuite/environment.cc : New file.
* testsuite/template-list2.cc : New file.
* testsuite/thunk_vtable_map_attack.cc : New file.
* testsuite/parts-test-extra-parts.cc : New file.
* testsuite/environment-fail-64.s : New file.
* testsuite/dlopen.cc : New file.
* testsuite/so.cc : New file.
* testsuite/temp_deriv3.cc : New file.
* testsuite/const_vtable.cc : New file.
* testsuite/mempool_positive.c : New file.
* testsuite/dup_name.cc : New file.
From-SVN: r201555
2013-08-07 05:38:59 +02:00
|
|
|
|
2013-08-02 Caroline Tice <cmtice@google.com>
|
|
|
|
|
|
|
|
|
|
* vtv-change-permission.h: New file.
|
|
|
|
|
|
2013-04-03 19:24:12 +02:00
|
|
|
|
2013-04-03 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
Demangle C++11 ref-qualifier.
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_REFERENCE_THIS,
|
|
|
|
|
DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
|
|
|
|
|
|
2013-03-02 00:35:58 +01:00
|
|
|
|
2013-03-01 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (enum dwarf_sect): New enum type.
|
|
|
|
|
|
2013-02-11 20:42:25 +01:00
|
|
|
|
2013-02-11 Sriraman Tallam <tmsriram@google.com>
|
|
|
|
|
|
|
|
|
|
* plugin-api.h (enum ld_plugin_level): Assign integers
|
|
|
|
|
explicitly for all values.
|
|
|
|
|
|
2013-01-30 17:50:49 +01:00
|
|
|
|
2013-01-30 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/54620
|
|
|
|
|
PR target/39064
|
|
|
|
|
* md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if
|
|
|
|
|
stdint.h and sys/types.h headers are present.
|
|
|
|
|
* sha1.h (sha1_uintptr, sha1_uint32): Likewise.
|
|
|
|
|
|
2012-12-18 16:19:43 +01:00
|
|
|
|
2012-12-18 Aldy Hernandez <aldyh@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/54324
|
|
|
|
|
* ansidecl.h (ATTRIBUTE_UNUSED): Do not set __attribute__ for GCC
|
|
|
|
|
< 3.4.
|
|
|
|
|
|
2012-11-09 17:14:37 +01:00
|
|
|
|
2012-11-09 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_TAGGED_NAME.
|
|
|
|
|
|
common.opt (gno-split-dwarf, [...]): New switches.
gcc/ChangeLog
2012-11-06 Sterling Augustine <saugustine@google.com>
Cary Coutant <ccoutant@google.com>
* common.opt (gno-split-dwarf, gsplit-dwarf): New switches.
* doc/invoke.texi (Debugging Options): Document them.
* gcc.c (replace_extension_spec_func): New function.
(ASM_FINAL_SPEC): Adjust.
(static_spec_functions): Add new field for replace-extension.
(check_live_switch): Adjust comment. Add case for 'g'.
* opts.c (finish_options): Set x_debug_generate_pub_sections based on
x_dwarf_split_debug_info.
(common_handle_option): Add case for OPT_gsplit_dwarf.
* dwarf2out.h (addr_table_entry_struct): Add forward declaration.
(dw_val_struct): Add val_entry pointer.
* dwarf2out.c: (debug_skeleton_info_section,
debug_skeleton_abbrev_section, debug_addr_section,
debug_skeleton_line_section, debug_str_offsets_section): New globals.
(NOT_INDEXED, NO_INDEX_ASSIGNED): New defines.
(indirect_string_node): New field index.
(ate_kind): New enum with fields ate_kind_rtc, ate_kind_rtx_dtprel,
ate_kind_label.
(addr_table_entry): New structure and type.
(dw_loc_list_struct): Add field begin_entry.
(new_loc_desc): Initialize val_entry.
(size_of_loc_descr, output_loc_operands, output_loc_operands_raw):
Add cases for DW_OP_GNU_addr_index and DW_OP_const_index.
(build_cfa_loc): Initialize val_entry.
(AT_index, add_addr_table_entry, remove_addr_table_entry,
add_AT_lbl_id): New functions.
(add_AT_addr, add_AT_range_list): New parameter force_direct.
(output_die_abbrevs): New function.
(add_ranges_by_labels): New parameter force_direct.
(output_line_info): New parameter prologue_only.
(dtprel_bool): New enum with dtprel_false and dtprel_true.
(dw_addr_op, new_addr_loc_descr): New functions.
(DEBUG_DWO_INFO_SECTION, DEBUG_DWO_ABBREV_SECTION,
DEBUG_ADDR_SECTION, DEBUG_NORM_MACINFO_SECTION,
DEBUG_DWO_MACINFO_SECTION, DEBUG_MACINFO_SECTION,
DEBUG_NORM_MACRO_SECTION, DEBUG_DWO_MACRO_SECTION,
DEBUG_MACRO_SECTION, DEBUG_DWO_LINE_SECTION,
DEBUG_DWO_LOC_SECTION, DEBUG_NORM_STR_OFFSETS_SECTION,
DEBUG_DWO_STR_OFFSETS_SECTION, DEBUG_STR_OFFSETS_SECTION,
DEBUG_DWO_STR_SECTION, DEBUG_NORM_STR_SECTION, DEBUG_STR_SECTION,
DEBUG_MACRO_SECTION_FLAGS, DEBUG_SKELETON_LINE_SECTION_LABEL,
DEBUG_SKELETON_INFO_SECTION_LABEL, DEBUG_ADDR_SECTION_LABEL
DEBUG_SKELETON_ABBREV_SECTION_LABEL): New macros.
(DEBUG_STR_SECTION_FLAGS): Adjust.
(TEXT_SECTION_LABEL, COLD_TEXT_SECTION_LABEL,
DEBUG_LINE_SECTION_LABEL, DEBUG_INFO_SECTION_LABEL,
DEBUG_ABBREV_SECTION_LABEL, DEBUG_ADDR_SECTION_LABEL,
DEBUG_LOC_SECTION_LABEL, DEBUG_RANGES_SECTION_LABEL,
DEBUG_MACINFO_SECTION_LABEL, DEBUG_MACRO_SECTION_LABEL): Adjust
indentation.
(debug_skeleton_abbrev_section_label, debug_addr_section_label,
debug_skeleton_line_section_label, debug_skeleton_info_section_label):
New global variables.
(add_AT_flag, add_AT_int, add_AT_unsigned, add_AT_double, add_AT_vec,
add_AT_data8): Initialize val_entry.
(add_AT_low_high_pc): New parameter force_direct. Handle
dwarf_split_debug_info.
(set_indirect_string, find_AT_string_form): New functions.
(AT_string_form): Adjust to call find_AT_string_from.
(add_AT_die_ref, add_AT_fde_ref, add_AT_loc, add_AT_list):
Initialize val_entry.
(addr_index_table): New global variable.
(addr_table_entry_do_hash, addr_table_entry_eq, add_addr_table_entry,
init_addr_table_entry, remove_addr_table_entry, index_addr_table_entry,
remove_loc_list_addr_table_entries): New functions.
(add_AT_addr, add_AT_lbl_id, add_AT_range_list): New parameter
force_direct. Handle dwarf_split_debug_info.
(add_AT_file, add_AT_vms_delta, add_AT_lineptr, add_AT_macptr,
add_AT_offset): Initialize val_entry.
(UNRELOCATED_OFFSET, RELOCATED_OFFSET): New defines.
(size_of_die): Handle dwarf_split_debug_info.
(size_of_aranges, value_format): Call AT_class. Check AT_index.
(output_die_abbrevs): New function.
(output_abbrev_section): Call output_die_abbrevs.
(new_loc_list): Initialize begin_entry.
(output_loc_list): Handle dwarf_split_debug_info.
(output_range_list_offset, output_loc_list_offset,
output_attr_index_or_value, ): New functions.
(output_die): Fix call to dw2_asm_output_data. Call
output_attr_index_or_value and output_range_list_offset.
Adjust logic around dw_val_class_str.
(add_top_lebel_skeleton_die_attrs, get_skeleton_type_unit,
output_skeleton_debug_sections): New functions.
(output_comdat_type_unit, output_pubname, output_aranges): Handle
dwarf_split_debug_info.
(add_ranges_by_labels): New parameter force_direct.
(mem_loc_descriptor, loc_descr): Call new_addr_loc_descr.
(loc_list_from_tree, add_const_value_attribtue): Use dtprel_bools in
place of generic integer.
(dwarf2out_vms_debug_main_pointer, gen_entry_point_die, gen_label_die,
gen_call_site_die, gen_subprogram_die, gen_variable_die,
add_high_low_attributes): Adjust calls to add_AT_lbl_id.
(output_macinfo_op): Adjust indirect_string_logic.
(save_macinfo_strings): New function.
(output_macinfo): Adjust.
(dwarf2out_init): Handle dwarf_split_debug_info.
(index_string, output_index_string_offset, output_index_string): New
functions.
(output_indirect_string): Adjust.
(output_indirect_strings, output_addr_table_entry, output_addr_table):
New functions.
(resolve_addr_in_expr, hash_loc_operands): Handle DW_OP_GNU_addr_index
and DW_OP_GNU_const_index. Handle dwarf_split_debug_info. Call
remove_loc_list_addr_table_entries and remove_addr_table_entry.
(index_location_lists): New function.
(dwarf2out_finish): Handle dwarf_split_debug_info. New variable
main_comp_unit_die. Adjust calls to add_AT_low_high_pc,
add_ranges_by_labels, add_AT_addr, and add_AT_lineptr. Call
save_macinfo_strings and output_indirect_strings.
include/ChangeLog
2012-10-29 Sterling Augustine <saugustine@google.com>
Cary Coutant <ccoutant@google.com>
* dwarf2.h (dwarf_location_list_entry_type): New enum with fields
DW_LLE_GNU_end_of_list_entry, DW_LLE_GNU_base_address_selection_entry,
DW_LLE_GNU_start_end_entry and DW_LLE_GNU_start_length_entry.
Co-Authored-By: Cary Coutant <ccoutant@google.com>
From-SVN: r193267
2012-11-07 00:15:25 +01:00
|
|
|
|
2012-10-29 Sterling Augustine <saugustine@google.com>
|
|
|
|
|
Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (dwarf_location_list_entry_type): New enum with fields
|
|
|
|
|
DW_LLE_GNU_end_of_list_entry, DW_LLE_GNU_base_address_selection_entry,
|
|
|
|
|
DW_LLE_GNU_start_end_entry and DW_LLE_GNU_start_length_entry.
|
|
|
|
|
|
|
|
|
|
|
2012-10-08 16:45:37 +02:00
|
|
|
|
2012-10-08 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_TLS_INIT and DEMANGLE_COMPONENT_TLS_WRAPPER.
|
|
|
|
|
|
2012-09-18 10:34:05 +02:00
|
|
|
|
2012-09-18 Florian Weimer <fweimer@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/54411
|
|
|
|
|
* objalloc.h (objalloc_alloc): Do not use fast path on wraparound.
|
|
|
|
|
|
2012-09-07 01:32:59 +02:00
|
|
|
|
2012-09-06 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.def: Edit comment.
|
|
|
|
|
|
2012-08-24 21:07:28 +02:00
|
|
|
|
2012-08-24 Sriraman Tallam <tmsriram@google.com>
|
|
|
|
|
|
|
|
|
|
* plugin-api.h (ld_plugin_allow_unique_segment_for_sections):
|
|
|
|
|
New interface.
|
|
|
|
|
(ld_plugin_unique_segment_for_sections): New interface.
|
|
|
|
|
(LDPT_ALLOW_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
|
|
|
|
|
(LDPT_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
|
|
|
|
|
(tv_allow_unique_segment_for_sections): New member.
|
|
|
|
|
(tv_unique_segment_for_sections): New member.
|
|
|
|
|
|
2012-07-14 00:12:28 +02:00
|
|
|
|
2012-07-13 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* filenames.h: #include "hashtab.h".
|
|
|
|
|
(filename_hash, filename_eq): Declare.
|
|
|
|
|
|
2012-06-19 01:35:08 +02:00
|
|
|
|
2012-06-18 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.def (DW_OP): Add DW_OP_GNU_const_index.
|
|
|
|
|
|
2012-06-12 23:35:42 +02:00
|
|
|
|
2012-06-12 Rafael Ávila de Espíndola <respindola@mozilla.com>
|
|
|
|
|
|
|
|
|
|
* plugin-api.h (ld_plugin_output_file_type): Add LDPO_PIE.
|
|
|
|
|
|
2012-06-08 20:48:46 +02:00
|
|
|
|
2012-06-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.def (DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt): New
|
|
|
|
|
forms.
|
|
|
|
|
* dwarf2.h (enum dwarf_macro_record_type): Add
|
|
|
|
|
DW_MACRO_GNU_define_indirect_alt, DW_MACRO_GNU_undef_indirect_alt
|
|
|
|
|
and DW_MACRO_GNU_transparent_include_alt.
|
|
|
|
|
|
2012-05-24 01:42:25 +02:00
|
|
|
|
2012-05-23 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* leb128.h: #include stdint.h, inttypes.h.
|
|
|
|
|
(read_uleb128_to_uint64): Renamed from read_uleb128_to_ull.
|
|
|
|
|
Change to take a uint64_t * argument instead of unsigned long long.
|
|
|
|
|
(read_sleb128_to_uint64): Renamed from read_sleb128_to_ll.
|
|
|
|
|
Change to take an int64_t * argument instead of long long.
|
|
|
|
|
|
2012-05-22 19:47:49 +02:00
|
|
|
|
2012-05-22 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* leb128.h: New file.
|
|
|
|
|
|
2012-05-20 02:55:05 +02:00
|
|
|
|
2012-05-19 Gary Funck <gary@intrepid.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.def: Update comment re: UPC extensions to reference
|
|
|
|
|
DWARF4 specification.
|
|
|
|
|
|
2012-05-02 20:41:56 +02:00
|
|
|
|
2012-05-02 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.def: Remove DW_FORM_GNU_ref_index,
|
|
|
|
|
replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base.
|
|
|
|
|
|
2012-04-28 23:37:19 +02:00
|
|
|
|
2012-04-28 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.def (DW_OP): Add DW_OP_GNU_addr_index.
|
|
|
|
|
|
2012-04-27 18:58:53 +02:00
|
|
|
|
2012-04-27 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h: Wrap function declarations in extern "C".
|
|
|
|
|
|
dwarf2out.c (dwarf_stack_op_name): Use get_DW_OP_name.
gcc
* dwarf2out.c (dwarf_stack_op_name): Use get_DW_OP_name.
(dwarf_tag_name): Use get_DW_TAG_name.
(dwarf_attr_name): Use get_DW_AT_name.
(dwarf_form_name): Use get_DW_FORM_name.
* dwarf2cfi.c (dwarf_cfi_name): Use get_DW_CFA_name.
include
* dwarf2.h (enum dwarf_tag, enum dwarf_form, enum dwarf_attribute)
(enum dwarf_location_atom, enum dwarf_type, enum
dwarf_call_frame_info): Remove.
(DW_TAG, DW_TAG_DUP, DW_FORM, DW_AT, DW_AT_DUP, DW_OP)
(DW_OP_DUP, DW_ATE, DW_ATE_DUP, DW_CFA): New macros.
Include dwarf2.def.
(get_DW_TAG_name, get_DW_AT_name, get_DW_FORM_name)
(get_DW_OP_name, get_DW_ATE_name): Declare.
* dwarf2.def: New file, from dwarf2.h.
libiberty
* dwarfnames.c: New file.
* Makefile.in (CFILES): Add dwarfnames.
(REQUIRED_OFILES): Add dwarfnames.
(./dwarfnames.$(objext)): New target.
From-SVN: r186908
2012-04-27 16:14:14 +02:00
|
|
|
|
2012-04-27 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (enum dwarf_tag, enum dwarf_form, enum dwarf_attribute)
|
|
|
|
|
(enum dwarf_location_atom, enum dwarf_type, enum
|
|
|
|
|
dwarf_call_frame_info): Remove.
|
|
|
|
|
(DW_TAG, DW_TAG_DUP, DW_FORM, DW_AT, DW_AT_DUP, DW_OP)
|
|
|
|
|
(DW_OP_DUP, DW_ATE, DW_ATE_DUP, DW_CFA): New macros.
|
|
|
|
|
Include dwarf2.def.
|
|
|
|
|
(get_DW_TAG_name, get_DW_AT_name, get_DW_FORM_name)
|
|
|
|
|
(get_DW_OP_name, get_DW_ATE_name): Declare.
|
|
|
|
|
* dwarf2.def: New file, from dwarf2.h.
|
|
|
|
|
|
2012-04-10 10:32:23 +02:00
|
|
|
|
2012-04-10 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* splay-tree.h: Conditionnaly includes stdint.h and inttypes.h
|
|
|
|
|
(libi_uhostptr_t, libi_shostptr_t): Remove, replaced by uintptr_t.
|
|
|
|
|
|
2012-01-26 23:58:11 +01:00
|
|
|
|
2012-01-26 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (enum dwarf_form): Add Fission extensions.
|
|
|
|
|
(enum dwarf_attribute): Likewise.
|
|
|
|
|
|
re PR c++/6057 (expression mangling doesn't work for operator new)
PR c++/6057
PR c++/48051
PR c++/50855
PR c++/51322
gcc/cp/
* mangle.c (write_expression): Support NEW_EXPR, DELETE_EXPR,
THROW_EXPR, CONSTRUCTOR, OVERLOAD. Fix PREINCREMENT_EXPR and
PREDECREMENT_EXPR.
(write_template_arg): Fix mangling of class-scope functions and
argument packs.
(mangle_decl): Update suggested -fabi-version argument.
* operators.def: Add DOTSTAR_EXPR, REINTERPRET_CAST_EXPR,
DYNAMIC_CAST_EXPR; correct CONST_CAST_EXPR, STATIC_CAST_EXPR.
* tree.c (dependent_name): No longer static.
* cp-tree.h: Declare it.
* pt.c (unify): Defer handling of unconverted functions.
include/
* demangle.h (enum demangle_component_type): Add
DEMANGLE_COMPONENT_INITIALIZER_LIST, DEMANGLE_COMPONENT_NULLARY.
libiberty/
* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and
DEMANGLE_COMPONENT_INITIALIZER_LIST.
(d_make_comp): Likewise. Allow null right arg for
DEMANGLE_COMPONENT_TRINARY_ARG2.
(cplus_demangle_operators): Adjust new/delete; add .*, :: and throw.
(d_template_args, d_template_arg): Handle 'J' for argument packs.
(d_exprlist): Add terminator parm.
(d_expression, d_print_comp): Handle initializer lists, nullary
expressions, prefix/suffix operators, and new.
(d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME
and DEMANGLE_COMPONENT_INITIALIZER_LIST.
* testsuite/demangle-expected: Add tests.
From-SVN: r182970
2012-01-06 22:39:43 +01:00
|
|
|
|
2012-01-06 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/6057
|
|
|
|
|
PR c++/48051
|
|
|
|
|
PR c++/50855
|
|
|
|
|
PR c++/51322
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_INITIALIZER_LIST, DEMANGLE_COMPONENT_NULLARY.
|
|
|
|
|
|
2011-11-08 12:13:41 +01:00
|
|
|
|
2011-11-07 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
Merged from transactional-memory.
|
|
|
|
|
|
|
|
|
|
* demangle.h (enum gnu_v3_ctor_kinds): Add gnu_v3_object_ctor_group.
|
|
|
|
|
(enum gnu_v3_dtor_kinds): Add gnu_v3_object_dtor_group.
|
|
|
|
|
(DEMANGLE_COMPONENT_TRANSACTION_CLONE): New.
|
|
|
|
|
(DEMANGLE_COMPONENT_NONTRANSACTION_CLONE): New.
|
|
|
|
|
|
2011-10-22 03:35:29 +02:00
|
|
|
|
2011-10-21 Ulrich Drepper <drepper@gmail.com>
|
|
|
|
|
|
|
|
|
|
* obstack.h [!GNUC] (obstack_free): Avoid cast to int.
|
|
|
|
|
|
|
|
|
|
2011-10-21 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
* ansidecl.h (ENUM_BITFIELD): Always use enum in C++
|
|
|
|
|
|
2011-09-28 21:04:30 +02:00
|
|
|
|
2011-09-28 Doug Evans <dje@google.com>
|
|
|
|
|
|
2011-09-28 21:09:50 +02:00
|
|
|
|
* timeval-utils.h: New file.
|
|
|
|
|
|
2011-09-28 21:04:30 +02:00
|
|
|
|
* libiberty.h (countargv): Declare.
|
|
|
|
|
|
2011-09-27 01:32:13 +02:00
|
|
|
|
2011-09-26 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
PR lto/47247
|
|
|
|
|
* plugin-api.h (enum ld_plugin_symbol_resolution): Add
|
|
|
|
|
LDPR_PREVAILING_DEF_IRONLY_EXP.
|
|
|
|
|
(enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V2.
|
|
|
|
|
|
2011-09-23 23:39:10 +02:00
|
|
|
|
2011-09-23 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
PR 40831
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_CLONE.
|
|
|
|
|
|
2011-07-25 16:24:59 +02:00
|
|
|
|
2011-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* xregex.h (regoff_t): Define.
|
|
|
|
|
|
2011-07-22 10:33:37 +02:00
|
|
|
|
2011-07-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2011-07-22 22:06:09 +02:00
|
|
|
|
* dwarf2.h (DW_AT_GNU_macros): New.
|
|
|
|
|
(enum dwarf_macro_record_type): New enum. Add DW_MACRO_GNU_*.
|
|
|
|
|
|
2011-07-22 10:33:37 +02:00
|
|
|
|
PR c++/49756
|
|
|
|
|
* libiberty.h (stack_limit_increase): New prototype.
|
|
|
|
|
|
2011-07-14 03:44:11 +02:00
|
|
|
|
2011-07-13 Sriraman Tallam <tmsriram@google.com>
|
|
|
|
|
|
|
|
|
|
* plugin-api.h
|
|
|
|
|
(ld_plugin_section): New struct.
|
|
|
|
|
(ld_plugin_get_section_count): New typedef.
|
|
|
|
|
(ld_plugin_get_section_type): New typedef.
|
|
|
|
|
(ld_plugin_get_section_name): New typedef.
|
|
|
|
|
(ld_plugin_get_section_contents): New typedef.
|
|
|
|
|
(ld_plugin_update_section_order): New typedef.
|
|
|
|
|
(ld_plugin_allow_section_ordering): New typedef.
|
|
|
|
|
(LDPT_GET_SECTION_COUNT): New enum value.
|
|
|
|
|
(LDPT_GET_SECTION_TYPE): New enum value.
|
|
|
|
|
(LDPT_GET_SECTION_NAME): New enum value.
|
|
|
|
|
(LDPT_GET_SECTION_CONTENTS): New enum value.
|
|
|
|
|
(LDPT_UPDATE_SECTION_ORDER): New enum value.
|
|
|
|
|
(LDPT_ALLOW_SECTION_ORDERING): New enum value.
|
|
|
|
|
(tv_get_section_count): New struct members.
|
|
|
|
|
(tv_get_section_type): New struct members.
|
|
|
|
|
(tv_get_section_name): New struct members.
|
|
|
|
|
(tv_get_section_contents): New struct members.
|
|
|
|
|
(tv_update_section_order): New struct members.
|
|
|
|
|
(tv_allow_section_ordering): New struct members.
|
|
|
|
|
|
2011-07-01 19:51:05 +02:00
|
|
|
|
2011-07-01 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* filenames.h (HAVE_CASE_INSENSITIVE_FILE_SYSTEM): Define
|
|
|
|
|
on Darwin, as well as on the systems that use a DOS-like
|
|
|
|
|
filesystem.
|
|
|
|
|
|
re PR debug/47858 (IPA-SRA decreases quality of debug info)
PR debug/47858
* gimple.h (enum gimple_debug_subcode): Add GIMPLE_DEBUG_SOURCE_BIND.
(gimple_build_debug_source_bind_stat): New prototype.
(gimple_build_debug_source_bind): Define.
(gimple_debug_source_bind_p, gimple_debug_source_bind_get_var,
gimple_debug_source_bind_get_value,
gimple_debug_source_bind_get_value_ptr,
gimple_debug_source_bind_set_var,
gimple_debug_source_bind_set_value): New inlines.
* gimple.c (gimple_build_debug_source_bind_stat): New function.
* gimple-pretty-print.c (dump_gimple_debug): Handle
GIMPLE_DEBUG_SOURCE_BIND.
* sese.c (rename_uses): Handle gimple_debug_source_bind_p.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
* tree-parloops.c (eliminate_local_variables,
separate_decls_in_region): Likewise.
(separate_decls_in_region_debug): Renamed from
separate_decls_in_region_debug_bind. Handle
gimple_debug_source_bind_p.
* tree.h (decl_debug_args_lookup, decl_debug_args_insert): New
prototypes.
(DECL_HAS_DEBUG_ARGS_P): Define.
(struct tree_function_decl): Add has_debug_args_flag field.
* tree.c (debug_args_for_decl): New variable.
(decl_debug_args_lookup, decl_debug_args_insert): New functions.
* tree-into-ssa.c (mark_def_sites): Handle uses in debug stmts.
(rewrite_debug_stmt_uses): New function.
(rewrite_stmt): Use it to rewrite debug stmt uses.
* rtl.def (DEBUG_PARAMETER_REF): New.
* rtl.h (DEBUG_PARAMETER_REF_DECL): Define.
* cselib.c (rtx_equal_for_cselib_1, cselib_hash_rtx): Handle
DEBUG_PARAMETER_REF.
* rtl.c (rtx_equal_p_cb, rtx_equal_p, iterative_hash_rtx): Likewise.
* print-rtl.c (print_rtx): Likewise.
* tree-sra.c (sra_ipa_reset_debug_stmts): Prefer replacing of
SSA_NAMEs with DEBUG_EXPR_DECLs initialized in source bind
debug stmts in the first bb.
* tree-inline.c (remap_ssa_name): If remapping default def
of a PARM_DECL fails, map to a DEBUG_EXPR_DECL set in
a source bind debug stmt.
(remap_gimple_stmt): Handle gimple_debug_source_bind_p.
(maybe_move_debug_stmts_to_successors): Likewise.
(copy_debug_stmt): Likewise. Avoid shadowing a variable.
(tree_function_versioning): If DECL_HAS_DEBUG_ARGS_P, copy
debug args vector from old_decl to new_decl.
* ipa-prop.c (ipa_modify_call_arguments): For optimized away
or modified parameters, add debug bind stmts before call
setting DEBUG_EXPR_DECL which is remembered in debug args
vector.
* cfgexpand.c (expand_call_stmt): Call expand_debug_expr
on DECL_DEBUG_EXPRs from debug args vector.
(expand_debug_source_expr): New function.
(expand_debug_locations): Use it for source bind insns.
(expand_gimple_basic_block): Handle gimple_debug_source_bind_p.
* var-tracking.c (prepare_call_arguments): Add debug args
to call_arguments if any.
* dwarf2out.c (dwarf_stack_op_name, size_of_loc_descr,
output_loc_operands, output_loc_operands_raw,
resolve_addr_in_expr, compare_loc_operands): Handle
DW_OP_GNU_parameter_ref.
(get_ref_die_offset, parameter_ref_descriptor): New functions.
(mem_loc_descriptor): Handle DEBUG_PARAMETER_REF.
(gen_subprogram_die): Handle parameters identified by
DEBUG_PARAMETER_REF.
* dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
From-SVN: r175288
2011-06-22 12:41:58 +02:00
|
|
|
|
2011-06-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/47858
|
|
|
|
|
* dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
|
|
|
|
|
|
2011-06-14 00:32:40 +02:00
|
|
|
|
2011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (DMGL_RET_POSTFIX): Extend the comment.
|
|
|
|
|
(DMGL_RET_DROP): New.
|
|
|
|
|
|
dwarf2.h (DW_OP_GNU_const_type, [...]): New.
* dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.
* dwarf2out.c (get_address_mode): New inline.
(mem_loc_descriptor): Add MEM_MODE parameter, adjust recursive calls,
if not dwarf_strict emit
DW_OP_GNU_{{const,regval,deref}_type,convert,reinterpret} when
desirable. Handle FLOAT_EXTEND, FLOAT_TRUNCATE, FLOAT,
UNSIGNED_FLOAT, FIX and UNSIGNED_FIX. Just return NULL for
FMA, STRICT_LOW_PART, CONST_VECTOR and CONST_FIXED.
(dwarf2out_frame_debug_cfa_expression, reg_loc_descriptor,
dw_loc_list_1, cst_pool_loc_descr, loc_list_from_tree): Adjust
mem_loc_descriptor callers.
(dwarf_stack_op_name, size_of_loc_descr, output_loc_operands,
output_loc_operands_raw, hash_loc_operands, compare_loc_operands):
Handle DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
DW_OP_GNU_deref_type, DW_OP_GNU_convert and DW_OP_GNU_reinterpret.
(base_types): New variable.
(get_base_type_offset, calc_base_type_die_sizes,
base_type_for_mode, mark_base_types, base_type_cmp,
move_marked_base_types): New functions.
(calc_die_sizes): Assert that die_offset is 0 or equal to
next_die_offset.
(loc_descriptor): Only handle here lowpart SUBREGs of REG, for
others defer to mem_loc_descriptor. Adjust mem_loc_descriptor
callers. If not dwarf_strict, call mem_loc_descriptor even for
non-MODE_INT modes or MODE_INT modes larger than DWARF2_ADDR_SIZE.
(gen_subprogram_die): Don't give up on call site parameters
with non-integral or large integral modes. Adjust
mem_loc_descriptor callers.
(prune_unused_types): Call prune_unused_types_mark on base_types
vector entries.
(resolve_addr): Call mark_base_types.
(dwarf2out_finish): Call move_marked_base_types.
From-SVN: r173210
2011-04-30 12:06:18 +02:00
|
|
|
|
2011-04-30 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
|
|
|
|
|
DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.
|
|
|
|
|
|
2011-04-25 20:05:37 +02:00
|
|
|
|
2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
|
|
|
|
|
|
2011-03-31 16:02:39 +02:00
|
|
|
|
2011-03-31 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (dwarf_line_number_hp_sfc_ops): New enum.
|
|
|
|
|
|
2011-03-25 11:06:13 +01:00
|
|
|
|
2011-03-24 Mark Wielaard <mjw@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.
|
|
|
|
|
|
2011-03-23 15:06:24 +01:00
|
|
|
|
2010-03-23 Rafael Ávila de Espíndola <respindola@mozilla.com>
|
|
|
|
|
|
|
|
|
|
* plugin-api.h (ld_plugin_get_view): New.
|
|
|
|
|
(ld_plugin_tag): Add LDPT_GET_VIEW.
|
|
|
|
|
(ld_plugin_tv): Add tv_get_view.
|
|
|
|
|
|
final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION.
* final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION.
Call var_location debug hook even on CALL_INSNs.
(rest_of_clean_state): Don't print NOTE_INSN_CALL_ARG_LOCATION.
* rtl.def (ENTRY_VALUE): New.
* dwarf2out.c: Include cfglayout.h.
(dwarf_stack_op_name, size_of_loc_descr, output_loc_operands,
output_loc_operands_raw): Handle DW_OP_GNU_entry_value.
(struct call_arg_loc_node): New type.
(call_arg_locations, call_arg_loc_last, block_map, call_site_count,
tail_call_site_count): New variables.
(dwarf_tag_name): Handle DW_TAG_GNU_call_site and
DW_TAG_GNU_call_site_parameter.
(dwarf_attr_name): Handle DW_AT_GNU_call_site_value,
DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites
and DW_AT_GNU_all_source_call_sites.
(mem_loc_descriptor): Handle ENTRY_VALUE.
(add_src_coords_attributes): Don't add enything if
DECL_SOURCE_LOCATION is UNKNOWN_LOCATION.
(dwarf2out_abstract_function): Save and clear call_arg_location,
call_site_count and tail_call_site_count around dwarf2out_decl call.
(gen_call_site_die): New function.
(gen_subprogram_die): Emit DW_TAG_GNU_call_site DIEs for call sites.
(gen_lexical_block_die, gen_inlined_subroutine_die): Update block_map.
(dwarf2out_function_decl): Clear call_arg_locations,
call_arg_loc_last, set call_site_count and tail_call_site_count
to -1 and free block_map.
(dwarf2out_var_location): Handle NOTE_INSN_CALL_ARG_LOCATION and
CALL_INSNs. Add NOTE_DURING_CALL_P var location notes even when not
followed by any real instructions.
(dwarf2out_begin_function): Set call_site_count and
tail_call_site_count to 0.
(resolve_addr): If DW_AT_abstract_origin of DW_TAG_GNU_call_site
is dw_val_class_addr, attempt to look it up again, for DECL_EXTERNAL
attempt to force a DIE for it and worst case remove the attribute.
(resolve_one_addr): For TREE_CONSTANT_POOL_ADDRESS_P SYMBOL_REFs
check TREE_ASM_WRITTEN of DECL_INITIAL of the decl instead of
the decl itself.
* var-tracking.c: Include tm_p.h.
(vt_stack_adjustments): For calls call note_register_arguments.
(argument_reg_set): New variable.
(add_stores): For MO_VAL_SET of non-tracked regs from argument_reg_set
ensure the VALUE is resolved.
(call_arguments): New variable.
(prepare_call_arguments): New function.
(add_with_sets): For MO_CALL set u.loc from call_arguments and clear it.
(struct expand_loc_callback_data): Add ignore_cur_loc field.
(vt_expand_loc_callback): If ignore_cur_loc, don't look at cur_loc and
always use the best expression.
(vt_expand_loc): Add ignore_cur_loc argument.
(vt_expand_loc_dummy): Clear ignore_cur_loc field.
(emit_note_insn_var_location): Adjust vt_expand_loc callers.
(emit_notes_in_bb) <case MO_CALL>: Add NOTE_INSN_CALL_ARG_LOCATION
note for all calls.
(vt_add_function_parameter): Use cselib_lookup_from_insn.
If dv is a VALUE, enter into hash table also ENTRY_VALUE for the
argument. Don't call cselib_preserve_only_values and
cselib_reset_table.
(note_register_arguments): New function.
(vt_initialize): Compute argument_reg_set. Call
vt_add_function_parameters before processing basic blocks instead of
afterwards. For calls call prepare_call_arguments before calling
cselib_process_insn.
* print-rtl.c (print_rtx): Handle NOTE_INSN_CALL_ARG_LOCATION.
* Makefile.in (dwarf2out.o): Depend on $(CFGLAYOUT_H).
(var-tracking.o): Depend on $(TM_P_H).
* cfglayout.h (insn_scope): New prototype.
* gengtype.c (adjust_field_rtx_def): Handle NOTE_INSN_CALL_ARG_LOCATION.
* cfglayout.c (insn_scope): No longer static.
* insn-notes.def (CALL_ARG_LOCATION): New.
* calls.c (expand_call, emit_library_call_value_1): Put USEs for
MEM arguments into CALL_INSN_FUNCTION_USAGE unconditionally.
* integrate.c (set_block_origin_self, set_block_abstract_flags): Do
nothing for DECL_EXTERNAL BLOCK_VARS.
cp/
* cp-objcp-common.c (cp_function_decl_explicit_p): Don't crash if
DECL_LANG_SPECIFIC is NULL.
include/
* dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,
DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value,
DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered,
DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites,
DW_AT_GNU_all_call_sites,, DW_AT_GNU_all_source_call_sites,
DW_OP_GNU_entry_value): New.
From-SVN: r171033
2011-03-16 09:32:13 +01:00
|
|
|
|
2011-03-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,
|
|
|
|
|
DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value,
|
|
|
|
|
DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered,
|
|
|
|
|
DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites,
|
|
|
|
|
DW_AT_GNU_all_call_sites,, DW_AT_GNU_all_source_call_sites,
|
|
|
|
|
DW_OP_GNU_entry_value): New.
|
|
|
|
|
|
2011-02-28 19:23:25 +01:00
|
|
|
|
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* filenames.h (filename_ncmp): New prototype.
|
|
|
|
|
|
2011-02-23 09:57:49 +01:00
|
|
|
|
2011-02-23 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (_ELF_DWARF2_H): Renamed to
|
|
|
|
|
_DWARF2_H.
|
|
|
|
|
(DWARF2_External_LineInfo, DWARF2_Internal_LineInfo,
|
|
|
|
|
DWARF2_External_PubNames, DWARF2_Internal_PubNames,
|
|
|
|
|
DWARF2_External_CompUnit, DWARF2_Internal_CompUnit,
|
|
|
|
|
DWARF2_External_ARange, DWARF2_Internal_ARange): Removed.
|
|
|
|
|
|
2011-01-12 12:18:49 +01:00
|
|
|
|
2011-01-12 Iain Sandoe <iains@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h: Update value for DW_AT_hi_user.
|
|
|
|
|
|
2010-11-17 02:03:06 +01:00
|
|
|
|
2010-11-16 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* simple-object.h (simple_object_attributes_merge): Declare,
|
|
|
|
|
replacing simple_object_attributes_compare.
|
|
|
|
|
|
2010-11-05 18:56:58 +01:00
|
|
|
|
2010-11-04 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (enum dwarf_source_language): Add DW_LANG_Go.
|
|
|
|
|
|
2010-11-02 15:40:44 +01:00
|
|
|
|
2010-11-02 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* simple-object.h: New file.
|
|
|
|
|
|
2010-10-15 09:39:07 +02:00
|
|
|
|
2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
Sync LD plugin patch series (part 1/6) with src/include/.
|
|
|
|
|
* plugin-api.h (LDPT_GNU_LD_VERSION): New ld_plugin_tag enum member.
|
|
|
|
|
|
2010-10-07 00:02:58 +02:00
|
|
|
|
2010-10-06 Andi Kleen <ak@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (setproctitle): Add prototype.
|
|
|
|
|
|
2010-09-09 08:43:47 +02:00
|
|
|
|
2010-09-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (DW_OP_GNU_implicit_pointer): New.
|
|
|
|
|
|
2010-07-06 15:00:59 +02:00
|
|
|
|
2010-07-06 Ken Werner <ken.werner@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* floatformat.h (floatformat_ieee_half_big): Add declaration.
|
|
|
|
|
(floatformat_ieee_half_little): Likewise.
|
|
|
|
|
|
2010-06-21 23:14:46 +02:00
|
|
|
|
2010-06-21 Rafael Espindola <espindola@google.com>
|
|
|
|
|
|
|
|
|
|
* plugin-api.h (ld_plugin_set_extra_library_path): New.
|
|
|
|
|
(ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH.
|
|
|
|
|
(ld_plugin_tv): Add tv_set_extra_library_path.
|
|
|
|
|
|
2010-06-21 18:29:51 +02:00
|
|
|
|
2010-06-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
|
|
|
|
|
|
2010-06-18 18:45:51 +02:00
|
|
|
|
2010-06-18 Rafael Espindola <espindola@google.com>
|
|
|
|
|
|
|
|
|
|
* plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
|
|
|
|
|
Make argument const.
|
|
|
|
|
|
dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and DW_TAG_HP_Bliss_field_set.
2010-06-08 Tristan Gingold <gingold@adacore.com>
* dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and
DW_TAG_HP_Bliss_field_set.
(enum dwarf_attribute): Add DW_AT_HP_prologue, DW_AT_HP_epilogue,
DW_AT_HP_unit_name, DW_AT_HP_unit_size, DW_AT_HP_widened_byte_size,
DW_AT_HP_definition_points, DW_AT_HP_default_location and
DW_AT_HP_is_result_param.
(enum dwarf_type): Add DW_ATE_HP_VAX_float, DW_ATE_HP_VAX_float_d,
DW_ATE_HP_packed_decimal, DW_ATE_HP_zoned_decimal, DW_ATE_HP_edited,
DW_ATE_HP_signed_fixed, DW_ATE_HP_unsigned_fixed,
DW_ATE_HP_VAX_complex_float and DW_ATE_HP_VAX_complex_float_d.
(enum dwarf_line_number_x_ops): Add
DW_LNE_HP_source_file_correlation.
(enum dwarf_source_language): Add DW_LANG_HP_Bliss,
DW_LANG_HP_Basic91, DW_LANG_HP_Pascal91, DW_LANG_HP_IMacro,
DW_LANG_HP_Assembler.
From-SVN: r160430
2010-06-08 11:51:27 +02:00
|
|
|
|
2010-06-08 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and
|
|
|
|
|
DW_TAG_HP_Bliss_field_set.
|
|
|
|
|
(enum dwarf_attribute): Add DW_AT_HP_prologue, DW_AT_HP_epilogue,
|
|
|
|
|
DW_AT_HP_unit_name, DW_AT_HP_unit_size, DW_AT_HP_widened_byte_size,
|
|
|
|
|
DW_AT_HP_definition_points, DW_AT_HP_default_location and
|
|
|
|
|
DW_AT_HP_is_result_param.
|
|
|
|
|
(enum dwarf_type): Add DW_ATE_HP_VAX_float, DW_ATE_HP_VAX_float_d,
|
|
|
|
|
DW_ATE_HP_packed_decimal, DW_ATE_HP_zoned_decimal, DW_ATE_HP_edited,
|
|
|
|
|
DW_ATE_HP_signed_fixed, DW_ATE_HP_unsigned_fixed,
|
|
|
|
|
DW_ATE_HP_VAX_complex_float and DW_ATE_HP_VAX_complex_float_d.
|
|
|
|
|
(enum dwarf_line_number_x_ops): Add
|
|
|
|
|
DW_LNE_HP_source_file_correlation.
|
|
|
|
|
(enum dwarf_source_language): Add DW_LANG_HP_Bliss,
|
|
|
|
|
DW_LANG_HP_Basic91, DW_LANG_HP_Pascal91, DW_LANG_HP_IMacro,
|
|
|
|
|
DW_LANG_HP_Assembler.
|
|
|
|
|
|
utils.c (init_gnat_to_gnu): Use typed GC allocation.
gcc/ada:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* gcc-interface/utils.c (init_gnat_to_gnu): Use typed GC
allocation.
(init_dummy_type): Likewise.
(gnat_pushlevel): Likewise.
* gcc-interface/trans.c (Attribute_to_gnu): Likewise.
(Subprogram_Body_to_gnu): Likewise.
(Compilation_Unit_to_gnu): Likewise.
(start_stmt_group): Likewise.
(extract_encoding): Likewise.
(decode_name): Likewise.
* gcc-interface/misc.c (gnat_printable_name): Likewise.
* gcc-interface/decl.c (annotate_value): Likewise.
* gcc-interface/ada-tree.h (struct lang_type): Add variable_size
GTY option.
(struct lang_decl): Likewise.
(SET_TYPE_LANG_SPECIFIC): Use typed GC allocation.
(SET_DECL_LANG_SPECIFIC): Likewise.
gcc/c-family:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* c-pragma.c (push_alignment): Use typed GC allocation.
(handle_pragma_push_options): Likewise.
* c-common.c (parse_optimize_options): Likewise.
* c-common.h (struct sorted_fields_type): Add variable_size GTY
option.
gcc/cp:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* typeck2.c (abstract_virtuals_error): Likewise.
* pt.c (maybe_process_partial_specialization): Likewise.
(register_specialization): Likewise.
(add_pending_template): Likewise.
(lookup_template_class): Likewise.
(push_tinst_level): Likewise.
* parser.c (cp_lexer_new_main): Likewise.
(cp_lexer_new_from_tokens): Likewise.
(cp_token_cache_new): Likewise.
(cp_parser_context_new): Likewise.
(cp_parser_new): Likewise.
(cp_parser_nested_name_specifier_opt): Likewise.
(cp_parser_template_id): Likewise.
* name-lookup.c (binding_entry_make): Likewise.
(binding_table_construct): Likewise.
(binding_table_new): Likewise.
(cxx_binding_make): Likewise.
(pushdecl_maybe_friend): Likewise.
(begin_scope): Likewise.
(push_to_top_level): Likewise.
* lex.c (init_reswords): Likewise.
(retrofit_lang_decl): Likewise.
(cxx_dup_lang_specific_decl): Likewise.
(copy_lang_type): Likewise.
(cxx_make_type): Likewise.
* decl.c (make_label_decl): Likewise.
(check_goto): Likewise.
(start_preparsed_function): Likewise.
(save_function_data): Likewise.
* cp-tree.h (TYPE_SET_PTRMEMFUNC_TYPE): Likewise.
* cp-objcp-common.c (decl_shadowed_for_var_insert): Likewise.
* class.c (finish_struct_1): Likewise.
* cp-tree.h (struct lang_type): Add variable_size GTY option.
(struct lang_decl): Likewise.
* parser.c (cp_parser_new): Update comment to not reference
ggc_alloc.
gcc/fortran:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* trans-types.c (gfc_get_nodesc_array_type): Use typed GC
allocation.
(gfc_get_array_type_bounds): Likewise.
* trans-decl.c (gfc_allocate_lang_decl): Likewise.
(gfc_find_module): Likewise.
* f95-lang.c (pushlevel): Likewise.
* trans.h (struct lang_type): Add variable_size GTY option.
(struct lang_decl): Likewise.
gcc/java:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* jcf-reader.c (jcf_parse_constant_pool): Use typed GC allocation.
* jcf-parse.c (java_parse_file): Likewise.
(process_zip_dir): Likewise.
* java-tree.h (MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): Likewise.
(MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Likewise.
* expr.c (add_type_assertion): Likewise.
* decl.c (make_binding_level): Likewise.
(java_dup_lang_specific_decl): Likewise.
* constants.c (set_constant_entry): Likewise.
(cpool_for_class): Likewise.
* class.c (add_method_1): Likewise.
(java_treetreehash_new): Likewise.
* java-tree.h (struct lang_type): Add variable_size GTY option.
(struct lang_decl): Likewise.
* jch.h (struct cpool_entry): Likewise.
* java-tree.h (java_treetreehash_create): Remove parameter ggc.
* except.c (prepare_eh_table_type): Update
java_treetreehash_create call.
* class.c (add_method_1): Update java_treetreehash_create call.
(java_treetreehash_create): Remove parameter gc. Use
htab_create_ggc.
gcc/lto:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* lto.c (lto_read_in_decl_state): Use typed GC allocation.
(lto_file_read): Likewise.
(new_partition): Likewise.
(read_cgraph_and_symbols): Likewise.
gcc/objc:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* objc-act.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use typed GC
allocation.
* objc-act.c (objc_volatilize_decl): Likewise.
(objc_build_string_object): Likewise.
(hash_init): Likewise.
(hash_enter): Likewise.
(hash_add_attr): Likewise.
(add_class): Likewise.
(start_class): Likewise.
gcc/objcp:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* objcp-decl.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use typed GC
allocation.
gcc:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* doc/tm.texi (Per-Function Data): Do not reference ggc_alloc.
* doc/gty.texi (GTY Options): Document typed GC allocation and
variable_size GTY option.
* ggc-internal.h: New.
* ggc.h: Update copyright year.
(digit_string): Move to stringpool.c.
(ggc_mark_stringpool, ggc_purge_stringpool, ggc_mark_roots)
(gt_pch_save_stringpool, gt_pch_fixup_stringpool)
(gt_pach_restore_stringpool, gt_pch_p_S, gt_pch_note_object)
(init_ggc_pch, ggc_pch_count_object, ggc_pch_total_size)
(ggc_pch_this_base, ggc_pch_alloc_object, ggc_pch_prepare_write)
(ggc_pch_write_object, ggc_pch_finish, ggc_pch_read)
(ggc_force_collect, ggc_get_size, ggc_statistics)
(ggc_print_common_statistics): Move to ggc-internal.h.
(digit_vector, new_ggc_zone, destroy_ggc_zone, ggc_alloc_stat)
(ggc_alloc, ggc_alloc_cleared, ggc_realloc, ggc_calloc, GGC_NEW)
(GGC_CNEW, GGC_NEWVEC, GGC_CNEWVEC, GGC_NEWVAR, ggc_alloc_rtvec)
(ggc_alloc_tree, gt_pch_save, ggc_min_expand_heuristic)
(ggc_min_heapsize_heuristic, ggc_alloc_zone)
(ggc_alloc_zone_pass_stat): Remove.
(ggc_internal_alloc_stat, ggc_internal_alloc)
(ggc_internal_cleared_alloc_stat): New.
(GGC_RESIZEVEC, GGC_RESIZEVAR): Redefine.
(ggc_internal_vec_alloc_stat)
(ggc_internal_cleared_vec_alloc_stat)
(ggc_internal_vec_alloc_stat, ggc_internal_cleared_vec_alloc)
(ggc_alloc_atomic_stat, ggc_alloc_atomic)
(ggc_alloc_cleared_atomic, ggc_cleared_alloc_htab_ignore_args)
(ggc_cleared_alloc_ptr_array_two_args): New.
(htab_create_ggc, splay_tree_new_ggc): Redefine.
(ggc_splay_alloc): Change the type of the first argument to
enum gt_types_enum.
(ggc_alloc_string): Make macro.
(ggc_alloc_string_stat): New.
(ggc_strdup): Redefine.
(rtl_zone, tree_zone, tree_id_zone): Declare unconditionally.
(ggc_alloc_rtvec_sized): New.
(ggc_alloc_zone_stat): Rename to ggc_internal_alloc_zone_stat.
(ggc_internal_alloc_zone_pass_stat, ggc_internal_alloc_zone_stat)
(ggc_internal_cleared_alloc_zone_stat)
(ggc_internal_zone_alloc_stat)
(ggc_internal_zone_cleared_alloc_stat)
(ggc_internal_zone_vec_alloc_stat)
(ggc_alloc_zone_rtx_def_stat)
(ggc_alloc_zone_tree_node_stat)
(ggc_alloc_zone_cleared_tree_node_stat)
(ggc_alloc_cleared_gimple_statement_d_stat): New.
* ggc-common.c: Include ggc-internal.h.
(ggc_internal_cleared_alloc_stat): Rename from
ggc_alloc_cleared_stat.
(ggc_realloc_stat): Use ggc_internal_alloc_stat.
(ggc_calloc): Remove.
(ggc_cleared_alloc_htab_ignore_args): New.
(ggc_cleared_alloc_ptr_array_two_args): New.
(ggc_splay_alloc): Add obj_type parameter.
(init_ggc_heuristics): Formatting fixes.
* ggc-none.c: Update copyright year.
(ggc_alloc_stat): Rename to ggc_alloc_stat.
(ggc_alloc_cleared_stat): Rename to
ggc_internal_cleared_alloc_stat.
(struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New.
* ggc-page.c: Update copyright year. Include ggc-internal.h.
Remove references to ggc_alloc in comments.
(ggc_alloc_typed_stat): Call ggc_internal_alloc_stat.
(ggc_alloc_stat): Rename to ggc_internal_alloc_stat.
(new_ggc_zone, destroy_ggc_zone): Remove.
(struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New.
* ggc-zone.c: Include ggc-internal.h. Remove references to
ggc_alloc in comments.
(ggc_alloc_zone_stat): ggc_internal_alloc_zone_stat.
(ggc_internal_alloc_zone_pass_stat): New.
(ggc_internal_cleared_alloc_zone_stat): New.
(ggc_alloc_typed_stat): Use ggc_internal_alloc_zone_pass_stat.
(ggc_alloc_stat): Rename ggc_internal_alloc_stat.
(new_ggc_zone, destroy_ggc_zone): Remove.
* stringpool.c: Update copyright year. Include ggc-internal.h
(digit_vector): Make static.
(digit_string): Moved from ggc.h.
(stringpool_ggc_alloc): Use ggc_alloc_atomic.
(ggc_alloc_string): Rename to ggc_alloc_string_stat.
* Makefile.in (GGC_INTERNAL_H): New.
(ggc_common.o, ggc-page.o, ggc-zone.o, stringpool.o): Add
$(GGC_INTERNAL_H) to dependencies.
* gentype.c: Update copyright year.
(walk_type): Accept variable_size GTY option.
(USED_BY_TYPED_GC_P): New macro.
(write_enum_defn): Use USED_BY_TYPED_GC_P. Do not output
whitespace at the end of strings.
(get_type_specifier, variable_size_p): New functions.
(alloc_quantity, alloc_zone): New enums.
(write_typed_alloc_def): New function.
(write_typed_struct_alloc_def): Likewise.
(write_typed_typed_typedef_alloc_def): Likewise.
(write_typed_alloc_defns): Likewise.
(output_typename, write_splay_tree_allocator_def): Likewise.
(write_splay_tree_allocators): Likewise.
(main): Call write_typed_alloc_defns and
write_splay_tree_allocators.
* lto-streamer.h (lto_file_decl_data_ptr): New.
* passes.c (order): Define using cgraph_node_ptr.
* strinpool.c (struct string_pool_data): Declare nested_ptr using
ht_identifier_ptr.
* gimple.h (union gimple_statement_d): Likewise.
* rtl.h (struct rtx_def): Likewise.
(struct rtvec_def): Likewise.
* tree.h (union tree_node): Likewise.
* tree-ssa-operands.h (struct ssa_operand_memory_d): Likewise.
* cfgloop.c (record_loop_exits): Use htab_create_ggc.
* tree-scalar-evolution.c (scev_initialize): Likewise.
* alias.c (record_alias_subset): Update splay_tree_new_ggc call.
* dwarf2asm.c (dw2_force_const_mem): Likewise.
* omp-low.c (lower_omp_critical): Likewise.
* bitmap.h (struct bitmap_head_def): Update comment to not
reference ggc_alloc.
* config/pa/pa.c (get_deferred_label): Use GGC_RESIZEVEC.
* ira.c (fix_reg_equiv_init): Use GGC_RESIZEVEC.
* ipa-prop.c (duplicate_ggc_array): Rename to
duplicate_ipa_jump_func_array. Use typed GC allocation.
(ipa_edge_duplication_hook): Call duplicate_ipa_jump_func_array.
* gimple.c (gimple_alloc_stat): Use
ggc_alloc_cleared_gimple_statement_d_stat.
* varasm.c (create_block_symbol): Use ggc_alloc_zone_rtx_def.
* tree.c (make_node_stat): Use
ggc_alloc_zone_cleared_tree_node_stat.
(make_tree_vec_stat): Likewise.
(build_vl_exp_stat): Likewise.
(copy_node_stat): Use ggc_alloc_zone_tree_node_stat.
(make_tree_binfo_stat): Likewise.
(tree_cons_stat): Likewise.
* rtl.c (rtx_alloc_stat): Use ggc_alloc_zone_rtx_def_stat.
(shallow_copy_rtx_stat): Likewise.
(make_node_stat): Likewise.
* lto-symtab.c: Fix comment.
* tree-cfg.c (create_bb): Update comment to not reference
ggc_alloc_cleared.
* tree-ssa-structalias.c (struct heapvar_for_stmt): Fix param_is
value.
* varpool.c (varpool_node): Use typed GC allocation.
(varpool_extra_name_alias): Likewise.
* varasm.c (emutls_decl): Likewise.
(get_unnamed_section): Likewise.
(get_noswitch_section): Likewise.
(get_section): Likewise.
(get_block_for_section): Likewise.
(build_constant_desc): Likewise.
(create_constant_pool): Likewise.
(force_const_mem): Likewise.
* tree.c (build_vl_exp_stat): Likewise.
(build_real): Likewise.
(build_string): Likewise.
(decl_debug_expr_insert): Likewise.
(decl_value_expr_insert): Likewise.
(type_hash_add): Likewise.
(build_omp_clause): Likewise.
* tree-ssanames.c (duplicate_ssa_name_ptr_info): Likewise.
* tree-ssa.c (init_tree_ssa): Likewise.
* tree-ssa-structalias.c (heapvar_insert): Likewise.
* tree-ssa-operands.c (ssa_operand_alloc): Likewise.
* tree-ssa-loop-niter.c (record_estimate): Likewise.
* tree-ssa-alias.c (get_ptr_info): Likewise.
* tree-scalar-evolution.c (new_scev_info_str): Likewise.
* tree-phinodes.c (allocate_phi_node): Likewise.
* tree-iterator.c (tsi_link_before): Likewise.
(tsi_link_after): Likewise.
* tree-eh.c (add_stmt_to_eh_lp_fn): Likewise.
* tree-dfa.c (create_var_ann): Likewise.
* tree-cfg.c (create_bb): Likewise.
* toplev.c (alloc_for_identifier_to_locale): Likewise.
(general_init): Likewise.
* stringpool.c (stringpool_ggc_alloc): Likewise.
(gt_pch_save_stringpool): Likewise.
* sese.c (if_region_set_false_region): Likewise.
* passes.c (do_per_function_toporder): Likewise.
* optabs.c (set_optab_libfunc): Likewise.
(set_conv_libfunc): Likewise.
* lto-symtab.c (lto_symtab_register_decl): Likewise.
* lto-streamer-in.c (lto_input_eh_catch_list): Likewise.
(input_eh_region): Likewise.
(input_eh_lp): Likewise.
(make_new_block): Likewise.
(unpack_ts_real_cst_value_fields): Likewise.
* lto-section-in.c (lto_new_in_decl_state): Likewise.
* lto-cgraph.c (input_node_opt_summary): Likewise.
* loop-init.c (loop_optimizer_init): Likewise.
* lambda.h (lambda_vector_new): Likewise.
* lambda-code.c (replace_uses_equiv_to_x_with_y): Likewise.
* ira.c (update_equiv_regs): Likewise.
* ipa.c (cgraph_node_set_new): Likewise.
(cgraph_node_set_add): Likewise.
(varpool_node_set_new): Likewise.
(varpool_node_set_add): Likewise.
* ipa-prop.c (ipa_compute_jump_functions_for_edge): Likewise.
(duplicate_ipa_jump_func_array): Likewise.
(ipa_read_node_info): Likewise.
* ipa-cp.c (ipcp_create_replace_map): Likewise.
* integrate.c (get_hard_reg_initial_val): Likewise.
* gimple.c (gimple_alloc_stat): Likewise.
(gimple_build_omp_for): Likewise.
(gimple_seq_alloc): Likewise.
(gimple_copy): Likewise.
* gimple-iterator.c (gsi_insert_before_without_update): Likewise.
(gsi_insert_after_without_update): Likewise.
* function.c (add_frame_space): Likewise.
(insert_temp_slot_address): Likewise.
(assign_stack_temp_for_type): Likewise.
(allocate_struct_function): Likewise.
(types_used_by_var_decl_insert): Likewise.
* except.c (init_eh_for_function): Likewise.
(gen_eh_region): Likewise.
(gen_eh_region_catch): Likewise.
(gen_eh_landing_pad): Likewise.
(add_call_site): Likewise.
* emit-rtl.c (get_mem_attrs): Likewise.
(get_reg_attrs): Likewise.
(start_sequence): Likewise.
(init_emit): Likewise.
* dwarf2out.c (new_cfi): Likewise.
(queue_reg_save): Likewise.
(dwarf2out_frame_init): Likewise.
(new_loc_descr): Likewise.
(find_AT_string): Likewise.
(new_die): Likewise.
(add_var_loc_to_decl): Likewise.
(clone_die): Likewise.
(clone_as_declaration): Likewise.
(break_out_comdat_types): Likewise.
(new_loc_list): Likewise.
(loc_descriptor): Likewise.
(add_loc_descr_to_each): Likewise.
(add_const_value_attribute): Likewise.
(tree_add_const_value_attribute): Likewise.
(add_comp_dir_attribute): Likewise.
(add_name_and_src_coords_attributes): Likewise.
(lookup_filename): Likewise.
(store_vcall_insn): Likewise.
(dwarf2out_init): Likewise.
* dbxout.c (dbxout_init): Likewise.
* config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
* config/sparc/sparc.c (sparc_init_machine_status): Likewise.
* config/score/score7.c (score7_output_external): Likewise.
* config/score/score3.c (score3_output_external): Likewise.
* config/s390/s390.c (s390_init_machine_status): Likewise.
* config/rs6000/rs6000.c (builtin_function_type): Likewise.
(rs6000_init_machine_status): Likewise.
(output_toc): Likewise.
* config/pa/pa.c (pa_init_machine_status): Likewise.
(get_deferred_plabel): Likewise.
* config/moxie/moxie.c (moxie_init_machine_status): Likewise.
* config/mmix/mmix.c (mmix_init_machine_status): Likewise.
* config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise.
* config/mep/mep.c (mep_init_machine_status): Likewise.
(mep_note_pragma_flag): Likewise.
* config/m32c/m32c.c (m32c_init_machine_status): Likewise.
* config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise.
* config/ia64/ia64.c (ia64_init_machine_status): Likewise.
* config/i386/winnt.c (i386_pe_record_external_function): Likewise.
(i386_pe_maybe_record_exported_symbol): Likewise.
* config/i386/i386.c (get_dllimport_decl): Likewise.
(ix86_init_machine_status): Likewise.
(assign_386_stack_local): Likewise.
* config/frv/frv.c (frv_init_machine_status): Likewise.
* config/darwin.c (machopic_indirection_name): Likewise.
* config/cris/cris.c (cris_init_machine_status): Likewise.
* config/bfin/bfin.c (bfin_init_machine_status): Likewise.
* config/avr/avr.c (avr_init_machine_status): Likewise.
* config/arm/arm.c (arm_init_machine_status): Likewise.
* config/alpha/alpha.c (alpha_init_machine_status): Likewise.
(alpha_need_linkage): Likewise.
(alpha_use_linkage): Likewise.
* cgraph.c (cgraph_allocate_node): Likewise.
(cgraph_create_edge_1): Likewise.
(cgraph_create_indirect_edge): Likewise.
(cgraph_add_asm_node): Likewise.
* cfgrtl.c (init_rtl_bb_info): Likewise.
* cfgloop.c (alloc_loop): Likewise.
(rescan_loop_exit): Likewise.
* cfg.c (init_flow): Likewise.
(alloc_block): Likewise.
(unchecked_make_edge): Likewise.
* c-parser.c (c_parse_init): Likewise.
(c_parse_file): Likewise.
* c-decl.c (bind): Likewise.
(record_inline_static): Likewise.
(push_scope): Likewise.
(make_label): Likewise.
(lookup_label_for_goto): Likewise.
(finish_struct): Likewise.
(finish_enum): Likewise.
(c_push_function_context): Likewise.
* bitmap.c (bitmap_element_allocate): Likewise.
(bitmap_gc_alloc_stat): Likewise.
* alias.c (record_alias_subset): Likewise.
(init_alias_analysis): Likewise.
include:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* splay-tree.h: Update copyright years.
(splay_tree_s): Document fields.
(splay_tree_new_typed_alloc): New.
* hashtab.h: Update copyright years.
(htab_create_typed_alloc): New.
libcpp:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* include/symtab.h (ht_identifier_ptr): New.
libiberty:
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* splay-tree.c: Update copyright years.
(splay_tree_new_typed_alloc): New.
(splay_tree_new_with_allocator): Use it.
* hashtab.c: Update copyright years.
(htab_create_typed_alloc): New.
(htab_create_alloc): Use it.
* functions.texi: Regenerate.
From-SVN: r160425
2010-06-08 09:25:24 +02:00
|
|
|
|
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
|
|
|
|
|
|
|
|
|
|
* splay-tree.h: Update copyright years.
|
|
|
|
|
(splay_tree_s): Document fields.
|
|
|
|
|
(splay_tree_new_typed_alloc): New.
|
|
|
|
|
|
|
|
|
|
* hashtab.h: Update copyright years.
|
|
|
|
|
(htab_create_typed_alloc): New.
|
|
|
|
|
|
2010-06-02 02:08:58 +02:00
|
|
|
|
2010-06-01 Rafael Espindola <espindola@google.com>
|
|
|
|
|
|
|
|
|
|
* plugin-api.h (ld_plugin_tag): Add LDPT_OUTPUT_NAME.
|
|
|
|
|
|
2010-04-26 19:43:53 +02:00
|
|
|
|
2010-04-26 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* filenames.h (PATH_SEPARATOR): Delete.
|
|
|
|
|
|
filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR...
2010-04-23 Pedro Alves <pedro@codesourcery.com>
include/
* filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
always define it independently of host, add `dos_based' parameter,
and handle it.
(HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
independently of host, add `dos_based' parameter, and handle it.
(IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
it independently of host, add `dos_based' parameter, and handle
it.
(IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
(IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
(HAS_DOS_DRIVE_SPEC): New.
(HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
(IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
(IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
* libiberty.h (dos_lbasename, unix_lbasename): Declare.
libiberty/
* lbasename.c (lbasename): Split into ...
(unix_lbasename, dos_basename): ... these.
(lbasename): ... and reimplement on top of them.
* Makefile.in (lbasename.o): Add dependency on
$(INCDIR)/filenames.h.
From-SVN: r158681
2010-04-24 02:55:41 +02:00
|
|
|
|
2010-04-23 Pedro Alves <pedro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
|
|
|
|
|
always define it independently of host, add `dos_based' parameter,
|
|
|
|
|
and handle it.
|
2010-04-26 19:27:35 +02:00
|
|
|
|
(PATH_SEPARATOR): Define.
|
filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR...
2010-04-23 Pedro Alves <pedro@codesourcery.com>
include/
* filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
always define it independently of host, add `dos_based' parameter,
and handle it.
(HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
independently of host, add `dos_based' parameter, and handle it.
(IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
it independently of host, add `dos_based' parameter, and handle
it.
(IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
(IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
(HAS_DOS_DRIVE_SPEC): New.
(HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
(IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
(IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
* libiberty.h (dos_lbasename, unix_lbasename): Declare.
libiberty/
* lbasename.c (lbasename): Split into ...
(unix_lbasename, dos_basename): ... these.
(lbasename): ... and reimplement on top of them.
* Makefile.in (lbasename.o): Add dependency on
$(INCDIR)/filenames.h.
From-SVN: r158681
2010-04-24 02:55:41 +02:00
|
|
|
|
(HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
|
|
|
|
|
independently of host, add `dos_based' parameter, and handle it.
|
|
|
|
|
(IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
|
|
|
|
|
it independently of host, add `dos_based' parameter, and handle
|
|
|
|
|
it.
|
|
|
|
|
(IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
|
|
|
|
|
(IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
|
|
|
|
|
(HAS_DOS_DRIVE_SPEC): New.
|
|
|
|
|
(HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
|
|
|
|
|
(IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
|
|
|
|
|
(IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
|
|
|
|
|
* libiberty.h (dos_lbasename, unix_lbasename): Declare.
|
|
|
|
|
|
2010-04-20 10:36:39 +02:00
|
|
|
|
2010-04-20 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* sha1.h: Update copyright notice to use GPLv3.
|
|
|
|
|
|
2010-04-14 23:16:34 +02:00
|
|
|
|
2010-04-14 Doug Evans <dje@google.com>
|
|
|
|
|
|
|
|
|
|
* filenames.h (HAS_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.
|
|
|
|
|
|
2010-04-13 02:13:13 +02:00
|
|
|
|
2010-04-13 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
* elf: Remove empty directory.
|
|
|
|
|
|
2010-04-06 09:37:37 +02:00
|
|
|
|
2010-04-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn
|
|
|
|
|
field.
|
|
|
|
|
|
2010-03-23 16:58:01 +01:00
|
|
|
|
2010-03-23 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define.
|
|
|
|
|
|
2010-01-13 12:13:53 +01:00
|
|
|
|
2010-01-13 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
Add new DW_AT_use_GNAT_descriptive_type CU attribute.
|
|
|
|
|
* dwarf2.h (dwarf_attribute): Add DW_AT_use_GNAT_descriptive_type.
|
|
|
|
|
|
2010-01-11 12:38:35 +01:00
|
|
|
|
2010-01-11 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (ada_demangle): Add prototype.
|
|
|
|
|
|
2010-01-05 18:14:30 +01:00
|
|
|
|
2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/41771
|
|
|
|
|
* ansidecl.h: Fix inline test for C99 and Sun Studio cc.
|
|
|
|
|
|
2009-12-29 05:14:21 +01:00
|
|
|
|
2009-12-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
|
|
|
|
|
|
2009-11-06 15:36:57 +01:00
|
|
|
|
2009-11-06 Jonas Maebe <jonas.maebe@elis.ugent.be>
|
|
|
|
|
|
|
|
|
|
Add DWARF attribute value for the "Borland fastcall" calling
|
|
|
|
|
convention.
|
|
|
|
|
* elf/dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.
|
|
|
|
|
|
2009-10-23 17:08:10 +02:00
|
|
|
|
2009-10-23 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* splay-tree.h (libi_uhostptr_t): Add gcc specific
|
|
|
|
|
__extension__ for long long type case to silent cX9.
|
|
|
|
|
(libi_shostptr_t): Likewise.
|
|
|
|
|
|
2009-10-19 18:23:38 +02:00
|
|
|
|
2009-10-19 Rafael Avila de Espindola <espindola@google.com>
|
|
|
|
|
|
|
|
|
|
PR40790
|
2010-04-13 02:13:13 +02:00
|
|
|
|
* plugin-api.h: Don't include stdint.h unconditionally.
|
2009-10-19 18:23:38 +02:00
|
|
|
|
|
dwarf2out.c (dwarf_tag_name): Handle DW_TAG_rvalue_reference_type and DW_TAG_template_alias.
* dwarf2out.c (dwarf_tag_name): Handle DW_TAG_rvalue_reference_type
and DW_TAG_template_alias.
(dwarf_attr_name): Handle DW_AT_main_subprogram,
DW_AT_data_bit_offset, DW_AT_const_expr, DW_AT_enum_class,
DW_AT_linkage_name, DW_AT_GNU_guarded_by, DW_AT_GNU_pt_guarded_by,
DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded, DW_AT_GNU_locks_excluded,
DW_AT_GNU_exclusive_locks_required, DW_AT_GNU_shared_locks_required
and DW_AT_GNU_odr_signature.
(dwarf_form_name): Handle DW_FORM_sec_offset, DW_FORM_exprloc,
DW_FORM_flag_present and DW_FORM_ref_sig8.
(output_signature): Only print name on the first byte.
(output_die): Likewise for dw_val_class_data8.
* include/dwarf2.h (DW_LANG_Python): Add comment that it is
a DWARF 4 addition.
From-SVN: r152853
2009-10-15 18:40:52 +02:00
|
|
|
|
2009-10-15 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/dwarf2.h (DW_LANG_Python): Add comment that it is
|
|
|
|
|
a DWARF 4 addition.
|
|
|
|
|
|
2009-10-09 17:23:04 +02:00
|
|
|
|
2009-10-09 Rafael Espindola <espindola@google.com>
|
|
|
|
|
|
|
|
|
|
* plugin-api.h (ld_plugin_add_input_library): Change argument name to
|
|
|
|
|
libname.
|
|
|
|
|
|
|
|
|
|
2009-10-05 Rafael Espindola <espindola@google.com>
|
2009-10-05 22:53:29 +02:00
|
|
|
|
|
2009-10-06 21:27:01 +02:00
|
|
|
|
* plugin-api.h (ld_plugin_status): Add LDPS_BAD_HANDLE.
|
|
|
|
|
(ld_plugin_get_input_file): New.
|
|
|
|
|
(ld_plugin_release_input_file): New.
|
|
|
|
|
(ld_plugin_add_input_library): New.
|
|
|
|
|
(ld_plugin_message): Mark format const.
|
|
|
|
|
(ld_plugin_level): Add LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE and
|
|
|
|
|
LDPT_ADD_INPUT_LIBRARY.
|
|
|
|
|
(ld_plugin_tv): Add tv_get_input_file, tv_release_input_file and
|
|
|
|
|
tv_add_input_library.
|
2009-10-05 22:53:29 +02:00
|
|
|
|
|
2009-10-04 18:53:12 +02:00
|
|
|
|
2009-10-04 Jerry Quinn <jlquinn@optonline.net>
|
|
|
|
|
|
|
|
|
|
* plugin-api.h: Fix compile.
|
|
|
|
|
|
2010-04-26 19:27:35 +02:00
|
|
|
|
2009-10-03 Rafael Espindola <espindola@google.com>
|
2009-10-03 23:10:11 +02:00
|
|
|
|
|
|
|
|
|
* plugin-api.h: New.
|
|
|
|
|
* lto-symtab.h: New.
|
|
|
|
|
|
2009-09-30 05:03:31 +02:00
|
|
|
|
2009-09-29 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_LAMBDA, DEMANGLE_COMPONENT_DEFAULT_ARG,
|
|
|
|
|
DEMANGLE_COMPONENT_UNNAMED_TYPE.
|
|
|
|
|
(struct demangle_component): Add s_unary_num.
|
|
|
|
|
|
2009-09-26 01:23:18 +02:00
|
|
|
|
2009-09-25 Dodji Seketeli <dodji@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (enum dwarf_tag): Rename DW_TAG_template_parameter_pack and
|
|
|
|
|
DW_TAG_formal_parameter_pack into DW_TAG_GNU_template_parameter_pack
|
|
|
|
|
and DW_TAG_formal_parameter_pack until DWARF 5 is out.
|
|
|
|
|
|
Add rest of new values from DWARF Version 4.
include/
Add rest of new values from DWARF Version 4.
* dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
New tags.
(DW_FORM_ref_sig8): New name for DW_FORM_sig8.
(DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
attributes.
(DW_LANG_Python): New language.
From-SVN: r152181
2009-09-25 20:33:04 +02:00
|
|
|
|
2009-09-25 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
Add rest of new values from DWARF Version 4.
|
|
|
|
|
* dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
|
|
|
|
|
New tags.
|
|
|
|
|
(DW_FORM_ref_sig8): New name for DW_FORM_sig8.
|
|
|
|
|
(DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
|
|
|
|
|
DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
|
|
|
|
|
DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
|
|
|
|
|
DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
|
|
|
|
|
DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
|
|
|
|
|
attributes.
|
|
|
|
|
(DW_LANG_Python): New language.
|
|
|
|
|
|
re PR debug/41266 (Emit DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack)
Fix for PR debug/41266
ChangeLog:
* include/dwarf2.h (enum dwarf_tag): Add
DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack.
gcc/ChangeLog:
* dwarf2out.c (template_parameter_pack_die,
gen_formal_parameter_pack_die ): New functions.
(make_ith_pack_parameter_name): Remove this function.
(dwarf_tag_name): Support printing DW_TAG_template_parameter_pack and
DW_TAG_formal_parameter_pack.
(gen_generic_params_dies): Represent each template parameter pack
by a DW_TAG_template_parameter_pack DIE. Argument pack elements are
represented by usual DW_TAG_template_*_parameter DIEs that are
children of the DW_TAG_template_parameter_pack element DIE.
(generic_parameter_die): This doesn't deal with parameter pack
names anymore. Don't generate DW_AT_name for some DIEs, e.g. children of
parameter pack DIEs.
(gen_formal_parameter_die): Add a flag to not emit DW_AT_name
in certain cases, e.g. for pack elements.
(gen_formal_types_die, gen_decl_die): Adjust usage of
gen_formal_parameter_die.
(gen_subprogram_die): Represent each function parameter pack by a
DW_TAG_formal_parameter_pack DIE. Arguments of of the pack are
represented by usual DW_TAG_formal_parameter DIEs that are children
of the DW_TAG_formal_parameter_pack DIE. Remove references to
____builtin_va_alist decls as no part of the compiler uses those
anymore.
* langhooks.h (struct lang_hooks_for_decls): Add
function_parm_expanded_from_pack_p, get_generic_function_decl
and function_parameter_pack_p hooks. Fix comment for
get_innermost_generic_parms hook.
* langhooks-def.h (LANG_HOOKS_FUNCTION_PARAMETER_PACK_P,
LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P ): Declare new hook
macros and use them to initialize lang_hook.
gcc/cp/ChangeLog:
* cp-lang.c (LANG_HOOKS_FUNCTION_PARAMETER_PACK_P,
LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P,
LANG_HOOKS_GET_GENERIC_FUNCTION_DECL): Initialize these
hooks for the c++ FE.
* cp-tree.h (function_parameter_pack_p, get_function_template_decl,
function_parameter_expanded_from_pack_p): Declare ...
* pt.c (function_parameter_pack_p, get_function_template_decl,
function_parameter_expanded_from_pack_p): ... new hooks.
(get_template_info): Make this more robust.
(template_args_variadic_p, make_ith_pack_parameter_name): Add a new
line between comment and function.
(get_template_argument_pack_elems): Fix comment.
(tsubst_decl): Arguments of function parameter packs are not
parameter packs themselves.
gcc/testsuite/ChangeLog:
* g++.dg/debug/dwarf2/template-func-params-4.C: Adjust.
* g++.dg/debug/dwarf2/template-func-params-7.C: Likewise.
* g++.dg/debug/dwarf2/template-params-4.C: Likewise.
From-SVN: r152043
2009-09-22 22:20:03 +02:00
|
|
|
|
2009-09-22 Dodji Seketeli <dodji@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (enum dwarf_tag): Add
|
|
|
|
|
DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack.
|
|
|
|
|
|
2009-07-25 08:28:16 +02:00
|
|
|
|
2009-07-24 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/40854
|
|
|
|
|
* libiberty.h (xcrc32): Rename from crc32.
|
|
|
|
|
|
2009-07-25 01:22:41 +02:00
|
|
|
|
2009-07-24 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (crc32): Declare.
|
|
|
|
|
|
2009-07-21 21:05:14 +02:00
|
|
|
|
2009-07-20 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
Doug Evans <dje@google.com>
|
2009-07-20 23:00:52 +02:00
|
|
|
|
|
|
|
|
|
Add some dwarf4 values.
|
|
|
|
|
* dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit.
|
|
|
|
|
(enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc,
|
|
|
|
|
DW_FORM_flag_present, DW_FORM_sig8.
|
|
|
|
|
(enum dwarf_attribute): Add DW_AT_signature.
|
|
|
|
|
|
2009-07-17 21:09:54 +02:00
|
|
|
|
2009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h
|
|
|
|
|
(enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
|
|
|
|
|
(enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS>):
|
|
|
|
|
New.
|
|
|
|
|
|
2009-07-09 22:16:56 +02:00
|
|
|
|
2009-07-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value
|
|
|
|
|
and DW_OP_stack_value.
|
|
|
|
|
|
2009-07-09 21:41:25 +02:00
|
|
|
|
2009-07-09 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* elf/dwarf2.h: Remove, renaming to...
|
|
|
|
|
* dwarf2.h: ... this.
|
|
|
|
|
|
2009-06-30 02:02:10 +02:00
|
|
|
|
2009-06-29 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* elf/dwarf2.h: New file. Merged with gdb.
|
|
|
|
|
|
2009-06-10 03:48:14 +02:00
|
|
|
|
2009-06-09 Ian Lance Taylor <ian@airs.com>
|
|
|
|
|
|
|
|
|
|
* ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define for C++.
|
|
|
|
|
|
|
|
|
|
2009-06-03 Ian Lance Taylor <iant@google.com>
|
2009-06-03 22:19:55 +02:00
|
|
|
|
|
|
|
|
|
* ansidecl.h (EXPORTED_CONST): Define.
|
|
|
|
|
|
2009-06-01 07:47:20 +02:00
|
|
|
|
2009-05-31 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* ansidecl.h: Add extern "C" when compiling with C++. Treat C++
|
|
|
|
|
the way we treat an ISO C compiler. Don't define inline as a
|
2010-04-26 19:27:35 +02:00
|
|
|
|
macro when compiling with C++.
|
2009-06-01 07:47:20 +02:00
|
|
|
|
* dyn-string.h: Add header guard DYN_STRING_H. Add extern "C"
|
|
|
|
|
when compiling with C++.
|
|
|
|
|
* fibheap.h: Add extern "C" when compiling with C++.
|
|
|
|
|
|
2009-04-24 18:46:13 +02:00
|
|
|
|
2009-04-22 Taras Glek <tglek@mozilla.com>
|
|
|
|
|
|
2009-04-24 18:47:20 +02:00
|
|
|
|
* hashtab.h: Update GTY annotations to new syntax.
|
|
|
|
|
* splay-tree.h: Likewise.
|
2009-04-24 18:46:13 +02:00
|
|
|
|
|
2009-03-18 00:31:18 +01:00
|
|
|
|
2009-03-17 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_FUNCTION_PARAM.
|
|
|
|
|
|
2008-12-10 23:11:44 +01:00
|
|
|
|
2008-12-10 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_FIXED_TYPE.
|
|
|
|
|
|
2008-11-19 19:26:00 +01:00
|
|
|
|
2008-11-19 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32)
|
|
|
|
|
(XCHAL_HAVE_MINMAX, XCHAL_HAVE_SEXT, XCHAL_HAVE_THREADPTR)
|
|
|
|
|
(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): Change to 1.
|
|
|
|
|
(XCHAL_NUM_AREGS): Change to 32.
|
|
|
|
|
(XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE): Change to 16K.
|
|
|
|
|
(XCHAL_ICACHE_LINESIZE, XCHAL_DCACHE_LINESIZE): Change to 32.
|
|
|
|
|
(XCHAL_ICACHE_LINEWIDTH, XCHAL_DCACHE_LINEWIDTH): Change to 5.
|
|
|
|
|
(XCHAL_DCACHE_IS_WRITEBACK): Change to 1.
|
|
|
|
|
(XCHAL_DEBUGLEVEL): Change to 6.
|
|
|
|
|
|
2008-10-21 01:03:03 +02:00
|
|
|
|
2008-10-21 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.
|
|
|
|
|
|
2008-10-07 00:29:42 +02:00
|
|
|
|
2008-10-06 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_PACK_EXPANSION.
|
|
|
|
|
|
2008-09-09 19:38:10 +02:00
|
|
|
|
2008-09-09 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_DECLTYPE.
|
|
|
|
|
|
2008-07-07 19:08:21 +02:00
|
|
|
|
2008-07-07 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* safe-ctype.h: Add #include of ctype.h before redefining
|
|
|
|
|
the ctype.h macros.
|
|
|
|
|
|
2008-07-04 19:05:58 +02:00
|
|
|
|
2008-07-04 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* safe-ctype.h: Remove #error when detecting that ctype.h has been
|
|
|
|
|
included. Redefine the various macros provided by ctype.h as
|
|
|
|
|
undefined variables.
|
|
|
|
|
|
2008-06-24 03:42:31 +02:00
|
|
|
|
2008-06-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (XALLOCA, XDUP, XALLOCAVEC, XDUPVEC, XALLOCAVAR,
|
|
|
|
|
XDUPVAR, XOBNEWVEC, XOBNEWVAR): New.
|
|
|
|
|
|
2008-03-25 00:41:20 +01:00
|
|
|
|
2008-03-24 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
2008-03-25 01:54:53 +01:00
|
|
|
|
* sha1.h: New file, from gnulib.
|
|
|
|
|
|
2008-03-25 00:41:20 +01:00
|
|
|
|
* md5.h: Add extern "C" when compiled with C++.
|
|
|
|
|
|
2008-03-22 00:35:07 +01:00
|
|
|
|
2008-03-21 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* filenames.h: Add extern "C" when compiled with C++.
|
|
|
|
|
|
2008-02-11 18:53:16 +01:00
|
|
|
|
2008-02-11 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
|
|
|
|
|
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
|
|
|
|
|
|
2008-01-27 07:01:00 +01:00
|
|
|
|
2008-01-26 David Daney <ddaney@avtrex.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_JAVA_RESOURCE,
|
|
|
|
|
DEMANGLE_COMPONENT_COMPOUND_NAME, and
|
|
|
|
|
DEMANGLE_COMPONENT_CHARACTER as new enum values.
|
|
|
|
|
(demangle_component): Add struct s_character to union u.
|
|
|
|
|
|
floatformat.h (struct floatformat): Add split_half field.
include:
2007-11-07 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* floatformat.h (struct floatformat): Add split_half field.
(floatformat_ibm_long_double): New.
libiberty:
2007-11-07 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* floatformat.c (mant_bits_set): New.
(floatformat_to_double): Use it. Note no special handling of
split formats.
(floatformat_from_double): Note no special handing of split
formats.
(floatformat_ibm_long_double_is_valid,
floatformat_ibm_long_double): New.
(floatformat_ieee_single_big, floatformat_ieee_single_little,
floatformat_ieee_double_big, floatformat_ieee_double_little,
floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
floatformat_m68881_ext, floatformat_i960_ext,
floatformat_m88110_ext, floatformat_m88110_harris_ext,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
floatformat_ia64_spill_big, floatformat_ia64_spill_little,
floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
for addition of split_half field.
Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com>
From-SVN: r129977
2007-11-08 01:08:02 +01:00
|
|
|
|
2007-11-07 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* floatformat.h (struct floatformat): Add split_half field.
|
|
|
|
|
(floatformat_ibm_long_double): New.
|
|
|
|
|
|
2007-09-06 18:58:57 +02:00
|
|
|
|
2007-09-06 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (pex_free): Document process killing.
|
|
|
|
|
|
2007-08-31 21:15:26 +02:00
|
|
|
|
2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (enum demangle_component_type): Add
|
|
|
|
|
DEMANGLE_COMPONENT_RVALUE_REFERENCE.
|
|
|
|
|
|
2007-07-25 08:26:45 +02:00
|
|
|
|
2007-07-25 Ben Elliston <bje@au.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ternary.h: Remove.
|
|
|
|
|
|
2007-07-18 20:51:21 +02:00
|
|
|
|
2007-07-18 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
|
|
|
|
|
(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.
|
|
|
|
|
|
2007-07-17 10:37:53 +02:00
|
|
|
|
2007-07-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* COPYING3: New file. Contains version 3 of the GNU General
|
|
|
|
|
Public License.
|
|
|
|
|
|
2007-07-12 09:22:06 +02:00
|
|
|
|
2007-07-12 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): New types,
|
|
|
|
|
needed for WIN64 when a long is not wide enough for a pointer.
|
|
|
|
|
(splay_tree_key, splay_tree_value): Use the new types.
|
|
|
|
|
|
2007-05-08 02:37:39 +02:00
|
|
|
|
2007-05-07 Nathan Froyd <froydnj@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (writeargv): Declare.
|
|
|
|
|
|
2007-04-26 04:59:13 +02:00
|
|
|
|
2007-04-25 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h: Change license to LGPL + exception.
|
|
|
|
|
|
2007-03-29 22:55:57 +02:00
|
|
|
|
2007-03-29 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
|
|
* filenames.h (FILENAME_CMP): Adjust define to call filename_cmp
|
|
|
|
|
regardless of the type of file system.
|
|
|
|
|
|
2007-03-06 19:57:27 +01:00
|
|
|
|
2007-03-06 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
* ansidecl.h (ATTRIBUTE_COLD, ATTRIBUTE_HOT): New.
|
|
|
|
|
|
2007-02-09 16:28:13 +01:00
|
|
|
|
2007-02-09 Joseph S. Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (pex_write_input): Remove prototype.
|
|
|
|
|
|
2007-01-31 19:40:34 +01:00
|
|
|
|
2007-01-31 Vladimir Prus <vladimir@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (PEX_STDERR_TO_PIPE): New define.
|
|
|
|
|
(PEX_BINARY_ERROR): New define.
|
|
|
|
|
(pex_read_err): New function.
|
|
|
|
|
|
demangle.h: New cplus_demangle_print_callback...
include/:
* demangle.h: New cplus_demangle_print_callback,
cplus_demangle_v3_callback, and java_demangle_v3_callback function
prototypes, and demangle_callbackref type definition.
libiberty/:
* cp-demangle.h (cplus_demangle_operators): External definition
suppressed if not building for libstdc++.
* cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
to demangling, provides a malloc-less version of __cxa_demangle.
(cplus_demangle_print_callback): Public callback version of
cplus_demangle_print.
(struct d_growable_string): New growable string structure.
(d_growable_string_init): New function, provides support for
growable strings separate from print info.
(d_growable_string_resize): Likewise.
(d_growable_string_append_buffer): Likewise.
(d_growable_string_callback_adapter):): Likewise.
(d_print_init): New print info initialization function.
(d_print_error): Macro replace by inline function.
(d_print_saw_error): Likewise.
(d_append_char): Likewise.
(d_append_buffer): Likewise.
(d_append_string): New inline function, replaces the
d_append_string_constant macro.
(d_flush_buffer): New function, flushes buffer to callback.
(d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
for unsupported dynamic arrays replaced by alloca().
(d_demangle): Return string length estimating removed.
(d_dump): Moved error case handling from call site into function.
(d_print_resize): Function removed.
(d_print_append_char): Likewise.
(d_print_append_buffer): Likewise.
(d_print_error): Likewise.
(d_print_comp): Added special case handling for Java arrays.
(java_demangle_v3): Removed string post-processing for Java arrays,
now replaced by special case handling in d_print_comp.
(cplus_demangle_v3_callback): Augmented interface to demangling,
provides a malloc-less version of cplus_demangle_v3.
(java_demangle_v3_callback): Augmented interface to demangling,
provides a malloc-less version of java_demangle_v3.
From-SVN: r121305
2007-01-29 21:07:49 +01:00
|
|
|
|
2007-01-29 Simon Baldwin <simonb@google.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h: New cplus_demangle_print_callback,
|
|
|
|
|
cplus_demangle_v3_callback, and java_demangle_v3_callback function
|
|
|
|
|
prototypes, and demangle_callbackref type definition.
|
|
|
|
|
|
2006-12-06 19:08:51 +01:00
|
|
|
|
2006-12-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ansidecl.h (ATTRIBUTE_PACKED): Define.
|
|
|
|
|
|
2006-11-30 18:05:45 +01:00
|
|
|
|
2006-11-30 Andrew Stubbs <andrew.stubbs@st.com>
|
|
|
|
|
J"orn Rennecke <joern.rennecke@st.com>
|
|
|
|
|
|
|
|
|
|
PR driver/29931
|
|
|
|
|
* libiberty.h (make_relative_prefix_ignore_links): Declare.
|
|
|
|
|
|
2006-11-27 21:15:58 +01:00
|
|
|
|
2006-11-27 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* xtensa-config.h (XSHAL_ABI): New.
|
|
|
|
|
(XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New.
|
|
|
|
|
|
2006-04-12 08:29:21 +02:00
|
|
|
|
2006-04-11 Jim Blandy <jimb@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (pex_input_file, pex_input_pipe): New declarations.
|
|
|
|
|
|
2006-01-18 21:21:59 +01:00
|
|
|
|
2006-01-18 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* md5.h: Include ansidecl.h
|
|
|
|
|
|
2006-01-10 00:41:11 +01:00
|
|
|
|
2006-01-09 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
|
|
|
|
|
|
2005-12-31 01:29:42 +01:00
|
|
|
|
2005-12-30 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
|
|
|
|
|
|
2005-12-11 02:34:02 +01:00
|
|
|
|
2005-12-10 Terry Laurenzo <tlaurenzo@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR java/9861
|
|
|
|
|
* demangle.h : Add DMGL_RET_POSTFIX define to enable alternative
|
|
|
|
|
output format for return types
|
|
|
|
|
|
2005-10-31 18:52:38 +01:00
|
|
|
|
2005-10-31 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* floatformat.h (enum floatformat_byteorders): Add
|
|
|
|
|
floatformat_vax.
|
|
|
|
|
(floatformat_vax_aingle, floatformat_vax_double): Declare.
|
|
|
|
|
|
2005-09-26 22:55:10 +02:00
|
|
|
|
2005-09-26 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (expandargv): New function.
|
|
|
|
|
|
2005-08-17 19:30:47 +02:00
|
|
|
|
2005-08-17 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* floatformat.h (struct floatformat): Change type of large
|
|
|
|
|
argument for is_valid member to `const void *'.
|
|
|
|
|
(floatformat_to_double): Change type of second argument to `const
|
|
|
|
|
void *'.
|
|
|
|
|
(floatformat_from_double): Change type of last argument to `void
|
|
|
|
|
*'.
|
|
|
|
|
(floatformat_is_valid): Change type of last argument to `const
|
|
|
|
|
void *'.
|
|
|
|
|
|
2005-07-12 06:39:07 +02:00
|
|
|
|
2005-07-12 Ben Elliston <bje@au.ibm.com>
|
|
|
|
|
|
|
|
|
|
* xregex2.h (regexec): Qualify this prototype with __extension__
|
|
|
|
|
when compiling with GNU C.
|
|
|
|
|
|
2005-07-03 17:38:39 +02:00
|
|
|
|
2005-07-03 Steve Ellcey <sje@cup.hp.com>
|
|
|
|
|
|
|
|
|
|
PR other/13906
|
|
|
|
|
* ansidecl.h (ATTRIBUTE_ALIGNED_ALIGNOF): New.
|
|
|
|
|
* md5.h (md5_uintptr): New.
|
|
|
|
|
(md5_ctx): Align buffer field.
|
|
|
|
|
|
2005-07-01 00:18:42 +02:00
|
|
|
|
2005-06-30 Daniel Berlin <dberlin@dberlin.org>
|
|
|
|
|
|
|
|
|
|
* hashtab.h (HTAB_DELETED_ENTRY): New macro.
|
|
|
|
|
(HTAB_EMPTY_ENTRY): New macro.
|
|
|
|
|
|
2005-06-21 02:24:59 +02:00
|
|
|
|
2005-06-20 Geoffrey Keating <geoffk@apple.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (strverscmp): Prototype.
|
|
|
|
|
|
libiberty.h (XOBFINISH): New.
libiberty/
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
* libiberty.h (XOBFINISH): New.
gcc/
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
* c-lex.c (lex_string): Use XOBFINISH.
* collect2.c (extract_string, dump_file): Likewise.
* dbxout.c (dbxout_finish_complex_stabs): Likewise.
* gcc.c (init_spec, build_search_list, convert_filename,
set_collect_gcc_options, do_spec_2, do_spec_1, main):
* Likewise.
* genpreds.c (write_predicate_subfunction): Likewise.
* genflags.c (main): Likewise.
* read-rtl.c (mode_attr_index, apply_macro_to_string,
join_c_conditions, read_quoted_string, read_braced_string,
read_rtx_1): Likewise.
* stringpool.c (ggc_alloc_string): Likewise.
* tlink.c (obstack_fgets, recompile_files): Likewise.
From-SVN: r100678
2005-06-06 23:14:31 +02:00
|
|
|
|
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (XOBFINISH): New.
|
|
|
|
|
|
2005-06-02 04:01:03 +02:00
|
|
|
|
2005-06-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (vsnprintf): Add format attribute.
|
|
|
|
|
|
2005-05-30 02:04:09 +02:00
|
|
|
|
2005-05-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.
|
|
|
|
|
|
2005-05-28 13:40:59 +02:00
|
|
|
|
2005-05-28 Eli Zaretskii <eliz@gnu.org>
|
|
|
|
|
|
|
|
|
|
* libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if
|
|
|
|
|
needed.
|
|
|
|
|
(vsnprintf) [!HAVE_DECL_VSNPRINTF]: Declare if needed.
|
|
|
|
|
|
2005-05-26 01:29:54 +02:00
|
|
|
|
2005-05-25 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
|
|
|
|
|
|
2005-05-24 22:48:25 +02:00
|
|
|
|
2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (ACONCAT): Properly cast value of alloca().
|
|
|
|
|
|
|
|
|
|
* ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if
|
2005-05-28 13:40:59 +02:00
|
|
|
|
__cplusplus.
|
2005-05-24 22:48:25 +02:00
|
|
|
|
|
2005-05-12 21:29:53 +02:00
|
|
|
|
2005-05-12 Steve Ellcey <sje@cup.hp.com>
|
|
|
|
|
|
|
|
|
|
libiberty.h: Do not define empty basename prototype.
|
|
|
|
|
|
2005-05-10 17:22:21 +02:00
|
|
|
|
2005-05-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Update the address and phone number of the FSF organization in
|
|
|
|
|
the GPL notices in the following files:
|
|
|
|
|
COPYING, ansidecl.h, bfdlink.h, bout.h, demangle.h, dis-asm.h,
|
|
|
|
|
dyn-string.h, fibheap.h, filenames.h, floatformat.h,
|
|
|
|
|
fnmatch.h, gdbm.h, getopt.h, hashtab.h, hp-symtab.h, ieee.h,
|
|
|
|
|
libiberty.h, md5.h, oasys.h, objalloc.h, obstack.h, os9k.h,
|
|
|
|
|
partition.h, progress.h, safe-ctype.h, sort.h, splay-tree.h,
|
|
|
|
|
symcat.h, ternary.h, xregex2.h, xtensa-config.h,
|
|
|
|
|
xtensa-isa-internal.h, xtensa-isa.h
|
|
|
|
|
|
2005-04-26 02:14:35 +02:00
|
|
|
|
2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (unlock_std_streams): New.
|
|
|
|
|
|
2005-04-19 20:26:43 +02:00
|
|
|
|
2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
|
|
|
|
|
Don't use the PTR macro.
|
|
|
|
|
|
|
|
|
|
* sort.h: Don't use the PARAMS macro.
|
|
|
|
|
|
2005-04-16 18:58:35 +02:00
|
|
|
|
2005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (unlock_stream): New.
|
|
|
|
|
|
2005-04-14 03:42:05 +02:00
|
|
|
|
2005-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
|
|
|
|
|
Remove parameter names.
|
|
|
|
|
|
2005-04-11 19:49:47 +02:00
|
|
|
|
2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
|
|
|
|
|
Provide prototypes for new functions.
|
|
|
|
|
|
2005-03-29 20:35:07 +02:00
|
|
|
|
2005-03-29 Ian Lance Taylor <ian@airs.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h: Fix indentation.
|
|
|
|
|
|
pex-common.c: New file.
libiberty:
* pex-common.c: New file.
* pex-one.c: New file.
* pexecute.c: New file.
* pex-common.h: Include <stdio.h>.
(struct pex_obj): Define.
(struct pex_funcs): Define.
(pex_init_common): Declare.
* pex-unix.c: Rewrite.
* pex-win32.c: Rewrite.
* pex-djgpp.c: Rewrite.
* pex-msdos.c: Rewrite.
* testsuite/text-pexecute.c: New file.
* pexecute.txh: Rewrite.
* configure.ac: Check for wait3 and wait4. Set CHECK to
really-check rather than check-cplus-dem.
* functions.texi: Rebuild.
* Makefile.in: Rebuild dependencies.
(CFILES): Add pexecute.c, pex-common.c, pex-one.c.
(REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
* testsuite/Makefile.in (really-check): New target.
(check-pexecute, test-pexecute): New targets.
* configure: Rebuild.
include:
* libiberty.h: Include <stdio.h>.
(PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
(PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
(PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
(pex_init, pex_run, pex_read_output): Declare.
(pex_get_status, pex_get_times, pex_free, pex_one): Declare.
(struct pex_time): Define.
From-SVN: r97148
2005-03-29 04:08:46 +02:00
|
|
|
|
2005-03-28 Ian Lance Taylor <ian@airs.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h: Include <stdio.h>.
|
|
|
|
|
(PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
|
|
|
|
|
(PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
|
|
|
|
|
(PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
|
|
|
|
|
(pex_init, pex_run, pex_read_output): Declare.
|
|
|
|
|
(pex_get_status, pex_get_times, pex_free, pex_one): Declare.
|
|
|
|
|
(struct pex_time): Define.
|
|
|
|
|
|
2005-03-29 03:10:31 +02:00
|
|
|
|
2005-03-28 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (ffs): Declare, if necessary.
|
2005-05-28 13:40:59 +02:00
|
|
|
|
|
xregex2.h (_RE_ARGS): Remove definition and uses.
include/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
* xregex2.h (_RE_ARGS): Remove definition and uses.
libiberty/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to use ISO C prototype style 7/n.
* regex.c (PARAMS): Remove definition.
(PREFIX): Unconditionaly define using ISO C ## operator.
(init_syntax_once, extract_number, extract_number_and_incr,
print_fastmap, print_partial_compiled_pattern,
print_compiled_pattern, print_double_string, printchar,
convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
regex_compile, store_op1, store_op2, insert_op1, insert_op2,
at_begline_loc_p, at_endline_p, group_in_compile_stack,
insert_space, wcs_compile_range, byte_compile_range,
truncate_wchar, re_compile_fastmap, re_compile_fastmap,
re_set_registers, re_search, re_search_2, re_search_3,
re_match,
re_match_2, count_mbs_length, wcs_re_match_2_internal,
byte_re_match_2_internal, group_match_null_string_p,
alt_match_null_string_p, common_op_match_null_string_p,
bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
regexec, regerror, regfree): Use ISO C prototype style.
* partition.c: (elem_compare): Likewise.
* cp-demangle.c (print_usage): Likewise.
From-SVN: r97129
2005-03-28 10:34:12 +02:00
|
|
|
|
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
|
|
|
|
|
|
|
|
|
* xregex2.h (_RE_ARGS): Remove definition and uses.
|
|
|
|
|
|
ternary.h: Don't use PARAMS anymore.
include/
2005-03-27 Gabriel Dos Reis <gdr@integreable-solutions.net>
* ternary.h: Don't use PARAMS anymore.
libiberty/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to use ISO C prototype style 6/n.
* strerror.c (init_error_tables, errno_max, strerror,
strerrno,
strtoerrno, main): Use ISO C prototype style.
* strncasecmp.c (strncasecmp): Likewise.
* strncmp.c (strncmp): Likewise.
* strndup.c (strndup): Likewise.
* strrchr.c (strrchr): Likewise.
* strsignal.c (init_signal_tables, signo_max, strsignal,
strsigno, strtosigno, psignal, main): Likewise.
* strstr.c (strstr): Likewise.
* strtod.c (strtod, atof): Likewise.
* strtol.c (strtol): Likewise.
* strtoul.c (strtoul): Likewise.
* ternary.c (ternary_insert, ternary_cleanup, ternary_search,
ternary_recursivesearch): Likewise.
* tmpnam.c (tmpnam): Likewise.
* unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
* vasprintf.c (int_vasprintf, vasprintf, checkit, main):
Likewise.
* vfork.c (vfork): Likewise.
* vfprintf.c (vfprintf): Likewise.
* vprintf.c (vprintf): Likewise.
* vsnprintf.c (vsnprintf, checkit, main): Likewise.
* vsprintf.c (vsprintf): Likewise.
* waitpid.c (waitpid): Likewise.
* xatexit.c (xatexit, xatexit_cleanup): Likewise.
* xexit.c (xexit): Likewise.
* xmalloc.c (xmalloc_set_program_name, xmalloc_failed,
xmalloc,
xcalloc, xrealloc): Likewise.
* xmemdup.c (xmemdup): Likewise.
* xstrdup.c (xstrdup): Likewise.
* xstrerror.c (xstrerror): Likewise.
* xstrndup.c (xstrndup): Likewise.
From-SVN: r97122
2005-03-28 03:28:01 +02:00
|
|
|
|
2005-03-27 Gabriel Dos Reis <gdr@integreable-solutions.net>
|
|
|
|
|
|
|
|
|
|
* ternary.h: Don't use PARAMS anymore.
|
|
|
|
|
|
partition.h: Remove use of PARAMS.
include/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
* partition.h: Remove use of PARAMS.
* obstack.h: Remove conditional prototypes __STDC__.
* objalloc.h: Remove use of PARAMS.
* splay-tree.h: Likewise.
libiberty/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to use ISO C prototype style 5/n.
* random.c (srandom, initstate, setstate, random): Use ISO C
prototypes.
* putenv.c (putenv): Likewise.
* physmem.c (physmem_available, physmem_total, main):
Likewise.
* pex-win32.c (fix_argv, pexecute, pwait): Likewise.
* pex-unix.c (pexecute, pwait): Likewise.
* pex-msdos.c (pexecute, pwait): Likewise.
* pex-djgpp.c (pexecute, pwait): Likewise.
* partition.c (partition_new, partition_delete,
partition_union)
(elem_compare, partition_print): Likewise.
* obstack.c (_obstack_begin, _obstack_begin_1,
_obstack_newchunk,
_obstack_allocated_p, _obstack_free, obstack_free,
_obstack_memory_used, print_and_abort, obstack_next_free,
obstack_object_size, obstack_base): Likewise. Remove codes
predicated on !defined(__STDC__).
* objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
objalloc_free_block): Use ISO C prototypes.
* mkstemps.c (mkstemps): Likewise.
* memset.c (memset): Likewise.
* mempcpy.c (mempcpy): Likewise.
* rename.c (rename): Likewise.
* rindex.c (rindex): Likewise.
* setenv.c (setenv, unsetenv): Likewise.
* sigsetmask.c (sigsetmask): Likewise.
* snprintf.c (snprintf): Likewise.
* sort.c (sort_pointers, xmalloc): Likewise.
* spaces.c (spaces): Likewise.
* splay-tree.c (splay_tree_delete_helper,
splay_tree_splay_helper, splay_tree_splay,
splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
splay_tree_new, splay_tree_xmalloc_allocate,
splay_tree_new_with_allocator, splay_tree_delete,
splay_tree_insert, splay_tree_remove, splay_tree_lookup,
splay_tree_max, splay_tree_min, splay_tree_predecessor,
splay_tree_successor, splay_tree_foreach,
splay_tree_compare_ints, splay_tree_compare_pointers):
Likewise.
* stpcpy.c (stpcpy): Likewise.
* stpncpy.c (stpncpy): Likewise.
* strcasecmp.c (strcasecmp): Likewise.
* strchr.c (strchr): Likewise.
* strdup.c (strdup): Likewise.
From-SVN: r97125
2005-03-28 06:22:33 +02:00
|
|
|
|
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
|
|
|
|
|
|
|
|
|
* partition.h: Remove use of PARAMS.
|
|
|
|
|
* obstack.h: Remove conditional prototypes __STDC__.
|
|
|
|
|
* objalloc.h: Remove use of PARAMS.
|
|
|
|
|
* splay-tree.h: Likewise.
|
|
|
|
|
|
md5.h: Remove definition and uses of __P.
include/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
* md5.h: Remove definition and uses of __P.
* dyn-string.h: Remove uses of PARAMS.
* fibheap.h: Likewise.
* floatformat.h: Likewise.
* hashtab.h: Likewise.
libiberty/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to use ISO C prototype style 4/n.
* hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
htab_create_alloc, htab_set_functions_ex, htab_create,
htab_try_create, htab_delete, htab_empty,
find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
htab_find, htab_find_slot_with_hash, htab_find_slot,
htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
htab_traverse_noresize, htab_traverse, htab_collisions,
htab_hash_string, iterative_hash): Use ISO C prototype.
* hex.c (hex_init): Likewise.
* index.c (index): Likewise.
* insque.c (insque, remque): Likewise.
* lbasename.c (lbasename): Likewise.
* lrealpath.c (lrealpath): Likewise.
* make-relative-prefix.c (save_string, split_directories,
free_split_directories, make_relative_prefix): Likewise.
* make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
* md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
md5_buffer, md5_process_bytes, md5_process_block): Likewise.
* memchr.c (memchr): Likewise.
* memcpy.c (memcpy): Likewise.
* memmove.c (memmove): Likewise.
* gettimeofday.c (gettimeofday): Likewise.
* getruntime.c (get_run_time): Likewise.
* getpwd.c (getpwd, getpwd): Likewise.
* getpagesize.c (getpagesize): Likewise.
* getopt1.c (getopt_long, getopt_long_only, main): Likewise.
* getopt.c (my_index, exchange, _getopt_initialize,
_getopt_internal, getopt, main): Likewise.
* getcwd.c (getcwd): Likewise.
* fnmatch.c (fnmatch): Likewise.
* floatformat.c (floatformat_always_valid,
floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
put_field, floatformat_from_double, floatformat_is_valid,
ieee_test, main): Likewise.
* fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
fibheap_delete, fibheap_empty, fibheap_extr_min_node,
fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
fibheap_link, fibheap_cut, fibheap_cascading_cut,
fibnode_insert_after, fibnode_remove): Likewise.
* ffs.c (ffs): Likewise.
* fdmatch.c (fdmatch): Likewise.
* dyn-string.c (dyn_string_init, dyn_string_new,
dyn_string_delete, dyn_string_release, dyn_string_resize,
dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
dyn_string_insert_cstr, dyn_string_insert_char,
dyn_string_append, dyn_string_append_cstr,
dyn_string_append_char, dyn_string_substring, dyn_string_eq):
Likewise.
From-SVN: r97113
2005-03-27 17:31:13 +02:00
|
|
|
|
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
|
|
|
|
|
|
|
|
|
* md5.h: Remove definition and uses of __P.
|
|
|
|
|
* dyn-string.h: Remove uses of PARAMS.
|
|
|
|
|
* fibheap.h: Likewise.
|
|
|
|
|
* floatformat.h: Likewise.
|
|
|
|
|
* hashtab.h: Likewise.
|
|
|
|
|
|
demangle.h: Remove uses of PARAMS.
include/
2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
* demangle.h: Remove uses of PARAMS.
* libiberty.h (ANSI_PROTOTYPES): Remove guard since
ANSI_PROTOTYPES is always assumed.
Remove uses of PARAMS throughout.
libiberty/
2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to use ISO C prototype style 2/n.
* cp-demangle.h: Remove uses of PARAMS.
* cp-demangle.c: Likewise.
(d_dump, cplus_demangle_fill_name,
cplus_demangle_fill_extended_operator,
cplus_demangle_fill_ctor,
cplus_demangle_fill_dtor, d_make_empty, d_make_comp,
d_make_name,
d_make_builtin_type, d_make_operator,
d_make_extended_operator,
d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
cplus_demangle_mangled_name, has_return_type,
is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
d_prefix, d_unqualified_name, d_source_name, d_number,
d_identifier, d_operator_name, d_special_name, d_call_offset,
d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
d_function_type, d_bare_function_type, d_class_enum_type,
d_array_type, d_pointer_to_member_type, d_template_param,
d_template_args, d_template_arg, d_expression, d_expr_primary,
d_local_name, d_discriminator, d_add_substitution,
d_substitution, d_print_resize, d_print_append_char,
d_print_append_buffer, d_print_error, cplus_demangle_print,
d_print_comp, d_print_java_identifier, d_print_mod_list,
d_print_mod, d_print_function_type, d_print_array_type,
d_print_expr_op, d_print_cast, cplus_demangle_init_info,
d_demangle, __cxa_demangle, cplus_demangle_v3,
java_demangle_v3,
is_ctor_or_dtor, is_gnu_v3_mangled_ctor,
is_gnu_v3_mangled_dtor,
print_usage, main):
2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to ISO C prototype style 1/n.
* _doprnt.c: Remove conditional #include <varargs.h> on
ANSI_PROTOTYPES as the latter is always assumed.
(_doprnt, checkit, main): Use ISO C prototype.
* alloca.c (find_stack_direction, C_alloca): Use ISO C
prototype.
* argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
(dupargv, freeargv, buildargv, main): Use ISO C prototype.
* atexit.c (atexit): Likewise
* asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
(asprintf): Use ISO C prototype.
* basename.c (basename): Likewise
* bcmp.c (bcmp): Likewise.
* bcopy.c (bcopy): Likewise.
* bzero.c (bzero): Likewise.
* bsearch.c (bsearch): Likewise. Improve const-correctness.
* choose-temp.c (choose_temp_base): Likewise.
* calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
(calloc): Use ISO C prototype.
* clock.c (clock): Likewise.
* concat.c: Remove conditional #include on ANSI_PROTOTYPES.
(vconcat_length, vconcat_copy, concat_length, concat_copy,
concat_copy2, concat, reconcat, main): Use ISO C prototype.
* copysign.c (copysign): Likewise.
From-SVN: r97085
2005-03-26 20:24:33 +01:00
|
|
|
|
2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
|
|
|
|
|
|
|
|
|
* demangle.h: Remove uses of PARAMS.
|
|
|
|
|
|
|
|
|
|
* libiberty.h (ANSI_PROTOTYPES): Remove guard since
|
|
|
|
|
ANSI_PROTOTYPES is always assumed.
|
|
|
|
|
Remove uses of PARAMS throughout.
|
|
|
|
|
|
2005-03-25 05:41:41 +01:00
|
|
|
|
2005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (xstrndup): Declare.
|
|
|
|
|
|
2005-03-23 00:47:49 +01:00
|
|
|
|
2005-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC.
|
|
|
|
|
|
2005-03-10 01:57:10 +01:00
|
|
|
|
2005-03-09 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (gettimeofday): Declare.
|
|
|
|
|
|
2005-03-01 10:23:26 +01:00
|
|
|
|
2005-03-01 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h: Declare unlink_if_ordinary.
|
|
|
|
|
|
2005-02-14 09:52:24 +01:00
|
|
|
|
2005-02-14 Paolo Bonzini <bonzini@gnu.org>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/19818
|
|
|
|
|
* ansidecl.h (PARAMS): Guard from redefinition.
|
|
|
|
|
|
2004-12-10 22:25:00 +01:00
|
|
|
|
2004-12-11 Ben Elliston <bje@au.ibm.com>
|
|
|
|
|
|
|
|
|
|
* fibheap.h (struct fibnode): Only use unsigned long bitfields
|
|
|
|
|
when __GNUC__ is defined and ints are less than 32-bits wide.
|
|
|
|
|
|
2004-10-08 02:28:50 +02:00
|
|
|
|
2004-10-07 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS,
|
|
|
|
|
XCHAL_HAVE_PREDICTED_BRANCHES, XCHAL_INST_FETCH_WIDTH): New.
|
|
|
|
|
(XCHAL_EXTRA_SA_SIZE, XCHAL_EXTRA_SA_ALIGN): Delete.
|
|
|
|
|
|
2004-09-14 03:14:58 +02:00
|
|
|
|
2004-09-13 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
|
2004-09-14 03:12:49 +02:00
|
|
|
|
|
|
|
|
|
* libiberty.h (basename): Prototype for __MINGW32__.
|
|
|
|
|
|
2004-09-05 04:50:09 +02:00
|
|
|
|
2004-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
|
|
|
|
|
|
|
|
|
* ansidecl.h (ATTRIBUTE_SENTINEL): Define.
|
|
|
|
|
* libiberty.h (concat, reconcat, concat_length, concat_copy,
|
|
|
|
|
concat_copy2): Use ATTRIBUTE_SENTINEL.
|
|
|
|
|
|
2004-08-02 18:45:52 +02:00
|
|
|
|
2004-08-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (XDELETE, XDELETEVEC, XRESIZEVEC): Remove any
|
|
|
|
|
const-qualification before disposal.
|
|
|
|
|
|
2004-07-24 19:49:27 +02:00
|
|
|
|
2004-07-24 Bernardo Innocenti <bernie@develer.com>
|
2004-07-21 10:25:57 +02:00
|
|
|
|
|
2004-07-24 19:49:27 +02:00
|
|
|
|
* ansidecl.h (ARG_UNUSED): New Macro.
|
2004-07-21 10:25:57 +02:00
|
|
|
|
|
2004-07-24 19:49:27 +02:00
|
|
|
|
2004-07-24 Bernardo Innocenti <bernie@develer.com>
|
libiberty.h (XNEW, [...]): Move here from libcpp/internal.h.
* libiberty.h (XNEW, XCNEW, XNEWVEC, XCNEWVEC, XOBNEW): Move here from
libcpp/internal.h.
(XDELETE, XRESIZEVEC, XDELETEVEC, XNEWVAR, XCNEWVAR, XRESIZEVAR): New
macros.
From-SVN: r84643
2004-07-13 22:59:09 +02:00
|
|
|
|
|
|
|
|
|
* libiberty.h (XNEW, XCNEW, XNEWVEC, XCNEWVEC, XOBNEW): Move here from
|
|
|
|
|
libcpp/internal.h.
|
|
|
|
|
(XDELETE, XRESIZEVEC, XDELETEVEC, XNEWVAR, XCNEWVAR, XRESIZEVAR): New
|
|
|
|
|
macros.
|
|
|
|
|
|
2004-07-24 19:49:27 +02:00
|
|
|
|
2004-07-21 Paolo Bonzini <bonzini@gnu.org>
|
|
|
|
|
|
|
|
|
|
* ansidecl.h (ATTRIBUTE_PURE): New.
|
|
|
|
|
|
2004-07-13 22:54:38 +02:00
|
|
|
|
2004-07-13 Bernardo Innocenti <bernie@develer.com>
|
|
|
|
|
|
|
|
|
|
* libiberty.h (ASTRDUP): Add casts required for stricter
|
|
|
|
|
type conversion rules of C++.
|
|
|
|
|
* obstack.h (obstack_free): Likewise.
|
|
|
|
|
|
2004-05-04 20:13:54 +02:00
|
|
|
|
2004-05-04 Andreas Jaeger <aj@suse.de>
|
|
|
|
|
|
|
|
|
|
* demangle.h: Do not use C++ reserved keyword typename as
|
|
|
|
|
parameter for cplus_demangle_fill_builtin_type.
|
|
|
|
|
|
2004-04-22 19:36:03 +02:00
|
|
|
|
2004-04-22 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* hashtab.h (struct htab): Add size_prime_index.
|
|
|
|
|
|
2004-04-13 16:48:56 +02:00
|
|
|
|
2004-04-13 Jeff Law <law@redhat.com>
|
2005-05-28 13:40:59 +02:00
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
|
* hashtab.h (htab_remove_elt_with_hash): Prototype new function.
|
2005-05-28 13:40:59 +02:00
|
|
|
|
|
2004-03-30 21:23:16 +02:00
|
|
|
|
2004-03-30 Zack Weinberg <zack@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* hashtab.h, splay-tree.h: Use new shorter form of GTY markers.
|
|
|
|
|
|
2004-02-25 02:42:20 +01:00
|
|
|
|
2004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
|
|
|
|
|
|
|
|
|
|
* dyn-string.h: Update copyright date.
|
|
|
|
|
|
2004-02-24 03:32:30 +01:00
|
|
|
|
2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
|
|
|
|
|
|
|
|
|
|
* dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
|
|
|
|
|
the associated #defines.
|
|
|
|
|
|
2004-01-12 20:46:31 +01:00
|
|
|
|
2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
|
|
|
|
|
|
2004-01-13 04:06:13 +01:00
|
|
|
|
* demangle.h: Instead of checking ANSI_PROTOTYPES, just include
|
|
|
|
|
"libiberty.h".
|
|
|
|
|
|
2004-01-13 02:49:16 +01:00
|
|
|
|
* demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
|
|
|
|
|
|
2004-01-12 20:46:31 +01:00
|
|
|
|
* demangle.h (enum demangle_component_type): Define.
|
|
|
|
|
(struct demangle_operator_info): Declare.
|
|
|
|
|
(struct demangle_builtin_type_info): Declare.
|
|
|
|
|
(struct demangle_component): Define.
|
|
|
|
|
(cplus_demangle_fill_component): Declare.
|
|
|
|
|
(cplus_demangle_fill_name): Declare.
|
|
|
|
|
(cplus_demangle_fill_builtin_type): Declare.
|
|
|
|
|
(cplus_demangle_fill_operator): Declare.
|
|
|
|
|
(cplus_demangle_fill_extended_operator): Declare.
|
|
|
|
|
(cplus_demangle_fill_ctor, cplus_demangle_fill_dtor): Declare.
|
|
|
|
|
(cplus_demangle_v3_components): Declare.
|
|
|
|
|
(cplus_demangle_print): Declare.
|
|
|
|
|
|
2004-08-18 05:41:56 +02:00
|
|
|
|
For older changes see ChangeLog-9103
|
1997-08-22 00:57:35 +02:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|