]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/ChangeLog
Re: Fix tight loop on recursively-defined symbols
[thirdparty/binutils-gdb.git] / gas / ChangeLog
index f821f3d53a0d433130b198c8087072144fc08da7..7fb6b5d0b4ba995e5de3b05faa45c4045a14d222 100644 (file)
@@ -1,3 +1,363 @@
+2020-05-18  Alan Modra  <amodra@gmail.com>
+
+       * symbols.c (resolve_symbol_value): Invoke LOCAL_SYMBOL_CHECK
+       before looking at add_symbol->sy_flags.
+
+2020-05-18  Hongtao Liu  <hongtao.liu@intel.com>
+
+       * config/tc-i386.c: Not handle lret/iret.
+       * testsuite/gas/i386/lfence-ret-a.d: Adjust testcase.
+       * testsuite/gas/i386/lfence-ret-b.d: Ditto.
+       * testsuite/gas/i386/lfence-ret-c.d: Ditto.
+       * testsuite/gas/i386/lfence-ret-d.d: Ditto.
+       * testsuite/gas/i386/lfence-ret.s: Ditto.
+       * testsuite/gas/i386/x86-64-lfence-ret-a.d: Ditto.
+       * testsuite/gas/i386/x86-64-lfence-ret-b.d: Ditto.
+       * testsuite/gas/i386/x86-64-lfence-ret-c.d: Ditto.
+       * testsuite/gas/i386/x86-64-lfence-ret-d.d: Ditto.
+       * testsuite/gas/i386/x86-64-lfence-ret-e.d: Ditto.
+       * testsuite/gas/i386/x86-64-lfence-ret.s: Ditto.
+       * testsuite/gas/i386/x86-64-lfence-ret.e: Deleted.
+
+2020-05-15  Alan Modra  <amodra@gmail.com>
+           Alex Coplan  <alex.coplan@arm.com>
+
+       * symbols.c (struct local_symbol): Update comment.
+       (resolve_symbol_value): For resolved symbols equated to other
+       symbols, verify that the referenced symbol is not a local_symbol
+       before accessing sy_value.  Don't leave symbol loops during
+       finalize_syms resolution.
+       * testsuite/gas/all/assign-bad-recursive.d: New test.
+       * testsuite/gas/all/assign-bad-recursive.l: Error output for test.
+       * testsuite/gas/all/assign-bad-recursive.s: Assembly for test.
+       * testsuite/gas/all/gas.exp: Run it.
+
+2020-05-14  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/scalarquad.d,
+       * testsuite/gas/ppc/scalarquad.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/rightmost.d,
+       * testsuite/gas/ppc/rightmost.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/xvtlsbb.d,
+       * testsuite/gas/ppc/xvtlsbb.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/stringop.d,
+       * testsuite/gas/ppc/stringop.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Peter Bergner  <bergner@linux.ibm.com>
+
+       * testsuite/gas/ppc/set_bool.d,
+       * testsuite/gas/ppc/set_bool.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/bitmanip.d,
+       * testsuite/gas/ppc/bitmanip.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/genpcv.d,
+       * testsuite/gas/ppc/genpcv.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/maskmanip.d,
+       * testsuite/gas/ppc/maskmanip.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+           Peter Bergner  <bergner@linux.ibm.com>
+
+       * config/tc-ppc.c (pre_defined_registers): Add accumulators.
+       (md_assemble): Check acc specified in correct operand.
+       * testsuite/gas/ppc/outerprod.d,
+       * testsuite/gas/ppc/outerprod.s,
+       * testsuite/gas/ppc/vsx4.d,
+       * testsuite/gas/ppc/vsx4.s: New tests.
+       * testsuite/gas/ppc/ppc.exp: Run them.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/simd_perm.d,
+       * testsuite/gas/ppc/simd_perm.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/int128.d,
+       * testsuite/gas/ppc/int128.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/vsx_32byte.d,
+       * testsuite/gas/ppc/vsx_32byte.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/vec_mul.s,
+       * testsuite/gas/ppc/vec_mul.d: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Peter Bergner  <bergner@linux.ibm.com>
+
+       * testsuite/gas/ppc/byte_rev.d,
+       * testsuite/gas/ppc/byte_rev.s: New test.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Peter Bergner  <bergner@linux.ibm.com>
+
+       * testsuite/gas/ppc/power10.d: Add paste. tests.
+       * testsuite/gas/ppc/power10.s: Likewise.
+
+2020-05-11  Peter Bergner  <bergner@linux.ibm.com>
+
+       * testsuite/gas/ppc/power10.s: New test.
+       * testsuite/gas/ppc/power10.d: Likewise.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_assemble): Update for PPC_OPCODE_POWER10
+       renaming.
+       * testsuite/gas/ppc/prefix-align.d: Use -mpower10/-Mpower10 in
+       place of -mfuture/-Mfuture.
+       * testsuite/gas/ppc/prefix-pcrel.d: Likewise.
+       * testsuite/gas/ppc/prefix-reloc.d: Likewise.
+
+2020-05-06  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2020-05-06  Nick Clifton  <nickc@redhat.com>
+
+       PR 25927
+       * doc/as.texi (Preprocessing): Replace cross reference to not
+       existant document with a URL to the equivalent page in the GCC
+       manual.
+
+2020-05-05  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2dbg.c (out_dir_and_file_list): Add comments describing the
+       construction of a DWARF-5 directory name table.
+       * testsuite/gas/elf/pr25917.d: Update expected output.
+
+2020-05-05  Gunther Nikl <gnikl@justmail.de>
+
+       * config/tc-rx.c (elf_flags): Initialize for non-linux targets.
+       (md_parse_option): Remove initialization of elf_flags.
+
+2020-05-04  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       PR gas/25863
+       * config/tc-arm.c (do_mve_vmull): Fix scalar and NEON parsing of vmul.
+       * testsuite/gas/arm/mve-scalar-vmult-it.d: New test.
+       * testsuite/gas/arm/mve-scalar-vmult-it.s: New test.
+
+2020-05-04  Nick Clifton  <nickc@redhat.com>
+
+       PR 25917
+       * dwarf2dbg.c (out_dir_and_file_list): Check for the directory
+       table's existence before looking at its entries.
+       Also do not emit a default directory entry if there are no
+       directories in use.
+
+       * testsuite/gas/elf/pr25917.s: New test source file.
+       * testsuite/gas/elf/pr25917.d: New test driver.
+       * testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test.
+
+2020-04-30  Alex Coplan  <alex.coplan@arm.com>
+
+       * config/tc-aarch64.c (fix_insn): Implement for
+       AARCH64_OPND_UNDEFINED.
+       (parse_operands): Implement for AARCH64_OPND_UNDEFINED.
+       * testsuite/gas/aarch64/udf.s: New.
+       * testsuite/gas/aarch64/udf.d: New.
+       * testsuite/gas/aarch64/udf-invalid.s: New.
+       * testsuite/gas/aarch64/udf-invalid.l: New.
+       * testsuite/gas/aarch64/udf-invalid.d: New.
+
+2020-04-30  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * config/tc-rx.c (elf_flags): Reset default value.
+       (md_parse_option): For rx-elf Initialize elf_flags with RX_ABI.
+
+2020-04-29  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (XTENSA_MARCH_EARLIEST): Define macro as 0
+       if it's not defined.
+       (microarch_earliest): New static variable.
+       (xg_translate_idioms): Translate "simcall" to "simcall 0" when
+       simcall opcode has mandatory parameter.
+       (xg_init_global_config): Initialize microarch_earliest.
+
+2020-04-29  Nick Clifton  <nickc@redhat.com>
+
+       PR 22699
+       * config/tc-sh.c (build_Mytes): Change operand type IMM0_8 to
+       IMM0_8S and add support for IMM0_8U.
+       * testsuite/gas/sh/sh4a.s: Add test of a logical insn using an
+       unsigned 8-bit immediate.
+       * testsuite/gas/sh/sh4a.d: Extended expected disassembly.
+       * testsuite/gas/sh/sh4al-dsp.d: Update expected disassembly.
+
+2020-04-27  Tamar Christina  <tamar.christina@arm.com>
+
+       * NEWS: Add news entry for big-obj.
+       * config/tc-i386.c (i386_target_format): Support new format.
+       * doc/c-i386.texi: Add i386 support.
+       * testsuite/gas/pe/big-obj.d: Rename test to not be x64 specific.
+       * testsuite/gas/pe/pe.exp (big-obj): Make test run on i386 as well.
+
+2020-04-27  Nick Clifton  <nickc@redhat.com>
+
+       PR 25878
+       * dwarf2dbg.c (struct file_entry): Add auto_assigned field.
+       (assign_file_to_slot): New function.  Fills in an entry in the
+       files table.
+       (allocate_filenum): Use new function.
+       (allocate_filename_to_slot): Use new function.  If the specified
+       slot entry is already in use, but was chosen automatically then
+       reassign the automatic entry.
+
+2020-04-26  Hongtao Liu  <hongtao.liu@intel.com
+
+       * config/tc-i386.c (lfence_before_ret_shl): New member.
+       (load_insn_p): implict load for POP/POPA/POPF/XLATB, no load
+       for Anysize insns.
+       (insert_after_load): Issue warning for REP CMPS/SCAS.
+       (insert_before_before): Handle iret, Handle
+       -mlfence-before-ret=shl, Adjust operand size of or/not/shl to ret's,
+       (md_parse_option): Change -mlfence-before-ret=[none|not|or] to
+       -mlfence-before-ret=[none/not/or/shl/yes].
+       Enable -mlfence-before-ret=shl when
+       -mlfence-beofre-indirect-branch=all and no explict -mlfence-before-ret option.
+       (md_show_usage): Ditto.
+       * doc/c-i386.texi: Ditto.
+       * testsuite/gas/i386/i386.exp: Add new testcases.
+       * testsuite/gas/i386/lfence-load-b.d: New.
+       * testsuite/gas/i386/lfence-load-b.e: New.
+       * testsuite/gas/i386/lfence-load.d: Modified.
+       * testsuite/gas/i386/lfence-load.e: New.
+       * testsuite/gas/i386/lfence-load.s: Modified.
+       * testsuite/gas/i386/lfence-ret-a.d: Modified.
+       * testsuite/gas/i386/lfence-ret-b.d: Modified.
+       * testsuite/gas/i386/lfence-ret-c.d: New.
+       * testsuite/gas/i386/lfence-ret-d.d: New.
+       * testsuite/gas/i386/lfence-ret.s: Modified.
+       * testsuite/gas/i386/x86-64-lfence-load-b.d: New.
+       * testsuite/gas/i386/x86-64-lfence-load.d: Modified.
+       * testsuite/gas/i386/x86-64-lfence-load.s: Modified.
+       * testsuite/gas/i386/x86-64-lfence-ret-a.d: Modified.
+       * testsuite/gas/i386/x86-64-lfence-ret-b.d: Modified.
+       * testsuite/gas/i386/x86-64-lfence-ret-c.d: New.
+       * testsuite/gas/i386/x86-64-lfence-ret-d.d: New
+       * testsuite/gas/i386/x86-64-lfence-ret-e.d: New.
+       * testsuite/gas/i386/x86-64-lfence-ret.e: New.
+       * testsuite/gas/i386/x86-64-lfence-ret.s: New.
+
+2020-04-22  Max Filippov  <jcmvbkbc@gmail.com>
+
+       PR ld/25861
+       * config/tc-xtensa.c (md_apply_fix): Replace
+       BFD_RELOC_XTENSA_DIFF{8,16,32} generation with
+       BFD_RELOC_XTENSA_PDIFF{8,16,32} and
+       BFD_RELOC_XTENSA_NDIFF{8,16,32} generation.
+       * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16
+       with BFD_RELOC_XTENSA_PDIFF16 in the expected output.
+
+2020-04-22  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (elf_frob_symbol): Unconditionally remove
+       symbol for ".symver .. remove".
+       * doc/as.texi (.symver): Update.
+       * testsuite/gas/symver/symver11.s: Make foo weak.
+       * testsuite/gas/symver/symver11.d: Expect an error.
+       * testsuite/gas/symver/symver7.d: Allow other random symbols.
+
+2020-04-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/symver/symver11.s: Add ".balign 8".
+
+2020-04-21  Andreas Schwab  <schwab@linux-m68k.org>
+
+       PR 25848
+       * testsuite/gas/m68k/operands.s: Add tests for cmpi.
+       * testsuite/gas/m68k/operands.d: Update.
+       * testsuite/gas/m68k/op68000.d: Update for new error messages.
+
+2020-04-21  Tamar Christina  <tamar.christina@arm.com>
+
+       PR binutils/24753
+       * testsuite/gas/arm/pr24753.d: New test.
+       * testsuite/gas/arm/pr24753.s: New test.
+
+2020-04-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/23840
+       PR gas/25295
+       * NEWS: Mention .symver extension.
+       * config/obj-elf.c (obj_elf_find_and_add_versioned_name): New
+       function.
+       (obj_elf_symver): Call obj_elf_find_and_add_versioned_name to
+       add a version name.  Add local, hidden and remove visibility
+       support.
+       (elf_frob_symbol): Handle the list of version names.  Update the
+       original symbol to local, hidden or remove it from the symbol
+       table.
+       (elf_frob_file_before_adjust): Handle the list of version names.
+       * config/obj-elf.h (elf_visibility): New.
+       (elf_versioned_name_list): Likewise.
+       (elf_obj_sy): Change local to bitfield. Add rename, bad_version
+       and visibility.  Change versioned_name pointer to struct
+       elf_versioned_name_list.
+       * doc/as.texi: Update .symver directive.
+       * testsuite/gas/symver/symver.exp: Run all *.d tests.  Add more
+       error checking tests.
+       * testsuite/gas/symver/symver6.d: New file.
+       * testsuite/gas/symver/symver7.d: Likewise.
+       * testsuite/gas/symver/symver7.s: Likewise.
+       * testsuite/gas/symver/symver8.d: Likewise.
+       * testsuite/gas/symver/symver8.s: Likewise.
+       * testsuite/gas/symver/symver9.s: Likewise.
+       * testsuite/gas/symver/symver9a.d: Likewise.
+       * testsuite/gas/symver/symver9b.d: Likewise.
+       * testsuite/gas/symver/symver10.s: Likewise.
+       * testsuite/gas/symver/symver10a.d: Likewise.
+       * testsuite/gas/symver/symver10b.d: Likewise.
+       * testsuite/gas/symver/symver11.d: Likewise.
+       * testsuite/gas/symver/symver11.s: Likewise.
+       * testsuite/gas/symver/symver12.d: Likewise.
+       * testsuite/gas/symver/symver12.s: Likewise.
+       * testsuite/gas/symver/symver13.d: Likewise.
+       * testsuite/gas/symver/symver13.s: Likewise.
+       * testsuite/gas/symver/symver14.d: Likewise.
+       * testsuite/gas/symver/symver14.l: Likewise.
+       * testsuite/gas/symver/symver15.d: Likewise.
+       * testsuite/gas/symver/symver15.l: Likewise.
+       * testsuite/gas/symver/symver6.l: Removed.
+       * testsuite/gas/symver/symver6.s: Updated.
+
 2020-04-20  Sudakshina Das  <sudi.das@arm.com>
 
        * config/tc-aarch64.c (parse_barrier_psb): Update error messages