libtool.m4: fix the NM="/nm/over/here -B/option/with/path" case
[binutils-gdb.git] / gas / ChangeLog
index 11693d33182131d27e345f8c7f46ead2cca1404e..c6f177bf23c6c35dfde379de65d17ea50a1ad116 100644 (file)
@@ -1,3 +1,371 @@
+2022-03-21  Nick Clifton  <nickc@redhat.com>
+
+       PR 28791
+       * config/tc-z80.c (emit_data_val): Do not warn about overlarge
+       constants generated by bit manipulation operators.
+       * testsuite/gas/z80/pr28791.s: New test source file.
+       * testsuite/gas/z80/pr28791.d: New test driver file.
+
+2022-01-28  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2022-01-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/uk.po: Updated Ukranian translation.
+
+2022-01-22  Nick Clifton  <nickc@redhat.com>
+
+       * configure: Regenerate.
+       * po/gas.pot: Regenerate.
+
+2022-01-22  Nick Clifton  <nickc@redhat.com>
+
+       * 2.38 release branch created.
+
+2022-01-17  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.in: Regenerate.
+       * po/gas.pot: Regenerate.
+
+2022-01-17  Sergey Belyashov  <sergey.belyashov@gmail.com>
+
+       PR 28762
+       * app.c (do_scrub_chars): Correct handling when the symbol is not 'af'.
+
+2021-12-16  Nick Clifton  <nickc@redhat.com>
+
+       PR 28686
+       * config/tc-avr.h (tc_fix_adjustable): Define.
+       * config/tc-avr.c (avr_fix_adjustable): New function.
+       * testsuite/gas/all/gas.exp: Skip tests that need adjustable fixups.
+       * testsuite/gas/elf/elf.exp: Likewise.
+       * testsuite/gas/avr/diffreloc_withrelax.d: Adjust expected output.
+       * testsuite/gas/avr/pc-relative-reloc.d: Adjust expected output.
+
+2021-11-26  Tom de Vries  <tdevries@suse.de>
+
+       PR 28629
+       * dwarf2dbg.c (out_dir_and_file_list): When copying file 1 to file 0,
+       also copy dir and md5 fields.
+       * testsuite/gas/i386/dwarf5-line-4.d: Adjust expected output.
+
+2021-11-18  Nick Clifton  <nickc@redhat.com>
+
+       * as.c (parse_args): Add support for --multibyte-handling.
+       * as.h (multibyte_handling): Declare.
+       * app.c (scan_for_multibyte_characters): New function.
+       (do_scrub_chars): Call the new function if multibyte warning is
+       enabled.
+       * input-scrub,c (input_scrub_next_buffer): Call the multibyte
+       scanning function if multibyte warnings are enabled.
+       * symbols.c (struct symbol_flags): Add multibyte_warned bit.
+       (symbol_init): Call the multibyte scanning function if multibyte
+       symbol warnings are enabled.
+       (S_SET_SEGMENT): Likewise.
+       * NEWS: Mention the new feature.
+       * doc/as.texi: Document the new feature.
+       * testsuite/gas/all/multibyte.s: New test source file.
+       * testsuite/gas/all/multibyte1.d: New test driver file.
+       * testsuite/gas/all/multibyte1.l: New test expected output.
+       * testsuite/gas/all/multibyte2.d: New test driver file.
+       * testsuite/gas/all/multibyte2.l: New test expected output.
+       * testsuite/gas/all/gas.exp: Run the new tests.
+
+2021-11-15  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * doc/as.texi (File): Update description of .file 0 directive.
+       * dwarf2dbg.c (get_directory_table_entry): Remove obsolete comment
+       and pass file0_dirname in recursive call.
+       (allocate_filename_to_slot): Deal with a full path in the file name
+       if the index number is 0.
+       * testsuite/gas/elf/dwarf-5-file0.d: Fix pasto.
+       * testsuite/gas/elf/dwarf-5-file0-2.d: Likewise.
+       * testsuite/gas/elf/dwarf-5-file0-3.d: New file.
+       * testsuite/gas/elf/dwarf-5-file0-3.s: Likewise.
+       * testsuite/gas/elf/elf.exp: Run dwarf-5-file0-3.
+
+2021-10-28  Markus Klein  <markus.klein@sma.de>
+
+       PR 28436
+       * config/tc-arm.c (do_vfp_nsyn_push_pop_check): New function.
+       (do_vfp_nsyn_pop): Use the new function.
+       (do_vfp_nsyn_push): Use the new function.
+       * testsuite/gas/arm/v8_1m-mve.s: Add new instructions.
+       * testsuite/gas/arm/v8_1m-mve.d: Updated expected disassembly.
+
+2021-09-27  Nick Alcock  <nick.alcock@oracle.com>
+
+       * configure: Regenerate.
+
+2021-09-25  Peter Bergner  <bergner@linux.ibm.com>
+
+       * testsuite/gas/ppc/power5.s: New test.
+       * testsuite/gas/ppc/power5.d: Likewise.
+       * testsuite/gas/ppc/ppc.exp: Run it.
+       * testsuite/gas/ppc/power7.s: Remove tests for mfppr, mfppr32, mtppr
+       and mtppr32.
+       * testsuite/gas/ppc/power7.d: Likewise.
+
+2021-09-13  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-ia64.c (cross_section): Use obj_elf_section_name to
+       parse the section name.
+       * config/tc-mips.c (s_change_section): Likewise.
+
+2021-09-02  Nick Clifton  <nickc@redhat.com>
+
+       PR 28292
+       * config/tc-v850.c (handle_lo16): Also accept
+       BFD_RELOC_V850_LO16_SPLIT_OFFSET.
+       * testsuite/gas/v850/split-lo16.s: Add extra line.
+       * testsuite/gas/v850/split-lo16.d: Update expected disassembly.
+
+2021-08-11  Darius Galis  <darius.galis@cyberthorstudios.com>
+
+       * config/rx-parse.y (DECNT): Fixed typo.
+       * testsuite/gas/rx/dpopm.sm (DECNT): Fixed typo.
+       * testsuite/gas/rx/dpushm.sm (DECNT): Fixed typo.
+       * testsuite/gas/rx/macros.inc (DECNT): Fixed typo.
+
+2021-08-11  Nick Clifton  <nickc@redhat.com>
+
+       PR 28215
+       * config/tc-csky.c (md_apply_fix): Correctly handle a fixup that
+       involves an overlarge constant.
+
+2021-08-11  Matt Jacobson  <mhjacobson@me.com>
+
+       * config/tc-avr.c (enum options): Add option flag.
+       (struct option): Add option -mno-dollar-line-separator.
+       (md_parse_option): Adjust treatment of $ when option is present.
+       (usage): Mention the new option.
+       * config/tc-avr.h: Use avr_line_separator_chars.
+       * doc/c-avr.texi: Document the new option.
+
+2021-08-11  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-tic4x.c (tic4x_gen_to_words): Fix typo.
+
+2021-08-10  Nick Clifton  <nickc@redhat.com>
+
+       * po/ru.po: Updated Russian translation.
+
+2021-08-09  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2dbg.c (get_directory_table_entry): Ensure that dir[0]
+       contains current working directory.
+       (out_dir_and_file_list): Likewise.
+       * testsuite/gas/elf/dwarf-5-dir0.s: New test source file.
+       * testsuite/gas/elf/dwarf-5-dir0.d: New test driver.
+       * testsuite/gas/elf/elf.exp: Run the new test.
+       * testsuite/gas/elf/dwarf-5-file0.d: Adjust expected output.
+       * testsuite/gas/i386/dwarf5-line-1.d: Likewise.
+       * testsuite/gas/i386/dwarf5-line-2.d: Likewise.
+
+2021-07-14  Alan Modra  <amodra@gmail.com>
+
+       * write.c (TC_VALIDATE_FIX_SUB): Default to 0.
+       * config/tc-hppa.h (TC_VALIDATE_FIX_SUB): Define.
+       * config/tc-microblaze.h (TC_VALIDATE_FIX_SUB): Define.
+       * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define for ECOFF.
+       * config/tc-ppc.h (TC_VALIDATE_FIX_SUB): Don't define for ELF.
+       Do define for XCOFF.
+
+2021-07-14  Clément Chigot  <clement.chigot@atos.net>
+
+       * config/tc-ppc.c (ppc_change_debug_section): Update to
+       match new name's field.
+
+2021-07-12  Tucker  <tuckkern@sourceware@gmail.com>
+
+       PR 28054
+       * config/obj-elf.c (obj_elf_change_section): Set the
+       SEF_ELF_OCTETS flag on debug sections.
+
+2021-06-07  Andreas Krebbel  <krebbel@linux.ibm.com>
+
+       * testsuite/gas/s390/zarch-arch14.d: Add qpaci.
+       * testsuite/gas/s390/zarch-arch14.s: Add qpaci.
+
+2021-07-07  Nick Clifton  <nickc@redhat.com>
+
+       PR 28051
+       * config/tc-i386.c (offset_in_range): Reformat error messages in
+       order to fix problems when translating.
+       (md_assemble): Likewise.
+       * messages.c (as_internal_value_out_of_range): Likewise.
+       * read.c (emit_expr_with_reloc): Likewise.
+       * testsuite/gas/all/overflow.l Change expected output format.
+       * po/gas.pot: Regenerate.
+
+2021-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * configure: Regenerate.
+       * po/gas.pot: Regenerate.
+
+2021-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * 2.37 release branch created.
+
+2021-07-02  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-nds32.c (nds32_keyword_gpr): Don't declare.
+       (md_begin): Constify k.
+
+2021-07-02  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-nds32.c: Change all references of keyword_gpr to
+       nds32_keyword_gpr.
+
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/tc-microblaze.c (md_begin): Make opcode const.  Rename
+       opcodes to microblaze_opcodes.
+
+2021-07-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/tc-aarch64.c (struct templates): Make opcode const.
+       (md_assemble): Likewise.
+       (fill_instruction_hash_table): Likewise.
+
+2021-06-24  Clément Chigot  <clement.chigot@atos.net>
+
+       * config/tc-ppc.c (md_assemble): Update ppc_current_csect
+       alignment when finding prefixed instructions.
+
+2021-06-22  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-pj.c (md_apply_fix): Apply PJ_CODE_REL32 relocs.
+       * testsuite/gas/pj/ops.s: Update jsr, ret, getstatic,
+       putstatic, getfield, putfield, invokevirtual, invokespecial,
+       invokestatic, invokeinterface, goto_w, jsr_w assembly.  Delete
+       version 1 picojava opcodes.
+       * testsuite/gas/pj/ops.d: Match expected output.
+
+2021-06-19  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-z80.c (signed_overflow, unsigned_overflow): Avoid UB.
+
+2021-06-19  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/raw.s: Use 0 as pli constant.
+       * testsuite/gas/ppc/raw.d: Update to suit.
+
+2021-06-18  Jan Beulich  <jbeulich@suse.com>
+
+       * expr.c (symbol_lookup_or_make): New.
+       (operand): Use it.
+       * testsuite/gas/elf/startof.s, testsuite/gas/elf/startof.d: New.
+       * testsuite/gas/elf/elf.exp: Run new test.
+
+2021-06-17  Nick Clifton  <nickc@redhat.com>
+
+       PR 27904
+       * config/tc-aarch64.c (ldst_lo12_determine_real_reloc_type):
+       Generate a syntax error message if the reloc qualifier does not
+       match the instruction's size.
+
+2021-06-17  Clément Chigot  <clement.chigot@atos.net>
+
+       * config/tc-ppc.c (md_begin): Create bss section with dummy
+       symbol.
+       (ppc_frob_symbol): Output XTY_CM for bss csects.
+       (ppc_fix_adjustable): Adjust condition to avoid bss csects.
+
+2021-06-17  Clément Chigot  <clement.chigot@atos.net>
+
+       * config/tc-ppc.c (md_apply_fix): Adjust addend to nullify
+       section contents for BFD_RELOC_PPC_TLSM or
+       BFD_RELOC_PPC64_TLSM.
+       * testsuite/gas/ppc/xcoff-tlsm-32.d: New test.
+       * testsuite/gas/ppc/xcoff-tlsm-64.d: New test.
+       * testsuite/gas/ppc/xcoff-tlsm.s: New test.
+       * testsuite/gas/ppc/aix.exp: Run new tests.
+
+2021-06-16  Jan Beulich  <jbeulich@suse.com>
+
+       * read.c (parse_one_float): New.
+       (s_float_space, float_cons): Use it.
+       * testsuite/gas/all/float.s: Add .dc.*, .dcb.*, and .ds.* cases.
+
+2021-06-16  Jan Beulich  <jbeulich@suse.com>
+
+       * read.c (emit_expr_with_reloc): Adjust overflow check. Drop
+       hibit local variable.
+       * write.c (fixup_segment): Differentiate signed and non-signed
+       relocs in overflow check.
+       * testsuite/gas/all/overflow.s,
+       testsuite/gas/all/overflow.l: New.
+       * testsuite/gas/all/gas.exp: Run new test.
+
+2021-06-15  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (md_show_usage): Split ELF and PE/COFF parts
+       of object format controlling option. Add Mach-O to the latter.
+       * testsuite/gas/i386/i386.exp (gas_bfd64_check): Adjust
+       accordingly.
+
+2021-06-15  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (disp16, disp32, disp32s): Delete.
+       (optimize_disp, i386_finalize_displacement): Use
+       operand_type_and_not.
+       (build_modrm_byte): Likewise. Eliminate local variable newdisp.
+
+2021-06-15  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (offset_in_range): Bail early when mask would
+       cover all bits anyway.
+
+2021-06-15  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (optimize_disp): Generalize disp32 part of
+       the BFD64-only logic to also apply to non-64-bit code.
+       (i386_finalize_displacement): Use extend_to_32bit_address for
+       non-64-bit code. Drop now redundant O_constant checks.
+       * testsuite/gas/i386/disp-imm-32.s,
+       testsuite/gas/i386/disp-imm-32.d: New.
+       * testsuite/gas/i386/i386.exp: Run new test.
+
+2021-06-15  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (offset_in_range): Replace uses of
+       bfd_sprintf_vma.
+
+2021-06-15  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (offset_in_range): Adjust conditional.
+       * testsuite/gas/i386/disp-imm-16.s,
+       testsuite/gas/i386/disp-imm-16.l,
+       testsuite/gas/i386/disp-imm-64.s,
+       testsuite/gas/i386/disp-imm-64.l: New.
+       * testsuite/gas/i386/i386.exp: Run new tests.
+
+2021-06-15  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (i386_att_operand): Re-introduce (now
+       properly named) parens_not_balanced.
+       * testsuite/gas/i386/sib.s: Add more cases.
+       * testsuite/gas/i386/sib.d, testsuite/gas/i386/sib-intel.d:
+       Adjust expectations.
+
+2021-06-14  Jan Beulich  <jbeulich@suse.com>
+
+       * read.c (emit_expr_with_reloc): Fold three as_warn().
+
+2021-06-14  Jan Beulich  <jbeulich@suse.com>
+
+       * doc/internals.texi (TC_ADDRESS_BYTES): Mention generic default.
+       * read.c (potable, cons_worker): Drop TC_ADDRESS_BYTES
+       conditional.
+
+2021-06-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (x86_cons): Handle GOT/PLT relocations only
+       if needed.
+       * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Always define.
+
 2021-06-11  Nelson Chu  <nelson.chu@sifive.com>
 
        * config/tc-riscv.c (riscv_set_arch): Call riscv_set_rvc
 2021-06-11  Nelson Chu  <nelson.chu@sifive.com>
 
        * config/tc-riscv.c (riscv_set_arch): Call riscv_set_rvc
        * testsuite/gas/mips/mips2@cp3m.d: New test.
        * testsuite/gas/mips/r3000@cp3m.d: New test.
        * testsuite/gas/mips/r3900@cp3m.d: New test.
        * testsuite/gas/mips/mips2@cp3m.d: New test.
        * testsuite/gas/mips/r3000@cp3m.d: New test.
        * testsuite/gas/mips/r3900@cp3m.d: New test.
-       * testsuite/gas/mips/mips2@cp3d.d: New test.
+       * testsuite/gas/mips/mips2@cp3d.d: New test.
        * testsuite/gas/mips/cp0b.l: New test stderr output.
        * testsuite/gas/mips/cp0bl.l: New test stderr output.
        * testsuite/gas/mips/cp0c.l: New test stderr output.
        * testsuite/gas/mips/cp0b.l: New test stderr output.
        * testsuite/gas/mips/cp0bl.l: New test stderr output.
        * testsuite/gas/mips/cp0c.l: New test stderr output.
 
 For older changes see ChangeLog-2020
 \f
 
 For older changes see ChangeLog-2020
 \f
-Copyright (C) 2021 Free Software Foundation, Inc.
+Copyright (C) 2021-2022 Free Software Foundation, Inc.
 
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
 
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright