X86: Update opcode-suffix.d
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR binutils/20754
4 * testsuite/gas/i386/opcode-suffix.d: Updated.
5
6 2016-11-07 H.J. Lu <hongjiu.lu@intel.com>
7
8 PR binutils/20775
9 * testsuite/gas/i386/i386.exp: Run fpu-bad.
10 * testsuite/gas/i386/fpu-bad.d: New file.
11 * testsuite/gas/i386/fpu-bad.s: Likewise.
12
13 2016-11-04 Nathan Sidwell <nathan@acm.org>
14
15 gas/
16 * input-scrub.c (partial_size): Make size_t.
17 (buffer_length): Likewise. Adjust meaning.
18 (struct input_save): Adjust partial_size type.
19 (input_scrub_reinit): New.
20 (input_scrub_push, input_scrub_begin): Use it.
21 (input_scrub_next_buffer): Fix buffer extension logic. Only scan
22 newly read buffer for newline.
23
24 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
25
26 * config/tc-arc.c (find_opcode_match): Use insert function to
27 validate matching address type operands.
28 * testsuite/gas/arc/nps400-10.d: New file.
29 * testsuite/gas/arc/nps400-10.s: New file.
30
31 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
32
33 * config/tc-arm.c (cortex-m33): Declare new processor.
34 * doc/c-arm.texi (-mcpu ARM command line option): Document new
35 Cortex-M33 processor.
36 * NEWS: Mention ARM Cortex-M33 support.
37
38 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
39
40 * config/tc-arm.c (cortex-m23): Declare new processor.
41 * doc/c-arm.texi (-mcpu ARM command line option): Document new
42 Cortex-M23 processor.
43 * NEWS: Mention ARM Cortex-M23 support.
44
45 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
46 Andrew Waterman <andrew@sifive.com>
47
48 * Makefile.am (CPU_DOCS): Add c-riscv.texi.
49 * Makefile.in: Regenerate.
50 * doc/all.texi: Set RISCV.
51 * doc/as.texinfo: Add RISCV options.
52 Add RISC-V-Dependent node.
53 Include c-riscv.texi.
54 * doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
55
56 2016-11-03 Graham Markall <graham.markall@embecosm.com>
57
58 * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm
59 operands are out of the range of an s9, in order to fix the test.
60 * testsuite/gas/arc/nps400-6.d: Updated to match new expected output.
61
62 2016-11-03 Graham Markall <graham.markall@embecosm.com>
63
64 * testsuite/gas/arc/nps-400-9.d: Added.
65 * testsuite/gas/arc/nps-400-9.s: Added.
66
67 2016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
68
69 * config/tc-arc.c (struct arc_insn): Change type of insn field.
70 (md_number_to_chars_midend): Support 6- and 8-byte values.
71 (emit_insn0): Update debug output.
72 (find_opcode_match): Likewise.
73 (build_fake_opcode_hash_entry): Delete.
74 (find_special_case_long_opcode): Delete.
75 (find_special_case): Remove long format special case handling.
76 (insert_operand): Change instruction type and update debug print
77 format.
78 (assemble_insn): Change instruction type, update debug print
79 formats, and remove unneeded assert.
80
81 2016-11-03 Graham Markall <graham.markall@embecosm.com>
82
83 * config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
84 arc_opcode_len.
85
86 2016-11-03 Graham Markall <graham.markall@embecosm.com>
87
88 * config/tc-arc.c (struct arc_insn): Replace short_insn flag with
89 len field.
90 (apply_fixups): Update to use len field.
91 (emit_insn0): Simplify code, making use of len field.
92 (md_convert_frag): Update to use len field.
93 (assemble_insn): Update to use len field.
94
95 2016-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
96
97 * config/tc-aarch64.c (aarch64_cpus): Add falkor.
98 * config/tc-arm.c (arm_cpus): Likewise.
99 * doc/c-aarch64.texi: Likewise.
100 * doc/c-arm.texi: Likewise.
101
102 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
103
104 PR binutils/20754
105 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
106 * testsuite/gas/i386/opcode-intel.d: Updated.
107 * testsuite/gas/i386/opcode.d: Likewise.
108
109 2016-11-02 Jiong Wang <jiong.wang@arm.com>
110
111 * config/tc-arm.c (SBIT_SHIFT): New.
112 (T2_SBIT_SHIFT): Likewise.
113 (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
114 (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
115 encoding failed.
116 * testsuite/gas/arm/archv6t2-bad.s: New error case.
117 * testsuite/gas/arm/archv6t2-bad.l: New error match.
118 * testsuite/gas/arm/archv6t2.s: New testcase.
119 * testsuite/gas/arm/archv6t2.d: New expected result.
120 * testsuite/gas/arm/archv8m.s: New testcase.
121 * testsuite/gas/arm/archv8m-base.d: New expected result.
122 * testsuite/gas/arm/archv8m-main.d: Likewise.
123 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
124
125 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
126
127 * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
128 (cpu_noarch): Add noavx512_4vnniw.
129 * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
130 * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
131 * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
132 * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
133 * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
134 * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
135 * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
136 * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
137 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
138 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
139 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
140 * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
141 * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
142 * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
143
144 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
145
146 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
147 (cpu_noarch): Add noavx512_4fmaps.
148 (process_operands): Handle implicit quad group.
149 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
150 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
151 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
152 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
153 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
154 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
155 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
156 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
157 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
158 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
159 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
160 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
161 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
162 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
163 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
164 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
165 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
166 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
167 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
168 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
169 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
170 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
171
172 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
173 Andrew Waterman <andrew@sifive.com>
174
175 Add support for RISC-V architecture.
176 * Makefile.am: Add riscv files.
177 * Makefile.in: Regenerate.
178 * NEWS: Mention the support for this architecture.
179 * configure.in: Define a default architecture.
180 * configure: Regenerate.
181 * configure.tgt: Add entries for riscv.
182 * doc/as.texinfo: Likewise.
183 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
184 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
185 * config/tc-riscv.c: New file.
186 * config/tc-riscv.h: New file.
187 * doc/c-riscv.texi: New file.
188 * testsuite/gas/riscv: New directory.
189 * testsuite/gas/riscv/riscv.exp: New file.
190 * testsuite/gas/riscv/t_insns.d: New file.
191 * testsuite/gas/riscv/t_insns.s: New file.
192
193 2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
194
195 * config/tc-arc.c (arc_target): Delete.
196 (arc_target_name): Delete.
197 (arc_features): Delete.
198 (arc_mach_type): Delete.
199 (mach_type_specified_p): Delete.
200 (enum mach_selection_type): New enum.
201 (mach_selection_mode): New static global.
202 (selected_cpu): New static global.
203 (arc_eflag): Rename to ...
204 (arc_initial_eflag): ...this, and make const.
205 (arc_select_cpu): Update comment, new parameter, check how
206 previous machine type selection was made, and record this
207 selection. Use selected_cpu instead of old globals.
208 (arc_option): Remove use of arc_get_mach, instead use
209 arc_select_cpu to validate machine type selection. Use
210 selected_cpu over old globals.
211 (allocate_tok): Use selected_cpu over old globals.
212 (find_opcode_match): Likewise.
213 (assemble_tokens): Likewise.
214 (arc_cons_fix_new): Likewise.
215 (arc_extinsn): Likewise.
216 (arc_extcorereg): Likewise.
217 (md_begin): Update default machine type selection, use
218 selected_cpu over old globals.
219 (md_parse_option): Update machine type selection option handling,
220 use selected_cpu over old globals.
221 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
222
223 2016-10-26 Alan Modra <amodra@gmail.com>
224
225 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
226 * config/rl78-parse.y: Do use old %name-prefix syntax.
227 * config/rx-parse.y: Likewise.
228
229 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
230
231 * config/tc-i386.c (cpu_arch): Remove .pcommit.
232 * doc/c-i386.texi: Likewise.
233 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
234 * testsuite/gas/i386/pcommit-intel.d: Removed.
235 * testsuite/gas/i386/pcommit.d: Likewise.
236 * testsuite/gas/i386/pcommit.s: Likewise.
237 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
238 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
239 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
240
241 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
242
243 PR binutis/20705
244 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
245 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
246 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
247
248 2016-10-19 Renlin Li <renlin.li@arm.com>
249
250 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
251 for register-shifted register instructions.
252 * testsuite/gas/arm/shift-bad-pc.d: New.
253 * testsuite/gas/arm/shift-bad-pc.l: New.
254 * testsuite/gas/arm/shift-bad-pc.s: New.
255
256 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
257
258 * testsuite/arc/dis-inv.d: Fixed matching.
259
260 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
261
262 * testsuite/arc/dis-inv.s: Test to validate patch.
263 * testsuite/arc/dis-inv.d: Likewise.
264
265 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
266
267 * testsuite/gas/arc/shortlimm_a7.d: New file.
268 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
269 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
270 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
271
272 2016-10-11 Nick Clifton <nickc@redhat.com>
273
274 * gas/arm/tls.d: Adjust output to match change in objdump.
275
276 2016-10-11 Jiong Wang <jiong.wang@arm.com>
277
278 PR target/20666
279 * testsuite/gas/aarch64/alias-2.d: Update expected results.
280
281 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
282
283 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
284 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
285 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
286 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
287 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
288 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
289 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
290 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
291 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
292
293 2016-10-08 Alan Modra <amodra@gmail.com>
294
295 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
296 config/rx-parse.y. Move config/bfin-parse.y.
297 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
298 ($(srcdir)/config/rl78-defs.h): New rule.
299 * Makefile.in: Regenerate.
300
301 2016-10-07 Jiong Wang <jiong.wang@arm.com>
302
303 PR target/20667
304 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
305 SYS_Rt reg.
306 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
307
308 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
309
310 * testsuite/gas/arc/leave_enter.d: New file.
311 * testsuite/gas/arc/leave_enter.s: Likewise.
312 * testsuite/gas/arc/regnames.d: Likewise.
313 * testsuite/gas/arc/regnames.s: Likewise.
314 * config/tc-arc.c (arc_parse_name): Don't match reg names against
315 confirmed symbol names.
316
317 2016-10-06 Alan Modra <amodra@gmail.com>
318
319 * app.c (do_scrub_chars): Move fall through comment.
320 * expr.c (operand): Likewise.
321
322 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
323
324 PR gas/20648
325 * dw2gencfi.c (dot_cfi_sections): Refine the check for
326 inconsistent .cfi_sections to only consider compact vs non
327 compact forms.
328 * testsuite/gas/cfi/cfi-common-9.d: New file.
329 * testsuite/gas/cfi/cfi-common-9.s: New file.
330 * testsuite/gas/cfi/cfi.exp: Run new test.
331
332 2016-10-06 Alan Modra <amodra@gmail.com>
333
334 * app.c: Add missing fall through comments.
335 * dw2gencfi.c: Likewise.
336 * expr.c: Likewise.
337 * config/tc-alpha.c: Likewise.
338 * config/tc-arc.c: Likewise.
339 * config/tc-arm.c: Likewise.
340 * config/tc-cr16.c: Likewise.
341 * config/tc-crx.c: Likewise.
342 * config/tc-dlx.c: Likewise.
343 * config/tc-h8300.c: Likewise.
344 * config/tc-hppa.c: Likewise.
345 * config/tc-i370.c: Likewise.
346 * config/tc-i386.c: Likewise.
347 * config/tc-i960.c: Likewise.
348 * config/tc-ia64.c: Likewise.
349 * config/tc-m68hc11.c: Likewise.
350 * config/tc-m68k.c: Likewise.
351 * config/tc-mep.c: Likewise.
352 * config/tc-metag.c: Likewise.
353 * config/tc-microblaze.c: Likewise.
354 * config/tc-mips.c: Likewise.
355 * config/tc-ns32k.c: Likewise.
356 * config/tc-rx.c: Likewise.
357 * config/tc-score.c: Likewise.
358 * config/tc-score7.c: Likewise.
359 * config/tc-sh.c: Likewise.
360 * config/tc-tic4x.c: Likewise.
361 * config/tc-vax.c: Likewise.
362 * config/tc-xstormy16.c: Likewise.
363 * config/tc-z80.c: Likewise.
364 * config/tc-z8k.c: Likewise.
365 * config/obj-elf.c: Likewise.
366 * config/tc-i386.c: Likewise.
367 * depend.c: Spell fall through comments consistently.
368 * config/tc-arm.c: Likewise.
369 * config/tc-d10v.c: Likewise.
370 * config/tc-i960.c: Likewise.
371 * config/tc-ia64.c: Likewise.
372 * config/tc-m68k.c: Likewise.
373 * config/tc-mcore.c: Likewise.
374 * config/tc-mep.c: Likewise.
375 * config/tc-ns32k.c: Likewise.
376 * config/tc-visium.c: Likewise.
377 * config/tc-xstormy16.c: Likewise.
378 * config/tc-z8k.c: Likewise.
379
380 2016-10-06 Alan Modra <amodra@gmail.com>
381
382 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
383
384 2016-10-06 Alan Modra <amodra@gmail.com>
385
386 * config/tc-arc.c (find_opcode_match): Add missing break.
387 * config/tc-i960.c (get_cdisp): Likewise.
388 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
389 * config/tc-mt.c (md_parse_option): Likewise.
390 * config/tc-nds32.c (nds32_apply_fix): Likewise.
391 * config/tc-hppa.c (pa_ip): Assert rather than testing last
392 condition of multiple if statements.
393 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
394 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
395 out of case rather than falling into next case. Formatting.
396
397 2016-10-06 Alan Modra <amodra@gmail.com>
398
399 * config/rl78-parse.y: Don't use deprecated %name-prefix.
400 * config/rx-parse.y: Likewise.
401
402 2016-09-29 Jiong Wang <jiong.wang@arm.com>
403
404 PR target/20553
405 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
406 testcases for H and S variants. New low index testcases for D variant.
407 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
408
409 2016-09-29 Alan Modra <amodra@gmail.com>
410
411 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
412 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
413 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
414
415 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
416
417 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
418 cnt_argp to concat.
419
420 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
421
422 * Makefile.in: Regenerate.
423 * configure: Likewise.
424 * doc/Makefile.in: Likewise.
425
426 2016-09-26 Alan Modra <amodra@gmail.com>
427
428 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
429 (md_pseudo_table <ELF>): Handle "gnu_attribute".
430
431 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
432
433 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
434 register and redundant basepri_max.
435
436 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
437
438 * config/tc-aarch64.c (print_operands): Print spaces between
439 operands.
440 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
441 in addresses.
442 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
443 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
444 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
445 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
446 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
447 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
448 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
449 * testsuite/gas/aarch64/sve.d: Likewise.
450 * testsuite/gas/aarch64/symbol.d: Likewise.
451 * testsuite/gas/aarch64/system.d: Likewise.
452 * testsuite/gas/aarch64/tls-desc.d: Likewise.
453 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
454 in suggested alternatives.
455 * testsuite/gas/aarch64/verbose-error.l: Likewise.
456
457 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
458
459 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
460 rather than "should be" or "expected to be" in error messages.
461 (parse_operands): Likewise.
462 * testsuite/gas/aarch64/diagnostic.l: Likewise.
463 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
464 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
465 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
466
467 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
468
469 * config/tc-aarch64.c (opcode_lookup): Search for the end of
470 a condition name, rather than assuming that it will have exactly
471 2 characters.
472 (parse_operands): Likewise.
473 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
474 to the expected output.
475 * testsuite/gas/aarch64/beq_1.d: Likewise.
476 * testsuite/gas/aarch64/float-fp16.d: Likewise.
477 * testsuite/gas/aarch64/int-insns.d: Likewise.
478 * testsuite/gas/aarch64/no-aliases.d: Likewise.
479 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
480 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
481 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
482 New test.
483
484 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
485
486 * testsuite/gas/aarch64/diagnostic.s,
487 testsuite/gas/aarch64/diagnostic.l: Add tests for
488 invalid uses of MUL VL and MUL in base AArch64 instructions.
489 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
490 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
491 testsuite/gas/aarch64/sve-invalid.s,
492 testsuite/gas/aarch64/sve-invalid.d,
493 testsuite/gas/aarch64/sve-invalid.l,
494 testsuite/gas/aarch64/sve-reg-diagnostic.s,
495 testsuite/gas/aarch64/sve-reg-diagnostic.d,
496 testsuite/gas/aarch64/sve-reg-diagnostic.l,
497 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
498
499 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
500
501 * doc/c-aarch64.texi: Document the "sve" feature.
502 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
503 (get_reg_expected_msg): Handle it.
504 (parse_operands): When parsing operands of an SVE instruction,
505 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
506 (aarch64_features): Add an entry for SVE.
507
508 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
509
510 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
511 and FP register operands.
512
513 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
514
515 * config/tc-aarch64.c (double_precision_operand_p): New function.
516 (parse_operands): Use it to calculate the dp_p input to
517 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
518
519 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
520
521 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
522 immediate operands.
523
524 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
525
526 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
527 parse_shift_modes.
528 (parse_shift): Handle SHIFTED_MUL_VL.
529 (parse_address_main): Add an imm_shift_mode parameter.
530 (parse_address, parse_sve_address): Update accordingly.
531 (parse_operands): Handle MUL VL addressing modes.
532
533 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
534
535 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
536 register types.
537 (get_reg_expected_msg): Handle them.
538 (aarch64_addr_reg_parse): New function, split out from
539 aarch64_reg_parse_32_64. Handle Z registers too.
540 (aarch64_reg_parse_32_64): Call it.
541 (parse_address_main): Add base_qualifier, offset_qualifier,
542 base_type and offset_type parameters. Handle SVE base and offset
543 registers.
544 (parse_address): Update call to parse_address_main.
545 (parse_sve_address): New function.
546 (parse_operands): Parse the new SVE address operands.
547
548 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
549
550 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
551 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
552 shift modes. Skip range tests for AARCH64_MOD_MUL.
553 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
554 (parse_operands): Likewise.
555
556 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
557
558 * config/tc-aarch64.c (parse_enum_string): New function.
559 (po_enum_or_fail): New macro.
560 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
561 AARCH64_OPND_SVE_PRFOP.
562
563 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
564
565 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
566 (parse_vector_type_for_operand): Assert that the skipped character
567 is a '.'.
568 (parse_predication_for_operand): New function.
569 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
570 (vectype_to_qualifier): Handle NT_zero and NT_merge.
571
572 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
573
574 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
575 (AARCH64_REG_TYPES): Add ZN and PN.
576 (get_reg_expected_msg): Handle them.
577 (parse_vector_type_for_operand): Add a reg_type parameter.
578 Skip the width for Zn and Pn registers.
579 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
580 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
581 expecting the width to be 0.
582 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
583 REG_TYPE_VN.
584 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
585 (parse_operands): Handle the new Zn and Pn operands.
586 (REGSET16): New macro, split out from...
587 (REGSET31): ...here.
588 (reg_names): Add Zn and Pn entries.
589
590 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
591
592 * config/tc-aarch64.c (output_operand_error_record): Handle
593 AARCH64_OPDE_UNTIED_OPERAND.
594
595 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
596
597 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
598 instruction with all-NIL qualifiers to fail to match.
599
600 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
601
602 * config/tc-aarch64.c (parse_address_main): Remove reloc and
603 accept_reg_post_index parameters. Parse relocations and register
604 post indexes unconditionally.
605 (parse_address): Remove accept_reg_post_index parameter.
606 Update call to parse_address_main.
607 (parse_address_reloc): Delete.
608 (parse_operands): Call parse_address instead of parse_address_main.
609 Update existing callers of parse_address and make them check
610 inst.reloc.type where appropriate.
611 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
612 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
613 Also test for invalid uses of post-index register addressing.
614 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
615
616 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
617
618 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
619 types.
620 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
621 (aarch64_check_reg_type): Simplify.
622 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
623 register number. Return the type as a qualifier rather than an
624 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
625 parameters.
626 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
627 Use get_reg_expected_msg.
628 (parse_address_main): Likewise. Use aarch64_check_reg_type.
629 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
630 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
631 Use aarch64_check_reg_type to test the result.
632 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
633 addresses normally before enforcing the syntax restrictions.
634 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
635 zero register and for a stack pointer index.
636 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
637 Also update existing diagnostic messages after the above changes.
638 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
639 for 32-bit register bases.
640
641 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
642
643 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
644 (parse_operands): Check the range of 8-bit FP immediates here instead.
645
646 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
647
648 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
649 low-severity error for registers.
650 (parse_operands): Report an invalid floating point constant for
651 if parsing an FPIMM8 fails, and if no better error has been
652 recorded.
653 * testsuite/gas/aarch64/diagnostic.s,
654 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
655 to FMOV.
656
657 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
658
659 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
660 to...
661 (can_convert_double_to_float): ...this. Accept any double-precision
662 value that converts to single precision without loss of precision.
663 (parse_aarch64_imm_float): Update accordingly.
664
665 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
666
667 * config/tc-aarch64.c (parse_immediate_expression): Add a
668 reg_type parameter.
669 (parse_constant_immediate): Likewise, and update calls.
670 (parse_aarch64_imm_float): Likewise.
671 (parse_big_immediate): Likewise.
672 (po_imm_nc_or_fail): Update accordingly, passing down a new
673 imm_reg_type variable.
674 (po_imm_of_fail): Likewise.
675 (parse_operands): Likewise.
676
677 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
678
679 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
680 (parse_vector_reg_list): ...this and take a register type
681 as input.
682 (parse_operands): Update accordingly.
683
684 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
685
686 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
687 (parse_vector_type_for_operand): ...this.
688 (parse_typed_reg): Update accordingly.
689
690 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
691
692 * config/tc-aarch64.c (neon_type_el): Rename to...
693 (vector_type_el): ...this.
694 (parse_neon_type_for_operand): Update accordingly.
695 (parse_typed_reg): Likewise.
696 (aarch64_reg_parse): Likewise.
697 (vectype_to_qualifier): Likewise.
698 (parse_operands): Likewise.
699 (eq_neon_type_el): Likewise. Rename to...
700 (eq_vector_type_el): ...this.
701 (parse_neon_reg_list): Update accordingly.
702
703 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
704
705 * config/tc-aarch64.c (neon_el_type: Rename to...
706 (vector_el_type): ...this.
707 (neon_type_el): Update accordingly.
708 (parse_neon_type_for_operand): Likewise.
709 (vectype_to_qualifier): Likewise.
710
711 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
712
713 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
714 (parse_typed_reg): Call parse_neon_type_for_operand directly.
715
716 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
717
718 * testsuite/gas/arc/textinsnxop.d: New file.
719 * testsuite/gas/arc/textinsnxop.s: Likewise.
720
721 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
722
723 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
724 dcti-couples-v9 only in ELF targets to avoid spurious failures in
725 sparc-aout and sparc-coff targets.
726
727 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
728
729 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
730 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
731 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
732 <copy, paste.>: Update tests.
733 * testsuite/gas/ppc/power9.s: Likewise.
734
735 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
736
737 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
738 in "architecture mismatch" error messages.
739
740 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
741
742 * config/tc-sparc.c (md_assemble): Detect and warning on
743 unpredictable DCTI couples in certain arches.
744 (dcti_couples_detect): New global.
745 (md_longopts): Add command line option -dcti-couples-detect.
746 (md_show_usage): Document -dcti-couples-detect.
747 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
748 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
749 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
750 * testsuite/gas/sparc/dcti-couples.s: New file.
751 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
752 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
753 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
754 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
755 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
756 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
757 * doc/c-sparc.texi (Sparc-Opts): Likewise.
758
759 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
760
761 * testsuite/gas/arc/tls-relocs2.d: New file.
762 * testsuite/gas/arc/tls-relocs2.s: Likewise.
763 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
764 is used.
765
766 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
767
768 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
769 strings.
770 * doc/as.texinfo: Document new arch strings.
771 * doc/c-s390.texi: Likewise.
772
773 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
774
775 * config/tc-s390.c: Set all facitily bits by default
776
777 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
778
779 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
780
781 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
782
783 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
784 for Intel MCU.
785
786 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
787
788 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
789 (set_cpu_arch): Updated.
790 (md_parse_option): Likewise.
791 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
792 iamcu-inval-2 and iamcu-inval-3.
793 * testsuite/gas/i386/iamcu-4.d: New file.
794 * testsuite/gas/i386/iamcu-4.s: Likewise.
795 * testsuite/gas/i386/iamcu-5.d: Likewise.
796 * testsuite/gas/i386/iamcu-5.s: Likewise.
797 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
798 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
799 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
800 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
801
802 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
803
804 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
805 ARMv8-A CPUs except xgene1.
806
807 2016-08-31 Alan Modra <amodra@gmail.com>
808
809 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
810 ppc_cpu rather than calling ppc_mach to determine VLE mode.
811 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
812
813 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
814
815 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
816 to camellia_fl.
817 * testsuite/gas/sparc/crypto.s: Likewise.
818
819 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
820
821 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
822 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
823 their lowecase counterpart special registers. Write register
824 identifier in hex.
825 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
826 operation, special register and then case. Use different register for
827 each operation. Add tests for new special registers.
828 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
829 accordingly.
830 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
831 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
832
833 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
834
835 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
836 special registers.
837 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
838 registers.
839 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
840 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
841 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
842
843 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
844
845 * config/tc-i386.c (cpu_arch): Add .ptwrite.
846 * doc/c-i386.texi: Document ptwrite and .ptwrite.
847 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
848 x86-64-ptwrite and x86-64-ptwrite-intel.
849 * testsuite/gas/i386/ptwrite-intel.d: New file.
850 * testsuite/gas/i386/ptwrite.d: Likewise.
851 * testsuite/gas/i386/ptwrite.s: Likewise.
852 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
853 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
854 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
855
856 2016-08-19 Tamar Christina <tamar.christina@arm.com>
857
858 * config/tc-arm.c (do_co_reg2c): Added constraint.
859 * testsuite/gas/arm/dest-unpredictable.s: New.
860 * testsuite/gas/arm/dest-unpredictable.l: New.
861 * testsuite/gas/arm/dest-unpredictable.d: New.
862
863 2016-08-19 Nick Clifton <nickc@redhat.com>
864
865 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
866 ordering of sections.
867 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
868 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
869 * testsuite/gas/ia64/alias.d: Likewise.
870 * testsuite/gas/ia64/group-1.d: Likewise.
871 * testsuite/gas/ia64/group-2.d: Likewise.
872 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
873 * testsuite/gas/ia64/secname.d: Likewise.
874 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
875 * testsuite/gas/ia64/unwind.d: Likewise.
876 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
877 * testsuite/gas/ia64/xdata.d: Likewise.
878 * testsuite/gas/mmix/bspec-1.d: Likewise.
879 * testsuite/gas/mmix/bspec-2.d: Likewise.
880 * testsuite/gas/mmix/byte-1.d: Likewise.
881 * testsuite/gas/mmix/loc-1.d: Likewise.
882 * testsuite/gas/mmix/loc-2.d: Likewise.
883 * testsuite/gas/mmix/loc-3.d: Likewise.
884 * testsuite/gas/mmix/loc-4.d: Likewise.
885 * testsuite/gas/mmix/loc-5.d: Likewise.
886 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
887
888 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
889
890 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
891 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
892 Add tests for -0.0. Add an end-of-file comment.
893
894 2016-08-05 Nick Clifton <nickc@redhat.com>
895
896 PR gas/20429
897 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
898 registers are pushed.
899 (do_vfp_nsyn_pop): Check that no more than 16 registers are
900 popped.
901 * testsuite/gas/arm/pr20429.s: New test.
902 * testsuite/gas/arm/pr20429.d: New test driver.
903 * testsuite/gas/arm/pr20429.1: Expected error output.
904
905 PR gas/20364
906 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
907 aligning the frag.
908 (aarch64_init): Treat rs_align frags in code sections as
909 containing code, not data.
910 * testsuite/gas/aarch64/pr20364.s: New test.
911 * testsuite/gas/aarch64/pr20364.d: New test driver.
912
913 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
914
915 PR gas/20427
916 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
917 of 64-bit relocation types when assembling for a 32-bit Solaris
918 target.
919
920 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
921
922 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
923 ELF targets.
924 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
925 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
926 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
927 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
928 targets.
929 (sparc_elf_setup): Delete.
930 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
931 test's #name entry.
932
933 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
934
935 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
936 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
937 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
938 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
939 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
940 (get_append_method): Also return APPEND_ADD_COMPACT for
941 microMIPS instructions.
942 (find_altered_mips16_opcode): Exclude macros from matching.
943 Factor code out...
944 (find_altered_opcode): ... to this new function.
945 (find_altered_micromips_opcode): New function.
946 (frag_branch_delay_slot_size): Likewise.
947 (append_insn): Handle microMIPS branch/jump compaction.
948 (macro_start): Likewise.
949 (relaxed_micromips_32bit_branch_length): Likewise.
950 (md_convert_frag): Likewise.
951 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
952 for delay slot filling.
953 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
954 delay slot filling.
955 * testsuite/gas/mips/micromips-size-1.s: Likewise.
956 * testsuite/gas/mips/micromips.l: Adjust line numbers.
957 * testsuite/gas/mips/micromips-warn.l: Likewise.
958 * testsuite/gas/mips/micromips-size-1.l: Likewise.
959 * testsuite/gas/mips/micromips.d: Adjust padding.
960 * testsuite/gas/mips/micromips-trap.d: Likewise.
961 * testsuite/gas/mips/micromips-insn32.d: Likewise.
962 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
963 * testsuite/gas/mips/micromips@beq.d: Update patterns for
964 branch/jump compaction.
965 * testsuite/gas/mips/micromips@bge.d: Likewise.
966 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
967 * testsuite/gas/mips/micromips@blt.d: Likewise.
968 * testsuite/gas/mips/micromips@bltu.d: Likewise.
969 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
970 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
971 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
972 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
973 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
974 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
975 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
976 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
977 Likewise.
978 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
979 Likewise.
980 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
981 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
982 * testsuite/gas/mips/micromips@relax.d: Likewise.
983 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
984 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
985 * testsuite/gas/mips/branch-extern-2.d: Likewise.
986 * testsuite/gas/mips/branch-extern-4.d: Likewise.
987 * testsuite/gas/mips/branch-section-2.d: Likewise.
988 * testsuite/gas/mips/branch-section-4.d: Likewise.
989 * testsuite/gas/mips/branch-weak-2.d: Likewise.
990 * testsuite/gas/mips/branch-weak-5.d: Likewise.
991 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
992 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
993 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
994 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
995 Likewise.
996 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
997 Likewise.
998 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
999 Likewise.
1000 * testsuite/gas/mips/micromips-compact.d: New test.
1001 * testsuite/gas/mips/mips.exp: Run the new test.
1002
1003 2016-07-27 Graham Markall <graham.markall@embecosm.com>
1004
1005 * config/tc-arc.c: Add new global arc_addrtype_hash.
1006 Define O_colon and O_addrtype.
1007 (debug_exp): Add O_colon and O_addrtype.
1008 (tokenize_arguments): Handle colon and address type
1009 tokens.
1010 (declare_addrtype): New function.
1011 (md_begin): Initialise arc_addrtype_hash.
1012 (arc_parse_name): Add lookup of address types.
1013 (assemble_insn): Handle colons and address types by
1014 ignoring them.
1015 * testsuite/gas/arc/nps400-8.s: New file.
1016 * testsuite/gas/arc/nps400-8.d: New file.
1017 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
1018 * testsuite/gas/arc/nps400-8.d: Add expected PMU
1019 instruction output.
1020
1021 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1022
1023 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
1024 (RELAX_MICROMIPS_INSN32): New macro.
1025 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1026 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
1027 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
1028 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
1029 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
1030 Shift bits.
1031 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
1032 branches.
1033 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
1034 mode.
1035 (md_convert_frag): Likewise.
1036 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
1037 conditionals.
1038 * testsuite/gas/mips/micromips-branch-relax.l: Update line
1039 numbers accordingly.
1040 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
1041 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
1042 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
1043 test.
1044 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
1045 stderr output.
1046 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
1047 stderr output.
1048 * testsuite/gas/mips/mips.exp: Run the new tests.
1049
1050 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1051
1052 * configure: Regenerated.
1053
1054 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
1055
1056 * testsuite/gas/arc/dsp.d: New file.
1057 * testsuite/gas/arc/dsp.s: Likewise.
1058 * testsuite/gas/arc/fpu.d: Likewise.
1059 * testsuite/gas/arc/fpu.s: Likewise.
1060 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
1061 * testsuite/gas/arc/ext3op.d: Likewise.
1062 * testsuite/gas/arc/tdpfp.d: Likewise.
1063 * testsuite/gas/arc/tfpuda.d: Likewise.
1064
1065 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
1066
1067 * config/tc-mips.c (mips_force_relocation): Remove
1068 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
1069
1070 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1071
1072 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
1073 Adjust comments for BAL to JALX linker conversion.
1074 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
1075 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
1076 expected.
1077 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
1078 * testsuite/gas/mips/branch-local-4.d: New test.
1079 * testsuite/gas/mips/branch-local-n32-4.d: New test.
1080 * testsuite/gas/mips/branch-local-n64-4.d: New test.
1081 * testsuite/gas/mips/branch-addend.d: New test.
1082 * testsuite/gas/mips/branch-addend-n32.d: New test.
1083 * testsuite/gas/mips/branch-addend-n64.d: New test.
1084 * testsuite/gas/mips/branch-local-4.s: New test source.
1085 * testsuite/gas/mips/branch-addend.s: New test source.
1086 * testsuite/gas/mips/mips.exp: Run the new tests.
1087
1088 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1089
1090 * config/tc-mips.c (mips_force_relocation): Also retain branch
1091 relocations against MIPS16 and microMIPS symbols.
1092 (fix_bad_cross_mode_jump_p): New function.
1093 (fix_bad_same_mode_jalx_p): Likewise.
1094 (fix_bad_misaligned_jump_p): Likewise.
1095 (fix_bad_cross_mode_branch_p): Likewise.
1096 (fix_bad_misaligned_branch_p): Likewise.
1097 (fix_validate_branch): Likewise.
1098 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
1099 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
1100 etc. Verify the ISA mode and alignment of the jump target.
1101 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
1102 with a call to `fix_validate_branch'.
1103 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
1104 <BFD_RELOC_16_PCREL_S2>: Likewise.
1105 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1106 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
1107 Verify the ISA mode and alignment of the branch target.
1108 (md_convert_frag): Verify the ISA mode and alignment of resolved
1109 MIPS16 branch targets.
1110 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
1111 branch targets with `.insn'.
1112 * testsuite/gas/mips/branch-misc-5.s: Likewise.
1113 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
1114 accordingly.
1115 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1116 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
1117 non-instruction branch target with `.insn'.
1118 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
1119 with external symbols.
1120 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
1121 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1122 * testsuite/gas/mips/micromips-trap.d: Likewise.
1123 * testsuite/gas/mips/micromips.d: Likewise.
1124 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
1125 targets with `.insn'.
1126 * testsuite/gas/mips/mips16.d: Update accordingly.
1127 * testsuite/gas/mips/mips16-64.d: Likewise.
1128 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
1129 branch target with `.insn'.
1130 * testsuite/gas/mips/relax-swap3.s: Likewise.
1131 * testsuite/gas/mips/branch-local-2.l: New list test.
1132 * testsuite/gas/mips/branch-local-3.l: New list test.
1133 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
1134 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
1135 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
1136 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
1137 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
1138 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
1139 * testsuite/gas/mips/unaligned-jump-3.d: New test.
1140 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
1141 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
1142 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1143 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1144 test.
1145 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1146 test.
1147 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
1148 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
1149 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
1150 * testsuite/gas/mips/unaligned-branch-3.d: New test.
1151 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
1152 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
1153 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
1154 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
1155 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
1156 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
1157 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
1158 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
1159 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
1160 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
1161 test.
1162 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
1163 test.
1164 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
1165 * testsuite/gas/mips/branch-local-2.s: New test source.
1166 * testsuite/gas/mips/branch-local-3.s: New test source.
1167 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
1168 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
1169 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
1170 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1171 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1172 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1173 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1174 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1175 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1176 source.
1177 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1178 source.
1179 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1180 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1181 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1182 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1183 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1184 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1185 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1186 source.
1187 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1188 source.
1189 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1190 source.
1191 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1192 source.
1193 * testsuite/gas/mips/mips.exp: Run the new tests.
1194
1195 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1196
1197 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1198 unsigned int.
1199 (do_pseudo_b): Adjust.
1200 (do_pseudo_bal): Likewise.
1201 (do_pseudo_bge): Likewise.
1202 (do_pseudo_bges): Likewise.
1203 (do_pseudo_bgt): Likewise.
1204 (do_pseudo_bgts): Likewise.
1205 (do_pseudo_ble): Likewise.
1206 (do_pseudo_bles): Likewise.
1207 (do_pseudo_blt): Likewise.
1208 (do_pseudo_blts): Likewise.
1209 (do_pseudo_br): Likewise.
1210 (do_pseudo_bral): Likewise.
1211 (do_pseudo_la): Likewise.
1212 (do_pseudo_li): Likewise.
1213 (do_pseudo_ls_bhw): Likewise.
1214 (do_pseudo_ls_bhwp): Likewise.
1215 (do_pseudo_ls_bhwpc): Likewise.
1216 (do_pseudo_ls_bhwi): Likewise.
1217 (do_pseudo_move): Likewise.
1218 (do_pseudo_neg): Likewise.
1219 (do_pseudo_not): Likewise.
1220 (do_pseudo_pushpopm): Likewise.
1221 (do_pseudo_pushpop): Likewise.
1222 (do_pseudo_v3push): Likewise.
1223 (do_pseudo_v3pop): Likewise.
1224 (do_pseudo_pushpop_stack): Likewise.
1225 (do_pseudo_push_bhwd): Likewise.
1226 (do_pseudo_pop_bhwd): Likewise.
1227 (do_pseudo_pusha): Likewise.
1228 (do_pseudo_pushi): Likewise.
1229
1230 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1231
1232 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
1233 bfd_reloc_code_real_type.
1234
1235 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1236
1237 * config/tc-sparc.c (pop_table): Remove sentinel.
1238 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
1239 (md_begin): Adjust.
1240
1241 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1242
1243 * config/tc-z8k.c (newfix): Make type of type argument
1244 bfd_reloc_code_real_type.
1245 (apply_fix): Likewise.
1246
1247 2016-07-16 Alan Modra <amodra@gmail.com>
1248
1249 * config/tc-epiphany.c: Don't include libbfd.h.
1250 * config/tc-frv.c: Likewise.
1251 * config/tc-ip2k.c: Likewise.
1252 * config/tc-iq2000.c: Likewise.
1253 * config/tc-m32c.c: Likewise.
1254 * config/tc-mep.c: Likewise.
1255 * config/tc-mt.c: Likewise.
1256 * config/tc-nios2.c: Likewise.
1257
1258 2016-07-16 Alan Modra <amodra@gmail.com>
1259
1260 * config/bfin-parse.y: Don't include libbfd.h.
1261 * config/tc-bfin.c: Likewise.
1262 * config/tc-rl78.c: Likewise.
1263 * config/tc-rx.c: Likewise.
1264 * config/tc-metag.c: Likewise.
1265 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1266 * Makefile.am: Update dependencies.
1267 * Makefile.in: Regenerate.
1268
1269 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1270
1271 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1272 (mips_force_relocation_abs): New prototype.
1273 * config/tc-mips.c (mips_force_relocation_abs): New function.
1274 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1275 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1276 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1277 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1278 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1279 Likewise.
1280 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1281 Likewise.
1282 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1283 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1284 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1285 test.
1286 * testsuite/gas/mips/mips.exp: Run the new tests.
1287
1288 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1289
1290 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1291 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1292 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1293 addend calculated.
1294 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1295 in `bar', export `foo'.
1296 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1297 accordingly.
1298 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1299 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1300 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1301 Likewise.
1302 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1303 Likewise.
1304
1305 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1306
1307 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1308 * testsuite/gas/mips/branch-absolute.d: New test.
1309 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1310 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1311 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1312 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1313 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1314 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1315 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1316 test.
1317 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1318 test.
1319 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1320 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1321 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1322 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1323 test.
1324 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1325 test.
1326 * testsuite/gas/mips/branch-absolute.s: New test source.
1327 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1328 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1329 source.
1330 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1331 source.
1332 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1333 test source.
1334 * testsuite/gas/mips/mips.exp: Run the new tests.
1335
1336 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1337
1338 * testsuite/gas/mips/nal-1.d: New test.
1339 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1340 * testsuite/gas/mips/nal-2.d: New test.
1341 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1342 * testsuite/gas/mips/nal.s: New test source.
1343 * testsuite/gas/mips/mips.exp: Run the new tests.
1344
1345 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1346
1347 * testsuite/gas/sparc/ldtxa.s: New file.
1348 * testsuite/gas/sparc/ldtxa.d: Likewise.
1349 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1350
1351 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1352
1353 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1354 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1355 as it is no longer needed.
1356
1357 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1358
1359 * config/tc-mips.c (append_insn): Remove extraneous
1360 `install_insn' call.
1361
1362 2016-07-04 Jan Beulich <jbeulich@suse.com>
1363
1364 * config/tc-i386.c (check_qword_reg): Correct register kind
1365 checked.
1366 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1367 16-bit register cases.
1368 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1369
1370
1371 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1372
1373 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1374 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1375 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1376 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1377 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1378 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1379 reloc patterns.
1380 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1381 * testsuite/gas/mips/bge.d: Likewise.
1382 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1383 * testsuite/gas/mips/bgeu.d: Likewise.
1384 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1385 * testsuite/gas/mips/blt.d: Likewise.
1386 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1387 * testsuite/gas/mips/bltu.d: Likewise.
1388 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1389 * testsuite/gas/mips/branch-likely.d: Likewise.
1390 * testsuite/gas/mips/la.d: Likewise.
1391 * testsuite/gas/mips/lb.d: Likewise.
1392 * testsuite/gas/mips/lifloat.d: Likewise.
1393 * testsuite/gas/mips/sb.d: Likewise.
1394 * testsuite/gas/mips/uld.d: Likewise.
1395 * testsuite/gas/mips/ulh.d: Likewise.
1396 * testsuite/gas/mips/ulw.d: Likewise.
1397 * testsuite/gas/mips/usd.d: Likewise.
1398 * testsuite/gas/mips/ush.d: Likewise.
1399 * testsuite/gas/mips/usw.d: Likewise.
1400
1401 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1402
1403 * testsuite/gas/mips/branch-misc-2.s: Move non
1404 locally-defined-global symbol tests...
1405 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1406 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1407 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1408 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1409 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1410 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1411 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1412 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1413 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1414 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1415 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1416 * testsuite/gas/mips/branch-misc-5.d: New test.
1417 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1418 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1419 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1420 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1421 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1422 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1423 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1424 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1425 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1426 * testsuite/gas/mips/mips.exp: Run the new tests.
1427
1428 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1429
1430 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1431 symbols.
1432 * testsuite/gas/mips/beq.d: Update accordingly.
1433 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1434 * testsuite/gas/mips/micromips@beq.d: Likewise.
1435
1436 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1437
1438 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1439 tests to NewABI targets.
1440
1441 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1442
1443 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1444 together.
1445
1446 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1447
1448 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1449 require field.
1450 (aarch64_features): Initialize require fields.
1451 (aarch64_parse_features): Handle dependencies.
1452 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1453 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1454 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1455 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1456 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1457
1458 2016-07-01 Nick Clifton <nickc@redhat.com>
1459
1460 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1461 extremely large integer.
1462
1463 2016-07-01 Jan Beulich <jbeulich@suse.com>
1464
1465 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1466
1467 2016-07-01 Tristan Gingold <gingold@adacore.com>
1468
1469 * NEWS: Add marker for 2.27.
1470
1471 2016-07-01 Jan Beulich <jbeulich@suse.com>
1472
1473 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1474 bndldx, and bndstx.
1475 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1476 as well as scaling by other than 1 tests.
1477 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1478
1479 2016-07-01 Jan Beulich <jbeulich@suse.com>
1480
1481 * tc-i386.c (md_assemble): Alter address size checking for MPX
1482 instructions.
1483 * testsuite/gas/i386/mpx-inval-2.s: New.
1484 * testsuite/gas/i386/mpx-inval-2.l: New.
1485 * testsuite/gas/i386/i386.exp: Run new test.
1486
1487 2016-07-01 Jan Beulich <jbeulich@suse.com>
1488
1489 PR gas/20318
1490 * config/tc-i386.c (match_template): Add char parameter,
1491 consumed in Intel mode for an extra suffix check.
1492 (md_assemble): New local variable mnem_suffix.
1493 * testsuite/gas/i386/suffix-bad.s: New.
1494 * testsuite/gas/i386/suffix-bad.l: New.
1495 * testsuite/gas/i386/i386.exp: Run new test (twice).
1496
1497 2016-07-01 Jan Beulich <jbeulich@suse.com>
1498
1499 * testsuite/gas/i386/movz.s: New.
1500 * testsuite/gas/i386/movz32.d: New.
1501 * testsuite/gas/i386/movz64.d: New.
1502 * testsuite/gas/i386/i386.exp: Run new tests.
1503
1504 2016-07-01 Jan Beulich <jbeulich@suse.com>
1505
1506 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1507 (md_assemble): Free first memory operand string.
1508 (i386_index_check): Use repprefixok to distingush xlat from
1509 other (real) string ops.
1510 (maybe_adjust_templates): New.
1511 (i386_att_operand). Call it. Store first memory operand string.
1512 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1513 * testsuite/gas/i386/intel-movs.s: New.
1514 * testsuite/gas/i386/intel-movs32.d: New.
1515 * testsuite/gas/i386/intel-movs64.d: New.
1516 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1517 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1518
1519 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1520
1521 * config/tc-mips.c (get_append_method): Fix a comment typo.
1522
1523 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1524 Maciej W. Rozycki <macro@imgtec.com>
1525
1526 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1527 case MIPS16 handling.
1528 * testsuite/gas/mips/branch-swap-3.d: New test.
1529 * testsuite/gas/mips/branch-swap-4.d: New test.
1530 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1531 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1532 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1533 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1534 * testsuite/gas/mips/branch-swap-3.s: New test source.
1535 * testsuite/gas/mips/mips.exp: Run the new tests.
1536
1537 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1538
1539 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1540 swapping sequence.
1541
1542 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1543
1544 PR gas/20312
1545 * write.c (subsegs_finish_section): Force no section padding to
1546 alignment on failed assembly, always set last frag's alignment
1547 from section.
1548 * testsuite/gas/all/pr20312.l: New list test.
1549 * testsuite/gas/all/pr20312.s: New test source.
1550 * testsuite/gas/all/gas.exp: Run the new test
1551
1552 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1553
1554 * config.in (TARGET_WITH_CPU): Undefine.
1555 * configure.ac: Add --with-cpu support, and define in config.h.
1556 * configure: Regenerate.
1557 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1558 * NEWS: Mention new configure option.
1559
1560 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1561
1562 * testsuite/gas/arm/armv8_2+rdma.d: New.
1563
1564 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1565
1566 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1567 default for Linux/x86 targets.
1568 * configure.tgt (ac_default_compressed_debug_sections): Default
1569 to yes for Linux/x86 targets.
1570
1571 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1572
1573 * write.c: Remove "libbfd.h" inclusion.
1574
1575 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1576
1577 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1578 `type' test.
1579
1580 2016-06-28 Alan Modra <amodra@gmail.com>
1581
1582 PR gas/20247
1583 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1584
1585 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1586
1587 * testsuite/gas/aarch64/diagnostic.s,
1588 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1589
1590 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1591
1592 * config/tc-mips.c (mips16_reloc_p): Handle
1593 BFD_RELOC_MIPS16_16_PCREL_S1.
1594 (b_reloc_p): Likewise.
1595 (limited_pcrel_reloc_p): Likewise.
1596 (md_pcrel_from): Likewise.
1597 (md_apply_fix): Likewise.
1598 (tc_gen_reloc): Likewise.
1599 (md_convert_frag): Likewise.
1600 (mips_fix_adjustable): Update comment.
1601 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1602 output, add dump patterns.
1603 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1604 output, add dump patterns.
1605 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1606 output, add dump patterns.
1607 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1608 output, add dump patterns.
1609 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1610 output, add dump patterns.
1611 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1612 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1613 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1614 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1615 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1616 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1617 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1618 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1619 * testsuite/gas/mips/branch-weak-6.d: New test.
1620 * testsuite/gas/mips/branch-weak-7.d: New test.
1621 * testsuite/gas/mips/mips.exp: Run the new tests.
1622
1623 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1624
1625 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1626 cfi_add_CFA_def_cfa to generate default CFA with offset
1627 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1628
1629 2016-06-27 Nick Clifton <nickc@redhat.com>
1630
1631 PR gas/20247
1632 * as.h (do_not_pad_sections_to_alignment): New global variable.
1633 * as.c (show_usage): Add --no-pad-sections.
1634 (parse_args): Likewise.
1635 * write.c (size_seg): Skip padding the end of the section if
1636 requested from the command line.
1637 (SUB_SEGMENT_ALIGN): Likewise.
1638 * doc/as.texinfo: Document the new option.
1639 * NEWS: Mention the new feature.
1640 * testsuite/gas/elf/section11.s: New test.
1641 * testsuite/gas/elf/section11.d: New test driver.
1642 * testsuite/gas/elf/elf.exp: Run the new test.
1643
1644 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1645
1646 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1647 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1648
1649 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1650
1651 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1652 sentinal element.
1653 (map_suffix_reloc_to_operator): Likewise.
1654 (map_operator_to_reloc): Likewise.
1655
1656 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1657
1658 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1659 element in relax_table.
1660
1661 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1662
1663 * config/tc-aarch64.c: Make the type of reg_entry::type
1664 aarch_reg_type.
1665
1666 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1667
1668 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1669 (md_parse_option): Adjust.
1670 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1671 with iteration from 0 to ARRAY_SIZE.
1672 * config/tc-mcore.c (md_begin): Likewise.
1673 * config/tc-visium.c (visium_parse_arch): Likewise.
1674
1675 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1676
1677 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1678 and simplify accordingly.
1679 (tic54x_include): Adjust.
1680 (tic54x_mlib): Likewise.
1681
1682 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1683
1684 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1685
1686 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1687
1688 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1689 unchanged with relaxed MIPS16 instructions.
1690 (mips16_extended_frag): Adjust accordingly. Return 1 right
1691 away if a relocation will be required for the symbol requested.
1692 Remove dead first relaxation pass code.
1693 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1694 (md_convert_frag): Adjust symbol value calculation. Raise an
1695 error if a relocation is required for the symbol requested.
1696 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1697 add error output.
1698 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1699 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1700 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1701 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1702 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1703 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1704 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1705 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1706 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1707 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1708 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1709 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1710 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1711 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1712 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1713 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1714 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1715 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1716 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1717 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1718 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1719 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1720 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1721 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1722 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1723 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1724 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1725 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1726 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1727 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1728 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1729 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1730 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1731 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1732 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1733 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1734 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1735 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1736 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1737 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1738 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1739 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1740 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1741 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1742 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1743 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1744 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1745 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1746 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1747 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1748 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1749 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1750 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1751 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1752 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1753 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1754 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1755 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1756 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1757 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1758 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1759 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1760 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1761 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1762 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1763 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1764 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1765 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1766 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1767 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1768 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1769 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1770 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1771 * testsuite/gas/mips/mips.exp: Run the new tests.
1772
1773 2016-06-24 Alan Modra <amodra@gmail.com>
1774
1775 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1776
1777 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1778
1779 * config/tc-mips.c (b_reloc_p): New function.
1780 (mips_fix_adjustable): Also keep the original microMIPS symbol
1781 referred from branch relocations.
1782 * testsuite/gas/mips/branch-local-1.d: New test.
1783 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1784 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1785 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1786 relocations.
1787 * testsuite/gas/mips/branch-local-1.s: New test source.
1788 * testsuite/gas/mips/mips.exp: Run the new cases.
1789
1790 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1791
1792 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1793 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1794 options. Correct erroneous enabling of SPFP instructions when
1795 using -mnps400.
1796
1797 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1798
1799 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1800 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1801 setbool, xor3>: New tests.
1802 * testsuite/gas/ppc/power9.s: Likewise.
1803
1804 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1805
1806 * config/tc-xtensa.c: Include elf/xtensa.h.
1807
1808 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1809
1810 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1811 <BFD_RELOC_LO16_PCREL>: New switch cases.
1812 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1813 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1814 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1815 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1816 the resolved case.
1817 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1818 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1819 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1820 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1821 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1822 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1823 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1824 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1825 * testsuite/gas/mips/mips.exp: Run the new tests.
1826
1827 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1828
1829 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1830 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1831 via `fixP->fx_addsy'.
1832
1833 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1834
1835 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1836 Calculate relocation from the containing aligned doubleword.
1837 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1838 addend from the containing aligned doubleword.
1839
1840 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1841
1842 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1843 rather than `mips_opts' for the R6 ISA check.
1844 (mips_fix_adjustable): Likewise.
1845 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1846 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1847 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1848 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1849 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1850 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1851 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1852 * testsuite/gas/mips/mips.exp: Run the new tests.
1853
1854 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1855
1856 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1857 Add nps400 option and feature. Add check for nps400
1858 feature. Refactor existing checks to check subclass before
1859 feature enablement.
1860 (md_show_usage): Document flags for NPS-400 and add some other
1861 undocumented flags.
1862 (cpu_type): Remove nps400 CPU type entry
1863 (check_zol): Remove bfd_mach_arc_nps400 case.
1864 (md_show_usage): Add help on -mcpu=nps400.
1865 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1866 set.
1867 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1868 -fpuda flags. Document -mcpu=nps400.
1869 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1870 expected flags to match ARC700 instead of NPS400.
1871 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1872 * testsuite/gas/arc/nps-400-2.d: Likewise.
1873 * testsuite/gas/arc/nps-400-3.d: Likewise.
1874 * testsuite/gas/arc/nps-400-4.d: Likewise.
1875 * testsuite/gas/arc/nps-400-5.d: Likewise.
1876 * testsuite/gas/arc/nps-400-6.d: Likewise.
1877 * testsuite/gas/arc/nps-400-7.d: Likewise.
1878 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1879 avoid clash with cbba instruction.
1880 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1881 * testsuite/gas/arc/textinsn3op.d: Likewise.
1882 * testsuite/gas/arc/textinsn3op.s: Likewise.
1883 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1884 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1885
1886 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1887
1888 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1889 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1890
1891 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1892
1893 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1894 reloc conversion.
1895
1896 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1897
1898 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1899
1900 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1901
1902 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1903 %hmcddfr and %hva_mask_nz.
1904 (sparc_ip): New handling of asr/privileged/hyperprivileged
1905 registers, adapted to the new form of the sparc opcodes table.
1906 * testsuite/gas/sparc/rdasr.s: New file.
1907 * testsuite/gas/sparc/rdasr.d: Likewise.
1908 * testsuite/gas/sparc/wrasr.s: Likewise.
1909 * testsuite/gas/sparc/wrasr.d: Likewise.
1910 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1911 wrasr tests.
1912 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1913 registers require it.
1914 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1915 registers and write instruction modalities.
1916 * testsuite/gas/sparc/wrpr.d: Likewise.
1917 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1918 registers.
1919 * testsuite/gas/sparc/rdhpr.d: Likewise.
1920 * testsuite/gas/sparc/wrhpr.s: Likewise.
1921 * testsuite/gas/sparc/wrhpr.d: Likewise.
1922
1923 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1924
1925 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1926 architectures to use the right opcode architecture.
1927 (sparc_md_end): Handle v9{c,d,e,v,m}.
1928 (sparc_ip): Fix some comments.
1929 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1930 instruction, which is v9d.
1931 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1932 instruction from the test, as %mwait is not readable.
1933 * testsuite/gas/sparc/mwait.d: Likewise.
1934 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1935 mismatch architecture errors.
1936 * testsuite/gas/sparc/mism-2.s: New file.
1937
1938 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1939
1940 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1941 empty string to mark the end of the array.
1942 (hpriv_reg_table): Likewise.
1943 (v9a_asr_table): Likewise.
1944 (cmp_reg_entry): Handle entries with NULL names.
1945 (F_POP_V9): Define.
1946 (F_POP_PCREL): Likewise.
1947 (F_POP_TLS_CALL): Likewise.
1948 (F_POP_POSTFIX): Likewise.
1949 (struct pop_entry): New type.
1950 (pop_table): New variable.
1951 (enum pop_entry_type): New type.
1952 (struct perc_entry): Likewise.
1953 (NUM_PERC_ENTRIES): Define.
1954 (perc_table): New variable.
1955 (cmp_perc_entry): New function.
1956 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1957 perc_table.
1958 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1959 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1960 %-pseudo-ops.
1961
1962 2016-06-15 Nick Clifton <nickc@redhat.com>
1963
1964 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1965 instruction size.
1966 * config/tc-mcore.c (md_assemble): Likewise.
1967 * config/tc-mn10200.c (md_assemble): Likewise.
1968 * config/tc-moxie.c (md_assemble): Likewise.
1969 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1970 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1971 exception targets. Add alpha, hppa, microblaze and rl78 to list
1972 of exceptions.
1973 (forward): Add microblaze to list of exceptions.
1974 (fwdexp): Add alpha to list of exceptions.
1975 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1976 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1977 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1978 mn10200 to list of exceptions.
1979 (align2): Expect to fail for nds32.
1980 (cond): Add alpha and rl78 to list of exceptions.
1981 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1982 * testsuite/gas/all/string.d: Skip for tic4x.
1983 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1984 target does not support ELF.
1985 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1986 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1987 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1988 tests for sh-pe and sh-rtemscoff targets.
1989 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1990 list of exceptions.
1991 (type): Run the noifunc version for alpha-freebsd and visium.
1992 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1993 mn10200 or moxie targets.
1994 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1995 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1996 targets.
1997 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1998 mcore and rx targets.
1999 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
2000 rl78 and vax.
2001 (purge): Expect to fail on the ns32k and vax.
2002 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
2003 * testsuite/gas/nds32/ls.d: Likewise.
2004 * testsuite/gas/nds32/sys-reg.d: Likewise.
2005 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
2006 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
2007 * testsuite/gas/pe/section-align-3.d: Likewise.
2008 * testsuite/gas/pe/section-exclude.d: Likewise.
2009 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
2010 data has been seen.
2011 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
2012 for variations in whitespace.
2013 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
2014 data has been seen.
2015 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
2016 Installs a 32-bit value without generating warnings on 64-bit
2017 hosts.
2018 Use the new macro to replace the .word directives.
2019
2020 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2021
2022 * testsuite/gas/arc/add_s.d: New file.
2023 * testsuite/gas/arc/add_s.s: New file.
2024
2025 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2026
2027 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
2028 * testsuite/gas/arc/nps400-6.d: Likewise.
2029
2030 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2031
2032 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
2033 addf.
2034 * testsuite/gas/arc/nps400-6.d: Likewise.
2035
2036 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2037
2038 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
2039 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
2040 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
2041 * testsuite/gas/arc/nps400-6.d: Likewise.
2042
2043 2016-06-14 Nick Clifton <nickc@redhat.com>
2044
2045 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
2046 signed constant.
2047
2048 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
2049
2050 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
2051 JALR relocations on R6.
2052 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
2053 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
2054 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
2055 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
2056 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
2057 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
2058 test.
2059 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
2060 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
2061 test.
2062 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
2063 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
2064 source.
2065 * testsuite/gas/mips/mips.exp: Run the new tests.
2066
2067 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
2068
2069 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
2070 * doc/c-aarch64.texi: Document that vulcan is a valid processor
2071 name.
2072
2073 2016-06-13 Nick Clifton <nickc@redhat.com>
2074
2075 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
2076 that are not supported.
2077
2078 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
2079 constant.
2080 * config/tc-cr16.c (check_range): Likewise.
2081 * config/tc-nios2.c (nios2_check_overflow): Likewise.
2082
2083 2016-06-08 Renlin Li <renlin.li@arm.com>
2084
2085 * config/tc-aarch64.c (print_operands): Substitute size.
2086 (output_operand_error_record): Likewise.
2087
2088 2016-06-07 Alan Modra <amodra@gmail.com>
2089
2090 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
2091 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
2092 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
2093 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
2094 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
2095 add vle_opcodes twice.
2096 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
2097
2098 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
2099
2100 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
2101 (arm_ext_ras): Renamed from arm_ext_v8_2.
2102 (insns): Update for arm_ext_v8_2 renaming.
2103 (arm_extensions): Add "ras".
2104 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
2105 * testsuite/gas/arm/armv8-a+ras.d: New.
2106 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
2107 options.
2108
2109 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2110
2111 * itbl-parse.y (yyerror): Use modern argument declaration style.
2112
2113 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2114
2115 * config/tc-sh.c (parse_reg): Change type of mode argument to
2116 sh_arg_type.
2117 (get_operand): Adjust.
2118 (insert): Change type of how to bfd_reloc_code_real_type.
2119 (insert4): Likewise.
2120 * config/tc-sh64.c (shmedia_get_operand): Adjust.
2121 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
2122
2123 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2124
2125 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
2126 const char *.
2127
2128 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
2129
2130 PR binutils/20196
2131 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
2132 stbcx., sthcx., stwcx., stdcx.>: Add tests.
2133 * gas/testsuite/gas/ppc/e6500.d: Likewise.
2134 * gas/testsuite/gas/ppc/power8.s: Likewise.
2135 * gas/testsuite/gas/ppc/power8.d: Likewise.
2136 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
2137 stdcx.>: Add tests.
2138 * gas/testsuite/gas/ppc/power4.d: Likewise.
2139
2140 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 PR binutis/18386
2143 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2144 * testsuite/gas/i386/x86-64-branch.d: Updated.
2145 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2146 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2147 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
2148
2149 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2150
2151 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
2152 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
2153
2154 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2155
2156 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
2157 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
2158
2159 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2160
2161 * configure.tgt: Replace -uclibc with *.
2162
2163 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2164
2165 * config/tc-arc.c (parse_opcode_flags): New function.
2166 (find_opcode_match): Move flag parsing code out to new function.
2167 Ignore operands marked IGNORE.
2168 (build_fake_opcode_hash_entry): New function.
2169 (find_special_case_long_opcode): New function.
2170 (find_special_case): Lookup long opcodes.
2171 * testsuite/gas/arc/nps400-7.d: New file.
2172 * testsuite/gas/arc/nps400-7.s: New file.
2173
2174 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2175
2176 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2177
2178 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2179
2180 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2181 sentinal with iteration to array size.
2182
2183 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2184
2185 * config/xtensa-relax.h: Move typedefs of enums to the enums
2186 definition.
2187
2188 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2189
2190 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2191 macro.
2192
2193 2016-06-01 Graham Markall <graham.markall@embecosm.com>
2194
2195 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2196 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2197 * testsuite/gas/arc/nps-400-1.d: Likewise.
2198
2199 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2200
2201 PR gas/20145
2202 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2203 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2204 noavx512ifma and noavx512vbmi.
2205 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2206 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2207 and noavx512vbmi.
2208 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2209 * testsuite/gas/i386/noavx512-1.l: New file.
2210 * testsuite/gas/i386/noavx512-1.s: Likewise.
2211 * testsuite/gas/i386/noavx512-2.l: Likewise.
2212 * testsuite/gas/i386/noavx512-2.s: Likewise.
2213
2214 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2215
2216 PR gas/20145
2217 * config/tc-i386.c (cpu_arch): Add 687.
2218 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2219 nosse4.1, nosse4.2, nosse4 and noavx2.
2220 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2221 register. Check cpuregxmm instead of cpusse for XMM register.
2222 Check cpuregymm instead of cpuavx for YMM register. Check
2223 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
2224 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
2225 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
2226 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
2227 * testsuite/gas/i386/arch-10.d (as): Likewise.
2228 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
2229 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
2230 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
2231 and noavx-4.
2232 * testsuite/gas/i386/no87-3.l: New file.
2233 * testsuite/gas/i386/no87-3.s: Likewise.
2234 * testsuite/gas/i386/noavx-3.l: Likewise.
2235 * testsuite/gas/i386/noavx-3.s: Likewise.
2236 * testsuite/gas/i386/noavx-4.d: Likewise.
2237 * testsuite/gas/i386/noavx-4.s: Likewise.
2238 * testsuite/gas/i386/nosse-4.l: Likewise.
2239 * testsuite/gas/i386/nosse-4.s: Likewise.
2240 * testsuite/gas/i386/nosse-5.d: Likewise.
2241 * testsuite/gas/i386/nosse-5.s: Likewise.
2242
2243 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2244
2245 PR gas/20154
2246 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
2247 cpuintel64.
2248 (match_template): Check Intel64/AMD64 ISA.
2249
2250 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2251
2252 PR gas/20154
2253 * config/tc-i386.c (intel64): New.
2254 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2255 (md_parse_option): Set intel64 instead of cpuamd64 and
2256 cpuintel64.
2257
2258 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2259
2260 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2261 cpuno64.
2262
2263 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2264
2265 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2266 * testsuite/gas/ppc/altivec3.s: Likewise.
2267 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2268 * testsuite/gas/ppc/power9.s: Likewise.
2269
2270 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2271
2272 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2273 * testsuite/gas/i386/noavx-1.l: Likewise.
2274 * testsuite/gas/i386/nommx-1.l: Likewise.
2275 * testsuite/gas/i386/nosse-1.l: Likewise.
2276 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2277 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2278 * testsuite/gas/i386/noavx-1.s: Likewise.
2279 * testsuite/gas/i386/nommx-1.s: Likewise.
2280 * testsuite/gas/i386/nosse-1.s: Likewise.
2281 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2282
2283 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2284
2285 * config/tc-metag.c (metag_handle_align): Make the type of noop
2286 unsigned char.
2287
2288 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2289
2290 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2291 bfd_reloc_code_real_type.
2292
2293 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2294
2295 PR gas/20140
2296 * config/tc-i386.c (cpu_flags_match): Require another match
2297 for AVX512VL.
2298 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2299 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2300 * testsuite/gas/i386/avx512vl-1.l: New file.
2301 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2302 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2303 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2304 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2305 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2306 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2307 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2308
2309 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2310
2311 PR gas/20141
2312 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2313 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2314 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2315
2316 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2317
2318 * config/tc-i386.c (arch_entry): Remove negated.
2319 (noarch_entry): New struct.
2320 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2321 (cpu_noarch): New.
2322 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2323 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2324 cpu_arch.
2325 (output_message): New function.
2326 (show_arch): Use it. Handle cpu_noarch.
2327 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2328 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2329 * testsuite/gas/i386/noavx-1.l: New file.
2330 * testsuite/gas/i386/noavx-1.s: Likewise.
2331 * testsuite/gas/i386/noavx-2.s: Likewise.
2332 * testsuite/gas/i386/noavx-2.l: Likewise.
2333 * testsuite/gas/i386/nommx-1.s: Likewise.
2334 * testsuite/gas/i386/nommx-1.l: Likewise.
2335 * testsuite/gas/i386/nommx-2.s: Likewise.
2336 * testsuite/gas/i386/nommx-2.l: Likewise.
2337 * testsuite/gas/i386/nommx-3.s: Likewise.
2338 * testsuite/gas/i386/nommx-3.l: Likewise.
2339 * testsuite/gas/i386/nosse-1.s: Likewise.
2340 * testsuite/gas/i386/nosse-1.l: Likewise.
2341 * testsuite/gas/i386/nosse-2.s: Likewise.
2342 * testsuite/gas/i386/nosse-2.l: Likewise.
2343 * testsuite/gas/i386/nosse-3.s: Likewise.
2344 * testsuite/gas/i386/nosse-3.l: Likewise.
2345
2346 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2347
2348 PR target/20067
2349 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2350 instruction if supported by the currently selected fpu variant.
2351 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2352 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2353
2354 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2355
2356 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2357 jump relocations against MIPS16 or microMIPS symbols on RELA
2358 targets.
2359 * testsuite/gas/mips/jalx-local.d: New test.
2360 * testsuite/gas/mips/jalx-local-n32.d: New test.
2361 * testsuite/gas/mips/jalx-local-n64.d: New test.
2362 * testsuite/gas/mips/jalx-local.s: New test source.
2363 * testsuite/gas/mips/mips.exp: Run the new tests.
2364
2365 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2366
2367 * config/tc-mips.c (md_apply_fix)
2368 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2369 code accordingly.
2370
2371 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2372
2373 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2374 operator to operatorT.
2375 (map_suffix_reloc_to_operator): Change return type to operatorT.
2376
2377 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2378
2379 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2380
2381 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2382
2383 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2384 handler_charp to const char *.
2385
2386 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2387
2388 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2389 (ft32_target_format): Likewise.
2390 (TARGET_FORMAT): Adjust.
2391
2392 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2393
2394 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2395 (ia64_frob_label): Likewise.
2396
2397 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2398
2399 * config/tc-cr16.c (check_range): Make type of retval op_err.
2400 * config/tc-crx.c: Likewise.
2401
2402 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2403
2404 * config/tc-arc.c (md_begin): Add XY registers.
2405 (cpu_types): Code density is default off for ARC EM.
2406
2407 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2408
2409 * config/tc-arc.c (attributes_t): Renamed attribute class to
2410 attr_class.
2411 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2412
2413 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2414
2415 * configuse.tgt: Add entry for arm-phoenix.
2416
2417 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2418
2419 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2420
2421 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2422
2423 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2424
2425 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2426
2427 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2428 (md_begin): Likewise.
2429 (encode_condition): Likewise.
2430 (encode_cc3): Likewise.
2431 (encode_cc2): Likewise.
2432 (encode_operand): Likewise.
2433 (tic54x_undefined_symbol): Likewise.
2434
2435 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2436
2437 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2438 p6600 entry.
2439 * doc/c-mips.texi: Document p6600 -march option.
2440
2441 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2442
2443 PR gas/19600
2444 * config/tc-i386.c (md_apply_fix): Preserve addend for
2445 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2446 * testsuite/gas/i386/addend.d: New file.
2447 * testsuite/gas/i386/addend.s: Likewise.
2448 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2449 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2450 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2451 * testsuite/gas/i386/reloc32.d: Updated.
2452
2453 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2454
2455 * config/tc-mips.c (append_insn): Correct the encoding of a
2456 constant argument for microMIPS JALX.
2457 (tc_gen_reloc): Correct the encoding of an in-place addend for
2458 microMIPS JALX.
2459 * testsuite/gas/mips/jalx-addend.d: New test.
2460 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2461 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2462 * testsuite/gas/mips/jalx-imm.d: New test.
2463 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2464 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2465 * testsuite/gas/mips/jalx-addend.s: New test source.
2466 * testsuite/gas/mips/jalx-imm.s: New test source.
2467 * testsuite/gas/mips/mips.exp: Run the new tests.
2468
2469 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2470
2471 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2472 throughout.
2473
2474 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2475
2476 * config/tc-arc.c (find_opcode_match): Remove casting away of
2477 const.
2478 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2479
2480 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2481
2482 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2483 appropriate.
2484 (md_convert_frag): Likewise.
2485
2486 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2487
2488 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2489 cached opcode to NULL when we reach a non-matching opcode.
2490 * testsuite/gas/arc/asm-errors-2.d: New file.
2491 * testsuite/gas/arc/asm-errors-2.err: New file.
2492 * testsuite/gas/arc/asm-errors-2.s: New file.
2493
2494 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2495
2496 * config/tc-arc.c (tokenize_arguments): Add checks for array
2497 overflow.
2498 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2499 * testsuite/gas/arc/asm-errors.err: Update expected results.
2500
2501 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2502
2503 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2504 int to enum rx_cpu_types.
2505
2506 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2507
2508 * config/tc-dlx.c (struct machine_it): change the type of a field from
2509 int to bfd_reloc_code_real_type.
2510 * config/tc-tic4x.c: Likewise.
2511
2512 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2513
2514 * config/tc-v850.c (v850_target_arch): change type to enum
2515 bfd_architecture.
2516 * config/tc-v850.h (v850_target_arch): Likewise.
2517
2518 2016-05-18 Alan Modra <amodra@gmail.com>
2519
2520 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2521 allowed negative range.
2522 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2523 * testsuite/gas/ppc/power9.d: Update.
2524
2525 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2526
2527 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2528 disassembling and stop skipping targets.
2529 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2530 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2531 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2532 instruction for targets that have stronger alignment requirement.
2533 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2534 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2535 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2536 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2537 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2538 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2539 * testsuite/gas/arm/archv8m-main.d: Likewise.
2540 * testsuite/gas/arm/archv8m.s: Add label.
2541 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2542 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2543 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2544
2545 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2546
2547 * config/tc-m32r.c (mach_table): Make static and const.
2548
2549 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2550
2551 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2552 definition.
2553
2554 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2555
2556 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2557 defining it.
2558 * config/tc-msp430.c (md_begin): Likewise.
2559
2560 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2561
2562 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2563 bfd_reloc_code_real_type where appropriate.
2564 (fixup16): Likewise.
2565 (fixup8_xg): Likewise.
2566
2567 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2568
2569 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2570
2571 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2572
2573 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2574 * testsuite/gas/ppc/power9.s: Likewise.
2575
2576 2016-05-13 Alan Modra <amodra@gmail.com>
2577
2578 * config/obj-coff.c (weak_uniquify): Delete unused var.
2579
2580 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2581
2582 * app.c (app_push): Use XNEW and related macros.
2583 * as.c (parse_args): Likewise.
2584 * cgen.c (make_right_shifted_expr): Likewise.
2585 (gas_cgen_tc_gen_reloc): Likewise.
2586 * config/bfin-defs.h: Likewise.
2587 * config/bfin-parse.y: Likewise.
2588 * config/obj-coff.c (stack_init): Likewise.
2589 (stack_push): Likewise.
2590 (coff_obj_symbol_new_hook): Likewise.
2591 (coff_obj_symbol_clone_hook): Likewise.
2592 (add_lineno): Likewise.
2593 (coff_frob_symbol): Likewise.
2594 * config/obj-elf.c (obj_elf_section_name): Likewise.
2595 (build_group_lists): Likewise.
2596 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2597 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2598 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2599 (find_or_make_literal_pool): Likewise.
2600 (add_to_lit_pool): Likewise.
2601 (fill_instruction_hash_table): Likewise.
2602 * config/tc-alpha.c (load_expression): Likewise.
2603 (emit_jsrjmp): Likewise.
2604 (s_alpha_ent): Likewise.
2605 (s_alpha_end): Likewise.
2606 (s_alpha_linkage): Likewise.
2607 (md_begin): Likewise.
2608 (tc_gen_reloc): Likewise.
2609 * config/tc-arc.c (arc_insert_opcode): Likewise.
2610 (arc_extcorereg): Likewise.
2611 * config/tc-bfin.c: Likewise.
2612 * config/tc-cr16.c: Likewise.
2613 * config/tc-cris.c: Likewise.
2614 * config/tc-crx.c (preprocess_reglist): Likewise.
2615 * config/tc-d10v.c: Likewise.
2616 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2617 (frv_tomcat_shuffle): Likewise.
2618 * config/tc-h8300.c: Likewise.
2619 * config/tc-i370.c (i370_macro): Likewise.
2620 * config/tc-i386.c (lex_got): Likewise.
2621 (md_parse_option): Likewise.
2622 * config/tc-ia64.c (alloc_record): Likewise.
2623 (set_imask): Likewise.
2624 (save_prologue_count): Likewise.
2625 (dot_proc): Likewise.
2626 (dot_endp): Likewise.
2627 (ia64_frob_label): Likewise.
2628 (add_qp_imply): Likewise.
2629 (add_qp_mutex): Likewise.
2630 (mark_resource): Likewise.
2631 (dot_alias): Likewise.
2632 * config/tc-m68hc11.c: Likewise.
2633 * config/tc-m68k.c (m68k_frob_label): Likewise.
2634 (s_save): Likewise.
2635 (mri_control_label): Likewise.
2636 (push_mri_control): Likewise.
2637 (build_mri_control_operand): Likewise.
2638 (s_mri_else): Likewise.
2639 (s_mri_break): Likewise.
2640 (s_mri_next): Likewise.
2641 (s_mri_for): Likewise.
2642 (s_mri_endw): Likewise.
2643 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2644 * config/tc-microblaze.c: Likewise.
2645 * config/tc-mmix.c (s_loc): Likewise.
2646 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2647 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2648 * config/tc-rl78.c: Likewise.
2649 * config/tc-rx.c (rx_include): Likewise.
2650 * config/tc-sh.c: Likewise.
2651 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2652 * config/tc-sparc.c: Likewise.
2653 * config/tc-spu.c: Likewise.
2654 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2655 (tic6x_start_unwind_section): Likewise.
2656 * config/tc-tilegx.c: Likewise.
2657 * config/tc-tilepro.c: Likewise.
2658 * config/tc-v850.c: Likewise.
2659 * config/tc-visium.c: Likewise.
2660 * config/tc-xgate.c: Likewise.
2661 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2662 (new_resource_table): Likewise.
2663 (resize_resource_table): Likewise.
2664 (xtensa_create_trampoline_frag): Likewise.
2665 (xtensa_maybe_create_literal_pool_frag): Likewise.
2666 (cache_literal_section): Likewise.
2667 * config/xtensa-relax.c (append_transition): Likewise.
2668 (append_condition): Likewise.
2669 (append_value_condition): Likewise.
2670 (append_constant_value_condition): Likewise.
2671 (append_literal_op): Likewise.
2672 (append_label_op): Likewise.
2673 (append_constant_op): Likewise.
2674 (append_field_op): Likewise.
2675 (append_user_fn_field_op): Likewise.
2676 (enter_opname_n): Likewise.
2677 (enter_opname): Likewise.
2678 (split_string): Likewise.
2679 (parse_insn_templ): Likewise.
2680 (clone_req_or_option_list): Likewise.
2681 (clone_req_option_list): Likewise.
2682 (parse_option_cond): Likewise.
2683 (parse_insn_pattern): Likewise.
2684 (parse_insn_repl): Likewise.
2685 (build_transition): Likewise.
2686 (build_transition_table): Likewise.
2687 * dw2gencfi.c (alloc_fde_entry): Likewise.
2688 (alloc_cfi_insn_data): Likewise.
2689 (cfi_add_CFA_remember_state): Likewise.
2690 (dot_cfi_escape): Likewise.
2691 (dot_cfi_fde_data): Likewise.
2692 (select_cie_for_fde): Likewise.
2693 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2694 * ecoff.c (ecoff_add_bytes): Likewise.
2695 (ecoff_build_debug): Likewise.
2696 * input-scrub.c (input_scrub_push): Likewise.
2697 (input_scrub_begin): Likewise.
2698 (input_scrub_next_buffer): Likewise.
2699 * itbl-ops.c (append_insns_as_macros): Likewise.
2700 (alloc_entry): Likewise.
2701 (alloc_field): Likewise.
2702 * listing.c (listing_newline): Likewise.
2703 (listing_listing): Likewise.
2704 * macro.c (get_any_string): Likewise.
2705 (delete_macro): Likewise.
2706 * stabs.c (generate_asm_file): Likewise.
2707 (stabs_generate_asm_lineno): Likewise.
2708 * subsegs.c (subseg_change): Likewise.
2709 (subseg_get): Likewise.
2710 * symbols.c (define_dollar_label): Likewise.
2711 (symbol_relc_make_sym): Likewise.
2712 * write.c (write_relocs): Likewise.
2713
2714 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2715
2716 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2717 (weak_name2altname): Likewise.
2718 (weak_uniquify): Likewise.
2719 (obj_coff_section): Likewise.
2720 (obj_coff_init_stab_section): Likewise.
2721 * config/obj-elf.c (obj_elf_section_name): Likewise.
2722 (obj_elf_init_stab_section): Likewise.
2723 * config/obj-evax.c (evax_shorten_name): Likewise.
2724 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2725 * config/tc-aarch64.c (create_register_alias): Likewise.
2726 * config/tc-alpha.c (load_expression): Likewise.
2727 (s_alpha_file): Likewise.
2728 (s_alpha_section_name): Likewise.
2729 (tc_gen_reloc): Likewise.
2730 * config/tc-arc.c (md_assemble): Likewise.
2731 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2732 (start_unwind_section): Likewise.
2733 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2734 (hppa_elf_mark_end_of_function): Likewise.
2735 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2736 (nios2_negate_arg): Likewise.
2737 * config/tc-rx.c (rx_section): Likewise.
2738 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2739 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2740 * config/tc-tic54x.c (tic54x_include): Likewise.
2741 (tic54x_macro_info): Likewise.
2742 (subsym_get_arg): Likewise.
2743 (subsym_substitute): Likewise.
2744 (tic54x_start_line_hook): Likewise.
2745 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2746 (xg_reverse_shift_count): Likewise.
2747 * config/xtensa-relax.c (enter_opname_n): Likewise.
2748 (split_string): Likewise.
2749 * dwarf2dbg.c (get_filenum): Likewise.
2750 (process_entries): Likewise.
2751 * expr.c (operand): Likewise.
2752 * itbl-ops.c (alloc_entry): Likewise.
2753 * listing.c (listing_message): Likewise.
2754 (listing_title): Likewise.
2755 * macro.c (check_macro): Likewise.
2756 * stabs.c (s_xstab): Likewise.
2757 * symbols.c (symbol_relc_make_expr): Likewise.
2758 * write.c (compress_debug): Likewise.
2759
2760 2016-05-12 Nick Clifton <nickc@redhat.com>
2761
2762 PR target/20068
2763 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2764
2765 2016-05-11 Nick Clifton <nickc@redhat.com>
2766
2767 PR target/20068
2768 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2769 big endian ARM configurations.
2770
2771 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2772 Matthew Fortune <matthew.fortune@imgtec.com>
2773
2774 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2775 OPTION_NO_DSPR3.
2776 (md_longopts): Likewise.
2777 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2778 (mips_ases): Define availability for DSPr3.
2779 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2780 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2781 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2782 formatting.
2783 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2784 .set nodspr3. Fix -mdspr2 formatting.
2785 * testsuite/gas/mips/mips32-dspr3.d: New file.
2786 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2787 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2788
2789 2016-05-11 Nick Clifton <nickc@redhat.com>
2790
2791 PR target/20068
2792 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2793 to the pool uses O_constant.
2794 * testsuite/gas/arm/pr20068.s: New test.
2795 * testsuite/gas/arm/pr20068.d: Test driver.
2796
2797 2016-05-11 Nick Clifton <nickc@redhat.com>
2798
2799 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2800 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2801 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2802 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2803 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2804 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2805 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2806 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2807 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2808
2809 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2810
2811 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2812 * testsuite/gas/i386/prefix.d: Adjust.
2813 * testsuite/gas/i386/rdpid.s: New test.
2814 * testsuite/gas/i386/rdpid.d: Ditto.
2815 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2816 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2817 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2818 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2819
2820 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2821
2822 * config/tc-i386.c (cpu_arch): Add RDPID.
2823 * doc/c-i386.texi: Document RDPID.
2824
2825 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2826
2827 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2828 set branch type of a symbol.
2829
2830 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2831
2832 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2833 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2834 instructions.
2835 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2836 (aeabi_set_public_attributes): Memorize the feature bits of the
2837 architecture selected for Tag_CPU_arch. Use it to set
2838 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2839 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2840 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2841 * testsuite/gas/arm/arch7em-bad-1.d: This.
2842 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2843 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2844 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2845 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2846 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2847 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2848 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2849 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2850
2851 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2852
2853 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2854 allowed_archs an array with 2 entries.
2855 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2856 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2857 (arm_extensions): Use separate entries in allowed_archs when several
2858 archs are allowed to use an extension and change ARCH_ANY in
2859 ARM_ARCH_NONE in allowed_archs.
2860 (arm_parse_extension): Check that, for each allowed_archs entry, all
2861 bits are set in the current architecture, ignoring ARM_ANY entries.
2862 (s_arm_arch_extension): Likewise.
2863
2864 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2865
2866 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2867 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2868 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2869 shared with a non M profile architecture.
2870 (do_rn): New function.
2871 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2872 than arm_ext_v8m.
2873 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2874 (insns): Add ARMv8-M Security Extensions instructions.
2875 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2876 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2877 * testsuite/gas/arm/archv8m-cmse.s: New file.
2878 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2879 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2880 * testsuite/gas/arm/any-cmse.d: Likewise.
2881 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2882 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2883 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2884 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2885 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2886 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2887
2888 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2889
2890 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2891 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2892
2893 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2894
2895 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2896 (fpu_arch_vfp_v3): Likewise.
2897 (fpu_arch_neon_v1): Likewise.
2898 (arm_arch_full): Likewise.
2899 (parse_neon_el_struct_list): Initialize fields of firsttype.
2900
2901 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2902
2903 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2904 (arc_extinsn): Handle new introduced syntax.
2905 * testsuite/gas/arc/textinsn1op.d: New file.
2906 * testsuite/gas/arc/textinsn1op.s: Likewise.
2907 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2908
2909 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2910
2911 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2912 DW_LNS_fixed_advance_pc.
2913
2914 2016-04-27 Alan Modra <amodra@gmail.com>
2915
2916 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2917 (xmemdup0): New inline function.
2918
2919 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2920
2921 * config/tc-mips.c (code_option_type): New enum.
2922 (parse_code_option): Return status indicating option type.
2923 (s_mipsset): Update `parse_code_option' call site accordingly.
2924 Always set register sizes from the ISA with ISA overrides.
2925 (s_module): Update `parse_code_option' call site.
2926 * testsuite/gas/mips/isa-override-1.d: New test.
2927 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2928 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2929 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2930 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2931 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2932 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2933 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2934 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2935 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2936 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2937 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2938 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2939 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2940 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2941 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2942 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2943 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2944 * testsuite/gas/mips/isa-override-2.l: New list test.
2945 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2946 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2947 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2948 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2949 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2950 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2951 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2952 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2953 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2954 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2955 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2956 output.
2957 * testsuite/gas/mips/isa-override-1.s: New test source.
2958 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2959 * testsuite/gas/mips/isa-override-2.s: New test source.
2960 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2961 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2962 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2963 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2964 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2965 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2966 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2967 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2968 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2969 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2970 * testsuite/gas/mips/mips.exp: Run the new tests.
2971
2972 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2973
2974 * cgen.c: Likewise.
2975 * config/tc-bfin.c: Likewise.
2976 * config/tc-ia64.c: Likewise.
2977 * config/tc-mep.c: Likewise.
2978 * config/tc-metag.c: Likewise.
2979 * config/tc-nios2.c: Likewise.
2980 * config/tc-rl78.c: Likewise.
2981
2982 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2983
2984 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2985 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2986 (ARC Directives): Add NPS400 to .cpu directive list.
2987
2988 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2989
2990 * config/tc-aarch64.c (aarch64_features): Add "ras".
2991 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2992 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2993 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2994 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2995 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2996
2997 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2998
2999 * testsuite/gas/arc/nps400-6.d: New file.
3000 * testsuite/gas/arc/nps400-6.s: New file.
3001
3002 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3003
3004 * testsuite/gas/arc/nps400-4.d: New file.
3005 * testsuite/gas/arc/nps400-4.s: New file.
3006 * testsuite/gas/arc/nps400-5.d: New file.
3007 * testsuite/gas/arc/nps400-5.s: New file.
3008
3009 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
3010
3011 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
3012 documentation.
3013
3014 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
3015
3016 Revert prevous change.
3017 * config/tc-arc.c (arc_option): Make .cpu directive
3018 case-sensitive again.
3019
3020 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3021
3022 * config/tc-arc.c (arc_option): Make .cpu directive
3023 case-insensitive.
3024
3025 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3026
3027 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
3028
3029 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3030
3031 * config/tc-mips.c (md_begin): Remove useless assignment.
3032
3033 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3034
3035 * Makefile.in: Regenerated with automake 1.11.6.
3036 * aclocal.m4: Likewise.
3037 * doc/Makefile.in: Likewise.
3038
3039 2016-04-15 Alan Modra <amodra@gmail.com>
3040
3041 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
3042
3043 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3044
3045 * config/tc-nios2.c (nios2_as_options): Make file static.
3046 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
3047 * config/tc-sparc.c (native_op_table): Likewise.
3048
3049 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3050
3051 * config/tc-m32c.c (M32C_Macros): Remove.
3052 * config/tc-msp430.c (option_numbers): Likewise.
3053
3054 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3055
3056 * testsuite/gas/arc/nps400-3.d: New file.
3057 * testsuite/gas/arc/nps400-3.s: New file.
3058
3059 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3060
3061 * testsuite/gas/arc/add_s-err.s: Update target pattern.
3062 * testsuite/gas/arc/warn.s: Likewise.
3063 * testsuite/gas/elf/elf.exp: Run test for arc.
3064
3065 2016-04-14 Nick Clifton <nickc@redhat.com>
3066
3067 PR target/19938
3068 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
3069 sections possibly having the SHF_STRINGS flag bit set.
3070 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
3071
3072 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3073
3074 * config/tc-arc.c (mach_type_specified_p): Change type to
3075 bfd_boolean.
3076 (arc_option): Set private flags when parsing cpu pseudo-op.
3077 (md_parse_option): Set mach_type_specified_p to TRUE.
3078
3079 2016-04-13 Nick Clifton <nickc@redhat.com>
3080
3081 PR target/19937
3082 * testsuite/gas/v850/pr19937.s: New test.
3083 * testsuite/gas/v850/pr19937.d: New test control file.
3084 * testsuite/gas/v850/basic.exp: Run the new test.
3085
3086 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3087 Andrew Bennett <andrew.bennett@imgtec.com>
3088
3089 * config/tc-mips.c (relaxed_branch_length): Use the long
3090 sequence where the target is a weak symbol.
3091 (relaxed_micromips_32bit_branch_length): Likewise.
3092 (relaxed_micromips_16bit_branch_length): Likewise.
3093 * testsuite/gas/mips/branch-weak-1.d: New test.
3094 * testsuite/gas/mips/branch-weak-2.d: New test.
3095 * testsuite/gas/mips/branch-weak-3.d: New test.
3096 * testsuite/gas/mips/branch-weak-4.d: New test.
3097 * testsuite/gas/mips/branch-weak-5.d: New test.
3098 * testsuite/gas/mips/branch-weak.l: New stderr output.
3099 * testsuite/gas/mips/branch-weak.s: New test source.
3100 * testsuite/gas/mips/mips.exp: Run the new tests.
3101
3102 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3103
3104 * config/tc-mips.c (relaxed_branch_length): Use the long
3105 sequence where the distance cannot be determined.
3106 (relaxed_micromips_32bit_branch_length): Likewise.
3107 * testsuite/gas/mips/branch-extern-1.d: New test.
3108 * testsuite/gas/mips/branch-extern-2.d: New test.
3109 * testsuite/gas/mips/branch-extern-3.d: New test.
3110 * testsuite/gas/mips/branch-extern-4.d: New test.
3111 * testsuite/gas/mips/branch-extern.l: New stderr output.
3112 * testsuite/gas/mips/branch-extern.s: New test source.
3113 * testsuite/gas/mips/branch-section-1.d: New test.
3114 * testsuite/gas/mips/branch-section-2.d: New test.
3115 * testsuite/gas/mips/branch-section-3.d: New test.
3116 * testsuite/gas/mips/branch-section-4.d: New test.
3117 * testsuite/gas/mips/branch-section.l: New stderr output.
3118 * testsuite/gas/mips/branch-section.s: New test source.
3119 * testsuite/gas/mips/mips.exp: Run the new tests.
3120
3121 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3122
3123 * testsuite/gas/arc/textauxregister.d: New file.
3124 * testsuite/gas/arc/textauxregister.s: Likewise.
3125 * testsuite/gas/arc/textcondcode.d: Likewise.
3126 * testsuite/gas/arc/textcondcode.s: Likewise.
3127 * testsuite/gas/arc/textcoreregister.d: Likewise.
3128 * testsuite/gas/arc/textcoreregister.s: Likewise.
3129 * testsuite/gas/arc/textpseudoop.d: Likewise.
3130 * testsuite/gas/arc/textpseudoop.s: Likewise.
3131 * testsuite/gas/arc/ld2.d: Update test.
3132 * testsuite/gas/arc/st.d: Likewise.
3133 * testsuite/gas/arc/taux.d: Likewise.
3134 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
3135 .extCoreRegister and .extAuxRegister documentation.
3136 * config/tc-arc.c (arc_extcorereg): New function.
3137 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
3138 .extAuxRegister pseudo-ops.
3139 (extRegister_t): New type.
3140 (ext_condcode, arc_aux_hash): New global variable.
3141 (find_opcode_match): Check for extensions.
3142 (preprocess_operands): Likewise.
3143 (md_begin): Add aux registers in a hash.
3144 (assemble_insn): Update use arc_flags member.
3145 (tokenize_extregister): New function.
3146 (create_extcore_section): Likewise.
3147 * config/tc-arc.h (arc_flags): Delete code, add flgp.
3148
3149 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3150
3151 * testsuite/gas/arc/noargs_a7.d: New file.
3152 * testsuite/gas/arc/noargs_a7.s: Likewise.
3153 * testsuite/gas/arc/noargs_hs.d: Likewise.
3154 * testsuite/gas/arc/noargs_hs.s: Likewise.
3155
3156 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3157
3158 * testsuite/gas/arc/textinsn-errors.d: New File.
3159 * testsuite/gas/arc/textinsn-errors.err: Likewise.
3160 * testsuite/gas/arc/textinsn-errors.s: Likewise.
3161 * testsuite/gas/arc/textinsn2op.d: Likewise.
3162 * testsuite/gas/arc/textinsn2op.s: Likewise.
3163 * testsuite/gas/arc/textinsn2op01.d: Likewise.
3164 * testsuite/gas/arc/textinsn2op01.s: Likewise.
3165 * testsuite/gas/arc/textinsn3op.d: Likewise.
3166 * testsuite/gas/arc/textinsn3op.s: Likewise.
3167 * doc/c-arc.texi (ARC Directives): Add .extInstruction
3168 documentation.
3169 * config/tc-arc.c (arcext_section): New variable.
3170 (arc_extinsn): New function.
3171 (md_pseudo_table): Add .extInstruction pseudo op.
3172 (attributes_t): New type.
3173 (suffixclass, syntaxclass, syntaxclassmod): New constant
3174 structures.
3175 (find_opcode_match): Remove arc_num_opcodes.
3176 (md_begin): Likewise.
3177 (tokenize_extinsn): New function.
3178 (arc_set_ext_seg): Likewise.
3179 (create_extinst_section): Likewise.
3180
3181 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3182
3183 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3184 (arc_adjust_symtab): New function.
3185 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3186 (obj_adjust_symtab): Likewise.
3187 * testsuite/gas/arc/taux.d: New file.
3188 * testsuite/gas/arc/taux.s: Likewise.
3189
3190 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3191
3192 * config/tc-mips.c (s_option): Sanitize `.option picX'
3193 pseudo-op.
3194 * testsuite/gas/mips/option-pic-1.d: New test.
3195 * testsuite/gas/mips/option-pic-2.l: New list test.
3196 * testsuite/gas/mips/option-pic-1.s: New test source.
3197 * testsuite/gas/mips/option-pic-2.s: New test source.
3198 * testsuite/gas/mips/mips.exp: Run the new tests.
3199
3200 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3201
3202 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3203 PIC.
3204 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3205 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3206 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3207 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3208 * testsuite/gas/mips/mips.exp: Run the new tests.
3209
3210 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3211
3212 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3213
3214 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3215
3216 * messages.c (as_bad): Fix a typo in description.
3217
3218 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3219
3220 * config/tc-mips.c (mips_check_options): Unify messages.
3221
3222 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3223
3224 * config/tc-mips.c (mips_check_options): Use `opts->isa'
3225 consistently.
3226
3227 2016-04-08 Nick Clifton <nickc@redhat.com>
3228
3229 PR target/19910
3230 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
3231 COFF and AOUT sparc targets.
3232
3233 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3234
3235 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
3236 * testsuite/gas/arc/nps400-2.d: New file.
3237 * testsuite/gas/arc/nps400-2.s: New file.
3238
3239 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3240
3241 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
3242 structure.
3243 (arc_opcode_hash_entry_iterator_init): New function.
3244 (arc_opcode_hash_entry_iterator_next): New function.
3245 (find_opcode_match): Iterate over all arc_opcode entries
3246 referenced by the arc_opcode_hash_entry passed in as a parameter.
3247
3248 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3249
3250 * config/tc-arc.c (arc_find_opcode): Now returns
3251 arc_opcode_hash_entry pointer.
3252 (find_opcode_match): Update argument type, extract arc_opcode from
3253 incoming arc_opcode_hash_entry.
3254 (find_special_case_pseudo): Update return type.
3255 (find_special_case_flag): Update return type.
3256 (find_special_case): Update return type.
3257 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3258 instruction mnemonic, then use find_opcode_match to identify
3259 specific arc_opcode.
3260
3261 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3262
3263 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3264 (arc_find_opcode): New function.
3265 (find_special_case_pseudo): Use arc_find_opcode.
3266 (find_special_case_flag): Likewise.
3267 (assemble_tokens): Likewise.
3268 (md_begin): Build hash using struct arc_opcode_hash_entry.
3269
3270 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3271
3272 * config/tc-arc.c (arc_option): Prepare string for automatic
3273 translation.
3274 (declare_register): Likewise.
3275
3276 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3277
3278 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3279 Correct entry for RDMA. Alpha sort entries.
3280
3281 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3282
3283 * config/tc-arc.c (tokenize_flags): Allow greater range of
3284 characters into flag names.
3285
3286 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3287
3288 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3289 new de_fault label.
3290 (preprocess_operands): Delete.
3291 (assemble_tokens): Remove call to preprocess_operands.
3292
3293 2016-04-07 Nick Clifton <nickc@redhat.com>
3294
3295 PR gas/19910
3296 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3297 inside a %-macro could not be fully parsed.
3298 * expr.c (integer_constant): Accept and ignore U suffixes to
3299 integers.
3300 (operand): When a missing closing parenthesis is encountered,
3301 report the character that was found instead.
3302 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3303 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3304 * testsuite/gas/sparc/pr19910-1.s: New test.
3305 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3306 * testsuite/gas/sparc/pr19910-2.s: New test.
3307 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3308
3309 2016-04-06 Nick Clifton <nickc@redhat.com>
3310
3311 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3312 an EINT instruction. Warn/fix as necessary.
3313 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3314 * testsuite/gas/msp430/bad.l: Update expected messages.
3315
3316 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3317
3318 * testsuite/gas/arc/nps400-1.d: Update expected results.
3319 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3320
3321 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3322
3323 * config/tc-arc.c (is_code_density_p): Compare directly the
3324 subclass field.
3325 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3326 (check_cpu_feature): New function.
3327 (find_opcode_match): Use check_cpu_feature function.
3328 (preprocess_operands): Likewise.
3329 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3330 * testsuite/gas/arc/tdpfp.d: New file.
3331 * testsuite/gas/arc/tfpuda.d: Likewise.
3332 * testsuite/gas/arc/tfpx.s: Likewise.
3333
3334 2016-04-05 Jiong Wang <jiong.wang@arm.com>
3335
3336 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3337 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3338 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3339 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3340 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3341 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3342 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
3343 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3344 for Thumb.
3345 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3346
3347 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3348
3349 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
3350 JUMP instructions type.
3351 * testsuite/gas/arc/relocs-errors.d: New file.
3352 * testsuite/gas/arc/relocs-errors.err: Likewise.
3353 * testsuite/gas/arc/relocs-errors.s: Likewise.
3354
3355 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 PR gas/19909
3358 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3359 only if i.disp_encoding != disp_encoding_32bit.
3360 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3361 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3362 * gas/testsuite/gas/i386/disp32.d: Updated.
3363 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3364
3365 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 PR gas/19498
3368 * testsuite/gas/i386/i386.exp: Run pr19498.
3369 * testsuite/gas/i386/pr19498.d: New file.
3370 * testsuite/gas/i386/pr19498.s: Likewise.
3371
3372 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3373
3374 * config/tc-arc.h: Include 'opcode/arc.h'.
3375 (MAX_INSN_ARGS): Delete.
3376 (MAX_INSN_FLGS): Delete.
3377
3378 2016-04-04 Alan Modra <amodra@gmail.com>
3379
3380 PR 19498
3381 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3382 from function on all paths that set sy_resolving.
3383
3384 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3385
3386 * app.c (app_push): use XNEW macro.
3387 * as.c: Likewise.
3388 * config/obj-elf.c (obj_elf_change_section): Likewise.
3389 (elf_copy_symbol_attributes): Likewise.
3390 (obj_elf_size): Likewise.
3391 (build_group_lists): Likewise.
3392 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3393 (md_assemble): Likewise.
3394 (tc_gen_reloc): Likewise.
3395 (get_upper_str): Likewise.
3396 (aarch64_parse_features): Likewise.
3397 * config/tc-arm.c (insert_reg_alias): Likewise.
3398 (insert_neon_reg_alias): Likewise.
3399 (find_or_make_literal_pool): Likewise.
3400 (s_arm_elf_cons): Likewise.
3401 (add_unwind_opcode): Likewise.
3402 (arm_parse_extension): Likewise.
3403 * config/tc-avr.c (create_record_for_frag): Likewise.
3404 * config/tc-crx.c: Likewise.
3405 * config/tc-d30v.c: Likewise.
3406 * config/tc-dlx.c (s_proc): Likewise.
3407 * config/tc-ft32.c: Likewise.
3408 * config/tc-h8300.c: Likewise.
3409 * config/tc-hppa.c (pa_proc): Likewise.
3410 (create_new_space): Likewise.
3411 (create_new_subspace): Likewise.
3412 * config/tc-i860.c: Likewise.
3413 * config/tc-i960.c: Likewise.
3414 * config/tc-ia64.c: Likewise.
3415 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3416 (iq2000_record_hi16): Likewise.
3417 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3418 * config/tc-m32r.c (debug_sym): Likewise.
3419 (m32r_record_hi16): Likewise.
3420 * config/tc-m68k.c (m68k_ip): Likewise.
3421 (md_begin): Likewise.
3422 * config/tc-mcore.c: Likewise.
3423 * config/tc-microblaze.c (check_got): Likewise.
3424 * config/tc-mips.c (append_insn): Likewise.
3425 (s_mipsset): Likewise.
3426 (mips_record_label): Likewise.
3427 (s_mips_end): Likewise.
3428 * config/tc-mmix.c (mmix_frob_file): Likewise.
3429 * config/tc-mn10200.c: Likewise.
3430 * config/tc-mn10300.c: Likewise.
3431 * config/tc-moxie.c: Likewise.
3432 * config/tc-msp430.c: Likewise.
3433 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3434 * config/tc-ns32k.c: Likewise.
3435 * config/tc-or1k.c: Likewise.
3436 * config/tc-pdp11.c: Likewise.
3437 * config/tc-pj.c (fake_opcode): Likewise.
3438 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3439 (ppc_macro): Likewise.
3440 (ppc_dwsect): Likewise.
3441 (ppc_machine): Likewise.
3442 * config/tc-rl78.c (rl78_frag_init): Likewise.
3443 * config/tc-rx.c (rx_frag_init): Likewise.
3444 * config/tc-s390.c (s390_lit_suffix): Likewise.
3445 (s390_machine): Likewise.
3446 (s390_machinemode): Likewise.
3447 * config/tc-score.c (s3_insert_reg): Likewise.
3448 (s3_gen_reloc): Likewise.
3449 * config/tc-score7.c (s7_insert_reg): Likewise.
3450 (s7_gen_reloc): Likewise.
3451 * config/tc-tic30.c (tic30_operand): Likewise.
3452 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3453 * config/tc-tic54x.c (stag_add_field): Likewise.
3454 (tic54x_struct): Likewise.
3455 (tic54x_space): Likewise.
3456 (tic54x_field): Likewise.
3457 (tic54x_mlib): Likewise.
3458 (subsym_substitute): Likewise.
3459 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3460 * config/tc-vax.c: Likewise.
3461 * config/tc-xc16x.c: Likewise.
3462 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3463 (directive_push): Likewise.
3464 (xtensa_begin_directive): Likewise.
3465 (tokenize_arguments): Likewise.
3466 (xtensa_add_literal_sym): Likewise.
3467 (new_resource_table): Likewise.
3468 (resize_resource_table): Likewise.
3469 (emit_single_op): Likewise.
3470 (xtensa_create_trampoline_frag): Likewise.
3471 (xtensa_maybe_create_literal_pool_frag): Likewise.
3472 (xtensa_add_config_info): Likewise.
3473 (xtensa_realloc_fixup_cache): Likewise.
3474 (add_subseg_info): Likewise.
3475 (cache_literal_section): Likewise.
3476 (add_xt_block_frags): Likewise.
3477 (add_xt_prop_frags): Likewise.
3478 (init_op_placement_info_table): Likewise.
3479 (build_section_rename): Likewise.
3480 * config/tc-z80.c: Likewise.
3481 * config/tc-z8k.c: Likewise.
3482 * depend.c (register_dependency): Likewise.
3483 * dwarf2dbg.c (get_line_subseg): Likewise.
3484 (dwarf2_gen_line_info_1): Likewise.
3485 (get_filenum): Likewise.
3486 * ecoff.c (allocate_scope): Likewise.
3487 (allocate_vlinks): Likewise.
3488 (allocate_shash): Likewise.
3489 (allocate_thash): Likewise.
3490 (allocate_tag): Likewise.
3491 (allocate_forward): Likewise.
3492 (allocate_thead): Likewise.
3493 (allocate_lineno_list): Likewise.
3494 * expr.c (make_expr_symbol): Likewise.
3495 * hash.c (hash_new_sized): Likewise.
3496 * input-file.c (input_file_push): Likewise.
3497 * listing.c (file_info): Likewise.
3498 (listing_newline): Likewise.
3499 * macro.c (new_formal): Likewise.
3500 (define_macro): Likewise.
3501 * remap.c (add_debug_prefix_map): Likewise.
3502 * symbols.c (symbol_find_noref): Likewise.
3503 (define_dollar_label): Likewise.
3504 (fb_label_instance_inc): Likewise.
3505 (symbol_relc_make_value): Likewise.
3506
3507 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3508
3509 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3510 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3511 (ppc_znop): Likewise.
3512 (ppc_pe_section): Likewise.
3513 (ppc_frob_symbol): Likewise.
3514 * config/tc-tic30.c (tic30_operand): Likewise.
3515 * config/tc-tic4x.c (tic4x_sect): Likewise.
3516 (tic4x_usect): Likewise.
3517
3518 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3519
3520 * config/tc-alpha.c: Const qualify FLT_CHARS.
3521 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3522 * config/tc-cris.h: Likewise.
3523 * expr.c: Likewise.
3524 * config/tc-mmix.c (md_atof): Adjust comment.
3525 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3526 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3527
3528 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3529
3530 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3531 * config/tc-score7.c (s7_gen_reloc): Likewise.
3532
3533 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3534
3535 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3536 bfd_reloc_code_real_type.
3537
3538 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3539
3540 * config/bfin-parse.y (current_inputline): Remove definition.
3541 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3542
3543 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3544
3545 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3546 strings.
3547
3548 2016-04-02 Alan Modra <amodra@gmail.com>
3549
3550 PR 19896
3551 * read.c (assign_symbol): Consume rest of line after an error
3552 rather than continuing to process the line.
3553
3554 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3555
3556 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3557 (MAX_FLAG_NAME_LENGTH): ...this.
3558 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3559 * config/tc-arc.c (tokenize_flags): Likewise.
3560
3561 2016-04-01 Alan Modra <amodra@gmail.com>
3562
3563 * cgen.c (weak_operand_overflow_check): Return const char*.
3564 * messages.c (as_internal_value_out_of_range): Formatting.
3565 (as_warn_value_out_of_range): Consify prefix param.
3566 (as_bad_value_out_of_range): Likewise.
3567 * read.c (s_errwarn): Constify msg..
3568 (s_float_space, float_cons): ..and err.
3569 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3570 ieee_md_atof, vax_md_atof): Update prototypes.
3571 * tc.h (md_atof): Update prototype.
3572 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3573 * config/atof-vax.c (vax_md_atof): Likewise.
3574 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3575 * config/tc-aarch64.c (md_atof): Return const char*.
3576 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3577 (s_alpha_comm): Constify sec_name.
3578 (section_name): Constify.
3579 (s_alpha_section): Consify name..
3580 (alpha_elf_section_letter): ..and ptr_msg param..
3581 (md_atof): ..and return.
3582 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3583 * config/tc-arc.c (md_atof): Return const char*.
3584 * config/tc-arm.c (md_atof): Likewise.
3585 * config/tc-avr.c (md_atof): Likewise.
3586 * config/tc-bfin.c (md_atof): Likewise.
3587 * config/tc-cr16.c (md_atof): Likewise.
3588 * config/tc-cris.c (md_atof): Likewise.
3589 * config/tc-crx.c (md_atof): Likewise.
3590 * config/tc-d10v.c (md_atof): Likewise.
3591 * config/tc-d30v.c (md_atof): Likewise.
3592 * config/tc-dlx.c (md_atof): Likewise.
3593 * config/tc-epiphany.c (md_atof): Likewise.
3594 * config/tc-fr30.c (md_atof): Likewise.
3595 * config/tc-frv.c (md_atof): Likewise.
3596 * config/tc-ft32.c (md_atof): Likewise.
3597 * config/tc-h8300.c (md_atof): Likewise.
3598 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3599 (struct default_space_dict): Likewise.
3600 (create_new_space): Constify name param.
3601 (create_new_subspace): Likewise.
3602 (is_defined_space, is_defined_subspace): Likewise.
3603 (pa_parse_space_stmt): Constify space_name param.
3604 (md_atof): Return const char*.
3605 (pa_spaces_begin): Constify name.
3606 * config/tc-i370.c (md_atof): Return const char*.
3607 * config/tc-i386.c (md_atof): Likewise.
3608 (x86_64_section_letter): Constify ptr_msg param.
3609 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3610 * config/tc-i860.c (struct i860_it): Constify error.
3611 (md_atof): Return const char*.
3612 * config/tc-i960.c (md_atof): Likewise.
3613 * config/tc-ia64.c (md_atof): Likewise.
3614 (ia64_elf_section_letter): Constify ptr_msg param.
3615 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3616 * config/tc-ip2k.c (md_atof): Return const char*.
3617 * config/tc-iq2000.c (md_atof): Likewise.
3618 * config/tc-lm32.c (md_atof): Likewise.
3619 * config/tc-m32c.c (md_atof): Likewise.
3620 * config/tc-m32r.c (md_atof): Likewise.
3621 * config/tc-m68hc11.c (md_atof): Likewise.
3622 * config/tc-m68k.c (md_atof): Likewise.
3623 * config/tc-mcore.c (md_atof): Likewise.
3624 * config/tc-mep.c (md_atof): Likewise.
3625 (mep_elf_section_letter): Constify ptr_msg param.
3626 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3627 * config/tc-metag.c (md_atof): Return const char*.
3628 * config/tc-microblaze.c (md_atof): Likewise.
3629 * config/tc-microblaze.h (md_atof): Delete prototype.
3630 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3631 (md_atof): Return const char*.
3632 * config/tc-mmix.c (md_atof): Likewise.
3633 * config/tc-mn10200.c (md_atof): Likewise.
3634 * config/tc-mn10300.c (md_atof): Likewise.
3635 * config/tc-moxie.c (md_atof): Likewise.
3636 * config/tc-msp430.c (md_atof): Likewise.
3637 * config/tc-mt.c (md_atof): Likewise.
3638 * config/tc-nds32.c (md_atof): Likewise.
3639 * config/tc-nios2.c (md_atof): Likewise.
3640 (nios2_elf_section_letter): Constify ptr_msg param.
3641 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3642 * config/tc-ns32k.c (md_atof): Return const char*.
3643 * config/tc-or1k.c (md_atof): Likewise.
3644 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3645 (md_atof): Return const char*.
3646 * config/tc-pj.c (md_atof): Likewise.
3647 * config/tc-ppc.c (md_atof): Likewise.
3648 * config/tc-rl78.c (md_atof): Likewise.
3649 * config/tc-rx.c (md_atof): Likewise.
3650 * config/tc-s390.c (md_atof): Likewise.
3651 * config/tc-score.c (s3_atof, md_atof): Likewise.
3652 * config/tc-sh.c (md_atof): Likewise.
3653 * config/tc-sparc.c (struct sparc_it): Constify error.
3654 (md_atof): Return const char*.
3655 * config/tc-spu.c (md_atof): Likewise.
3656 * config/tc-tic30.c (md_atof): Likewise.
3657 * config/tc-tic4x.c (md_atof): Likewise.
3658 * config/tc-tic54x.c (md_atof): Likewise.
3659 * config/tc-tic6x.c (md_atof): Likewise.
3660 * config/tc-tilegx.c (md_atof): Likewise.
3661 * config/tc-tilepro.c (md_atof): Likewise.
3662 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3663 * config/tc-vax.c (md_atof): Likewise.
3664 * config/tc-visium.c (md_atof): Likewise.
3665 * config/tc-xc16x.c (md_atof): Likewise.
3666 * config/tc-xgate.c (md_atof): Likewise.
3667 * config/tc-xstormy16.c (md_atof): Likewise.
3668 * config/tc-xtensa.c (md_atof): Likewise.
3669 * config/tc-z80.c (md_atof): Likewise.
3670 * config/tc-z8k.c (md_atof): Likewise.
3671
3672 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3673
3674 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3675 const.
3676 (xtensa_section_rename): Make argument type const char *.
3677 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3678
3679 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3680
3681 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3682 args[0].
3683
3684 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3685
3686 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3687 char *.
3688 (m32c_indirect_operand): Likewise.
3689 * config/tc-nds32.c (do_pseudo_b): Likewise.
3690 (do_pseudo_bal): Likewise.
3691 (do_pseudo_ls_bhw): Likewise.
3692
3693 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3694
3695 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3696
3697 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3698
3699 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3700 get_symbol_name ().
3701 * config/tc-sparc.c (s_register): Cast a literal to char * in
3702 assignment.
3703
3704 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3705
3706 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3707 input_line_pointer.
3708 * config/tc-m32r.c (expand_debug_syms): Likewise.
3709 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3710 * config/tc-z80.c (md_begin): Likewise.
3711 * stabs.c (stabs_generate_asm_func): Likewise.
3712
3713 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3714
3715 * cgen.c: Modernize the way functions declare arguments.
3716 * config/tc-bfin.c: Likewise.
3717 * config/tc-pdp11.c: Likewise.
3718 * literal.c: Likewise.
3719 * read.c: Likewise.
3720 * stabs.c: Likewise.
3721
3722 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3723
3724 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3725 variables unsigned char[].
3726 * config/tc-alpha.c (alpha_handle_align): Likewise.
3727 * config/tc-arm.c (arm_handle_align): Likewise.
3728 * config/tc-z80.c: Likewise.
3729
3730 2016-03-30 Nick Clifton <nickc@redhat.com>
3731
3732 PR target/19880
3733 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3734 shifting.
3735
3736 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3737
3738 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3739 * testsuite/gas/elf/elf.exp: Likewise.
3740 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3741
3742 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3743
3744 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3745
3746 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3747
3748 * testsuite/gas/arc/ext2op.d: New file.
3749 * testsuite/gas/arc/ext2op.s: Likewise.
3750 * testsuite/gas/arc/ext3op.d: Likewise.
3751 * testsuite/gas/arc/ext3op.s: Likewise.
3752
3753 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3754
3755 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3756 qualifier.
3757 * config/tc-alpha.c (md_parse_option): Likewise.
3758 * config/tc-arc.c (md_parse_option): Likewise.
3759 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3760 (md_parse_option): Likewise.
3761 * config/tc-avr.c (md_parse_option): Likewise.
3762 * config/tc-bfin.c (md_parse_option): Likewise.
3763 * config/tc-cr16.c (md_parse_option): Likewise.
3764 * config/tc-cris.c (s_cris_arch): Likewise.
3765 (md_parse_option): Likewise.
3766 * config/tc-crx.c (md_parse_option): Likewise.
3767 * config/tc-d10v.c (md_parse_option): Likewise.
3768 * config/tc-d30v.c (md_parse_option): Likewise.
3769 * config/tc-dlx.c (md_parse_option): Likewise.
3770 * config/tc-epiphany.c (md_parse_option): Likewise.
3771 * config/tc-fr30.c (md_parse_option): Likewise.
3772 * config/tc-frv.c (md_parse_option): Likewise.
3773 * config/tc-ft32.c (md_parse_option): Likewise.
3774 * config/tc-h8300.c (md_parse_option): Likewise.
3775 * config/tc-hppa.c (md_parse_option): Likewise.
3776 * config/tc-i370.c (md_parse_option): Likewise.
3777 * config/tc-i386.c (md_parse_option): Likewise.
3778 * config/tc-i860.c (md_parse_option): Likewise.
3779 * config/tc-i960.c (md_parse_option): Likewise.
3780 * config/tc-ia64.c (md_parse_option): Likewise.
3781 * config/tc-ip2k.c (md_parse_option): Likewise.
3782 * config/tc-iq2000.c (md_parse_option): Likewise.
3783 * config/tc-lm32.c (md_parse_option): Likewise.
3784 * config/tc-m32c.c (md_parse_option): Likewise.
3785 * config/tc-m32r.c (md_parse_option): Likewise.
3786 * config/tc-m68hc11.c (md_parse_option): Likewise.
3787 * config/tc-m68k.c (md_parse_option): Likewise.
3788 * config/tc-mcore.c (md_parse_option): Likewise.
3789 * config/tc-mep.c (md_parse_option): Likewise.
3790 * config/tc-metag.c (struct metag_long_option): Likewise.
3791 (md_parse_option): Likewise.
3792 * config/tc-microblaze.c (md_parse_option): Likewise.
3793 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3794 * config/tc-mips.c (md_parse_option): Adjust.
3795 * config/tc-mmix.c (md_parse_option): Likewise.
3796 * config/tc-mn10200.c (md_parse_option): Likewise.
3797 * config/tc-mn10300.c (md_parse_option): Likewise.
3798 * config/tc-moxie.c (md_parse_option): Likewise.
3799 * config/tc-msp430.c (md_parse_option): Likewise.
3800 * config/tc-mt.c (md_parse_option): Likewise.
3801 * config/tc-nds32.c (md_parse_option): Likewise.
3802 * config/tc-nds32.h (nds32_parse_option): Likewise.
3803 * config/tc-nios2.c (md_parse_option): Likewise.
3804 * config/tc-ns32k.c (md_parse_option): Likewise.
3805 * config/tc-or1k.c (md_parse_option): Likewise.
3806 * config/tc-pdp11.c (md_parse_option): Likewise.
3807 * config/tc-pj.c (md_parse_option): Likewise.
3808 * config/tc-ppc.c (md_parse_option): Likewise.
3809 * config/tc-rl78.c (md_parse_option): Likewise.
3810 * config/tc-rx.c (md_parse_option): Likewise.
3811 * config/tc-s390.c (s390_parse_cpu): Likewise.
3812 * config/tc-score.c (md_parse_option): Likewise.
3813 * config/tc-sh.c (md_parse_option): Likewise.
3814 * config/tc-sparc.c (md_parse_option): Likewise.
3815 * config/tc-spu.c (md_parse_option): Likewise.
3816 * config/tc-tic30.c (md_parse_option): Likewise.
3817 * config/tc-tic4x.c (md_parse_option): Likewise.
3818 * config/tc-tic54x.c (md_parse_option): Likewise.
3819 * config/tc-tic6x.c (md_parse_option): Likewise.
3820 * config/tc-tilegx.c (md_parse_option): Likewise.
3821 * config/tc-tilepro.c (md_parse_option): Likewise.
3822 * config/tc-v850.c (md_parse_option): Likewise.
3823 * config/tc-vax.c (md_parse_option): Likewise.
3824 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3825 * config/tc-xc16x.c (md_parse_option): Likewise.
3826 * config/tc-xgate.c (md_parse_option): Likewise.
3827 * config/tc-xstormy16.c (md_parse_option): Likewise.
3828 * config/tc-xtensa.c (md_parse_option): Likewise.
3829 * config/tc-z80.c (md_parse_option): Likewise.
3830 * config/tc-z8k.c (md_parse_option): Likewise.
3831 * tc.h (md_parse_option): Likewise.
3832
3833 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3834
3835 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3836 * config/tc-hppa.c (fix_new_hppa): Likewise.
3837 (pa_vtable_entry): Likewise.
3838 (pa_vtable_inherit): Likewise.
3839 * config/tc-m68k.c (md_begin): Likewise.
3840
3841 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3842
3843 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3844 * config/obj-elf.h (obj_elf_section_name): Adjust.
3845 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3846 (aarch64_parse_cpu): Likewise.
3847 (aarch64_parse_arch): Likewise.
3848 * config/tc-arm.c (arm_parse_extension): Likewise.
3849 (arm_parse_cpu): Likewise.
3850 (arm_parse_arch): Likewise.
3851 * config/tc-nds32.c: Likewise.
3852 * config/xtensa-relax.c (parse_special_fn): Likewise.
3853 * stabs.c (generate_asm_file): Likewise.
3854
3855 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3856
3857 * config/tc-cr16.c (cr16_assemble): New function.
3858 (md_assemble): Call cr16_assemble.
3859
3860 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3861
3862 * as.c (parse_args): Adjust.
3863 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3864 * config/obj-elf.c (elf_frob_symbol): Adjust.
3865
3866 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3867
3868 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3869 registers to be in the 16..31 range.
3870
3871 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3872
3873 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3874 frag_var ().
3875
3876 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3877
3878 * config/tc-visium.c (md_atof): Localize the string returned on
3879 failure.
3880
3881 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3882
3883 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3884 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3885 * config/tc-m68hc11.c (md_begin): Likewise.
3886 (print_opcode_list): Likewise.
3887 * config/tc-msp430.c (msp430_section): Likewise.
3888 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3889 (s3_build_dependency_insn_hsh): Likewise.
3890 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3891 (s7_build_dependency_insn_hsh): Likewise.
3892 * config/tc-tic4x.c: Likewise.
3893 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3894 (subsym_get_arg): Likewise.
3895 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3896 (get_directive): Likewise.
3897 (cache_literal_section): Likewise.
3898 * config/xtensa-relax.c: Likewise.
3899 * symbols.c (symbol_create): Likewise.
3900 (local_symbol_make): Likewise.
3901 (symbol_relc_make_expr): Likewise.
3902
3903 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3904
3905 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3906 str.
3907
3908 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3909
3910 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3911 call with a switch.
3912
3913 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3914
3915 * config/tc-ia64.c (ia64_do_align): Remove.
3916 (ia64_cons_align): Call do_align () directly.
3917 (dot_proc): Likewise.
3918 (stmt_float_cons): Likewise.
3919
3920 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3921
3922 * listing.c (listing_message): Use XNEW style allocation macros.
3923 * read.c (read_a_source_file): Likewise.
3924 (read_symbol_name): Likewise.
3925 (s_mri_common): Likewise.
3926 (assign_symbol): Likewise.
3927 (s_reloc): Likewise.
3928 (emit_expr_with_reloc): Likewise.
3929 (s_incbin): Likewise.
3930 (s_include): Likewise.
3931 * sb.c (sb_build): Likewise.
3932 (sb_check): Likewise.
3933
3934 2016-03-22 Alan Modra <amodra@gmail.com>
3935
3936 * write.c (record_alignment): Revert 2016-02-18 change.
3937
3938 2016-03-22 Alan Modra <amodra@gmail.com>
3939
3940 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3941 (emit_jsrjmp, tc_gen_reloc): Likewise.
3942 * config/tc-i370.c (i370_macro): Likewise.
3943
3944 2016-03-22 Nick Clifton <nickc@redhat.com>
3945
3946 * configure: Regenerate.
3947
3948 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3949
3950 * testsuite/gas/arc/nps400-0.d: New file.
3951 * testsuite/gas/arc/nps400-0.s: New file.
3952 * testsuite/gas/arc/nps400-1.d: New file.
3953 * testsuite/gas/arc/nps400-1.s: New file.
3954
3955 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3956
3957 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3958 declarations to start of block. Reset code on all flags before
3959 attempting to match them. Handle multiple hits on the same flag.
3960 Handle flag class.
3961 * testsuite/gas/arc/asm-errors.d: New file.
3962 * testsuite/gas/arc/asm-errors.err: New file.
3963 * testsuite/gas/arc/asm-errors.s: New file.
3964
3965 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3966
3967 * config/tc-arc.c (cpu_types): Add nps400 entry.
3968 (check_zol): Handle nps400.
3969
3970 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3971
3972 * config/tc-arc.c (arc_select_cpu): Remove use of
3973 EF_ARC_CPU_GENERIC.
3974
3975 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3976
3977 * config/tc-arc.c (arc_target): Delay initialisation until
3978 arc_select_cpu.
3979 (arc_target_name): Likewise.
3980 (arc_features): Likewise.
3981 (arc_mach_type): Likewise.
3982 (cpu_types): Remove "all" entry.
3983 (arc_select_cpu): New function, most of the content is from...
3984 (md_parse_option): ... here. Call new arc_select_cpu.
3985 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3986
3987 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3988
3989 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3990 * testsuite/gas/arc/inline-data-2.d: New file.
3991
3992 2016-03-21 Nick Clifton <nickc@redhat.com>
3993
3994 * atof-generic.c: Replace use of alloca with call to xmalloc.
3995 * cgen.c: Likewise.
3996 * dwarf2dbg.c: Likewise.
3997 * macro.c: Likewise.
3998 * remap.c: Likewise.
3999 * stabs.c: Likewise.
4000 * symbols.c: Likewise.
4001 * config/obj-elf.c: Likewise.
4002 * config/tc-aarch64.c: Likewise.
4003 * config/tc-arc.c: Likewise.
4004 * config/tc-arm.c: Likewise.
4005 * config/tc-avr.c: Likewise.
4006 * config/tc-ia64.c: Likewise.
4007 * config/tc-mips.c: Likewise.
4008 * config/tc-msp430.c: Likewise.
4009 * config/tc-nds32.c: Likewise.
4010 * config/tc-ppc.c: Likewise.
4011 * config/tc-sh.c: Likewise.
4012 * config/tc-tic30.c: Likewise.
4013 * config/tc-tic54x.c: Likewise.
4014 * config/tc-xstormy16.c: Likewise.
4015 * config/te-vms.c: Likewise.
4016 * configure: Regenerate.
4017
4018 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4019
4020 * tc-i386.c (f32_1): Change type to unsigned char[].
4021 (f32_2): Likewise.
4022 (f32_3): Likewise.
4023 (f32_4): Likewise.
4024 (f32_5): Likewise.
4025 (f32_6): Likewise.
4026 (f32_7): Likewise.
4027 (f32_8): Likewise.
4028 (f32_9): Likewise.
4029 (f32_10): Likewise.
4030 (f32_11): Likewise.
4031 (f32_12): Likewise.
4032 (f32_13): Likewise.
4033 (f32_14): Likewise.
4034 (f16_3): Likewise.
4035 (f16_4): Likewise.
4036 (f16_5): Likewise.
4037 (f16_6): Likewise.
4038 (f16_7): Likewise.
4039 (f16_8): Likewise.
4040 (jump_31): Likewise.
4041 (f32_patt): Likewise.
4042 (f16_patt): Likewise.
4043 (alt_3): Likewise.
4044 (alt_4): Likewise.
4045 (alt_5): Likewise.
4046 (alt_6): Likewise.
4047 (alt_7): Likewise.
4048 (alt_8): Likewise.
4049 (alt_9): Likewise.
4050 (alt_10): Likewise.
4051 (alt_patt): Likewise.
4052
4053 2016-03-18 Nick Clifton <nickc@redhat.com>
4054
4055 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
4056 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
4057 .tlsdescldr and .xword directives.
4058
4059 PR target/19721
4060 * testsuite/gas/aarch64/pr19721.s: New test source file.
4061 * testsuite/gas/aarch64/pr19721.d: New test driver file.
4062
4063 * doc/as.texinfo: Place the target specific command line options
4064 into their own man page section.
4065
4066 2016-03-16 Jiong Wang <jiong.wang@arm.com>
4067
4068 * config/tc-arm.c (N_S_32): New.
4069 (N_F_16_32): Likewise.
4070 (N_SUF_32): Support N_F16.
4071 (N_IF_32): Likewise.
4072 (neon_dyadic_misc): Likewise.
4073 (do_neon_cmp): Likewise.
4074 (do_neon_cmp_inv): Likewise.
4075 (do_neon_mul): Likewise.
4076 (do_neon_fcmp_absolute): Likewise.
4077 (do_neon_step): Likewise.
4078 (do_neon_abs_neg): Likewise.
4079 (CVT_FLAVOR_VAR): Likewise.
4080 (do_neon_cvt_1): Likewise.
4081 (do_neon_recip_est): Likewise.
4082 (do_vmaxnm): Likewise.
4083 (do_vrint_1): Likewise.
4084 (neon_check_type): Check architecture support for FP16 extension.
4085 (insns): Update comments.
4086 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
4087 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
4088 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
4089 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
4090 arm mode.
4091 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
4092 thumb mode.
4093 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
4094 error file.
4095
4096 2016-03-16 Nick Clifton <nickc@redhat.com>
4097
4098 * read.c (emit_expr_with_reloc): Add code check a bignum with
4099 nbytes == 1.
4100 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
4101 other than 32-bits.
4102 * testsuite/gas/elf/bignum.s: New test source file.
4103 * testsuite/gas/elf/bignum.d: New test driver file.
4104 * testsuite/gas/elf/elf.exp: Run the new test.
4105
4106 2016-03-15 Ulrich Drepper <drepper@gmail.com>
4107
4108 * doc/c-i386.texi (Register Naming): Update to details of the
4109 latest architecture version.
4110
4111 2016-03-10 Mickael Guene <mickael.guene@st.com>
4112
4113 PR gas/19744
4114 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
4115 (do_mov): Likewise.
4116 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
4117 (do_t_mov_cmp): Likewise.
4118 (do_t_add_sub): Protect against bad relocations usage.
4119 (do_t_mov_cmp): Likewise.
4120 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
4121 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
4122 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
4123 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
4124
4125 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4126
4127 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
4128 do_alignment.
4129 (do_neon_ld_st_lane): Likewise.
4130 (do_neon_ld_dup): Likewise.
4131
4132 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
4133
4134 * testsuite/gas/arc/inline-data-1.d: New file.
4135 * testsuite/gas/arc/inline-data-1.s: New file.
4136
4137 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
4138
4139 * config/tc-arm.c (arm_cpus): Add cortex-r8.
4140 * doc/c-arm.texi: Add cortex-r8.
4141
4142 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4143
4144 * config/tc-arc.c: Add const qualifiers.
4145 * config/tc-h8300.c (md_begin): Likewise.
4146 * config/tc-ia64.c (print_prmask): Likewise.
4147 * config/tc-msp430.c (msp430_operands): Likewise.
4148 * config/tc-nds32.c (struct suffix_name): Likewise.
4149 (struct nds32_parse_option_table): Likewise.
4150 (struct nds32_set_option_table): Likewise.
4151 (do_pseudo_pushpopm): Likewise.
4152 (do_pseudo_pushpop_stack): Likewise.
4153 (nds32_relax_relocs): Likewise.
4154 (nds32_flag): Likewise.
4155 (struct nds32_hint_map): Likewise.
4156 (nds32_find_reloc_table): Likewise.
4157 (nds32_match_hint_insn): Likewise.
4158 * config/tc-s390.c: Likewise.
4159 * config/tc-sh.c (get_specific): Likewise.
4160 * config/tc-tic30.c: Likewise.
4161 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
4162 (tic4x_indirect_parse): Likewise.
4163 * config/tc-vax.c (vax_cons): Likewise.
4164 * config/tc-z80.c (struct reg_entry): Likewise.
4165 * config/tc-epiphany.c (md_assemble): Adjust.
4166 (epiphany_assemble): New function.
4167 (epiphany_elf_section_rtn): Call do_align directly.
4168 (epiphany_elf_section_text): Likewise.
4169 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
4170 (ip2k_elf_section_text): Likewise.
4171 * read.c (do_align): Make it not static.
4172 * read.h (do_align): New prototype.
4173
4174 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4175
4176 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4177 for ARMv8.1 AdvSIMD use.
4178 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4179 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4180
4181 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4182
4183 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4184 feature.
4185 (record_feature_use): New.
4186 (mark_feature_used): Use record_feature_use.
4187 (do_neon_qrdmlah): New.
4188 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4189 variants.
4190 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4191 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4192 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4193 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4194 Make source file explicit.
4195 * testsuite/gas/arm/armv8-a+rdma.l: New.
4196 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4197 directives. Fix white-space.
4198 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4199
4200 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4201
4202 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4203
4204 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4205 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4206
4207 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4208 (tc_arc_fix_adjustable): Changed default return value to 1.
4209 * testsuite/gas/arc/j.d: Updated expected symbol
4210 * testsuite/gas/arc/jl.d: Likewise
4211 * testsuite/gas/arc/relax-avoid1.d: Likewise
4212 * testsuite/gas/arc/st.d: Likewise
4213
4214 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4215
4216 * config/tc-arc.c: Enable code density instructions for ARC EM.
4217
4218 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4219
4220 PR ld/19645
4221 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
4222 for ELF assemblers.
4223 * as.c (flag_use_elf_stt_common): New.
4224 (show_usage): Add --elf-stt-common=.
4225 (option_values): Add OPTION_ELF_STT_COMMON.
4226 (std_longopts): Add --elf-stt-common=.
4227 (parse_args): Handle --elf-stt-common=.
4228 * as.h (flag_use_elf_stt_common): New.
4229 * config.in: Regenerated.
4230 * configure: Likewise.
4231 * configure.ac: Add --enable-elf-stt-common and define
4232 DEFAULT_GENERATE_ELF_STT_COMMON.
4233 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
4234 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
4235 * doc/as.texinfo: Document --elf-stt-common=.
4236 * testsuite/gas/elf/common3.s: New file.
4237 * testsuite/gas/elf/common3a.d: Likewise.
4238 * testsuite/gas/elf/common3b.d: Likewise.
4239 * testsuite/gas/elf/common4.s: Likewise.
4240 * testsuite/gas/elf/common4a.d: Likewise.
4241 * testsuite/gas/elf/common4b.d: Likewise.
4242 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
4243 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
4244 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
4245 and common4b.
4246 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
4247 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
4248 --elf-stt-common=no to as.
4249 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
4250 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
4251 --elf-stt-common=no to as.
4252 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
4253 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
4254 of dw2-compress-3 and dw2-compressed-3.
4255
4256 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4257
4258 * as.c (select_emulation_mode): Add const qualifiers.
4259 * as.h: Likewise.
4260 * config/bfin-defs.h: Likewise.
4261 * config/bfin-parse.y: Likewise.
4262 * config/rx-parse.y: Likewise.
4263 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4264 (struct aarch64_cpu_option_table): Likewise.
4265 (struct aarch64_arch_option_table): Likewise.
4266 (struct aarch64_option_cpu_value_table): Likewise.
4267 (struct aarch64_long_option_table): Likewise.
4268 (struct aarch64_option_abi_value_table): Likewise.
4269 * config/tc-arm.c (struct reloc_entry): Likewise.
4270 (tc_gen_reloc): Likewise.
4271 (struct arm_option_table): Likewise.
4272 (struct arm_legacy_option_table): Likewise.
4273 (struct arm_cpu_option_table): Likewise.
4274 (struct arm_arch_option_table): Likewise.
4275 (struct arm_option_extension_value_table): Likewise.
4276 (struct arm_option_fpu_value_table): Likewise.
4277 (struct arm_option_value_table): Likewise.
4278 (struct arm_long_option_table): Likewise.
4279 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4280 (struct mcu_type_s): Likewise.
4281 (struct exp_mod_s): Likewise.
4282 (avr_operand): Likewise.
4283 (avr_operands): Likewise.
4284 * config/tc-d10v.c (md_begin): Likewise.
4285 * config/tc-dlx.c: Likewise.
4286 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4287 * config/tc-ft32.c (parse_condition): Likewise.
4288 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4289 * config/tc-hppa.c (pa_ip): Likewise.
4290 (hppa_regname_to_dw2regnum): Likewise.
4291 * config/tc-i370.c (i370_elf_suffix): Likewise.
4292 * config/tc-i960.c (struct tabentry): Likewise.
4293 * config/tc-m32r.c: Likewise.
4294 * config/tc-m68k.c: Likewise.
4295 * config/tc-m68k.h: Likewise.
4296 * config/tc-mcore.c (parse_psrmod): Likewise.
4297 * config/tc-metag.c (struct metag_core_option): Likewise.
4298 (struct metag_long_option): Likewise.
4299 * config/tc-microblaze.c: Likewise.
4300 * config/tc-mips.c (macro): Likewise.
4301 * config/tc-mn10200.c: Likewise.
4302 * config/tc-mn10300.c: Likewise.
4303 * config/tc-msp430.c (struct rcodes_s): Likewise.
4304 (struct hcodes_s): Likewise.
4305 (md_parse_option): Likewise.
4306 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4307 (optlist): Likewise.
4308 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4309 (tc_ppc_regname_to_dw2regnum): Likewise.
4310 * config/tc-ppc.h: Likewise.
4311 * config/tc-rl78.c: Likewise.
4312 * config/tc-rx.c (struct cpu_type): Likewise.
4313 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4314 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4315 (sparc_ip): Likewise.
4316 * config/tc-spu.c (insn_fmt_string): Likewise.
4317 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4318 * config/tc-v850.c: Likewise.
4319 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4320 (struct visium_long_option_table): Likewise.
4321 * config/tc-xgate.c: Likewise.
4322 * config/tc-z8k.c: Likewise.
4323 * read.c (add_include_dir): Likewise.
4324 * read.h: Likewise.
4325
4326 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4327
4328 * testsuite/gas/all/gas.exp: Change target pattern to cover
4329 arceb-*.
4330 * testsuite/gas/all/redef3.d: Likewise.
4331 * testsuite/gas/elf/elf.exp: Likewise.
4332
4333 2016-02-24 Renlin Li <renlin.li@arm.com>
4334
4335 * config/tc-arm.c (BAD_FP16): New error message macro.
4336 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4337 fp16 scalar instructions.
4338 (neon_check_type): Allow different size from key.
4339 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4340 (try_vfp_nsyn): Likewise.
4341 (do_vfp_nsyn_mla_mls): Likewise.
4342 (do_vfp_nsyn_fma_fms): Likewise.
4343 (do_vfp_nsyn_ldm_stm): Likewise
4344 (do_vfp_nsyn_sqrt): Likewise
4345 (do_vfp_nsyn_div): Likewise
4346 (do_vfp_nsyn_nmul): Likewise.
4347 (do_vfp_nsyn_cmp): Likewise.
4348 (do_neon_shll): Likewise.
4349 (do_vfp_nsyn_cvt_fpv8): Likewise.
4350 (do_neon_cvttb_2): Likewise.
4351 (do_neon_mov): Likewise.
4352 (do_neon_rshift_round_imm): Likewise.
4353 (do_neon_ldr_str): Likewise.
4354 (do_vfp_nsyn_fpv8): Likewise.
4355 (do_vmaxnm): Likewise.
4356 (do_vrint_1): Likewise.
4357 (insns): New entry for vins, vmovx.
4358 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4359 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4360 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4361 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4362 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4363 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4364 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4365
4366 2016-02-24 Renlin Li <renlin.li@arm.com>
4367
4368 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4369 (neon_shape_class): New SC_HALF.
4370 (neon_shape_el): New SE_H.
4371 (neon_shape_el_size): New size for SE_H.
4372 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4373 (neon_select_shape): Add SE_H support code.
4374 (el_type_of_type_chk): Use N_F_ALL.
4375 (do_vfp_nsyn_cvt): Add SE_H shape support.
4376 (do_neon_cvtz): Likewise.
4377 (do_neon_cvt_1): Likewise.
4378 (do_neon_cvttb_1): Likewise.
4379
4380 2016-02-24 Renlin Li <renlin.li@arm.com>
4381
4382 * testsuite/gas/arm/copro.d: Adjust output.
4383 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4384
4385 2016-02-24 Renlin Li <renlin.li@arm.com>
4386
4387 * testsuite/gas/arm/mask_1.d: New.
4388 * testsuite/gas/arm/mask_1.s: New.
4389
4390 2016-02-24 Renlin Li <renlin.li@arm.com>
4391
4392 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4393 * testsuite/gas/arm/copro.d: Update.
4394
4395 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4396
4397 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4398 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4399
4400 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4401
4402 * doc/c-arm.texi (ARM Options): Document cortex-a17.
4403
4404 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4405
4406 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4407 hpux.
4408
4409 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4410
4411 * output-file.c (output_file_create): Make file name argument const.
4412 (output_file_close): Likewise.
4413 * output-file.h (output_file_create): Adjust.
4414 (output_file_close): Likewise.
4415 * depend.c (quote_string_for_make): Make src argument const char *.
4416 (register_dependency): Likewise.
4417 (wrap_output): Likewise.
4418 * as.h (register_dependency): Adjust.
4419 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4420 as_where ();
4421 * symbols.c (S_SET_EXTERNAL): Likewise.
4422 * input-scrub.c (as_where): Return the file name.
4423 * as.h (as_where): Adjust prototype.
4424 * app.c (do_scrub_chars): Adjust.
4425 * cond.c (s_elseif): Likewise.
4426 (s_else): Likewise.
4427 (initialize_cframe): Likewise.
4428 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4429 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4430 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4431 * config/tc-aarch64.c (output_info): Likewise.
4432 * config/tc-ia64.c (md_assemble): Likewise.
4433 (dot_alias): Likewise.
4434 * config/tc-m68k.c (m68k_frob_label): Likewise.
4435 * config/tc-mmix.c (s_bspec): Likewise.
4436 (mmix_handle_mmixal): Likewise.
4437 * config/tc-rx.c (rx_include): Likewise.
4438 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4439 (tic54x_adjust_symtab): Likewise.
4440 * config/tc-xtensa.c (directive_push): Likewise.
4441 (xtensa_sanity_check): Likewise.
4442 (xtensa_relax_frag): Likewise.
4443 (md_convert_frag): Likewise.
4444 (tinsn_to_slotbuf): Likewise.
4445 * dwarf2dbg.c (dwarf2_where): Likewise.
4446 * ecoff.c (add_file): Likewise.
4447 (ecoff_generate_asm_lineno): Likewise.
4448 * expr.c (make_expr_symbol): Likewise.
4449 * frags.c (frag_new): Likewise.
4450 (frag_var_init): Likewise.
4451 * listing.c (listing_newline): Likewise.
4452 * messages.c (identify): Likewise.
4453 (as_show_where): Likewise.
4454 (as_warn_internal): Likewise.
4455 (as_bad_internal): Likewise.
4456 * read.c (s_irp): Likewise.
4457 (s_macro): Likewise.
4458 (s_reloc): Likewise.
4459 * stabs.c (stabs_generate_asm_file): Likewise.
4460 (stabs_generate_asm_lineno): Likewise.
4461 (stabs_generate_asm_func): Likewise.
4462 * write.c (fix_new_internal): Likewise.
4463 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4464 (as_warn_value_out_of_range): Adjust prototype.
4465 (as_bad_value_out_of_range): Adjust prototype.
4466 * messages.c (identify): Make file name argument const char *.
4467 (as_warn_internal): Likewise.
4468 (as_warn_where): Likewise.
4469 (as_bad_internal): Likewise.
4470 (as_bad_where): Likewise.
4471 (as_internal_value_out_of_range): Likewise.
4472 (as_warn_value_out_of_range): Likewise.
4473 (as_bad_value_out_of_range): Likewise.
4474 * as.h (found_comment_file): Change type to const char *.
4475 * cond.c (file_line::file): Likewise.
4476 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4477 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4478 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4479 * config/tc-aarch64.c (output_info): Likewise.
4480 * config/tc-alpha.c (insert_operand): Likewise.
4481 * config/tc-arc.c (insert_operand): Likewise.
4482 * config/tc-d30v.c (check_size): Likewise.
4483 * config/tc-ia64.c (struct alias): Likewise.
4484 * config/tc-m68k.c (struct label_line): Likewise.
4485 * config/tc-mcore.c (md_apply_fix): Likewise.
4486 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4487 * config/tc-mips.c (mips16_immed): Likewise.
4488 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4489 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4490 * config/tc-rx.c (rx_include): Likewise.
4491 * config/tc-s390.c (s390_insert_operand): Likewise.
4492 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4493 (tic54x_adjust_symtab): Likewise.
4494 * config/tc-tilegx.c (insert_operand): Likewise.
4495 (apply_special_operator): Likewise.
4496 * config/tc-tilepro.c (insert_operand): Likewise.
4497 * config/tc-xtensa.c (directive_push): Likewise.
4498 * ecoff.c (add_file): Likewise.
4499 (ecoff_generate_asm_lineno): Likewise.
4500 * listing.c (listing_newline): Likewise.
4501 * read.c (s_irp): Likewise.
4502 * write.c (install_reloc): Likewise.
4503 * write.h (struct fix): Likewise.
4504 * input-file.c (file_name): Change type to const char *.
4505 (saved_file::file_name): Likewise.
4506 (input_file_open): Change type of argument to const char *.
4507 * input-file.h (input_file_open): Adjust.
4508 * input-scrub.c (logical_input_file): change type to const char *.
4509 (physical_input_file): Likewise.
4510 (struct input_save): Adjust.
4511 (input_scrub_push): Adjust.
4512 (input_scrub_begin): Adjust.
4513 (as_where): Adjust.
4514 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4515 (input_scrub_include_file): Likewise.
4516 (new_logical_line_flags): Likewise.
4517 (new_logical_line): Likewise.
4518 * as.h: Adjust.
4519 * frags.h (struct frag): Change type of fr_file to const char *.
4520 * expr.c (expr_symbol_where): Change type of file argument to
4521 const char **.
4522 * expr.h (expr_symbol_where): Likewise.
4523 * config/tc-i370.c (md_apply_fix): adjust.
4524 * config/tc-mmix.c (mmix_md_end): Likewise.
4525 * config/tc-ppc.c (md_apply_fix): Likewise.
4526 * config/tc-s390.c (md_apply_fix): Likewise.
4527 * symbols.c (report_op_error): Likewise.
4528 (resolve_symbol_value): Likewise.
4529 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4530 (rsrc::file): Likewise.
4531 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4532 const char *.
4533 (xtensa_relax_frag): Likewise.
4534 (md_convert_frag): Likewise.
4535 (tinsn_to_slotbuf): Likewise.
4536 * expr.c (expr_symbol_line): Likewise.
4537 * macro.c (define_macro): Likewise.
4538 * macro.h (macro_struct): Likewise.
4539 * messages.c (as_show_where): Likewise.
4540 * read.c (s_macro): Likewise.
4541 * stabs.c (stabs_generate_asm_file): Likewise.
4542 (generate_asm_file): Likewise.
4543 (stabs_generate_asm_lineno): Likewise.
4544 * write.h (struct reloc_list): Likewise.
4545 * input-scrub.c (as_where): Change return type to const char *.
4546 * as.h (as_wheree): Adjust.
4547
4548 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4549
4550 * write.c (compress_debug): Move BFD compression bits setting
4551 to ...
4552 (write_object_file): Here.
4553
4554 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4555
4556 * config/tc-i386.c (register_number): Check RegVRex.
4557 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4558 with %zmm19 and %zmm3.
4559 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4560 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4561
4562 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4563 Jiong Wang <jiong.wang@arm.com>
4564
4565 * config/tc-arm.c (arm_ext_fp16): New.
4566 (arm_extensions): New entry for "fp16".
4567
4568 2016-02-19 Nick Clifton <nickc@redhat.com>
4569
4570 PR 19630
4571 * read.c (read_a_source_file): Check for assemble_one returning
4572 with input_line_pointer set to NULL.
4573
4574 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4575
4576 * listing.c (rebuffer_line): Change return type to void.
4577
4578 * symbols.c (decode_local_label_name): Make type a const char *.
4579 * listing.c (print_source): Make type of p const char *.
4580 (print_line): Make type of string const char *.
4581 (buffer_line): Return const char *.
4582 (title): Make type const char *.
4583 (subtitle): Likewise.
4584 (listing_listing): Make type of p const char *.
4585 * messages.c (as_internal_value_out_of_range): Make type of prefix
4586 const char *.
4587 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4588 and string const char *.
4589 * read.c (_bfd_rel): Make type of name const char *.
4590 * app.c (out_string): Change type to const char *.
4591 (struct app_save::out_string): Likewise.
4592
4593 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4594 Nick Clifton <nickc@redhat.com>
4595
4596 * read.c (finish_bundle): Avoid recording a negative alignment.
4597 (do_align): Use unsigned values for n, len and max. Only create
4598 a frag if the alignment requirement is greater than the minimum
4599 byte alignment. Avoid recording a negative alignment.
4600 (s_align): Use unsigned values where appropriate.
4601 (bss_alloc): Use an unsigned value for the alignment.
4602 (sizeof_sleb128): Add a comment noting that we encode one octet
4603 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4604 (emit_leb129_expr): Abort if the emitted encoding was longer than
4605 expected.
4606 * read.h (output_leb128): Update prototype.
4607 (sizeof_leb128): Update prototype.
4608 (bss_alloc): Update prototype.
4609 * write.c (record_alignment): Use an unsigned value for the
4610 alignment. Do not record alignments less than the minimum
4611 alignment for a byte.
4612 * write.h (record_alignment): Update prototype.
4613
4614 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4615
4616 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4617 .init.literal/.fini.literal section name.
4618 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4619 list of xtensa tests.
4620 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4621 init-fini-literals test result patterns.
4622 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4623 init-fini-literals test.
4624
4625 2016-02-17 Nick Clifton <nickc@redhat.com>
4626
4627 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4628 devices.csv file as of March 2016.
4629
4630 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4631
4632 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4633 function.
4634 (tc_arc_regname_to_dw2regnum): Likewise.
4635 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4636 (tc_cfi_frame_initial_instructions): Likewise.
4637 (tc_regname_to_dw2regnum): Likewise.
4638 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4639 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4640 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4641
4642 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4643
4644 * doc/internals.texi (S_IS_EXTERN): Remove.
4645
4646 2016-02-16 Nick Clifton <nickc@redhat.com>
4647
4648 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4649 update.
4650
4651 2016-02-16 Renlin Li <renlin.li@arm.com>
4652
4653 PR gas/19620
4654 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4655 * testsuite/gas/aarch64/movw_label.d: New.
4656 * testsuite/gas/aarch64/movw_label.s: New.
4657
4658 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4659
4660 PR gas/19556
4661 * config/rx-parse.y (MOV): Opcode generation for index
4662 register addressing mode.
4663 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4664 * testsuite/gas/rx/pr19665.s: New file.
4665 * testsuite/gas/rx/pr19665.s: New file.
4666 * testsuite/gas/rx/mov.d: Update expected output.
4667
4668 2016-02-15 Nick Clifton <nickc@redhat.com>
4669
4670 * doc/as.texinfo (.section): Document that numeric values can now
4671 be used for the flags and type fields of the ELF target's .section
4672 directive. Add notes about the restrictions on setting flags and
4673 types.
4674 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4675 to be given processor specific section types. Allow processor and
4676 application specific flags of a section to be set after
4677 definition.
4678 (obj_elf_parse_section_letters): Handle parsing numeric values.
4679 (obj_elf_section_type): Handle parsing numeric values.
4680 (obj_elf_section): Allow numeric type values.
4681 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4682 * testsuite/gas/elf/section10.d: New test.
4683 * testsuite/gas/elf/section10.s: Source file for new test.
4684 * testsuite/gas/elf/elf.exp: Run the new test.
4685 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4686 the description of the flags produced by readelf.
4687 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4688 * NEWS: Mention the new feature.
4689
4690 2016-02-11 Nick Clifton <nickc@redhat.com>
4691
4692 PR gas/19614
4693 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4694 until it is actually used.
4695 (cfi_set_sections): Set cfi_sections_set to true.
4696 (dot_cfi_startproc): Likewise.
4697 (dot_cfi_endproc): Likewise.
4698 (dot_cfi_fde_data): Likewise.
4699 (cfi_finish): Likewise.
4700 (dot_cfi_sections): Do not set cfi_sections_set.
4701 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4702 their own cfi section name. Also note that the directive can be
4703 reissued provided that CFI generation has not started.
4704 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4705 .cfi_endproc directives so that the redefinition of .cfi_sections
4706 will trigger the generation of the error message.
4707 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4708 number of error message.
4709
4710 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4711 Janek van Oirschot <jvanoirs@synopsys.com>
4712
4713 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4714 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4715 Define.
4716 (arc_flags, arc_relax_type): New structure.
4717 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4718 (RELAX_TABLE_ENTRY_MAX): New define.
4719 (relaxation_state, md_relax_table, arc_relaxable_insns)
4720 (arc_num_relaxable_ins): New variable.
4721 (rlx_operand_type, arc_rlx_types): New enums.
4722 (arc_relaxable_ins): New structure.
4723 (OPTION_RELAX): New option.
4724 (arc_insn): New relax member.
4725 (arc_flags): Remove.
4726 (relax_insn_p): New function.
4727 (apply_fixups): Likewise.
4728 (relaxable_operand): Likewise.
4729 (may_relax_expr): Likewise.
4730 (relaxable_flag): Likewise.
4731 (arc_pcrel_adjust): Likewise.
4732 (md_estimate_size_before_relax): Implement.
4733 (md_convert_frag): Likewise.
4734 (md_parse_option): Handle new mrelax option.
4735 (md_show_usage): Likewise.
4736 (assemble_insn): Set relax member.
4737 (emit_insn0): New function.
4738 (emit_insn1): Likewise.
4739 (emit_insn): Handle relaxation case.
4740 * NEWS: Mention the new relaxation option.
4741 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4742 * doc/as.texinfo (Target ARC Options): Likewise.
4743 * testsuite/gas/arc/relax-avoid1.d: New file.
4744 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4745 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4746 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4747 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4748 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4749 * testsuite/gas/arc/relax-b.d: Likewise.
4750 * testsuite/gas/arc/relax-b.s: Likewise.
4751
4752 2016-02-08 Nick Clifton <nickc@redhat.com>
4753
4754 * config/tc-ia64.c (dot_prologue): Fix formatting.
4755
4756 2016-02-04 Nick Clifton <nickc@redhat.com>
4757
4758 * config/obj-elf.c (obj_elf_change_section): Remove support for
4759 ARM NOREAD sections.
4760 * config/tc-arm.c (arm_elf_section_letter): Delete.
4761 * config/tc-arm.h (md_elf_section_letter): Delete.
4762 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4763 * testsuite/gas/arm/section-execute-only.d: Delete.
4764 * testsuite/gas/arm/section-execute-only.s: Delete.
4765
4766 2016-02-04 Nick Clifton <nickc@redhat.com>
4767
4768 PR target/19561
4769 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4770 to handle encoding of RRUX instruction.
4771 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4772 shift instructions.
4773 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4774
4775 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4776
4777 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4778 substitutions for BFD_RELOC_* as unsigned.
4779 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4780 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4781 * testsuite/gas/xtensa/loc.s: New file: loc test.
4782
4783 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4784
4785 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4786
4787 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4788
4789 PR gas/19520
4790 * NEWS: Mention new command line option -mrelax-relocations and
4791 new configure option --enable-x86-relax-relocations for x86
4792 target.
4793 * config.in: Regenerated.
4794 * configure.ac: Add --enable-x86-relax-relocations.
4795 (ac_default_x86_relax_relocations): New. Default to 1 except
4796 for x86 Solaris targets older than Solaris 12.
4797 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4798 * configure: Likewise.
4799 * config/tc-i386.c (generate_relax_relocations): New.
4800 (OPTION_MRELAX_RELOCATIONS): Likewise.
4801 (output_disp): Don't generate relax relocations if
4802 generate_relax_relocations is 0.
4803 (md_longopts): Add -mrelax-relocations.
4804 (md_show_usage): Likewise.
4805 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4806 * doc/c-i386.texi: Document -mrelax-relocations=.
4807 * testsuite/gas/i386/got-no-relax.d: New file.
4808 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4809 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4810 * testsuite/gas/i386/localpic.d: Likewise.
4811 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4812 * testsuite/gas/i386/reloc32.d: Likewise.
4813 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4814 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4815 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4816 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4817 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4818 x86-64-gotpcrel-no-relax.
4819
4820 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4821
4822 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4823 for x86 target.
4824
4825 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4826
4827 * NEWS: Remove duplicated marker for 2.26.
4828
4829 2016-02-02 Renlin Li <renlin.li@arm.com>
4830
4831 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4832
4833 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4834
4835 * testsuite/gas/ip2k/allinsn.d: New file.
4836 * testsuite/gas/ip2k/allinsn.s: New file.
4837 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4838
4839 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4840
4841 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4842 some load instructions.
4843 * testsuite/gas/epiphany/allinsn.d: Likewise.
4844 * testsuite/gas/epiphany/regression.d: Likewise.
4845
4846 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4847
4848 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4849 suffixes from instruction mnemonics in expected output.
4850 * testsuite/gas/epiphany/allinsn.d: Likewise.
4851 * testsuite/gas/epiphany/regression.d: Likewise.
4852 * testsuite/gas/epiphany/sample.d: Likewise.
4853
4854 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4855
4856 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4857 names.
4858 * testsuite/gas/epiphany/allinsn.d: Likewise.
4859 * testsuite/gas/epiphany/sample.d: Likewise.
4860
4861 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4862
4863 * testsuite/gas/epiphany/sample.d: Update expected output.
4864
4865 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4866
4867 * config/tc-arc.c (md_apply_fix): Allow addendum.
4868 (arc_reloc_op): Allow complex expressions for tpoff.
4869 (md_apply_fix): Handle resolved TLS local symbol.
4870 * testsuite/gas/arc/tls-relocs1.d: New file.
4871 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4872
4873 2016-02-01 Loria <Loria@phantasia.org>
4874
4875 PR target/19311
4876 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4877 efficiency and avoid an LLVM loop optimization bug.
4878
4879 2016-02-01 Nick Clifton <nickc@redhat.com>
4880
4881 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4882 message extending a negative 32-bit value into a larger signed
4883 value on a 32-bit host.
4884
4885 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4886
4887 PR gas/19532
4888 * configure.ac (compressed_debug_sections): Replace == with =.
4889 * configure: Regenerated.
4890
4891 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4892 H.J. Lu <hongjiu.lu@intel.com>
4893
4894 * config/tc-i386.c (avoid_fence): New.
4895 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4896 is true.
4897 (OPTION_FENCE_AS_LOCK_ADD): New.
4898 (md_longopts): Add -mfence-as-lock-add.
4899 (md_parse_option): Handle -mfence-as-lock-add.
4900 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4901 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4902 * testsuite/gas/i386/i386.exp: Run new tests.
4903 * testsuite/gas/i386/fence-as-lock-add.s: New.
4904 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4905 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4906 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4907 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4908
4909 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4910
4911 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4912 * configure: Regenerated.
4913
4914 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4915
4916 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4917 (OPTION_MOMIT_LOCK_PREFIX): This.
4918 (md_longopts): Updated.
4919 (md_parse_option): Likewise.
4920
4921 2016-01-25 Catherine Moore <clm@codesourcery.com>
4922
4923 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4924 if abicalls are in effect.
4925 * testsuite/gas/mips/sdata-gp.s: New test.
4926 * testsuite/gas/mips/sdata-gp.d: New expected output
4927 * testsuite/gas/mips/mips.exp: Run new test.
4928
4929 2016-01-25 Renlin Li <renlin.li@arm.com>
4930
4931 * testsuite/gas/arm/thumb2_it_search.d: New.
4932 * testsuite/gas/arm/thumb2_it_search.s: New.
4933
4934 2016-01-21 Nick Clifton <nickc@redhat.com>
4935
4936 PR gas/19454
4937 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4938 with arm-netbsdelf target.
4939 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4940
4941 2016-01-20 Nick Clifton <nickc@redhat.com>
4942
4943 PR 19456
4944 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4945 * testsuite/gas/arm/blx-bl-convert.d
4946 * testsuite/gas/arm/plt-1.d: Likewise.
4947 * testsuite/gas/arm/reloc-bad.d: Likewise.
4948 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4949 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4950 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4951 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4952
4953 PR 19499
4954 * doc/as.texinfo (Errors): Correct documentation describing the
4955 interaction of .file and .line with warning and error messages.
4956
4957 PR 19458
4958 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4959 * testsuite/gas/arm/archv8m-main.d: Likewise.
4960 * testsuite/gas/arm/archv8m-base.d: Likewise.
4961
4962 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4963
4964 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4965 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4966 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4967
4968 2016-01-20 Mickael Guene <mickael.guene@st.com>
4969 Terry Guo <terry.guo@arm.com>
4970
4971 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4972 SHF_ARM_NOREAD section flag.
4973 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4974 handle letter 'y'.
4975 (arm_elf_section_letter) : Declare it.
4976 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4977 SHF_ARM_NOREAD section flag.
4978 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4979
4980 * testsuite/gas/arm/section-execute-only.s: New test case.
4981 * testsuite/gas/arm/section-execute-only.d: Expected output.
4982
4983 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4984
4985 * config/tc-mips.c (micromips_insn_length): Remove the mention
4986 of 48-bit microMIPS instructions.
4987
4988 2016-01-18 Alan Modra <amodra@gmail.com>
4989
4990 * configure: Regenerate.
4991
4992 2016-01-17 Alan Modra <amodra@gmail.com>
4993
4994 * configure: Regenerate.
4995
4996 2016-01-17 Alan Modra <amodra@gmail.com>
4997
4998 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4999
5000 2016-01-14 Nick Clifton <nickc@redhat.com>
5001
5002 * testsuite/gas/rl78/sp-relative-movw.s: New test.
5003 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
5004 * testsuite/gas/rl78/rl78.exp: Run the new test.
5005
5006 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
5007
5008 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
5009 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
5010
5011 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
5012
5013 * config/tc-nios2.c (output_movia): Preset `code' to 0.
5014
5015 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
5016
5017 * config/tc-h8300.c (get_operand): Remove spurious condition in
5018 test for closing parenthesis.
5019
5020 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
5021
5022 * config/tc-arm.c (arm_ext_v8_2): New.
5023 (insns): Add "esb".
5024 * testsuite/gas/arm/armv8_2-a.d: New.
5025 * testsuite/gas/arm/armv8_2-a.s: New.
5026
5027 2016-01-12 Alan Modra <amodra@gmail.com>
5028
5029 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
5030
5031 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
5032
5033 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
5034 xvcmpnesp, xvcmpnesp.>: Delete tests.
5035 * testsuite/gas/ppc/power9.s: Likewise.
5036 * testsuite/gas/ppc/vsx3.d: Likewise.
5037 * testsuite/gas/ppc/vsx3.s: Likewise.
5038
5039 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
5040
5041 PR gas/13050
5042 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
5043 * testsuite/gas/m68k/p13050-1.s: New file.
5044 * testsuite/gas/m68k/p13050-2.d: New file.
5045 * testsuite/gas/m68k/p13050-2.s: New file.
5046
5047 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5048
5049 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
5050 * testsuite/gas/arc/add.d: Likewise.
5051 * testsuite/gas/arc/and.d: Likewise.
5052 * testsuite/gas/arc/asl.d: Likewise.
5053 * testsuite/gas/arc/asr.d: Likewise.
5054 * testsuite/gas/arc/bic.d: Likewise.
5055 * testsuite/gas/arc/extb.d: Likewise.
5056 * testsuite/gas/arc/extw.d: Likewise.
5057 * testsuite/gas/arc/j.d: Likewise.
5058 * testsuite/gas/arc/jl.d: Likewise.
5059 * testsuite/gas/arc/ld2.d: Likewise.
5060 * testsuite/gas/arc/lsr.d: Likewise.
5061 * testsuite/gas/arc/mov.d: Likewise.
5062 * testsuite/gas/arc/or.d: Likewise.
5063 * testsuite/gas/arc/pcl-relocs.d: Likewise.
5064 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
5065 * testsuite/gas/arc/pic-relocs.d: Likewise.
5066 * testsuite/gas/arc/plt-relocs.d: Likewise.
5067 * testsuite/gas/arc/rlc.d: Likewise.
5068 * testsuite/gas/arc/ror.d: Likewise.
5069 * testsuite/gas/arc/rrc.d: Likewise.
5070 * testsuite/gas/arc/sbc.d: Likewise.
5071 * testsuite/gas/arc/sda-relocs.d: Likewise.
5072 * testsuite/gas/arc/sda-relocs2.d: Likewise.
5073 * testsuite/gas/arc/sexb.d: Likewise.
5074 * testsuite/gas/arc/sexw.d: Likewise.
5075 * testsuite/gas/arc/st.d: Likewise.
5076 * testsuite/gas/arc/sub.d: Likewise.
5077 * testsuite/gas/arc/tls-relocs.d: Likewise.
5078 * testsuite/gas/arc/xor.d: Likewise.
5079
5080 2016-01-01 Alan Modra <amodra@gmail.com>
5081
5082 Update year range in copyright notice of all files.
5083
5084 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
5085 \f
5086 Copyright (C) 2016 Free Software Foundation, Inc.
5087
5088 Copying and distribution of this file, with or without modification,
5089 are permitted in any medium without royalty provided the copyright
5090 notice and this notice are preserved.
5091
5092 Local Variables:
5093 mode: change-log
5094 left-margin: 8
5095 fill-column: 74
5096 version-control: never
5097 End:
This page took 0.238263 seconds and 4 git commands to generate.