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