This patch introduces support for specifing views in .loc directives, so that the...
[deliverable/binutils-gdb.git] / gas / ChangeLog
index eb9bc608579db9311dce3918492247a2e2876abb..58f2ef4ce17016cfdee2f8b0f3418c8ea7558758 100644 (file)
@@ -1,3 +1,332 @@
+2017-07-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * config/tc-s390.c (s390_parse_cpu): Add z14 as alternate CPU
+       name.
+       * doc/as.texinfo: Add z14 to CPU string list.
+       * doc/c-s390.texi: Likewise.
+
+2017-07-21  Alexandre Oliva  <aoliva@redhat.com>
+
+       * dwarf2dbg.c (unused): Check offset of next in struct line_entry.
+       (current): Initialize view.
+       (force_reset_view, view_assert_failed): New variables.
+       (reverse_line_entry_list): New function.
+       (set_or_check_view): Likewise.
+       (dwarf2_gen_line_info_1): Call it.
+       (dwarf2_where): Set view to NULL.
+       (dwarf2_emit_insn): Return early when called before first file.
+       (dwarf2_directive_loc): Add view support.  Emit insn
+       immediately when view option is given.
+       (process_entries): Avoid set_address to reset view when a known
+       address change already implies the view reset.
+       (dwarf2dbg_final_check): New function.
+       * dwarf2dbg.h (struct dwarf2_line_info): Add view.
+       (dwarf2dbg_final_check): Declare.
+       * read.c (s_leb128): Parse expression as deferred.
+       * write.c (write_object_file): Check pending view asserts.
+       (cvt_frag_to_fill): Complain about undefined leb128 operand.
+       * doc/as.texinfo (.loc): Document view support.
+       * NEWS: Mention the new feature.
+       * testsuite/gas/all/gas.exp: Run sleb128-9.
+       * testsuite/gas/all/sleb128-9.d: New.
+       * testsuite/gas/all/sleb128-9.l: New.
+       * testsuite/gas/all/sleb128-9.s: New.
+       * testsuite/gas/elf/dwarf2-1.d: Add nonzero views.
+       * testsuite/gas/elf/dwarf2-2.d: Likewise.
+       * testsuite/gas/elf/dwarf2-5.d: New.
+       * testsuite/gas/elf/dwarf2-5.s: New.
+       * testsuite/gas/elf/dwarf2-6.d: New.
+       * testsuite/gas/elf/dwarf2-6.s: New.
+       * testsuite/gas/elf/dwarf2-7.d: New.
+       * testsuite/gas/elf/dwarf2-7.s: New.
+       * testsuite/gas/elf/dwarf2-8.d: New.
+       * testsuite/gas/elf/dwarf2-8.l: New.
+       * testsuite/gas/elf/dwarf2-8.s: New.
+       * testsuite/gas/elf/dwarf2-9.d: New.
+       * testsuite/gas/elf/dwarf2-9.l: New.
+       * testsuite/gas/elf/dwarf2-9.s: New.
+       * testsuite/gas/elf/dwarf2-10.d: New.
+       * testsuite/gas/elf/dwarf2-10.l: New.
+       * testsuite/gas/elf/dwarf2-10.s: New.
+       * testsuite/gas/elf/dwarf2-11.d: New.
+       * testsuite/gas/elf/dwarf2-11.s: New.
+       * testsuite/gas/elf/dwarf2-12.d: New.
+       * testsuite/gas/elf/dwarf2-12.s: New.
+       * testsuite/gas/elf/dwarf2-13.d: New.
+       * testsuite/gas/elf/dwarf2-13.s: New.
+       * testsuite/gas/elf/dwarf2-14.d: New.
+       * testsuite/gas/elf/dwarf2-14.s: New.
+       * testsuite/gas/elf/dwarf2-15.d: New.
+       * testsuite/gas/elf/dwarf2-15.s: New.
+       * testsuite/gas/elf/dwarf2-16.d: New.
+       * testsuite/gas/elf/dwarf2-16.s: New.
+       * testsuite/gas/elf/dwarf2-17.d: New.
+       * testsuite/gas/elf/dwarf2-17.s: New.
+       * testsuite/gas/elf/dwarf2-18.d: New.
+       * testsuite/gas/elf/dwarf2-18.s: New.
+       * testsuite/gas/elf/elf.exp: Run dwarf2-5..18 tests.
+       * testsuite/gas/i386/dw2-compress-1.d: Add nonzero views.
+       * testsuite/gas/i386/dw2-compressed-1.d: Likewise.
+       * testsuite/gas/i386/ilp32/lns/lns-duplicate.d: Likewise.
+       * testsuite/gas/lns/lns-big-delta.d: Likewise.
+       * testsuite/gas/lns/lns-duplicate.d: Likewise.
+       * testsuite/gas/mips/loc-swap-2.d: Likewise.
+       * testsuite/gas/mips/loc-swap-3.d: Likewise.
+       * testsuite/gas/mips/loc-swap.d: Likewise.
+       * testsuite/gas/mips/micromips@loc-swap-2.d: Likewise.
+       * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
+       * testsuite/gas/mips/mips16@loc-swap-2.d: Likewise.
+       * testsuite/gas/mips/mips16@loc-swap.d: Likewise.
+       * testsuite/gas/mips/mips16e@loc-swap.d: Likewise.
+
+2017-07-19  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/gas/arc/jli-1.d: New file.
+       * testsuite/gas/arc/jli-1.s: Likewise.
+       * testsuite/gas/arc/taux.d: Update for jli_base.
+
+2017-07-19  Tristan Gingold  <gingold@adacore.com>
+
+       * as.c (start_sbrk): Remove.
+       (main): Remove assignment.
+       (dump_statistics): Remove display of data size.
+
+2017-07-19  Tristan Gingold  <gingold@adacore.com>
+
+       * testsuite/gas/pe/seh-x64-err-2.s: New test.
+       * testsuite/gas/pe/seh-x64-err-2.l: New stderr output.
+       * testsuite/gas/pe/pe.exp: Add test.
+       * config/obj-coff-seh.c (obj_coff_seh_do_final): Don't try to end
+       seh part.
+
+2017-07-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 21775
+       * config/tc-arm.c: Fix spelling typos.
+       * config/tc-mips.c: Likewise.
+       * config/tc-msp430.c: Likewise.
+       * config/tc-sh64.c: Likewise.
+       * config/tc-tic4x.c: Likewise.
+       * ecoff.c: Likewise.
+       * testsuite/gas/arm/ldr-bad.l: Likewise.
+       * testsuite/gas/arm/ldr-t-bad.l: Likewise.
+       * testsuite/gas/tic54x/opcodes.s: Likewise.
+       * testsuite/gas/msp340/errata_warns.l: Likewise.
+
+2017-07-18  Nick Clifton  <nickc@redhat.com>
+
+       * po/uk.po: Updated Ukranian translation.
+
+2017-07-17  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR 21472
+       * config/tc-avr.c (mcu_types): Add entries for: attiny212,
+       attiny214, attiny412, attiny414, attiny814, attiny1614,
+       attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
+       (md_show_usage): Adjust doc for "avrxmega3".
+       * doc/c-avr.texi (AVR options) [-mmcu=]: Adjust doc for avrxmega3.
+       Add MCUs: attiny212, attiny214, attiny412, attiny414, attiny416,
+       attiny417, attiny814, attiny816, attiny817, attiny1614,
+       attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
+
+2017-07-13  Jim Wilson  <jim.wilson@linaro.org>
+
+       * config/tc-arch64.c (aarch64_cpus): Add AARCH64_FEATURE_RDMA to
+       falkor and qdf24xx entries.
+
+2017-07-12  Alan Modra  <amodra@gmail.com>
+
+       * po/es.po: Update from translationproject.org/latest/gas/.
+       * po/fi.po: Likewise.
+       * po/fr.po: Likewise.
+       * po/id.po: Likewise.
+       * po/ja.po: Likewise.
+       * po/ru.po: Likewise.
+       * po/sv.po: Likewise.
+       * po/tr.po: Likewise.
+       * po/uk.po: Likewise.
+       * po/zh_CN.po: Likewise.
+
+2017-07-12  Nick Clifton  <nickc@redhat.com>
+
+       Fix compile time warnings using gcc 7.1.1.
+       * config/tc-pru.c (md_assemble): Add continue statement after
+       handling 'E' operand character.
+       * config/tc-v850.c (md_assemble): Initialise the 'insn' variable.
+
+2017-07-05  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * config/tc-arm.c (arm_cpus): Add Cortex-A55 and Cortex-A75.
+       * doc/c-arm.texi (-mcpu): Document Cortex-A55 and Cortex-A75.
+
+2017-07-05  Borislav Petkov  <bp@suse.de>
+
+       * testsuite/gas/i386/opcode.s: Add tests for ModRM.reg == 6 variants.
+       * testsuite/gas/i386/opcode.d: ditto.
+       * testsuite/gas/i386/x86-64-opcode.s: Add x86_64 variants too.
+       * testsuite/gas/i386/x86-64-opcode.d: ditto.
+
+2017-07-04  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+        * config/tc-arm.c (arm_regs): Add MVFR2.
+        (do_vmrs): Constraint for MVFR2 and armv8.
+        (do_vmsr): Likewise.
+        * testsuite/gas/arm/armv8-a+fp.d: Update.
+        * testsuite/gas/arm/armv8-ar+fp.s: Likewise.
+        * testsuite/gas/arm/armv8-r+fp.d: Likewise.
+        * testsuite/gas/arm/vfp-bad.s: Likewise.
+        * testsuite/gas/arm/vfp-bad.l: Likewise.
+
+2017-07-04  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
+2017-07-04  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.29.
+
+2017-07-03  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/elf/symver.d: Don't run on hppa64-hpux.
+
+2017-06-30  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (md_convert_frag): Use a switch on the
+       microMIPS relaxation type rather than a chain of conditionals.
+
+2017-06-30  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (md_convert_frag): Rewrite `fix_new_exp'
+       calls in terms of `fix_new'.
+
+2017-06-30  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (md_convert_frag): Don't make a helper
+       expression symbol for `fix_new_exp' called with a non-zero
+       offset.
+       * testsuite/gas/mips/relax-offset.d: New test.
+       * testsuite/gas/mips/mips1@relax-offset.d: New test.
+       * testsuite/gas/mips/r3000@relax-offset.d: New test.
+       * testsuite/gas/mips/r3900@relax-offset.d: New test.
+       * testsuite/gas/mips/micromips@relax-offset.d: New test.
+       * testsuite/gas/mips/relax-offset.l: New stderr output.
+       * testsuite/gas/mips/relax-offset.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-06-30  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR gas/21683
+       * doc/c-avr.texi (AVR Options) <-mgcc-isr>: Document it.
+       (AVR Pseudo Instructions): New node.
+       * config/tc-avr.h (md_pre_output_hook): Define to avr_pre_output_hook.
+       (md_undefined_symbol): Define to avr_undefined_symbol.
+       (avr_pre_output_hook, avr_undefined_symbol): New protos.
+       * config/tc-avr.c (struc-symbol.h): Include it.
+       (ISR_CHUNK_Done, ISR_CHUNK_Prologue, ISR_CHUNK_Epilogue): New enums.
+       (avr_isr, avr_gccisr_opcode)
+       (avr_no_sreg_hash, avr_no_sreg): New static variables.
+       (avr_opt_s) <have_gccisr>: Add field.
+       (avr_opt): Add initializer for have_gccisr.
+       (enum options) <OPTION_HAVE_GCCISR>: Add enum.
+       (md_longopts) <"mgcc-isr">: Add entry.
+       (md_show_usage): Document -mgcc-isr.
+       (md_parse_option) [OPTION_HAVE_GCCISR]: Handle it.
+       (md_undefined_symbol): Remove.
+       (avr_undefined_symbol, avr_pre_output_hook): New fuctions.
+       (md_begin) <avr_no_sreg_hash, avr_gccisr_opcode>: Initialize them.
+       (avr_operand) <pregno>: Add argument and set *pregno if function
+       is called for a register constraint.
+       [N]: Handle constraint.
+       (avr_operands) <avr_operand>: Pass 5th parameter to calls.
+       [avr_opt.have_gccisr]: Call avr_update_gccisr.  Call
+       avr_gccisr_operands instead of avr_operands.
+       (avr_update_gccisr, avr_emit_insn, avr_patch_gccisr_frag)
+       (avr_gccisr_operands, avr_check_gccisr_done): New static functions.
+       * testsuite/gas/avr/gccisr-01.d: New test.
+       * testsuite/gas/avr/gccisr-01.s: New test.
+       * testsuite/gas/avr/gccisr-02.d: New test.
+       * testsuite/gas/avr/gccisr-02.s: New test.
+       * testsuite/gas/avr/gccisr-03.d: New test.
+       * testsuite/gas/avr/gccisr-03.s: New test.
+
+2017-06-30  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (match_float_constant): Update description.
+       (match_operand): Likewise.
+
+2017-06-30  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (mips_ases): Add microMIPS XPA support.
+       * testsuite/gas/mips/micromips@xpa.d: New test.
+       * testsuite/gas/mips/mips.exp: Run the new test.  Enable
+       `xpa-virt-err' test for `micromips'.
+
+2017-06-30  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/micromips@r5.d: New test.
+       * testsuite/gas/mips/mips.exp: Run the new test.
+
+2017-06-30  Maciej W. Rozycki  <macro@imgtec.com>
+           Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * config/tc-mips.c (mips_set_ase): Handle the ASE_XPA_VIRT flag.
+       * testsuite/gas/mips/xpa.d: Remove `xpa' from `-M' in `objdump'
+       flags.  Add `-mvirt' to `as' flags.
+       * testsuite/gas/mips/xpa-err.d: New test.
+       * testsuite/gas/mips/xpa-virt-err.d: New test.
+       * testsuite/gas/mips/xpa-err.l: New stderr output.
+       * testsuite/gas/mips/xpa-virt-err.l: New stderr output.
+       * testsuite/gas/mips/xpa-err.s: New test source.
+       * testsuite/gas/mips/xpa-virt-err.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-06-29  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: Adjust for the
+       ASE_MIPS16E2_MT flag disassembler fix.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
+       Likewise.
+
+2017-06-29  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (mips_set_ase): Clear the ASE_MIPS16E2_MT
+       flag before recalculating.
+       * testsuite/gas/mips/mips16e2-mt-err.d: New test.
+       * testsuite/gas/mips/mips16e2-mt-err.l: New stderr output.
+       * testsuite/gas/mips/mips16e2-mt-err.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new test.
+
+2017-06-28  Tamar Christina  <tamar.christina@arm.com>
+
+       * config/tc-aarch64.c (aarch64_reg_parse_32_64): Accept 4B.
+       (aarch64_features): Added dotprod.
+       * doc/c-aarch64.texi: Added dotprod.
+       * testsuite/gas/aarch64/dotproduct.d: New.
+       * testsuite/gas/aarch64/dotproduct.s: New.
+
+2017-06-28  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-arm.c (fpu_neon_ext_dotprod): New variable.
+       (neon_scalar_for_mul): Improve comments.
+       (do_neon_dotproduct): New function to encode Dot Product instructions.
+       (do_neon_dotproduct_s): Wrapper function for signed Dot Product
+       instructions.
+       (do_neon_dotproduct_u): Wrapper function for unsigned Dot Product
+       instructions.
+       (insns): New entries for vsdot and vudot.
+       (arm_extensions): New entry for "dotprod".
+       * doc/c-arm.texi: Document new "dotprod" extension.
+       * testsuite/gas/arm/dotprod.s: New test source.
+       * testsuite/gas/arm/dotprod-illegal.s: New test source.
+       * testsuite/gas/arm/dotprod.d: New test.
+       * testsuite/gas/arm/dotprod-thumb2.d: New test.
+       * testsuite/gas/arm/dotprod-illegal.d: New test.
+       * testsuite/gas/arm/dotprod-legacy-arch.d: New test.
+       * testsuite/gas/arm/dotprod-illegal.l: New error file.
+       * testsuite/gas/arm/dotprod-legacy-arch.l: New error file.
+
 2017-06-28  Maciej W. Rozycki  <macro@imgtec.com>
 
        * testsuite/gas/mips/elf_mach_interaptiv-mr2.d: New test.
This page took 0.025859 seconds and 4 git commands to generate.