mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
f96bd6c2d7
binutils * readelf.c: Add support for wasm32 ELF format WebAssembly files. (guess_is_rela): Likewise. (dump_relocations): Likewise. (is_32bit_abs_reloc): Likewise. (is_none_reloc_): Likewise. * NEWS: Mention the new support. * testsuite/lib/binutils-common.exp (is_elf_format): Mark wasm32 as ELF target. (supports_gnu_unique): Mark wasm32 as supporting STB_GNU_UNIQUE. * testsuite/binutils-all/nm.exp: Mark wasm32 as requiring .size annotations. * testsuite/binutils-all/wasm32: New directory. * testsuite/binutils-all/wasm32/create-wasm.d: New file. * testsuite/binutils-all/wasm32/create-wasm.s: Likewise. * testsuite/binutils-all/wasm32/custom-section.d: Likewise. * testsuite/binutils-all/wasm32/custom-section.s: Likewise. * testsuite/binutils-all/wasm32/invalid-wasm-1.d: Likewise. * testsuite/binutils-all/wasm32/invalid-wasm-1.s: Likewise. * testsuite/binutils-all/wasm32/long-sections.d: Likewise. * testsuite/binutils-all/wasm32/long-sections.s: Likewise. * testsuite/binutils-all/wasm32/parse-wasm.d: Likewise. * testsuite/binutils-all/wasm32/parse-wasm.s: Likewise. * testsuite/binutils-all/wasm32/parse-wasm-2.d: Likewise. * testsuite/binutils-all/wasm32/parse-wasm-2.s: Likewise. * testsuite/binutils-all/wasm32/prepared-section.d: Likewise. * testsuite/binutils-all/wasm32/prepared-section.s: Likewise. * testsuite/binutils-all/wasm32/wasm32.exp: New file, run tests. gas * config/tc-wasm32.h: New file: Add WebAssembly assembler target. * config/tc-wasm32.c: New file: Add WebAssembly assembler target. * Makefile.am: Add WebAssembly assembler target. * configure.tgt: Add WebAssembly assembler target. * doc/c-wasm32.texi: New file: Start documenting WebAssembly assembler. * doc/all.texi: Define WASM32. * doc/as.texinfo: Add WebAssembly entries. * NEWS: Mention the new support. * Makefile.in: Regenerate. * po/gas.pot: Regenerate. * po/POTFILES.in: Regenerate. * testsuite/gas/wasm32: New directory. * testsuite/gas/wasm32/allinsn.d: New file. * testsuite/gas/wasm32/allinsn.s: New file. * testsuite/gas/wasm32/illegal.l: New file. * testsuite/gas/wasm32/illegal.s: New file. * testsuite/gas/wasm32/illegal-2.l: New file. * testsuite/gas/wasm32/illegal-2.s: New file. * testsuite/gas/wasm32/illegal-3.l: New file. * testsuite/gas/wasm32/illegal-3.s: New file. * testsuite/gas/wasm32/illegal-4.l: New file. * testsuite/gas/wasm32/illegal-4.s: New file. * testsuite/gas/wasm32/illegal-5.l: New file. * testsuite/gas/wasm32/illegal-5.s: New file. * testsuite/gas/wasm32/illegal-6.l: New file. * testsuite/gas/wasm32/illegal-6.s: New file. * testsuite/gas/wasm32/illegal-7.l: New file. * testsuite/gas/wasm32/illegal-7.s: New file. * testsuite/gas/wasm32/illegal-8.l: New file. * testsuite/gas/wasm32/illegal-8.s: New file. * testsuite/gas/wasm32/illegal-9.l: New file. * testsuite/gas/wasm32/illegal-9.s: New file. * testsuite/gas/wasm32/illegal-10.l: New file. * testsuite/gas/wasm32/illegal-10.s: New file. * testsuite/gas/wasm32/illegal-11.l: New file. * testsuite/gas/wasm32/illegal-11.s: New file. * testsuite/gas/wasm32/illegal-12.l: New file. * testsuite/gas/wasm32/illegal-12.s: New file. * testsuite/gas/wasm32/illegal-13.l: New file. * testsuite/gas/wasm32/illegal-13.s: New file. * testsuite/gas/wasm32/illegal-14.l: New file. * testsuite/gas/wasm32/illegal-14.s: New file. * testsuite/gas/wasm32/illegal-15.l: New file. * testsuite/gas/wasm32/illegal-15.s: New file. * testsuite/gas/wasm32/illegal-16.l: New file. * testsuite/gas/wasm32/illegal-16.s: New file. * testsuite/gas/wasm32/illegal-17.l: New file. * testsuite/gas/wasm32/illegal-17.s: New file. * testsuite/gas/wasm32/illegal-18.l: New file. * testsuite/gas/wasm32/illegal-18.s: New file. * testsuite/gas/wasm32/illegal-19.l: New file. * testsuite/gas/wasm32/illegal-19.s: New file. * testsuite/gas/wasm32/illegal-20.l: New file. * testsuite/gas/wasm32/illegal-20.s: New file. * testsuite/gas/wasm32/illegal-21.l: New file. * testsuite/gas/wasm32/illegal-21.s: New file. * testsuite/gas/wasm32/illegal-22.l: New file. * testsuite/gas/wasm32/illegal-22.s: New file. * testsuite/gas/wasm32/illegal-24.l: New file. * testsuite/gas/wasm32/illegal-24.s: New file. * testsuite/gas/wasm32/illegal-25.l: New file. * testsuite/gas/wasm32/illegal-25.s: New file. * testsuite/gas/wasm32/reloc.d: New file. * testsuite/gas/wasm32/reloc.s: New file. * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly architecture. opcodes * configure.ac: Add (empty) bfd_wasm32_arch target. * configure: Regenerate * po/opcodes.pot: Regenerate. include * opcode/wasm.h: New file to support wasm32 architecture. * elf/wasm32.h: Add R_WASM32_32 relocation. bfd * elf32-wasm32.c: Add relocation code, two relocs. * reloc.c: Add wasm32 relocations. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * bfd/po/bfd.pot: Regenerate.
252 lines
7.7 KiB
Plaintext
252 lines
7.7 KiB
Plaintext
2017-03-30 Pip Cet <pipcet@gmail.com>
|
||
|
||
* opcode/wasm.h: New file to support wasm32 architecture.
|
||
* elf/wasm32.h: Add R_WASM32_32 relocation.
|
||
|
||
2017-03-29 Alan Modra <amodra@gmail.com>
|
||
|
||
* opcode/ppc.h (PPC_OPCODE_RAW): Define.
|
||
(PPC_OPCODE_*): Make them all unsigned long long constants.
|
||
|
||
2017-03-27 Pip Cet <pipcet@gmail.com>
|
||
|
||
* elf/wasm32.h: New file to support wasm32 architecture.
|
||
|
||
2017-03-27 Rinat Zelig <rinat@mellanox.com>
|
||
|
||
* opcode/arc.h (insn_class_t): Add ULTRAIP and MISC class.
|
||
|
||
2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||
|
||
* opcode/s390.h (S390_INSTR_FLAG_VX2): Remove.
|
||
(S390_INSTR_FLAG_FACILITY_MASK): Adjust value.
|
||
|
||
2017-03-21 Rinat Zelig <rinat@mellanox.com>
|
||
|
||
* opcode/arc.h (insn_class_t): Add DMA class.
|
||
|
||
2017-03-16 Nick Clifton <nickc@redhat.com>
|
||
|
||
* elf/common.h (GNU_BUILD_ATTRIBUTE_SHORT_ENUM): New GNU BUILD
|
||
note type.
|
||
|
||
2017-03-14 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
PR debug/77589
|
||
* dwarf2.def (DW_OP_GNU_variable_value): New opcode.
|
||
|
||
2017-03-13 Markus Trippelsdorf <markus@trippelsdorf.de>
|
||
|
||
PR demangler/70909
|
||
PR demangler/67264
|
||
* demangle.h (struct demangle_component): Add d_printing field.
|
||
(cplus_demangle_print): Remove const qualifier from tree
|
||
parameter.
|
||
(cplus_demangle_print_callback): Likewise.
|
||
|
||
2017-03-13 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR binutils/21202
|
||
* elf/aarch64.h (R_AARCH64_TLSDESC_LD64_LO12_NC): Rename to
|
||
R_AARCH64_TLSDESC_LD64_LO12.
|
||
(R_AARCH64_TLSDESC_ADD_LO12_NC): Rename to
|
||
R_AARCH64_TLSDESC_ADD_LO12_NC.
|
||
|
||
2017-03-10 Nick Clifton <nickc@redhat.com>
|
||
|
||
* elf/common.h (EM_LANAI): New machine number.
|
||
(EM_BPF): Likewise.
|
||
(EM_WEBASSEMBLY): Likewise.
|
||
Move low value, deprecated, numbers to their numerical
|
||
equivalents.
|
||
|
||
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:
|