Symbols with octets value
[binutils-gdb.git] / gas / ChangeLog
index 8e012813a3610a60f1dd7642806be12b29f3a37d..274516cfd41e3914ae35cd99a307c1f1c65a2ccf 100644 (file)
@@ -1,3 +1,220 @@
+2019-03-13  Christian Eggers  <ceggers@gmx.de>
+
+       * symbols.h (symbol_temp_new_now_octets): Declare.
+       (symbol_set_value_now_octets, symbol_octets_p): Declare.
+       * symbols.c (struct symbol_flags): New member sy_octets.
+       (symbol_temp_new_now_octets): New function.
+       (resolve_symbol_value): Return octets instead of bytes if
+       sy_octets is set.
+       (symbol_set_value_now_octets): New function.
+       (symbol_octets_p): New function.
+
+2019-03-13  Christian Eggers  <ceggers@gmx.de>
+
+       * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
+
+2019-03-12  Andreas Krebbel  <krebbel@linux.ibm.com>
+
+       * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
+       * testsuite/gas/s390/zarch-arch13.d: Likewise.
+
+2019-02-27  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
+       * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
+       * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
+       * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
+       lines.
+       * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
+       * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
+
+2019-02-24  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
+
+2019-02-24  Alan Modra  <amodra@gmail.com>
+
+       PR 24144
+       * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
+       of section to ensure file contents cover aligned section size.
+
+2019-02-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/tc-arm.c (arm_cpus): Add neoverse-n1.
+       * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
+
+2019-02-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
+       * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
+
+2019-02-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
+       * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
+
+2019-02-19  Paul Hua  <paul.hua.gm@gmail.com>
+
+       * NEWS: Mention -m[no-]fix-loongson3-llsc.
+       * configure.ac: Add --enable-mips-fix-loongson3-llsc.
+       Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
+       * config.in: Regenerated.
+       * configure: Likewise.
+       * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
+       New variables.
+       (options): New OPTION_FIX_LOONGSON3_LLSC,
+       OPTION_NO_FIX_LOONGSON3_LLSC.
+       (md_longopts): Add -m[no-]fix-loongson3-llsc.
+       (md_begin): Initialize sync insn.
+       (fix_loongson3_llsc): New.
+       (append_insn): Call fix_loongson3_llsc.
+       (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
+       OPTION_NO_FIX_LOONGSON3_LLSC.
+       (md_show_usage): Display -m[no-]fix-loongson3-llsc.
+       * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
+       --enable-mips-fix-loongson3-llsc=[yes|no].
+
+2019-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/24165
+       * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
+       max_bytes.
+       * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
+       aarch64_init_frag.
+       * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
+       arm_init_frag.
+       * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
+       * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
+       * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
+       * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
+       * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
+       * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
+       * config/tc-rx.h (TC_FRAG_INIT): Likewise.
+       * config/tc-score.h (TC_FRAG_INIT): Likewise.
+       * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
+       * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
+       * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
+       * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
+       (alignment ? ((1 << alignment) - 1) : 1)
+       (i386_tc_frag_data): Add max_bytes.
+       (TC_FRAG_INIT): Add and track max_bytes.
+       (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
+       fragP->tc_frag_data.max_bytes.
+       * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
+
+2019-02-08  Jim Wilson  <jimw@sifive.com>
+
+       * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
+       (riscv_ip) <'C'>: Add 'z' support.
+
+2019-02-07  Tamar Christina  <tamar.christina@arm.com>
+
+       * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
+       hlt to armv1.
+       * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
+       * testsuite/gas/arm/hlt.d: New test.
+       * testsuite/gas/arm/hlt.s: New test.
+
+2019-02-07  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
+       * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
+
+2019-02-07  Tamar Christina  <tamar.christina@arm.com>
+
+       PR binutils/23212
+       * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
+       * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
+
+2019-02-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
+       64-bit boundaries for the GR6.
+       * testsuite/gas/visium/allinsn_gr6.s: Tweak.
+       * testsuite/gas/visium/allinsn_gr6.d: Likewise.
+       * testsuite/gas/visium/bra-1.d: New test.
+       * testsuite/gas/visium/bra-1.s: Likewise.
+       * testsuite/gas/visium/visium.exp: Run bra-1 test.
+
+2019-01-31  John Darrington <john@darrington.wattle.id.au>
+
+        * config/tc-s12z.c (lex_imm): Add new argument exp_o.
+       (emit_reloc): New function.
+       (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
+       can be either 2 bytes or 3 bytes long.
+       * testsuite/gas/s12z/mov-imm-reloc.d: New file.
+       * testsuite/gas/s12z/mov-imm-reloc.s: New file.
+       * testsuite/gas/s12z/s12z.exp: Add them.
+
+2019-01-31  John Darrington <john@darrington.wattle.id.au>
+
+       * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
+       * testsuite/gas/s12z/pc-rel-bad.d: New file.
+       * testsuite/gas/s12z/pc-rel-bad.l: New file.
+       * testsuite/gas/s12z/pc-rel-bad.s: New file.
+       * testsuite/gas/s12z/pc-rel-good.d: New file.
+       * testsuite/gas/s12z/pc-rel-good.s: New file.
+       * testsuite/gas/s12z/s12z.exp: Add them.
+
+2019-01-31  John Darrington <john@darrington.wattle.id.au>
+
+       * config/tc-s12z.c (tfr): Emit warning if operands are the same.
+       * testsuite/gas/s12z/exg.d: New test case.
+       * testsuite/gas/s12z/exg.l: New file.
+
+2019-01-31  John Darrington <john@darrington.wattle.id.au>
+
+       * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
+       immediate mode operands should be permitted.
+       * testsuite/s12z/imm-dest.d: New file.
+       * testsuite/s12z/imm-dest.l: New file.
+       * testsuite/s12z/imm-dest.s: New file.
+       * testsuite/s12z/s12z.exp: Add them.
+
+2019-01-31  Andreas Krebbel  <krebbel@linux.ibm.com>
+
+       * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
+       * doc/c-s390.texi: Document arch13 march option.
+       * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
+       * testsuite/gas/s390/zarch-arch13.d: New test.
+       * testsuite/gas/s390/zarch-arch13.s: New test.
+       * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
+       also for z13.
+
+2019-01-31  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-alpha.c (md_apply_fix): Correct range checks for
+       BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
+       * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
+       * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
+
+2019-01-28  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
+       symbols as done in md_apply_fix.
+       * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
+
+2019-01-28  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+       * po/ru.po: Updated Russian translation.
+
+2019-01-28  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac (ac_checking): Set from bfd/development.sh
+       development variable.
+       * configure: Regenerate.
+
+2019-01-25  Sudakshina Das  <sudi.das@arm.com>
+
+       * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
+       stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
+       * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
+       stg, stzg, st2g and stz2g.
+       * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
+
 2019-01-25  Sudakshina Das  <sudi.das@arm.com>
 
        * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.