gas: require an operand to .startof.()/.sizeof.()
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 580cc18bc38dd7242a5361e520999a5a18232bc0..652bd047db99b223780d19c0f216c62232fd2b80 100644 (file)
@@ -1,3 +1,369 @@
+2017-02-21  Jan Beulich  <jbeulich@suse.com>
+
+       * expr.c (operand): Handle missing operand to .startof.() and
+       .sizeof.().
+       * testsuite/gas/all/err-sizeof.s: New.
+
+2017-02-20  Alan Modra  <amodra@gmail.com>
+
+       PR 21118
+       * NEWS: Revise powerpc register check.
+       * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
+       register expression" a warning.
+
+2017-02-17  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
+       * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
+       * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
+       * testsuite/gas/mips/aent-2.d: New test.
+       * testsuite/gas/mips/aent-mdebug.d: New test.
+       * testsuite/gas/mips/aent-mdebug-2.d: New test.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-02-15  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * testsuite/gas/aarch64/sve-sysreg.s,
+       testsuite/gas/aarch64/sve-sysreg.d,
+       testsuite/gas/aarch64/sve-sysreg-invalid.d,
+       testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
+
+2017-02-15  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * doc/c-aarch64.texi: Fix sve entry.
+
+2017-02-15  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
+       information from input expression.
+       (assemble_insn): Make sure pcrel is correctly set.
+       (arc_pcrel_adjust): Compensate for PCL rounding.
+       * testsuite/gas/arc/relax-add01.d: New file.
+       * testsuite/gas/arc/relax-add01.s: Likewise.
+       * testsuite/gas/arc/relax-add02.d: Likewise.
+       * testsuite/gas/arc/relax-add02.s: Likewise.
+       * testsuite/gas/arc/relax-add03.d: Likewise.
+       * testsuite/gas/arc/relax-add03.s: Likewise.
+       * testsuite/gas/arc/relax-add04.d: Likewise.
+       * testsuite/gas/arc/relax-add04.s: Likewise.
+       * testsuite/gas/arc/relax-ld01.d: Likewise.
+       * testsuite/gas/arc/relax-ld01.s: Likewise.
+       * testsuite/gas/arc/relax-ld02.d: Likewise.
+       * testsuite/gas/arc/relax-ld02.s: Likewise.
+       * testsuite/gas/arc/relax-mov01.d: Likewise.
+       * testsuite/gas/arc/relax-mov01.s: Likewise.
+       * testsuite/gas/arc/relax-mov02.d: Likewise.
+       * testsuite/gas/arc/relax-mov02.s: Likewise.
+       * testsuite/gas/arc/relax-mpy01.d: Likewise.
+       * testsuite/gas/arc/relax-mpy01.s: Likewise.
+       * testsuite/gas/arc/relax-sub01.d: Likewise.
+       * testsuite/gas/arc/relax-sub01.s: Likewise.
+       * testsuite/gas/arc/relax-sub02.d: Likewise.
+       * testsuite/gas/arc/relax-sub02.s: Likewise.
+       * testsuite/gas/arc/relax-sub03.d: Likewise.
+       * testsuite/gas/arc/relax-sub03.s: Likewise.
+       * testsuite/gas/arc/relax-sub04.d: Likewise.
+       * testsuite/gas/arc/relax-sub04.s: Likewise.
+
+2017-02-09  Vineet Gupta <vgupta@synopsys.com>
+
+       * testsuite/gas/arc/st.d: Update for 0xe having a name now
+
+2017-02-14  Alan Modra  <amodra@gmail.com>
+
+       PR 21118
+       * NEWS: Mention powerpc register checks.
+       * config/tc-ppc.c (struct pd_reg): Make value a short.  Add flags.
+       (pre_defined_registers): Delete fpscr and pmr entries.  Set
+       register type in flags.
+       (cr_names): Set type in flags.
+       (reg_name_search): Return pointer to struct pd_reg rather than value.
+       (register_name): Adjust to suit.  Set X_md from flags.
+       (ppc_parse_name): Likewise.
+       (ppc_optimize_expr): New function.
+       (md_assemble): Verify expresion reg flags match operand.
+       * config/tc-ppc.h (md_optimize_expr): Define.
+       (ppc_optimize_expr): Declare.
+
+2017-02-14  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/cell.s: Correct invalid registers.
+       * testsuite/gas/ppc/vle-simple-1.s: Likewise.
+       * testsuite/gas/ppc/vle-simple-2.s: Likewise.
+
+2017-02-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
+       syntax.
+       * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
+       * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
+
+2017-02-10  Nicholas Piggin  <npiggin@gmail.com>
+
+       * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
+
+2017-02-02  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * doc/as.texinfo (Overview): Select MIPS options for man page
+       inclusion.
+
+2017-01-30  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (mips_ignore_branch_isa): New variable.
+       (options): Add OPTION_IGNORE_BRANCH_ISA and
+       OPTION_NO_IGNORE_BRANCH_ISA enum values.
+       (md_longopts): Add "mignore-branch-isa" and
+       "mno-ignore-branch-isa" options.
+       (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
+       OPTION_NO_IGNORE_BRANCH_ISA.
+       (fix_bad_cross_mode_branch_p): Return FALSE if
+       `mips_ignore_branch_isa' has been set.
+       (md_show_usage): Add `-mignore-branch-isa' and
+       `-mno-ignore-branch-isa'.
+
+       * doc/as.texinfo (Target MIPS options): Add
+       `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
+       (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
+       * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
+       `-mno-ignore-branch-isa' options.
+
+       * testsuite/gas/mips/branch-local-ignore-2.d: New test.
+       * testsuite/gas/mips/branch-local-ignore-3.d: New test.
+       * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
+       * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
+       * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
+       * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-01-30  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/branch-local-2.d: New test.
+       * testsuite/gas/mips/branch-local-3.d: New test.
+       * testsuite/gas/mips/branch-local-n32-2.d: New test.
+       * testsuite/gas/mips/branch-local-n32-3.d: New test.
+       * testsuite/gas/mips/branch-local-n64-2.d: New test.
+       * testsuite/gas/mips/branch-local-n64-3.d: New test.
+       * testsuite/gas/mips/mips.exp: Fold corresponding list tests
+       into the new tests.
+
+2017-01-27  Alexis Deruell  <alexis.deruelle@gmail.com>
+
+       PR 21056
+       * testsuite/gas/tic6x/insns16-parallel.s: New test case.
+       * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
+
+2017-01-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       * configure.tgt (aarch64*-*-rtems*): Remove.
+       (bfin-*-rtems*): Likewise.
+       (h8300-*-rtems*): Likewise.
+       (i386-*-rtems*): Likewise.
+       (m32c-*-rtems*): Likewise.
+       (m32r-*-rtems*): Likewise.
+       (m68k-*-rtems*): Likewise.
+       (mips-*-rtems*): Likewise.
+       (nios2-*-rtems*): Likewise.
+       (ppc-*-rtems*): Likewise.
+       (sh-*-rtems*): Likewise.
+       (sparc64-*-rtems*): Likewise.
+       (sparc-*-rtems*): Likewise.
+       (*-*-rtems*) Use ELF format.
+
+2017-01-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
+
+2017-01-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       * configure.tgt (sh-*-rtemscoff*): Remove.
+
+2017-01-24  Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * configure.tgt (riscv*-*-*): Remove em=linux.
+
+2017-01-23  Sebastian Rasmussen  <sebras@gmail.com>
+
+       PR gas/21072
+       * asintl.h: Fix spelling mistakes and typos.
+       * atof-generic.c: Likewise.
+       * bit_fix.h: Likewise.
+       * config/atof-ieee.c: Likewise.
+       * config/bfin-defs.h: Likewise.
+       * config/bfin-parse.y: Likewise.
+       * config/obj-coff-seh.h: Likewise.
+       * config/obj-coff.c: Likewise.
+       * config/obj-evax.c: Likewise.
+       * config/obj-macho.c: Likewise.
+       * config/rx-parse.y: Likewise.
+       * config/tc-aarch64.c: Likewise.
+       * config/tc-alpha.c: Likewise.
+       * config/tc-arc.c: Likewise.
+       * config/tc-arm.c: Likewise.
+       * config/tc-avr.c: Likewise.
+       * config/tc-bfin.c: Likewise.
+       * config/tc-cr16.c: Likewise.
+       * config/tc-cris.c: Likewise.
+       * config/tc-crx.c: Likewise.
+       * config/tc-d10v.c: Likewise.
+       * config/tc-d30v.c: Likewise.
+       * config/tc-dlx.c: Likewise.
+       * config/tc-epiphany.c: Likewise.
+       * config/tc-frv.c: Likewise.
+       * config/tc-hppa.c: Likewise.
+       * config/tc-i370.c: Likewise.
+       * config/tc-i386-intel.c: Likewise.
+       * config/tc-i386.c: Likewise.
+       * config/tc-i960.c: Likewise.
+       * config/tc-ia64.c: Likewise.
+       * config/tc-m32r.c: Likewise.
+       * config/tc-m68hc11.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-mcore.c: Likewise.
+       * config/tc-mep.c: Likewise.
+       * config/tc-mep.h: Likewise.
+       * config/tc-metag.c: Likewise.
+       * config/tc-microblaze.c: Likewise.
+       * config/tc-mips.c: Likewise.
+       * config/tc-mmix.c: Likewise.
+       * config/tc-mn10200.c: Likewise.
+       * config/tc-mn10300.c: Likewise.
+       * config/tc-msp430.c: Likewise.
+       * config/tc-msp430.h: Likewise.
+       * config/tc-nds32.c: Likewise.
+       * config/tc-nds32.h: Likewise.
+       * config/tc-nios2.c: Likewise.
+       * config/tc-nios2.h: Likewise.
+       * config/tc-ns32k.c: Likewise.
+       * config/tc-pdp11.c: Likewise.
+       * config/tc-ppc.c: Likewise.
+       * config/tc-pru.c: Likewise.
+       * config/tc-rx.c: Likewise.
+       * config/tc-s390.c: Likewise.
+       * config/tc-score.c: Likewise.
+       * config/tc-score7.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-sh64.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+       * config/tc-tic4x.c: Likewise.
+       * config/tc-tic54x.c: Likewise.
+       * config/tc-v850.c: Likewise.
+       * config/tc-vax.c: Likewise.
+       * config/tc-visium.c: Likewise.
+       * config/tc-xgate.c: Likewise.
+       * config/tc-xtensa.c: Likewise.
+       * config/tc-z80.c: Likewise.
+       * config/tc-z8k.c: Likewise.
+       * config/te-vms.c: Likewise.
+       * config/xtensa-relax.c: Likewise.
+       * doc/as.texinfo: Likewise.
+       * doc/c-arm.texi: Likewise.
+       * doc/c-hppa.texi: Likewise.
+       * doc/c-i370.texi: Likewise.
+       * doc/c-i386.texi: Likewise.
+       * doc/c-m32r.texi: Likewise.
+       * doc/c-m68k.texi: Likewise.
+       * doc/c-mmix.texi: Likewise.
+       * doc/c-msp430.texi: Likewise.
+       * doc/c-nds32.texi: Likewise.
+       * doc/c-ns32k.texi: Likewise.
+       * doc/c-riscv.texi: Likewise.
+       * doc/c-rx.texi: Likewise.
+       * doc/c-s390.texi: Likewise.
+       * doc/c-tic6x.texi: Likewise.
+       * doc/c-tilegx.texi: Likewise.
+       * doc/c-tilepro.texi: Likewise.
+       * doc/c-v850.texi: Likewise.
+       * doc/c-xgate.texi: Likewise.
+       * doc/c-xtensa.texi: Likewise.
+       * dwarf2dbg.c: Likewise.
+       * ecoff.c: Likewise.
+       * itbl-ops.c: Likewise.
+       * listing.c: Likewise.
+       * macro.c: Likewise.
+       * po/gas.pot: Likewise.
+       * read.c: Likewise.
+       * struc-symbol.h: Likewise.
+       * symbols.h: Likewise.
+       * testsuite/gas/arc/relocs-errors.err: Likewise.
+       * write.c: Likewise.
+
+2017-01-23  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2017-01-20  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-i386.c (parse_operands): Check for operand overflow
+       before setting the unspecified bit.
+
+2017-01-18  Maciej W. Rozycki  <macro@imgtec.com>
+
+       PR gas/20649
+       * config/tc-mips.c (pic_need_relax): Don't check for linkonce
+       symbols, remove the `segtype' parameter.
+       (mips_frob_file, md_estimate_size_before_relax): Adjust
+       accordingly.
+       (s_is_linkonce): Add an explanatory comment.
+       * testsuite/gas/mips/comdat-reloc.d: New test.
+       * testsuite/gas/mips/comdat-reloc.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new test.
+
+2017-01-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
+       * testsuite/gas/arm/armv8_3-a-simd.d: Update.
+
+2017-01-18  Bernhard Rosenkranzer  <bero@lindev.ch>
+
+       PR 21059
+       * config/bfin-lex.l: Support processing with flex 2.6.3.
+       * itbl-lex.l: Likewise.
+
+2017-01-18  Nathan Sidwell  <nathan@acm.org>
+
+       * as.h (gas_assert): Use abort.
+       (as_assert): Remove.
+       (signal_init): Declare.
+       * as.c (main): Call signal_init.
+       * messages.c: #include <signal.h>
+       (as_assert): Delete.
+       (as_abort): Allow NULL FILE.
+       (signal_crash): New.
+       (signal_init): Register fatal signal handlers.
+       * configure.ac: Check for strsignal.
+       * config.in: Rebuilt.
+       * configure: Rebuilt.
+
+2017-01-17  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2017-01-12  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
+
+       * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
+       (cpu_noarch): Add noavx512_vpopcntdq.
+       * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
+       * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
+       * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
+       * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
+       * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
+       * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
+       * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
+       * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
+
+2017-01-12  Nick Clifton  <nickc@redhat.com>
+
+       * read.c (temp_ilp): New function.  Installs a temporary input
+       line pointer.
+       (restore_ilp): New function.  Restores the original input line
+       pointer.
+       * read.h (temp_ilp): Prototype.
+       (restore_ilp): Prototype.
+       * stabs.c (dot_func_p): Use bfd_boolean type.
+       (generate_asm_file): Use temp_ilp and restore_ilp.
+       (stabs_generate_asm_lineno): Likewise.
+       (stabs_generate_asm_endfunc): Likewise.
+
 2017-01-11  Jeremy Soller  <jackpot51@gmail.com>
 
        * configure.tgt: Add entry for i386-redox.
This page took 0.031267 seconds and 4 git commands to generate.