mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
9ef920e933
include * elf/common.h (SHF_GNU_BUILD_NOTE): Define. (NT_GNU_PROPERTY_TYPE_0): Define. (NT_GNU_BUILD_ATTRIBUTE_OPEN): Define. (NT_GNU_BUILD_ATTRIBUTE_FUN): Define. (GNU_BUILD_ATTRIBUTE_TYPE_NUMERIC): Define. (GNU_BUILD_ATTRIBUTE_TYPE_STRING): Define. (GNU_BUILD_ATTRIBUTE_TYPE_BOOL_TRUE): Define. (GNU_BUILD_ATTRIBUTE_TYPE_BOOL_FALSE): Define. (GNU_BUILD_ATTRIBUTE_VERSION): Define. (GNU_BUILD_ATTRIBUTE_STACK_PROT): Define. (GNU_BUILD_ATTRIBUTE_RELRO): Define. (GNU_BUILD_ATTRIBUTE_STACK_SIZE): Define. (GNU_BUILD_ATTRIBUTE_TOOL): Define. (GNU_BUILD_ATTRIBUTE_ABI): Define. (GNU_BUILD_ATTRIBUTE_PIC): Define. (NOTE_GNU_PROPERTY_SECTION_NAME): Define. (GNU_BUILD_ATTRS_SECTION_NAME): Define. (GNU_PROPERTY_STACK_SIZE): Define. (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Define. (GNU_PROPERTY_X86_ISA_1_USED): Define. (GNU_PROPERTY_X86_ISA_1_NEEDED): Define. (GNU_PROPERTY_X86_ISA_1_486): Define. (GNU_PROPERTY_X86_ISA_1_586): Define. (GNU_PROPERTY_X86_ISA_1_686): Define. (GNU_PROPERTY_X86_ISA_1_SSE): Define. (GNU_PROPERTY_X86_ISA_1_SSE2): Define. (GNU_PROPERTY_X86_ISA_1_SSE3): Define. (GNU_PROPERTY_X86_ISA_1_SSSE3): Define. (GNU_PROPERTY_X86_ISA_1_SSE4_1): Define. (GNU_PROPERTY_X86_ISA_1_SSE4_2): Define. (GNU_PROPERTY_X86_ISA_1_AVX): Define. (GNU_PROPERTY_X86_ISA_1_AVX2): Define. (GNU_PROPERTY_X86_ISA_1_AVX512F): Define. (GNU_PROPERTY_X86_ISA_1_AVX512CD): Define. (GNU_PROPERTY_X86_ISA_1_AVX512ER): Define. (GNU_PROPERTY_X86_ISA_1_AVX512PF): Define. (GNU_PROPERTY_X86_ISA_1_AVX512VL): Define. (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Define. (GNU_PROPERTY_X86_ISA_1_AVX512BW): Define. binutils* readelf.c (get_note_type): Add support for GNU_BUILD_NOTEs. (get_gnu_elf_note_type): Add support for GNU_PROPERTY_NOTEs. (decode_x86_isa): New function. (print_gnu_property_note): New function. (print_gnu_note): Handle GNU_PROPERTY_NOTEs. (print_gnu_build_attribute_description): New function. (print_gnu_build_attribute_name): New function. (process_note): Add support for GNU_BUILD_NOTEs. * objcopy.c (--merge-notes): New command line option. (copy_options): Add merge-notes. (copy_usage): Likewise. (is_merge_note_section): New function. (merge_gnu_build_notes): New function. (copy_object): Merge note sections if asked to do so. (skip_section): Add skip_copy parameter. Add support for skipping merged note sections. (copy_relocations_in_section): Update call to skip_section. (copy_section): Likewise. (copy_main): Add support for merge-notes option. * doc/binutils.texi: Document the new option to objcopy. * NEWS: Mention the new feature. * testsuite/binutils-all/note-2-32.d: New test. Checks note merging on 32-bit targets. * testsuite/binutils-all/note-2-32.s: New test source file. * testsuite/binutils-all/note-2-64.d: New test. Like note-2-32.d but for 64-bit targets. * testsuite/binutils-all/note-2-64.s: New test source file. * testsuite/binutils-all/objcopy.exp: Run the new test.
182 lines
5.8 KiB
Plaintext
182 lines
5.8 KiB
Plaintext
2017-03-01 Nick Clifton <nickc@redhat.com>
|
||
|
||
* elf/common.h (SHF_GNU_BUILD_NOTE): Define.
|
||
(NT_GNU_PROPERTY_TYPE_0): Define.
|
||
(NT_GNU_BUILD_ATTRIBUTE_OPEN): Define.
|
||
(NT_GNU_BUILD_ATTRIBUTE_FUN): Define.
|
||
(GNU_BUILD_ATTRIBUTE_TYPE_NUMERIC): Define.
|
||
(GNU_BUILD_ATTRIBUTE_TYPE_STRING): Define.
|
||
(GNU_BUILD_ATTRIBUTE_TYPE_BOOL_TRUE): Define.
|
||
(GNU_BUILD_ATTRIBUTE_TYPE_BOOL_FALSE): Define.
|
||
(GNU_BUILD_ATTRIBUTE_VERSION): Define.
|
||
(GNU_BUILD_ATTRIBUTE_STACK_PROT): Define.
|
||
(GNU_BUILD_ATTRIBUTE_RELRO): Define.
|
||
(GNU_BUILD_ATTRIBUTE_STACK_SIZE): Define.
|
||
(GNU_BUILD_ATTRIBUTE_TOOL): Define.
|
||
(GNU_BUILD_ATTRIBUTE_ABI): Define.
|
||
(GNU_BUILD_ATTRIBUTE_PIC): Define.
|
||
(NOTE_GNU_PROPERTY_SECTION_NAME): Define.
|
||
(GNU_BUILD_ATTRS_SECTION_NAME): Define.
|
||
(GNU_PROPERTY_STACK_SIZE): Define.
|
||
(GNU_PROPERTY_NO_COPY_ON_PROTECTED): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_USED): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_NEEDED): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_486): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_586): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_686): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_SSE): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_SSE2): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_SSE3): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_SSSE3): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_SSE4_1): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_SSE4_2): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_AVX): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_AVX2): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_AVX512F): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_AVX512CD): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_AVX512ER): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_AVX512PF): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_AVX512VL): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_AVX512DQ): Define.
|
||
(GNU_PROPERTY_X86_ISA_1_AVX512BW): Define.
|
||
|
||
2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
|
||
|
||
* dis-asm.h (disasm_options_t): New typedef.
|
||
(parse_arm_disassembler_option): Remove prototype.
|
||
(set_arm_regname_option): Likewise.
|
||
(get_arm_regnames): Likewise.
|
||
(get_arm_regname_num_options): Likewise.
|
||
(disassemble_init_s390): New prototype.
|
||
(disassembler_options_powerpc): Likewise.
|
||
(disassembler_options_arm): Likewise.
|
||
(disassembler_options_s390): Likewise.
|
||
(remove_whitespace_and_extra_commas): Likewise.
|
||
(disassembler_options_cmp): Likewise.
|
||
(next_disassembler_option): New inline function.
|
||
(FOR_EACH_DISASSEMBLER_OPTION): New macro.
|
||
|
||
2017-02-28 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf/ppc64.h (R_PPC64_16DX_HA): New. Expand fake reloc comment.
|
||
* elf/ppc.h (R_PPC_16DX_HA): Likewise.
|
||
|
||
2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
|
||
|
||
* opcode/aarch64.h (AARCH64_OPND_SVE_ADDR_RI_S4x16)
|
||
(AARCH64_OPND_SVE_IMM_ROT1, AARCH64_OPND_SVE_IMM_ROT2)
|
||
(AARCH64_OPND_SVE_Zm3_INDEX, AARCH64_OPND_SVE_Zm3_22_INDEX)
|
||
(AARCH64_OPND_SVE_Zm4_INDEX): New aarch64_opnds.
|
||
|
||
2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
|
||
|
||
* opcode/aarch64.h (AARCH64_FEATURE_COMPNUM): New macro.
|
||
(AARCH64_ARCH_V8_3): Include AARCH64_FEATURE_COMPNUM.
|
||
|
||
2017-02-22 Andrew Waterman <andrew@sifive.com>
|
||
|
||
* opcode/riscv-opc.h (CSR_SCOUNTEREN): New define.
|
||
(CSR_MCOUNTEREN): Likewise.
|
||
(scounteren): Declare register.
|
||
(mcounteren): Likewise.
|
||
|
||
2017-02-14 Andrew Waterman <andrew@sifive.com>
|
||
|
||
* opcode/riscv-opc.h (MATCH_SFENCE_VMA): New define.
|
||
(MASK_SFENCE_VMA): Likewise.
|
||
(sfence_vma): Declare instruction.
|
||
|
||
2017-02-14 Alan Modra <amodra@gmail.com>
|
||
|
||
PR 21118
|
||
* opcode/ppc.h (PPC_OPERAND_*): Reassign values, regs first.
|
||
(PPC_OPERAND_SPR, PPC_OPERAND_GQR): Define.
|
||
|
||
2017-01-24 Dimitar Dimitrov <dimitar@dinux.eu>
|
||
|
||
* opcode/hppa.h: Clarify that file is part of GNU opcodes.
|
||
* opcode/i860.h: Ditto.
|
||
* opcode/nios2.h: Ditto.
|
||
* opcode/nios2r1.h: Ditto.
|
||
* opcode/nios2r2.h: Ditto.
|
||
* opcode/pru.h: Ditto.
|
||
|
||
2017-01-24 Alan Hayward <alan.hayward@arm.com>
|
||
|
||
* elf/common.h (NT_ARM_SVE): Define.
|
||
|
||
2017-01-04 Jiong Wang <jiong.wang@arm.com>
|
||
|
||
* dwarf2.def: Sync with mainline gcc sources.
|
||
|
||
2017-01-04 Richard Earnshaw <rearnsha@arm.com>
|
||
Jiong Wang <jiong.wang@arm.com>
|
||
|
||
* dwarf2.def (DW_OP_AARCH64_operation): Reserve the number 0xea.
|
||
(DW_CFA_GNU_window_save): Comments the multiplexing on AArch64.
|
||
|
||
2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
||
|
||
* opcode/aarch64.h (AARCH64_FEATURE_RCPC): Define.
|
||
(AARCH64_ARCH_V8_3): Update.
|
||
|
||
2017-01-03 Kito Cheng <kito.cheng@gmail.com>
|
||
|
||
* opcode/riscv-opc.h: Add support for the "q" ISA extension.
|
||
|
||
2017-01-03 Nick Clifton <nickc@redhat.com>
|
||
|
||
* dwarf2.def: Sync with mainline gcc sources
|
||
* dwarf2.h: Likewise.
|
||
|
||
2016-12-21 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
* dwarf2.def (DW_FORM_ref_sup): Renamed to ...
|
||
(DW_FORM_ref_sup4): ... this. New form.
|
||
(DW_FORM_ref_sup8): New form.
|
||
|
||
2016-10-17 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
* dwarf2.h (enum dwarf_calling_convention): Add new DWARF5
|
||
calling convention codes.
|
||
(enum dwarf_line_number_content_type): New.
|
||
(enum dwarf_location_list_entry_type): Add DWARF5 DW_LLE_*
|
||
codes.
|
||
(enum dwarf_source_language): Add new DWARF5 DW_LANG_* codes.
|
||
(enum dwarf_macro_record_type): Add DWARF5 DW_MACRO_* codes.
|
||
(enum dwarf_name_index_attribute): New.
|
||
(enum dwarf_range_list_entry): New.
|
||
(enum dwarf_unit_type): New.
|
||
* dwarf2.def: Add new DWARF5 DW_TAG_*, DW_FORM_*, DW_AT_*,
|
||
DW_OP_* and DW_ATE_* entries.
|
||
|
||
2016-08-15 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
* dwarf2.def (DW_AT_string_length_bit_size,
|
||
DW_AT_string_length_byte_size): New attributes.
|
||
|
||
2016-08-12 Alexandre Oliva <aoliva@redhat.com>
|
||
|
||
PR debug/63240
|
||
* dwarf2.def (DW_AT_deleted, DW_AT_defaulted): New.
|
||
* dwarf2.h (enum dwarf_defaulted_attribute): New.
|
||
|
||
2017-01-02 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2016
|
||
|
||
Copyright (C) 2017 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|