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