mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
9cf7e5687f
Most optional operands to powerpc instructions use a default value of zero, but there are a few exceptions. Those have been handled by PPC_OPERAND_OPTIONAL_VALUE and an entry in the powerpc_operands table for the default value, smuggled in the shift field. This patch changes that to using the operand extract function to provide non-zero defaults. I've also moved the code determining whether optional operands are provided or omitted, to the point the first optional operand is seen, and allowed for the possibility of optional base register operands in a future patch. The patch does change the error you get on invalid assembly like ld 3,4 You'll now see "missing operand" rather than "syntax error; end of line, expected `('". gas/ * config/tc-ppc.c (md_assemble): Delay counting of optional operands until one is encountered. Allow for the possibility of optional base regs, ie. PPC_OPERAND_PARENS. Call ppc_optional_operand_value with extra args. include/ * opcode/ppc.h (struct powerpc_operand): Correct "insert" comment. Mention use of "extract" function to provide default value. (PPC_OPERAND_OPTIONAL_VALUE): Delete. (ppc_optional_operand_value): Rewrite to use extract function. opcodes/ * ppc-dis.c (operand_value_powerpc): Init "invalid". (skip_optional_operands): Count optional operands, and update ppc_optional_operand_value call. * ppc-opc.c (extract_dxdn): Remove ATTRIBUTE_UNUSED from used arg. (extract_vlensi): Likewise. (extract_fxm): Return default value for missing optional operand. (extract_ls, extract_raq, extract_tbr): Likewise. (insert_sxl, extract_sxl): New functions. (insert_esync, extract_esync): Remove Power9 handling and simplify. (powerpc_operands <FXM4, TBR>): Delete PPC_OPERAND_OPTIONAL_VALUE flag and extra entry. (powerpc_operands <SXL>): Likewise, and use insert_sxl and extract_sxl.
468 lines
13 KiB
Plaintext
468 lines
13 KiB
Plaintext
2018-08-21 Alan Modra <amodra@gmail.com>
|
||
|
||
* opcode/ppc.h (struct powerpc_operand): Correct "insert" comment.
|
||
Mention use of "extract" function to provide default value.
|
||
(PPC_OPERAND_OPTIONAL_VALUE): Delete.
|
||
(ppc_optional_operand_value): Rewrite to use extract function.
|
||
|
||
2018-08-18 John Darrington <john@darrington.wattle.id.au>
|
||
|
||
* opcode/s12z.h: New file.
|
||
|
||
2018-08-09 Richard Earnshaw <rearnsha@arm.com>
|
||
|
||
* elf/arm.h: Updated comments for e_flags definitions.
|
||
|
||
2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
|
||
|
||
* elf/arc.h (Tag_ARC_ATR_version): New tag.
|
||
|
||
2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
|
||
|
||
* opcode/arc.h (ARC_OPCODE_ARCV1): Define.
|
||
|
||
2018-08-01 Richard Earnshaw <rearnsha@arm.com>
|
||
|
||
Copy over from GCC
|
||
2018-07-26 Martin Liska <mliska@suse.cz>
|
||
|
||
PR lto/86548
|
||
* libiberty.h (make_temp_file_with_prefix): New function.
|
||
|
||
2018-07-30 Jim Wilson <jimw@sifive.com>
|
||
|
||
* opcode/riscv.h (INSN_TYPE, INSN_BRANCH, INSN_CONDBRANCH, INSN_JSR)
|
||
(INSN_DREF, INSN_DATA_SIZE, INSN_DATA_SIZE_SHIFT, INSN_1_BYTE)
|
||
(INSN_2_BYTE, INSN_4_BYTE, INSN_8_BYTE, INSN_16_BYTE): New.
|
||
|
||
2018-07-30 Andrew Jenner <andrew@codesourcery.com>
|
||
|
||
* elf/common.h (EM_CSKY, EM_CSKY_OLD): Define.
|
||
* elf/csky.h: New file.
|
||
|
||
2018-07-27 Chenghua Xu <paul.hua.gm@gmail.com>
|
||
Maciej W. Rozycki <macro@linux-mips.org>
|
||
|
||
* elf/mips.h (AFL_ASE_MASK): Correct typo.
|
||
|
||
2018-07-26 Alex Chadwick <Alex.Chadwick@cl.cam.ac.uk>
|
||
|
||
* opcode/ppc.h (PPC_OPCODE_750): Adjust comment.
|
||
|
||
2018-07-26 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf/ppc64.h: Specify byte offset to local entry for values
|
||
of two to six in STO_PPC64_LOCAL_MASK. Clarify r2 return
|
||
value for such functions when entering via global entry point.
|
||
Specify meaning of a value of one in STO_PPC64_LOCAL_MASK.
|
||
|
||
2018-07-24 Alan Modra <amodra@gmail.com>
|
||
|
||
PR 23430
|
||
* elf/common.h (SHT_SYMTAB_SHNDX): Fix comment typo.
|
||
|
||
2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
|
||
Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* elf/mips.h (AFL_ASE_MMI): New macro.
|
||
(AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_MMI.
|
||
* opcode/mips.h (ASE_LOONGSON_MMI): New macro.
|
||
|
||
2018-07-17 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* bfdlink.h (bfd_link_hash_entry): Add `rel_from_abs' member.
|
||
|
||
2018-07-06 Alan Modra <amodra@gmail.com>
|
||
|
||
* diagnostics.h: Comment on macro usage.
|
||
|
||
2018-07-05 Simon Marchi <simon.marchi@polymtl.ca>
|
||
|
||
* diagnostics.h (DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS):
|
||
Define for clang.
|
||
|
||
2018-07-02 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
PR tdep/8282
|
||
* dis-asm.h (disasm_option_arg_t): New typedef.
|
||
(disasm_options_and_args_t): Likewise.
|
||
(disasm_options_t): Add `arg' member, document members.
|
||
(disassembler_options_mips): New prototype.
|
||
(disassembler_options_arm, disassembler_options_powerpc)
|
||
(disassembler_options_s390): Update prototypes.
|
||
|
||
2018-06-29 Tamar Christina <tamar.christina@arm.com>
|
||
|
||
PR binutils/23192
|
||
*opcode/aarch64.h (aarch64_opnd): Add AARCH64_OPND_Em16.
|
||
|
||
2018-06-26 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf/internal.h (ELF_SECTION_IN_SEGMENT): Revert last change.
|
||
|
||
2018-06-24 Nick Clifton <nickc@redhat.com>
|
||
|
||
2.31 branch created.
|
||
|
||
2018-06-21 Alan Hayward <alan.hayward@arm.com>
|
||
|
||
* elf/internal.h (ELF_SECTION_IN_SEGMENT): Don’t check addresses
|
||
for non SHT_NOBITS.
|
||
|
||
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
|
||
|
||
Sync with GCC
|
||
|
||
2018-05-24 Tom Rix <trix@juniper.net>
|
||
|
||
* dwarf2.def (DW_FORM_strx*, DW_FORM_addrx*): New.
|
||
|
||
2017-11-20 Kito Cheng <kito.cheng@gmail.com>
|
||
|
||
* longlong.h [__riscv] (__umulsidi3): Define.
|
||
[__riscv] (umul_ppmm): Likewise.
|
||
[__riscv] (__muluw3): Likewise.
|
||
|
||
2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
|
||
|
||
* elf/mips.h (AFL_ASE_GINV, AFL_ASE_RESERVED1): New macros.
|
||
(AFL_ASE_MASK): Update to include AFL_ASE_GINV.
|
||
* opcode/mips.h: Document "+\" operand format.
|
||
(ASE_GINV): New macro.
|
||
|
||
2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
|
||
Faraz Shahbazker <Faraz.Shahbazker@mips.com>
|
||
|
||
* elf/mips.h (AFL_ASE_CRC): New macro.
|
||
(AFL_ASE_MASK): Update to include AFL_ASE_CRC.
|
||
* opcode/mips.h (ASE_CRC): New macro.
|
||
* opcode/mips.h (ASE_CRC64): Likewise.
|
||
|
||
2018-06-04 Max Filippov <jcmvbkbc@gmail.com>
|
||
|
||
* elf/xtensa.h (xtensa_read_table_entries)
|
||
(xtensa_compute_fill_extra_space): New declarations.
|
||
|
||
2018-06-04 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* diagnostics.h (DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION): Always
|
||
define for GCC.
|
||
|
||
2018-06-04 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* diagnostics.h (DIAGNOSTIC_STRINGIFY_1): New.
|
||
(DIAGNOSTIC_STRINGIFY): Likewise.
|
||
(DIAGNOSTIC_IGNORE): Replace STRINGIFY with DIAGNOSTIC_STRINGIFY.
|
||
(DIAGNOSTIC_IGNORE_SELF_MOVE): Define empty if not defined.
|
||
(DIAGNOSTIC_IGNORE_DEPRECATED_REGISTER): Likewise.
|
||
(DIAGNOSTIC_IGNORE_UNUSED_FUNCTION): Likewise.
|
||
(DIAGNOSTIC_IGNORE_SWITCH_DIFFERENT_ENUM_TYPES): Likewise.
|
||
(DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION): New.
|
||
|
||
2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* diagnostics.h: Moved from ../gdb/common/diagnostics.h.
|
||
|
||
2018-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
||
|
||
* splay-tree.h (splay_tree_compare_strings,
|
||
splay_tree_delete_pointers): Declare new utility functions.
|
||
|
||
2018-05-21 Peter Bergner <bergner@vnet.ibm.com.com>
|
||
|
||
* opcode/ppc.h (PPC_OPERAND_FAKE): Delete macro.
|
||
|
||
2018-05-18 Kito Cheng <kito.cheng@gmail.com>
|
||
|
||
* elf/riscv.h (EF_RISCV_RVE): New define.
|
||
|
||
2018-05-18 John Darrington <john@darrington.wattle.id.au>
|
||
|
||
* elf/s12z.h: New header.
|
||
|
||
2018-05-15 Tamar Christina <tamar.christina@arm.com>
|
||
|
||
PR binutils/21446
|
||
* opcode/aarch64.h (F_SYS_READ, F_SYS_WRITE): New.
|
||
|
||
2018-05-15 Tamar Christina <tamar.christina@arm.com>
|
||
|
||
PR binutils/21446
|
||
* opcode/aarch64.h (aarch64_operand_error): Add non_fatal.
|
||
(aarch64_print_operand): Support notes.
|
||
|
||
2018-05-15 Tamar Christina <tamar.christina@arm.com>
|
||
|
||
PR binutils/21446
|
||
* opcode/aarch64.h (aarch64_opnd_info): Change sysreg to struct.
|
||
(aarch64_decode_insn): Accept error struct.
|
||
|
||
2018-05-15 Francois H. Theron <francois.theron@netronome.com>
|
||
|
||
* opcode/nfp.h: Use uint64_t instead of bfd_vma.
|
||
|
||
2018-05-10 John Darrington <john@darrington.wattle.id.au>
|
||
|
||
* elf/common.h (EM_S12Z): New macro.
|
||
|
||
2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
|
||
|
||
* mach-o/unwind.h (MACH_O_UNWIND_X86_64_RBP_FRAME_REGISTERS):
|
||
Rename from MACH_O_UNWIND_X86_64_RBP_FRAME_REGSITERS.
|
||
(MACH_O_UNWIND_X86_EBP_FRAME_REGISTERS): Rename from
|
||
MACH_O_UNWIND_X86_EBP_FRAME_REGSITERS.
|
||
|
||
2018-05-08 Jim Wilson <jimw@sifive.com>
|
||
|
||
* opcode/riscv-opc.h (MATCH_C_SRLI64, MASK_C_SRLI64): New.
|
||
(MATCH_C_SRAI64, MASK_C_SRAI64): New.
|
||
(MATCH_C_SLLI64, MASK_C_SLLI64): New.
|
||
|
||
2018-05-07 Peter Bergner <bergner@vnet.ibm.com.com>
|
||
|
||
* opcode/ppc.h (powerpc_num_opcodes): Change type to unsigned.
|
||
(vle_num_opcodes): Likewise.
|
||
(spe2_num_opcodes): Likewise.
|
||
|
||
2018-05-04 Alan Modra <amodra@gmail.com>
|
||
|
||
* ansidecl.h: Import from gcc.
|
||
* coff/internal.h (struct internal_scnhdr): Add ATTRIBUTE_NONSTRING
|
||
to s_name.
|
||
(struct internal_syment): Add ATTRIBUTE_NONSTRING to _n_name.
|
||
|
||
2018-04-30 Francois H. Theron <francois.theron@netronome.com>
|
||
|
||
* dis-asm.h: Added print_nfp_disassembler_options prototype.
|
||
* elf/common.h: Added EM_NFP, officially assigned. See Google Group
|
||
Generic System V Application Binary Interface.
|
||
* elf/nfp.h: New, for NFP support.
|
||
* opcode/nfp.h: New, for NFP support.
|
||
|
||
2018-04-25 Christophe Lyon <christophe.lyon@st.com>
|
||
Mickaël Guêné <mickael.guene@st.com>
|
||
|
||
* elf/arm.h: Add R_ARM_TLS_GD32_FDPIC, R_ARM_TLS_LDM32_FDPIC,
|
||
R_ARM_TLS_IE32_FDPIC.
|
||
|
||
2018-04-25 Christophe Lyon <christophe.lyon@st.com>
|
||
Mickaël Guêné <mickael.guene@st.com>
|
||
|
||
* elf/arm.h (R_ARM_GOTFUNCDESC, R_ARM_GOTOFFFUNCDESC)
|
||
(R_ARM_FUNCDESC)
|
||
(R_ARM_FUNCDESC_VALUE): Define new relocations.
|
||
|
||
2018-04-25 Christophe Lyon <christophe.lyon@st.com>
|
||
Mickaël Guêné <mickael.guene@st.com>
|
||
|
||
* elf/arm.h (EF_ARM_FDPIC): New.
|
||
|
||
2018-04-18 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/mipspe.h: Delete.
|
||
|
||
2018-04-18 Alan Modra <amodra@gmail.com>
|
||
|
||
* aout/dynix3.h: Delete.
|
||
|
||
2018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
|
||
|
||
Microblaze Target: PIC data text relative
|
||
|
||
* bfdlink.h (Add flag): Add new flag @ 'bfd_link_info' struct.
|
||
* elf/microblaze.h (Add 3 new relocations):
|
||
R_MICROBLAZE_TEXTPCREL_64, R_MICROBLAZE_TEXTREL_64
|
||
and R_MICROBLAZE_TEXTREL_32_LO for relax function.
|
||
|
||
2018-04-17 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf/i370.h: Revert removal.
|
||
* elf/i860.h: Likewise.
|
||
* elf/i960.h: Likewise.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/sparc.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* aout/host.h: Remove m68k-aout and m68k-coff support.
|
||
* aout/hp300hpux.h: Delete.
|
||
* coff/apollo.h: Delete.
|
||
* coff/aux-coff.h: Delete.
|
||
* coff/m68k.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* dis-asm.h: Remove sh5 and sh64 support.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/internal.h: Remove w65 support.
|
||
* coff/w65.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/we32k.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/internal.h: Remove m88k support.
|
||
* coff/m88k.h: Delete.
|
||
* opcode/m88k.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf/i370.h: Delete.
|
||
* opcode/i370.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/h8500.h: Delete.
|
||
* coff/internal.h: Remove h8500 support.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* coff/h8300.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* ieee.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* aout/host.h: Remove newsos3 support.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* nlm/ChangeLog-9315: Delete.
|
||
* nlm/alpha-ext.h: Delete.
|
||
* nlm/common.h: Delete.
|
||
* nlm/external.h: Delete.
|
||
* nlm/i386-ext.h: Delete.
|
||
* nlm/internal.h: Delete.
|
||
* nlm/ppc-ext.h: Delete.
|
||
* nlm/sparc32-ext.h: Delete.
|
||
|
||
2018-04-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* opcode/tahoe.h: Delete.
|
||
|
||
2018-04-11 Alan Modra <amodra@gmail.com>
|
||
|
||
* aout/adobe.h: Delete.
|
||
* aout/reloc.h: Delete.
|
||
* coff/i860.h: Delete.
|
||
* coff/i960.h: Delete.
|
||
* elf/i860.h: Delete.
|
||
* elf/i960.h: Delete.
|
||
* opcode/i860.h: Delete.
|
||
* opcode/i960.h: Delete.
|
||
* aout/aout64.h (enum reloc_type): Trim off 29k and other unused values.
|
||
* aout/ar.h (ARMAGB): Remove.
|
||
* coff/internal.h (struct internal_aouthdr, struct internal_scnhdr,
|
||
union internal_auxent): Remove i960 support.
|
||
|
||
2018-04-09 Alan Modra <amodra@gmail.com>
|
||
|
||
* elf/ppc.h (R_PPC_PLTSEQ, R_PPC_PLTCALL): Define.
|
||
* elf/ppc64.h (R_PPC64_PLTSEQ, R_PPC64_PLTCALL): Define.
|
||
|
||
2018-03-28 Renlin Li <renlin.li@arm.com>
|
||
|
||
PR ld/22970
|
||
* elf/aarch64.h: Add relocation number for
|
||
R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12,
|
||
R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12_NC,
|
||
R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12,
|
||
R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12_NC,
|
||
R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12,
|
||
R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12_NC,
|
||
R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12,
|
||
R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12_NC.
|
||
|
||
2018-03-28 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR 22988
|
||
* opcode/aarch64.h (enum aarch64_opnd): Add
|
||
AARCH64_OPND_SVE_ADDR_R.
|
||
|
||
2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* elf/common.h (DF_1_KMOD): New.
|
||
(DF_1_WEAKFILTER): Likewise.
|
||
(DF_1_NOCOMMON): Likewise.
|
||
|
||
2018-03-14 Kito Cheng <kito.cheng@gmail.com>
|
||
|
||
* opcode/riscv.h (OP_MASK_FUNCT3): New.
|
||
(OP_SH_FUNCT3): Likewise.
|
||
(OP_MASK_FUNCT7): Likewise.
|
||
(OP_SH_FUNCT7): Likewise.
|
||
(OP_MASK_OP2): Likewise.
|
||
(OP_SH_OP2): Likewise.
|
||
(OP_MASK_CFUNCT4): Likewise.
|
||
(OP_SH_CFUNCT4): Likewise.
|
||
(OP_MASK_CFUNCT3): Likewise.
|
||
(OP_SH_CFUNCT3): Likewise.
|
||
(riscv_insn_types): Likewise.
|
||
|
||
2018-03-13 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR 22113
|
||
* coff/pe.h (struct pex64_unwind_info): Add a rawUnwindCodesEnd
|
||
field.
|
||
|
||
2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* opcode/i386 (OLDGCC_COMPAT): Removed.
|
||
|
||
2018-02-27 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||
|
||
* opcode/arm.h (ARM_FEATURE_COPY): Remove macro definition.
|
||
|
||
2018-02-20 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* opcode/mips.h: Remove `M' operand code.
|
||
|
||
2018-02-12 Zebediah Figura <z.figura12@gmail.com>
|
||
|
||
* coff/msdos.h: New header.
|
||
* coff/pe.h: Move common defines to msdos.h.
|
||
* coff/powerpc.h: Likewise.
|
||
|
||
2018-01-13 Nick Clifton <nickc@redhat.com>
|
||
|
||
2.30 branch created.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22393
|
||
* bfdlink.h (bfd_link_info): Add separate_code.
|
||
|
||
2018-01-04 Jim Wilson <jimw@sifive.com>
|
||
|
||
* opcode/riscv-opc.h (CSR_SBADADDR): Rename to CSR_STVAL. Rename
|
||
DECLARE_CSR entry. Add alias to map sbadaddr to CSR_STVAL.
|
||
(CSR_MBADADDR): Rename to CSR_MTVAL. Rename DECLARE_CSR entry.
|
||
Add alias to map mbadaddr to CSR_MTVAL.
|
||
|
||
2018-01-03 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2017
|
||
|
||
Copyright (C) 2018 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:
|