3 * elf/mips.h (DT_MIPS_RLD_MAP_REL): New macro.
7 * dis-asm.h (struct disassemble_info): Add stop_vma field.
12 * bfdlink.h: Rename eh_frame_hdr to eh_frame_hdr_type.
16 * libiberty.h (asprintf): Don't declare if HAVE_DECL_ASPRINTF is
21 * elf/aarch64.h (R_AARCH64_P32_LD32_GOTPAGE_LO14): New enumeration.
30 * filenames.h: Add prototype for canonical_filename_eq.
34 * dis-asm.h (print_insn_rl78_g10): New.
35 (print_insn_rl78_g13): New.
36 (print_insn_rl78_g14): New.
37 (rl78_get_disassembler): New.
44 * partition.h (struct partition_elem): Re-order elements to
49 * bfdlink.h (bfd_link_info): Add compress_debug.
54 * bfdlink.h (bfd_link_info): Add extern_protected_data.
59 * elf/arm.h (EF_ARM_HASENTRY): Remove.
63 * floatformat.h [__cplusplus]: Wrap in extern "C".
68 * bfdlink.h (struct bfd_link_info): Delete loading_lto_outputs.
72 * dwarf2.h: Add DW_LANG_Fortran03 and DW_LANG_Fortran08.
76 * dwarf2.def: Add DW_TAG_atomic_type.
80 * dis-asm.h (print_insn_ft32): Declare.
84 * dwarf2.def (DW_AT_noreturn): New DWARF5 attribute.
88 * libiberty.h: Merge from GCC.
92 Update year range in copyright notice of all files.
98 * libiberty.h (xasprintf): Declare.
102 * bfdlink.h (struct bfd_link_hash_entry): Comment non_ir_ref. Add
109 * gcc-c-fe.def: New file.
110 * gcc-c-interface.h: New file.
111 * gcc-interface.h: New file.
117 * libiberty.h (xvasprintf): Declare.
121 * dis-asm.h (print_insn_visium): Declare.
125 * dwarf2.h: Add DW_LANG_C_plus_plus_11, DW_LANG_C11 and
126 DW_LANG_C_plus_plus_14.
130 * dwarf2.def (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)
131 (DW_AT_APPLE_isa, DW_AT_APPLE_block)
132 (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class)
133 (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name)
134 (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter)
135 (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type)
136 (DW_AT_APPLE_property): New macros.
141 * dwarf2.def (DW_AT_GNU_deleted): New attribute.
145 * opcode/arm.h (FPU_VFP_EXT_ARMV8xD): New macro.
146 (FPU_VFP_V5D16): Likewise.
147 (FPU_VFP_V5_SP_D16): Likewise.
148 (FPU_ARCH_VFP_V5D16): Likewise.
149 (FPU_ARCH_VFP_V5_SP_D16): Likewise.
153 * bfdlink.h (struct bfd_link_info): Add bndplt.
157 * elf/mips.h (AFL_EXT_OCTEON3): Define.
158 INSN_OCTEON3, CPU_OCTEON3): Define.
162 * libiberty.h (strtol, strtoul, strtoll, strtoull): New prototypes.
166 * elf/mips.h (AFL_ASE_MASK): Define.
170 * libiberty.h (choose_tmpdir): New prototype.
174 * libiberty.h (PEX_STDOUT_APPEND): New flag.
175 (PEX_STDERR_APPEND): Likewise.
179 * demangle.h (DMGL_DLANG): New macro.
180 (DMGL_STYLE_MASK): Add DMGL_DLANG.
181 (demangling_styles): Add dlang_demangling.
182 (DLANG_DEMANGLING_STYLE_STRING): New macro.
183 (DLANG_DEMANGLING): New macro.
184 (dlang_demangle): New prototype.
188 * longlong.h: Add __udiv_w_sdiv prototype.
192 * bfdlink.h (struct bfd_link_callbacks <notice>): Remove "string"
197 * bfdlink.h (struct bfd_link_info): Add lto_plugin_active.
201 * elf/mips.h (PT_MIPS_ABIFLAGS, SHT_MIPS_ABIFLAGS): Define.
202 (Val_GNU_MIPS_ABI_FP_OLD_64): Rename from Val_GNU_MIPS_ABI_FP_64.
203 (Val_GNU_MIPS_ABI_FP_64): Redefine.
204 (Val_GNU_MIPS_ABI_FP_XX): Define.
205 (Elf_External_ABIFlags_v0, Elf_Internal_ABIFlags_v0): New structures.
206 (AFL_REG_NONE, AFL_REG_32, AFL_REG_64, AFL_REG_128): Define.
207 (AFL_ASE_DSP, AFL_ASE_DSPR2, AFL_ASE_EVA, AFL_ASE_MCU): Likewise.
208 (AFL_ASE_MDMX, AFL_ASE_MIPS3D, AFL_ASE_MT, AFL_ASE_SMARTMIPS): Likewise.
209 (AFL_ASE_VIRT, AFL_ASE_MSA, AFL_ASE_MIPS16): Likewise.
210 (AFL_ASE_MICROMIPS, AFL_ASE_XPA): Likewise.
211 (AFL_EXT_XLR, AFL_EXT_OCTEON2, AFL_EXT_OCTEONP): Likewise.
212 (AFL_EXT_LOONGSON_3A, AFL_EXT_OCTEON, AFL_EXT_5900): Likewise.
213 (AFL_EXT_4650, AFL_EXT_4010, AFL_EXT_4100, AFL_EXT_3900): Likewise.
214 (AFL_EXT_10000, AFL_EXT_SB1, AFL_EXT_4111, AFL_EXT_4120): Likewise.
215 (AFL_EXT_5400, AFL_EXT_5500, AFL_EXT_LOONGSON_2E): Likewise.
216 (AFL_EXT_LOONGSON_2F): Likewise.
217 (bfd_mips_elf_swap_abiflags_v0_in): Prototype.
218 (bfd_mips_elf_swap_abiflags_v0_out): Likewise.
219 (bfd_mips_isa_ext): Likewise.
223 * bfdlink.h (struct bfd_link_hash_table): Add hash_table_free field.
227 * bfdlink.h: Update for bfd.link_next change.
232 * bfdlink.h (unwrap_hash_lookup): Declare.
236 * include/longlong.h: Import latest version from GCC tree.
240 * opcode/mips.h (ASE_XPA): New define.
244 * dis-asm.h: Remove openrisc and or32 support. Add support for or1k.
248 * elf/avr.h: Add new DIFF relocs.
252 Update copyright years.
256 * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS)
257 (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST)
258 (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS)
259 (NOARGS): Don't define.
260 * libiberty.h (expandargv, writeargv): Don't use PARAMS.
268 * demangle.h (enum gnu_v3_ctor_kinds):
269 Added literal gnu_v3_unified_ctor.
270 (enum gnu_v3_ctor_kinds):
271 Added literal gnu_v3_unified_dtor.
276 * dis-asm.h (print_insn_nds32): Add nds32 target.
280 * longlong.h: New file.
284 * opcode/mips.h (INSN_LOAD_MEMORY_DELAY): Rename to...
285 (INSN_LOAD_MEMORY): ...this.
289 PR tree-optimization/58689
290 * ansidecl.h (ATTRIBUTE_RETURNS_NONNULL): New macro.
291 * libiberty.h (basename, lbasename, dos_lbasename, unix_lbasename,
292 concat_copy): Mark with attributes nonnull(1) and returns_nonnull.
293 (concat, reconcat, concat_copy2, choose_temp_base, xstrerror,
294 xmalloc, xrealloc, xcalloc, xstrdup, xstrndup, xmemdup, pex_init):
295 Mark with attribute returns_nonnull.
299 * gdb/gdb-index.h: Merge from gdb tree.
303 * xgate.h : Cleanup after opcode
308 * floatformat.h (floatformat_ibm_long_double): Delete.
309 (floatformat_ibm_long_double_big): Declare.
310 (floatformat_ibm_long_double_little): Declare.
314 * dwarf2.def (DW_AT_GNU_discriminator): New attribute.
318 * vtv-change-permission.h: New file.
323 * opcode/sparc.h (sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_LEON.
327 * opcode/mips.h (mips_opcode): Add ase field.
328 (INSN_ASE_MASK): Delete.
329 (INSN_DSP): Rename to ASE_DSP. Provide new value.
330 (INSN_DSPR2): Rename to ASE_DSPR2. Provide new value.
331 (INSN_MCU): Rename to ASE_MCU. Provide new value.
332 (INSN_MDMX): Rename to ASE_MDMX. Provide new value.
333 (INSN_MIPS3d): Rename to ASE_MIPS3D. Provide new value.
334 (INSN_MT): Rename to ASE_MT. Provide new value.
335 (INSN_SMARTMIPS): Rename to ASE_SMARTMIPS. Provide new value.
336 (INSN_VIRT): Rename to ASE_VIRT. Provide new value.
337 (INSN_VIRT64): Rename to ASE_VIRT64. Provide new value.
338 (opcode_is_member): Add ase argument. Check ase.
343 * mips.h (R_MIPS_PC32): Update comment.
347 Demangle C++11 ref-qualifier.
348 * demangle.h (enum demangle_component_type): Add
349 DEMANGLE_COMPONENT_REFERENCE_THIS,
350 DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
354 * opcode/nios2.h: Edit comment.
358 * opcode/nios2.h (OPX_WRPRS): New define.
359 (OP_MATCH_WRPRS): Likewise.
363 * opcode/nios2.h (OP_RDPRS): New define.
364 (OP_MATCH_RDPRS): Likewise.
368 * dwarf2.h (enum dwarf_sect): New enum type.
372 * bfdlink.h (struct bfd_link_info): Delete emit_note_gnu_build_id.
376 * plugin-api.h (enum ld_plugin_level): Assign integers
377 explicitly for all values.
382 Based on patches from Altera Corporation.
384 * dis-asm.h (print_insn_big_nios2): Declare.
385 (print_insn_little_nios2): Declare.
391 * md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if
392 stdint.h and sys/types.h headers are present.
393 * sha1.h (sha1_uintptr, sha1_uint32): Likewise.
397 * dis-asm.h (print_insn_metag): New declaration.
402 * ansidecl.h (ATTRIBUTE_UNUSED): Do not set __attribute__ for GCC
407 * MAINTAINERS: Add copyright notice.
408 * alloca-conf.h: Likewise.
409 * fopen-bin.h: Likewise.
410 * fopen-same.h: Likewise.
411 * fopen-vms.h: Likewise.
412 * aout/hppa.h: Likewise.
413 * opcode/tahoe.h: Likewise.
417 * elf/microblaze.h: Add TLS relocs to START_RELOC_NUMBERS
421 * demangle.h (enum demangle_component_type): Add
422 DEMANGLE_COMPONENT_TAGGED_NAME.
427 * dwarf2.h (dwarf_location_list_entry_type): New enum with fields
428 DW_LLE_GNU_end_of_list_entry, DW_LLE_GNU_base_address_selection_entry,
429 DW_LLE_GNU_start_end_entry and DW_LLE_GNU_start_length_entry.
434 * dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)
435 (DW_AT_APPLE_isa, DW_AT_APPLE_block)
436 (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class)
437 (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name)
438 (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter)
439 (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type)
440 (DW_AT_APPLE_property, DW_OP_GNU_entry_value): New macros.
444 * bfdlink.h (bfd_link_info): Add
445 disable_target_specific_optimizations.
449 * bfdlink.h (struct bfd_link_info): Add stacksize option.
454 * bfdlink.h (bfd_link_info): Add ignore_hash.
458 * demangle.h (enum demangle_component_type): Add
459 DEMANGLE_COMPONENT_TLS_INIT and DEMANGLE_COMPONENT_TLS_WRAPPER.
464 * objalloc.h (objalloc_alloc): Do not use fast path on wraparound.
468 * opcode/moxie.h (MOXIE_BAD): New define.
472 * elf/aarch64.h (R_AARCH64_GOT_LD_PREL19): New reloc.
476 * dwarf2.def: Edit comment.
480 * plugin-api.h (ld_plugin_allow_unique_segment_for_sections):
482 (ld_plugin_unique_segment_for_sections): New interface.
483 (LDPT_ALLOW_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
484 (LDPT_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
485 (tv_allow_unique_segment_for_sections): New member.
486 (tv_unique_segment_for_sections): New member.
490 * opcode/arm.h (ARM_CPU_IS_ANY): New define.
494 * elf/arm.h (TAG_CPU_ARCH_V8): New define.
495 (MAX_TAG_CPU_ARCH): Update.
496 * opcode/arm.h (ARM_EXT_V8): New define.
497 (FPU_VFP_EXT_ARMV8): Likewise.
498 (FPU_NEON_EXT_ARMV8): Likewise.
499 (FPU_CRYPTO_EXT_ARMV8): Likewise.
500 (ARM_AEXT_V8A): Likewise.
501 (FPU_VFP_ARMV8): Likwise.
502 (FPU_NEON_ARMV8): Likewise.
503 (FPU_CRYPTO_ARMV8): Likewise.
504 (FPU_ARCH_VFP_ARMV8): Likewise.
505 (FPU_ARCH_NEON_VFP_ARMV8): Likewise.
506 (FPU_ARCH_CRYPTO_NEON_VFP_ARMV8): Likewise.
507 (ARM_ARCH_V8A): Likwise.
508 (ARM_ARCH_V8A_FP): Likewise.
509 (ARM_ARCH_V8A_SIMD): Likewise.
510 (ARM_ARCH_V8A_CRYPTO): Likewise.
523 * dis-asm.h (print_insn_aarch64): New declaration.
524 (print_aarch64_disassembler_options): New declaration.
525 (aarch64_symbol_is_valid): New declaration.
529 * elf/m68hc11.h: #define E_M68HC11_NO_BANK_WARNING 0x000000200
535 * dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2.
539 * filenames.h: #include "hashtab.h".
540 (filename_hash, filename_eq): Declare.
544 * elf/s390.h (START_RELOC_NUMBERS): Define R_390_IRELATIVE reloc.
548 * opcode/xgate.h: Changed the format string for mode
553 * dwarf2.def (DW_OP): Add DW_OP_GNU_const_index.
557 * plugin-api.h (ld_plugin_output_file_type): Add LDPO_PIE.
561 * dwarf2.def (DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt): New
563 * dwarf2.h (enum dwarf_macro_record_type): Add
564 DW_MACRO_GNU_define_indirect_alt, DW_MACRO_GNU_undef_indirect_alt
565 and DW_MACRO_GNU_transparent_include_alt.
569 * leb128.h: #include stdint.h, inttypes.h.
570 (read_uleb128_to_uint64): Renamed from read_uleb128_to_ull.
571 Change to take a uint64_t * argument instead of unsigned long long.
572 (read_sleb128_to_uint64): Renamed from read_sleb128_to_ll.
573 Change to take an int64_t * argument instead of long long.
577 * leb128.h: New file.
581 * dwarf2.def: Update comment re: UPC extensions to reference
582 DWARF4 specification.
586 * dis-asm.h (print_insn_m9s12x): Prototype.
587 (print_insn_m9s12xg): Prototype.
591 * dis-asm.h (print_insn_xgate): Define.
592 (print_insn_xgate): Ditto.
593 Added new files for XGATE port.
597 * dwarf2.def: Remove DW_FORM_GNU_ref_index,
598 replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base.
602 * dwarf2.def (DW_OP): Add DW_OP_GNU_addr_index.
606 * dwarf2.h: Wrap function declarations in extern "C".
610 * dwarf2.h (enum dwarf_tag, enum dwarf_form, enum dwarf_attribute)
611 (enum dwarf_location_atom, enum dwarf_type, enum
612 dwarf_call_frame_info): Remove.
613 (DW_TAG, DW_TAG_DUP, DW_FORM, DW_AT, DW_AT_DUP, DW_OP)
614 (DW_OP_DUP, DW_ATE, DW_ATE_DUP, DW_CFA): New macros.
616 (get_DW_TAG_name, get_DW_AT_name, get_DW_FORM_name)
617 (get_DW_OP_name, get_DW_ATE_name): Declare.
618 * dwarf2.def: New file, from dwarf2.h.
622 * elf/sparc.h (R_SPARC_WDISP10): New reloc.
623 * opcode/sparc.h: Define '=' as generating R_SPARC_WDISP10.
627 * splay-tree.h: Conditionnaly includes stdint.h and inttypes.h
628 (libi_uhostptr_t, libi_shostptr_t): Remove, replaced by uintptr_t.
632 * bfdlink.h (struct bfd_link_info): Add new member user_phdrs.
636 * dis-asm.h (disassemble_init_powerpc): Declare.
640 Add DWARF attribute value for the "Borland fastcall" calling
642 * elf/dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.
647 * bfdlink.h (bfd_link_order): Update comments on data size.
651 * dwarf2.h (enum dwarf_form): Add Fission extensions.
652 (enum dwarf_attribute): Likewise.
660 * demangle.h (enum demangle_component_type): Add
661 DEMANGLE_COMPONENT_INITIALIZER_LIST, DEMANGLE_COMPONENT_NULLARY.
665 * mach-o/loader.h (bfd_mach_o_section_type): define
666 BFD_MACH_O_S_ATTR_NONE to 0.
670 Merged from transactional-memory.
672 * demangle.h (enum gnu_v3_ctor_kinds): Add gnu_v3_object_ctor_group.
673 (enum gnu_v3_dtor_kinds): Add gnu_v3_object_dtor_group.
674 (DEMANGLE_COMPONENT_TRANSACTION_CLONE): New.
675 (DEMANGLE_COMPONENT_NONTRANSACTION_CLONE): New.
679 * dis-asm.h (print_insn_rl78): Declare.
683 * dis-asm.h (print_insn_epiphany): Declare.
687 * obstack.h [!GNUC] (obstack_free): Avoid cast to int.
691 * ansidecl.h (ENUM_BITFIELD): Always use enum in C++
696 * bfdlink.h (struct bfd_link_info): Add error_textrel.
700 * timeval-utils.h: New file.
702 * libiberty.h (countargv): Declare.
707 * plugin-api.h (enum ld_plugin_symbol_resolution): Add
708 LDPR_PREVAILING_DEF_IRONLY_EXP.
709 (enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V2.
714 * demangle.h (enum demangle_component_type): Add
715 DEMANGLE_COMPONENT_CLONE.
720 * bfdlink.h (bfd_link_info): Add version_info.
724 * xregex.h (regoff_t): Define.
728 * dwarf2.h (DW_AT_GNU_macros): New.
729 (enum dwarf_macro_record_type): New enum. Add DW_MACRO_GNU_*.
732 * libiberty.h (stack_limit_increase): New prototype.
737 (ld_plugin_section): New struct.
738 (ld_plugin_get_section_count): New typedef.
739 (ld_plugin_get_section_type): New typedef.
740 (ld_plugin_get_section_name): New typedef.
741 (ld_plugin_get_section_contents): New typedef.
742 (ld_plugin_update_section_order): New typedef.
743 (ld_plugin_allow_section_ordering): New typedef.
744 (LDPT_GET_SECTION_COUNT): New enum value.
745 (LDPT_GET_SECTION_TYPE): New enum value.
746 (LDPT_GET_SECTION_NAME): New enum value.
747 (LDPT_GET_SECTION_CONTENTS): New enum value.
748 (LDPT_UPDATE_SECTION_ORDER): New enum value.
749 (LDPT_ALLOW_SECTION_ORDERING): New enum value.
750 (tv_get_section_count): New struct members.
751 (tv_get_section_type): New struct members.
752 (tv_get_section_name): New struct members.
753 (tv_get_section_contents): New struct members.
754 (tv_update_section_order): New struct members.
755 (tv_allow_section_ordering): New struct members.
759 * bfdlink.h (struct bfd_link_info): Use ENUM_BITFIELD for strip,
760 discard, common_skip_ar_symbols, unresolved_syms_in_objects, and
761 unresolved_syms_in_shared_libs fields. Move emit_note_gnu_build_id
762 out of bitfields. Reorder bitfields.
766 * plugin-api.h (ld_plugin_section): New struct.
767 (ld_plugin_get_section_count): New typedef.
768 (ld_plugin_get_section_type): New typedef.
769 (ld_plugin_get_section_name): New typedef.
770 (ld_plugin_get_section_contents): New typedef.
771 (ld_plugin_update_section_order): New typedef.
772 (ld_plugin_allow_section_ordering): New typedef.
773 (LDPT_GET_SECTION_COUNT): New enum value.
774 (LDPT_GET_SECTION_TYPE): New enum value.
775 (LDPT_GET_SECTION_NAME): New enum value.
776 (LDPT_GET_SECTION_CONTENTS): New enum value.
777 (LDPT_UPDATE_SECTION_ORDER): New enum value.
778 (LDPT_ALLOW_SECTION_ORDERING): New enum value.
779 (tv_get_section_count): New struct members.
780 (tv_get_section_type): New struct members.
781 (tv_get_section_name): New struct members.
782 (tv_get_section_contents): New struct members.
783 (tv_update_section_order): New struct members.
784 (tv_allow_section_ordering): New struct members.
788 * bfdlink.h (flag_type): New enumeration.
789 (flag_info_list): New structure.
790 (flag_info): New structure.
795 * bfdlink.h (bfd_link_info): Add loading_lto_outputs.
799 * filenames.h (HAVE_CASE_INSENSITIVE_FILE_SYSTEM): Define
800 on Darwin, as well as on the systems that use a DOS-like
806 * dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
810 * dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
815 * bfdlink.h (struct bfd_link_info): Add no_ld_generated_unwind_info
820 * demangle.h (DMGL_RET_POSTFIX): Extend the comment.
821 (DMGL_RET_DROP): New.
825 * dis-asm.h (print_insn_tilegx): Declare.
826 (print_insn_tilepro): Likewise.
831 * bfdlink.h (struct bfd_link_callbacks <notice>): Add "flags" and
836 * bfdlink.h (struct bfd_link_hash_entry): Remove u.undef.weak field.
840 * dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
841 DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.
845 * bfdlink.h (ENUM_BITFIELD): Remove.
849 * ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
855 * bfdlink.h (ENUM_BITFIELD): Define.
856 (struct bfd_link_hash_entry): Make "type" a bitfield. Add "non_ir_ref".
857 (struct bfd_link_callbacks <notice>): Pass bfd_link_hash_entry pointer
863 * bfdlink.h (struct bfd_link_callbacks): Modify multiple_definition
864 and multiple_common parameters to pass in a bfd_link_hash_entry
865 pointer rather than name,bfd etc. found in the hash entry.
869 * dwarf2.h (dwarf_line_number_hp_sfc_ops): New enum.
873 * dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.
877 * plugin-api.h (ld_plugin_get_view): New.
878 (ld_plugin_tag): Add LDPT_GET_VIEW.
879 (ld_plugin_tv): Add tv_get_view.
883 * dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,
884 DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value,
885 DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered,
886 DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites,
887 DW_AT_GNU_all_call_sites,, DW_AT_GNU_all_source_call_sites,
888 DW_OP_GNU_entry_value): New.
892 * filenames.h (filename_ncmp): New prototype.
896 * dwarf2.h (_ELF_DWARF2_H): Renamed to
898 (DWARF2_External_LineInfo, DWARF2_Internal_LineInfo,
899 DWARF2_External_PubNames, DWARF2_Internal_PubNames,
900 DWARF2_External_CompUnit, DWARF2_Internal_CompUnit,
901 DWARF2_External_ARange, DWARF2_Internal_ARange): Removed.
905 * dwarf2.h (enum dwarf_calling_convention): Add DW_CC_GDB_IBM_OpenCL.
909 * dwarf2.h: Update value for DW_AT_hi_user.
913 * simple-object.h (simple_object_attributes_merge): Declare,
914 replacing simple_object_attributes_compare.
918 * dwarf2.h (enum dwarf_source_language): Add DW_LANG_Go.
922 * simple-object.h: New file.
926 Sync LD plugin patch series (part 1/6) with src/include/.
927 * plugin-api.h (LDPT_GNU_LD_VERSION): New ld_plugin_tag enum member.
931 Apply LD plugin patch series (part 6/6).
932 * bfdlink.h (struct_bfd_link_callbacks): Document new argument
933 to add_archive_element callback used to return a replacement bfd which
934 is to be added to the hash table in place of the original element.
938 Apply LD plugin patch series (part 1/6).
939 * plugin-api.h (LDPT_GNU_LD_VERSION): New ld_plugin_tag enum member.
943 * libiberty.h (setproctitle): Add prototype.
947 * opcode/tic6x-control-registers.h (tscl): Now read_write.
951 * opcode/s390.h: Add S390_OPCODE_Z196 to enum s390_opcode_cpu_val.
955 * arm.h (ARM_EXT_V6Z): Remove.
956 (ARM_EXT_SEC): New define.
957 (ARM_AEXT_V6Z): Use Security Extensions.
958 (ARM_AEXT_V6ZK): Likeiwse.
959 (ARM_AEXT_V6ZT2): Likewise.
960 (ARM_AEXT_V6ZKT2): Likewise.
961 (ARM_AEXT_V7_ARM): Base v7 does not have Security Extensions.
962 (ARM_ARCH_V7A_SEC): New define.
963 (ARM_ARCH_V7A_MP): Rename...
964 (ARM_ARCH_V7A_MP_SEC): ...to this and add Security Extensions.
968 * dwarf2.h (DW_OP_GNU_implicit_pointer): New.
972 * floatformat.h (floatformat_ieee_half_big): Add declaration.
973 (floatformat_ieee_half_little): Likewise.
977 * dis-asm.h: Remove references to maxq.
981 * plugin-api.h (ld_plugin_set_extra_library_path): New.
982 (ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH.
983 (ld_plugin_tv): Add tv_set_extra_library_path.
987 * dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
991 * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
996 * splay-tree.h: Update copyright years.
997 (splay_tree_s): Document fields.
998 (splay_tree_new_typed_alloc): New.
1000 * hashtab.h: Update copyright years.
1001 (htab_create_typed_alloc): New.
1005 * dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and
1006 DW_TAG_HP_Bliss_field_set.
1007 (enum dwarf_attribute): Add DW_AT_HP_prologue, DW_AT_HP_epilogue,
1008 DW_AT_HP_unit_name, DW_AT_HP_unit_size, DW_AT_HP_widened_byte_size,
1009 DW_AT_HP_definition_points, DW_AT_HP_default_location and
1010 DW_AT_HP_is_result_param.
1011 (enum dwarf_type): Add DW_ATE_HP_VAX_float, DW_ATE_HP_VAX_float_d,
1012 DW_ATE_HP_packed_decimal, DW_ATE_HP_zoned_decimal, DW_ATE_HP_edited,
1013 DW_ATE_HP_signed_fixed, DW_ATE_HP_unsigned_fixed,
1014 DW_ATE_HP_VAX_complex_float and DW_ATE_HP_VAX_complex_float_d.
1015 (enum dwarf_line_number_x_ops): Add
1016 DW_LNE_HP_source_file_correlation.
1017 (enum dwarf_source_language): Add DW_LANG_HP_Bliss,
1018 DW_LANG_HP_Basic91, DW_LANG_HP_Pascal91, DW_LANG_HP_IMacro,
1019 DW_LANG_HP_Assembler.
1023 * plugin-api.h (ld_plugin_tag): Add LDPT_OUTPUT_NAME.
1027 * filenames.h (PATH_SEPARATOR): Delete.
1031 * filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
1032 always define it independently of host, add `dos_based' parameter,
1034 (PATH_SEPARATOR): Define.
1035 (HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
1036 independently of host, add `dos_based' parameter, and handle it.
1037 (IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
1038 it independently of host, add `dos_based' parameter, and handle
1040 (IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
1041 (IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
1042 (HAS_DOS_DRIVE_SPEC): New.
1043 (HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
1044 (IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
1045 (IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
1046 * libiberty.h (dos_lbasename, unix_lbasename): Declare.
1050 * ansidecl.h: Add extern "C" when compiling with C++. Treat C++
1051 the way we treat an ISO C compiler. Don't define inline as a
1052 macro when compiling with C++.
1053 * dyn-string.h: Add header guard DYN_STRING_H. Add extern "C"
1054 when compiling with C++.
1055 * fibheap.h: Add extern "C" when compiling with C++.
1059 * filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
1060 always define it independently of host, add `dos_based' parameter,
1062 (HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
1063 independently of host, add `dos_based' parameter, and handle it.
1064 (IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
1065 it independently of host, add `dos_based' parameter, and handle
1067 (IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
1068 (IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
1069 (HAS_DOS_DRIVE_SPEC): New.
1070 (HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
1071 (IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
1072 (IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
1073 * libiberty.h (dos_lbasename, unix_lbasename): Declare.
1077 * sha1.h: Update copyright notice to use GPLv3.
1081 * bout.h: Update copyright notice to use GPLv3.
1082 * hp-symtab.h: Likewise.
1083 * oasys.h: Likewise.
1084 * progress.h: Likewise.
1086 * xtensa-isa-internal.h: Likewise.
1087 * xtensa-isa.h: Likewise.
1091 * filenames.h (HAS_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.
1095 * dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn
1100 * dis-asm.h (print_insn_tic6x): Declare.
1104 * symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define.
1108 Add new DW_AT_use_GNAT_descriptive_type CU attribute.
1109 * dwarf2.h (dwarf_attribute): Add DW_AT_use_GNAT_descriptive_type.
1113 * demangle.h (ada_demangle): Add prototype.
1118 * ansidecl.h: Fix inline test for C99 and Sun Studio cc.
1122 * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
1126 * bfdlink.h (struct bfd_link_callbacks): Rename function parameters
1127 to avoid shadowed variable warnings.
1128 * dis-asm.h (struct disassemble_info): Ditto.
1129 (disassemble_init_for_target): Ditto.
1130 (init_disassemble_info): Ditto.
1134 * alloca-conf.h: Clarify comment.
1138 Add DWARF attribute value for the "Borland fastcall" calling
1140 * dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.
1144 * splay-tree.h (libi_uhostptr_t): Add gcc specific
1145 __extension__ for long long type case to silent cX9.
1146 (libi_shostptr_t): Likewise.
1151 * plugin-api.h: Don't include stdint.h unconditionally.
1155 * include/dwarf2.h (DW_LANG_Python): Add comment that it is
1160 * bfdlink.h (enum bfd_link_common_skip_ar_symbols): Rename from
1161 bfd_link_common_skip_ar_aymbols.
1162 (struct bfd_link_info): Here too.
1166 * plugin-api.h (ld_plugin_add_input_library): Change argument name to
1171 * plugin-api.h: New.
1172 * lto-symtab.h: New.
1176 * plugin-api.h (ld_plugin_status): Add LDPS_BAD_HANDLE.
1177 (ld_plugin_get_input_file): New.
1178 (ld_plugin_release_input_file): New.
1179 (ld_plugin_add_input_library): New.
1180 (ld_plugin_message): Mark format const.
1181 (ld_plugin_level): Add LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE and
1182 LDPT_ADD_INPUT_LIBRARY.
1183 (ld_plugin_tv): Add tv_get_input_file, tv_release_input_file and
1184 tv_add_input_library.
1188 * plugin-api.h: Fix compile.
1192 * demangle.h (enum demangle_component_type): Add
1193 DEMANGLE_COMPONENT_LAMBDA, DEMANGLE_COMPONENT_DEFAULT_ARG,
1194 DEMANGLE_COMPONENT_UNNAMED_TYPE.
1195 (struct demangle_component): Add s_unary_num.
1199 * dis-asm.h: Add prototype for print_insn_rx.
1203 * dwarf2.h (enum dwarf_tag): Rename DW_TAG_template_parameter_pack and
1204 DW_TAG_formal_parameter_pack into DW_TAG_GNU_template_parameter_pack
1205 and DW_TAG_formal_parameter_pack until DWARF 5 is out.
1209 Add rest of new values from DWARF Version 4.
1210 * dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
1212 (DW_FORM_ref_sig8): New name for DW_FORM_sig8.
1213 (DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
1214 DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
1215 DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
1216 DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
1217 DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
1219 (DW_LANG_Python): New language.
1223 * dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
1225 (DW_FORM_ref_sig8): New name for DW_FORM_sig8.
1226 (DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
1227 DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
1228 DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
1229 DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
1230 DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
1232 (DW_LANG_Python): New language.
1236 * dwarf2.h (enum dwarf_tag): Add
1237 DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack.
1241 * bfdlink.h (struct bfd_link_hash_common_entry): Move to top
1246 * opcode/bfin.h (PseudoDbg_Assert): Add bits_grp and mask_grp.
1247 (PseudoDbg_Assert_grp_bits, PseudoDbg_Assert_grp_mask): Define.
1248 (PseudoDbg_Assert_dbgop_bits, PseudoDbg_Assert_dbgop_mask,
1249 PseudoDbg_Assert_dontcare_bits, PseudoDbg_Assert_dontcare_mask):
1251 (init_PseudoDbg_Assert): Add PseudoDbg_Assert_grp_bits and
1252 PseudoDbg_Assert_grp_mask.
1256 * dis-asm.h: Decl print_insn_microblaze().
1260 * libiberty.h (crc32): Declare.
1265 Add some dwarf4 values.
1266 * dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit.
1267 (enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc,
1268 DW_FORM_flag_present, DW_FORM_sig8.
1269 (enum dwarf_attribute): Add DW_AT_signature.
1274 (enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
1275 (enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS>):
1280 * dwarf2.h: New file, moved from elf/.
1284 * dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_value
1285 and DW_OP_stack_value.
1289 * elf/dwarf2.h: Remove, renaming to...
1290 * dwarf2.h: ... this.
1294 * elf/dwarf2.h: New file. Merged with gdb.
1298 * dis-asm.h (USER_SPECIFIED_MACHINE_TYPE): New value for the flags
1299 field of struct disassemble_info.
1303 * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define for C++.
1307 * dis-asm.h (DISASSEMBLE_DATA): New value for the flags field of
1308 struct disassemble_info.
1312 * ansidecl.h (EXPORTED_CONST): Define.
1316 * ansidecl.h: Add extern "C" when compiling with C++. Treat C++
1317 the way we treat an ISO C compiler. Don't define inline as a
1318 macdro when compiling with C++.
1319 * dyn-string.h: Add header guard DYN_STRING_H. Add extern "C"
1320 when compiling with C++.
1321 * fibheap.h: Add extern "C" when compiling with C++.
1325 * fopen-vms.h (FOPEN_RB, FOPEN_WB, FOPEN_AB, FOPEN_RUB, FOPEN_WUB,
1326 FOPEN_AUB): Use "rfm=udf,rat=none" attribute.
1330 * hashtab.h: Update GTY annotations to new syntax.
1331 * splay-tree.h: Likewise.
1335 * bfdlink.h (bfd_link_info): Add warn_alternate_em.
1339 * alloca-conf.h: Revise based on autoconf-2.61, autoconf-2.13
1344 * demangle.h (enum demangle_component_type): Add
1345 DEMANGLE_COMPONENT_FUNCTION_PARAM.
1349 * plugin-api.h (LDPS_BAD_HANDLE): New constant.
1350 (ld_plugin_get_input_file): New typedef.
1351 (ld_plugin_release_input_file): New typedef.
1352 (LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE): New constants.
1353 (struct ld_plugin_tv): Add two new fields.
1357 * dis-asm.h: Add LM32 disassembler function prototype.
1361 * demangle.h (enum demangle_component_type): Add
1362 DEMANGLE_COMPONENT_FIXED_TYPE.
1366 * plugin-api.h (ld_plugin_message): Change format parameter to const.
1370 * plugin-api.h: Fix syntax error when compiling with C++.
1375 * bfdlink.h (struct bfd_elf_version_expr): Delete "symbol".
1380 * xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag.
1381 * xtensa-isa.h (xtensa_state_is_shared_or): New prototype.
1385 * xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32)
1386 (XCHAL_HAVE_MINMAX, XCHAL_HAVE_SEXT, XCHAL_HAVE_THREADPTR)
1387 (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): Change to 1.
1388 (XCHAL_NUM_AREGS): Change to 32.
1389 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE): Change to 16K.
1390 (XCHAL_ICACHE_LINESIZE, XCHAL_DCACHE_LINESIZE): Change to 32.
1391 (XCHAL_ICACHE_LINEWIDTH, XCHAL_DCACHE_LINEWIDTH): Change to 5.
1392 (XCHAL_DCACHE_IS_WRITEBACK): Change to 1.
1393 (XCHAL_DEBUGLEVEL): Change to 6.
1397 * fopen-vms.h (FOPEN_RB): Use a single string to match the
1407 * obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.
1411 * demangle.h (enum demangle_component_type): Add
1412 DEMANGLE_COMPONENT_PACK_EXPANSION.
1416 * elf/dwarf2.h (DW_OP_GNU_encoded_addr): New.
1420 * plugin-api.h (ld_plugin_status): Remove comma from the last item.
1421 Use C style comment.
1422 (ld_plugin_api_version, ld_plugin_output_file_type,
1423 ld_plugin_symbol_kind, ld_plugin_symbol_visibility,
1424 ld_plugin_symbol_resolution, ld_plugin_level, ld_plugin_tag): Remove
1425 comma from the last item.
1429 Add plugin functionality for link-time optimization (LTO).
1430 * plugin-api.h: New file.
1434 * demangle.h (enum demangle_component_type): Add
1435 DEMANGLE_COMPONENT_DECLTYPE.
1439 * binary-io.h: New file, imported from gnulib, but don't
1440 #include <fcntl.h> or <stdio.h>.
1444 * bfdlink.h (bfd_generic_link_read_symbols): Declare.
1448 * elf/avr.h (E_AVR_MACH_AVR25, E_AVR_MACH_AVR31,
1449 E_AVR_MACH_AVR35, E_AVR_MACH_AVR51): Define.
1450 (EF_AVR_MACH): Redefine to 0x7F.
1451 * opcode/avr.h (AVR_ISA_TINY3, AVR_ISA_ALL, AVR_ISA_USB162): Remove.
1452 (AVR_ISA_AVR3): Redefine.
1453 (AVR_ISA_AVR1, AVR_ISA_AVR2, AVR_ISA_AVR31, AVR_ISA_AVR35,
1454 AVR_ISA_AVR3_ALL, AVR_ISA_AVR4, AVR_ISA_AVR5, AVR_ISA_AVR51,
1455 AVR_ISA_AVR6): Define.
1461 * bfdlink.h (struct bfd_link_info): Add sep_code member
1463 * elf/bfin.h (EF_BFIN_CODE_IN_L1): Define.
1464 (EF_BFIN_DATA_IN_L1): Define.
1468 * bfdlink.h (struct bfd_link_info): Add sep_code member
1470 * elf/bfin.h (EF_BFIN_CODE_IN_L1): Define.
1471 (EF_BFIN_DATA_IN_L1): Define.
1475 * dis-asm.h (struct disassemble_info): Add endian_code field.
1479 * safe-ctype.h: Add #include of ctype.h before redefining
1484 * safe-ctype.h: Remove #error when detecting that ctype.h has been
1485 included. Redefine the various macros provided by ctype.h as
1486 undefined variables.
1490 * libiberty.h (XALLOCA, XDUP, XALLOCAVEC, XDUPVEC, XALLOCAVAR,
1491 XDUPVAR, XOBNEWVEC, XOBNEWVAR): New.
1495 * bfdlink.h (struct bfd_link_info): Add "path_separator".
1499 * dis-asm.h (print_s390_disassembler_options):
1504 * sha1.h: New file, from gnulib.
1506 * md5.h: Add extern "C" when compiled with C++.
1510 * md5.h: Add extern "C" when compiled with C++.
1514 * filenames.h: Add extern "C" when compiled with C++.
1518 * bfdlink.h (struct bfd_link_hash_table): Delete creator field.
1519 (struct bfd_link_info): Add output_bfd.
1523 * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
1524 (XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
1528 * demangle.h (demangle_component_type): Add
1529 DEMANGLE_COMPONENT_JAVA_RESOURCE,
1530 DEMANGLE_COMPONENT_COMPOUND_NAME, and
1531 DEMANGLE_COMPONENT_CHARACTER as new enum values.
1532 (demangle_component): Add struct s_character to union u.
1537 * floatformat.h (struct floatformat): Add split_half field.
1538 (floatformat_ibm_long_double): New.
1542 * libiberty.h (pex_free): Document process killing.
1546 * demangle.h (enum demangle_component_type): Add
1547 DEMANGLE_COMPONENT_RVALUE_REFERENCE.
1551 * ternary.h: Remove.
1555 * xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
1556 (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.
1560 * COPYING3: New file. Contains version 3 of the GNU General
1565 * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
1566 work-a-round whitespace problem in gcc gengtype.
1568 * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): New types,
1569 needed for WIN64 when a long is not wide enough for a pointer.
1570 (splay_tree_key, splay_tree_value): Use the new types.
1574 * bfdlink.h (struct bfd_link_info): Add member emit_note_gnu_build_id.
1578 * bfdlink.h: Update copyright notice to refer to GPLv3.
1582 * dis-asm.h (print_insn_cr16): New prototype.
1587 * bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
1591 * libiberty.h (writeargv): Declare.
1595 * bfdlink.h (struct bfd_link_info): Add "info" and "minfo".
1599 * demangle.h: Change license to LGPL + exception.
1603 * bfdlink.h (struct bfd_link_info): Add relax_trip.
1607 * filenames.h (FILENAME_CMP): Adjust define to call filename_cmp
1608 regardless of the type of file system.
1612 * ansidecl.h (ATTRIBUTE_COLD, ATTRIBUTE_HOT): New.
1616 * bfdlink.h (struct bfd_link_callbacks): Add
1617 override_segment_assignment field.
1624 * bin-bugs.h: Remove.
1628 * libiberty.h (pex_write_input): Remove prototype.
1632 * Contribute the following changes:
1635 * dis-asm.h (print_insn_mep): Declare.
1639 * dis-asm.h (print_i386_disassembler_options): New.
1643 * libiberty.h (PEX_STDERR_TO_PIPE): New define.
1644 (PEX_BINARY_ERROR): New define.
1645 (pex_read_err): New function.
1649 * demangle.h: New cplus_demangle_print_callback,
1650 cplus_demangle_v3_callback, and java_demangle_v3_callback function
1651 prototypes, and demangle_callbackref type definition.
1656 * bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list.
1657 Add dynamic and dynamic_data.
1662 * ansidecl.h (ATTRIBUTE_PACKED): Define.
1668 * libiberty.h (make_relative_prefix_ignore_links): Declare.
1672 * xtensa-config.h (XSHAL_ABI): New.
1673 (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New.
1677 * xtensa-isa.h (STATIC_LIBISA): Delete.
1681 * dis-asm.h (disassemble_info): Add symtab, symtab_pos and
1687 * bfdlink.h (bfd_link_info): Add reduce_memory_overheads.
1695 * dis-asm.h (print_insn_spu): Declare.
1699 * dis-asm.h: Add prototypes for Score disassembler routines.
1703 * bfdlink.h (bfd_elf_dynamic_list): New.
1704 (bfd_link_info): Add a dynamic field.
1708 * bfdlink.h (struct bfd_link_info): New field: print_gc_sections.
1712 * bfdlink.h (struct bfd_link_info): Add emit_hash and
1713 emit_gnu_hash bitfields.
1717 * libiberty.h (pex_input_file, pex_input_pipe): New declarations.
1721 * bfdlink.h (bfd_link_info): Replace need_relax_finalize with
1728 * dis-asm.h (print_insn_xc16c): New prototype.
1732 * md5.h: Include ansidecl.h
1737 * dis-asm.h (struct disassemble_info): Add
1738 disassembler_needs_relocs.
1742 * xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
1746 * xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
1750 Second part of ms1 to mt renaming.
1751 * dis-asm.h (print_insn_mt): Renamed.
1756 * demangle.h : Add DMGL_RET_POSTFIX define to enable alternative
1757 output format for return types
1761 * bfdlink.h (struct bfd_link_order): Tweak comment.
1765 * floatformat.h (enum floatformat_byteorders): Add
1767 (floatformat_vax_aingle, floatformat_vax_double): Declare.
1771 Contribute the following changes:
1774 * dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
1775 more exotic underlying types to be used.
1779 disasm.h: Add declaration for print_insn_z80
1783 * dis-asm.h (print_insn_bfin): Declare.
1787 * libiberty.h (expandargv): New function.
1791 * bfdlink.h: Remove mention of a29k.
1792 * dis-asm.h: Remove a29k support.
1796 * floatformat.h (struct floatformat): Change type of large
1797 argument for is_valid member to `const void *'.
1798 (floatformat_to_double): Change type of second argument to `const
1800 (floatformat_from_double): Change type of last argument to `void
1802 (floatformat_is_valid): Change type of last argument to `const
1807 * dis-asm.h (print_insn_m32c): New declaration.
1811 * xregex2.h (regexec): Qualify this prototype with __extension__
1812 when compiling with GNU C.
1816 * dis-asm.h (fprintf_ftype): Add format attribute.
1821 * ansidecl.h (ATTRIBUTE_ALIGNED_ALIGNOF): New.
1822 * md5.h (md5_uintptr): New.
1823 (md5_ctx): Align buffer field.
1827 * hashtab.h (HTAB_DELETED_ENTRY): New macro.
1828 (HTAB_EMPTY_ENTRY): New macro.
1832 * libiberty.h (strverscmp): Prototype.
1836 * elf/external.h (GRP_ENTRY_SIZE): Define.
1840 * dis-asm.h (get_arm_regnames): Update prototype.
1846 * dis-asm.h: Externalize print_insn_ms1.
1850 * libiberty.h (XOBFINISH): New.
1854 * bfdlink.h (struct bfd_link_callbacks): Add einfo.
1858 * libiberty.h (vsnprintf): Add format attribute.
1862 * ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.
1866 * libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if
1868 (vsnprintf) [!HAVE_DECL_VSNPRINTF]: Declare if needed.
1872 * demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
1876 * libiberty.h (ACONCAT): Properly cast value of alloca().
1878 * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if
1883 libiberty.h: Do not define empty basename prototype.
1887 * Update the address and phone number of the FSF organization in
1888 the GPL notices in the following files:
1889 COPYING, ansidecl.h, bfdlink.h, bout.h, demangle.h, dis-asm.h,
1890 dyn-string.h, fibheap.h, filenames.h, floatformat.h,
1891 fnmatch.h, gdbm.h, getopt.h, hashtab.h, hp-symtab.h, ieee.h,
1892 libiberty.h, md5.h, oasys.h, objalloc.h, obstack.h, os9k.h,
1893 partition.h, progress.h, safe-ctype.h, sort.h, splay-tree.h,
1894 symcat.h, ternary.h, xregex2.h, xtensa-config.h,
1895 xtensa-isa-internal.h, xtensa-isa.h
1899 * libiberty.h (unlock_std_streams): New.
1903 * hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
1904 Don't use the PTR macro.
1906 * sort.h: Don't use the PARAMS macro.
1910 * libiberty.h (unlock_stream): New.
1914 * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
1915 Remove parameter names.
1919 * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
1920 Provide prototypes for new functions.
1924 * libiberty.h: Fix indentation.
1928 * libiberty.h: Include <stdio.h>.
1929 (PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
1930 (PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
1931 (PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
1932 (pex_init, pex_run, pex_read_output): Declare.
1933 (pex_get_status, pex_get_times, pex_free, pex_one): Declare.
1934 (struct pex_time): Define.
1938 * libiberty.h (ffs): Declare, if necessary.
1942 * ternary.h: Don't use PARAMS anymore.
1946 * md5.h: Remove definition and uses of __P.
1947 * dyn-string.h: Remove uses of PARAMS.
1948 * fibheap.h: Likewise.
1949 * floatformat.h: Likewise.
1950 * hashtab.h: Likewise.
1954 * demangle.h: Remove uses of PARAMS.
1956 * libiberty.h (ANSI_PROTOTYPES): Remove guard since
1957 ANSI_PROTOTYPES is always assumed.
1958 Remove uses of PARAMS throughout.
1962 * libiberty.h (xstrndup): Declare.
1966 * libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC.
1970 * xtensa-isa.h: Update a comment and whitespace.
1974 * bfdlink.h (bfd_link_info): Add gc_sections.
1978 * libiberty.h (gettimeofday): Declare.
1982 * libiberty.h: Declare unlink_if_ordinary.
1986 * xtensa-isa-internal.h (xtensa_length_decode_fn): Warning fix.
1987 * xtensa-isa.h (xtensa_insnbuf_to_chars): Likewise.
1988 (xtensa_insnbuf_from_chars, xtensa_isa_length_from_chars): Likewise.
1993 * ansidecl.h (PARAMS): Guard from redefinition.
1997 * bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak.
2001 * bfdlink.h (bfd_link_repair_undef_list): Declare.
2005 * dis-asm.h (struct disassemble_info): Add skip_zeroes and
2010 * fibheap.h (struct fibnode): Only use unsigned long bitfields
2011 when __GNUC__ is defined and ints are less than 32-bits wide.
2015 * bfdlink.h (bfd_link_info): Add default_imported_symver.
2019 * xtensa-isa-internal.h (xtensa_interface_internal): Add class_id.
2020 * xtensa-isa.h (xtensa_interface_class_id): New prototype.
2025 * dis-asm.h: Add prototype for print_insn_maxq_little.
2029 * bfdlink.h (struct bfd_link_info): Add create_default_symver.
2034 * bfdlink.h (bfd_link_callbacks): Add a pointer to struct
2035 bfd_link_hash_entry to reloc_overflow.
2039 * xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS,
2040 XCHAL_HAVE_PREDICTED_BRANCHES, XCHAL_INST_FETCH_WIDTH): New.
2041 (XCHAL_EXTRA_SA_SIZE, XCHAL_EXTRA_SA_ALIGN): Delete.
2043 * xtensa-isa-internal.h (ISA_INTERFACE_VERSION): Delete.
2044 (config_sturct struct): Delete.
2045 (XTENSA_OPERAND_IS_REGISTER, XTENSA_OPERAND_IS_PCRELATIVE,
2046 XTENSA_OPERAND_IS_INVISIBLE, XTENSA_OPERAND_IS_UNKNOWN,
2047 XTENSA_OPCODE_IS_BRANCH, XTENSA_OPCODE_IS_JUMP,
2048 XTENSA_OPCODE_IS_LOOP, XTENSA_OPCODE_IS_CALL,
2049 XTENSA_STATE_IS_EXPORTED, XTENSA_INTERFACE_HAS_SIDE_EFFECT): Define.
2050 (xtensa_format_encode_fn, xtensa_get_slot_fn, xtensa_set_slot_fn): New.
2051 (xtensa_insn_decode_fn): Rename to ...
2052 (xtensa_opcode_decode_fn): ... this.
2053 (xtensa_immed_decode_fn, xtensa_immed_encode_fn, xtensa_do_reloc_fn,
2054 xtensa_undo_reloc_fn): Update.
2055 (xtensa_encoding_template_fn): Delete.
2056 (xtensa_opcode_encode_fn, xtensa_format_decode_fn,
2057 xtensa_length_decode_fn): New.
2058 (xtensa_format_internal, xtensa_slot_internal): New types.
2059 (xtensa_operand_internal): Delete operand_kind, inout, isPCRelative,
2060 get_field, and set_field fields. Add name, field_id, regfile,
2061 num_regs, and flags fields.
2062 (xtensa_arg_internal): New type.
2063 (xtensa_iclass_internal): Change operands field to array of
2064 xtensa_arg_internal. Add num_stateOperands, stateOperands,
2065 num_interfaceOperands, and interfaceOperands fields.
2066 (xtensa_opcode_internal): Delete length, template, and iclass fields.
2067 Add iclass_id, flags, encode_fns, num_funcUnit_uses, and funcUnit_uses.
2068 (opname_lookup_entry): Delete.
2069 (xtensa_regfile_internal, xtensa_interface_internal,
2070 xtensa_funcUnit_internal, xtensa_state_internal,
2071 xtensa_sysreg_internal, xtensa_lookup_entry): New.
2072 (xtensa_isa_internal): Replace opcode_table field with opcodes field.
2073 Change type of opname_lookup_table. Delete num_modules,
2074 module_opcode_base, module_decode_fn, config, and has_density fields.
2075 Add num_formats, formats, format_decode_fn, length_decode_fn,
2076 num_slots, slots, num_fields, num_operands, operands, num_iclasses,
2077 iclasses, num_regfiles, regfiles, num_states, states,
2078 state_lookup_table, num_sysregs, sysregs, sysreg_lookup_table,
2079 max_sysreg_num, sysreg_table, num_interfaces, interfaces,
2080 interface_lookup_table, num_funcUnits, funcUnits and
2081 funcUnit_lookup_table fields.
2082 (xtensa_isa_module, xtensa_isa_modules): Delete.
2083 (xtensa_isa_name_compare): New prototype.
2084 (xtisa_errno, xtisa_error_msg): New.
2085 * xtensa-isa.h (XTENSA_ISA_VERSION): Define.
2086 (xtensa_isa): Change type.
2087 (xtensa_operand): Delete.
2088 (xtensa_format, xtensa_regfile, xtensa_state, xtensa_sysreg,
2089 xtensa_interface, xtensa_funcUnit, xtensa_isa_status,
2090 xtensa_funcUnit_use): New types.
2091 (libisa_module_specifier): Delete.
2092 (xtensa_isa_errno, xtensa_isa_error_msg): New prototypes.
2093 (xtensa_insnbuf_free, xtensa_insnbuf_to_chars,
2094 xtensa_insnbuf_from_chars): Update prototypes.
2095 (xtensa_load_isa, xtensa_extend_isa, xtensa_default_isa,
2096 xtensa_insn_maxlength, xtensa_num_opcodes, xtensa_decode_insn,
2097 xtensa_encode_insn, xtensa_insn_length,
2098 xtensa_insn_length_from_first_byte, xtensa_num_operands,
2099 xtensa_operand_kind, xtensa_encode_result,
2100 xtensa_operand_isPCRelative): Delete.
2101 (xtensa_isa_init, xtensa_operand_inout, xtensa_operand_get_field,
2102 xtensa_operand_set_field, xtensa_operand_encode,
2103 xtensa_operand_decode, xtensa_operand_do_reloc,
2104 xtensa_operand_undo_reloc): Update prototypes.
2105 (xtensa_isa_maxlength, xtensa_isa_length_from_chars,
2106 xtensa_isa_num_pipe_stages, xtensa_isa_num_formats,
2107 xtensa_isa_num_opcodes, xtensa_isa_num_regfiles, xtensa_isa_num_states,
2108 xtensa_isa_num_sysregs, xtensa_isa_num_interfaces,
2109 xtensa_isa_num_funcUnits, xtensa_format_name, xtensa_format_lookup,
2110 xtensa_format_decode, xtensa_format_encode, xtensa_format_length,
2111 xtensa_format_num_slots, xtensa_format_slot_nop_opcode,
2112 xtensa_format_get_slot, xtensa_format_set_slot, xtensa_opcode_decode,
2113 xtensa_opcode_encode, xtensa_opcode_is_branch, xtensa_opcode_is_jump,
2114 xtensa_opcode_is_loop, xtensa_opcode_is_call,
2115 xtensa_opcode_num_operands, xtensa_opcode_num_stateOperands,
2116 xtensa_opcode_num_interfaceOperands, xtensa_opcode_num_funcUnit_uses,
2117 xtensa_opcode_funcUnit_use, xtensa_operand_name,
2118 xtensa_operand_is_visible, xtensa_operand_is_register,
2119 xtensa_operand_regfile, xtensa_operand_num_regs,
2120 xtensa_operand_is_known_reg, xtensa_operand_is_PCrelative,
2121 xtensa_stateOperand_state, xtensa_stateOperand_inout,
2122 xtensa_interfaceOperand_interface, xtensa_regfile_lookup,
2123 xtensa_regfile_lookup_shortname, xtensa_regfile_name,
2124 xtensa_regfile_shortname, xtensa_regfile_view_parent,
2125 xtensa_regfile_num_bits, xtensa_regfile_num_entries,
2126 xtensa_state_lookup, xtensa_state_name, xtensa_state_num_bits,
2127 xtensa_state_is_exported, xtensa_sysreg_lookup,
2128 xtensa_sysreg_lookup_name, xtensa_sysreg_name, xtensa_sysreg_number,
2129 xtensa_sysreg_is_user, xtensa_interface_lookup, xtensa_interface_name,
2130 xtensa_interface_num_bits, xtensa_interface_inout,
2131 xtensa_interface_has_side_effect, xtensa_funcUnit_lookup,
2132 xtensa_funcUnit_name, xtensa_funcUnit_num_copies): New prototypes.
2135 * bfdlink.h (bfd_link_info): Add bitfield: warn_shared_textrel.
2139 * bfdlink.h (struct bfd_link_hash_entry): Move und_next into elements
2144 * libiberty.h (basename): Prototype for __MINGW32__.
2148 * ansidecl.h (ATTRIBUTE_SENTINEL): Define.
2149 * libiberty.h (concat, reconcat, concat_length, concat_copy,
2150 concat_copy2): Use ATTRIBUTE_SENTINEL.
2154 * bfdlink.h (struct bfd_link_callbacks): Remove "error_handler".
2155 (LD_DEFINITION_IN_DISCARDED_SECTION): Delete.
2159 * libiberty.h (XDELETE, XDELETEVEC, XRESIZEVEC): Remove any
2160 const-qualification before disposal.
2164 * ansidecl.h (ARG_UNUSED): New Macro.
2168 * bin-bugs.h (REPORT_BUGS_TO): Set to
2169 "<URL:http://www.sourceware.org/bugzilla/>".
2173 * ansidecl.h (ATTRIBUTE_PURE): New.
2177 * libiberty.h (XNEW, XCNEW, XNEWVEC, XCNEWVEC, XOBNEW): Move here from
2179 (XDELETE, XRESIZEVEC, XDELETEVEC, XNEWVAR, XCNEWVAR, XRESIZEVAR): New
2184 * libiberty.h (ASTRDUP): Add casts required for stricter
2185 type conversion rules of C++.
2186 * obstack.h (obstack_free): Likewise.
2190 * dis-asm.h (print_insn_crx): Declare.
2194 * bfdlink.h (struct bfd_link_order): Update comment.
2198 * bfdlink.h (struct bfd_link_info): Add relro, relro_start and
2203 * demangle.h: Do not use C++ reserved keyword typename as
2204 parameter for cplus_demangle_fill_builtin_type.
2208 * hashtab.h (struct htab): Add size_prime_index.
2212 * hashtab.h (htab_remove_elt_with_hash): Prototype new function.
2216 * hashtab.h, splay-tree.h: Use new shorter form of GTY markers.
2220 * mpw/: Remove subdirectory and everything in it.
2225 * bfdlink.h (struct bfd_link_info): Add wrap_char.
2229 * bfdlink.h (bfd_link_info): Correct comments for the
2230 unresolved_syms_in_objects field.
2234 * dyn-string.h: Update copyright date.
2238 * dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
2239 the associated #defines.
2243 * demangle.h: Instead of checking ANSI_PROTOTYPES, just include
2246 * demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
2248 * demangle.h (enum demangle_component_type): Define.
2249 (struct demangle_operator_info): Declare.
2250 (struct demangle_builtin_type_info): Declare.
2251 (struct demangle_component): Define.
2252 (cplus_demangle_fill_component): Declare.
2253 (cplus_demangle_fill_name): Declare.
2254 (cplus_demangle_fill_builtin_type): Declare.
2255 (cplus_demangle_fill_operator): Declare.
2256 (cplus_demangle_fill_extended_operator): Declare.
2257 (cplus_demangle_fill_ctor, cplus_demangle_fill_dtor): Declare.
2258 (cplus_demangle_v3_components): Declare.
2259 (cplus_demangle_print): Declare.
2261 For older changes see ChangeLog-9103
2263 Copyright (C) 2004-2015 Free Software Foundation, Inc.
2265 Copying and distribution of this file, with or without modification,
2266 are permitted in any medium without royalty provided the copyright
2267 notice and this notice are preserved.
2273 version-control: never