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