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