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