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