mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
1fc87489b4
Property type and datasz are always 4 bytes for both 32-bit and 64-bit objects. Property values for GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED are 4 bytes for both i386 and x86-64 objects. We should also check GNU_PROPERTY_LOPROC and GNU_PROPERTY_LOUSER. binutils/ PR binutils/21231 * readelf.c (decode_x86_isa): Change argument to unsigned int. (print_gnu_property_note): Retrieve property type and datasz as 4-byte integer. Consolidate property datasz check. Check GNU_PROPERTY_LOPROC and GNU_PROPERTY_LOUSER. * testsuite/binutils-all/i386/pr21231a.d: New file. * testsuite/binutils-all/i386/pr21231a.s: Likewise. * testsuite/binutils-all/i386/pr21231b.d: Likewise. * testsuite/binutils-all/i386/pr21231b.s: Likewise. * testsuite/binutils-all/x86-64/pr21231a.d: Likewise. * testsuite/binutils-all/x86-64/pr21231a.s: Likewise. * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. * testsuite/binutils-all/x86-64/pr21231b.s: Likewise. include/ PR binutils/21231 * elf/common.h (GNU_PROPERTY_LOPROC): New. (GNU_PROPERTY_HIPROC): Likewise. (GNU_PROPERTY_LOUSER): Likewise. (GNU_PROPERTY_HIUSER): Likewise.
190 lines
6.0 KiB
Plaintext
190 lines
6.0 KiB
Plaintext
2017-03-08 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR binutils/21231
|
||
* elf/common.h (GNU_PROPERTY_LOPROC): New.
|
||
(GNU_PROPERTY_HIPROC): Likewise.
|
||
(GNU_PROPERTY_LOUSER): Likewise.
|
||
(GNU_PROPERTY_HIUSER): Likewise.
|
||
|
||
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:
|