x86: replace Reg8, Reg16, Reg32, and Reg64
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
dc821c5f
JB
12017-12-18 Jan Beulich <jbeulich@suse.com>
2
3 * config/tc-i386.c (operand_type_check, pi): Switch .reg<N> to
4 just .reg.
5 (operand_size_match): Qualify .anysize check with .reg one.
6 Extend .acc check to also cover .reg.
7 (operand_type_register_match): Drop m0 and m1 parameters. Switch
8 .reg<N> to .byte/.word/.dword/.qword. Drop .acc special
9 handling.
10 (md_assemble): Expand .reg8 checks to .reg plus .bytes ones.
11 (optimize_imm, process_suffix, check_byte_reg, check_long_reg,
12 check_qword_reg, check_word_reg): Expand .reg<N> checks to .reg
13 plus size ones.
14 (match_template): Drop arguments from calls to
15 operand_type_register_match().
16 (build_modrm_byte, i386_addressing_mode, i386_index_check,
17 parse_real_register): Replace .reg<N> checks.
18 * config/tc-i386-intel.c (i386_intel_simplify,
19 i386_intel_operand): Switch .reg16 to .word.
20
390c91cf
L
212017-12-17 H.J. Lu <hongjiu.lu@intel.com>
22
23 PR gas/22623
24 * gas/config/tc-i386.c (output_insn): Check pseudo prefix
25 without instruction.
26 * testsuite/gas/i386/i386.exp: Run inval-pseudo.
27 * testsuite/gas/i386/inval-pseudo.l: New file.
28 * testsuite/gas/i386/inval-pseudo.s: Likewise.
29
141975a1
JB
302017-12-15 Jan Beulich <jbeulich@suse.com>
31
32 * config/tc-i386.c (match_template): Add missing ! to
33 reg{x,y,z}mm checks in q- and l-suffix handling.
34
c5d0745b
JB
352017-12-15 Jan Beulich <jbeulich@suse.com>
36
37 * config/tc-i386.c (build_modrm_byte): Add missing ! to reg64
38 check leading to abort().
39
863f7a5f
NC
402017-12-14 Nick Clifton <nickc@redhat.com>
41
42 * config/tc-m32c.c: Update address of FSF in copyright notice.
43 * config/tc-m32c.h: Likewise.
44 * config/tc-mt.c: Likewise.
45 * config/tc-mt.h: Likewise.
46 * config/tc-visium.c: Likewise.
47 * config/tc-visium.h: Likewise.
48 * testsuite/gas/rx/explode: Likewise.
49
25982ee0
JW
502017-12-13 Jim Wilson <jimw@sifive.com>
51
52 PR 22599
53 * testsuite/gas/riscv/fsxxi.d, testsuite/gas/riscv/fsxxi.s: New.
54
024d185c
DD
552017-12-13 Dimitar Dimitrov <dimitar@dinux.eu>
56
57 * testsuite/gas/pru/extern.s: New test for print of U16_PMEMM
58 relocation.
59 * testsuite/gas/pru/extern.d: New test driver.
60
4b1c0f7e
AM
612017-12-12 Alan Modra <amodra@gmail.com>
62
63 PR 21118
64 * config/tc-ppc.c (md_assemble): Don't mask register number.
65
10af2a65
MF
662017-12-07 Max Filippov <jcmvbkbc@gmail.com>
67
68 * config/tc-xtensa.c (xg_order_trampoline_chain): Replace
69 xg_order_trampoline_chain_entry call with check for
70 canonicalized symbol equality and offset equality.
71
e21126b7
AM
722017-12-04 Alan Modra <amodra@gmail.com>
73
74 PR 22544
75 * doc/as.texinfo (8byte): Correct.
76
48f7f303
AM
772017-12-04 Alan Modra <amodra@gmail.com>
78
79 * testsuite/gas/ppc/ppc.exp: Don't exclude VLE tests when little-endian.
80 * testsuite/gas/ppc/efs.d: Add -mbig to assembler options.
81 * testsuite/gas/ppc/efs2.d: Likewise.
82 * testsuite/gas/ppc/lsp-checks.d: Likewise.
83 * testsuite/gas/ppc/lsp.d: Likewise.
84 * testsuite/gas/ppc/spe.d: Likewise.
85 * testsuite/gas/ppc/spe2-checks.d: Likewise.
86 * testsuite/gas/ppc/spe2.d: Likewise.
87 * testsuite/gas/ppc/spe_ambiguous.d: Likewise.
88 * testsuite/gas/ppc/vle-mult-ld-st-insns.d: Likewise.
89 * testsuite/gas/ppc/vle-reloc.d: Likewise.
90 * testsuite/gas/ppc/vle-simple-1.d: Likewise.
91 * testsuite/gas/ppc/vle-simple-2.d: Likewise.
92 * testsuite/gas/ppc/vle-simple-3.d: Likewise.
93 * testsuite/gas/ppc/vle-simple-4.d: Likewise.
94 * testsuite/gas/ppc/vle-simple-5.d: Likewise.
95 * testsuite/gas/ppc/vle-simple-6.d: Likewise.
96 * testsuite/gas/ppc/vle.d: Likewise.
97
fed44c60
JW
982017-12-03 Jim Wilson <jimw@sifive.com>
99
100 * doc/c-riscv.texi (RISC-V-Directives): Move @section immediately after
101 @node.
102
b57e49f7
JW
1032017-12-01 Palmer Dabbelt <palmer@sifive.com>
104 Jim Wilson <jimw@sifive.com>
105
106 * doc/as.texinfo (RISC-V): Alphabetize RISC-V entries. Change
107 RISC-V-Opts to RISC-V-Options. Delete redundant space. Add -fpic
108 and related options to option list.
109 * doc/c-riscv.texi: (RISC-V-Options): Renamed from RISC-V-Opts.
110 (RISC-V Options): Renamed from Options. Add missing period.
111 (-fpic): Also mention -fPIC.
112 (RISC-V Directives): New node.
113
0f873fd5
PB
1142017-12-01 Peter Bergner <bergner@vnet.ibm.com>
115
116 * config/tc-ppc.c (last_insn): Update type.
117 (insn_validate) <omask, mask>: Likewise.
118 (ppc_setup_opcodes) <mask, right_bit>: Likewise.
119 <PRINT_OPCODE_TABLE>: Update types and printf format specifiers.
120 (ppc_insert_operand): Update return and argument types and remove
121 unneeded type casts.
122 <min, max, right, tmp>: Update type.
123 (md_assemble): Remove unneeded type casts.
124 <insn, val, tmp_insn>: Update type.
125
b5014f7a
JB
1262017-11-29 Jan Beulich <jbeulich@suse.com>
127
128 * config/tc-i386.c (enum i386_error): Remove try_vector_disp8.
129 (mode_from_disp_size, build_modrm_byte, build_modrm_byte,
130 disp_size): Remove reference to .vec_disp8.
131 (output_disp): Likewise. Unconditionally use i.memshift.
132 (fits_in_vec_disp8): Rename to fits_in_disp8.
133 (type_names): Remove OPERAND_TYPE_VEC_DISP8 entry.
134 (optimize_disp): Use fits_in_disp8.
135 (check_VecOperands): Re-work (simplify) .disp8memshift
136 conditional handling.
137
fd4e0347
JB
1382017-11-29 Jan Beulich <jbeulich@suse.com>
139
140 PR gas/21874
141 * config/tc-i386-intel.c (i386_intel_simplify): Chain together
142 multiple segment override expressions.
143 (i386_intel_operand): Issue diagnostic for redundant segment
144 overrides.
145 * testsuite/gas/i386/intelok.e: New.
146 * testsuite/gas/i386/intelok.d: Reference intelok.e.
147 * testsuite/gas/i386/inval-seg.s: Add redundant override checks.
148 * testsuite/gas/i386/inval-seg.l: Adjust expectations.
149
f9233288 1502017-11-29 Jim Wilson <jimw@sifive.com>
6cf82998 151 Palmer Dabbelt <palmer@sifive.com>
f9233288 152
36877bfb
JW
153 * config/tc-riscv.c (riscv_frag_align_code): New local insn_alignment.
154 Early return if bytes less than or equal to insn_alignment.
155 * testsuite/gas/riscv/align-1.l: New.
156 * testsuite/gas/riscv/align-1.s: New.
157 * testsuite/gas/riscv/riscv.exp: Use run_dump_tests. Use run_list_test
158 for align-1.
159
f9233288
JW
160 PR gas/22464
161 * doc/c-i386.texi (-n): Clarify docs.
162
f10e937a
RL
1632017-11-29 Renlin Li <renlin.li@arm.com>
164
165 * config/tc-aarch64.c (reg_names): Fix IP1 register alias typo.
166 * testsuite/gas/aarch64/register_aliases.s: Add IP0 and IP1 tests.
167 * testsuite/gas/aarch64/register_aliases.d: Update.
168
ca39c2f4
SS
1692017-11-29 Stefan Stroe <stroestefan@gmail.com>
170
171 * po/Make-in (datadir): Define as @datadir@.
172 (localedir): Define as @localedir@.
173 (gnulocaledir, gettextsrcdir): Use @datarootdir@.
174
ed9c7ee0
NC
1752017-11-29 Nick Clifton <nickc@redhat.com>
176
177 PR 22492
178 * config/obj-elf.c (obj_elf_version): Use record_alignment rather
179 than bfd_set_section_alignment.
180
f0531ed6
JW
1812017-11-27 Andrew Waterman <andrew@sifive.com>
182 Palmer Dabbelt <palmer@sifive.com>
183 Jim Wilson <jimw@sifive.com>
184
f0531ed6
JW
185 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): New.
186 (riscv_ip): Cases 'k', 'l', 'm', 'n', 'M', 'N', add call to
187 riscv_handle_implicit_zero_offset. At label load_store, replace
188 existing code with call to riscv_handle_implicit_zero_offset.
189 * testsuite/gas/riscv/c-ld.d, testsuite/gas/riscv/c-ld.s: New.
190 * testsuite/gas/riscv/c-lw.d, testsuite/gas/riscv/c-lw.s: New.
191 * testsuite/gas/riscv/riscv.exp: Run new tests.
192
407e1140
MF
1932017-11-27 Max Filippov <jcmvbkbc@gmail.com>
194
195 * config/tc-xtensa.c (find_trampoline_seg): Add static variable
196 that caches the result of the most recent search.
197
148d6384
MF
1982017-11-27 Max Filippov <jcmvbkbc@gmail.com>
199
200 * config/tc-xtensa.c (trampoline_chain_entry, trampoline_chain)
201 (trampoline_chain_index): New structures.
202 (trampoline_index): Add chain_index field.
203 (xg_order_trampoline_chain_entry, xg_sort_trampoline_chain)
204 (xg_find_chain_entry, xg_get_best_chain_entry)
205 (xg_order_trampoline_chain, xg_get_trampoline_chain)
206 (xg_find_best_eq_target, xg_add_location_to_chain)
207 (xg_create_trampoline_chain, xg_get_single_symbol_slot): New
208 functions.
209 (xg_relax_fixups): Call xg_find_best_eq_target to adjust jump
210 target to point to an existing jump. Call
211 xg_create_trampoline_chain to create new jump target. Call
212 xg_add_location_to_chain to add newly created trampoline jump
213 to the corresponding chain.
214 (add_jump_to_trampoline): Extract loop searching for a single
215 slot with a symbol into a separate function, replace that code
216 with a call to that function.
217 (relax_frag_immed): Call xg_find_best_eq_target to adjust jump
218 target to point to an existing jump.
219 * testsuite/gas/xtensa/all.exp: Add trampoline-2 test.
220 * testsuite/gas/xtensa/trampoline.d: Adjust absolute addresses
221 as many duplicate trampoline chains are now coalesced.
222 * testsuite/gas/xtensa/trampoline.s: Add _nop so that objdump
223 stays in sync with instruction stream.
224 * testsuite/gas/xtensa/trampoline-2.l: New test result file.
225 * testsuite/gas/xtensa/trampoline-2.s: New test source file.
226
76a493ab
MF
2272017-11-27 Max Filippov <jcmvbkbc@gmail.com>
228
229 * config/tc-xtensa.c (search_trampolines, get_best_trampoline):
230 Remove definitions.
231 (xg_find_best_trampoline_for_tinsn): New function.
232 (relax_frag_immed): Replace call to get_best_trampoline with a
233 call to xg_find_best_trampoline_for_tinsn.
234 * testsuite/gas/xtensa/trampoline.d: Adjust absolute addresses
235 as the placement of trampolines for relaxed branches has been
236 changed.
237
fe6c2f1b
MF
2382017-11-27 Max Filippov <jcmvbkbc@gmail.com>
239
240 * config/tc-xtensa.c (trampoline_index): New structure.
241 (trampoline_seg): Replace trampoline list with trampoline index.
242 (xg_find_trampoline, xg_add_trampoline_to_index)
243 (xg_remove_trampoline_from_index, xg_add_trampoline_to_seg)
244 (xg_is_trampoline_frag_full, xg_get_fulcrum)
245 (xg_find_best_trampoline, xg_relax_fixup, xg_relax_fixups)
246 (xg_is_relaxable_fixup): New functions.
247 (J_MARGIN): New macro.
248 (xtensa_create_trampoline_frag): Use xg_add_trampoline_to_seg
249 instead of open-coded addition to the linked list.
250 (dump_trampolines): Iterate through the trampoline_seg::index.
251 (cached_fixupS, cached_fixup, fixup_cacheS, fixup_cache)
252 (fixup_order, xtensa_make_cached_fixup)
253 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups)
254 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup)
255 (xtensa_add_cached_fixup, check_and_update_trampolines): Remove
256 definitions.
257 (xg_relax_trampoline): Extract logic into separate functions,
258 replace body with a call to xg_relax_fixups.
259 (search_trampolines): Replace search in linked list with search
260 in index. Change data type of address-tracking variables from
261 int to offsetT. Replace abs with labs.
262 (xg_append_jump): Finish the trampoline frag if it's full.
263 (add_jump_to_trampoline): Remove trampoline frag from the index
264 if the frag is full.
265 * config/tc-xtensa.h (xtensa_frag_type): Remove next_trampoline.
266 * testsuite/gas/xtensa/trampoline.d: Adjust absolute addresses
267 as the placement of trampolines has slightly changed.
268 * testsuite/gas/xtensa/trampoline.s: Add _nop so that objdump
269 stays in sync with instruction stream.
270
46888d71
MF
2712017-11-27 Max Filippov <jcmvbkbc@gmail.com>
272
273 * config/tc-xtensa.c (init_trampoline_frag): Replace pointer to
274 struct trampoline_frag parameter with pointer to fragS.
275 (xg_append_jump): Remove jump_around parameter.
276 (struct trampoline_frag): Remove.
277 (struct trampoline_seg): Change type of trampoline_list from
278 struct trampoline_frag to fragS.
279 (xtensa_create_trampoline_frag): Don't allocate struct
280 trampoline_frag. Initialize new fragS::tc_frag_data fields.
281 (dump_trampolines, xg_relax_trampoline, search_trampolines)
282 (get_best_trampoline, init_trampoline_frag)
283 (add_jump_to_trampoline, relax_frag_immed): Replace pointer to
284 struct trampoline_frag with a pointer to fragS.
285 (xg_append_jump): Remove jump_around parameter, use
286 fragS::tc_frag_data.jump_around_fix instead.
287 (xg_relax_trampoline, init_trampoline_frag)
288 (add_jump_to_trampoline): Don't pass jump_around parameter to
289 xg_append_jump.
290 * config/tc-xtensa.h (struct xtensa_frag_type): Add new fields:
291 needs_jump_around, next_trampoline and jump_around_fix.
292
1c2649f5
MF
2932017-11-27 Max Filippov <jcmvbkbc@gmail.com>
294
295 * config/tc-xtensa.c (find_trampoline_seg): Move above the first
296 use.
297 (xtensa_create_trampoline_frag): Replace trampoline seg search
298 code with a call to find_trampoline_seg.
299
fec68fb1
MF
3002017-11-27 Max Filippov <jcmvbkbc@gmail.com>
301
302 * config/tc-xtensa.c (xg_append_jump): New function.
303 (xg_relax_trampoline, init_trampoline_frag)
304 (add_jump_to_trampoline): Replace trampoline jump assembling
305 code with a call to xg_append_jump.
306
120bc8b8
MF
3072017-11-27 Max Filippov <jcmvbkbc@gmail.com>
308
309 * config/tc-xtensa.c (xg_relax_trampoline): New function.
310 (xtensa_relax_frag): Replace trampoline relaxation code with a
311 call to xg_relax_trampoline.
312
e3d40582
NC
3132017-11-27 Nick Clifton <nickc@redhat.com>
314
315 PR 22492
316 * config/obj-elf.c (obj_elf_version): Set the alignment of the
317 .note section.
318
8e2495f2
L
3192017-11-26 H.J. Lu <hongjiu.lu@intel.com>
320
321 * testsuite/gas/i386/sse-noavx.s: Add tests for fisttps and
322 fisttpl.
323 * testsuite/gas/i386/x86-64-sse-noavx.s: Likewise.
324 * testsuite/gas/i386/ilp32/x86-64-sse-noavx.d: Updated.
325 * testsuite/gas/i386/sse-noavx.d: Likewise.
326 * testsuite/gas/i386/x86-64-sse-noavx.d: Likewise.
327
0fbc3568
JW
3282017-11-24 Jim Wilson <jimw@sifive.com>
329
330 * write.h (FAKE_LABEL_CHAR): Expand comment.
331
6d2cd6b2
JB
3322017-11-24 Jan Beulich <jbeulich@suse.com>
333
334 * config/tc-i386.c (check_VecOperations): Check register type
335 for masking. Quote the actual register name in the respective
336 diagnostic. Check {z} wasn't specified on its own.
337 * testsuite/gas/i386/inval-avx512f.s,
338 testsuite/gas/i386/x86-64-inval-avx512f.s: Add further bad
339 masking tests.
340 * testsuite/gas/i386/inval-avx512f.l,
341 testsuite/gas/i386/x86-64-inval-avx512f.l: Adjust expectations.
342
ac465521
JB
3432017-11-24 Jan Beulich <jbeulich@suse.com>
344
345 * testsuite/gas/i386/intel.d, testsuite/gas/i386/opcode.d,
346 testsuite/gas/i386/opcode-suffix.d, testsuite/gas/i386/sse3.d,
347 testsuite/gas/i386/sse-noavx.d, testsuite/gas/i386/x86-64-sse3.d,
348 testsuite/gas/i386/x86-64-sse-noavx.d,
349 testsuite/gas/i386/ilp32/x86-64-sse3.d,
350 testsuite/gas/i386/ilp32/x86-64-sse-noavx.d: Adjust expectations.
351
5f71e59e
JW
3522017-11-23 Jim Wilson <jimw@sifive.com>
353
c139731b
JW
354 * testsuite/gas/all/err-fakelabel.s (dg-error): Also accept fatal error
355 string.
356
5f71e59e
JW
357 * as.c (INITIALIZING_EMULS): Define.
358 * config/obj-multi.h (FAKE_LABEL_NAME): When INITIALIZING_EMULS set,
359 don't define it.
360
be7d1531
IT
3612017-11-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
362
363 * testsuite/gas/i386/avx512f_vaes-intel.d: Regenerate.
364 * testsuite/gas/i386/avx512f_vaes.d: Likewise.
365 * testsuite/gas/i386/avx512f_vaes-wig1-intel.d: Likewise.
366 * testsuite/gas/i386/avx512f_vaes-wig1.d: Likewise.
367 * testsuite/gas/i386/avx512vl_vaes-intel.d: Likewise.
368 * testsuite/gas/i386/avx512vl_vaes.d: Likewise.
369 * testsuite/gas/i386/x86-64-avx512f_vaes.s: Add instructions with
370 disp8*N.
371 * testsuite/gas/i386/x86-64-avx512f_vaes-intel.d: Regenerate.
372 * testsuite/gas/i386/x86-64-avx512f_vaes.d: Likewise.
373 * testsuite/gas/i386/x86-64-avx512f_vaes-wig.s: Add instructions with
374 disp8*N.
375 * testsuite/gas/i386/x86-64-avx512f_vaes-wig1-intel.d: Regenerate.
376 * testsuite/gas/i386/x86-64-avx512f_vaes-wig1.d: Likewise.
377 * testsuite/gas/i386/x86-64-avx512vl_vaes-intel.d: Regenerate.
378 * testsuite/gas/i386/x86-64-avx512vl_vaes.d: Likewise.
379 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig.s: Add instructions with
380 disp8*N.
381 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1-intel.d: Regenerate.
382 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1.d: Regenerate.
383
65f3ed04
JB
3842017-11-23 Jan Beulich <jbeulich@suse.com>
385
386 * tc-i386.c (check_VecOperands): Don't clear .disp16.
387 * testsuite/gas/i386/avx512f.s: Add 16-bit addressing tests.
388 * testsuite/gas/i386/avx512f.d,
389 testsuite/gas/i386/avx512f-intel.d: Adjust expectations.
390
43083a50
JB
3912017-11-23 Jan Beulich <jbeulich@suse.com>
392
393 PR gas/22441
394 * config/tc-i386.c (build_modrm_byte): Add address override
395 prefix checks alongside 64-bit mode ones.
396 * testsuite/gas/i386/reloc64.s: Add 32-bit signed/unsigned
397 relocation cases.
398 * testsuite/gas/i386/reloc64.d: Adjust expectations.
399
9bb129e8
JB
4002017-11-23 Jan Beulich <jbeulich@suse.com>
401
402 * config/tc-i386.c (build_modrm_byte): Drop VSIB handling from
403 code also setting fake_zero_displacement.
404
66f1eba0
JB
4052017-11-23 Jan Beulich <jbeulich@suse.com>
406
407 * testsuite/gas/i386/arch-4.s: Correct ud1 and ud2b. Add ud0.
408 * testsuite/gas/i386/intel.s: Test ud2 instead of ud2b.
409 * testsuite/gas/i386/opcode.s: Likewise.
410 * testsuite/gas/i386/arch-4.d, testsuite/gas/i386/intel.d,
411 testsuite/gas/i386/opcode.d, testsuite/gas/i386/opcode-intel.d,
412 testsuite/gas/i386/opcode-suffix.d: Adjust expectations.
413
38bf5113
JB
4142017-11-23 Jan Beulich <jbeulich@suse.com>
415
416 * config/tc-i386-intel.c (i386_intel_operand): Don't call
417 as_bad() if a prior error was already reported.
418 * testsuite/gas/i386/inval-avx512f.l,
419 testsuite/gas/i386/x86-64-inval-avx512f.l: Adjust expectations.
420
2ca23e65
JW
4212017-11-22 Jim Wilson <jimw@sifive.com>
422
2469b3c5
JW
423 * as.c: Include write.h.
424 (common_emul_init): Use FAKE_LABEL_NAME.
425 * ecoff.c (add_file, ecoff_directive_end, ecoff_directive_loc):
426 Likewise.
427 (ecoff_build_symbols): Use FAKE_LABEL_CHAR.
428 * expr.c (get_symbol_name): Use FAKE_LABEL_CHAR. Accept only if
429 input_from_string is TRUE.
430 * read.c (input_from_string): New.
431 (read_symbol_name): Use FAKE_LABEL_CHAR. Accept only if
432 input_from_string is TRUE.
433 (temp_ilp): Set input_from_string to TRUE.
434 (restore_ilp): Set input_from_string to FALSE.
435 * read.h (input_from_string): Declare.
436 * symbols.c: Include write.h
437 (S_IS_LOCAL): Check for FAKE_LABEL_CHAR.
438 (symbol_relc_make_sym): Fix comment refering to default fake label
439 string.
440 * write.h (FAKE_LABEL_CHAR): New.
441 * config/tc-riscv.h (FAKE_LABEL_CHAR): Define.
442 * testsuite/gas/all/err-fakelabel.s: New.
443
2ca23e65
JW
444 * doc/as.texinfo (.align): Change some to most for text nop fill.
445 (.balign, .p2align): Likewise.
446
5aa75429
TP
4472017-11-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
448
449 * config/tc-arm.c (arm_reg_type): Comment on the link with
450 reg_expected_msgs.
451 (reg_expected_msgs): Initialize using array designators with
452 arm_reg_type index.
453
dc958481 4542017-11-22 Claudiu Zissulescu <claziss@synopsys.com>
455
456 * testsuite/gas/arc/hregs-err.s: New test.
457
0ad71725
L
4582017-11-21 H.J. Lu <hongjiu.lu@intel.com>
459
460 PR gas/22464
461 * testsuite/gas/i386/align-1.s: New file.
462 * testsuite/gas/i386/align-1a.d: Likewise.
463 * testsuite/gas/i386/align-1b.d: Likewise.
464 * testsuite/gas/i386/i386.exp: Run align-1a and align-1b.
465
50d2740d 4662017-11-21 Claudiu Zissulescu <claziss@synopsys.com>
467
468 * testsuite/gas/arc/b.d : Update test.
469 * testsuite/gas/arc/bl.d: Likewise.
470 * testsuite/gas/arc/jli-1.d: Likewise.
471 * testsuite/gas/arc/lp.d: Likewise.
472 * testsuite/gas/arc/pcl-relocs.d: Likewise.
473 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
474 * testsuite/gas/arc/pic-relocs.d: Likewise.
475 * testsuite/gas/arc/plt-relocs.d: Likewise.
476 * testsuite/gas/arc/pseudos.d: Likewise.
477 * testsuite/gas/arc/relax-avoid2.d: Likewise.
478 * testsuite/gas/arc/relax-avoid3.d: Likewise.
479 * testsuite/gas/arc/relax-b.d: Likewise.
480 * testsuite/gas/arc/tls-relocs.d: Likewise.
481 * testsuite/gas/arc/relax-add01.d: Likewise.
482 * testsuite/gas/arc/relax-add04.d: Likewise.
483 * testsuite/gas/arc/relax-ld01.d: Likewise.
484 * testsuite/gas/arc/relax-sub01.d: Likewise.
485 * testsuite/gas/arc/relax-sub02.d: Likewise.
486 * testsuite/gas/arc/relax-sub04.d: Likewise.
487 * testsuite/gas/arc/pcl-print.s: New file.
488 * testsuite/gas/arc/pcl-print.d: Likewise.
489 * testsuite/gas/arc/nps400-12.d: Likewise.
490
bf3d1399
AM
4912017-11-21 Alan Modra <amodra@gmail.com>
492
493 * config/tc-xtensa.c (finish_vinsn): Avoid multiple ngettext calls
494 in error message.
495
b7486a74
AM
4962017-11-20 Alan Modra <amodra@gmail.com>
497
498 * testsuite/gas/i386/x86-64-reg-bad.l: Accept trailing padding.
499
d0f7791c
TC
5002017-11-16 Tamar Christina <tamar.christina@arm.com>
501
502 * config/tc-aarch64.c (fp16fml): New.
503 * doc/c-aarch64.texi (fp16fml): New.
504 * testsuite/gas/aarch64/armv8_2-a-crypto-fp16.d (fp16): Make fp16fml.
505 * testsuite/gas/aarch64/armv8_3-a-crypto-fp16.d (fp16): Make fp16fml.
506
fadfa6b0
TC
5072017-11-16 Tamar Christina <tamar.christina@arm.com>
508
509 * opcodes/aarch64-tbl.h
510 (aarch64_feature_crypto): Add ARCH64_FEATURE_SIMD and AARCH64_FEATURE_FP.
511 (aarch64_feature_crypto_v8_2, aarch64_feature_sm4): Likewise.
512 (aarch64_feature_sha3): Likewise.
513
68ffd936
TC
5142017-11-16 Tamar Christina <tamar.christina@arm.com>
515
516 * doc/c-aarch64.texi (armv8.4-a, sha2, sha3, sm4): New.
517 (dotprod): Update default note.
518
e9dbdd80
TC
5192017-11-16 Tamar Christina <tamar.christina@arm.com>
520
521 * testsuite/gas/aarch64/armv8_4-a-illegal.d: New.
522 * testsuite/gas/aarch64/armv8_4-a-illegal.l: New.
523 * testsuite/gas/aarch64/armv8_4-a-illegal.s: New.
524 * testsuite/gas/aarch64/armv8_4-a.d: New.
525 * testsuite/gas/aarch64/armv8_4-a.s: New.
526 * testsuite/gas/aarch64/armv8_2-a-crypto-fp16.s: New.
527 * testsuite/gas/aarch64/armv8_2-a-crypto-fp16.d: New.
528 * testsuite/gas/aarch64/armv8_3-a-crypto-fp16.d: New.
529 * testsuite/gas/aarch64/armv8_4-a-crypto-fp16.d: New.
530 * testsuite/gas/aarch64/armv8_2-a-crypto-fp16-illegal.s: New.
531 * testsuite/gas/aarch64/armv8_2-a-crypto-fp16-illegal.l: New.
532 * testsuite/gas/aarch64/armv8_2-a-crypto-fp16-illegal.d: New.
533
5f847646
JB
5342017-11-16 Jan Beulich <jbeulich@suse.com>
535
536 * testsuite/gas/i386/noextreg.s: Add tests with register index
537 bit 3 set.
538 * testsuite/gas/i386/noextreg.d: Adjust expectations.
539
c2b9da16
JB
5402017-11-16 Jan Beulich <jbeulich@suse.com>
541
542 * config/tc-i386.c (process_suffix): Ignore .no_qsuf outside of
543 64-bit mode.
544 * testsuite/gas/i386/ptwrite.s: Add test for memory operand
545 without DWORD PTR.
546 * testsuite/gas/i386/ptwrite.d,
547 testsuite/gas/i386/ptwrite-intel.d: Adjust expectations.
548
8c8cad3a
L
5492017-11-15 H.J. Lu <hongjiu.lu@intel.com>
550
551 * testsuite/gas/i386/noextreg.s: Replace .code64/.code32 and
552 64-bit instructions with .byte. Remove ELF directive.
553
01f48020
TC
5542017-11-15 Tamar Christina <tamar.christina@arm.com>
555
556 * config/tc-arm.c (arm_ext_fp16_fml, fp16fml): New.
557 (do_neon_fmac_maybe_scalar_long): Use arm_ext_fp16_fml.
558 * doc/c-arm.texi (fp16, fp16fml): New.
559 * testsuite/gas/arm/armv8_2-a-fp16.d (fp16): Make fp16fml.
560 * testsuite/gas/arm/armv8_3-a-fp16.d (fp16): Make fp16fml.
561 * testsuite/gas/arm/armv8_2-a-fp16-illegal.d (fp16): Make fp16fml.
562 * testsuite/gas/arm/armv8_2-a-fp16-thumb2.d (fp16): Make fp16fml.
563
dda8d76d
NC
5642017-11-15 Nick Clifton <nickc@redhat.com>
565
566 PR 15152
567 * testsuite/gas/avr/large-debug-line-table.d: Update expected
568 output.
569 * testsuite/gas/elf/dwarf2-11.d: Likewise.
570 * testsuite/gas/elf/dwarf2-12.d: Likewise.
571 * testsuite/gas/elf/dwarf2-13.d: Likewise.
572 * testsuite/gas/elf/dwarf2-14.d: Likewise.
573 * testsuite/gas/elf/dwarf2-15.d: Likewise.
574 * testsuite/gas/elf/dwarf2-16.d: Likewise.
575 * testsuite/gas/elf/dwarf2-17.d: Likewise.
576 * testsuite/gas/elf/dwarf2-18.d: Likewise.
577 * testsuite/gas/elf/dwarf2-5.d: Likewise.
578 * testsuite/gas/elf/dwarf2-6.d: Likewise.
579 * testsuite/gas/elf/dwarf2-7.d: Likewise.
580
390a6789
JB
5812017-11-15 Jan Beulich <jbeulich@suse.com>
582
583 * testsuite/gas/i386/noextreg.s: Add tests for VEX-encoded GPR
584 insns with VEX.W set.
585 * testsuite/gas/i386/noextreg.d: Adjust expectations.
586
3a2430e0
JB
5872017-11-15 Jan Beulich <jbeulich@suse.com>
588
589 * testsuite/gas/i386/noextreg.{s,d}: New.
590 * testsuite/gas/i386/i386.exp: Run new test.
591
0645f0a2
JB
5922017-11-15 Jan Beulich <jbeulich@suse.com>
593
594 * testsuite/gas/i386/x86-64-reg.s: Add extended byte reg tests.
595 * testsuite/gas/i386/x86-64-reg.d,
596 testsuite/gas/i386/x86-64-reg-intel.d,
597 testsuite/gas/i386/ilp32/x86-64-reg.d,
598 testsuite/gas/i386/ilp32/x86-64-reg-intel.d: Adjust
599 expectations.
600
601 * testsuite/gas/i386/x86-64-reg-bad.{s,l}: New.
602 * testsuite/gas/i386/i386.exp: Run new test.
603
583712f5
JW
6042017-11-14 Jim Wilson <jimw@sifive.com>
605
606 * testsuite/gas/lns/lns.exp (lns-common-1): Add riscv*-*-* to alt list.
607
be92cb14
JB
6082017-11-14 Jan Beulich <jbeulich@suse.com>
609
610 * testsuite/gas/i386/x86-64-xop.d, testsuite/gas/i386/xop.d,
611 testsuite/gas/i386/xop32reg.d: Adjust expectations.
612
2645e1d0
JB
6132017-11-14 Jan Beulich <jbeulich@suse.com>
614
615 * testsuite/gas/i386/avx512bw.s: Add vpcmp* pseudo tests.
616 * testsuite/gas/i386/avx512bw_vl.s: Likewise.
617 * testsuite/gas/i386/avx512bw.d, testsuite/gas/i386/avx512bw-intel.d,
618 testsuite/gas/i386/avx512bw_vl.d,
619 testsuite/gas/i386/avx512bw_vl-intel.d: Adjust expectations.
620
df145ef6
JB
6212017-11-14 Jan Beulich <jbeulich@suse.com>
622
623 * testsuite/gas/i386/string-ok.s: Add a few more valid patterns.
624 Move bogus tests ...
625 * testsuite/gas/i386/string-bad.s: ... here.
626 * testsuite/gas/i386/string-bad.l: Adjust expectations.
627 * testsuite/gas/i386/string-ok.d: Likewise.
628 * testsuite/gas/i386/string-ok.e: Likewise.
629
5b2b928e
JB
6302017-11-13 Jan Beulich <jbeulich@suse.com>
631
632 * config/tc-aarch64.c (R_Z_BHSDQ_VZP): Rename to ...
633 (R_Z_SP_BHSDQ_VZP): ... and include both stack pointer variants.
634
64657806
JB
6352017-11-13 Jan Beulich <jbeulich@suse.com>
636
637 * testsuite/gas/ia64/group-1.d: Adjust expectations.
638 * testsuite/gas/ia64/group-2.d: Likewise.
639 * testsuite/gas/ia64/xdata.d: Likewise.
640
b76bc5d5
JB
6412017-11-13 Jan Beulich <jbeulich@suse.com>
642
643 * config/tc-i386.c (process_suffix): Treat .shiftcount just like
644 .inoutportreg.
645 * testsuite/gas/i386/inval.s: Add ambiguous shift/rotate cases.
646 * testsuite/gas/i386/inval.l: Adjust expectations.
647
1187cf29
JB
6482017-11-13 Jan Beulich <jbeulich@suse.com>
649
650 * config/tc-i386-intel.c (i386_intel_simplify_register): Also
651 recognize RegRiz/RegEiz as index-only registers.
652 * testsuite/gas/i386/intel.s: Add tests exercising base/index
653 swapping.
654 * testsuite/gas/i386/intel.d: Adjust expectations.
655
2abc2bec
JB
6562017-11-13 Jan Beulich <jbeulich@suse.com>
657
658 * config/tc-i386.c (i386_index_check): Break out ...
659 (i386_addressing_mode): ... this new function.
660 * config/tc-i386-intel.c (i386_intel_operand): Do base/index
661 swapping and the setting of .baseindex earlier. Call
662 i386_addressing_mode.
663 * testsuite/gas/i386/x86-64-inval.s: Add out of range
664 displacement case.
665 * testsuite/gas/i386/x86-64-inval.l: Adjust expectations.
666
52c6b71b
JW
6672017-11-09 Jim Wilson <jimw@sifive.com>
668
669 * testsuite/gas/elf/dwarf2-10.l: Accept optional line number in error.
670
981b557a
TC
6712017-11-06 Tamar Christina <tamar.christina@arm.com>
672
673 * gas/testsuite/gas/aarch64/dotproduct_armv8_4.s: New.
674 * gas/testsuite/gas/aarch64/dotproduct_armv8_4.d: New.
675
793a1948
TC
6762017-11-09 Tamar Christina <tamar.christina@arm.com>
677
678 * gas/testsuite/gas/aarch64/armv8_4-a-registers-illegal.d: New.
679 * gas/testsuite/gas/aarch64/armv8_4-a-registers-illegal.l: New.
680 * gas/testsuite/gas/aarch64/armv8_4-a-registers-illegal.s: New.
681 * gas/testsuite/gas/aarch64/armv8_4-a-registers.d: New.
682 * gas/testsuite/gas/aarch64/armv8_4-a-registers.s: New.
683
f42f1a1d
TC
6842017-11-09 Tamar Christina <tamar.christina@arm.com>
685
686 * config/tc-aarch64.c (process_omitted_operand):
687 Add AARCH64_OPND_Va, AARCH64_OPND_SM3_IMM2
688 and AARCH64_OPND_IMM_2.
689 (parse_operands): Add AARCH64_OPND_Va, AARCH64_OPND_SM3_IMM2,
690 AARCH64_OPND_IMM_2, AARCH64_OPND_MASK
691 and AARCH64_OPND_ADDR_OFFSET.
692
b6b9ca0c
TC
6932017-11-09 Tamar Christina <tamar.christina@arm.com>
694
695 * config/tc-aarch64.c (aarch64_arch_option_table): Add armv8.4-a.
696 (aarch64_features): Add SM4 and SHA3.
697
c0e7cef7
NC
6982017-11-08 Tamar Christina <tamar.christina@arm.com>
699
2841837f 700 * config/tc-aarch64.c
c0e7cef7
NC
701 (aarch64_features): Include AES and SHA2 in CRYPTO.
702 Add SHA2 and AES.
703
dec41383
JW
7042017-11-08 Jiong Wang <jiong.wang@arm.com>
705 Tamar Christina <tamar.christina@arm.com>
706
707 * config/tc-arm.c (arm_extensions):
708 (arm_archs): New entry for "armv8.4-a".
709 Add FPU_ARCH_DOTPROD_NEON_VFP_ARMV8.
710 (arm_ext_v8_2): New variable.
711 (enum arm_reg_type): New enumeration REG_TYPE_NSD.
712 (reg_expected_msgs): New entry for REG_TYPE_NSD.
713 (parse_typed_reg_or_scalar): Handle REG_TYPE_NSD.
714 (parse_scalar): Support REG_TYPE_VFS.
715 (enum operand_parse_code): New enumerations OP_RNSD and OP_RNSD_RNSC.
716 (parse_operands): Handle OP_RNSD and OP_RNSD_RNSC.
717 (NEON_SHAPE_DEF): New entries for DHH and DHS.
718 (neon_scalar_for_fmac_fp16_long): New function to generate Rm encoding
719 for new FP16 instructions in ARMv8.2-A.
720 (do_neon_fmac_maybe_scalar_long): New function to encode new FP16
721 instructions in ARMv8.2-A.
722 (do_neon_vfmal): Wrapper function for vfmal.
723 (do_neon_vfmsl): Wrapper function for vfmsl.
724 (insns): New entries for vfmal and vfmsl.
725 * doc/c-arm.texi (-march): Document "armv8.4-a".
726 * testsuite/gas/arm/dotprod-mandatory.d: New test.
727 * testsuite/gas/arm/armv8_2-a-fp16.s: New test source.
728 * testsuite/gas/arm/armv8_2-a-fp16-illegal.s: New test source.
729 * testsuite/gas/arm/armv8_2-a-fp16.d: New test.
730 * testsuite/gas/arm/armv8_3-a-fp16.d: New test.
731 * testsuite/gas/arm/armv8_4-a-fp16.d: New test.
732 * testsuite/gas/arm/armv8_2-a-fp16-thumb2.d: New test.
733 * testsuite/gas/arm/armv8_2-a-fp16-illegal.d: New test.
734 * testsuite/gas/arm/armv8_2-a-fp16-illegal.l: New error file.
735
6e98b342
AM
7362017-11-08 Alan Modra <amodra@gmail.com>
737
738 * config/tc-xtensa.c (finish_vinsn): Properly pluralize error message.
739
f77bb6c5
JW
7402017-11-07 Jim Wilson <jimw@sifive.com>
741
742 * config/tc-riscv.c (append_insn): Call frag_wane and frag_new at
743 end for linker optimizable relocs.
744 * testsuite/gas/riscv/eh-relocs.d: New.
745 * testsuite/gas/riscv/eh-relocs.s: New.
746 * testsuite/gas/riscv/riscv.exp: Run eh-relocs test.
747
1270b047
PD
7482017-11-07 Palmer Dabbelt <palmer@dabbelt.com>
749
750 * testsuite/gas/riscv/satp.d: New test.
751 testsuite/gas/riscv/satp.s: Likewise.
752 testsuite/gas/riscv/riscv.exp: Likewise.
753 config/tc-riscv.c (md_begin): Handle CSR aliases.
754
0198d5e6
TC
7552017-11-07 Tamar Christina <tamar.christina@arm.com>
756
757 * config/tc-arm.c (arm_cpus):
758 Change FPU_ARCH_CRYPTO_NEON_VFP_ARMV8
759 into FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD.
760
e54e9ac5
AM
7612017-11-07 Alan Modra <amodra@gmail.com>
762
763 * read.c (assemble_one, s_bundle_unlock): Formatting.
764 Consistently add comma and "bytes" to error message.
765 * testsuite/gas/i386/bundle-bad.l: Adjust to suit.
766
d3a49aa8
AM
7672017-11-07 Alan Modra <amodra@gmail.com>
768
769 * testsuite/gas/arm/got_prel.d,
770 * testsuite/gas/elf/dwarf2-1.d,
771 * testsuite/gas/elf/dwarf2-2.d,
772 * testsuite/gas/elf/dwarf2-3.d,
773 * testsuite/gas/elf/dwarf2-5.d,
774 * testsuite/gas/elf/dwarf2-6.d,
775 * testsuite/gas/i386/debug1.d,
776 * testsuite/gas/i386/dw2-compress-1.d,
777 * testsuite/gas/i386/dw2-compress-3a.d,
778 * testsuite/gas/i386/dw2-compress-3b.d,
779 * testsuite/gas/i386/dw2-compressed-1.d,
780 * testsuite/gas/i386/dw2-compressed-3a.d,
781 * testsuite/gas/i386/dw2-compressed-3b.d,
782 * testsuite/gas/i386/ilp32/x86-64-localpic.d,
783 * testsuite/gas/i386/localpic.d,
784 * testsuite/gas/i386/x86-64-localpic.d,
785 * testsuite/gas/ia64/pr13167.d,
786 * testsuite/gas/mips/loc-swap-2.d,
787 * testsuite/gas/mips/loc-swap.d,
788 * testsuite/gas/mips/micromips@loc-swap-2.d,
789 * testsuite/gas/mips/micromips@loc-swap.d,
790 * testsuite/gas/mips/mips16-dwarf2-n32.d,
791 * testsuite/gas/mips/mips16-dwarf2.d,
792 * testsuite/gas/mips/mips16@loc-swap-2.d,
793 * testsuite/gas/mips/mips16@loc-swap.d,
794 * testsuite/gas/mips/mips16e@loc-swap.d,
795 * testsuite/gas/mmix/bspec-1.d,
796 * testsuite/gas/mmix/bspec-2.d,
797 * testsuite/gas/tic6x/unwind-1.d,
798 * testsuite/gas/tic6x/unwind-2.d,
799 * testsuite/gas/tic6x/unwind-3.d: Update for pluralization
800 fixes.
801
992a06ee
AM
8022017-11-07 Alan Modra <amodra@gmail.com>
803
804 * as.c (main): Properly pluralize messages.
805 * frags.c (frag_grow): Likewise.
806 * read.c (emit_expr_with_reloc, emit_expr_fix): Likewise.
807 (parse_bitfield_cons): Likewise.
808 * write.c (fixup_segment, compress_debug, write_contents): Likewise.
809 (relax_segment): Likewise.
810 * config/tc-arm.c (s_arm_elf_cons): Likewise.
811 * config/tc-cr16.c (l_cons): Likewise.
812 * config/tc-i370.c (i370_elf_cons): Likewise.
813 * config/tc-m68k.c (m68k_elf_cons): Likewise.
814 * config/tc-msp430.c (msp430_operands): Likewise.
815 * config/tc-s390.c (s390_elf_cons, s390_literals): Likewise.
816 * config/tc-mcore.c (md_apply_fix): Likewise.
817 * config/tc-tic54x.c (md_assemble): Likewise.
818 * config/tc-xtensa.c (xtensa_elf_cons): Likewise.
819 (xg_expand_assembly_insn): Likewise.
820 * config/xtensa-relax.c (build_transition): Likewise.
821
6003e27e
AM
8222017-11-07 Alan Modra <amodra@gmail.com>
823
824 * asintl.h (textdomain, bindtextdomain): Use safer "do nothing".
825 (ngettext, dngettext, dcngettext): Define when !ENABLE_NLS.
826
7605d944
SP
8272017-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
828 Jim Wilson <jim.wilson@linaro.org>
829
830 * config/tc-aarch64.c (aarch64_cpus): Add saphira.
831 * doc/c-aarch64.texi: Likewise.
832
85273580
TP
8332017-11-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
834
835 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d: Add
836 --disassembler-options=force-thumb to objdump options.
837 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d: Likewise.
838
81b42bca
JB
8392017-11-01 James Bowman <james.bowman@ftdichip.com>
840
841 * config/tc-ft32.c (md_assemble): Add relaxation reloc
842 BFD_RELOC_FT32_RELAX.
843 (md_longopts): Add "norelax" and "no-relax".
844 (md_apply_fix): Add reloc BFD_RELOC_FT32_DIFF32.
845 (relaxable_section, ft32_validate_fix_sub, ft32_force_relocation,
846 ft32_allow_local_subtract): New function.
847 * config/tc-ft32.h: Remove unused MD_PCREL_FROM_SECTION.
848 * testsuite/gas/ft32/insnsc.s: New test exercising all FT32B
849 shortcodes.
850 * testsuite/gas/ft32/insnsc.d: New driver file.
851 * testsuite/gas/all/gas.exp: Update.
852 * testsuite/gas/ft32/ft32.exp: Run the new test.
853 * testsuite/gas/ft32/insn.d: Update.
854 * testsuite/gas/elf/dwarf2-11.d: Update.
855 * testsuite/gas/elf/dwarf2-12.d: Update.
856 * testsuite/gas/elf/dwarf2-13.d: Update.
857 * testsuite/gas/elf/dwarf2-14.d: Update.
858 * testsuite/gas/elf/dwarf2-15.d: Update.
859 * testsuite/gas/elf/dwarf2-16.d: Update.
860 * testsuite/gas/elf/dwarf2-17.d: Update.
861 * testsuite/gas/elf/dwarf2-18.d: Update.
862 * testsuite/gas/elf/dwarf2-3.d: Update.
863 * testsuite/gas/elf/dwarf2-5.d: Update.
864 * testsuite/gas/elf/dwarf2-7.d: Update.
865
4070243b
TP
8662017-11-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
867
868 * config/tc-arm.c (arm_ext_v2): Define to ARM_EXT_V2 feature bit.
81b42bca 869 * testsuite/gas/arm/copro.s: Split into
4070243b 870 * testsuite/gas/arm/copro-arm_v2plus-thumb_v6t2plus.s: This while
81b42bca 871 changing it to unified syntax and
4070243b
TP
872 * testsuite/gas/arm/copro-arm_v5plus-thumb_v6t2plus.s: this and ...
873 * testsuite/gas/arm/copro-arm_v5teplus-thumb_v6t2plus.s: This and ...
874 * testsuite/gas/arm/copro-arm_v6plus-thumb_v6t2plus.s: This.
875 * testsuite/gas/arm/copro.d: Split into ...
876 * testsuite/gas/arm/copro-arm_v2plus-arm_v2.d: This but target ARMv2
877 and ...
878 * testsuite/gas/arm/copro-arm_v5plus-arm_v5.d: this but target ARMv5
879 and ...
880 * testsuite/gas/arm/copro-arm_v5teplus-arm_v5te.d: This but target
881 ARMv5TE and ...
882 * testsuite/gas/arm/copro-arm_v6plus-arm_v6.d: This but target ARMv6.
883 * testsuite/gas/arm/copro-arm_v2plus-arm_v1.d: New testcase.
884 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-1.d: New testcase.
885 * testsuite/gas/arm/copro-arm_v2plus-thumb_v6t2plus-unavail.l: Expected
886 errors for the above two testcases.
887 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d: New testcase.
888 * testsuite/gas/arm/copro-arm_v5plus-arm_v4.d: New testcase.
889 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-2.d: New testcase.
890 * testsuite/gas/arm/copro-arm_v5plus-thumb_v6t2plus-unavail.l:
891 Expected errors for the above two testcases.
892 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d: New testcase.
893 * testsuite/gas/arm/copro-arm_v5teplus-arm_v5.d: New testcase.
894 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-3.d: New testcase.
895 * testsuite/gas/arm/copro-arm_v5teplus-thumb_v6t2plus-unavail.l:
896 Expected errors for the above two testcases.
897 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-3.d: New testcase.
898 * testsuite/gas/arm/copro-arm_v6plus-arm_v5te.d: New testcase.
899 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-4.d: New testcase.
900 * testsuite/gas/arm/copro-arm_v6plus-thumb_v6t2plus-unavail.l:
901 Expected errors for the above two testcases.
902 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-4.d: New testcase.
903
514f6023
L
9042017-10-26 H.J. Lu <hongjiu.lu@intel.com>
905
906 PR gas/22352
907 * config/tc-i386.c (check_VecOperands): Also check XMM register
908 for invalid register in AVX512 gathers.
909 * testsuite/gas/i386/vgather-check.s: Add tests for AVX512
910 gathers with XMM register.
911 * testsuite/gas/i386/x86-64-vgather-check.s: Likewise.
912 * testsuite/gas/i386/vgather-check-error.l: Updated.
913 * testsuite/gas/i386/vgather-check-none.d: Likewise.
914 * testsuite/gas/i386/vgather-check-warn.d: Likewise.
915 * testsuite/gas/i386/vgather-check-warn.e: Likewise.
916 * testsuite/gas/i386/vgather-check.d: Likewise.
917 * testsuite/gas/i386/x86-64-vgather-check-error.l: Likewise.
918 * testsuite/gas/i386/x86-64-vgather-check-none.d: Likewise.
919 * testsuite/gas/i386/x86-64-vgather-check-warn.d: Likewise.
920 * testsuite/gas/i386/x86-64-vgather-check-warn.e: Likewise.
921 * testsuite/gas/i386/x86-64-vgather-check.d: Likewise.
922
238c141b
HPN
9232017-10-26 Hans-Peter Nilsson <hp@bitrange.com>
924
925 * testsuite/gas/all/fill-1.s: Use L2 rather than .L2.
926
e5d70d6b
AM
9272017-10-25 Alan Modra <amodra@gmail.com>
928
929 PR 22348
930 * config/tc-crx.c (instruction, output_opcode): Make static.
931 (relocatable, ins_parse, cur_arg_num): Likewise.
932 (parse_insn): Adjust for renamed opcodes globals.
933 (check_range): Likewise
934
94092126
AM
9352017-10-25 Alan Modra <amodra@gmail.com>
936
937 * testsuite/gas/all/fill-1.d: Exclude tic4x and tic54x.
938 * testsuite/gas/all/fill-1.s: Use L1 rather than .L1.
939
63a25ea0
AW
9402017-10-24 Andrew Waterman <andrew@sifive.com>
941
942 * testsuite/gas/riscv/c-addi16sp-fail.d: New test.
94092126
AM
943 * testsuite/gas/riscv/c-addi16sp-fail.l: Likewise.
944 * testsuite/gas/riscv/c-addi16sp-fail.s: Likewise.
945 * testsuite/gas/riscv/c-addi4spn-fail.d: Likewise.
946 * testsuite/gas/riscv/c-addi4spn-fail.l: Likewise.
947 * testsuite/gas/riscv/c-addi4spn-fail.s: Likewise.
948 * testsuite/gas/riscv/riscv.exp: Add new tests.
63a25ea0 949
3342be5d
AW
9502017-10-24 Andrew Waterman <andrew@sifive.com>
951
952 * testsuite/gas/riscv/c-lui-fail.d: New testcase.
94092126
AM
953 * gas/testsuite/gas/riscv/c-lui-fail.l: Likewise.
954 * gas/testsuite/gas/riscv/c-lui-fail.s: Likewise.
955 * gas/testsuite/gas/riscv/riscv.exp: Likewise.
3342be5d 956
da5f19a2
L
9572017-10-24 H.J. Lu <hongjiu.lu@intel.com>
958
959 * config/tc-i386.c (md_pseudo_table): Add .code64 directive
960 only if BFD64 is defined.
961 * testsuite/gas/i386/code64-inval.l: New file.
962 * gas/testsuite/gas/i386/code64-inval.s: Likewise.
963 * gas/testsuite/gas/i386/code64.d: Likewise.
964 * gas/testsuite/gas/i386/code64.s: Likewise.
965 * testsuite/gas/i386/i386.exp: Run mixed-mode-reloc32,
966 att-regs, intel-regs, intel-expr and string-ok tests only if
967 assembler supports x86-64. Run code64 and code64-inval.
968
2c3f27ed
PD
9692017-10-23 Palmer Dabbelt <palmer@dabbelt.com>
970
3779bbe0
PD
971 * config/tc-riscv.c (riscv_frag_align_code): Align code by 4
972 bytes on non-RVC systems.
2c3f27ed 973
defc8e2b
MR
9742017-10-23 Maciej W. Rozycki <macro@imgtec.com>
975
976 * config/tc-mips.c (mips_elf_final_processing): Don't set
977 EF_MIPS_ABI2 in `e_flags'.
978
2739ef6d
IT
9792017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
980
981 * config/tc-i386.c (cpu_arch): Add .avx512_bitalg.
982 (cpu_noarch): noavx512_bitalg.
983 * doc/c-i386.texi: Document .avx512_bitalg, noavx512_bitalg.
984 * testsuite/gas/i386/i386.exp: Add AVX512_BITALG tests.
985 * testsuite/gas/i386/avx512f_bitalg-intel.d: New test.
986 * testsuite/gas/i386/avx512f_bitalg.d: Likewise.
987 * testsuite/gas/i386/avx512f_bitalg.s: Likewise.
988 * testsuite/gas/i386/avx512vl_bitalg-intel.d: Likewise.
989 * testsuite/gas/i386/avx512vl_bitalg.d: Likewise.
990 * testsuite/gas/i386/avx512vl_bitalg.s: Likewise.
991 * testsuite/gas/i386/x86-64-avx512f_bitalg-intel.d: Likewise.
992 * testsuite/gas/i386/x86-64-avx512f_bitalg.d: Likewise.
993 * testsuite/gas/i386/x86-64-avx512f_bitalg.s: Likewise.
994 * testsuite/gas/i386/x86-64-avx512vl_bitalg-intel.d: Likewise.
995 * testsuite/gas/i386/x86-64-avx512vl_bitalg.d: Likewise.
996 * testsuite/gas/i386/x86-64-avx512vl_bitalg.s: Likewise.
997
9982017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
999
1000 * config/tc-i386.c (cpu_arch): Add .avx512_vnni.
1001 (cpu_noarch): Add noavx512_vnni.
1002 * doc/c-i386.texi: Document .avx512_vnni.
1003 * testsuite/gas/i386/i386.exp: Add AVX512_VNNI tests.
1004 * testsuite/gas/i386/avx512vnni-intel.d: New test.
1005 * testsuite/gas/i386/avx512vnni.d: Likewise.
1006 * testsuite/gas/i386/avx512vnni.s: Likewise.
1007 * testsuite/gas/i386/avx512vnni_vl-intel.d: Likewise.
1008 * testsuite/gas/i386/avx512vnni_vl.d: Likewise.
1009 * testsuite/gas/i386/avx512vnni_vl.s: Likewise.
1010 * testsuite/gas/i386/x86-64-avx512vnni-intel.d: Likewise.
1011 * testsuite/gas/i386/x86-64-avx512vnni.d: Likewise.
1012 * testsuite/gas/i386/x86-64-avx512vnni.s: Likewise.
1013 * testsuite/gas/i386/x86-64-avx512vnni_vl-intel.d: Likewise.
1014 * testsuite/gas/i386/x86-64-avx512vnni_vl.d: Likewise.
1015 * testsuite/gas/i386/x86-64-avx512vnni_vl.s: Likewise.
1016
10172017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1018
1019 * config/tc-i386.c (cpu_arch): Add VPCLMULQDQ.
1020 * doc/c-i386.texi: Document VPCLMULQDQ.
1021 * testsuite/gas/i386/i386.exp: Run VPCLMULQDQ tests.
1022 * testsuite/gas/i386/avx512f_vpclmulqdq-intel.d: New test.
1023 * testsuite/gas/i386/avx512f_vpclmulqdq-wig.s: Ditto.
1024 * testsuite/gas/i386/avx512f_vpclmulqdq-wig1-intel.d: Ditto.
1025 * testsuite/gas/i386/avx512f_vpclmulqdq-wig1.d: Ditto.
1026 * testsuite/gas/i386/avx512f_vpclmulqdq.d: Ditto.
1027 * testsuite/gas/i386/avx512f_vpclmulqdq.s: Ditto.
1028 * testsuite/gas/i386/avx512vl_vpclmulqdq-intel.d: Ditto.
1029 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig.s: Ditto.
1030 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig1-intel.d: Ditto.
1031 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig1.d: Ditto.
1032 * testsuite/gas/i386/avx512vl_vpclmulqdq.d: Ditto.
1033 * testsuite/gas/i386/avx512vl_vpclmulqdq.s: Ditto.
1034 * testsuite/gas/i386/vpclmulqdq-intel.d: Ditto.
1035 * testsuite/gas/i386/vpclmulqdq.d: Ditto.
1036 * testsuite/gas/i386/vpclmulqdq.s: Ditto.
1037 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-intel.d: Ditto.
1038 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig.s: Ditto.
1039 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig1-intel.d: Ditto.
1040 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig1.d: Ditto.
1041 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.d: Ditto.
1042 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s: Ditto.
1043 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-intel.d: Ditto.
1044 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig.s: Ditto.
1045 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig1-intel.d: Ditto.
1046 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig1.d: Ditto.
1047 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.d: Ditto.
1048 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s: Ditto.
1049 * testsuite/gas/i386/x86-64-vpclmulqdq-intel.d: Ditto.
1050 * testsuite/gas/i386/x86-64-vpclmulqdq.d: Ditto.
1051 * testsuite/gas/i386/x86-64-vpclmulqdq.s: Ditto.
1052
10532017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1054
1055 * config/tc-i386.c (cpu_arch): Add VAES.
1056 * doc/c-i386.texi: Document VAES.
1057 * testsuite/gas/i386/i386.exp: Run VAES tests.
1058 * testsuite/gas/i386/avx512f_vaes-intel.d: New test.
1059 * testsuite/gas/i386/avx512f_vaes-wig.s: Ditto.
1060 * testsuite/gas/i386/avx512f_vaes-wig1-intel.d: Ditto.
1061 * testsuite/gas/i386/avx512f_vaes-wig1.d: Ditto.
1062 * testsuite/gas/i386/avx512f_vaes.d: Ditto.
1063 * testsuite/gas/i386/avx512f_vaes.s: Ditto.
1064 * testsuite/gas/i386/avx512vl_vaes-intel.d: Ditto.
1065 * testsuite/gas/i386/avx512vl_vaes-wig.s: Ditto.
1066 * testsuite/gas/i386/avx512vl_vaes-wig1-intel.d: Ditto.
1067 * testsuite/gas/i386/avx512vl_vaes-wig1.d: Ditto.
1068 * testsuite/gas/i386/avx512vl_vaes.d: Ditto.
1069 * testsuite/gas/i386/avx512vl_vaes.s: Ditto.
1070 * testsuite/gas/i386/vaes-intel.d: Ditto.
1071 * testsuite/gas/i386/vaes.d: Ditto.
1072 * testsuite/gas/i386/vaes.s: Ditto.
1073 * testsuite/gas/i386/x86-64-avx512f_vaes-intel.d: Ditto.
1074 * testsuite/gas/i386/x86-64-avx512f_vaes-wig.s: Ditto.
1075 * testsuite/gas/i386/x86-64-avx512f_vaes-wig1-intel.d: Ditto.
1076 * testsuite/gas/i386/x86-64-avx512f_vaes-wig1.d: Ditto.
1077 * testsuite/gas/i386/x86-64-avx512f_vaes.d: Ditto.
1078 * testsuite/gas/i386/x86-64-avx512f_vaes.s: Ditto.
1079 * testsuite/gas/i386/x86-64-avx512vl_vaes-intel.d: Ditto.
1080 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig.s: Ditto.
1081 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1-intel.d: Ditto.
1082 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1.d: Ditto.
1083 * testsuite/gas/i386/x86-64-avx512vl_vaes.d: Ditto.
1084 * testsuite/gas/i386/x86-64-avx512vl_vaes.s: Ditto.
1085 * testsuite/gas/i386/x86-64-vaes-intel.d: Ditto.
1086 * testsuite/gas/i386/x86-64-vaes.d: Ditto.
1087 * testsuite/gas/i386/x86-64-vaes.s: Ditto.
1088
10892017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1090
1091 * config/tc-i386.c (cpu_arch): Add .gfni.
1092 * doc/c-i386.texi: Document .gfni.
1093 * testsuite/gas/i386/i386.exp: Add GFNI tests.
1094 * testsuite/gas/i386/avx.s: New GFNI test.
1095 * testsuite/gas/i386/x86-64-avx.s: Likewise.
1096 * testsuite/gas/i386/avx.d: Adjust.
1097 * testsuite/gas/i386/avx-intel.d: Likewise
1098 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
1099 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
1100 * testsuite/gas/i386/avx512f_gfni-intel.d: New test.
1101 * testsuite/gas/i386/avx512f_gfni.d: Likewise.
1102 * testsuite/gas/i386/avx512f_gfni.s: Likewise.
1103 * testsuite/gas/i386/avx512vl_gfni-intel.d: Likewise.
1104 * testsuite/gas/i386/avx512vl_gfni.d: Likewise.
1105 * testsuite/gas/i386/avx512vl_gfni.s: Likewise.
1106 * testsuite/gas/i386/gfni-intel.d: Likewise.
1107 * testsuite/gas/i386/gfni.d: Likewise.
1108 * testsuite/gas/i386/gfni.s: Likewise.
1109 * testsuite/gas/i386/x86-64-avx512f_gfni-intel.d: Likewise.
1110 * testsuite/gas/i386/x86-64-avx512f_gfni.d: Likewise.
1111 * testsuite/gas/i386/x86-64-avx512f_gfni.s: Likewise.
1112 * testsuite/gas/i386/x86-64-avx512vl_gfni-intel.d: Likewise.
1113 * testsuite/gas/i386/x86-64-avx512vl_gfni.d: Likewise.
1114 * testsuite/gas/i386/x86-64-avx512vl_gfni.s: Likewise.
1115 * testsuite/gas/i386/x86-64-avx_gfni-intel.d: Likewise.
1116 * testsuite/gas/i386/x86-64-avx_gfni.d: Likewise.
1117 * testsuite/gas/i386/x86-64-avx_gfni.s: Likewise.
1118 * testsuite/gas/i386/x86-64-gfni-intel.d: Likewise.
1119 * testsuite/gas/i386/x86-64-gfni.d: Likewise.
1120 * testsuite/gas/i386/x86-64-gfni.s: Likewise.
1121
11222017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1123
1124 * config/tc-i386.c (cpu_arch): Add .avx512_vbmi2.
1125 (cpu_noarch): noavx512_vbmi2.
1126 * doc/c-i386.texi: Document .avx512_vbmi2, noavx512_vbmi2.
1127 * testsuite/gas/i386/i386.exp: Add AVX512_VBMI2 tests.
1128 * testsuite/gas/i386/avx512vbmi2-intel.d: New test.
1129 * testsuite/gas/i386/avx512vbmi2.d: Likewise.
1130 * testsuite/gas/i386/avx512vbmi2.s: Likewise.
1131 * testsuite/gas/i386/avx512vbmi2_vl-intel.d: Likewise.
1132 * testsuite/gas/i386/avx512vbmi2_vl.d: Likewise.
1133 * testsuite/gas/i386/avx512vbmi2_vl.s: Likewise.
1134 * testsuite/gas/i386/x86-64-avx512vbmi2-intel.d: Likewise.
1135 * testsuite/gas/i386/x86-64-avx512vbmi2.d: Likewise.
1136 * testsuite/gas/i386/x86-64-avx512vbmi2.s: Likewise.
1137 * testsuite/gas/i386/x86-64-avx512vbmi2_vl-intel.d: Likewise.
1138 * testsuite/gas/i386/x86-64-avx512vbmi2_vl.d: Likewise.
1139 * testsuite/gas/i386/x86-64-avx512vbmi2_vl.s: Likewise.
1140
67c04379
HPN
11412017-10-22 Hans-Peter Nilsson <hp@axis.com>
1142
1143 PR gas/22304
1144 * testsuite/gas/cris/range-err-1.s: Remove quotes left from last edit.
1145
808811a3
NC
11462017-10-20 Nick Clifton <nickc@redhat.com>
1147
1148 PR 22324
1149 * read.c (s_rept): Use size_t type for count parameter.
1150 (do_repeat): Change type of count parameter to size_t.
1151 Issue an error is the count parameter is negative.
1152 (do_repeat_with_expression): Likewise.
1153 * read.h: Update prototypes for do_repeat and
1154 do_repeat_with_expression.
1155 * doc/as.texinfo (Rept): Document that a zero count is allowed but
1156 negative counts are not.
1157 * config/tc-rx.c (rx_rept): Use size_t type for count parameter.
1158 * config/tc-tic54x.c (tic54x_loop): Cast count parameter to size_t
1159 type.
1160 * testsuite/gas/macros/end.s: Add a test using a negative repeat
1161 count.
1162 * testsuite/gas/macros/end.l: Add expected error message.
1163
9d06997a
PD
11642017-10-19 Palmer Dabbelt <palmer@dabbelt.com>
1165
1166 * config/tc-riscv.c (md_apply_fix): Mark
1167 BFD_RELOC_RISCV_PCREL_HI20 as relaxable when relaxations are
1168 enabled.
1169
95e42ad4
NC
11702017-10-19 Nick Clifton <nickc@redhat.com>
1171
1172 PR 21621
1173 * config/tc-avr.h (struct avr_frag_data): Add prev_opcode field.
1174 (TC_FRAG_INIT): Define.
1175 (avr_frag_init): Add prototype.
1176 * config/tc-avr.c (avr_frag_init): New function.
1177 (avr_operands): Replace static local 'prev' variable with
1178 prev_opcode field in current frag.
1179 * testsuite/gas/avr/pr21621.s: New test source file.
1180 * testsuite/gas/avr/pr21621.d: New test driver file.
1181 * testsuite/gas/avr/pr21621.s: New test error output file.
1182
fa57faa0
AK
11832017-10-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1184
1185 * testsuite/gas/all/fill-1.s: Use normal labels. Change .text to
1186 .data. Pick different values. Use .dc.w instead of .word.
1187 * testsuite/gas/all/fill-1.d: New objdump output check.
1188 * testsuite/gas/all/gas.exp: Use run_dump_test to execute fill-1
1189 testcase.
1190
8dfa5d5a
PD
11912017-10-18 Palmer Dabbelt <palmer@dabbelt.com>
1192
1193 * testsuite/gas/all/align.d: Mark as unsupported on RISC-V.
1194 testsuite/gas/all/relax.d: Likewise.
1195 testsuite/gas/all/sleb128-2.d: Likewise.
1196 testsuite/gas/all/sleb128-4.d: Likewise.
1197 testsuite/gas/all/sleb128-5.d: Likewise.
1198 testsuite/gas/all/sleb128-7.d: Likewise.
1199 testsuite/gas/elf/section11.d: Likewise.
1200 testsuite/gas/all/gas.exp (diff1.s): Likewise.
1201
8ef027f0
NC
12022017-10-18 Nick Clifton <nickc@redhat.com>
1203
1204 PR gas/22304
1205 * testsuite/gas/cris/range-err-1.s: Remove spurious xfails.
1206 * testsuite/gas/cris/cris.exp: Expect the shexpr-1 test to pass.
1207
94ea37b3
NC
12082017-10-18 Nick Clifton <nickc@redhat.com>
1209
1210 * po/sv.po: Updated Swedish translation.
1211
487958d1
SL
12122017-10-16 Sandra Loosemore <sandra@codesourcery.com>
1213 Henry Wong <henry@stuffedcow.net>
1214
1215 * config/tc-nios2.c (nios2_translate_pseudo_insn): Check for
1216 correct number of arguments.
1217 (md_assemble): Handle failure of nios2_translate_pseudo_insn.
1218 * testsuite/gas/nios2/illegal_pseudoinst.l: New file.
1219 * testsuite/gas/nios2/illegal_pseudoinst.s: New file.
1220 * testsuite/gas/nios2/nios2.exp: Add illegal_pseudoinst test.
1221
3b4b0a62
JB
12222017-10-12 James Bowman <james.bowman@ftdichip.com>
1223
1224 * config/tc-ft32.c (md_assemble): Replace FT32_FLD_K8 with
1225 K15.
1226 (md_apply_fix, tc_gen_reloc): Add BFD_RELOC_FT32_15.
1227
39865a7f
NC
12282017-10-11 Nick Clifton <nickc@redhat.com>
1229
1230 PR 21977
1231 * listing.c (listing_newline): Use the name of the current
1232 physical input file, rather than the current logical input file,
1233 unless including high level source in the listing.
1234 * input-scrub.c (as_where_physical): New function. Returns the
1235 name of the current physical input file.
1236 * as.h: Add prototype for as_where_physical.
1237
8e464506
AK
12382017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1239
1240 * testsuite/gas/s390/zarch-arch12.d (prno, tpei, irbm): New
1241 instructions added.
1242 * testsuite/gas/s390/zarch-arch12.s: Likewise.
1243 * testsuite/gas/s390/zarch-z13.d: Rename ppno to prno.
1244
e61933af
AK
12452017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1246
1247 * testsuite/gas/all/fill-1.s: Replace nop with .word 42
1248
12492017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1250
1251 * read.c (s_fill): Invoke expression instead of
1252 get_known_segmented_expression.
1253 * testsuite/gas/all/fill-1.s: New testcase.
1254 * testsuite/gas/all/gas.exp: Run fill-1 testcase
1255
2bfa0cdf
NC
12562017-10-05 Nick Clifton <nickc@redhat.com>
1257
1258 PR 22133
1259 * config/tc-msp430.c (parse_exp): Skip an 'h' suffix to constant
1260 expressions.
1261 (msp430_srcoperand): Check that the entire text was parsed by
1262 parse_exp.
1263 (msp430_operands): Likewise.
1264 * testsuite/gas/msp430/pr22133.s: New test file.
1265 * testsuite/gas/msp430/pr22133.d: New test driver.
1266 * testsuite/gas/msp430/pr22133.s: Expected error output.
1267 * testsuite/gas/msp430/msp430.exp: Run the new test.
1268
7d36e279
L
12692017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 PR gas/21167
1272 * testsuite/gas/elf/elf.exp: Run group3.
1273 * testsuite/gas/elf/group3.d: New file.
1274 * testsuite/gas/elf/group3.s: Likewise.
1275
db4677b8
AM
12762017-10-05 Alan Modra <amodra@gmail.com>
1277
1278 PR 21167
1279 * config/obj-elf.c (struct group_list): Delete elt_count.
1280 (groups): New static.
1281 (build_group_lists): Don't count elements.
1282 (elf_adjust_symtab): Use "groups" rather than auto "list". Set up
1283 pointer from group member to SHT_GROUP section. Don't size
1284 SHT_GROUP section or clean up here..
1285 (elf_frob_file_after_relocs): ..do so here instead.
1286 * testsuite/gas/arc/jli-1.d,
1287 * testsuite/gas/elf/groupautob.d,
1288 * testsuite/gas/mips/compact-eh-eb-2.d,
1289 * testsuite/gas/mips/compact-eh-eb-5.d,
1290 * testsuite/gas/mips/compact-eh-el-2.d,
1291 * testsuite/gas/mips/compact-eh-el-5.d: Adjust.
1292
d2e6c9a3
AF
12932017-10-01 Alexander Fedotov <alfedotov@gmail.com>
1294
1295 * testsuite/gas/ppc/vle-mult-ld-st-insns.s: New file: Tests the
1296 support for the VLE multiple load/store instructions.
1297 * testsuite/gas/ppc/vle-mult-ld-st-insns.d: New file: Test
1298 driver.
1299 * testsuite/gas/ppc/ppc.exp: Run it.
1300
8e43602e
NC
13012017-09-27 Nick Clifton <nickc@redhat.com>
1302
1303 PR 22179
1304 * testsuite/gas/riscv/fmv.x.s: New file: Tests the support for the
1305 renamed fmv.x.s and fmv.s.x instructions.
1306 * testsuite/gas/riscv/fmv.x.d: New file: Test driver.
1307
ef272caa
MR
13082017-09-21 Maciej W. Rozycki <macro@imgtec.com>
1309
1310 * testsuite/gas/mips/elf_mach_5900.d: New test.
1311 * testsuite/gas/mips/mips.exp: Run it.
1312
42c0794e
JC
13132017-09-21 James Cowgill <James.Cowgill@imgtec.com>
1314
1315 PR gas/21762
1316 * config/tc-mips.c (s_mips_stab): Insert call to
1317 file_mips_check_options.
1318 * testsuite/gas/mips/micromips@stabs-symbol-type.d: New test.
1319 * testsuite/gas/mips/mips.exp: Run the new tests.
1320 * testsuite/gas/mips/mips16@stabs-symbol-type.d: New test.
1321 * testsuite/gas/mips/stabs-symbol-type.d: New test.
1322 * testsuite/gas/mips/stabs-symbol-type.s: New test source.
1323
ba52cbb9
AM
13242017-09-21 Alan Modra <amodra@gmail.com>
1325
1326 * config/tc-ppc.h (EH_FRAME_ALIGNMENT): Define.
1327
2578f2f3
AM
13282017-09-14 Alan Modra <amodra@gmail.com>
1329
1330 PR 22127
1331 * write.c (resolve_reloc_expr_symbols): Don't segfault when
1332 sec has been set to NULL.
1333
4e9ac44a
L
13342017-09-09 H.J. Lu <hongjiu.lu@intel.com>
1335
1336 * config/tc-i386.c (NOTRACK_PREFIX): Removed.
1337 (REX_PREFIX): Updated.
1338 (MAX_PREFIXES): Likewise.
1339 (parse_insn): Remove restriction on NOTRACK prefix position.
1340 * testsuite/gas/i386/notrack.s: Add tests with NOTRACK prefix
1341 before other prefixes.
1342 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
1343 * testsuite/gas/i386/notrackbad.s: Remove tests with NOTRACK
1344 prefix before other prefixes.
1345 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
1346 * testsuite/gas/i386/notrack-intel.d: Updated.
1347 * testsuite/gas/i386/notrack.d: Likewise.
1348 * testsuite/gas/i386/notrackbad.l: Likewise.
1349 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
1350 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
1351 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1352
ed0816bd
PD
13532017-09-07 Palmer Dabbelt <palmer@dabbelt.com>
1354
1355 * config/tc-riscv.c (riscv_frag_align_code): Emit the entire
1356 alignment sequence inside R_RISCV_ALIGN.
1357
83eef883
AFB
13582017-09-05 Alexander Fedotov <alexander.fedotov@nxp.com>
1359 Edmar Wienskoski <edmar.wienskoski@nxp.com
1360
1361 * config/tc-ppc.c (md_parse_option): Handle "mno-vle" flag.
1362 (ppc_elf_section_letter): New function.
1363 * config/tc-ppc.h (md_elf_section_letter): New.
1364 * testsuite/gas/elf/section10.d: Adjust for VLE.
1365
1c5c938a
TC
13662017-09-01 Tamar Christina <tamar.christina@arm.com>
1367
1368 * config/tc-aarch64.c (aarch64_cpus): Enable DOTPROD for
1369 cortex-a55 and cortx-a75.
1370
70e65ca8
MR
13712017-08-30 Maciej W. Rozycki <macro@imgtec.com>
1372
1373 * testsuite/gas/mips/branch-addend-micromips.d: New test.
1374 * testsuite/gas/mips/branch-addend-micromips-n32.d: New test.
1375 * testsuite/gas/mips/branch-addend-micromips-n64.d: New test.
1376 * testsuite/gas/mips/branch-addend-micromips.s: New test source.
1377 * testsuite/gas/mips/mips.exp: Run the new tests.
1378
37b2d327
MR
13792017-08-30 Maciej W. Rozycki <macro@imgtec.com>
1380
1381 * config/tc-mips.c (md_convert_frag): Respect
1382 `mips_ignore_branch_isa'.
1383 * testsuite/gas/mips/branch-local-5.d: New test.
1384 * testsuite/gas/mips/branch-local-n32-5.d: New test.
1385 * testsuite/gas/mips/branch-local-n64-5.d: New test.
1386 * testsuite/gas/mips/branch-local-6.d: New test.
1387 * testsuite/gas/mips/branch-local-n32-6.d: New test.
1388 * testsuite/gas/mips/branch-local-n64-6.d: New test.
1389 * testsuite/gas/mips/branch-local-7.d: New test.
1390 * testsuite/gas/mips/branch-local-n32-7.d: New test.
1391 * testsuite/gas/mips/branch-local-n64-7.d: New test.
1392 * testsuite/gas/mips/branch-local-ignore-5.d: New test.
1393 * testsuite/gas/mips/branch-local-ignore-n32-5.d: New test.
1394 * testsuite/gas/mips/branch-local-ignore-n64-5.d: New test.
1395 * testsuite/gas/mips/branch-local-ignore-6.d: New test.
1396 * testsuite/gas/mips/branch-local-ignore-n32-6.d: New test.
1397 * testsuite/gas/mips/branch-local-ignore-n64-6.d: New test.
1398 * testsuite/gas/mips/branch-local-5.l: New stderr output.
1399 * testsuite/gas/mips/branch-local-6.l: New stderr output.
1400 * testsuite/gas/mips/branch-local-5.s: New test source.
1401 * testsuite/gas/mips/branch-local-6.s: New test source.
1402 * testsuite/gas/mips/branch-local-7.s: New test source.
1403 * testsuite/gas/mips/mips.exp: Run the new tests.
1404
e491e58a
MR
14052017-08-30 Maciej W. Rozycki <macro@imgtec.com>
1406
1407 * testsuite/gas/mips/branch-local-n32-2.d: Use `branch-local-2.l'
1408 for `error-output'.
1409 * testsuite/gas/mips/branch-local-n64-2.d: Likewise.
1410 * testsuite/gas/mips/branch-local-n32-3.d: Use `branch-local-3.l'
1411 for `error-output'.
1412 * testsuite/gas/mips/branch-local-n64-3.d: Likewise.
1413 * testsuite/gas/mips/branch-local-n32-2.l: Remove file.
1414 * testsuite/gas/mips/branch-local-n64-2.l: Remove file.
1415 * testsuite/gas/mips/branch-local-n32-3.l: Remove file.
1416 * testsuite/gas/mips/branch-local-n64-3.l: Remove file.
1417
7ef3addb
JL
14182017-08-29 Jozef Lawrynowicz <jozef.l@somniumtech.com>
1419
1420 * config/tc-msp430.c (md_parse_option): Define high data and high
1421 bss symbols if -mdata-region is passed.
1422 Define -mdata-region open.
1423 * doc/c-msp430.texi: Document -mdata-region.
1424 * testsuite/gas/msp430/high-data-bss-sym.d: New test.
1425 * testsuite/gas/msp430/high-data-bss-sym.s: New.
1426 * testsuite/gas/msp430/msp430.exp: Add -mdata-region tests.
1427
74081948
AF
14282017-08-23 Alexander Fedotov <alexander.fedotov@nxp.com>
1429 Edmar Wienskoski <edmar.wienskoski@nxp.com
1430
1431 * config/tc-ppc.c:
1432 (md_parse_option): Add mspe2 switch.
1433 (md_show_usage): Document -mspe2.
1434 (ppc_setup_opcodes): Handle spe2_opcodes.
1435 * doc/as.texinfo: Document -mspe2.
1436 * doc/c-ppc.texi: Likewise.
1437 * testsuite/gas/ppc/efs.d: New file.
1438 * testsuite/gas/ppc/efs.s: Likewise.
1439 * testsuite/gas/ppc/efs2.d: Likewise.
1440 * testsuite/gas/ppc/efs2.s: Likewise.
1441 * testsuite/gas/ppc/ppc.exp: Run new tests.
1442 * testsuite/gas/ppc/spe.d: New file.
1443 * testsuite/gas/ppc/spe.s: Likewise.
1444 * testsuite/gas/ppc/spe2-checks.d: Likewise.
1445 * testsuite/gas/ppc/spe2-checks.l: Likewise.
1446 * testsuite/gas/ppc/spe2-checks.s: Likewise.
1447 * testsuite/gas/ppc/spe2.d: Likewise.
1448 * testsuite/gas/ppc/spe2.s: Likewise.
1449 * testsuite/gas/ppc/spe_ambiguous.d: Likewise.
1450 * testsuite/gas/ppc/spe_ambiguous.s: Likewise.
1451
f6a36b0c
JC
14522017-08-23 James Clarke <jrtc27@jrtc27.com>
1453
1454 * config/tc-sparc.c (tc_gen_reloc): Convert BFD_RELOC_8/16/32/64
1455 into the corresponding BFD_RELOC_8/16/32/64_PCREL relocation
1456 when requested.
1457 * config/tc-sparc.h (DIFF_EXPR_OK): Define to enable PC-relative
1458 diff relocations.
1459 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to ensure only supported
1460 relocations are made PC-relative.
1461 (CFI_DIFF_EXPR_OK): Define to 0 to force BFD_RELOC_32_PCREL to
1462 be used directly, since otherwise BFD_RELOC_SPARC_UA32 will be
1463 used for .eh_frame which cannot in general be converted to a
1464 BFD_RELOC_32_PCREL due to alignment requirements.
1465
bb4b64b0
AM
14662017-08-22 Alan Modra <amodra@gmail.com>
1467
1468 * testsuite/gas/ppc/lsp-checks.d: Assemble with -a32.
1469 * testsuite/gas/ppc/lsp.d: Likewise.
1470
e3c2f928
AF
14712017-08-21 Alexander Fedotov <alexander.fedotov@nxp.com>
1472 Edmar Wienskoski <edmar.wienskoski@nxp.com
1473
1474 * testsuite/gas/ppc/lsp-checks.d,
1475 * testsuite/gas/ppc/lsp-checks.l,
1476 * testsuite/gas/ppc/lsp-checks.s: New test.
1477 * testsuite/gas/ppc/lsp.d,
1478 * testsuite/gas/ppc/lsp.s: New test.
1479 * testsuite/gas/ppc/ppc.exp: Run new tests.
1480
8975f864
RR
14812017-08-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1482
1483 * config/tc-aarch64.c (REGDEF_ALIAS): Define
1484 (reg_names): Update for ip0, ip1, fp, lr to use REGDEF_ALIAS
1485 * doc/c-aarch64.texi: Update documentation on .req.
1486 * testsuite/gas/diagnostic.s: Update
1487 * testsuite/gas/diagnostic.l: Likewise
1488 * testsuite/gas/register_aliases.s: New file.
1489 * testsuite/gas/register_aliases.d: New file.
1490
76db0a2e
L
14912017-08-11 H.J. Lu <hongjiu.lu@intel.com>
1492
1493 PR gas/21667
1494 * read.c (pseudo_set): Update error message for alias of common
1495 symbol.
1496 * write.c (write_object_file): Disallow both local and global
1497 aliases of common symbol.
1498 * testsuite/gas/elf/common5a.d: New file.
1499 * testsuite/gas/elf/common5a.l: Likewise.
1500 * testsuite/gas/elf/common5a.s: Likewise.
1501 * testsuite/gas/elf/common5b.d: Likewise.
1502 * testsuite/gas/elf/common5b.l: Likewise.
1503 * testsuite/gas/elf/common5b.s: Likewise.
1504 * testsuite/gas/elf/common5c.d: Likewise.
1505 * testsuite/gas/elf/common5c.s: Likewise.
1506 * testsuite/gas/elf/common5d.d: Likewise.
1507 * testsuite/gas/elf/common5d.s: Likewise.
1508 * testsuite/gas/elf/elf.exp: Run common5a, common5b, common5c
1509 and common5d.
1510
4c2da80c
NC
15112017-08-10 Nick Clifton <nickc@redhat.com>
1512
1513 PR gas/21939
1514 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Increase
1515 size of indirect_syms array so that it is large enough to hold
1516 every symbol if necessary.
1517
cc4a945a
JW
15182017-08-09 Jiong Wang <jiong.wang@arm.com>
1519
1520 * config/tc-arm.c (do_crc32_1): Remove warning on REG_SP for thumb_mode.
1521 * testsuite/gas/arm/crc32-armv8-a-bad.d: Update exepcted result.
1522 * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
1523 * testsuite/gas/arm/crc32-armv8-a.d: Likewise.
1524 * testsuite/gas/arm/crc32-armv8-r.d: Likewise.
1525 * testsuite/gas/arm/crc32-armv8-ar-bad.s: Update test case.
1526 * testsuite/gas/arm/crc32-armv8-ar.s: Likewise.
1527 * testsuite/gas/arm/crc32-bad.l: Update expected error message.
1528
75800d2c
NC
15292017-08-02 Nick Clifton <nickc@redhat.com>
1530
1531 * testsuite/gas/all/gas.exp: Add am33 to the skip lists of tests
1532 passed over by the mn10300 target.
1533 * testsuite/gas/elf/elf.exp: Likewise.
1534 * testsuite/gas/elf/dwarf2-11.d: Correct skip of am33 target.
1535 * testsuite/gas/elf/dwarf2-12.d: Likewise.
1536 * testsuite/gas/elf/dwarf2-13.d: Likewise.
1537 * testsuite/gas/elf/dwarf2-14.d: Likewise.
1538 * testsuite/gas/elf/dwarf2-15.d: Likewise.
1539 * testsuite/gas/elf/dwarf2-16.d: Likewise.
1540 * testsuite/gas/elf/dwarf2-17.d: Likewise.
1541 * testsuite/gas/elf/dwarf2-18.d: Likewise.
1542 * testsuite/gas/elf/dwarf2-5.d: Likewise.
1543 * testsuite/gas/elf/dwarf2-6.d: Likewise.
1544 * testsuite/gas/elf/dwarf2-7.d: Likewise.
1545
2e957b16
JDA
15462017-07-31 John David Anglin <danglin@gcc.gnu.org>
1547
1548 * config/tc-hppa.c (pa_ip): Clear `d' bit in branch on bit instructions
1549 with a double-word condition and a fixed bit position greater than 31.
1550
a8086704
AW
15512017-07-28 Andrew Waterman <andrew@sifive.com>
1552
1553 * config/tc-riscv.c (riscv_set_arch): Handle the Q subset like
1554 all other subsets.
1555 Obviate use-after-free.
1556
7cbc739c
NC
15572017-07-25 Nick Clifton <nickc@redhat.com>
1558
1559 PR 21739
1560 * testsuite/gas/arc/add_s-err.s: Update expected error message.
1561
e8d84ca1
NC
15622017-07-24 Nick Clifton <nickc@redhat.com>
1563
1564 PR 21809
1565 * config/tc-aarch64.c (aarch64_init_frag): Do not set a mapping
1566 state for frags in debug sections.
1567 * config/tc-arm.c (arm_init_frag): Likewise.
1568
723dfee7
HPN
15692017-07-24 Hans-Peter Nilsson <hp@bitrange.com>
1570
1571 * dwarf2dbg.c (dwarf2dbg_final_check): Rename local variable exp
1572 from expr.
1573
47826cdb
AK
15742017-07-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1575
1576 * config/tc-s390.c (s390_parse_cpu): Add z14 as alternate CPU
1577 name.
1578 * doc/as.texinfo: Add z14 to CPU string list.
1579 * doc/c-s390.texi: Likewise.
1580
ba8826a8
AO
15812017-07-21 Alexandre Oliva <aoliva@redhat.com>
1582
1583 * dwarf2dbg.c (unused): Check offset of next in struct line_entry.
1584 (current): Initialize view.
1585 (force_reset_view, view_assert_failed): New variables.
1586 (reverse_line_entry_list): New function.
1587 (set_or_check_view): Likewise.
1588 (dwarf2_gen_line_info_1): Call it.
1589 (dwarf2_where): Set view to NULL.
1590 (dwarf2_emit_insn): Return early when called before first file.
1591 (dwarf2_directive_loc): Add view support. Emit insn
1592 immediately when view option is given.
1593 (process_entries): Avoid set_address to reset view when a known
1594 address change already implies the view reset.
1595 (dwarf2dbg_final_check): New function.
1596 * dwarf2dbg.h (struct dwarf2_line_info): Add view.
1597 (dwarf2dbg_final_check): Declare.
1598 * read.c (s_leb128): Parse expression as deferred.
1599 * write.c (write_object_file): Check pending view asserts.
1600 (cvt_frag_to_fill): Complain about undefined leb128 operand.
1601 * doc/as.texinfo (.loc): Document view support.
1602 * NEWS: Mention the new feature.
1603 * testsuite/gas/all/gas.exp: Run sleb128-9.
1604 * testsuite/gas/all/sleb128-9.d: New.
1605 * testsuite/gas/all/sleb128-9.l: New.
1606 * testsuite/gas/all/sleb128-9.s: New.
1607 * testsuite/gas/elf/dwarf2-1.d: Add nonzero views.
1608 * testsuite/gas/elf/dwarf2-2.d: Likewise.
1609 * testsuite/gas/elf/dwarf2-5.d: New.
1610 * testsuite/gas/elf/dwarf2-5.s: New.
1611 * testsuite/gas/elf/dwarf2-6.d: New.
1612 * testsuite/gas/elf/dwarf2-6.s: New.
1613 * testsuite/gas/elf/dwarf2-7.d: New.
1614 * testsuite/gas/elf/dwarf2-7.s: New.
1615 * testsuite/gas/elf/dwarf2-8.d: New.
1616 * testsuite/gas/elf/dwarf2-8.l: New.
1617 * testsuite/gas/elf/dwarf2-8.s: New.
1618 * testsuite/gas/elf/dwarf2-9.d: New.
1619 * testsuite/gas/elf/dwarf2-9.l: New.
1620 * testsuite/gas/elf/dwarf2-9.s: New.
1621 * testsuite/gas/elf/dwarf2-10.d: New.
1622 * testsuite/gas/elf/dwarf2-10.l: New.
1623 * testsuite/gas/elf/dwarf2-10.s: New.
1624 * testsuite/gas/elf/dwarf2-11.d: New.
1625 * testsuite/gas/elf/dwarf2-11.s: New.
1626 * testsuite/gas/elf/dwarf2-12.d: New.
1627 * testsuite/gas/elf/dwarf2-12.s: New.
1628 * testsuite/gas/elf/dwarf2-13.d: New.
1629 * testsuite/gas/elf/dwarf2-13.s: New.
1630 * testsuite/gas/elf/dwarf2-14.d: New.
1631 * testsuite/gas/elf/dwarf2-14.s: New.
1632 * testsuite/gas/elf/dwarf2-15.d: New.
1633 * testsuite/gas/elf/dwarf2-15.s: New.
1634 * testsuite/gas/elf/dwarf2-16.d: New.
1635 * testsuite/gas/elf/dwarf2-16.s: New.
1636 * testsuite/gas/elf/dwarf2-17.d: New.
1637 * testsuite/gas/elf/dwarf2-17.s: New.
1638 * testsuite/gas/elf/dwarf2-18.d: New.
1639 * testsuite/gas/elf/dwarf2-18.s: New.
1640 * testsuite/gas/elf/elf.exp: Run dwarf2-5..18 tests.
1641 * testsuite/gas/i386/dw2-compress-1.d: Add nonzero views.
1642 * testsuite/gas/i386/dw2-compressed-1.d: Likewise.
1643 * testsuite/gas/i386/ilp32/lns/lns-duplicate.d: Likewise.
1644 * testsuite/gas/lns/lns-big-delta.d: Likewise.
1645 * testsuite/gas/lns/lns-duplicate.d: Likewise.
1646 * testsuite/gas/mips/loc-swap-2.d: Likewise.
1647 * testsuite/gas/mips/loc-swap-3.d: Likewise.
1648 * testsuite/gas/mips/loc-swap.d: Likewise.
1649 * testsuite/gas/mips/micromips@loc-swap-2.d: Likewise.
1650 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
1651 * testsuite/gas/mips/mips16@loc-swap-2.d: Likewise.
1652 * testsuite/gas/mips/mips16@loc-swap.d: Likewise.
1653 * testsuite/gas/mips/mips16e@loc-swap.d: Likewise.
1654
684d5a10
JEM
16552017-07-19 Claudiu Zissulescu <claziss@synopsys.com>
1656
1657 * testsuite/gas/arc/jli-1.d: New file.
1658 * testsuite/gas/arc/jli-1.s: Likewise.
1659 * testsuite/gas/arc/taux.d: Update for jli_base.
1660
e4943f2c
TG
16612017-07-19 Tristan Gingold <gingold@adacore.com>
1662
1663 * as.c (start_sbrk): Remove.
1664 (main): Remove assignment.
1665 (dump_statistics): Remove display of data size.
1666
804a4093
TG
16672017-07-19 Tristan Gingold <gingold@adacore.com>
1668
1669 * testsuite/gas/pe/seh-x64-err-2.s: New test.
1670 * testsuite/gas/pe/seh-x64-err-2.l: New stderr output.
1671 * testsuite/gas/pe/pe.exp: Add test.
1672 * config/obj-coff-seh.c (obj_coff_seh_do_final): Don't try to end
1673 seh part.
1674
de194d85
YC
16752017-07-18 Nick Clifton <nickc@redhat.com>
1676
1677 PR 21775
1678 * config/tc-arm.c: Fix spelling typos.
1679 * config/tc-mips.c: Likewise.
1680 * config/tc-msp430.c: Likewise.
1681 * config/tc-sh64.c: Likewise.
1682 * config/tc-tic4x.c: Likewise.
1683 * ecoff.c: Likewise.
1684 * testsuite/gas/arm/ldr-bad.l: Likewise.
1685 * testsuite/gas/arm/ldr-t-bad.l: Likewise.
1686 * testsuite/gas/tic54x/opcodes.s: Likewise.
1687 * testsuite/gas/msp340/errata_warns.l: Likewise.
1688
b6a57713
NC
16892017-07-18 Nick Clifton <nickc@redhat.com>
1690
1691 * po/uk.po: Updated Ukranian translation.
1692
f27dadca
GJL
16932017-07-17 Georg-Johann Lay <avr@gjlay.de>
1694
1695 PR 21472
1696 * config/tc-avr.c (mcu_types): Add entries for: attiny212,
1697 attiny214, attiny412, attiny414, attiny814, attiny1614,
1698 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
1699 (md_show_usage): Adjust doc for "avrxmega3".
1700 * doc/c-avr.texi (AVR options) [-mmcu=]: Adjust doc for avrxmega3.
1701 Add MCUs: attiny212, attiny214, attiny412, attiny414, attiny416,
1702 attiny417, attiny814, attiny816, attiny817, attiny1614,
1703 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
1704
e58ff055
JW
17052017-07-13 Jim Wilson <jim.wilson@linaro.org>
1706
1707 * config/tc-arch64.c (aarch64_cpus): Add AARCH64_FEATURE_RDMA to
1708 falkor and qdf24xx entries.
1709
429d795d
AM
17102017-07-12 Alan Modra <amodra@gmail.com>
1711
1712 * po/es.po: Update from translationproject.org/latest/gas/.
1713 * po/fi.po: Likewise.
1714 * po/fr.po: Likewise.
1715 * po/id.po: Likewise.
1716 * po/ja.po: Likewise.
1717 * po/ru.po: Likewise.
1718 * po/sv.po: Likewise.
1719 * po/tr.po: Likewise.
1720 * po/uk.po: Likewise.
1721 * po/zh_CN.po: Likewise.
1722
0bae9e9e
NC
17232017-07-12 Nick Clifton <nickc@redhat.com>
1724
1725 Fix compile time warnings using gcc 7.1.1.
1726 * config/tc-pru.c (md_assemble): Add continue statement after
1727 handling 'E' operand character.
1728 * config/tc-v850.c (md_assemble): Initialise the 'insn' variable.
1729
15a7695f
JG
17302017-07-05 James Greenhalgh <james.greenhalgh@arm.com>
1731
1732 * config/tc-arm.c (arm_cpus): Add Cortex-A55 and Cortex-A75.
1733 * doc/c-arm.texi (-mcpu): Document Cortex-A55 and Cortex-A75.
1734
e4bdd679
BP
17352017-07-05 Borislav Petkov <bp@suse.de>
1736
1737 * testsuite/gas/i386/opcode.s: Add tests for ModRM.reg == 6 variants.
1738 * testsuite/gas/i386/opcode.d: ditto.
1739 * testsuite/gas/i386/x86-64-opcode.s: Add x86_64 variants too.
1740 * testsuite/gas/i386/x86-64-opcode.d: ditto.
1741
60c96dbf
RR
17422017-07-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1743
1744 * config/tc-arm.c (arm_regs): Add MVFR2.
1745 (do_vmrs): Constraint for MVFR2 and armv8.
1746 (do_vmsr): Likewise.
1747 * testsuite/gas/arm/armv8-a+fp.d: Update.
1748 * testsuite/gas/arm/armv8-ar+fp.s: Likewise.
1749 * testsuite/gas/arm/armv8-r+fp.d: Likewise.
1750 * testsuite/gas/arm/vfp-bad.s: Likewise.
1751 * testsuite/gas/arm/vfp-bad.l: Likewise.
1752
0d702cfe
TG
17532017-07-04 Tristan Gingold <gingold@adacore.com>
1754
1755 * configure: Regenerate.
1756
55a09eb6
TG
17572017-07-04 Tristan Gingold <gingold@adacore.com>
1758
1759 * NEWS: Add marker for 2.29.
1760
8d219acd
AM
17612017-07-03 Alan Modra <amodra@gmail.com>
1762
1763 * testsuite/gas/elf/symver.d: Don't run on hppa64-hpux.
1764
834a65aa
MR
17652017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1766
1767 * config/tc-mips.c (md_convert_frag): Use a switch on the
1768 microMIPS relaxation type rather than a chain of conditionals.
1769
bbd27b76
MR
17702017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1771
1772 * config/tc-mips.c (md_convert_frag): Rewrite `fix_new_exp'
1773 calls in terms of `fix_new'.
1774
9f00292e
MR
17752017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1776
1777 * config/tc-mips.c (md_convert_frag): Don't make a helper
1778 expression symbol for `fix_new_exp' called with a non-zero
1779 offset.
1780 * testsuite/gas/mips/relax-offset.d: New test.
1781 * testsuite/gas/mips/mips1@relax-offset.d: New test.
1782 * testsuite/gas/mips/r3000@relax-offset.d: New test.
1783 * testsuite/gas/mips/r3900@relax-offset.d: New test.
1784 * testsuite/gas/mips/micromips@relax-offset.d: New test.
1785 * testsuite/gas/mips/relax-offset.l: New stderr output.
1786 * testsuite/gas/mips/relax-offset.s: New test source.
1787 * testsuite/gas/mips/mips.exp: Run the new tests.
1788
32f76c67
GJL
17892017-06-30 Georg-Johann Lay <avr@gjlay.de>
1790
1791 PR gas/21683
1792 * doc/c-avr.texi (AVR Options) <-mgcc-isr>: Document it.
1793 (AVR Pseudo Instructions): New node.
1794 * config/tc-avr.h (md_pre_output_hook): Define to avr_pre_output_hook.
1795 (md_undefined_symbol): Define to avr_undefined_symbol.
1796 (avr_pre_output_hook, avr_undefined_symbol): New protos.
1797 * config/tc-avr.c (struc-symbol.h): Include it.
1798 (ISR_CHUNK_Done, ISR_CHUNK_Prologue, ISR_CHUNK_Epilogue): New enums.
1799 (avr_isr, avr_gccisr_opcode)
1800 (avr_no_sreg_hash, avr_no_sreg): New static variables.
1801 (avr_opt_s) <have_gccisr>: Add field.
1802 (avr_opt): Add initializer for have_gccisr.
1803 (enum options) <OPTION_HAVE_GCCISR>: Add enum.
1804 (md_longopts) <"mgcc-isr">: Add entry.
1805 (md_show_usage): Document -mgcc-isr.
1806 (md_parse_option) [OPTION_HAVE_GCCISR]: Handle it.
1807 (md_undefined_symbol): Remove.
1808 (avr_undefined_symbol, avr_pre_output_hook): New fuctions.
1809 (md_begin) <avr_no_sreg_hash, avr_gccisr_opcode>: Initialize them.
1810 (avr_operand) <pregno>: Add argument and set *pregno if function
1811 is called for a register constraint.
1812 [N]: Handle constraint.
1813 (avr_operands) <avr_operand>: Pass 5th parameter to calls.
1814 [avr_opt.have_gccisr]: Call avr_update_gccisr. Call
1815 avr_gccisr_operands instead of avr_operands.
1816 (avr_update_gccisr, avr_emit_insn, avr_patch_gccisr_frag)
1817 (avr_gccisr_operands, avr_check_gccisr_done): New static functions.
1818 * testsuite/gas/avr/gccisr-01.d: New test.
1819 * testsuite/gas/avr/gccisr-01.s: New test.
1820 * testsuite/gas/avr/gccisr-02.d: New test.
1821 * testsuite/gas/avr/gccisr-02.s: New test.
1822 * testsuite/gas/avr/gccisr-03.d: New test.
1823 * testsuite/gas/avr/gccisr-03.s: New test.
1824
33f46696
MR
18252017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1826
1827 * config/tc-mips.c (match_float_constant): Update description.
1828 (match_operand): Likewise.
1829
909b4e3d
MR
18302017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
1831 Maciej W. Rozycki <macro@imgtec.com>
1832
1833 * config/tc-mips.c (mips_ases): Add microMIPS XPA support.
1834 * testsuite/gas/mips/micromips@xpa.d: New test.
1835 * testsuite/gas/mips/mips.exp: Run the new test. Enable
1836 `xpa-virt-err' test for `micromips'.
1837
f5b2fd52
MR
18382017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
1839 Maciej W. Rozycki <macro@imgtec.com>
1840
1841 * testsuite/gas/mips/micromips@r5.d: New test.
1842 * testsuite/gas/mips/mips.exp: Run the new test.
1843
9785fc2a
MR
18442017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1845 Andrew Bennett <andrew.bennett@imgtec.com>
1846
1847 * config/tc-mips.c (mips_set_ase): Handle the ASE_XPA_VIRT flag.
1848 * testsuite/gas/mips/xpa.d: Remove `xpa' from `-M' in `objdump'
1849 flags. Add `-mvirt' to `as' flags.
1850 * testsuite/gas/mips/xpa-err.d: New test.
1851 * testsuite/gas/mips/xpa-virt-err.d: New test.
1852 * testsuite/gas/mips/xpa-err.l: New stderr output.
1853 * testsuite/gas/mips/xpa-virt-err.l: New stderr output.
1854 * testsuite/gas/mips/xpa-err.s: New test source.
1855 * testsuite/gas/mips/xpa-virt-err.s: New test source.
1856 * testsuite/gas/mips/mips.exp: Run the new tests.
1857
60804c53
MR
18582017-06-29 Maciej W. Rozycki <macro@imgtec.com>
1859
1860 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: Adjust for the
1861 ASE_MIPS16E2_MT flag disassembler fix.
1862 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
1863 Likewise.
1864
92cebb3d
MR
18652017-06-29 Maciej W. Rozycki <macro@imgtec.com>
1866
1867 * config/tc-mips.c (mips_set_ase): Clear the ASE_MIPS16E2_MT
1868 flag before recalculating.
1869 * testsuite/gas/mips/mips16e2-mt-err.d: New test.
1870 * testsuite/gas/mips/mips16e2-mt-err.l: New stderr output.
1871 * testsuite/gas/mips/mips16e2-mt-err.s: New test source.
1872 * testsuite/gas/mips/mips.exp: Run the new test.
1873
65a55fbb
TC
18742017-06-28 Tamar Christina <tamar.christina@arm.com>
1875
1876 * config/tc-aarch64.c (aarch64_reg_parse_32_64): Accept 4B.
1877 (aarch64_features): Added dotprod.
1878 * doc/c-aarch64.texi: Added dotprod.
1879 * testsuite/gas/aarch64/dotproduct.d: New.
1880 * testsuite/gas/aarch64/dotproduct.s: New.
1881
c604a79a
JW
18822017-06-28 Jiong Wang <jiong.wang@arm.com>
1883
1884 * config/tc-arm.c (fpu_neon_ext_dotprod): New variable.
1885 (neon_scalar_for_mul): Improve comments.
1886 (do_neon_dotproduct): New function to encode Dot Product instructions.
1887 (do_neon_dotproduct_s): Wrapper function for signed Dot Product
1888 instructions.
1889 (do_neon_dotproduct_u): Wrapper function for unsigned Dot Product
1890 instructions.
1891 (insns): New entries for vsdot and vudot.
1892 (arm_extensions): New entry for "dotprod".
1893 * doc/c-arm.texi: Document new "dotprod" extension.
1894 * testsuite/gas/arm/dotprod.s: New test source.
1895 * testsuite/gas/arm/dotprod-illegal.s: New test source.
1896 * testsuite/gas/arm/dotprod.d: New test.
1897 * testsuite/gas/arm/dotprod-thumb2.d: New test.
1898 * testsuite/gas/arm/dotprod-illegal.d: New test.
1899 * testsuite/gas/arm/dotprod-legacy-arch.d: New test.
1900 * testsuite/gas/arm/dotprod-illegal.l: New error file.
1901 * testsuite/gas/arm/dotprod-legacy-arch.l: New error file.
1902
819e1f86
MR
19032017-06-28 Maciej W. Rozycki <macro@imgtec.com>
1904
1905 * testsuite/gas/mips/elf_mach_interaptiv-mr2.d: New test.
1906 * testsuite/gas/mips/save-err.d: New test.
1907 * testsuite/gas/mips/save-sub.d: New test.
1908 * testsuite/gas/mips/interaptiv-mr2@save.d: New test.
1909 * testsuite/gas/mips/mips1@save-sub.d: New test.
1910 * testsuite/gas/mips/mips2@save-sub.d: New test.
1911 * testsuite/gas/mips/mips3@save-sub.d: New test.
1912 * testsuite/gas/mips/mips4@save-sub.d: New test.
1913 * testsuite/gas/mips/mips5@save-sub.d: New test.
1914 * testsuite/gas/mips/mips32@save-sub.d: New test.
1915 * testsuite/gas/mips/mips64@save-sub.d: New test.
1916 * testsuite/gas/mips/mips16@save-sub.d: New test.
1917 * testsuite/gas/mips/mips16e@save-sub.d: New test.
1918 * testsuite/gas/mips/r3000@save-sub.d: New test.
1919 * testsuite/gas/mips/r3900@save-sub.d: New test.
1920 * testsuite/gas/mips/r4000@save-sub.d: New test.
1921 * testsuite/gas/mips/vr5400@save-sub.d: New test.
1922 * testsuite/gas/mips/interaptiv-mr2@save-sub.d: New test.
1923 * testsuite/gas/mips/sb1@save-sub.d: New test.
1924 * testsuite/gas/mips/octeon2@save-sub.d: New test.
1925 * testsuite/gas/mips/octeon3@save-sub.d: New test.
1926 * testsuite/gas/mips/xlr@save-sub.d: New test.
1927 * testsuite/gas/mips/r5900@save-sub.d: New test.
1928 * testsuite/gas/mips/mips16e2-copy.d: New test.
1929 * testsuite/gas/mips/mips16e2-copy-err.d: New test.
1930 * testsuite/gas/mips/save.d: Remove `MIPS16e' from the `name'
1931 option. Adjust for trailing padding change.
1932 * testsuite/gas/mips/mips16e2-copy-err.l: New stderr output.
1933 * testsuite/gas/mips/save-sub.s: New test source.
1934 * testsuite/gas/mips/mips16e2-copy.s: New test source.
1935 * testsuite/gas/mips/mips16e2-copy-err.s: New test source.
1936 * testsuite/gas/mips/save.s: Update description, change trailing
1937 padding and remove trailing white space.
1938 * testsuite/gas/mips/mips.exp: Expand `save' and `save-err'
1939 tests across the regular MIPS interAptiv MR2 architecture. Run
1940 the new tests.
1941
c7d289d1
MR
19422017-06-28 Maciej W. Rozycki <macro@imgtec.com>
1943
1944 * testsuite/gas/mips/mips.exp (interaptiv-mr2): New architecture.
1945 (mips16e2-interaptiv-mr2): Likewise.
1946 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d: New
1947 test.
1948 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d:
1949 New test.
1950 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d:
1951 New test.
1952 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d:
1953 New test.
1954 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d:
1955 New test.
1956 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d: New
1957 test.
1958 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d: New
1959 test.
1960 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d: New
1961 test.
1962 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d:
1963 New test.
1964 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
1965 New test.
1966 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-asmacro.d:
1967 New test.
1968 * testsuite/gas/mips/interaptiv-mr2@mcu.d: New test.
1969 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d: New test.
1970 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d: New test.
1971 * testsuite/gas/mips/attr-gnu-4-5.d: Ignore any number of ASE
1972 flag lines present rather than just one.
1973 * testsuite/gas/mips/attr-gnu-4-6.d: Likewise.
1974 * testsuite/gas/mips/attr-gnu-4-7.d: Likewise.
1975 * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d: Likewise.
1976 * testsuite/gas/mips/attr-none-o32-fp64.d: Likewise.
1977 * testsuite/gas/mips/attr-none-o32-fpxx.d: Likewise.
1978 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.l: New
1979 stderr output.
1980 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.l:
1981 New stderr output.
1982 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.l:
1983 New stderr output.
1984 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.l:
1985 New stderr output.
1986 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.l:
1987 New stderr output.
1988 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.l: New
1989 stderr output.
1990 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.l: New
1991 stderr output.
1992 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.l:
1993 New stderr output.
1994 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.l: New stderr
1995 output.
1996 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.l: New stderr
1997 output.
1998
38bf472a
MR
19992017-06-28 Maciej W. Rozycki <macro@imgtec.com>
2000 Matthew Fortune <matthew.fortune@imgtec.com>
2001
2002 * config/tc-mips.c (validate_mips_insn): Handle
2003 OP_SAVE_RESTORE_LIST specially.
2004 (mips_encode_save_restore, mips16_encode_save_restore): New
2005 functions.
2006 (match_save_restore_list_operand): Factor out SAVE/RESTORE
2007 operand insertion into the instruction word or halfword to these
2008 new functions.
2009 (mips_cpu_info_table): Add "interaptiv-mr2" entry.
2010
2011 * doc/c-mips.texi (MIPS Options): Add `interaptiv-mr2' to the
2012 `-march=' argument list.
2013
79cb3f75
MR
20142017-06-27 Maciej W. Rozycki <macro@imgtec.com>
2015
2016 * testsuite/gas/mips/mips16e-save.d: Rename to...
2017 * testsuite/gas/mips/save.d: ... this.
2018 * testsuite/gas/mips/mips16e-save-err.d: Update the
2019 `error-output' option and rename to...
2020 * testsuite/gas/mips/save-err.d: ... this.
2021 * testsuite/gas/mips/mips16e-save-err.l: Rename to...
2022 * testsuite/gas/mips/save-err.l: ... this.
2023 * testsuite/gas/mips/mips16e-save.s: Rename to...
2024 * testsuite/gas/mips/save.s: ... this.
2025 * testsuite/gas/mips/mips16e-save-err.s: Rename to...
2026 * testsuite/gas/mips/save-err.s: ... this.
2027 * testsuite/gas/mips/mips.exp: Rename `mips16e-save' and
2028 `mips16e-save-err' invocations to `save' and `save-err'
2029 respectively and reorder these tests away from MIPS16 tests.
2030
b0bd097e
MR
20312017-06-27 Maciej W. Rozycki <macro@imgtec.com>
2032
2033 * testsuite/gas/mips/mips16e-save.d: Remove `-mmips:isa32
2034 -mmips:16' from `objdump' flags and `-march=mips32 -mips16' from
2035 `as' flags.
2036 * testsuite/gas/mips/mips16e-save-err.d: Remove `-march=mips32'
2037 from `as' flags.
2038 * testsuite/gas/mips/mips16e-save.s: Remove the `.set mips16'
2039 pseudo-op.
2040 * testsuite/gas/mips/mips16e-save-err.s: Likewise.
2041 * testsuite/gas/mips/mips.exp: Run SAVE/RESTORE tests across all
2042 MIPS16e architectures.
2043
2438385a
MR
20442017-06-27 Maciej W. Rozycki <macro@imgtec.com>
2045
2046 * testsuite/gas/mips/mips16e-save-err.d: New test.
2047 * gas/testsuite/gas/mips/mips.exp: Fold `mips16e-save-err' list
2048 test into the new test.
2049
daba08c9
MR
20502017-06-27 Maciej W. Rozycki <macro@imgtec.com>
2051
2052 * testsuite/gas/mips/mips16e-save.d: Capitalize the `name'
2053 option.
2054
a6cbf936
KLC
20552017-06-26 Kuan-Lin Chen <rufus@andestech.com>
2056
2057 * config/tc-riscv.c (md_apply_fix) [BFD_RELOC_32]: Convert to a
2058 R_RISCV_32_PCREL relocation.
2059
a3aea05a
L
20602017-06-26 H.J. Lu <hongjiu.lu@intel.com>
2061
2062 PR gas/21661
2063 * config/obj-elf.c (obj_elf_symver): Don't allow .symver with
2064 common symbol.
2065 (elf_frob_symbol): Likewise.
2066 * testsuite/gas/elf/elf.exp: Run pr21661.
2067 * testsuite/gas/elf/pr21661.d: New file.
2068 * testsuite/gas/elf/pr21661.s: Likewise.
2069
49fa50ef
NC
20702017-06-26 Nick Clifton <nickc@redhat.com>
2071
2072 * config/tc-arm.c (fpu_any): Only define for ELF based targets.
2073
cf9bdae9 20742017-06-26 Claudiu Zissulescu <claziss@synopsys.com>
2075
2076 * /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known
2077 instructions to be accounted as jumps.
2078 (assemble_insn): Check for limms into the delay slots. Emit an
2079 error if so.
2080 * testsuite/gas/arc/asm-errors-3.d: New file.
2081 * testsuite/gas/arc/asm-errors-3.err: Likewise.
2082 * testsuite/gas/arc/asm-errors-3.s: Likewise.
2083
0cda1e19
TP
20842017-06-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2085
2086 * NEWS: Mention support of ARM Cortex-R52 processor.
2087 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-R52 processor.
2088 * doc/c-arm.texi: Mention support for -mcpu=cortex-r52.
2089
ced40572
TP
20902017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
2091
2092 * NEWS: Mention support for ARMv8-R architecture.
2093 * config/tc-arm.c (arm_archs): Add entry for ARMv8-R.
2094 (arm_extensions): Restrict pan, ras and rdma extension to
2095 ARMv8-A and make crypto, fp and simd extensions available to
2096 ARMv8-R.
2097 (cpu_arch_ver): Add entry for ARMv8-R.
2098 (aeabi_set_public_attributes): Update gas_assert for Tag_DIV_use
2099 logic.
2100 * testsuite/gas/arm/armv8-a+fp.s: Rename into ...
2101 * testsuite/gas/arm/armv8-ar+fp.s: This. Remove .arch directive.
2102 * testsuite/gas/arm/armv8-a+fp.d: Specify source to assemble and
2103 architecture to assemble for.
2104 * testsuite/gas/arm/armv8-r+fp.d: New.
2105 * testsuite/gas/arm/armv8-a+simd.s: Rename into ...
2106 * testsuite/gas/arm/armv8-ar+simd.s: This. Remove .arch directive.
2107 * testsuite/gas/arm/armv8-a+simd.d: Specify source to assemble and
2108 architecture to assemble for.
2109 * testsuite/gas/arm/armv8-r+simd.d: New.
2110 * testsuite/gas/arm/armv8-a-bad.s: Rename into ...
2111 * testsuite/gas/arm/armv8-ar-bad.s: This. Remove .arch directive.
2112 * testsuite/gas/arm/armv8-a-bad.l: Rename into ...
2113 * testsuite/gas/arm/armv8-ar-bad.l: This. Decrement line number by 1.
2114 * testsuite/gas/arm/armv8-a-bad.d: Specify source to assemble,
2115 architecture to assemble for and adjust error output file.
2116 * testsuite/gas/arm/armv8-r-bad.d: New.
2117 * testsuite/gas/arm/armv8-a-barrier.s: Rename into ...
2118 * testsuite/gas/arm/armv8-ar-barrier.s: This.
2119 * testsuite/gas/arm/armv8-a-barrier-arm.d: Adjust source.
2120 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
2121 * testsuite/gas/arm/armv8-r-barrier-arm.d: New.
2122 * testsuite/gas/arm/armv8-r-barrier-thumb.d: New.
2123 * testsuite/gas/arm/armv8-a-it-bad.s: Rename into ...
2124 * testsuite/gas/arm/armv8-ar-it-bad.s: This. Remove .arch directive.
2125 * testsuite/gas/arm/armv8-a-it-bad.l: Rename into ...
2126 * testsuite/gas/arm/armv8-ar-it-bad.l: This. Decrement line number
2127 by 1.
2128 * testsuite/gas/arm/armv8-a-it-bad.d: Specify source to assemble,
2129 architecture to assemble for and adjust error output file.
2130 * testsuite/gas/arm/armv8-r-it-bad.d: New.
2131 * testsuite/gas/arm/armv8-a.s: Rename into ...
2132 * testsuite/gas/arm/armv8-ar.s: This. Remove .arch directive.
2133 * testsuite/gas/arm/armv8-a.d: Specify source to assemble and
2134 architecture to assemble for.
2135 * testsuite/gas/arm/armv8-r.d: New.
2136 * testsuite/gas/arm/attr-march-armv8-r+crypto.d: New.
2137 * testsuite/gas/arm/attr-march-armv8-r+fp.d: New.
2138 * testsuite/gas/arm/attr-march-armv8-r+simd.d: New.
2139 * testsuite/gas/arm/attr-march-armv8-r.d: New.
2140 * testsuite/gas/arm/crc32.s: Rename into ...
2141 * testsuite/gas/arm/crc32-armv8-ar.s: This.
2142 * testsuite/gas/arm/crc32.d: Rename into ...
2143 * testsuite/gas/arm/crc32-armv8-a.d: This. Specify source to assemble.
2144 * testsuite/gas/arm/crc32-armv8-r.d: New.
2145 * testsuite/gas/arm/crc32-bad.s: Rename into ...
2146 * testsuite/gas/arm/crc32-armv8-ar-bad.s: This.
2147 * testsuite/gas/arm/crc32-bad.d: Rename into ...
2148 * testsuite/gas/arm/crc32-armv8-a-bad.d: This. Specify source to
2149 assemble.
2150 * testsuite/gas/arm/crc32-armv8-r-bad.d: New.
2151 * testsuite/gas/arm/mask_1.s: Rename into ...
2152 * testsuite/gas/arm/mask_1-armv8-ar.s: This.
2153 * testsuite/gas/arm/mask_1.d: Rename into ...
2154 * testsuite/gas/arm/mask_1-armv8-a.d: This. Specify source to
2155 assemble.
2156 * testsuite/gas/arm/mask_1-armv8-r.d: new.
2157
173205ca
TP
21582017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
2159
2160 * config/tc-arm.c (arm_ext_v6m): Delete.
2161 (arm_ext_v7m): Delete.
2162 (arm_ext_m): Remove ARM_EXT_OS from the set of feature defined M
2163 profile.
2164 (arm_arch_v6m_only): Delete.
2165 (do_t_swi): Remove special case for ARMv6S-M.
2166 (md_assemble): Display error message previously in do_t_swi when
2167 SVC is not available.
2168 (insns): Guard swi and svc by arm_ext_os for Thumb mode.
2169 (aeabi_set_public_attributes): Remove special case for ARMv6S-M.
2170
94f78a77
AW
21712017-05-11 Andrew Waterman <andrew@sifive.com>
2172
2173 * config/tc-riscv.c (riscv_ip): Changes as_warn to as_bad for improper
2174 shift amounts.
2175
e7d39ed3
NC
21762017-06-22 Nick Clifton <nickc@redhat.com>
2177
2178 * config/tc-arm.c (arm_ext_v7m): Add ATTRIBUTE_UNUSED.
2179
2c6b98ea
TP
21802017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
2181
2182 * config/tc-arm.c (fpu_any): Defined from FPU_ANY.
2183 (cpu_arch_ver): Add all architectures and sort by release date.
2184 (have_ext_for_needed_feat_p): New.
2185 (get_aeabi_cpu_arch_from_fset): New.
2186 (aeabi_set_public_attributes): Call above function to determine
2187 Tag_CPU_arch and Tag_CPU_arch_profile values. Adapt Tag_ARM_ISA_use
2188 and Tag_THUMB_ISA_use selection logic to check absence of feature bit
2189 accordingly.
2190 * testsuite/gas/arm/attr-march-armv1.d: Fix expected Tag_CPU_arch build
2191 attribute value.
2192 * testsuite/gas/arm/attr-march-armv2.d: Likewise.
2193 * testsuite/gas/arm/attr-march-armv2a.d: Likewise.
2194 * testsuite/gas/arm/attr-march-armv2s.d: Likewise.
2195 * testsuite/gas/arm/attr-march-armv3.d: Likewise.
2196 * testsuite/gas/arm/attr-march-armv3m.d: Likewise.
2197 * testsuite/gas/arm/pr12198-2.d: Likewise.
2198
2234eee6
L
21992017-06-21 H.J. Lu <hongjiu.lu@intel.com>
2200
2201 * testsuite/gas/i386/cet-intel.d: Updated.
2202 * testsuite/gas/i386/cet.d: Likewise.
2203 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
2204 * testsuite/gas/i386/x86-64-cet.d: Likewise.
2205 * testsuite/gas/i386/cet.s: Update incsspd and setssbsy tests.
2206 * testsuite/gas/i386/x86-64-cet.s: Likewise.
2207
c2f76402
L
22082017-06-21 H.J. Lu <hongjiu.lu@intel.com>
2209
2210 * testsuite/gas/i386/cet-intel.d: Updated.
2211 * testsuite/gas/i386/cet.d: Likewise.
2212 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
2213 * testsuite/gas/i386/x86-64-cet.d: Likewise.
2214 * testsuite/gas/i386/cet.s: Replace savessp with saveprevssp.
2215 * testsuite/gas/i386/x86-64-cet.s: Likewise.
2216
9fef80d6
L
22172017-06-21 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 * config/tc-i386.c (md_assemble): Update NOTRACK prefix check.
2220 * testsuite/gas/i386/notrack-intel.d: Updated.
2221 * testsuite/gas/i386/notrack.d: Likewise.
2222 * testsuite/gas/i386/notrackbad.l: Likewise.
2223 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
2224 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
2225 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
2226 * testsuite/gas/i386/notrack.s: Add NOTRACK prefix tests with
2227 memory indirect branch.
2228 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
2229 * testsuite/gas/i386/notrackbad.s: Remove memory indirect branch
2230 with NOTRACK prefix.
2231 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
2232
3d030cdb
TP
22332017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
2234
2235 * config/tc-arm.c (arm_extensions): New duplicate idiv entry to enable
2236 Thumb division for ARMv7 architecture.
2237 (arm_parse_extension): Document expected behavior for duplicate
2238 entries.
2239 (s_arm_arch_extension): Likewise.
2240 * testsuite/gas/arm/forbid-armv7-idiv-ext.d: New test.
2241 * testsuite/gas/arm/forbid-armv7-idiv-ext.l: New expected output for
2242 above test.
2243
54bab281
TP
22442017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
2245
2246 * config/tc-arm.c (aeabi_set_public_attributes): Populate flags from
2247 feature bits used or selected_cpu depending on whether a CPU was
2248 selected by the user.
2249
6c290d53
TP
22502017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
2251
2252 * config/tc-arm.c (aeabi_set_public_attributes): Test *mcpu_ext_opt to
2253 decide whether to set Tag_DSP_extension build attribute value. Remove
2254 now useless arm_arch variable.
2255
c168ce07
TP
22562017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
2257
2258 * config/tc-arm.c (dyn_mcpu_ext_opt): New static variable.
2259 (dyn_march_ext_opt): Likewise.
2260 (md_begin): Copy extension feature bits alongside architecture ones.
2261 Merge extensions feature bits in selected_cpu and cpu_variant if there
2262 is some.
2263 (arm_parse_extension): Pass architecture and extension feature bits in
2264 separate parameters, with architecture bits being read only. Update
2265 **opt_p directly rather than *ext_set and initialize it if needed.
2266 (arm_parse_cpu): Stop merging architecture and extension feature bits
2267 and instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
2268 respectively. Adapt to change in parameters of arm_parse_extension.
2269 (arm_parse_arch): Adapt to change in parameters of arm_parse_extension.
2270 (aeabi_set_attribute_string): Make function static.
2271 (arm_md_post_relax): New function.
2272 (s_arm_cpu): Stop merging architecture and extension feature bits and
2273 instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
2274 respectively. Merge extension feature bits in cpu_variant
2275 if there is any.
2276 (s_arm_arch): Reset extension feature bit. Set selected_cpu from
2277 *mcpu_cpu_opt and cpu_variant from selected_cpu and *mfpu_opt for
2278 consistency with s_arm_cpu.
2279 (s_arm_arch_extension): Update *dyn_mcpu_ext_opt rather than
2280 selected_cpu, allocating it before hand if needed. Set selected_cpu
2281 from it and then cpu_variant.
2282 (s_arm_fpu): Merge *mcpu_ext_opt feature bits if any in cpu_variant.
2283 * config/tc-arm.h (md_post_relax_hook): Set to arm_md_post_relax.
2284 (aeabi_set_public_attributes): Delete external declaration.
2285 (arm_md_post_relax): Declare externally.
2286
996b5569
TP
22872017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
2288
2289 * config/tc-arm.c (struct arm_cpu_option_table): New ext field.
2290 (ARM_CPU_OPT): Add parameter to set new ext field and reorder canonical
2291 name field just after the name field.
2292 (arm_cpus): Move extension feature bit from value field to ext field,
2293 reorder parameter according to changes in ARM_CPU_OPT and reindent.
2294 (arm_parse_cpu): Point mcpu_cpu_opt to a bitfield merging the value and
2295 ext field from the selected arm_cpus entry.
2296 (s_arm_cpu): Likewise.
2297
1e292627
JG
22982017-06-21 James Greenhalgh <james.greenhalgh@arm.com>
2299
2300 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75.
2301 * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75.
2302
8cac017d
L
23032017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2304
2305 PR binutils/21594
2306 * testsuite/gas/i386/mpx.s: Add 2 tests with invalid bnd
2307 register.
2308 * testsuite/gas/i386/x86-64-mpx.s: Likewise.
2309 * testsuite/gas/i386/mpx.d: Updated.
2310 * testsuite/gas/i386/x86-64-mpx.d: Likewise.
2311
f7e16c2a
MF
23122017-06-14 Max Filippov <jcmvbkbc@gmail.com>
2313
2314 * config/tc-xtensa.c (density_supported, xtensa_fetch_width,
2315 absolute_literals_supported): Leave definitions uninitialized.
2316 (directive_state): Leave entries for directive_density and
2317 directive_absolute_literals initialized to false.
2318 (xg_init_global_config, xtensa_init): New functions.
2319 * config/tc-xtensa.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
2320 (HOST_SPECIAL_INIT): New definition.
2321 (xtensa_init): New declaration.
2322
62e20ed4
MC
23232017-06-07 Michael Collison <michael.collison@arm.com>
2324
2325 * config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
2326 IP1, FP, and LR as register aliases of register 16, 17, 29
2327 and 30 respectively.
2328 * testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
2329 prohibiting register 'lr' which is now an alias.
2330 * testsuite/gas/aarch64/diagnostic.s: Remove instruction
2331 utilizing register 'lr' which is now an alias.
2332
5c8ed6a4
JW
23332017-06-06 Jiong Wang <jiong.wang@arm.com>
2334
2335 * config/tc-arm.c (reject_bad_reg): Allow REG_SP on ARMv8-A.
2336 (parse_operands): Allow REG_SP for OP_oRRnpcsp and OP_RRnpcsp on
2337 ARMv8-A.
2338 (do_co_reg): Allow REG_SP for Rd on ARMv8-A.
2339 (do_t_add_sub): Likewise.
2340 (do_t_mov_cmp): Likewise.
2341 (do_t_tb): Likewise.
2342 * testsuite/gas/arm/ld-sp-warn.l: Delete the warning on REG_SP as Rt for
2343 ldrsb.
2344 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: New test.
2345 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: New test.
2346 * testsuite/gas/arm/sp-pc-validations-bad-t.d: Specifies -march=armv7-a.
2347 * testsuite/gas/arm/sp-pc-validations-bad-t.s: Remove ".arch armv7-a".
2348 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d: New test.
2349 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.l: New test.
2350 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v8.d: New test.
2351 * testsuite/gas/arm/sp-usage-thumb2-relax.s: New test.
2352 * testsuite/gas/arm/strex-bad-t.d: Specifies -march=armv7-a.
2353
61756f84
JW
23542017-06-05 Jim Wilson <jim.wilson@linaro.org>
2355
2356 * config/tc-arm.c (arm_cpus): Delete falkor and qdf24xx entries.
2357 * doc/c-arm.texi (-mcpu): Likewise.
2358
940171d0
AK
23592017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
2360
2361 * config/tc-arc.c (cpu_types): Include arc-cpu.def
2362
6e92fed5
L
23632017-05-23 H.J. Lu <hongjiu.lu@intel.com>
2364
2365 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
2366 targets.
2367 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
2368
6e3f3473 23692017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2370
2371 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
2372 (assemble_insn): Use as_bad.
2373
04ef582a
L
23742017-05-22 H.J. Lu <hongjiu.lu@intel.com>
2375
2376 * config/tc-i386.c (REX_PREFIX): Changed to 7.
2377 (NOTRACK_PREFIX): New.
2378 (MAX_PREFIXES): Changed to 8.
2379 (_i386_insn): Add notrack_prefix.
2380 (PREFIX_GROUP): Add PREFIX_DS.
2381 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
2382 (md_assemble): Check if NOTRACK prefix is supported.
2383 (parse_insn): Set notrack_prefix and issue an error for
2384 other prefixes after NOTRACK prefix.
2385 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
2386 * testsuite/gas/i386/notrack-intel.d: New file.
2387 * testsuite/gas/i386/notrack.d: Likewise.
2388 * testsuite/gas/i386/notrack.s: Likewise.
2389 * testsuite/gas/i386/notrackbad.l: Likewise.
2390 * testsuite/gas/i386/notrackbad.s: Likewise.
2391 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
2392 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
2393 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
2394 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
2395 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
2396
3c0367d0
JW
23972017-05-22 Jiong Wang <jiong.wang@arm.com>
2398
2399 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
2400 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
2401 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
2402 * configure: Regenerate.
2403 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
2404 (md_after_parse_args): New define.
2405 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
2406 AARCH64_ABI_NONE.
2407 (DEFAULT_ARCH): New define.
2408 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
2409 (aarch64_after_parse_args): New function.
2410
64517994
JM
24112017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
2412
2413 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
2414 `v9m8' and `v8plusm8'.
2415 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
2416 (get_hwcap_name): Support the M8 hardware capabilities.
2417 (sparc_ip): Handle new operand types.
2418 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
2419 -Asparc6, and the corresponding -xarch aliases.
2420 * testsuite/gas/sparc/sparc6.s: New file.
2421 * testsuite/gas/sparc/sparc6.d: Likewise.
2422 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
2423 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
2424 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
2425 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
2426 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
2427 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
2428 * testsuite/gas/sparc/ldm-stm.s: Likewise.
2429 * testsuite/gas/sparc/ldm-stm.d: Likewise.
2430 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
2431 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
2432 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
2433 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
2434 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
2435 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
2436 * testsuite/gas/sparc/on.s: Likewise.
2437 * testsuite/gas/sparc/on.d: Likewise.
2438 * testsuite/gas/sparc/on-diag.s: Likewise.
2439 * testsuite/gas/sparc/on-diag.l: Likewise.
2440 * testsuite/gas/sparc/rle.s: Likewise.
2441 * testsuite/gas/sparc/rle.d: Likewise.
2442 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
2443 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
2444 * testsuite/gas/sparc/rdasr.d: Likewise.
2445
ae0264a6
JM
24462017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
2447
2448 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
2449 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
2450 run asi-bump-warn.
2451
f4203b2b
JL
24522017-05-19 Georg-Johann Lay <avr@gjlay.de>
2453
2454 PR ld/21472
2455 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
2456 attiny417, attiny816, attiny817.
2457
535b785f
AM
24582017-05-18 Alan Modra <amodra@gmail.com>
2459
2460 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
2461 * config/tc-hppa.c: Likewise.
2462 * config/tc-mips.c: Likewise.
2463 * config/tc-score7.c: Likewise.
2464
91cb9803
AM
24652017-05-16 Alan Modra <amodra@gmail.com>
2466
2467 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
2468 (TC_FORCE_RELOCATION_LOCAL): Use it.
2469 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
2470 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
2471 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
2472 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
2473 * config/tc-aarch64.h: Similarly.
2474 * config/tc-avr.h: Similarly.
2475 * config/tc-cris.h: Similarly.
2476 * config/tc-i386.h: Similarly.
2477 * config/tc-i960.h: Similarly.
2478 * config/tc-ia64.h: Similarly.
2479 * config/tc-microblaze.h: Similarly.
2480 * config/tc-mips.h: Similarly.
2481 * config/tc-msp430.h: Similarly.
2482 * config/tc-nds32.h: Similarly.
2483 * config/tc-pru.h: Similarly.
2484 * config/tc-riscv.h: Similarly.
2485 * config/tc-rl78.h: Similarly.
2486 * config/tc-s390.h: Similarly.
2487 * config/tc-sh.h: Similarly.
2488 * config/tc-sh64.h: Similarly.
2489 * config/tc-sparc.h: Similarly.
2490 * config/tc-xtensa.h: Similarly.
2491 * config/tc-mn10300.h: Similarly.
2492 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
2493 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
2494 be addition to rather than replacement of standard
2495 TC_FORCE_RELOCATION_LOCAL.
2496
52a86f84
NC
24972017-05-15 Nick Clifton <nickc@redhat.com>
2498
2499 PR gas/21458
2500 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
2501 symbol, ensure that the T bit will be set.
2502 (do_adrl): Likewise.
2503 (do_t_adr): Likewise.
2504 * testsuite/gas/arm/pr21458.s: New test.
2505 * testsuite/gas/arm/pr21458.d: New test driver.
2506
b32465c9
MR
25072017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2508
2509 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
2510 flags.
2511 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
2512 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
2513 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
2514 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
2515 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
2516 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
2517 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
2518 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
2519 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
2520 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
2521 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
2522 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
2523 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
2524 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
2525 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
2526 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
2527 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
2528 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
2529 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
2530 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
2531 Likewise.
2532 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
2533 Likewise.
2534 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
2535 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
2536 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
2537 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
2538 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
2539 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
2540 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
2541 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
2542 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
2543 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
2544 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
2545 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
2546 Likewise.
2547 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
2548 Likewise.
2549 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
2550 Likewise.
2551 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
2552 Likewise.
2553 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
2554 Likewise.
2555 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
2556 Likewise.
2557 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
2558 Likewise.
2559 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
2560 Likewise.
2561 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
2562 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
2563 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
2564 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
2565 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
2566 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
2567 test.
2568 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
2569 test.
2570 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
2571 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
2572 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
2573 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
2574 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
2575 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
2576 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
2577 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
2578 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
2579 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
2580 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
2581 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
2582 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
2583 test.
2584 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
2585 test.
2586 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
2587 New test.
2588 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
2589 New test.
2590 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
2591 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
2592 test.
2593 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
2594 test.
2595 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
2596 test.
2597 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
2598 test.
2599 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
2600 test.
2601 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
2602 test.
2603 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
2604 test.
2605 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
2606 test.
2607 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
2608 test.
2609 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
2610 test.
2611 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
2612 test.
2613 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
2614 New test.
2615 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
2616 New test.
2617 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
2618 New test.
2619 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
2620 New test.
2621 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
2622 New test.
2623 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
2624 New test.
2625 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
2626 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
2627 preservation between MIPS16 and MIPS16e2 code.
2628 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
2629 all MIPS16 architectures.
2630
3f3467ff
MR
26312017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2632
2633 * testsuite/gas/mips/mips16e2.d: New test.
2634 * testsuite/gas/mips/mips16e2-mt.d: New test.
2635 * testsuite/gas/mips/mips16e2-sub.d: New test.
2636 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
2637 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
2638 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
2639 * testsuite/gas/mips/mips16e2-hilo.d: New test.
2640 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
2641 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
2642 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
2643 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
2644 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
2645 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
2646 * testsuite/gas/mips/mips16e2-lui.d: New test.
2647 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
2648 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
2649 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
2650 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
2651 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
2652 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
2653 * testsuite/gas/mips/mips16e2.s: New test source.
2654 * testsuite/gas/mips/mips16e2-mt.s: New test source.
2655 * testsuite/gas/mips/mips16e2-sub.s: New test source.
2656 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
2657 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
2658 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
2659 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
2660 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
2661 * testsuite/gas/mips/mips16e2-lui.s: New test source.
2662 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
2663 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
2664 architectures. Run the new tests.
2665
70ab592f
MR
26662017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2667
2668 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
2669 `mips16e2@' prefix.
2670 (run_list_test_arch): Likewise.
2671 (mips16e2-32, mips16e2-64): New architectures.
2672 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
2673 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
2674 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
2675 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
2676 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
2677 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
2678 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
2679 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
2680 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
2681 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
2682 tag. Add `-I$srcdir/$subdir' to `as' flags.
2683 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
2684 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
2685 output.
2686 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
2687 output.
2688 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
2689 output.
2690 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
2691 output.
2692 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
2693 output.
2694 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
2695 * testsuite/gas/mips/mips16e-sub.s: Likewise.
2696 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
2697 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
2698 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
2699 source.
2700 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
2701 source.
2702
25499ac7
MR
27032017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2704 Matthew Fortune <matthew.fortune@imgtec.com>
2705 Andrew Bennett <andrew.bennett@imgtec.com>
2706
2707 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
2708 (RELAX_MIPS16_E2): New macro.
2709 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
2710 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
2711 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
2712 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
2713 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
2714 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
2715 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
2716 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
2717 (mips16_immed_extend): New prototype.
2718 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
2719 values.
2720 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
2721 (mips_ases): Add "mips16e2" entry.
2722 (mips_set_ase): Handle MIPS16e2 ASE.
2723 (insn_insert_operand): Explicitly handle immediates with MIPS16
2724 instructions that require 32-bit encoding.
2725 (is_opcode_valid_16): Pass enabled ASE bitmask on to
2726 `opcode_is_member'.
2727 (validate_mips_insn): Explicitly handle immediates with MIPS16
2728 instructions that require 32-bit encoding.
2729 (operand_reg_mask) <OP_REG28>: Add handler.
2730 (match_reg28_operand): New function.
2731 (match_operand) <OP_REG28>: Add handler.
2732 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
2733 (match_mips16_insn): Handle MIPS16 instructions that require
2734 32-bit encoding and `V' and `u' operand codes.
2735 (mips16_ip): Allow any characters except from `.' in opcodes.
2736 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
2737 immediates whose width is not one of these listed.
2738 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
2739 (mips_relax_frag): Likewise.
2740 (md_convert_frag): Likewise.
2741 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
2742
2743 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
2744 `-mno-mips16e2' options.
2745 (-mmips16e2, -mno-mips16e2): New options.
2746 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
2747 `-mno-mips16e2' options.
2748 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
2749 and `.set nomips16e2'.
2750
20c59b84
MR
27512017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2752
2753 * config/tc-mips.c (match_int_operand): Call
2754 `match_out_of_range' before returning failure for 0x8000-0xffff
2755 values conditionally allowed.
2756
602b88e3
MR
27572017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2758
2759 * config/tc-mips.c (match_int_operand): Call
2760 `match_not_constant' before returning failure for a non-constant
2761 16-bit immediate conditionally allowed.
2762
c96425c5
MR
27632017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2764
2765 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
2766 rather than `match_not_constant' for unrelocated operands
2767 retrieved as an `O_big' expression.
2768 (match_int_operand): Call `match_out_of_range' for relocatable
2769 operands retrieved as an `O_big' expression.
2770 (match_mips16_insn): Call `match_out_of_range' for relaxable
2771 operands retrieved as an `O_big' expression.
2772 * testsuite/gas/mips/addiu-error.d: New test.
2773 * testsuite/gas/mips/mips16@addiu-error.d: New test.
2774 * testsuite/gas/mips/micromips@addiu-error.d: New test.
2775 * testsuite/gas/mips/break-error.d: New test.
2776 * testsuite/gas/mips/lui-1.l: Adjust error message.
2777 * testsuite/gas/mips/addiu-error.l: New stderr output.
2778 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
2779 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
2780 * testsuite/gas/mips/break-error.l: New stderr output.
2781 * testsuite/gas/mips/addiu-error.s: New test source.
2782 * testsuite/gas/mips/break-error.s: New test source.
2783 * testsuite/gas/mips/mips.exp: Run the new tests.
2784
1a7bf198
MR
27852017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2786
2787 * config/tc-mips.c (match_mips16_insn): Remove the explicit
2788 OT_INTEGER check before the `match_expression' call.
2789 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
2790 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
2791 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
2792 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
2793 * testsuite/gas/mips/mips16-reg-error.d: New test.
2794 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
2795 * testsuite/gas/mips/mips16-reg-error.s: New test source.
2796 * testsuite/gas/mips/mips.exp: Run the new test.
2797
e295202f
MR
27982017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2799
2800 * config/tc-mips.c (match_mips16_insn): Call
2801 `match_not_constant' for a disallowed relocation operation.
2802 * testsuite/gas/mips/mips16-reloc-error.d: New test.
2803 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
2804 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
2805 * testsuite/gas/mips/mips.exp: Run the new test.
2806
c76081bc
MR
28072017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2808
2809 * testsuite/gas/mips/lui-1.d: New test.
2810 * testsuite/gas/mips/lui-2.d: New test.
2811 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
2812 into the new tests.
2813
a54d5f8b
MR
28142017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2815
2816 * config/tc-mips.c (match_const_int): Update description.
2817
32035f51
MR
28182017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2819
2820 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
2821 mips16' rather than `.set mips16'.
2822 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
2823 `.module nomicromips' rather than `.set micromips' and `.set
2824 nomicromips'.
2825 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
2826 rather than `.set smartmips'.
2827 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
2828 `.module micromips', `.module nomicromips' and `.module
2829 smartmips' rather than `.set mips16', `.set micromips', `.set
2830 nomicromips' and `.set smartmips' respectively.
2831
be3f1006
MR
28322017-05-12 Maciej W. Rozycki <macro@imgtec.com>
2833 Matthew Fortune <matthew.fortune@imgtec.com>
2834
2835 * config/tc-mips.c (mips_percent_op): Add "%gprel".
2836 (mips16_percent_op): Add "%gp_rel".
2837 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
2838 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
2839 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
2840 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
2841
a4f89915
MR
28422017-05-12 Maciej W. Rozycki <macro@imgtec.com>
2843
2844 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
2845 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
2846 * testsuite/gas/mips/mips16-64.d: Likewise.
2847 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
2848 * testsuite/gas/mips/mips16-macro.d: Likewise.
2849 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
2850 * testsuite/gas/mips/mips16-sub.d: Likewise.
2851 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
2852
99e2d67a
MR
28532017-05-11 Maciej W. Rozycki <macro@imgtec.com>
2854
2855 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
2856 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
2857 * testsuite/gas/mips/mips.exp: Run the new tests.
2858
7f401e84
MR
28592017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2860
2861 * testsuite/gas/mips/isa-override-2.d: New test.
2862 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
2863 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
2864 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
2865 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
2866 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
2867 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
2868 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
2869 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
2870 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
2871 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
2872 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
2873 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
2874 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
2875 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
2876 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
2877 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
2878 source.
2879 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
2880 source.
2881 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
2882 source.
2883 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
2884 source.
2885 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
2886 source.
2887 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
2888 source.
2889 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
2890 into the new tests.
2891
9fc18134
MR
28922017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2893
2894 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
2895 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
2896 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
2897 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
2898 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
2899 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
2900 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
2901
f78c0b91
MR
29022017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2903
2904 * testsuite/gas/mips/mips16-macro.l: Remove list test.
2905
58667758
MR
29062017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2907
2908 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
2909 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
2910 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
2911 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
2912 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
2913 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
2914 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
2915 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
2916 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
2917 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
2918 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
2919 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
2920 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
2921 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
2922 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
2923 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
2924 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
2925 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
2926 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
2927 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
2928
53a346d8
CZ
29292017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
2930
2931 * testsuite/gas/arc/attr-arc600.d: New file.
2932 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
2933 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
2934 * testsuite/gas/arc/attr-arc601.d: Likewise.
2935 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
2936 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
2937 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
2938 * testsuite/gas/arc/attr-arc700.d: Likewise.
2939 * testsuite/gas/arc/attr-arcem.d: Likewise.
2940 * testsuite/gas/arc/attr-archs.d: Likewise.
2941 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
2942 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
2943 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
2944 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
2945 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
2946 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
2947 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
2948 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
2949 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
2950 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
2951 * testsuite/gas/arc/attr-em.d: Likewise.
2952 * testsuite/gas/arc/attr-em4.d: Likewise.
2953 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
2954 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
2955 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
2956 * testsuite/gas/arc/attr-hs.d: Likewise.
2957 * testsuite/gas/arc/attr-hs34.d: Likewise.
2958 * testsuite/gas/arc/attr-hs38.d: Likewise.
2959 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
2960 * testsuite/gas/arc/attr-mul64.d: Likewise.
2961 * testsuite/gas/arc/attr-name.d: Likewise.
2962 * testsuite/gas/arc/attr-name.s: Likewise.
2963 * testsuite/gas/arc/attr-nps400.d: Likewise.
2964 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
2965 * testsuite/gas/arc/attr-override-mcpu.s
2966 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
2967 * testsuite/gas/arc/blank.s: Likewise.
2968 * testsuite/gas/elf/section2.e-arc: Likewise.
2969 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
2970 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
2971 * testsuite/gas/arc/nps400-0.d: Likewise.
2972 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
2973 * config/tc-arc.c (opcode/arc-attrs.h): Include.
2974 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
2975 (arc_attribute): Declare new function.
2976 (md_pseudo_table): Add arc_attribute.
2977 (cpu_types): Rename default cpu features.
2978 (selected_cpu): Set the default OSABI flag.
2979 (mpy_option): New variable.
2980 (pic_option): Likewise.
2981 (sda_option): Likewise.
2982 (tls_option): Likewise.
2983 (feature_type, feature_list): Remove.
2984 (arc_initial_eflag): Likewise.
2985 (attributes_set_explicitly): New variable.
2986 (arc_check_feature): Check also for the conflicting features.
2987 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
2988 (arc_option): Remove setting of private flags and architecture.
2989 (check_cpu_feature): Refactor feature names.
2990 (autodetect_attributes): New function.
2991 (assemble_tokens): Use above function.
2992 (md_parse_option): Refactor feature names.
2993 (arc_attribute): New function.
2994 (arc_set_attribute_int): Likewise.
2995 (arc_set_attribute_string): Likewise.
2996 (arc_stralloc): Likewise.
2997 (arc_set_public_attributes): Likewise.
2998 (arc_md_end): Likewise.
2999 (arc_copy_symbol_attributes): Likewise.
3000 (rc_convert_symbolic_attribute): Likewise.
3001 * config/tc-arc.h (md_end): Define.
3002 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
3003 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
3004 * doc/c-arc.texi: Document ARC object attributes.
3005
8507b6e7
MR
30062017-05-03 Maciej W. Rozycki <macro@imgtec.com>
3007
3008 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
3009 `nomacro' flags.
3010 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
3011 New macros.
3012 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
3013 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
3014 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
3015 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
3016 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
3017 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
3018 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
3019 (RELAX_MIPS16_CLEAR_MACRO): New macros.
3020 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
3021 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
3022 (mips16_macro_frag): New function.
3023 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
3024 (mips_relax_frag): Likewise.
3025 (md_convert_frag): Likewise.
3026
3027 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
3028 add dump patterns.
3029 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
3030 subarchitecture.
3031 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
3032 NOP padding.
3033 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
3034 output, add dump patterns.
3035 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
3036 output, add dump patterns.
3037 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
3038 output, add dump patterns.
3039 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
3040 output, add dump patterns.
3041 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
3042 output, add dump patterns.
3043 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
3044 output, add dump patterns.
3045 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
3046 output, add dump patterns.
3047 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
3048 output, add dump patterns.
3049 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
3050 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
3051 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
3052 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
3053 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
3054 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
3055 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
3056 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
3057 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
3058 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
3059
3060 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
3061 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
3062 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
3063 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
3064 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
3065 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
3066 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
3067 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
3068 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
3069 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
3070 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
3071 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
3072 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
3073 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
3074 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
3075 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
3076 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
3077 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
3078 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
3079 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
3080 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
3081 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
3082 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
3083 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
3084 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
3085 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
3086 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
3087 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
3088 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
3089 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
3090 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
3091 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
3092 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
3093 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
3094 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
3095 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
3096 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
3097 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
3098 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
3099 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
3100 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
3101 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
3102 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
3103 test.
3104 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
3105 test.
3106 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
3107 test.
3108 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
3109 test.
3110 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
3111 test.
3112 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
3113 test.
3114 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
3115 New test.
3116 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
3117 New test.
3118 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
3119 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
3120 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
3121 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
3122 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
3123 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
3124 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
3125 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
3126 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
3127 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
3128 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
3129 output.
3130 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
3131 output.
3132 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
3133 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
3134 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
3135 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
3136 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
3137 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
3138 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
3139 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
3140 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
3141 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
3142 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
3143 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
3144 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
3145 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
3146 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
3147 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
3148 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
3149 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
3150 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
3151 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
3152 * testsuite/gas/mips/mips.exp: Run the new tests.
3153
e78bb25c
NC
31542017-05-03 Nick Clifton <nickc@redhat.com>
3155
3156 PR gas/20941
3157 * symbols.c (snapshot_symbol): Handle the case where
3158 resolve_expression returns a local symbol.
3159
82d808ed
MR
31602017-05-02 Maciej W. Rozycki <macro@imgtec.com>
3161
3162 * config/tc-mips.c (append_insn): Call `symbol_append' for any
3163 expression symbol created for MIPS16 relaxation.
3164 (match_mips16_insn): Don't encode a constant value as an
3165 immediate with a PC-relative operand.
3166
3167 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
3168 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
3169 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
3170 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
3171 test.
3172 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
3173 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
3174 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
3175 test.
3176 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
3177 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
3178 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
3179 test.
3180 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
3181 output.
3182 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
3183 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
3184 source.
3185 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
3186 source.
3187 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
3188 source.
3189 * testsuite/gas/mips/mips.exp: Run the new tests.
3190
14f72d45
MR
31912017-04-27 Maciej W. Rozycki <macro@imgtec.com>
3192
3193 * config/tc-mips.c (mips16_pcrel_val): New function, factored
3194 out from...
3195 (mips16_extended_frag): ... here.
3196 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
3197 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
3198
1425c41d
MR
31992017-04-27 Maciej W. Rozycki <macro@imgtec.com>
3200
3201 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
3202 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
3203 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
3204 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
3205 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
3206 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
3207 (mips16_extended_frag): Adjust accordingly.
3208
f2d830a5
AM
32092017-04-27 Alan Modra <amodra@gmail.com>
3210
3211 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
3212
ce8ad872
MR
32132017-04-26 Maciej W. Rozycki <macro@imgtec.com>
3214
3215 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
3216 (RELAX_PIC): New macro.
3217 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
3218 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
3219 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
3220 Shift bits.
3221 (RELAX_BRANCH_ENCODE): Add `pic' flag.
3222 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
3223 (RELAX_BRANCH_TOOFAR): Shift bits.
3224 (RELAX_BRANCH_PIC): New macro.
3225 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
3226 (RELAX_MICROMIPS_PIC): New macro.
3227 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
3228 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
3229 (RELAX_MICROMIPS_RELAX32): Shift bits.
3230 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
3231 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
3232 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
3233 first fixup created.
3234 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
3235 fixup processed rather than `mips_pic' in choosing to relax an
3236 out of range branch to a jump.
3237 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
3238 rather than `mips_pic'.
3239 (relaxed_micromips_32bit_branch_length): Likewise.
3240 (md_estimate_size_before_relax): Likewise.
3241 (md_convert_frag): Likewise.
3242
3243 * testsuite/gas/mips/option-pic-relax-0.d: New test.
3244 * testsuite/gas/mips/option-pic-relax-1.d: New test.
3245 * testsuite/gas/mips/option-pic-relax-2.d: New test.
3246 * testsuite/gas/mips/option-pic-relax-3.d: New test.
3247 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
3248 * testsuite/gas/mips/option-pic-relax-4.d: New test.
3249 * testsuite/gas/mips/option-pic-relax-5.d: New test.
3250 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
3251 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
3252 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
3253 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
3254 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
3255 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
3256 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
3257 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
3258 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
3259 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
3260 * testsuite/gas/mips/mips.exp: Run the new tests.
3261
126124cc
CZ
32622017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
3263
3264 * testsuite/gas/arc/leave_enter.d: Update test.
3265 * testsuite/gas/arc/leave_enter.s: Likewise.
3266
be6a24d8
CZ
32672017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
3268
3269 * testsuite/gas/arc/b.d: Update test.
3270 * testsuite/gas/arc/noargs_hs.d: Likewise.
3271
adc1273c
MR
32722017-04-25 Maciej W. Rozycki <macro@imgtec.com>
3273
3274 * config/tc-mips.c (md_convert_frag): Correct
3275 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
3276 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
3277 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
3278 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
3279 output.
3280 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
3281 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
3282 * testsuite/gas/mips/mips.exp: Run the new tests.
3283
d28b6364
JM
32842017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
3285
3286 PR gas/21407
3287 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
3288 instructions into branch instructions in fixups generating
3289 additional relocations.
3290 * testsuite/gas/sparc/call-relax.s: New file.
3291 * testsuite/gas/sparc/call-relax.d: Likewise.
3292 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
3293 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
3294
53445554
TP
32952017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
3296
3297 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
3298 Forbid MOV.W and MOVW if destination is SP or PC.
3299 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
3300 expectation of LDR not generating a MOVS for low registers and small
3301 constants. Add tests of MOVW generation.
3302 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
3303 expected disassembly.
3304
a8cc8a54
AM
33052017-04-22 Alan Modra <amodra@gmail.com>
3306
3307 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
3308 * testsuite/gas/ppc/vle.d: Update.
3309
792f174f
NC
33102017-04-21 Nick Clifton <nickc@redhat.com>
3311
3312 PR binutils/21380
3313 * testsuite/gas/aarch64/illegal-3.s: New file.
3314 * testsuite/gas/aarch64/illegal-3.d: New file.
3315
ef85eab0
AM
33162017-04-11 Alan Modra <amodra@gmail.com>
3317
3318 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
3319 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
3320
947fa914
MF
33212017-04-10 Max Filippov <jcmvbkbc@gmail.com>
3322
3323 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
3324 Initialize lps->frag_count with auto_litpool_limit.
3325 (xg_promote_candidate_litpool): New function.
3326 (xtensa_move_literals): Extract candidate litpool promotion code
3327 into separate function. Call it for all possible found
3328 candidates.
3329 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
3330 call to xtensa_mark_literal_pool_location that it guards.
3331 Replace it with call to xtensa_maybe_create_literal_pool_frag.
3332 Initialize pool_location with created literal pool candidate.
3333 * testsuite/gas/xtensa/all.exp: Add new tests.
3334 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
3335 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
3336 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
3337 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
3338 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
3339 to additional jump instruction.
3340
ac8f0f72
AM
33412017-04-07 Alan Modra <amodra@gmail.com>
3342
3343 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
3344 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
3345
498e3442
AM
33462017-04-07 Alan Modra <amodra@gmail.com>
3347
3348 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
3349 for .mbind.text.
3350
62ecb94c
PC
33512017-04-06 Pip Cet <pipcet@gmail.com>
3352
3353 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
3354 changes.
3355 * testsuite/gas/wasm32/disass.d: New test.
3356 * testsuite/gas/wasm32/disass.s: New test.
3357 * testsuite/gas/wasm32/disass-2.d: New test.
3358 * testsuite/gas/wasm32/disass-2.s: New test.
3359 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
3360 names.
3361 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
3362 syntax.
3363 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
3364 test to succeed.
3365
a91e1603
L
33662017-04-04 H.J. Lu <hongjiu.lu@intel.com>
3367
3368 * NEWS: Mention support for ELF SHF_GNU_MBIND.
3369 * config/obj-elf.c (section_match): New.
3370 (get_section): Match both sh_info and group name.
3371 (obj_elf_change_section): Add argument for sh_info. Pass both
3372 sh_info and group name to get_section. Issue an error for
3373 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
3374 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
3375 (obj_elf_section): Support SHF_GNU_MBIND section info.
3376 * config/obj-elf.h (obj_elf_change_section): Add argument for
3377 sh_info.
3378 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
3379 obj_elf_change_section.
3380 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3381 * config/tc-microblaze.c (microblaze_s_data): Likewise.
3382 (microblaze_s_sdata): Likewise.
3383 (microblaze_s_rdata): Likewise.
3384 (microblaze_s_bss): Likewise.
3385 * config/tc-mips.c (s_change_section): Likewise.
3386 * config/tc-msp430.c (msp430_profiler): Likewise.
3387 * config/tc-rx.c (parse_rx_section): Likewise.
3388 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
3389 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
3390 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
3391 section13.
3392 * testsuite/gas/elf/section10.d: Updated.
3393 * testsuite/gas/elf/section10.s: Likewise.
3394 * testsuite/gas/elf/section12.s: New file.
3395 * testsuite/gas/elf/section12a.d: Likewise.
3396 * testsuite/gas/elf/section12b.d: Likewise.
3397 * testsuite/gas/elf/section13.l: Likewise.
3398 * testsuite/gas/elf/section13.d: Likewise.
3399 * testsuite/gas/elf/section13.s: Likewise.
3400
c41cf6fd
PD
34012017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
3402
3403 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
3404 avoid const warnings.
3405
fecb9c46
PD
34062017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
3407
3408 * config/tc-riscv.c (riscv_clear_subsets): New function.
3409 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
3410 clear RVC when it's been previously set.
3411
dc1e4d6d
NC
34122017-03-31 Nick Clifton <nickc@redhat.com>
3413
3414 PR gas/21333
3415 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
3416 fixups in mergeable sections to be adjusted.
3417
f96bd6c2
PC
34182017-03-30 Pip Cet <pipcet@gmail.com>
3419
3420 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
3421 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
3422 * Makefile.am: Add WebAssembly assembler target.
3423 * configure.tgt: Add WebAssembly assembler target.
3424 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
3425 assembler.
3426 * doc/all.texi: Define WASM32.
3427 * doc/as.texinfo: Add WebAssembly entries.
3428 * NEWS: Mention the new support.
3429 * Makefile.in: Regenerate.
3430 * po/gas.pot: Regenerate.
3431 * po/POTFILES.in: Regenerate.
3432 * testsuite/gas/wasm32: New directory.
3433 * testsuite/gas/wasm32/allinsn.d: New file.
3434 * testsuite/gas/wasm32/allinsn.s: New file.
3435 * testsuite/gas/wasm32/illegal.l: New file.
3436 * testsuite/gas/wasm32/illegal.s: New file.
3437 * testsuite/gas/wasm32/illegal-2.l: New file.
3438 * testsuite/gas/wasm32/illegal-2.s: New file.
3439 * testsuite/gas/wasm32/illegal-3.l: New file.
3440 * testsuite/gas/wasm32/illegal-3.s: New file.
3441 * testsuite/gas/wasm32/illegal-4.l: New file.
3442 * testsuite/gas/wasm32/illegal-4.s: New file.
3443 * testsuite/gas/wasm32/illegal-5.l: New file.
3444 * testsuite/gas/wasm32/illegal-5.s: New file.
3445 * testsuite/gas/wasm32/illegal-6.l: New file.
3446 * testsuite/gas/wasm32/illegal-6.s: New file.
3447 * testsuite/gas/wasm32/illegal-7.l: New file.
3448 * testsuite/gas/wasm32/illegal-7.s: New file.
3449 * testsuite/gas/wasm32/illegal-8.l: New file.
3450 * testsuite/gas/wasm32/illegal-8.s: New file.
3451 * testsuite/gas/wasm32/illegal-9.l: New file.
3452 * testsuite/gas/wasm32/illegal-9.s: New file.
3453 * testsuite/gas/wasm32/illegal-10.l: New file.
3454 * testsuite/gas/wasm32/illegal-10.s: New file.
3455 * testsuite/gas/wasm32/illegal-11.l: New file.
3456 * testsuite/gas/wasm32/illegal-11.s: New file.
3457 * testsuite/gas/wasm32/illegal-12.l: New file.
3458 * testsuite/gas/wasm32/illegal-12.s: New file.
3459 * testsuite/gas/wasm32/illegal-13.l: New file.
3460 * testsuite/gas/wasm32/illegal-13.s: New file.
3461 * testsuite/gas/wasm32/illegal-14.l: New file.
3462 * testsuite/gas/wasm32/illegal-14.s: New file.
3463 * testsuite/gas/wasm32/illegal-15.l: New file.
3464 * testsuite/gas/wasm32/illegal-15.s: New file.
3465 * testsuite/gas/wasm32/illegal-16.l: New file.
3466 * testsuite/gas/wasm32/illegal-16.s: New file.
3467 * testsuite/gas/wasm32/illegal-17.l: New file.
3468 * testsuite/gas/wasm32/illegal-17.s: New file.
3469 * testsuite/gas/wasm32/illegal-18.l: New file.
3470 * testsuite/gas/wasm32/illegal-18.s: New file.
3471 * testsuite/gas/wasm32/illegal-19.l: New file.
3472 * testsuite/gas/wasm32/illegal-19.s: New file.
3473 * testsuite/gas/wasm32/illegal-20.l: New file.
3474 * testsuite/gas/wasm32/illegal-20.s: New file.
3475 * testsuite/gas/wasm32/illegal-21.l: New file.
3476 * testsuite/gas/wasm32/illegal-21.s: New file.
3477 * testsuite/gas/wasm32/illegal-22.l: New file.
3478 * testsuite/gas/wasm32/illegal-22.s: New file.
3479 * testsuite/gas/wasm32/illegal-24.l: New file.
3480 * testsuite/gas/wasm32/illegal-24.s: New file.
3481 * testsuite/gas/wasm32/illegal-25.l: New file.
3482 * testsuite/gas/wasm32/illegal-25.s: New file.
3483 * testsuite/gas/wasm32/reloc.d: New file.
3484 * testsuite/gas/wasm32/reloc.s: New file.
3485 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
3486 architecture.
3487
52be03fd
AM
34882017-03-29 Alan Modra <amodra@gmail.com>
3489
3490 * config/tc-ppc.c (md_parse_option): Reject -mraw.
3491
9b753937
AM
34922017-03-27 Alan Modra <amodra@gmail.com>
3493
3494 PR 21303
3495 * testsuite/gas/ppc/pr21303.d,
3496 * testsuite/gas/ppc/pr21303.s: New test
3497 * testsuite/gas/ppc/ppc.exp: Run it.
3498
c0c31e91
RZ
34992017-03-27 Rinat Zelig <rinat@mellanox.com>
3500
3501 * testsuite/gas/arc/nps400-12.s: New file.
3502 * testsuite/gas/arc/nps400-12.d: New file.
3503
62785b09
TP
35042017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
3505
3506 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
3507 CPU_DEFAULT is defined.
3508
19683c04
PD
35092017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
3510
3511 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
3512 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
3513 print an invalid default ISA string.
3514 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
3515
24e5b4e6
MF
35162017-03-22 Max Filippov <jcmvbkbc@gmail.com>
3517
3518 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
3519 reassigned fixup to size of jump instruction (3) and fx_r_type
3520 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
3521 (add_jump_to_trampoline): Search
3522 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
3523 symbol and use that slot instead of slot 0.
3524
2253c8f0
AK
35252017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
3526
3527 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
3528 from cpu_table. Remove vx2, and novx2 from cpu_flags.
3529
645d3342
RZ
35302017-03-21 Rinat Zelig <rinat@mellanox.com>
3531
3532 * testsuite/gas/arc/nps400-11.s: New file.
3533 * testsuite/gas/arc/nps400-11.d: New file.
3534
e406e428
NC
35352017-03-20 Nick Clifton <nickc@redhat.com>
3536
3537 * doc/as.texinfo (2byte): Note that if no expressions are present
3538 the directive does nothing. Emphasize that the output is
3539 unaligned, and that this can have an effect on the relocations
3540 generated.
3541 (4byte): Simplify description. Refer back to the 2byte
3542 description.
3543 (8byte): Likewise.
3544
d5e0ba9c
RE
35452017-03-20 Richard Earnshaw <rearnsha@arm.com>
3546
3547 * config/tc-arm.c (arm_fpus): Note entires that should not be
3548 documented.
3549 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
3550 neon-fp16. Fix spelling error.
3551
d3375ddd
RE
35522017-03-20 Richard Earnshaw <rearnsha@arm.com>
3553
3554 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
3555
2c52e2e8
RZ
35562017-03-16 Rinat Zelig <rinat@mellanox.com>
3557
3558 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
3559 specially for ARCv2.
3560
b416fe87
KC
35612017-03-14 Kito Cheng <kito.cheng@gmail.com>
3562
3563 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
3564 encoding format, which can accept 0-valued immediates.
3565 (riscv_ip): Likewise.
3566
7cb7b948
NC
35672017-03-15 Nick Clifton <nickc@redhat.com>
3568
3569 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
3570 warning about discarding a const qualifier.
3571
d47c3ff7
KLC
35722017-03-02 Kuan-Lin Chen <rufus@andestech.com>
3573
3574 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
3575
2aece2ba
KLC
35762017-03-02 Kuan-Lin Chen <rufus@andestech.com>
3577
3578 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
3579 fx_next->fx_frag for CFA_advance_loc relocations.
3580
c1b465c9
KLC
35812017-03-02 Kuan-Lin Chen <rufus@andestech.com>
3582
3583 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
3584 for CFA relocations.
3585
f955cccf
NC
35862017-03-13 Nick Clifton <nickc@redhat.com>
3587
3588 PR binutils/21202
3589 * config/tc-aarch64.c (reloc_table): Rename
3590 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
3591 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
3592 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
3593 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
3594 (md_apply_fix): Likewise.
3595 (aarch64_force_relocation): Likewise.
3596 * testsuite/gas/aarch64/tls.d: Update regexp.
3597
8b1e5da1
NC
35982017-03-10 Tobin C. Harding <me@tobin.cc>
3599 Nick Clifton <nickc@redhat.com>
3600
3601 * doc/as.texinfo (2byte): Tidy up wording. Add note that
3602 overlarge values will produce a warning message and be trunacted.
3603 (4byte): Likewise.
3604
86fa6981
L
36052017-03-09 H.J. Lu <hongjiu.lu@intel.com>
3606
3607 * config/tc-i386.c (_i386_insn): Add dir_encoding and
3608 vec_encoding. Remove swap_operand and need_vrex.
3609 (extra_symbol_chars): Add '}'.
3610 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
3611 mnemonic.
3612 (build_vex_prefix): Don't use 2-byte VEX encoding with
3613 {vex3}. Check dir_encoding and load.
3614 (parse_insn): Check pseudo prefixes. Set dir_encoding.
3615 (VEX_check_operands): Likewise.
3616 (match_template): Check dir_encoding and load.
3617 (parse_real_register): Set vec_encoding instead of need_vrex.
3618 (parse_register): Likewise.
3619 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
3620 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
3621 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
3622 * testsuite/gas/i386/pseudos.d: New file.
3623 * testsuite/gas/i386/pseudos.s: Likewise.
3624 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
3625 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
3626
4b8b687e
PB
36272017-03-08 Peter Bergner <bergner@vnet.ibm.com>
3628
3629 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
3630 (objdump): Use the -Mpower8 option.
3631
1437d063
PB
36322017-03-08 Peter Bergner <bergner@vnet.ibm.com>
3633
3634 * testsuite/gas/ppc/power9.d <lnia> New test.
3635 * testsuite/gas/ppc/power9.s: Likewise.
3636
ea86f534
AM
36372017-03-07 Alan Modra <amodra@gmail.com>
3638
3639 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
3640
2b841ec2
AM
36412017-03-07 Tobin C. Harding <me@tobin.cc>
3642 Alan Modra <amodra@gmail.com>
3643
3644 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
3645 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
3646
603555e5
L
36472017-03-06 H.J. Lu <hongjiu.lu@intel.com>
3648
3649 * config/tc-i386.c (cpu_arch): Add .cet.
3650 * doc/c-i386.texi: Document cet.
3651 * testsuite/gas/i386/cet-intel.d: New file.
3652 * testsuite/gas/i386/cet.d: Likewise.
3653 * testsuite/gas/i386/cet.s: Likewise.
3654 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
3655 * testsuite/gas/i386/x86-64-cet.d: Likewise.
3656 * testsuite/gas/i386/x86-64-cet.s: Likewise.
3657 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
3658
1cccfb31
L
36592017-03-06 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
3662 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
3663
ea0de82e
AM
36642017-03-06 Alan Modra <amodra@gmail.com>
3665
3666 * dw2gencfi.c (encoding_size): Return unsigned int.
3667 (emit_expr_encoded): Assert size matches reloc bitsize.
3668 (output_fde): Use unsigned for offset_size and addr_size. Set
3669 addr_size earlier and use in place of constant 4 and uses of
3670 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
3671
9e1a8675
AM
36722017-03-06 Alan Modra <amodra@gmail.com>
3673
3674 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
3675 auto reformat. Formatting and whitespace fixes.
3676
49fced12
MW
36772017-03-05 Mark Wielaard <mark@klomp.org>
3678
3679 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
3680 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
3681 (out_debug_info): Accept symbols to name, comp_dir and producer in
3682 the .debug_str section and emit those offsets not full strings.
3683 (out_debug_str): New function that outputs the strings for name,
3684 comp_dir and producer in .debug_str and generates symbols to those
3685 strings.
3686 (out_debug_line): Create a .debug_str section if necessary and call
3687 out_debug_str before calling out_debug_info.
3688 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
3689 output.
3690
9875b365
MR
36912017-03-02 Maciej W. Rozycki <macro@imgtec.com>
3692
3693 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
3694 part of the frag has overrun the location requested.
3695
3696 * testsuite/gas/all/org-1.d: New test.
3697 * testsuite/gas/all/org-2.d: New test.
3698 * testsuite/gas/all/org-3.d: New test.
3699 * testsuite/gas/all/org-4.d: New test.
3700 * testsuite/gas/all/org-5.d: New test.
3701 * testsuite/gas/all/org-6.d: New test.
3702 * testsuite/gas/all/org-1.l: New stderr output.
3703 * testsuite/gas/all/org-2.l: New stderr output.
3704 * testsuite/gas/all/org-3.l: New stderr output.
3705 * testsuite/gas/all/org-1.s: New test source.
3706 * testsuite/gas/all/org-2.s: New test source.
3707 * testsuite/gas/all/org-3.s: New test source.
3708 * testsuite/gas/all/org-4.s: New test source.
3709 * testsuite/gas/all/org-5.s: New test source.
3710 * testsuite/gas/all/org-6.s: New test source.
3711 * testsuite/gas/all/gas.exp: Run the new tests.
3712
3713 * testsuite/gas/mips/org-1.d: New test.
3714 * testsuite/gas/mips/org-2.d: New test.
3715 * testsuite/gas/mips/org-3.d: New test.
3716 * testsuite/gas/mips/org-4.d: New test.
3717 * testsuite/gas/mips/org-5.d: New test.
3718 * testsuite/gas/mips/org-6.d: New test.
3719 * testsuite/gas/mips/org-7.d: New test.
3720 * testsuite/gas/mips/org-8.d: New test.
3721 * testsuite/gas/mips/org-9.d: New test.
3722 * testsuite/gas/mips/org-10.d: New test.
3723 * testsuite/gas/mips/org-11.d: New test.
3724 * testsuite/gas/mips/org-12.d: New test.
3725 * testsuite/gas/mips/org-1.l: New stderr output.
3726 * testsuite/gas/mips/org-4.l: New stderr output.
3727 * testsuite/gas/mips/org-5.l: New stderr output.
3728 * testsuite/gas/mips/org-6.l: New stderr output.
3729 * testsuite/gas/mips/org-10.l: New stderr output.
3730 * testsuite/gas/mips/org-1.s: New test source.
3731 * testsuite/gas/mips/org-2.s: New test source.
3732 * testsuite/gas/mips/org-3.s: New test source.
3733 * testsuite/gas/mips/org-4.s: New test source.
3734 * testsuite/gas/mips/org-5.s: New test source.
3735 * testsuite/gas/mips/org-6.s: New test source.
3736 * testsuite/gas/mips/org-7.s: New test source.
3737 * testsuite/gas/mips/org-8.s: New test source.
3738 * testsuite/gas/mips/org-9.s: New test source.
3739 * testsuite/gas/mips/org-10.s: New test source.
3740 * testsuite/gas/mips/org-11.s: New test source.
3741 * testsuite/gas/mips/org-12.s: New test source.
3742 * testsuite/gas/mips/mips.exp: Run the new tests.
3743
01cca2f9
SN
37442017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3745
3746 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
3747
15c7c1d8
JB
37482017-02-28 Jan Beulich <jbeulich@suse.com>
3749
3750 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
3751 VPCMPESTR{I,M}.
3752 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
3753 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
3754 of PCMPESTR{I,M}.
3755 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
3756 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
3757 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
3758 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
3759 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
3760 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
3761 * testsuite/gas/i386/x86-64-avx.d: Likewise.
3762 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
3763 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
3764 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
3765
4ef97a1b
AM
37662017-02-28 Alan Modra <amodra@gmail.com>
3767
3768 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
3769
7ba71655
AM
37702017-02-28 Alan Modra <amodra@gmail.com>
3771
3772 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
3773 (md_apply_fix): Remove fx_subsy check. Move code converting to
3774 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
3775 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
3776 that is done now by the generic code via..
3777 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
3778 (TC_VALIDATE_FIX_SUB): Define.
3779
0e392101
MR
37802017-02-28 Maciej W. Rozycki <macro@imgtec.com>
3781
3782 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
3783 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
3784 encoding patterns.
3785 * testsuite/gas/mips/jalr4-n64.d: Likewise.
3786 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
3787 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
3788 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
3789
dd803a24
AM
37902017-02-25 Alan Modra <amodra@gmail.com>
3791
3792 * testsuite/gas/elf/strtab.s: Don't put directives on first
3793 column or continuation with labels not in first column.
3794
582e12bf
RS
37952017-02-24 Richard Sandiford <richard.sandiford@arm.com>
3796
3797 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
3798 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
3799 to be used with SVE registers.
3800 (parse_operands): Handle new SVE operands.
3801 (aarch64_features): Make "sve" require F16 rather than FP. Also
3802 require COMPNUM.
3803 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
3804 Include compnum tests.
3805 * testsuite/gas/aarch64/sve.d: Update accordingly.
3806 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
3807 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
3808 update expected output for new FMOV and MOV alternatives.
3809
f482d304
RS
38102017-02-24 Richard Sandiford <richard.sandiford@arm.com>
3811
3812 * doc/c-aarch64.texi: Add a "compnum" entry.
3813 * config/tc-aarch64.c (aarch64_features): Likewise,
3814 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
3815 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
3816
7db2c588
JB
38172017-02-24 Jan Beulich <jbeulich@suse.com>
3818
3819 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
3820 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
3821 * testsuite/gas/i386/opcode.d: Adjust accordingly.
3822 * testsuite/gas/i386/opcode-intel.d: Likewise.
3823 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
3824 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
3825
1b3cee56
SL
38262017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
3827
3828 Test cases for the architecture level aware SPARC ASI work.
3829 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
3830 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
3831 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
3832 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
3833 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
3834
c1556ecd
MR
38352017-02-23 Maciej W. Rozycki <macro@imgtec.com>
3836
3837 * testsuite/gas/mips/jalr4.d: New test.
3838 * testsuite/gas/mips/jalr4-n32.d: New test.
3839 * testsuite/gas/mips/jalr4-n64.d: New test.
3840 * testsuite/gas/mips/jalr4.s: New test source.
3841 * testsuite/gas/mips/mips.exp: Run the new tests.
3842
1e9d41d4
SL
38432017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
3844
3845 Add support for associating SPARC ASIs with an architecture level.
3846 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
3847
946416fc
JB
38482017-02-23 Jan Beulich <jbeulich@suse.com>
3849
3850 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
3851 of symbols as expression.
3852
38532017-02-23 Jan Beulich <jbeulich@suse.com>
4c5b8d1e
JB
3854
3855 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
3856 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
3857 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
3858 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
3859
5ff6a06c
MR
38602017-02-22 Maciej W. Rozycki <macro@imgtec.com>
3861
3862 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
3863 `md_flush_pending_output'.
3864 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
3865 `md_flush_pending_output' unconditionally.
3866 * testsuite/gas/mips/debug-label-end-1.d: New test.
3867 * testsuite/gas/mips/debug-label-end-2.d: New test.
3868 * testsuite/gas/mips/debug-label-end-3.d: New test.
3869 * testsuite/gas/mips/debug-label-end.s: New test source.
3870 * testsuite/gas/mips/mips.exp: Run the new tests.
3871
25890fc2
HPN
38722017-02-22 Hans-Peter Nilsson <hp@axis.com>
3873
3874 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
3875 targets yielding an error message matching "too complex".
3876
5ffbd927
NC
38772017-02-22 Nick Clifton <nickc@redhat.com>
3878
3879 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
3880
b0c53498
JB
38812017-02-21 Jan Beulich <jbeulich@suse.com>
3882
3883 * expr.c (operand): Handle missing operand to .startof.() and
3884 .sizeof.().
3885 * testsuite/gas/all/err-sizeof.s: New.
3886
ece5dcc1
AM
38872017-02-20 Alan Modra <amodra@gmail.com>
3888
3889 PR 21118
3890 * NEWS: Revise powerpc register check.
3891 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
3892 register expression" a warning.
3893
37f9ec62
MR
38942017-02-17 Maciej W. Rozycki <macro@imgtec.com>
3895
3896 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
3897 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
3898 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
3899 * testsuite/gas/mips/aent-2.d: New test.
3900 * testsuite/gas/mips/aent-mdebug.d: New test.
3901 * testsuite/gas/mips/aent-mdebug-2.d: New test.
3902 * testsuite/gas/mips/mips.exp: Run the new tests.
3903
773fb663
RS
39042017-02-15 Richard Sandiford <richard.sandiford@arm.com>
3905
3906 * testsuite/gas/aarch64/sve-sysreg.s,
3907 testsuite/gas/aarch64/sve-sysreg.d,
3908 testsuite/gas/aarch64/sve-sysreg-invalid.d,
3909 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
3910
7a2114e7
RS
39112017-02-15 Richard Sandiford <richard.sandiford@arm.com>
3912
3913 * doc/c-aarch64.texi: Fix sve entry.
3914
cc07cda6
CZ
39152017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
3916
3917 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
3918 information from input expression.
3919 (assemble_insn): Make sure pcrel is correctly set.
3920 (arc_pcrel_adjust): Compensate for PCL rounding.
3921 * testsuite/gas/arc/relax-add01.d: New file.
3922 * testsuite/gas/arc/relax-add01.s: Likewise.
3923 * testsuite/gas/arc/relax-add02.d: Likewise.
3924 * testsuite/gas/arc/relax-add02.s: Likewise.
3925 * testsuite/gas/arc/relax-add03.d: Likewise.
3926 * testsuite/gas/arc/relax-add03.s: Likewise.
3927 * testsuite/gas/arc/relax-add04.d: Likewise.
3928 * testsuite/gas/arc/relax-add04.s: Likewise.
3929 * testsuite/gas/arc/relax-ld01.d: Likewise.
3930 * testsuite/gas/arc/relax-ld01.s: Likewise.
3931 * testsuite/gas/arc/relax-ld02.d: Likewise.
3932 * testsuite/gas/arc/relax-ld02.s: Likewise.
3933 * testsuite/gas/arc/relax-mov01.d: Likewise.
3934 * testsuite/gas/arc/relax-mov01.s: Likewise.
3935 * testsuite/gas/arc/relax-mov02.d: Likewise.
3936 * testsuite/gas/arc/relax-mov02.s: Likewise.
3937 * testsuite/gas/arc/relax-mpy01.d: Likewise.
3938 * testsuite/gas/arc/relax-mpy01.s: Likewise.
3939 * testsuite/gas/arc/relax-sub01.d: Likewise.
3940 * testsuite/gas/arc/relax-sub01.s: Likewise.
3941 * testsuite/gas/arc/relax-sub02.d: Likewise.
3942 * testsuite/gas/arc/relax-sub02.s: Likewise.
3943 * testsuite/gas/arc/relax-sub03.d: Likewise.
3944 * testsuite/gas/arc/relax-sub03.s: Likewise.
3945 * testsuite/gas/arc/relax-sub04.d: Likewise.
3946 * testsuite/gas/arc/relax-sub04.s: Likewise.
3947
66a5a740
VG
39482017-02-09 Vineet Gupta <vgupta@synopsys.com>
3949
3950 * testsuite/gas/arc/st.d: Update for 0xe having a name now
3951
7e0de605
AM
39522017-02-14 Alan Modra <amodra@gmail.com>
3953
3954 PR 21118
3955 * NEWS: Mention powerpc register checks.
3956 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
3957 (pre_defined_registers): Delete fpscr and pmr entries. Set
3958 register type in flags.
3959 (cr_names): Set type in flags.
3960 (reg_name_search): Return pointer to struct pd_reg rather than value.
3961 (register_name): Adjust to suit. Set X_md from flags.
3962 (ppc_parse_name): Likewise.
3963 (ppc_optimize_expr): New function.
3964 (md_assemble): Verify expresion reg flags match operand.
3965 * config/tc-ppc.h (md_optimize_expr): Define.
3966 (ppc_optimize_expr): Declare.
3967
606a935e
AM
39682017-02-14 Alan Modra <amodra@gmail.com>
3969
3970 * testsuite/gas/ppc/cell.s: Correct invalid registers.
3971 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
3972 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
3973
3c6452ae
TP
39742017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3975
3976 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
3977 syntax.
3978 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
3979 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
3980
dce75bf9
NP
39812017-02-10 Nicholas Piggin <npiggin@gmail.com>
3982
3983 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
3984
73201331
MR
39852017-02-02 Maciej W. Rozycki <macro@imgtec.com>
3986
3987 * doc/as.texinfo (Overview): Select MIPS options for man page
3988 inclusion.
3989
8b10b0b3
MR
39902017-01-30 Maciej W. Rozycki <macro@imgtec.com>
3991
3992 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
3993 (options): Add OPTION_IGNORE_BRANCH_ISA and
3994 OPTION_NO_IGNORE_BRANCH_ISA enum values.
3995 (md_longopts): Add "mignore-branch-isa" and
3996 "mno-ignore-branch-isa" options.
3997 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
3998 OPTION_NO_IGNORE_BRANCH_ISA.
3999 (fix_bad_cross_mode_branch_p): Return FALSE if
4000 `mips_ignore_branch_isa' has been set.
4001 (md_show_usage): Add `-mignore-branch-isa' and
4002 `-mno-ignore-branch-isa'.
4003
4004 * doc/as.texinfo (Target MIPS options): Add
4005 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
4006 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
4007 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
4008 `-mno-ignore-branch-isa' options.
4009
4010 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
4011 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
4012 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
4013 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
4014 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
4015 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
4016 * testsuite/gas/mips/mips.exp: Run the new tests.
4017
7795a8f8
MR
40182017-01-30 Maciej W. Rozycki <macro@imgtec.com>
4019
4020 * testsuite/gas/mips/branch-local-2.d: New test.
4021 * testsuite/gas/mips/branch-local-3.d: New test.
4022 * testsuite/gas/mips/branch-local-n32-2.d: New test.
4023 * testsuite/gas/mips/branch-local-n32-3.d: New test.
4024 * testsuite/gas/mips/branch-local-n64-2.d: New test.
4025 * testsuite/gas/mips/branch-local-n64-3.d: New test.
4026 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
4027 into the new tests.
4028
8ec5cf65
AD
40292017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
4030
4031 PR 21056
4032 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
4033 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
4034
de514cf3
SH
40352017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4036
4037 * configure.tgt (aarch64*-*-rtems*): Remove.
4038 (bfin-*-rtems*): Likewise.
4039 (h8300-*-rtems*): Likewise.
4040 (i386-*-rtems*): Likewise.
4041 (m32c-*-rtems*): Likewise.
4042 (m32r-*-rtems*): Likewise.
4043 (m68k-*-rtems*): Likewise.
4044 (mips-*-rtems*): Likewise.
4045 (nios2-*-rtems*): Likewise.
4046 (ppc-*-rtems*): Likewise.
4047 (sh-*-rtems*): Likewise.
4048 (sparc64-*-rtems*): Likewise.
4049 (sparc-*-rtems*): Likewise.
4050 (*-*-rtems*) Use ELF format.
4051
3e97ba8a
SH
40522017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4053
4054 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
4055
850d84f6
SH
40562017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4057
4058 * configure.tgt (sh-*-rtemscoff*): Remove.
4059
666c6aff
SH
40602017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
4061
4062 * configure.tgt (riscv*-*-*): Remove em=linux.
4063
33eaf5de
NC
40642017-01-23 Sebastian Rasmussen <sebras@gmail.com>
4065
4066 PR gas/21072
4067 * asintl.h: Fix spelling mistakes and typos.
4068 * atof-generic.c: Likewise.
4069 * bit_fix.h: Likewise.
4070 * config/atof-ieee.c: Likewise.
4071 * config/bfin-defs.h: Likewise.
4072 * config/bfin-parse.y: Likewise.
4073 * config/obj-coff-seh.h: Likewise.
4074 * config/obj-coff.c: Likewise.
4075 * config/obj-evax.c: Likewise.
4076 * config/obj-macho.c: Likewise.
4077 * config/rx-parse.y: Likewise.
4078 * config/tc-aarch64.c: Likewise.
4079 * config/tc-alpha.c: Likewise.
4080 * config/tc-arc.c: Likewise.
4081 * config/tc-arm.c: Likewise.
4082 * config/tc-avr.c: Likewise.
4083 * config/tc-bfin.c: Likewise.
4084 * config/tc-cr16.c: Likewise.
4085 * config/tc-cris.c: Likewise.
4086 * config/tc-crx.c: Likewise.
4087 * config/tc-d10v.c: Likewise.
4088 * config/tc-d30v.c: Likewise.
4089 * config/tc-dlx.c: Likewise.
4090 * config/tc-epiphany.c: Likewise.
4091 * config/tc-frv.c: Likewise.
4092 * config/tc-hppa.c: Likewise.
4093 * config/tc-i370.c: Likewise.
4094 * config/tc-i386-intel.c: Likewise.
4095 * config/tc-i386.c: Likewise.
4096 * config/tc-i960.c: Likewise.
4097 * config/tc-ia64.c: Likewise.
4098 * config/tc-m32r.c: Likewise.
4099 * config/tc-m68hc11.c: Likewise.
4100 * config/tc-m68k.c: Likewise.
4101 * config/tc-mcore.c: Likewise.
4102 * config/tc-mep.c: Likewise.
4103 * config/tc-mep.h: Likewise.
4104 * config/tc-metag.c: Likewise.
4105 * config/tc-microblaze.c: Likewise.
4106 * config/tc-mips.c: Likewise.
4107 * config/tc-mmix.c: Likewise.
4108 * config/tc-mn10200.c: Likewise.
4109 * config/tc-mn10300.c: Likewise.
4110 * config/tc-msp430.c: Likewise.
4111 * config/tc-msp430.h: Likewise.
4112 * config/tc-nds32.c: Likewise.
4113 * config/tc-nds32.h: Likewise.
4114 * config/tc-nios2.c: Likewise.
4115 * config/tc-nios2.h: Likewise.
4116 * config/tc-ns32k.c: Likewise.
4117 * config/tc-pdp11.c: Likewise.
4118 * config/tc-ppc.c: Likewise.
4119 * config/tc-pru.c: Likewise.
4120 * config/tc-rx.c: Likewise.
4121 * config/tc-s390.c: Likewise.
4122 * config/tc-score.c: Likewise.
4123 * config/tc-score7.c: Likewise.
4124 * config/tc-sh.c: Likewise.
4125 * config/tc-sh64.c: Likewise.
4126 * config/tc-sparc.c: Likewise.
4127 * config/tc-tic4x.c: Likewise.
4128 * config/tc-tic54x.c: Likewise.
4129 * config/tc-v850.c: Likewise.
4130 * config/tc-vax.c: Likewise.
4131 * config/tc-visium.c: Likewise.
4132 * config/tc-xgate.c: Likewise.
4133 * config/tc-xtensa.c: Likewise.
4134 * config/tc-z80.c: Likewise.
4135 * config/tc-z8k.c: Likewise.
4136 * config/te-vms.c: Likewise.
4137 * config/xtensa-relax.c: Likewise.
4138 * doc/as.texinfo: Likewise.
4139 * doc/c-arm.texi: Likewise.
4140 * doc/c-hppa.texi: Likewise.
4141 * doc/c-i370.texi: Likewise.
4142 * doc/c-i386.texi: Likewise.
4143 * doc/c-m32r.texi: Likewise.
4144 * doc/c-m68k.texi: Likewise.
4145 * doc/c-mmix.texi: Likewise.
4146 * doc/c-msp430.texi: Likewise.
4147 * doc/c-nds32.texi: Likewise.
4148 * doc/c-ns32k.texi: Likewise.
4149 * doc/c-riscv.texi: Likewise.
4150 * doc/c-rx.texi: Likewise.
4151 * doc/c-s390.texi: Likewise.
4152 * doc/c-tic6x.texi: Likewise.
4153 * doc/c-tilegx.texi: Likewise.
4154 * doc/c-tilepro.texi: Likewise.
4155 * doc/c-v850.texi: Likewise.
4156 * doc/c-xgate.texi: Likewise.
4157 * doc/c-xtensa.texi: Likewise.
4158 * dwarf2dbg.c: Likewise.
4159 * ecoff.c: Likewise.
4160 * itbl-ops.c: Likewise.
4161 * listing.c: Likewise.
4162 * macro.c: Likewise.
4163 * po/gas.pot: Likewise.
4164 * read.c: Likewise.
4165 * struc-symbol.h: Likewise.
4166 * symbols.h: Likewise.
4167 * testsuite/gas/arc/relocs-errors.err: Likewise.
4168 * write.c: Likewise.
4169
8069955e
NC
41702017-01-23 Nick Clifton <nickc@redhat.com>
4171
4172 * po/sv.po: Updated Swedish translation.
4173
9d46ce34
NC
41742017-01-20 Nick Clifton <nickc@redhat.com>
4175
4176 * config/tc-i386.c (parse_operands): Check for operand overflow
4177 before setting the unspecified bit.
4178
9e009953
MR
41792017-01-18 Maciej W. Rozycki <macro@imgtec.com>
4180
4181 PR gas/20649
4182 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
4183 symbols, remove the `segtype' parameter.
4184 (mips_frob_file, md_estimate_size_before_relax): Adjust
4185 accordingly.
4186 (s_is_linkonce): Add an explanatory comment.
4187 * testsuite/gas/mips/comdat-reloc.d: New test.
4188 * testsuite/gas/mips/comdat-reloc.s: New test source.
4189 * testsuite/gas/mips/mips.exp: Run the new test.
4190
c13a63b0
SN
41912017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
4192
4193 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
4194 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
4195
2cedb9eb
BR
41962017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
4197
4198 PR 21059
4199 * config/bfin-lex.l: Support processing with flex 2.6.3.
4200 * itbl-lex.l: Likewise.
4201
1ec4b9f2
NS
42022017-01-18 Nathan Sidwell <nathan@acm.org>
4203
4204 * as.h (gas_assert): Use abort.
4205 (as_assert): Remove.
4206 (signal_init): Declare.
4207 * as.c (main): Call signal_init.
4208 * messages.c: #include <signal.h>
4209 (as_assert): Delete.
4210 (as_abort): Allow NULL FILE.
4211 (signal_crash): New.
4212 (signal_init): Register fatal signal handlers.
4213 * configure.ac: Check for strsignal.
4214 * config.in: Rebuilt.
4215 * configure: Rebuilt.
4216
01fabda4 42172017-01-17 Nick Clifton <nickc@redhat.com>
6aa1df2d
NC
4218
4219 * po/sv.po: Updated Swedish translation.
4220
620214f7
IT
42212017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4222
4223 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
4224 (cpu_noarch): Add noavx512_vpopcntdq.
4225 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
4226 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
4227 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
4228 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
4229 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
4230 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
4231 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
4232 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
4233
1181551e
NC
42342017-01-12 Nick Clifton <nickc@redhat.com>
4235
4236 * read.c (temp_ilp): New function. Installs a temporary input
4237 line pointer.
4238 (restore_ilp): New function. Restores the original input line
4239 pointer.
4240 * read.h (temp_ilp): Prototype.
4241 (restore_ilp): Prototype.
4242 * stabs.c (dot_func_p): Use bfd_boolean type.
4243 (generate_asm_file): Use temp_ilp and restore_ilp.
4244 (stabs_generate_asm_lineno): Likewise.
4245 (stabs_generate_asm_endfunc): Likewise.
4246
f2e2d2f5
JS
42472017-01-11 Jeremy Soller <jackpot51@gmail.com>
4248
4249 * configure.tgt: Add entry for i386-redox.
4250
07e8e623
NC
42512017-01-10 Nick Clifton <nickc@redhat.com>
4252
4253 * po/sv.po: Updated Swedish translation.
4254
1a94eb29
TG
42552017-01-10 Tristan Gingold <gingold@adacore.com>
4256
4257 * testsuite/gas/all/sleb128-8.d: Adjust test.
4258 * testsuite/gas/all/gas.exp (test_cond): Likewise.
4259
74def31d
TG
42602017-01-10 Tristan Gingold <gingold@adacore.com>
4261
4262 * read.c (emit_leb128_expr): Extended unsigned big number for
4263 sleb128.
4264 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
4265 * testsuite/gas/all/sleb128.d: New test.
4266 * testsuite/gas/all/sleb128.s: New test source.
4267
a5ec5e3f
AW
42682017-01-09 Andrew Waterman <andrew@sifive.com>
4269
4270 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
4271 against constants.
4272 (md_apply_fix): Mark relocations against constants as "done."
4273
e294484e
AW
42742017-01-09 Andrew Waterman <andrew@sifive.com>
4275
4276 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
4277 against constants.
4278 (md_apply_fix): Mark relocations against constants as "done."
4279
6ec11ab9
PD
42802017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
4281 Kito Cheng <kito.cheng@gmail.com>
4282
4283 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
4284 Removed.
4285 (SDATA_START_SYMBOLS): Likewise.
4286
20b52c88
NC
42872017-01-09 Nick Clifton <nickc@redhat.com>
4288
4289 * po/sv.po: New Swedish translation.
4290 * configure.ac (ALL_LINGUAS): Add sv.
4291 * configure: Regenerate.
4292
01156111
AW
42932017-01-09 Andrew Waterman <andrew@sifive.com>
4294
4295 * config/tc-riscv.c (relaxed_branch_length): Use the long
4296 sequence when the target is a weak symbol.
4297
d74d4880
SN
42982017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4299
4300 * config/tc-aarch64.c (aarch64_features): Add rcpc.
4301 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
4302 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
4303 * testsuite/gas/aarch64/ldst-rcpc.d: This.
4304 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
4305 * testsuite/gas/aarch64/ldst-rcpc.s: This.
4306 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
4307
10ab38d9
NJ
43082017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
4309
4310 PR gas/20992
4311 * configure.tgt: Treat sparcv9 as sparc64.
4312
cc917fd9
KC
43132017-01-03 Kito Cheng <kito.cheng@gmail.com>
4314
4315 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
4316 extension.
4317 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
4318 enabled and no other ABI is specified.
4319
ddb2c6fd
DD
43202017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
4321
4322 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
4323 valueT, as declared in tc.h.
4324 (md_apply_fix): Fix to work on 32-bit hosts.
4325
2571583a
AM
43262017-01-02 Alan Modra <amodra@gmail.com>
4327
4328 Update year range in copyright notice of all files.
4329
5c1ad6b5 4330For older changes see ChangeLog-2016
3499769a 4331\f
5c1ad6b5 4332Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
4333
4334Copying and distribution of this file, with or without modification,
4335are permitted in any medium without royalty provided the copyright
4336notice and this notice are preserved.
4337
4338Local Variables:
4339mode: change-log
4340left-margin: 8
4341fill-column: 74
4342version-control: never
4343End:
This page took 0.976024 seconds and 4 git commands to generate.