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