gas: error for section type, attr, or entsize change
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 28a964d596c0c6364639135053302eeb3353de4d..a07d9b7f35e064a0dfc4fbb3a87ce632a6291e4e 100644 (file)
@@ -1,3 +1,215 @@
+2020-02-10  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (obj_elf_change_section): Error for section
+       type, attr or entsize changes in assembly.
+       * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
+       * testsuite/gas/elf/section5.l: Update.
+
+2020-02-10  Alan Modra  <amodra@gmail.com>
+
+       * output-file.c (output_file_close): Do a normal close when
+       flag_always_generate_output.
+       * write.c (write_object_file): Don't stop output when
+       flag_always_generate_output.
+
+2020-02-07  Sergey Belyashov  <sergey.belyashov@gmail.com>
+
+       PR 25469
+       * config/tc-z80.c: Add -gbz80 command line option to generate code
+       for the GameBoy Z80.  Add support for generating DWARF.
+       * config/tc-z80.h: Add support for DWARF debug information
+       generation.
+       * doc/c-z80.texi: Document new command line option.
+       * testsuite/gas/z80/gbz80_all.d: New file.
+       * testsuite/gas/z80/gbz80_all.s: New file.
+       * testsuite/gas/z80/z80.exp: Run the new tests.
+       * testsuite/gas/z80/z80n_all.d: New file.
+       * testsuite/gas/z80/z80n_all.s: New file.
+       * testsuite/gas/z80/z80n_reloc.d: New file.
+
+2020-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/25381
+       * config/obj-elf.c (get_section): Also check
+       linked_to_symbol_name.
+       (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
+       (obj_elf_parse_section_letters): Handle the 'o' flag.
+       (build_group_lists): Renamed to ...
+       (build_additional_section_info): This.  Set elf_linked_to_section
+       from map_head.linked_to_symbol_name.
+       (elf_adjust_symtab): Updated.
+       * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
+       * doc/as.texi: Document the 'o' flag.
+       * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
+       * testsuite/gas/elf/section18.d: New file.
+       * testsuite/gas/elf/section18.s: Likewise.
+       * testsuite/gas/elf/section19.d: Likewise.
+       * testsuite/gas/elf/section19.s: Likewise.
+       * testsuite/gas/elf/section20.d: Likewise.
+       * testsuite/gas/elf/section20.s: Likewise.
+       * testsuite/gas/elf/section21.d: Likewise.
+       * testsuite/gas/elf/section21.l: Likewise.
+       * testsuite/gas/elf/section21.s: Likewise.
+
+2020-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention x86 assembler options to align branches for
+       binutils 2.34.
+
+2020-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
+       only for ELF targets.
+       * testsuite/gas/i386/unique.d: Don't xfail.
+       * testsuite/gas/i386/x86-64-unique.d: Likewise.
+
+2020-02-06  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/i386/unique.d: xfail for non-elf targets.
+       * testsuite/gas/i386/x86-64-unique.d: Likewise.
+
+2020-02-06  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
+       xfail, and rename test.
+       * testsuite/gas/elf/section12b.d: Likewise.
+       * testsuite/gas/elf/section16a.d: Likewise.
+       * testsuite/gas/elf/section16b.d: Likewise.
+
+2020-02-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/25380
+       * config/obj-elf.c (section_match): Removed.
+       (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
+       section_id.
+       (obj_elf_change_section): Replace info and group_name arguments
+       with match_p.  Also update the section ID and flags from match_p.
+       (obj_elf_section): Handle "unique,N".  Update call to
+       obj_elf_change_section.
+       * config/obj-elf.h (elf_section_match): New.
+       (obj_elf_change_section): Updated.
+       * config/tc-arm.c (start_unwind_section): Update call to
+       obj_elf_change_section.
+       * config/tc-ia64.c (obj_elf_vms_common): Likewise.
+       * config/tc-microblaze.c (microblaze_s_data): Likewise.
+       (microblaze_s_sdata): Likewise.
+       (microblaze_s_rdata): Likewise.
+       (microblaze_s_bss): Likewise.
+       * config/tc-mips.c (s_change_section): Likewise.
+       * config/tc-msp430.c (msp430_profiler): Likewise.
+       * config/tc-rx.c (parse_rx_section): Likewise.
+       * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
+       * doc/as.texi: Document "unique,N" in .section directive.
+       * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
+       * testsuite/gas/elf/section15.d: New file.
+       * testsuite/gas/elf/section15.s: Likewise.
+       * testsuite/gas/elf/section16.s: Likewise.
+       * testsuite/gas/elf/section16a.d: Likewise.
+       * testsuite/gas/elf/section16b.d: Likewise.
+       * testsuite/gas/elf/section17.d: Likewise.
+       * testsuite/gas/elf/section17.l: Likewise.
+       * testsuite/gas/elf/section17.s: Likewise.
+       * testsuite/gas/i386/unique.d: Likewise.
+       * testsuite/gas/i386/unique.s: Likewise.
+       * testsuite/gas/i386/x86-64-unique.d: Likewise.
+       * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
+
+2020-02-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
+
+2020-02-01  Anthony Green  <green@moxielogic.com>
+
+       * config/tc-moxie.c (md_begin): Don't force big-endian mode.
+
+2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
+       %tls_ldo.
+
+2020-01-31  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       PR gas/25472
+       * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
+       (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
+       +mve.
+       * testsuite/gas/arm/mve_dsp.d: New test.
+
+2020-01-31  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
+       rather than BFD_RELOC_NONE.
+
+2020-01-31  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
+
+       * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
+       to support VLDMIA instruction for MVE.
+       (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
+       instruction for MVE.
+       (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
+       instruction for MVE.
+       (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
+       instruction for MVE.
+       * testsuite/gas/arm/mve-ldst.d: New test.
+       * testsuite/gas/arm/mve-ldst.s: Likewise.
+
+2020-01-31  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+       * po/ru.po: Updated Russian translation.
+
+2020-01-31  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
+       .s for the movprfx.
+       * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
+       * testsuite/gas/aarch64/sve-movprfx_28.d,
+       * testsuite/gas/aarch64/sve-movprfx_28.l,
+       * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
+
+2020-01-30  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (output_disp): Tighten base_opcode check.
+       * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
+       * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
+       Adjust expectations.
+
+2020-01-30  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
+       * testsuite/gas/bpf/alu-be.d: Likewise.
+       * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
+       * testsuite/gas/bpf/alu32-be.d: Likewise.
+
+2020-01-30  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/x86-64-branch-2.s,
+       testsuite/gas/i386/x86-64-branch-4.s,
+       testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
+       * testsuite/gas/i386/ilp32/x86-64-branch.d,
+       testsuite/gas/i386/x86-64-branch-2.d,
+       testsuite/gas/i386/x86-64-branch-4.l,
+       testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
+
+2020-01-30  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (process_suffix): .
+       testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
+       testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
+       Add LRETQ case.
+       testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
+       suffix.
+       testsuite/gas/i386/x86_64.s: Add RETF cases.
+       * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
+       testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
+       testsuite/gas/i386/x86-64-opcode.d,
+       testsuite/gas/i386/x86-64-suffix-intel.d,
+       testsuite/gas/i386/x86-64-suffix.d,
+       testsuite/gas/i386/x86_64-intel.d
+       testsuite/gas/i386/x86_64.d: Adjust expectations.
+       * testsuite/gas/i386/x86-64-suffix.e,
+       testsuite/gas/i386/x86_64.e: New.
+
 2020-01-30  Jan Beulich  <jbeulich@suse.com>
 
        * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
This page took 0.024973 seconds and 4 git commands to generate.