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