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