gas: xtensa: merge trampoline_frag into xtensa_frag_type
[binutils-gdb.git] / gas / ChangeLog
index fbe7896af3ab0c4e2e55d5f9c47cf3c10b98a953..fff3dedc2862b50692459ecfc93cbe494387c4dd 100644 (file)
@@ -1,3 +1,123 @@
+2017-11-27  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (init_trampoline_frag): Replace pointer to
+       struct trampoline_frag parameter with pointer to fragS.
+       (xg_append_jump): Remove jump_around parameter.
+       (struct trampoline_frag): Remove.
+       (struct trampoline_seg): Change type of trampoline_list from
+       struct trampoline_frag to fragS.
+       (xtensa_create_trampoline_frag): Don't allocate struct
+       trampoline_frag. Initialize new fragS::tc_frag_data fields.
+       (dump_trampolines, xg_relax_trampoline, search_trampolines)
+       (get_best_trampoline, init_trampoline_frag)
+       (add_jump_to_trampoline, relax_frag_immed): Replace pointer to
+       struct trampoline_frag with a pointer to fragS.
+       (xg_append_jump): Remove jump_around parameter, use
+       fragS::tc_frag_data.jump_around_fix instead.
+       (xg_relax_trampoline, init_trampoline_frag)
+       (add_jump_to_trampoline): Don't pass jump_around parameter to
+       xg_append_jump.
+       * config/tc-xtensa.h (struct xtensa_frag_type): Add new fields:
+       needs_jump_around, next_trampoline and jump_around_fix.
+
+2017-11-27  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (find_trampoline_seg): Move above the first
+       use.
+       (xtensa_create_trampoline_frag): Replace trampoline seg search
+       code with a call to find_trampoline_seg.
+
+2017-11-27  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (xg_append_jump): New function.
+       (xg_relax_trampoline, init_trampoline_frag)
+       (add_jump_to_trampoline): Replace trampoline jump assembling
+       code with a call to xg_append_jump.
+
+2017-11-27  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (xg_relax_trampoline): New function.
+       (xtensa_relax_frag): Replace trampoline relaxation code with a
+       call to xg_relax_trampoline.
+
+2017-11-27  Nick Clifton  <nickc@redhat.com>
+
+       PR 22492
+       * config/obj-elf.c (obj_elf_version): Set the alignment of the
+       .note section.
+
+2017-11-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/sse-noavx.s: Add tests for fisttps and
+       fisttpl.
+       * testsuite/gas/i386/x86-64-sse-noavx.s: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-sse-noavx.d: Updated.
+       * testsuite/gas/i386/sse-noavx.d: Likewise.
+       * testsuite/gas/i386/x86-64-sse-noavx.d: Likewise.
+
+2017-11-24  Jim Wilson  <jimw@sifive.com>
+
+       * write.h (FAKE_LABEL_CHAR): Expand comment.
+
+2017-11-24  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (check_VecOperations): Check register type
+       for masking. Quote the actual register name in the respective
+       diagnostic. Check {z} wasn't specified on its own.
+       * testsuite/gas/i386/inval-avx512f.s,
+       testsuite/gas/i386/x86-64-inval-avx512f.s: Add further bad
+       masking tests.
+       * testsuite/gas/i386/inval-avx512f.l,
+       testsuite/gas/i386/x86-64-inval-avx512f.l: Adjust expectations.
+
+2017-11-24  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/intel.d, testsuite/gas/i386/opcode.d,
+       testsuite/gas/i386/opcode-suffix.d, testsuite/gas/i386/sse3.d,
+       testsuite/gas/i386/sse-noavx.d, testsuite/gas/i386/x86-64-sse3.d,
+       testsuite/gas/i386/x86-64-sse-noavx.d,
+       testsuite/gas/i386/ilp32/x86-64-sse3.d,
+       testsuite/gas/i386/ilp32/x86-64-sse-noavx.d: Adjust expectations.
+
+2017-11-23  Jim Wilson  <jimw@sifive.com>
+
+       * testsuite/gas/all/err-fakelabel.s (dg-error): Also accept fatal error
+       string.
+
+       * as.c (INITIALIZING_EMULS): Define.
+       * config/obj-multi.h (FAKE_LABEL_NAME): When INITIALIZING_EMULS set,
+       don't define it.
+
+2017-11-23  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
+
+       * testsuite/gas/i386/avx512f_vaes-intel.d: Regenerate.
+       * testsuite/gas/i386/avx512f_vaes.d: Likewise.
+       * testsuite/gas/i386/avx512f_vaes-wig1-intel.d: Likewise.
+       * testsuite/gas/i386/avx512f_vaes-wig1.d: Likewise.
+       * testsuite/gas/i386/avx512vl_vaes-intel.d: Likewise.
+       * testsuite/gas/i386/avx512vl_vaes.d: Likewise.
+       * testsuite/gas/i386/x86-64-avx512f_vaes.s: Add instructions with
+       disp8*N.
+       * testsuite/gas/i386/x86-64-avx512f_vaes-intel.d: Regenerate.
+       * testsuite/gas/i386/x86-64-avx512f_vaes.d: Likewise.
+       * testsuite/gas/i386/x86-64-avx512f_vaes-wig.s: Add instructions with
+       disp8*N.
+       * testsuite/gas/i386/x86-64-avx512f_vaes-wig1-intel.d: Regenerate.
+       * testsuite/gas/i386/x86-64-avx512f_vaes-wig1.d: Likewise.
+       * testsuite/gas/i386/x86-64-avx512vl_vaes-intel.d: Regenerate.
+       * testsuite/gas/i386/x86-64-avx512vl_vaes.d: Likewise.
+       * testsuite/gas/i386/x86-64-avx512vl_vaes-wig.s: Add instructions with
+       disp8*N.
+       * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1-intel.d: Regenerate.
+       * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1.d: Regenerate.
+
+2017-11-23  Jan Beulich  <jbeulich@suse.com>
+
+       * tc-i386.c (check_VecOperands): Don't clear .disp16.
+       * testsuite/gas/i386/avx512f.s: Add 16-bit addressing tests.
+       * testsuite/gas/i386/avx512f.d,
+       testsuite/gas/i386/avx512f-intel.d: Adjust expectations.
+
 2017-11-23  Jan Beulich  <jbeulich@suse.com>
 
        PR gas/22441