1 2016-12-13 Jiong Wang <jiong.wang@arm.com>
3 * gas/testsuite/gas/aarch64/addsub.d: Support ILP32 mode.
4 * gas/testsuite/gas/aarch64/advsimd-across.d: Likewise.
5 * gas/testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise.
6 * gas/testsuite/gas/aarch64/advsimd-fp16.d: Likewise.
7 * gas/testsuite/gas/aarch64/advsimd-misc.d: Likewise.
8 * gas/testsuite/gas/aarch64/advsisd-copy.d: Likewise.
9 * gas/testsuite/gas/aarch64/advsisd-misc.d: Likewise.
10 * gas/testsuite/gas/aarch64/alias.d: Likewise.
11 * gas/testsuite/gas/aarch64/armv8-ras-1.d: Likewise.
12 * gas/testsuite/gas/aarch64/b_1.d: Likewise.
13 * gas/testsuite/gas/aarch64/beq_1.d: Likewise.
14 * gas/testsuite/gas/aarch64/bitfield-dump: Likewise.
15 * gas/testsuite/gas/aarch64/bitfield-no-aliases.d: Likewise.
16 * gas/testsuite/gas/aarch64/codealign.d: Likewise.
17 * gas/testsuite/gas/aarch64/codealign_1.d: Likewise.
18 * gas/testsuite/gas/aarch64/crc32-directive.d: Likewise.
19 * gas/testsuite/gas/aarch64/crc32.d: Likewise.
20 * gas/testsuite/gas/aarch64/crypto-directive.d: Likewise.
21 * gas/testsuite/gas/aarch64/crypto.d: Likewise.
22 * gas/testsuite/gas/aarch64/dwarf.d: Likewise.
23 * gas/testsuite/gas/aarch64/float-fp16.d: Likewise.
24 * gas/testsuite/gas/aarch64/floatdp2.d: Likewise.
25 * gas/testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
26 * gas/testsuite/gas/aarch64/fp-const0-parse.d: Likewise.
27 * gas/testsuite/gas/aarch64/fp_cvt_int.d: Likewise.
28 * gas/testsuite/gas/aarch64/fpmov.d: Likewise.
29 * gas/testsuite/gas/aarch64/inst-directive.d: Likewise.
30 * gas/testsuite/gas/aarch64/ldr_1.d: Likewise.
31 * gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
32 * gas/testsuite/gas/aarch64/ldst-exclusive.d: Likewise.
33 * gas/testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
34 * gas/testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
35 * gas/testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
36 * gas/testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
37 * gas/testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
38 * gas/testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
39 * gas/testsuite/gas/aarch64/lor-directive.d: Likewise.
40 * gas/testsuite/gas/aarch64/lor.d: Likewise.
41 * gas/testsuite/gas/aarch64/lse-atomic.d: Likewise.
42 * gas/testsuite/gas/aarch64/mapmisc.d: Likewise.
43 * gas/testsuite/gas/aarch64/mov-no-aliases.d: Likewise.
44 * gas/testsuite/gas/aarch64/mov.d: Likewise.
45 * gas/testsuite/gas/aarch64/movi.d: Likewise.
46 * gas/testsuite/gas/aarch64/movw_label.d: Likewise.
47 * gas/testsuite/gas/aarch64/msr.d: Likewise.
48 * gas/testsuite/gas/aarch64/neon-fp-cvt-int.d: Likewise.
49 * gas/testsuite/gas/aarch64/neon-frint.d: Likewise.
50 * gas/testsuite/gas/aarch64/neon-ins.d: Likewise.
51 * gas/testsuite/gas/aarch64/neon-not.d: Likewise.
52 * gas/testsuite/gas/aarch64/neon-vfp-reglist-post.d: Likewise.
53 * gas/testsuite/gas/aarch64/neon-vfp-reglist.d: Likewise.
54 * gas/testsuite/gas/aarch64/no-aliases.d: Likewise.
55 * gas/testsuite/gas/aarch64/optional.d: Likewise.
56 * gas/testsuite/gas/aarch64/pac.d: Likewise.
57 * gas/testsuite/gas/aarch64/pan-directive.d: Likewise.
58 * gas/testsuite/gas/aarch64/pan.d: Likewise.
59 * gas/testsuite/gas/aarch64/rdma-directive.d: Likewise.
60 * gas/testsuite/gas/aarch64/rdma.d: Likewise.
61 * gas/testsuite/gas/aarch64/reloc-dtprel_g0.d: Likewise.
62 * gas/testsuite/gas/aarch64/reloc-dtprel_g0_nc.d: Likewise.
63 * gas/testsuite/gas/aarch64/reloc-dtprel_g1.d: Likewise.
64 * gas/testsuite/gas/aarch64/reloc-dtprel_hi12.d: Likewise.
65 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-1.d: Likewise.
66 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc.d: Likewise.
67 * gas/testsuite/gas/aarch64/reloc-tlsldm-1.d: Likewise.
68 * gas/testsuite/gas/aarch64/reloc-tlsldm-page-1.d: Likewise.
69 * gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.d: Likewise.
70 * gas/testsuite/gas/aarch64/shifted.d: Likewise.
71 * gas/testsuite/gas/aarch64/sve.d: Likewise.
72 * gas/testsuite/gas/aarch64/symbol.d: Likewise.
73 * gas/testsuite/gas/aarch64/sysreg-1.d: Likewise.
74 * gas/testsuite/gas/aarch64/sysreg-2.d: Likewise.
75 * gas/testsuite/gas/aarch64/sysreg-3.d: Likewise.
76 * gas/testsuite/gas/aarch64/sysreg.d: Likewise.
77 * gas/testsuite/gas/aarch64/system-2.d: Likewise.
78 * gas/testsuite/gas/aarch64/system-3.d: Likewise.
79 * gas/testsuite/gas/aarch64/system.d: Likewise.
80 * gas/testsuite/gas/aarch64/tbz_1.d: Likewise.
81 * gas/testsuite/gas/aarch64/tlbi_op.d: Likewise.
82 * gas/testsuite/gas/aarch64/tls.d: Likewise.
83 * gas/testsuite/gas/aarch64/uao-directive.d: Likewise.
84 * gas/testsuite/gas/aarch64/uao.d: Likewise.
85 * gas/testsuite/gas/aarch64/virthostext-directive.d: Likewise.
86 * gas/testsuite/gas/aarch64/virthostext.d: Likewise.
87 * gas/testsuite/gas/aarch64/adr_1.d: Restrict test under -mabi=lp64.
88 * gas/testsuite/gas/aarch64/int-insns.d: Likewise.
89 * gas/testsuite/gas/aarch64/programmer-friendly.d: Likewise.
90 * gas/testsuite/gas/aarch64/reloc-data.d: Likewise.
91 * gas/testsuite/gas/aarch64/reloc-dtprel_g1_nc.d: Likewise.
92 * gas/testsuite/gas/aarch64/reloc-dtprel_g2.d: Likewise.
93 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst16.d: Likewise.
94 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst32.d: Likewise.
95 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst64.d: Likewise.
96 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst8.d: Likewise.
97 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst16.d: Likewise.
98 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst32.d: Likewise.
99 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst64.d: Likewise.
100 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst8.d: Likewise.
101 * gas/testsuite/gas/aarch64/reloc-gotoff_g0_nc.d: Likewise.
102 * gas/testsuite/gas/aarch64/reloc-gotoff_g1.d: Likewise.
103 * gas/testsuite/gas/aarch64/reloc-gottprel_g0_nc.d: Likewise.
104 * gas/testsuite/gas/aarch64/reloc-gottprel_g1.d: Likewise.
105 * gas/testsuite/gas/aarch64/reloc-insn.d: Likewise.
106 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g0_nc.d: Likewise.
107 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g1.d: Likewise.
108 * gas/testsuite/gas/aarch64/reloc-tlsgd_g0_nc.d: Likewise.
109 * gas/testsuite/gas/aarch64/reloc-tlsgd_g1.d: Likewise.
110 * gas/testsuite/gas/aarch64/tail_padding.d: Likewise.
111 * gas/testsuite/gas/aarch64/tls-desc.d: Likewise.
113 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
115 * config/tc-mips.c (mips16_macro_build) <'>'>: Remove case.
117 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
119 * testsuite/gas/mips/mips16-extend.d: New test.
120 * testsuite/gas/mips/mips16-extend.s: New test source.
121 * testsuite/gas/mips/mips.exp: Run the new test.
123 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
125 * config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local
126 variable to `space_buf'.
128 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
130 * config/tc-arm.c (encode_arm_shift): Rename `index' local
131 variable to `op_index'.
133 2016-12-08 Alan Modra <amodra@gmail.com>
135 * configure: Regenerate.
137 2016-12-07 Maciej W. Rozycki <macro@imgtec.com>
139 * config/tc-mips.c (is_opcode_valid): Use local `isa'
142 2016-12-06 Nick Clifton <nickc@redhat.com>
145 * read.c (s_space): Place an upper limit on the number of spaces
149 * testsuite/gas/mmix/err-byte1.s: Adjust expected warning messages
150 to account for patch to next_char_of_string.
152 2016-12-05 Nick Clifton <nickc@redhat.com>
155 * read.c (next_char_of_string): Do end advance past the end of the
159 * as.h (SKIP_ALL_WHITESPACE): New macro.
160 * expr.c (operand): Use it.
162 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
164 * config/tc-arm.c (do_vcmla, do_vcadd): Define.
165 (neon_scalar_for_vcmla): Define.
166 (enum operand_parse_code): Add OP_IROT1 and OP_IROT2.
167 (NEON_ENC_TAB): Add DDSI and QQSI variants.
168 (insns): Add vcmla and vcadd.
169 * testsuite/gas/arm/armv8_3-a-simd.d: New.
170 * testsuite/gas/arm/armv8_3-a-simd.s: New.
171 * testsuite/gas/arm/armv8_3-a-simd-bad.d: New.
172 * testsuite/gas/arm/armv8_3-a-simd-bad.l: New.
173 * testsuite/gas/arm/armv8_3-a-simd-bad.s: New.
175 2016-12-05 Claudiu Zissulescu <claziss@synopsys.com>
177 * testsuite/gas/arc/textauxregister-1.d: New file.
178 * testsuite/gas/arc/textauxregister-1.s: Likewise.
179 * testsuite/gas/arc/textcondcode-err.s: Likewise.
180 * testsuite/gas/arc/textcoreregister-err.s: Likewise.
181 * config/tc-arc.c (tokenize_extregister): Return bfd_boolean,
182 don't check second argument of extension auxiliary register for
184 (arc_extcorereg): Consider the return of tokenize_extregister
187 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
189 * config/tc-arm.c (arm_ext_v8_3, do_vjcvt): Define.
191 * testsuite/gas/aarch64/armv8_3-a-fp.s: New.
192 * testsuite/gas/aarch64/armv8_3-a-fp.d: New.
193 * testsuite/gas/aarch64/armv8_3-a-fp-bad.s: New.
194 * testsuite/gas/aarch64/armv8_3-a-fp-bad.d: New.
195 * testsuite/gas/aarch64/armv8_3-a-fp-bad.l: New.
197 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
199 * config/tc-arm.c (arm_archs): Add "armv8.3-a".
200 * doc/c-arm.texi (-march): Add "armv8.3-a".
202 2016-12-02 Claudiu Zissulescu <claziss@synopsys.com>
204 * testsuite/gas/arc/cpu-em-err.s: New file.
205 * testsuite/gas/arc/cpu-em4-err.s: Likewise.
206 * testsuite/gas/arc/cpu-fpuda-err.s: Likewise.
207 * testsuite/gas/arc/cpu-hs-err.s: Likewise.
208 * testsuite/gas/arc/cpu-quarkse-err.s: Likewise.
209 * testsuite/gas/arc/noargs_a7.s: Add .cpu.
210 * config/tc-arc.c (ARC_CPU_TYPE_A6xx): Define.
211 (ARC_CPU_TYPE_A7xx): Likewise.
212 (ARC_CPU_TYPE_AV2EM): Likewise.
213 (ARC_CPU_TYPE_AV2HS): Likewise.
214 (cpu_types): Update list of known CPU names.
215 (arc_show_cpu_list): New function.
216 (md_show_usage): Print accepted CPU names.
217 (cl_features): New variable.
218 (arc_select_cpu): Use cl_features.
219 (arc_option): Allow various .cpu names.
220 (md_parse_option): Set cl_features.
221 * doc/c-arc.texi: Update -mcpu and .cpu documentation.
223 2016-12-02 Josh Conner <joshconner@google.com>
225 * configure.tgt: Add support for fuchsia (OS).
227 2016-12-01 Nick Clifton <nickc@redhat.com>
230 * app.c (do_scrub_chars): Do not attempt to unget EOF.
233 * subsegs.c (subsegs_print_statistics): Do nothing if no output
237 * symbols.c (resolve_symbol_value): Gracefully handle erroneous
238 symbolic expressions.
240 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
242 * config/tc-arc.c (find_opcode_match): New function argument
244 (assemble_tokens): Collect and report the eventual error message
245 found during opcode matching process.
246 * testsuite/gas/arc/lpcount-err.s: New file.
247 * testsuite/gas/arc/add_s-err.s: Update error message.
249 2016-11-28 Ramiro Polla <ramiro@hex-rays.com>
250 Amit Pawar <amit.pawar@amd.com>
253 * testsuite/gas/i386/xop32reg.d: New file.
254 * testsuite/gas/i386/xop32reg.s: New file.
255 * testsuite/gas/i386/i386.exp: Run new test.
257 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
259 * arparse.y: Fix spelling in comments.
261 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
263 * config/bfin-lex.l: Fix spelling in comments.
265 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
267 * testsuite/gas/all/gas.exp: Fix spelling in comments.
268 * testsuite/gas/cris/cris.exp: Fix spelling in comments.
269 * testsuite/gas/hppa/basic/basic.exp: Fix spelling in comments.
270 * testsuite/gas/hppa/parse/parse.exp: Fix spelling in comments.
271 * testsuite/gas/hppa/reloc/reloc.exp: Fix spelling in comments.
272 * testsuite/gas/sh/arch/arch.exp: Fix spelling in comments.
273 * testsuite/gas/tic4x/tic4x.exp: Fix spelling in comments.
275 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
277 * testsuite/gas/arm/local_function.d: Fix spelling in comments.
278 * testsuite/gas/arm/req.s: Fix spelling in comments.
279 * testsuite/gas/arm/vfp1.s: Fix spelling in comments.
280 * testsuite/gas/arm/vfp1_t2.s: Fix spelling in comments.
281 * testsuite/gas/arm/vfp1xD.s: Fix spelling in comments.
282 * testsuite/gas/arm/vfp1xD_t2.s: Fix spelling in comments.
283 * testsuite/gas/mcore/allinsn.s: Fix spelling in comments.
284 * testsuite/gas/mips/24k-triple-stores-5.s: Fix spelling in comments.
285 * testsuite/gas/mips/delay.d: Fix spelling in comments.
286 * testsuite/gas/mips/nodelay.d: Fix spelling in comments.
287 * testsuite/gas/mips/r5900-full.s: Fix spelling in comments.
288 * testsuite/gas/mips/r5900.s: Fix spelling in comments.
290 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
292 * as.h: Fix spelling in comments.
293 * config/obj-ecoff.c: Fix spelling in comments.
294 * config/obj-macho.c: Fix spelling in comments.
295 * config/tc-aarch64.c: Fix spelling in comments.
296 * config/tc-arc.c: Fix spelling in comments.
297 * config/tc-arm.c: Fix spelling in comments.
298 * config/tc-avr.c: Fix spelling in comments.
299 * config/tc-cr16.c: Fix spelling in comments.
300 * config/tc-epiphany.c: Fix spelling in comments.
301 * config/tc-frv.c: Fix spelling in comments.
302 * config/tc-hppa.c: Fix spelling in comments.
303 * config/tc-hppa.h: Fix spelling in comments.
304 * config/tc-i370.c: Fix spelling in comments.
305 * config/tc-m68hc11.c: Fix spelling in comments.
306 * config/tc-m68k.c: Fix spelling in comments.
307 * config/tc-mcore.c: Fix spelling in comments.
308 * config/tc-mep.c: Fix spelling in comments.
309 * config/tc-metag.c: Fix spelling in comments.
310 * config/tc-mips.c: Fix spelling in comments.
311 * config/tc-mn10200.c: Fix spelling in comments.
312 * config/tc-mn10300.c: Fix spelling in comments.
313 * config/tc-nds32.c: Fix spelling in comments.
314 * config/tc-nios2.c: Fix spelling in comments.
315 * config/tc-ns32k.c: Fix spelling in comments.
316 * config/tc-pdp11.c: Fix spelling in comments.
317 * config/tc-ppc.c: Fix spelling in comments.
318 * config/tc-riscv.c: Fix spelling in comments.
319 * config/tc-rx.c: Fix spelling in comments.
320 * config/tc-score.c: Fix spelling in comments.
321 * config/tc-score7.c: Fix spelling in comments.
322 * config/tc-sparc.c: Fix spelling in comments.
323 * config/tc-tic54x.c: Fix spelling in comments.
324 * config/tc-vax.c: Fix spelling in comments.
325 * config/tc-xgate.h: Fix spelling in comments.
326 * config/tc-xtensa.c: Fix spelling in comments.
327 * config/tc-z80.c: Fix spelling in comments.
328 * dwarf2dbg.c: Fix spelling in comments.
329 * input-file.h: Fix spelling in comments.
330 * itbl-ops.c: Fix spelling in comments.
331 * read.c: Fix spelling in comments.
332 * stabs.c: Fix spelling in comments.
333 * symbols.c: Fix spelling in comments.
334 * write.c: Fix spelling in comments.
335 * testsuite/gas/all/itbl-test.c: Fix spelling in comments.
336 * testsuite/gas/tic4x/opclasses.h: Fix spelling in comments.
338 2016-11-25 Jose E. Marchesi <jose.marchesi@oracle.com>
340 * config/tc-sparc.c (sparc_ip): Avoid emitting a cbcond error
341 messages for non-cbcond instructions.
342 * testsuite/gas/sparc/cbcond-diag.s: New file.
343 * testsuite/gas/sparc/cbcond-diag.l: Likewise.
344 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run cbcond-diag tests.
346 2016-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
348 * testsuite/gas/sparc/sparc.exp (gas_64_check): Make sure the
349 hwcaps-bump test is run with 64-bit objects.
351 2016-11-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
353 * config/tc-riscv.c: Add missing break.
355 2016-11-23 Alan Modra <amodra@gmail.com>
357 * po/POTFILES.in: Regenerate.
359 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
361 * configure: Regenerate.
363 2016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
365 * config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
367 (sparc_arch): Clarify the new role of the hwcap_allowed and
368 hwcap2_allowed fields.
369 (sparc_arch_table): Remove HWS_* and HWS2_* instances from
370 hwcap_allowed and hwcap2_allowed respectively.
371 (md_parse_option): Include the opcode arch hwcaps when processing
373 (sparc_ip): Use the current opcode arch hwcaps to update
374 hwcap_allowed, as well as the hwcaps of the instruction triggering
376 * testsuite/gas/sparc/hwcaps-bump.s: New file.
377 * testsuite/gas/sparc/hwcaps-bump.l: Likewise.
378 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
381 2016-11-22 Claudiu Zissulescu <claziss@synopsys.com>
383 * testsuite/gas/arc/b.d: Update test result.
385 2016-11-22 Alan Modra <amodra@gmail.com>
388 * config/tc-ppc.c: Delete VLE insn defines.
389 (md_assemble): Swap use_a_reloc and use_d_reloc.
390 * testsuite/gas/ppc/vle-reloc.d: Update.
392 2016-11-21 Renlin Li <renlin.li@arm.com>
395 * config/tc-arm.c (encode_arm_shift): Don't assert for operands not
397 * testsuite/gas/arm/add-shift-two.d: New.
398 * testsuite/gas/arm/add-shift-two.s: New.
400 2016-11-21 Alan Modra <amodra@gmail.com>
402 * configure.ac: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
403 * Makefile.am (comparison): Rewrite using do_compare.
404 * configure: Regenerate.
405 * Makefile.in: Regenerate.
406 * doc/Makefile.in: Regenerate.
408 2016-11-18 Claudiu Zissulescu <claziss@synopsys.com>
410 * testsuite/gas/arc/cl-warn.s: New file.
411 * testsuite/gas/arc/cpu-pseudop-1.d: Likewise.
412 * testsuite/gas/arc/cpu-pseudop-1.s: Likewise.
413 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
414 * testsuite/gas/arc/cpu-pseudop-2.s: Likewise.
415 * testsuite/gas/arc/cpu-warn2.s: Likewise.
416 * config/tc-arc.c (selected_cpu): Initialize.
417 (feature_type): New struct.
418 (feature_list): New variable.
419 (arc_check_feature): New function.
420 (arc_select_cpu): Check for .cpu duplicates. Don't overwrite the
421 current cpu features. Check if a feature is available for a given
423 (md_parse_option): Test if features are available for a given cpu.
425 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
427 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
428 * testsuite/gas/aarch64/advsimd-armv8_3.d: New.
429 * testsuite/gas/aarch64/advsimd-armv8_3.s: New.
430 * testsuite/gas/aarch64/illegal-fcmla.s: New.
431 * testsuite/gas/aarch64/illegal-fcmla.l: New.
432 * testsuite/gas/aarch64/illegal-fcmla.d: New.
434 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
436 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
437 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
438 * testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
439 * testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
440 * testsuite/gas/aarch64/illegal-ldapr.l: Likewise.
442 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
444 * testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
445 * testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
446 * testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
447 * testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
448 * testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
449 * testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
450 * testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
451 * testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.
453 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
455 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
456 (fix_insn): Likewise.
457 (warn_unpredictable_ldst): Handle ldst_imm10.
458 * testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
459 * testsuite/gas/aarch64/pac.d: Likewise.
460 * testsuite/gas/aarch64/illegal-ldraa.s: New.
461 * testsuite/gas/aarch64/illegal-ldraa.l: New.
462 * testsuite/gas/aarch64/illegal-ldraa.d: New.
464 2016-11-15 Nick Clifton <nickc@redhat.com>
467 * config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in
468 the .eh_frame section.
470 2016-11-13 Anthony Green <green@moxielogic.org>
472 * config/tc-moxie.c (md_assemble): Assemble 'bad' opcode.
474 2016-11-11 Nick Clifton <nickc@redhat.com>
477 * expr.c (integer_constant): If tc_allow_L_suffix is defined and
478 non-zero then accept a L or LL suffix.
479 * testsuite/gas/sparc/pr20732.d: New test source file.
480 * testsuite/gas/sparc/pr20732.d: New test output file.
481 * testsuite/gas/sparc/sparc.exp: Run new test.
483 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
485 * testsuite/gas/aarch64/pac.s: Add ARMv8.3 branch instruction tests.
486 * testsuite/gas/aarch64/pac.d: Likewise.
488 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
490 * config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
491 (parse_operands): Likewise.
492 * testsuite/gas/aarch64/pac.s: Add pacga.
493 * testsuite/gas/aarch64/pac.d: Add pacga.
495 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
497 * testsuite/gas/aarch64/pac.s: New.
498 * testsuite/gas/aarch64/pac.d: New.
500 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
502 * testsuite/gas/aarch64/sysreg-3.s: New.
503 * testsuite/gas/aarch64/sysreg-3.d: New.
504 * testsuite/gas/aarch64/illegal-sysreg-3.l: New.
505 * testsuite/gas/aarch64/illegal-sysreg-3.d: New.
507 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
509 * testsuite/gas/aarch64/system-3.s: New.
510 * testsuite/gas/aarch64/system-3.d: New.
511 * testsuite/gas/aarch64/system.d: Update expected output.
513 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
515 * config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
516 * doc/c-aarch64.texi (-march): Likewise.
518 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
520 * config/tc-aarch64.c (aarch64_features): Fix "simd" and "crypto".
521 * testsuite/gas/aarch64/illegal-crypto-nofp.d: New.
522 * testsuite/gas/aarch64/illegal-crypto-nofp.l: New.
523 * testsuite/gas/aarch64/illegal-fp16-nofp.d: New.
524 * testsuite/gas/aarch64/illegal-fp16-nofp.l: New.
525 * testsuite/gas/aarch64/illegal-fp16-nofp.s: New.
527 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
530 * testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
531 * testsuite/gas/i386/opcode-intel.d: Updated.
532 * testsuite/gas/i386/opcode-suffix.d: Likewise.
533 * testsuite/gas/i386/opcode.d: Likewise.
534 * testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
536 * testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
537 * testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.
539 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
542 * testsuite/gas/i386/opcode-suffix.d: Updated.
544 2016-11-07 H.J. Lu <hongjiu.lu@intel.com>
547 * testsuite/gas/i386/i386.exp: Run fpu-bad.
548 * testsuite/gas/i386/fpu-bad.d: New file.
549 * testsuite/gas/i386/fpu-bad.s: Likewise.
551 2016-11-04 Nathan Sidwell <nathan@acm.org>
554 * input-scrub.c (partial_size): Make size_t.
555 (buffer_length): Likewise. Adjust meaning.
556 (struct input_save): Adjust partial_size type.
557 (input_scrub_reinit): New.
558 (input_scrub_push, input_scrub_begin): Use it.
559 (input_scrub_next_buffer): Fix buffer extension logic. Only scan
560 newly read buffer for newline.
562 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
564 * config/tc-arc.c (find_opcode_match): Use insert function to
565 validate matching address type operands.
566 * testsuite/gas/arc/nps400-10.d: New file.
567 * testsuite/gas/arc/nps400-10.s: New file.
569 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
571 * config/tc-arm.c (cortex-m33): Declare new processor.
572 * doc/c-arm.texi (-mcpu ARM command line option): Document new
573 Cortex-M33 processor.
574 * NEWS: Mention ARM Cortex-M33 support.
576 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
578 * config/tc-arm.c (cortex-m23): Declare new processor.
579 * doc/c-arm.texi (-mcpu ARM command line option): Document new
580 Cortex-M23 processor.
581 * NEWS: Mention ARM Cortex-M23 support.
583 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
584 Andrew Waterman <andrew@sifive.com>
586 * Makefile.am (CPU_DOCS): Add c-riscv.texi.
587 * Makefile.in: Regenerate.
588 * doc/all.texi: Set RISCV.
589 * doc/as.texinfo: Add RISCV options.
590 Add RISC-V-Dependent node.
591 Include c-riscv.texi.
592 * doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
594 2016-11-03 Graham Markall <graham.markall@embecosm.com>
596 * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm
597 operands are out of the range of an s9, in order to fix the test.
598 * testsuite/gas/arc/nps400-6.d: Updated to match new expected output.
600 2016-11-03 Graham Markall <graham.markall@embecosm.com>
602 * testsuite/gas/arc/nps-400-9.d: Added.
603 * testsuite/gas/arc/nps-400-9.s: Added.
605 2016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
607 * config/tc-arc.c (struct arc_insn): Change type of insn field.
608 (md_number_to_chars_midend): Support 6- and 8-byte values.
609 (emit_insn0): Update debug output.
610 (find_opcode_match): Likewise.
611 (build_fake_opcode_hash_entry): Delete.
612 (find_special_case_long_opcode): Delete.
613 (find_special_case): Remove long format special case handling.
614 (insert_operand): Change instruction type and update debug print
616 (assemble_insn): Change instruction type, update debug print
617 formats, and remove unneeded assert.
619 2016-11-03 Graham Markall <graham.markall@embecosm.com>
621 * config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
624 2016-11-03 Graham Markall <graham.markall@embecosm.com>
626 * config/tc-arc.c (struct arc_insn): Replace short_insn flag with
628 (apply_fixups): Update to use len field.
629 (emit_insn0): Simplify code, making use of len field.
630 (md_convert_frag): Update to use len field.
631 (assemble_insn): Update to use len field.
633 2016-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
635 * config/tc-aarch64.c (aarch64_cpus): Add falkor.
636 * config/tc-arm.c (arm_cpus): Likewise.
637 * doc/c-aarch64.texi: Likewise.
638 * doc/c-arm.texi: Likewise.
640 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
643 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
644 * testsuite/gas/i386/opcode-intel.d: Updated.
645 * testsuite/gas/i386/opcode.d: Likewise.
647 2016-11-02 Jiong Wang <jiong.wang@arm.com>
649 * config/tc-arm.c (SBIT_SHIFT): New.
650 (T2_SBIT_SHIFT): Likewise.
651 (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
652 (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
654 * testsuite/gas/arm/archv6t2-bad.s: New error case.
655 * testsuite/gas/arm/archv6t2-bad.l: New error match.
656 * testsuite/gas/arm/archv6t2.s: New testcase.
657 * testsuite/gas/arm/archv6t2.d: New expected result.
658 * testsuite/gas/arm/archv8m.s: New testcase.
659 * testsuite/gas/arm/archv8m-base.d: New expected result.
660 * testsuite/gas/arm/archv8m-main.d: Likewise.
661 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
663 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
665 * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
666 (cpu_noarch): Add noavx512_4vnniw.
667 * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
668 * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
669 * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
670 * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
671 * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
672 * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
673 * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
674 * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
675 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
676 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
677 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
678 * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
679 * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
680 * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
682 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
684 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
685 (cpu_noarch): Add noavx512_4fmaps.
686 (process_operands): Handle implicit quad group.
687 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
688 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
689 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
690 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
691 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
692 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
693 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
694 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
695 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
696 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
697 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
698 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
699 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
700 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
701 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
702 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
703 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
704 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
705 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
706 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
707 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
708 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
710 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
711 Andrew Waterman <andrew@sifive.com>
713 Add support for RISC-V architecture.
714 * Makefile.am: Add riscv files.
715 * Makefile.in: Regenerate.
716 * NEWS: Mention the support for this architecture.
717 * configure.in: Define a default architecture.
718 * configure: Regenerate.
719 * configure.tgt: Add entries for riscv.
720 * doc/as.texinfo: Likewise.
721 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
722 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
723 * config/tc-riscv.c: New file.
724 * config/tc-riscv.h: New file.
725 * doc/c-riscv.texi: New file.
726 * testsuite/gas/riscv: New directory.
727 * testsuite/gas/riscv/riscv.exp: New file.
728 * testsuite/gas/riscv/t_insns.d: New file.
729 * testsuite/gas/riscv/t_insns.s: New file.
731 2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
733 * config/tc-arc.c (arc_target): Delete.
734 (arc_target_name): Delete.
735 (arc_features): Delete.
736 (arc_mach_type): Delete.
737 (mach_type_specified_p): Delete.
738 (enum mach_selection_type): New enum.
739 (mach_selection_mode): New static global.
740 (selected_cpu): New static global.
741 (arc_eflag): Rename to ...
742 (arc_initial_eflag): ...this, and make const.
743 (arc_select_cpu): Update comment, new parameter, check how
744 previous machine type selection was made, and record this
745 selection. Use selected_cpu instead of old globals.
746 (arc_option): Remove use of arc_get_mach, instead use
747 arc_select_cpu to validate machine type selection. Use
748 selected_cpu over old globals.
749 (allocate_tok): Use selected_cpu over old globals.
750 (find_opcode_match): Likewise.
751 (assemble_tokens): Likewise.
752 (arc_cons_fix_new): Likewise.
753 (arc_extinsn): Likewise.
754 (arc_extcorereg): Likewise.
755 (md_begin): Update default machine type selection, use
756 selected_cpu over old globals.
757 (md_parse_option): Update machine type selection option handling,
758 use selected_cpu over old globals.
759 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
761 2016-10-26 Alan Modra <amodra@gmail.com>
763 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
764 * config/rl78-parse.y: Do use old %name-prefix syntax.
765 * config/rx-parse.y: Likewise.
767 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
769 * config/tc-i386.c (cpu_arch): Remove .pcommit.
770 * doc/c-i386.texi: Likewise.
771 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
772 * testsuite/gas/i386/pcommit-intel.d: Removed.
773 * testsuite/gas/i386/pcommit.d: Likewise.
774 * testsuite/gas/i386/pcommit.s: Likewise.
775 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
776 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
777 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
779 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
782 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
783 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
784 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
786 2016-10-19 Renlin Li <renlin.li@arm.com>
788 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
789 for register-shifted register instructions.
790 * testsuite/gas/arm/shift-bad-pc.d: New.
791 * testsuite/gas/arm/shift-bad-pc.l: New.
792 * testsuite/gas/arm/shift-bad-pc.s: New.
794 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
796 * testsuite/arc/dis-inv.d: Fixed matching.
798 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
800 * testsuite/arc/dis-inv.s: Test to validate patch.
801 * testsuite/arc/dis-inv.d: Likewise.
803 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
805 * testsuite/gas/arc/shortlimm_a7.d: New file.
806 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
807 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
808 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
810 2016-10-11 Nick Clifton <nickc@redhat.com>
812 * gas/arm/tls.d: Adjust output to match change in objdump.
814 2016-10-11 Jiong Wang <jiong.wang@arm.com>
817 * testsuite/gas/aarch64/alias-2.d: Update expected results.
819 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
821 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
822 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
823 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
824 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
825 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
826 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
827 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
828 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
829 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
831 2016-10-08 Alan Modra <amodra@gmail.com>
833 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
834 config/rx-parse.y. Move config/bfin-parse.y.
835 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
836 ($(srcdir)/config/rl78-defs.h): New rule.
837 * Makefile.in: Regenerate.
839 2016-10-07 Jiong Wang <jiong.wang@arm.com>
842 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
844 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
846 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
848 * testsuite/gas/arc/leave_enter.d: New file.
849 * testsuite/gas/arc/leave_enter.s: Likewise.
850 * testsuite/gas/arc/regnames.d: Likewise.
851 * testsuite/gas/arc/regnames.s: Likewise.
852 * config/tc-arc.c (arc_parse_name): Don't match reg names against
853 confirmed symbol names.
855 2016-10-06 Alan Modra <amodra@gmail.com>
857 * app.c (do_scrub_chars): Move fall through comment.
858 * expr.c (operand): Likewise.
860 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
863 * dw2gencfi.c (dot_cfi_sections): Refine the check for
864 inconsistent .cfi_sections to only consider compact vs non
866 * testsuite/gas/cfi/cfi-common-9.d: New file.
867 * testsuite/gas/cfi/cfi-common-9.s: New file.
868 * testsuite/gas/cfi/cfi.exp: Run new test.
870 2016-10-06 Alan Modra <amodra@gmail.com>
872 * app.c: Add missing fall through comments.
873 * dw2gencfi.c: Likewise.
875 * config/tc-alpha.c: Likewise.
876 * config/tc-arc.c: Likewise.
877 * config/tc-arm.c: Likewise.
878 * config/tc-cr16.c: Likewise.
879 * config/tc-crx.c: Likewise.
880 * config/tc-dlx.c: Likewise.
881 * config/tc-h8300.c: Likewise.
882 * config/tc-hppa.c: Likewise.
883 * config/tc-i370.c: Likewise.
884 * config/tc-i386.c: Likewise.
885 * config/tc-i960.c: Likewise.
886 * config/tc-ia64.c: Likewise.
887 * config/tc-m68hc11.c: Likewise.
888 * config/tc-m68k.c: Likewise.
889 * config/tc-mep.c: Likewise.
890 * config/tc-metag.c: Likewise.
891 * config/tc-microblaze.c: Likewise.
892 * config/tc-mips.c: Likewise.
893 * config/tc-ns32k.c: Likewise.
894 * config/tc-rx.c: Likewise.
895 * config/tc-score.c: Likewise.
896 * config/tc-score7.c: Likewise.
897 * config/tc-sh.c: Likewise.
898 * config/tc-tic4x.c: Likewise.
899 * config/tc-vax.c: Likewise.
900 * config/tc-xstormy16.c: Likewise.
901 * config/tc-z80.c: Likewise.
902 * config/tc-z8k.c: Likewise.
903 * config/obj-elf.c: Likewise.
904 * config/tc-i386.c: Likewise.
905 * depend.c: Spell fall through comments consistently.
906 * config/tc-arm.c: Likewise.
907 * config/tc-d10v.c: Likewise.
908 * config/tc-i960.c: Likewise.
909 * config/tc-ia64.c: Likewise.
910 * config/tc-m68k.c: Likewise.
911 * config/tc-mcore.c: Likewise.
912 * config/tc-mep.c: Likewise.
913 * config/tc-ns32k.c: Likewise.
914 * config/tc-visium.c: Likewise.
915 * config/tc-xstormy16.c: Likewise.
916 * config/tc-z8k.c: Likewise.
918 2016-10-06 Alan Modra <amodra@gmail.com>
920 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
922 2016-10-06 Alan Modra <amodra@gmail.com>
924 * config/tc-arc.c (find_opcode_match): Add missing break.
925 * config/tc-i960.c (get_cdisp): Likewise.
926 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
927 * config/tc-mt.c (md_parse_option): Likewise.
928 * config/tc-nds32.c (nds32_apply_fix): Likewise.
929 * config/tc-hppa.c (pa_ip): Assert rather than testing last
930 condition of multiple if statements.
931 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
932 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
933 out of case rather than falling into next case. Formatting.
935 2016-10-06 Alan Modra <amodra@gmail.com>
937 * config/rl78-parse.y: Don't use deprecated %name-prefix.
938 * config/rx-parse.y: Likewise.
940 2016-09-29 Jiong Wang <jiong.wang@arm.com>
943 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
944 testcases for H and S variants. New low index testcases for D variant.
945 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
947 2016-09-29 Alan Modra <amodra@gmail.com>
949 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
950 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
951 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
953 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
955 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
958 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
960 * Makefile.in: Regenerate.
961 * configure: Likewise.
962 * doc/Makefile.in: Likewise.
964 2016-09-26 Alan Modra <amodra@gmail.com>
966 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
967 (md_pseudo_table <ELF>): Handle "gnu_attribute".
969 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
971 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
972 register and redundant basepri_max.
974 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
976 * config/tc-aarch64.c (print_operands): Print spaces between
978 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
980 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
981 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
982 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
983 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
984 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
985 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
986 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
987 * testsuite/gas/aarch64/sve.d: Likewise.
988 * testsuite/gas/aarch64/symbol.d: Likewise.
989 * testsuite/gas/aarch64/system.d: Likewise.
990 * testsuite/gas/aarch64/tls-desc.d: Likewise.
991 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
992 in suggested alternatives.
993 * testsuite/gas/aarch64/verbose-error.l: Likewise.
995 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
997 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
998 rather than "should be" or "expected to be" in error messages.
999 (parse_operands): Likewise.
1000 * testsuite/gas/aarch64/diagnostic.l: Likewise.
1001 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
1002 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
1003 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
1005 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1007 * config/tc-aarch64.c (opcode_lookup): Search for the end of
1008 a condition name, rather than assuming that it will have exactly
1010 (parse_operands): Likewise.
1011 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
1012 to the expected output.
1013 * testsuite/gas/aarch64/beq_1.d: Likewise.
1014 * testsuite/gas/aarch64/float-fp16.d: Likewise.
1015 * testsuite/gas/aarch64/int-insns.d: Likewise.
1016 * testsuite/gas/aarch64/no-aliases.d: Likewise.
1017 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
1018 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1019 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
1022 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1024 * testsuite/gas/aarch64/diagnostic.s,
1025 testsuite/gas/aarch64/diagnostic.l: Add tests for
1026 invalid uses of MUL VL and MUL in base AArch64 instructions.
1027 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
1028 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
1029 testsuite/gas/aarch64/sve-invalid.s,
1030 testsuite/gas/aarch64/sve-invalid.d,
1031 testsuite/gas/aarch64/sve-invalid.l,
1032 testsuite/gas/aarch64/sve-reg-diagnostic.s,
1033 testsuite/gas/aarch64/sve-reg-diagnostic.d,
1034 testsuite/gas/aarch64/sve-reg-diagnostic.l,
1035 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
1037 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1039 * doc/c-aarch64.texi: Document the "sve" feature.
1040 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
1041 (get_reg_expected_msg): Handle it.
1042 (parse_operands): When parsing operands of an SVE instruction,
1043 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
1044 (aarch64_features): Add an entry for SVE.
1046 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1048 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
1049 and FP register operands.
1051 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1053 * config/tc-aarch64.c (double_precision_operand_p): New function.
1054 (parse_operands): Use it to calculate the dp_p input to
1055 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
1057 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1059 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
1062 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1064 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
1066 (parse_shift): Handle SHIFTED_MUL_VL.
1067 (parse_address_main): Add an imm_shift_mode parameter.
1068 (parse_address, parse_sve_address): Update accordingly.
1069 (parse_operands): Handle MUL VL addressing modes.
1071 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1073 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
1075 (get_reg_expected_msg): Handle them.
1076 (aarch64_addr_reg_parse): New function, split out from
1077 aarch64_reg_parse_32_64. Handle Z registers too.
1078 (aarch64_reg_parse_32_64): Call it.
1079 (parse_address_main): Add base_qualifier, offset_qualifier,
1080 base_type and offset_type parameters. Handle SVE base and offset
1082 (parse_address): Update call to parse_address_main.
1083 (parse_sve_address): New function.
1084 (parse_operands): Parse the new SVE address operands.
1086 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1088 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
1089 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
1090 shift modes. Skip range tests for AARCH64_MOD_MUL.
1091 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
1092 (parse_operands): Likewise.
1094 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1096 * config/tc-aarch64.c (parse_enum_string): New function.
1097 (po_enum_or_fail): New macro.
1098 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
1099 AARCH64_OPND_SVE_PRFOP.
1101 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1103 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
1104 (parse_vector_type_for_operand): Assert that the skipped character
1106 (parse_predication_for_operand): New function.
1107 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
1108 (vectype_to_qualifier): Handle NT_zero and NT_merge.
1110 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1112 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
1113 (AARCH64_REG_TYPES): Add ZN and PN.
1114 (get_reg_expected_msg): Handle them.
1115 (parse_vector_type_for_operand): Add a reg_type parameter.
1116 Skip the width for Zn and Pn registers.
1117 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
1118 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
1119 expecting the width to be 0.
1120 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
1122 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
1123 (parse_operands): Handle the new Zn and Pn operands.
1124 (REGSET16): New macro, split out from...
1125 (REGSET31): ...here.
1126 (reg_names): Add Zn and Pn entries.
1128 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1130 * config/tc-aarch64.c (output_operand_error_record): Handle
1131 AARCH64_OPDE_UNTIED_OPERAND.
1133 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1135 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
1136 instruction with all-NIL qualifiers to fail to match.
1138 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1140 * config/tc-aarch64.c (parse_address_main): Remove reloc and
1141 accept_reg_post_index parameters. Parse relocations and register
1142 post indexes unconditionally.
1143 (parse_address): Remove accept_reg_post_index parameter.
1144 Update call to parse_address_main.
1145 (parse_address_reloc): Delete.
1146 (parse_operands): Call parse_address instead of parse_address_main.
1147 Update existing callers of parse_address and make them check
1148 inst.reloc.type where appropriate.
1149 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
1150 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
1151 Also test for invalid uses of post-index register addressing.
1152 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1154 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1156 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
1158 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
1159 (aarch64_check_reg_type): Simplify.
1160 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
1161 register number. Return the type as a qualifier rather than an
1162 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
1164 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
1165 Use get_reg_expected_msg.
1166 (parse_address_main): Likewise. Use aarch64_check_reg_type.
1167 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
1168 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
1169 Use aarch64_check_reg_type to test the result.
1170 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
1171 addresses normally before enforcing the syntax restrictions.
1172 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
1173 zero register and for a stack pointer index.
1174 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1175 Also update existing diagnostic messages after the above changes.
1176 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
1177 for 32-bit register bases.
1179 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1181 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
1182 (parse_operands): Check the range of 8-bit FP immediates here instead.
1184 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1186 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
1187 low-severity error for registers.
1188 (parse_operands): Report an invalid floating point constant for
1189 if parsing an FPIMM8 fails, and if no better error has been
1191 * testsuite/gas/aarch64/diagnostic.s,
1192 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
1195 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1197 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
1199 (can_convert_double_to_float): ...this. Accept any double-precision
1200 value that converts to single precision without loss of precision.
1201 (parse_aarch64_imm_float): Update accordingly.
1203 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1205 * config/tc-aarch64.c (parse_immediate_expression): Add a
1207 (parse_constant_immediate): Likewise, and update calls.
1208 (parse_aarch64_imm_float): Likewise.
1209 (parse_big_immediate): Likewise.
1210 (po_imm_nc_or_fail): Update accordingly, passing down a new
1211 imm_reg_type variable.
1212 (po_imm_of_fail): Likewise.
1213 (parse_operands): Likewise.
1215 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1217 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
1218 (parse_vector_reg_list): ...this and take a register type
1220 (parse_operands): Update accordingly.
1222 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1224 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
1225 (parse_vector_type_for_operand): ...this.
1226 (parse_typed_reg): Update accordingly.
1228 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1230 * config/tc-aarch64.c (neon_type_el): Rename to...
1231 (vector_type_el): ...this.
1232 (parse_neon_type_for_operand): Update accordingly.
1233 (parse_typed_reg): Likewise.
1234 (aarch64_reg_parse): Likewise.
1235 (vectype_to_qualifier): Likewise.
1236 (parse_operands): Likewise.
1237 (eq_neon_type_el): Likewise. Rename to...
1238 (eq_vector_type_el): ...this.
1239 (parse_neon_reg_list): Update accordingly.
1241 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1243 * config/tc-aarch64.c (neon_el_type: Rename to...
1244 (vector_el_type): ...this.
1245 (neon_type_el): Update accordingly.
1246 (parse_neon_type_for_operand): Likewise.
1247 (vectype_to_qualifier): Likewise.
1249 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1251 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
1252 (parse_typed_reg): Call parse_neon_type_for_operand directly.
1254 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
1256 * testsuite/gas/arc/textinsnxop.d: New file.
1257 * testsuite/gas/arc/textinsnxop.s: Likewise.
1259 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
1261 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1262 dcti-couples-v9 only in ELF targets to avoid spurious failures in
1263 sparc-aout and sparc-coff targets.
1265 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
1267 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
1268 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
1269 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
1270 <copy, paste.>: Update tests.
1271 * testsuite/gas/ppc/power9.s: Likewise.
1273 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1275 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
1276 in "architecture mismatch" error messages.
1278 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1280 * config/tc-sparc.c (md_assemble): Detect and warning on
1281 unpredictable DCTI couples in certain arches.
1282 (dcti_couples_detect): New global.
1283 (md_longopts): Add command line option -dcti-couples-detect.
1284 (md_show_usage): Document -dcti-couples-detect.
1285 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
1286 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1287 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
1288 * testsuite/gas/sparc/dcti-couples.s: New file.
1289 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
1290 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
1291 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
1292 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
1293 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
1294 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
1295 * doc/c-sparc.texi (Sparc-Opts): Likewise.
1297 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
1299 * testsuite/gas/arc/tls-relocs2.d: New file.
1300 * testsuite/gas/arc/tls-relocs2.s: Likewise.
1301 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
1304 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1306 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
1308 * doc/as.texinfo: Document new arch strings.
1309 * doc/c-s390.texi: Likewise.
1311 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1313 * config/tc-s390.c: Set all facitily bits by default
1315 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
1317 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
1319 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
1321 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
1324 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
1326 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
1327 (set_cpu_arch): Updated.
1328 (md_parse_option): Likewise.
1329 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
1330 iamcu-inval-2 and iamcu-inval-3.
1331 * testsuite/gas/i386/iamcu-4.d: New file.
1332 * testsuite/gas/i386/iamcu-4.s: Likewise.
1333 * testsuite/gas/i386/iamcu-5.d: Likewise.
1334 * testsuite/gas/i386/iamcu-5.s: Likewise.
1335 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
1336 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
1337 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
1338 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
1340 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
1342 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
1343 ARMv8-A CPUs except xgene1.
1345 2016-08-31 Alan Modra <amodra@gmail.com>
1347 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
1348 ppc_cpu rather than calling ppc_mach to determine VLE mode.
1349 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
1351 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
1353 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
1355 * testsuite/gas/sparc/crypto.s: Likewise.
1357 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1359 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
1360 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
1361 their lowecase counterpart special registers. Write register
1363 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
1364 operation, special register and then case. Use different register for
1365 each operation. Add tests for new special registers.
1366 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
1368 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1369 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1371 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
1373 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
1375 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
1377 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1378 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1379 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1381 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
1383 * config/tc-i386.c (cpu_arch): Add .ptwrite.
1384 * doc/c-i386.texi: Document ptwrite and .ptwrite.
1385 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
1386 x86-64-ptwrite and x86-64-ptwrite-intel.
1387 * testsuite/gas/i386/ptwrite-intel.d: New file.
1388 * testsuite/gas/i386/ptwrite.d: Likewise.
1389 * testsuite/gas/i386/ptwrite.s: Likewise.
1390 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
1391 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
1392 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
1394 2016-08-19 Tamar Christina <tamar.christina@arm.com>
1396 * config/tc-arm.c (do_co_reg2c): Added constraint.
1397 * testsuite/gas/arm/dest-unpredictable.s: New.
1398 * testsuite/gas/arm/dest-unpredictable.l: New.
1399 * testsuite/gas/arm/dest-unpredictable.d: New.
1401 2016-08-19 Nick Clifton <nickc@redhat.com>
1403 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
1404 ordering of sections.
1405 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1406 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
1407 * testsuite/gas/ia64/alias.d: Likewise.
1408 * testsuite/gas/ia64/group-1.d: Likewise.
1409 * testsuite/gas/ia64/group-2.d: Likewise.
1410 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
1411 * testsuite/gas/ia64/secname.d: Likewise.
1412 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
1413 * testsuite/gas/ia64/unwind.d: Likewise.
1414 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
1415 * testsuite/gas/ia64/xdata.d: Likewise.
1416 * testsuite/gas/mmix/bspec-1.d: Likewise.
1417 * testsuite/gas/mmix/bspec-2.d: Likewise.
1418 * testsuite/gas/mmix/byte-1.d: Likewise.
1419 * testsuite/gas/mmix/loc-1.d: Likewise.
1420 * testsuite/gas/mmix/loc-2.d: Likewise.
1421 * testsuite/gas/mmix/loc-3.d: Likewise.
1422 * testsuite/gas/mmix/loc-4.d: Likewise.
1423 * testsuite/gas/mmix/loc-5.d: Likewise.
1424 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1426 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
1428 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
1429 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
1430 Add tests for -0.0. Add an end-of-file comment.
1432 2016-08-05 Nick Clifton <nickc@redhat.com>
1435 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
1436 registers are pushed.
1437 (do_vfp_nsyn_pop): Check that no more than 16 registers are
1439 * testsuite/gas/arm/pr20429.s: New test.
1440 * testsuite/gas/arm/pr20429.d: New test driver.
1441 * testsuite/gas/arm/pr20429.1: Expected error output.
1444 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
1446 (aarch64_init): Treat rs_align frags in code sections as
1447 containing code, not data.
1448 * testsuite/gas/aarch64/pr20364.s: New test.
1449 * testsuite/gas/aarch64/pr20364.d: New test driver.
1451 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
1454 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
1455 of 64-bit relocation types when assembling for a 32-bit Solaris
1458 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
1460 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
1462 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
1463 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
1464 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
1465 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
1467 (sparc_elf_setup): Delete.
1468 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
1471 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1473 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
1474 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
1475 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
1476 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
1477 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
1478 (get_append_method): Also return APPEND_ADD_COMPACT for
1479 microMIPS instructions.
1480 (find_altered_mips16_opcode): Exclude macros from matching.
1482 (find_altered_opcode): ... to this new function.
1483 (find_altered_micromips_opcode): New function.
1484 (frag_branch_delay_slot_size): Likewise.
1485 (append_insn): Handle microMIPS branch/jump compaction.
1486 (macro_start): Likewise.
1487 (relaxed_micromips_32bit_branch_length): Likewise.
1488 (md_convert_frag): Likewise.
1489 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
1490 for delay slot filling.
1491 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
1493 * testsuite/gas/mips/micromips-size-1.s: Likewise.
1494 * testsuite/gas/mips/micromips.l: Adjust line numbers.
1495 * testsuite/gas/mips/micromips-warn.l: Likewise.
1496 * testsuite/gas/mips/micromips-size-1.l: Likewise.
1497 * testsuite/gas/mips/micromips.d: Adjust padding.
1498 * testsuite/gas/mips/micromips-trap.d: Likewise.
1499 * testsuite/gas/mips/micromips-insn32.d: Likewise.
1500 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1501 * testsuite/gas/mips/micromips@beq.d: Update patterns for
1502 branch/jump compaction.
1503 * testsuite/gas/mips/micromips@bge.d: Likewise.
1504 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
1505 * testsuite/gas/mips/micromips@blt.d: Likewise.
1506 * testsuite/gas/mips/micromips@bltu.d: Likewise.
1507 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
1508 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
1509 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
1510 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
1511 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
1512 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1513 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1514 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
1516 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
1518 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
1519 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
1520 * testsuite/gas/mips/micromips@relax.d: Likewise.
1521 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
1522 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
1523 * testsuite/gas/mips/branch-extern-2.d: Likewise.
1524 * testsuite/gas/mips/branch-extern-4.d: Likewise.
1525 * testsuite/gas/mips/branch-section-2.d: Likewise.
1526 * testsuite/gas/mips/branch-section-4.d: Likewise.
1527 * testsuite/gas/mips/branch-weak-2.d: Likewise.
1528 * testsuite/gas/mips/branch-weak-5.d: Likewise.
1529 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
1530 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1531 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1532 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
1534 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1536 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1538 * testsuite/gas/mips/micromips-compact.d: New test.
1539 * testsuite/gas/mips/mips.exp: Run the new test.
1541 2016-07-27 Graham Markall <graham.markall@embecosm.com>
1543 * config/tc-arc.c: Add new global arc_addrtype_hash.
1544 Define O_colon and O_addrtype.
1545 (debug_exp): Add O_colon and O_addrtype.
1546 (tokenize_arguments): Handle colon and address type
1548 (declare_addrtype): New function.
1549 (md_begin): Initialise arc_addrtype_hash.
1550 (arc_parse_name): Add lookup of address types.
1551 (assemble_insn): Handle colons and address types by
1553 * testsuite/gas/arc/nps400-8.s: New file.
1554 * testsuite/gas/arc/nps400-8.d: New file.
1555 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
1556 * testsuite/gas/arc/nps400-8.d: Add expected PMU
1559 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1561 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
1562 (RELAX_MICROMIPS_INSN32): New macro.
1563 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1564 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
1565 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
1566 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
1567 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
1569 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
1571 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
1573 (md_convert_frag): Likewise.
1574 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
1576 * testsuite/gas/mips/micromips-branch-relax.l: Update line
1577 numbers accordingly.
1578 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
1579 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
1580 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
1582 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
1584 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
1586 * testsuite/gas/mips/mips.exp: Run the new tests.
1588 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1590 * configure: Regenerated.
1592 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
1594 * testsuite/gas/arc/dsp.d: New file.
1595 * testsuite/gas/arc/dsp.s: Likewise.
1596 * testsuite/gas/arc/fpu.d: Likewise.
1597 * testsuite/gas/arc/fpu.s: Likewise.
1598 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
1599 * testsuite/gas/arc/ext3op.d: Likewise.
1600 * testsuite/gas/arc/tdpfp.d: Likewise.
1601 * testsuite/gas/arc/tfpuda.d: Likewise.
1603 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
1605 * config/tc-mips.c (mips_force_relocation): Remove
1606 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
1608 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1610 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
1611 Adjust comments for BAL to JALX linker conversion.
1612 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
1613 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
1615 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
1616 * testsuite/gas/mips/branch-local-4.d: New test.
1617 * testsuite/gas/mips/branch-local-n32-4.d: New test.
1618 * testsuite/gas/mips/branch-local-n64-4.d: New test.
1619 * testsuite/gas/mips/branch-addend.d: New test.
1620 * testsuite/gas/mips/branch-addend-n32.d: New test.
1621 * testsuite/gas/mips/branch-addend-n64.d: New test.
1622 * testsuite/gas/mips/branch-local-4.s: New test source.
1623 * testsuite/gas/mips/branch-addend.s: New test source.
1624 * testsuite/gas/mips/mips.exp: Run the new tests.
1626 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1628 * config/tc-mips.c (mips_force_relocation): Also retain branch
1629 relocations against MIPS16 and microMIPS symbols.
1630 (fix_bad_cross_mode_jump_p): New function.
1631 (fix_bad_same_mode_jalx_p): Likewise.
1632 (fix_bad_misaligned_jump_p): Likewise.
1633 (fix_bad_cross_mode_branch_p): Likewise.
1634 (fix_bad_misaligned_branch_p): Likewise.
1635 (fix_validate_branch): Likewise.
1636 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
1637 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
1638 etc. Verify the ISA mode and alignment of the jump target.
1639 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
1640 with a call to `fix_validate_branch'.
1641 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
1642 <BFD_RELOC_16_PCREL_S2>: Likewise.
1643 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1644 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
1645 Verify the ISA mode and alignment of the branch target.
1646 (md_convert_frag): Verify the ISA mode and alignment of resolved
1647 MIPS16 branch targets.
1648 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
1649 branch targets with `.insn'.
1650 * testsuite/gas/mips/branch-misc-5.s: Likewise.
1651 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
1653 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1654 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
1655 non-instruction branch target with `.insn'.
1656 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
1657 with external symbols.
1658 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
1659 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1660 * testsuite/gas/mips/micromips-trap.d: Likewise.
1661 * testsuite/gas/mips/micromips.d: Likewise.
1662 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
1663 targets with `.insn'.
1664 * testsuite/gas/mips/mips16.d: Update accordingly.
1665 * testsuite/gas/mips/mips16-64.d: Likewise.
1666 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
1667 branch target with `.insn'.
1668 * testsuite/gas/mips/relax-swap3.s: Likewise.
1669 * testsuite/gas/mips/branch-local-2.l: New list test.
1670 * testsuite/gas/mips/branch-local-3.l: New list test.
1671 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
1672 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
1673 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
1674 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
1675 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
1676 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
1677 * testsuite/gas/mips/unaligned-jump-3.d: New test.
1678 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
1679 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
1680 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1681 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1683 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1685 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
1686 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
1687 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
1688 * testsuite/gas/mips/unaligned-branch-3.d: New test.
1689 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
1690 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
1691 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
1692 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
1693 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
1694 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
1695 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
1696 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
1697 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
1698 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
1700 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
1702 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
1703 * testsuite/gas/mips/branch-local-2.s: New test source.
1704 * testsuite/gas/mips/branch-local-3.s: New test source.
1705 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
1706 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
1707 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
1708 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1709 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1710 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1711 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1712 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1713 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1715 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1717 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1718 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1719 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1720 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1721 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1722 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1723 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1725 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1727 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1729 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1731 * testsuite/gas/mips/mips.exp: Run the new tests.
1733 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1735 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1737 (do_pseudo_b): Adjust.
1738 (do_pseudo_bal): Likewise.
1739 (do_pseudo_bge): Likewise.
1740 (do_pseudo_bges): Likewise.
1741 (do_pseudo_bgt): Likewise.
1742 (do_pseudo_bgts): Likewise.
1743 (do_pseudo_ble): Likewise.
1744 (do_pseudo_bles): Likewise.
1745 (do_pseudo_blt): Likewise.
1746 (do_pseudo_blts): Likewise.
1747 (do_pseudo_br): Likewise.
1748 (do_pseudo_bral): Likewise.
1749 (do_pseudo_la): Likewise.
1750 (do_pseudo_li): Likewise.
1751 (do_pseudo_ls_bhw): Likewise.
1752 (do_pseudo_ls_bhwp): Likewise.
1753 (do_pseudo_ls_bhwpc): Likewise.
1754 (do_pseudo_ls_bhwi): Likewise.
1755 (do_pseudo_move): Likewise.
1756 (do_pseudo_neg): Likewise.
1757 (do_pseudo_not): Likewise.
1758 (do_pseudo_pushpopm): Likewise.
1759 (do_pseudo_pushpop): Likewise.
1760 (do_pseudo_v3push): Likewise.
1761 (do_pseudo_v3pop): Likewise.
1762 (do_pseudo_pushpop_stack): Likewise.
1763 (do_pseudo_push_bhwd): Likewise.
1764 (do_pseudo_pop_bhwd): Likewise.
1765 (do_pseudo_pusha): Likewise.
1766 (do_pseudo_pushi): Likewise.
1768 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1770 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
1771 bfd_reloc_code_real_type.
1773 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1775 * config/tc-sparc.c (pop_table): Remove sentinel.
1776 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
1779 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1781 * config/tc-z8k.c (newfix): Make type of type argument
1782 bfd_reloc_code_real_type.
1783 (apply_fix): Likewise.
1785 2016-07-16 Alan Modra <amodra@gmail.com>
1787 * config/tc-epiphany.c: Don't include libbfd.h.
1788 * config/tc-frv.c: Likewise.
1789 * config/tc-ip2k.c: Likewise.
1790 * config/tc-iq2000.c: Likewise.
1791 * config/tc-m32c.c: Likewise.
1792 * config/tc-mep.c: Likewise.
1793 * config/tc-mt.c: Likewise.
1794 * config/tc-nios2.c: Likewise.
1796 2016-07-16 Alan Modra <amodra@gmail.com>
1798 * config/bfin-parse.y: Don't include libbfd.h.
1799 * config/tc-bfin.c: Likewise.
1800 * config/tc-rl78.c: Likewise.
1801 * config/tc-rx.c: Likewise.
1802 * config/tc-metag.c: Likewise.
1803 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1804 * Makefile.am: Update dependencies.
1805 * Makefile.in: Regenerate.
1807 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1809 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1810 (mips_force_relocation_abs): New prototype.
1811 * config/tc-mips.c (mips_force_relocation_abs): New function.
1812 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1813 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1814 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1815 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1816 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1818 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1820 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1821 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1822 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1824 * testsuite/gas/mips/mips.exp: Run the new tests.
1826 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1828 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1829 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1830 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1832 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1833 in `bar', export `foo'.
1834 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1836 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1837 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1838 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1840 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1843 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1845 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1846 * testsuite/gas/mips/branch-absolute.d: New test.
1847 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1848 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1849 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1850 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1851 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1852 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1853 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1855 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1857 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1858 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1859 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1860 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1862 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1864 * testsuite/gas/mips/branch-absolute.s: New test source.
1865 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1866 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1868 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1870 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1872 * testsuite/gas/mips/mips.exp: Run the new tests.
1874 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1876 * testsuite/gas/mips/nal-1.d: New test.
1877 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1878 * testsuite/gas/mips/nal-2.d: New test.
1879 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1880 * testsuite/gas/mips/nal.s: New test source.
1881 * testsuite/gas/mips/mips.exp: Run the new tests.
1883 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1885 * testsuite/gas/sparc/ldtxa.s: New file.
1886 * testsuite/gas/sparc/ldtxa.d: Likewise.
1887 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1889 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1891 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1892 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1893 as it is no longer needed.
1895 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1897 * config/tc-mips.c (append_insn): Remove extraneous
1898 `install_insn' call.
1900 2016-07-04 Jan Beulich <jbeulich@suse.com>
1902 * config/tc-i386.c (check_qword_reg): Correct register kind
1904 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1905 16-bit register cases.
1906 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1909 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1911 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1912 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1913 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1914 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1915 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1916 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1918 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1919 * testsuite/gas/mips/bge.d: Likewise.
1920 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1921 * testsuite/gas/mips/bgeu.d: Likewise.
1922 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1923 * testsuite/gas/mips/blt.d: Likewise.
1924 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1925 * testsuite/gas/mips/bltu.d: Likewise.
1926 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1927 * testsuite/gas/mips/branch-likely.d: Likewise.
1928 * testsuite/gas/mips/la.d: Likewise.
1929 * testsuite/gas/mips/lb.d: Likewise.
1930 * testsuite/gas/mips/lifloat.d: Likewise.
1931 * testsuite/gas/mips/sb.d: Likewise.
1932 * testsuite/gas/mips/uld.d: Likewise.
1933 * testsuite/gas/mips/ulh.d: Likewise.
1934 * testsuite/gas/mips/ulw.d: Likewise.
1935 * testsuite/gas/mips/usd.d: Likewise.
1936 * testsuite/gas/mips/ush.d: Likewise.
1937 * testsuite/gas/mips/usw.d: Likewise.
1939 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1941 * testsuite/gas/mips/branch-misc-2.s: Move non
1942 locally-defined-global symbol tests...
1943 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1944 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1945 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1946 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1947 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1948 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1949 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1950 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1951 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1952 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1953 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1954 * testsuite/gas/mips/branch-misc-5.d: New test.
1955 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1956 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1957 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1958 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1959 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1960 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1961 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1962 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1963 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1964 * testsuite/gas/mips/mips.exp: Run the new tests.
1966 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1968 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1970 * testsuite/gas/mips/beq.d: Update accordingly.
1971 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1972 * testsuite/gas/mips/micromips@beq.d: Likewise.
1974 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1976 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1977 tests to NewABI targets.
1979 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1981 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1984 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1986 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1988 (aarch64_features): Initialize require fields.
1989 (aarch64_parse_features): Handle dependencies.
1990 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1991 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1992 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1993 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1994 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1996 2016-07-01 Nick Clifton <nickc@redhat.com>
1998 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1999 extremely large integer.
2001 2016-07-01 Jan Beulich <jbeulich@suse.com>
2003 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
2005 2016-07-01 Tristan Gingold <gingold@adacore.com>
2007 * NEWS: Add marker for 2.27.
2009 2016-07-01 Jan Beulich <jbeulich@suse.com>
2011 * tc-i386.c (i386_index_check): Add special checks for bndmk,
2013 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
2014 as well as scaling by other than 1 tests.
2015 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
2017 2016-07-01 Jan Beulich <jbeulich@suse.com>
2019 * tc-i386.c (md_assemble): Alter address size checking for MPX
2021 * testsuite/gas/i386/mpx-inval-2.s: New.
2022 * testsuite/gas/i386/mpx-inval-2.l: New.
2023 * testsuite/gas/i386/i386.exp: Run new test.
2025 2016-07-01 Jan Beulich <jbeulich@suse.com>
2028 * config/tc-i386.c (match_template): Add char parameter,
2029 consumed in Intel mode for an extra suffix check.
2030 (md_assemble): New local variable mnem_suffix.
2031 * testsuite/gas/i386/suffix-bad.s: New.
2032 * testsuite/gas/i386/suffix-bad.l: New.
2033 * testsuite/gas/i386/i386.exp: Run new test (twice).
2035 2016-07-01 Jan Beulich <jbeulich@suse.com>
2037 * testsuite/gas/i386/movz.s: New.
2038 * testsuite/gas/i386/movz32.d: New.
2039 * testsuite/gas/i386/movz64.d: New.
2040 * testsuite/gas/i386/i386.exp: Run new tests.
2042 2016-07-01 Jan Beulich <jbeulich@suse.com>
2044 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
2045 (md_assemble): Free first memory operand string.
2046 (i386_index_check): Use repprefixok to distingush xlat from
2047 other (real) string ops.
2048 (maybe_adjust_templates): New.
2049 (i386_att_operand). Call it. Store first memory operand string.
2050 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
2051 * testsuite/gas/i386/intel-movs.s: New.
2052 * testsuite/gas/i386/intel-movs32.d: New.
2053 * testsuite/gas/i386/intel-movs64.d: New.
2054 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
2055 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
2057 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2059 * config/tc-mips.c (get_append_method): Fix a comment typo.
2061 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
2062 Maciej W. Rozycki <macro@imgtec.com>
2064 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
2065 case MIPS16 handling.
2066 * testsuite/gas/mips/branch-swap-3.d: New test.
2067 * testsuite/gas/mips/branch-swap-4.d: New test.
2068 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
2069 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
2070 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
2071 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
2072 * testsuite/gas/mips/branch-swap-3.s: New test source.
2073 * testsuite/gas/mips/mips.exp: Run the new tests.
2075 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2077 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
2080 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2083 * write.c (subsegs_finish_section): Force no section padding to
2084 alignment on failed assembly, always set last frag's alignment
2086 * testsuite/gas/all/pr20312.l: New list test.
2087 * testsuite/gas/all/pr20312.s: New test source.
2088 * testsuite/gas/all/gas.exp: Run the new test
2090 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
2092 * config.in (TARGET_WITH_CPU): Undefine.
2093 * configure.ac: Add --with-cpu support, and define in config.h.
2094 * configure: Regenerate.
2095 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
2096 * NEWS: Mention new configure option.
2098 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
2100 * testsuite/gas/arm/armv8_2+rdma.d: New.
2102 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
2104 * NEWS: Mention --enable-compressed-debug-sections=gas is the
2105 default for Linux/x86 targets.
2106 * configure.tgt (ac_default_compressed_debug_sections): Default
2107 to yes for Linux/x86 targets.
2109 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
2111 * write.c: Remove "libbfd.h" inclusion.
2113 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2115 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
2118 2016-06-28 Alan Modra <amodra@gmail.com>
2121 * testsuite/gas/elf/section11.s: Don't start directives in first column.
2123 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
2125 * testsuite/gas/aarch64/diagnostic.s,
2126 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
2128 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2130 * config/tc-mips.c (mips16_reloc_p): Handle
2131 BFD_RELOC_MIPS16_16_PCREL_S1.
2132 (b_reloc_p): Likewise.
2133 (limited_pcrel_reloc_p): Likewise.
2134 (md_pcrel_from): Likewise.
2135 (md_apply_fix): Likewise.
2136 (tc_gen_reloc): Likewise.
2137 (md_convert_frag): Likewise.
2138 (mips_fix_adjustable): Update comment.
2139 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
2140 output, add dump patterns.
2141 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
2142 output, add dump patterns.
2143 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
2144 output, add dump patterns.
2145 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
2146 output, add dump patterns.
2147 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
2148 output, add dump patterns.
2149 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
2150 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
2151 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
2152 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
2153 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
2154 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
2155 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
2156 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
2157 * testsuite/gas/mips/branch-weak-6.d: New test.
2158 * testsuite/gas/mips/branch-weak-7.d: New test.
2159 * testsuite/gas/mips/mips.exp: Run the new tests.
2161 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
2163 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
2164 cfi_add_CFA_def_cfa to generate default CFA with offset
2165 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
2167 2016-06-27 Nick Clifton <nickc@redhat.com>
2170 * as.h (do_not_pad_sections_to_alignment): New global variable.
2171 * as.c (show_usage): Add --no-pad-sections.
2172 (parse_args): Likewise.
2173 * write.c (size_seg): Skip padding the end of the section if
2174 requested from the command line.
2175 (SUB_SEGMENT_ALIGN): Likewise.
2176 * doc/as.texinfo: Document the new option.
2177 * NEWS: Mention the new feature.
2178 * testsuite/gas/elf/section11.s: New test.
2179 * testsuite/gas/elf/section11.d: New test driver.
2180 * testsuite/gas/elf/elf.exp: Run the new test.
2182 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2184 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
2185 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
2187 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2189 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
2191 (map_suffix_reloc_to_operator): Likewise.
2192 (map_operator_to_reloc): Likewise.
2194 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2196 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
2197 element in relax_table.
2199 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2201 * config/tc-aarch64.c: Make the type of reg_entry::type
2204 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2206 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
2207 (md_parse_option): Adjust.
2208 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
2209 with iteration from 0 to ARRAY_SIZE.
2210 * config/tc-mcore.c (md_begin): Likewise.
2211 * config/tc-visium.c (visium_parse_arch): Likewise.
2213 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2215 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
2216 and simplify accordingly.
2217 (tic54x_include): Adjust.
2218 (tic54x_mlib): Likewise.
2220 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2222 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
2224 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
2226 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
2227 unchanged with relaxed MIPS16 instructions.
2228 (mips16_extended_frag): Adjust accordingly. Return 1 right
2229 away if a relocation will be required for the symbol requested.
2230 Remove dead first relaxation pass code.
2231 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
2232 (md_convert_frag): Adjust symbol value calculation. Raise an
2233 error if a relocation is required for the symbol requested.
2234 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
2236 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
2237 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
2238 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
2239 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
2240 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
2241 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
2242 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
2243 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
2244 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
2245 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
2246 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
2247 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
2248 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
2249 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
2250 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
2251 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
2252 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
2253 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
2254 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
2255 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
2256 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
2257 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
2258 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
2259 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
2260 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
2261 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
2262 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
2263 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
2264 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
2265 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
2266 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
2267 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
2268 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
2269 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
2270 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
2271 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
2272 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
2273 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
2274 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
2275 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
2276 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
2277 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
2278 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
2279 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
2280 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
2281 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
2282 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
2283 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
2284 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
2285 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
2286 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
2287 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
2288 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
2289 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
2290 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
2291 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
2292 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
2293 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
2294 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
2295 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
2296 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
2297 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
2298 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
2299 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
2300 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
2301 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
2302 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
2303 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
2304 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
2305 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
2306 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
2307 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
2308 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
2309 * testsuite/gas/mips/mips.exp: Run the new tests.
2311 2016-06-24 Alan Modra <amodra@gmail.com>
2313 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
2315 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
2317 * config/tc-mips.c (b_reloc_p): New function.
2318 (mips_fix_adjustable): Also keep the original microMIPS symbol
2319 referred from branch relocations.
2320 * testsuite/gas/mips/branch-local-1.d: New test.
2321 * testsuite/gas/mips/branch-local-n32-1.d: New test.
2322 * testsuite/gas/mips/branch-local-n64-1.d: New test.
2323 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
2325 * testsuite/gas/mips/branch-local-1.s: New test source.
2326 * testsuite/gas/mips/mips.exp: Run the new cases.
2328 2016-06-23 Graham Markall <graham.markall@embecosm.com>
2330 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
2331 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
2332 options. Correct erroneous enabling of SPFP instructions when
2335 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
2337 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
2338 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
2339 setbool, xor3>: New tests.
2340 * testsuite/gas/ppc/power9.s: Likewise.
2342 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2344 * config/tc-xtensa.c: Include elf/xtensa.h.
2346 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2348 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
2349 <BFD_RELOC_LO16_PCREL>: New switch cases.
2350 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
2351 Move switch cases along `BFD_RELOC_MIPS_JMP'.
2352 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
2353 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
2355 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
2356 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
2357 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
2358 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
2359 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
2360 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
2361 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
2362 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
2363 * testsuite/gas/mips/mips.exp: Run the new tests.
2365 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2367 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
2368 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
2369 via `fixP->fx_addsy'.
2371 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2373 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
2374 Calculate relocation from the containing aligned doubleword.
2375 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
2376 addend from the containing aligned doubleword.
2378 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2380 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
2381 rather than `mips_opts' for the R6 ISA check.
2382 (mips_fix_adjustable): Likewise.
2383 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
2384 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
2385 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
2386 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
2387 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
2388 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
2389 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
2390 * testsuite/gas/mips/mips.exp: Run the new tests.
2392 2016-06-21 Graham Markall <graham.markall@embecosm.com>
2394 * config/tc-arc.c (check_cpu_feature, md_parse_option):
2395 Add nps400 option and feature. Add check for nps400
2396 feature. Refactor existing checks to check subclass before
2398 (md_show_usage): Document flags for NPS-400 and add some other
2400 (cpu_type): Remove nps400 CPU type entry
2401 (check_zol): Remove bfd_mach_arc_nps400 case.
2402 (md_show_usage): Add help on -mcpu=nps400.
2403 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
2405 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
2406 -fpuda flags. Document -mcpu=nps400.
2407 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
2408 expected flags to match ARC700 instead of NPS400.
2409 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
2410 * testsuite/gas/arc/nps-400-2.d: Likewise.
2411 * testsuite/gas/arc/nps-400-3.d: Likewise.
2412 * testsuite/gas/arc/nps-400-4.d: Likewise.
2413 * testsuite/gas/arc/nps-400-5.d: Likewise.
2414 * testsuite/gas/arc/nps-400-6.d: Likewise.
2415 * testsuite/gas/arc/nps-400-7.d: Likewise.
2416 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
2417 avoid clash with cbba instruction.
2418 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2419 * testsuite/gas/arc/textinsn3op.d: Likewise.
2420 * testsuite/gas/arc/textinsn3op.s: Likewise.
2421 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
2422 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
2424 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2426 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
2427 * testsuite/gas/mips/r6-64-n64.d: Likewise.
2429 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2431 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
2434 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
2436 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
2438 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2440 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
2441 %hmcddfr and %hva_mask_nz.
2442 (sparc_ip): New handling of asr/privileged/hyperprivileged
2443 registers, adapted to the new form of the sparc opcodes table.
2444 * testsuite/gas/sparc/rdasr.s: New file.
2445 * testsuite/gas/sparc/rdasr.d: Likewise.
2446 * testsuite/gas/sparc/wrasr.s: Likewise.
2447 * testsuite/gas/sparc/wrasr.d: Likewise.
2448 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
2450 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
2451 registers require it.
2452 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
2453 registers and write instruction modalities.
2454 * testsuite/gas/sparc/wrpr.d: Likewise.
2455 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
2457 * testsuite/gas/sparc/rdhpr.d: Likewise.
2458 * testsuite/gas/sparc/wrhpr.s: Likewise.
2459 * testsuite/gas/sparc/wrhpr.d: Likewise.
2461 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2463 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
2464 architectures to use the right opcode architecture.
2465 (sparc_md_end): Handle v9{c,d,e,v,m}.
2466 (sparc_ip): Fix some comments.
2467 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
2468 instruction, which is v9d.
2469 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
2470 instruction from the test, as %mwait is not readable.
2471 * testsuite/gas/sparc/mwait.d: Likewise.
2472 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
2473 mismatch architecture errors.
2474 * testsuite/gas/sparc/mism-2.s: New file.
2476 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2478 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
2479 empty string to mark the end of the array.
2480 (hpriv_reg_table): Likewise.
2481 (v9a_asr_table): Likewise.
2482 (cmp_reg_entry): Handle entries with NULL names.
2484 (F_POP_PCREL): Likewise.
2485 (F_POP_TLS_CALL): Likewise.
2486 (F_POP_POSTFIX): Likewise.
2487 (struct pop_entry): New type.
2488 (pop_table): New variable.
2489 (enum pop_entry_type): New type.
2490 (struct perc_entry): Likewise.
2491 (NUM_PERC_ENTRIES): Define.
2492 (perc_table): New variable.
2493 (cmp_perc_entry): New function.
2494 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
2496 (sparc_ip): Handle entries with NULL names in priv_reg_table,
2497 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
2500 2016-06-15 Nick Clifton <nickc@redhat.com>
2502 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
2504 * config/tc-mcore.c (md_assemble): Likewise.
2505 * config/tc-mn10200.c (md_assemble): Likewise.
2506 * config/tc-moxie.c (md_assemble): Likewise.
2507 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
2508 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
2509 exception targets. Add alpha, hppa, microblaze and rl78 to list
2511 (forward): Add microblaze to list of exceptions.
2512 (fwdexp): Add alpha to list of exceptions.
2513 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
2514 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
2515 (do_930509a): Alpha sort list of exception targets. Add h8300 and
2516 mn10200 to list of exceptions.
2517 (align2): Expect to fail for nds32.
2518 (cond): Add alpha and rl78 to list of exceptions.
2519 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
2520 * testsuite/gas/all/string.d: Skip for tic4x.
2521 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
2522 target does not support ELF.
2523 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
2524 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
2525 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
2526 tests for sh-pe and sh-rtemscoff targets.
2527 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
2529 (type): Run the noifunc version for alpha-freebsd and visium.
2530 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
2531 mn10200 or moxie targets.
2532 * testsuite/gas/ft32/insn.d: Update expected disassembly.
2533 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
2535 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
2536 mcore and rx targets.
2537 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
2539 (purge): Expect to fail on the ns32k and vax.
2540 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
2541 * testsuite/gas/nds32/ls.d: Likewise.
2542 * testsuite/gas/nds32/sys-reg.d: Likewise.
2543 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
2544 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
2545 * testsuite/gas/pe/section-align-3.d: Likewise.
2546 * testsuite/gas/pe/section-exclude.d: Likewise.
2547 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
2549 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
2550 for variations in whitespace.
2551 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
2553 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
2554 Installs a 32-bit value without generating warnings on 64-bit
2556 Use the new macro to replace the .word directives.
2558 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2560 * testsuite/gas/arc/add_s.d: New file.
2561 * testsuite/gas/arc/add_s.s: New file.
2563 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2565 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
2566 * testsuite/gas/arc/nps400-6.d: Likewise.
2568 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2570 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
2572 * testsuite/gas/arc/nps400-6.d: Likewise.
2574 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2576 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
2577 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
2578 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
2579 * testsuite/gas/arc/nps400-6.d: Likewise.
2581 2016-06-14 Nick Clifton <nickc@redhat.com>
2583 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
2586 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
2588 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
2589 JALR relocations on R6.
2590 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
2591 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
2592 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
2593 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
2594 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
2595 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
2597 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
2598 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
2600 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
2601 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
2603 * testsuite/gas/mips/mips.exp: Run the new tests.
2605 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
2607 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
2608 * doc/c-aarch64.texi: Document that vulcan is a valid processor
2611 2016-06-13 Nick Clifton <nickc@redhat.com>
2613 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
2614 that are not supported.
2616 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
2618 * config/tc-cr16.c (check_range): Likewise.
2619 * config/tc-nios2.c (nios2_check_overflow): Likewise.
2621 2016-06-08 Renlin Li <renlin.li@arm.com>
2623 * config/tc-aarch64.c (print_operands): Substitute size.
2624 (output_operand_error_record): Likewise.
2626 2016-06-07 Alan Modra <amodra@gmail.com>
2628 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
2629 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
2630 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
2631 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
2632 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
2633 add vle_opcodes twice.
2634 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
2636 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
2638 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
2639 (arm_ext_ras): Renamed from arm_ext_v8_2.
2640 (insns): Update for arm_ext_v8_2 renaming.
2641 (arm_extensions): Add "ras".
2642 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
2643 * testsuite/gas/arm/armv8-a+ras.d: New.
2644 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
2647 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2649 * itbl-parse.y (yyerror): Use modern argument declaration style.
2651 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2653 * config/tc-sh.c (parse_reg): Change type of mode argument to
2655 (get_operand): Adjust.
2656 (insert): Change type of how to bfd_reloc_code_real_type.
2657 (insert4): Likewise.
2658 * config/tc-sh64.c (shmedia_get_operand): Adjust.
2659 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
2661 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2663 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
2666 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
2669 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
2670 stbcx., sthcx., stwcx., stdcx.>: Add tests.
2671 * gas/testsuite/gas/ppc/e6500.d: Likewise.
2672 * gas/testsuite/gas/ppc/power8.s: Likewise.
2673 * gas/testsuite/gas/ppc/power8.d: Likewise.
2674 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
2676 * gas/testsuite/gas/ppc/power4.d: Likewise.
2678 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2681 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2682 * testsuite/gas/i386/x86-64-branch.d: Updated.
2683 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2684 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2685 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
2687 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2689 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
2690 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
2692 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2694 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
2695 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
2697 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2699 * configure.tgt: Replace -uclibc with *.
2701 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2703 * config/tc-arc.c (parse_opcode_flags): New function.
2704 (find_opcode_match): Move flag parsing code out to new function.
2705 Ignore operands marked IGNORE.
2706 (build_fake_opcode_hash_entry): New function.
2707 (find_special_case_long_opcode): New function.
2708 (find_special_case): Lookup long opcodes.
2709 * testsuite/gas/arc/nps400-7.d: New file.
2710 * testsuite/gas/arc/nps400-7.s: New file.
2712 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2714 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2716 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2718 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2719 sentinal with iteration to array size.
2721 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2723 * config/xtensa-relax.h: Move typedefs of enums to the enums
2726 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2728 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2731 2016-06-01 Graham Markall <graham.markall@embecosm.com>
2733 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2734 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2735 * testsuite/gas/arc/nps-400-1.d: Likewise.
2737 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2740 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2741 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2742 noavx512ifma and noavx512vbmi.
2743 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2744 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2746 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2747 * testsuite/gas/i386/noavx512-1.l: New file.
2748 * testsuite/gas/i386/noavx512-1.s: Likewise.
2749 * testsuite/gas/i386/noavx512-2.l: Likewise.
2750 * testsuite/gas/i386/noavx512-2.s: Likewise.
2752 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2755 * config/tc-i386.c (cpu_arch): Add 687.
2756 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2757 nosse4.1, nosse4.2, nosse4 and noavx2.
2758 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2759 register. Check cpuregxmm instead of cpusse for XMM register.
2760 Check cpuregymm instead of cpuavx for YMM register. Check
2761 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
2762 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
2763 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
2764 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
2765 * testsuite/gas/i386/arch-10.d (as): Likewise.
2766 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
2767 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
2768 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
2770 * testsuite/gas/i386/no87-3.l: New file.
2771 * testsuite/gas/i386/no87-3.s: Likewise.
2772 * testsuite/gas/i386/noavx-3.l: Likewise.
2773 * testsuite/gas/i386/noavx-3.s: Likewise.
2774 * testsuite/gas/i386/noavx-4.d: Likewise.
2775 * testsuite/gas/i386/noavx-4.s: Likewise.
2776 * testsuite/gas/i386/nosse-4.l: Likewise.
2777 * testsuite/gas/i386/nosse-4.s: Likewise.
2778 * testsuite/gas/i386/nosse-5.d: Likewise.
2779 * testsuite/gas/i386/nosse-5.s: Likewise.
2781 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2784 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
2786 (match_template): Check Intel64/AMD64 ISA.
2788 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2791 * config/tc-i386.c (intel64): New.
2792 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2793 (md_parse_option): Set intel64 instead of cpuamd64 and
2796 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2798 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2801 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2803 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2804 * testsuite/gas/ppc/altivec3.s: Likewise.
2805 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2806 * testsuite/gas/ppc/power9.s: Likewise.
2808 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2810 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2811 * testsuite/gas/i386/noavx-1.l: Likewise.
2812 * testsuite/gas/i386/nommx-1.l: Likewise.
2813 * testsuite/gas/i386/nosse-1.l: Likewise.
2814 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2815 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2816 * testsuite/gas/i386/noavx-1.s: Likewise.
2817 * testsuite/gas/i386/nommx-1.s: Likewise.
2818 * testsuite/gas/i386/nosse-1.s: Likewise.
2819 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2821 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2823 * config/tc-metag.c (metag_handle_align): Make the type of noop
2826 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2828 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2829 bfd_reloc_code_real_type.
2831 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2834 * config/tc-i386.c (cpu_flags_match): Require another match
2836 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2837 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2838 * testsuite/gas/i386/avx512vl-1.l: New file.
2839 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2840 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2841 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2842 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2843 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2844 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2845 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2847 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2850 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2851 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2852 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2854 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2856 * config/tc-i386.c (arch_entry): Remove negated.
2857 (noarch_entry): New struct.
2858 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2860 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2861 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2863 (output_message): New function.
2864 (show_arch): Use it. Handle cpu_noarch.
2865 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2866 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2867 * testsuite/gas/i386/noavx-1.l: New file.
2868 * testsuite/gas/i386/noavx-1.s: Likewise.
2869 * testsuite/gas/i386/noavx-2.s: Likewise.
2870 * testsuite/gas/i386/noavx-2.l: Likewise.
2871 * testsuite/gas/i386/nommx-1.s: Likewise.
2872 * testsuite/gas/i386/nommx-1.l: Likewise.
2873 * testsuite/gas/i386/nommx-2.s: Likewise.
2874 * testsuite/gas/i386/nommx-2.l: Likewise.
2875 * testsuite/gas/i386/nommx-3.s: Likewise.
2876 * testsuite/gas/i386/nommx-3.l: Likewise.
2877 * testsuite/gas/i386/nosse-1.s: Likewise.
2878 * testsuite/gas/i386/nosse-1.l: Likewise.
2879 * testsuite/gas/i386/nosse-2.s: Likewise.
2880 * testsuite/gas/i386/nosse-2.l: Likewise.
2881 * testsuite/gas/i386/nosse-3.s: Likewise.
2882 * testsuite/gas/i386/nosse-3.l: Likewise.
2884 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2887 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2888 instruction if supported by the currently selected fpu variant.
2889 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2890 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2892 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2894 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2895 jump relocations against MIPS16 or microMIPS symbols on RELA
2897 * testsuite/gas/mips/jalx-local.d: New test.
2898 * testsuite/gas/mips/jalx-local-n32.d: New test.
2899 * testsuite/gas/mips/jalx-local-n64.d: New test.
2900 * testsuite/gas/mips/jalx-local.s: New test source.
2901 * testsuite/gas/mips/mips.exp: Run the new tests.
2903 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2905 * config/tc-mips.c (md_apply_fix)
2906 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2909 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2911 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2912 operator to operatorT.
2913 (map_suffix_reloc_to_operator): Change return type to operatorT.
2915 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2917 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2919 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2921 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2922 handler_charp to const char *.
2924 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2926 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2927 (ft32_target_format): Likewise.
2928 (TARGET_FORMAT): Adjust.
2930 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2932 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2933 (ia64_frob_label): Likewise.
2935 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2937 * config/tc-cr16.c (check_range): Make type of retval op_err.
2938 * config/tc-crx.c: Likewise.
2940 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2942 * config/tc-arc.c (md_begin): Add XY registers.
2943 (cpu_types): Code density is default off for ARC EM.
2945 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2947 * config/tc-arc.c (attributes_t): Renamed attribute class to
2949 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2951 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2953 * configuse.tgt: Add entry for arm-phoenix.
2955 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2957 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2959 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2961 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2963 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2965 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2966 (md_begin): Likewise.
2967 (encode_condition): Likewise.
2968 (encode_cc3): Likewise.
2969 (encode_cc2): Likewise.
2970 (encode_operand): Likewise.
2971 (tic54x_undefined_symbol): Likewise.
2973 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2975 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2977 * doc/c-mips.texi: Document p6600 -march option.
2979 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2982 * config/tc-i386.c (md_apply_fix): Preserve addend for
2983 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2984 * testsuite/gas/i386/addend.d: New file.
2985 * testsuite/gas/i386/addend.s: Likewise.
2986 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2987 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2988 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2989 * testsuite/gas/i386/reloc32.d: Updated.
2991 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2993 * config/tc-mips.c (append_insn): Correct the encoding of a
2994 constant argument for microMIPS JALX.
2995 (tc_gen_reloc): Correct the encoding of an in-place addend for
2997 * testsuite/gas/mips/jalx-addend.d: New test.
2998 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2999 * testsuite/gas/mips/jalx-addend-n64.d: New test.
3000 * testsuite/gas/mips/jalx-imm.d: New test.
3001 * testsuite/gas/mips/jalx-imm-n32.d: New test.
3002 * testsuite/gas/mips/jalx-imm-n64.d: New test.
3003 * testsuite/gas/mips/jalx-addend.s: New test source.
3004 * testsuite/gas/mips/jalx-imm.s: New test source.
3005 * testsuite/gas/mips/mips.exp: Run the new tests.
3007 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3009 * config/tc-mips.c: Correct tab-after-space formatting mistakes
3012 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3014 * config/tc-arc.c (find_opcode_match): Remove casting away of
3016 * config/tc-arc.h (struct arc_flags): Make flgp field const.
3018 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3020 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
3022 (md_convert_frag): Likewise.
3024 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3026 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
3027 cached opcode to NULL when we reach a non-matching opcode.
3028 * testsuite/gas/arc/asm-errors-2.d: New file.
3029 * testsuite/gas/arc/asm-errors-2.err: New file.
3030 * testsuite/gas/arc/asm-errors-2.s: New file.
3032 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3034 * config/tc-arc.c (tokenize_arguments): Add checks for array
3036 * testsuite/gas/arc/asm-errors.s: Addition test line added.
3037 * testsuite/gas/arc/asm-errors.err: Update expected results.
3039 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3041 * config/tc-rx.c (struct cpu_type): Change the type of a field from
3042 int to enum rx_cpu_types.
3044 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3046 * config/tc-dlx.c (struct machine_it): change the type of a field from
3047 int to bfd_reloc_code_real_type.
3048 * config/tc-tic4x.c: Likewise.
3050 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3052 * config/tc-v850.c (v850_target_arch): change type to enum
3054 * config/tc-v850.h (v850_target_arch): Likewise.
3056 2016-05-18 Alan Modra <amodra@gmail.com>
3058 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
3059 allowed negative range.
3060 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
3061 * testsuite/gas/ppc/power9.d: Update.
3063 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
3065 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
3066 disassembling and stop skipping targets.
3067 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3068 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3069 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
3070 instruction for targets that have stronger alignment requirement.
3071 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3072 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3073 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3074 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3075 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3076 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3077 * testsuite/gas/arm/archv8m-main.d: Likewise.
3078 * testsuite/gas/arm/archv8m.s: Add label.
3079 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
3080 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3081 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
3083 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3085 * config/tc-m32r.c (mach_table): Make static and const.
3087 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3089 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
3092 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3094 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
3096 * config/tc-msp430.c (md_begin): Likewise.
3098 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3100 * config/tc-m68hc11.c (fixup8): Change variables type from int to
3101 bfd_reloc_code_real_type where appropriate.
3102 (fixup16): Likewise.
3103 (fixup8_xg): Likewise.
3105 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
3107 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
3109 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
3111 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
3112 * testsuite/gas/ppc/power9.s: Likewise.
3114 2016-05-13 Alan Modra <amodra@gmail.com>
3116 * config/obj-coff.c (weak_uniquify): Delete unused var.
3118 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3120 * app.c (app_push): Use XNEW and related macros.
3121 * as.c (parse_args): Likewise.
3122 * cgen.c (make_right_shifted_expr): Likewise.
3123 (gas_cgen_tc_gen_reloc): Likewise.
3124 * config/bfin-defs.h: Likewise.
3125 * config/bfin-parse.y: Likewise.
3126 * config/obj-coff.c (stack_init): Likewise.
3127 (stack_push): Likewise.
3128 (coff_obj_symbol_new_hook): Likewise.
3129 (coff_obj_symbol_clone_hook): Likewise.
3130 (add_lineno): Likewise.
3131 (coff_frob_symbol): Likewise.
3132 * config/obj-elf.c (obj_elf_section_name): Likewise.
3133 (build_group_lists): Likewise.
3134 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
3135 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
3136 * config/tc-aarch64.c (insert_reg_alias): Likewise.
3137 (find_or_make_literal_pool): Likewise.
3138 (add_to_lit_pool): Likewise.
3139 (fill_instruction_hash_table): Likewise.
3140 * config/tc-alpha.c (load_expression): Likewise.
3141 (emit_jsrjmp): Likewise.
3142 (s_alpha_ent): Likewise.
3143 (s_alpha_end): Likewise.
3144 (s_alpha_linkage): Likewise.
3145 (md_begin): Likewise.
3146 (tc_gen_reloc): Likewise.
3147 * config/tc-arc.c (arc_insert_opcode): Likewise.
3148 (arc_extcorereg): Likewise.
3149 * config/tc-bfin.c: Likewise.
3150 * config/tc-cr16.c: Likewise.
3151 * config/tc-cris.c: Likewise.
3152 * config/tc-crx.c (preprocess_reglist): Likewise.
3153 * config/tc-d10v.c: Likewise.
3154 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
3155 (frv_tomcat_shuffle): Likewise.
3156 * config/tc-h8300.c: Likewise.
3157 * config/tc-i370.c (i370_macro): Likewise.
3158 * config/tc-i386.c (lex_got): Likewise.
3159 (md_parse_option): Likewise.
3160 * config/tc-ia64.c (alloc_record): Likewise.
3161 (set_imask): Likewise.
3162 (save_prologue_count): Likewise.
3163 (dot_proc): Likewise.
3164 (dot_endp): Likewise.
3165 (ia64_frob_label): Likewise.
3166 (add_qp_imply): Likewise.
3167 (add_qp_mutex): Likewise.
3168 (mark_resource): Likewise.
3169 (dot_alias): Likewise.
3170 * config/tc-m68hc11.c: Likewise.
3171 * config/tc-m68k.c (m68k_frob_label): Likewise.
3173 (mri_control_label): Likewise.
3174 (push_mri_control): Likewise.
3175 (build_mri_control_operand): Likewise.
3176 (s_mri_else): Likewise.
3177 (s_mri_break): Likewise.
3178 (s_mri_next): Likewise.
3179 (s_mri_for): Likewise.
3180 (s_mri_endw): Likewise.
3181 * config/tc-metag.c (create_mnemonic_htab): Likewise.
3182 * config/tc-microblaze.c: Likewise.
3183 * config/tc-mmix.c (s_loc): Likewise.
3184 * config/tc-nds32.c (nds32_relax_hint): Likewise.
3185 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
3186 * config/tc-rl78.c: Likewise.
3187 * config/tc-rx.c (rx_include): Likewise.
3188 * config/tc-sh.c: Likewise.
3189 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
3190 * config/tc-sparc.c: Likewise.
3191 * config/tc-spu.c: Likewise.
3192 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
3193 (tic6x_start_unwind_section): Likewise.
3194 * config/tc-tilegx.c: Likewise.
3195 * config/tc-tilepro.c: Likewise.
3196 * config/tc-v850.c: Likewise.
3197 * config/tc-visium.c: Likewise.
3198 * config/tc-xgate.c: Likewise.
3199 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
3200 (new_resource_table): Likewise.
3201 (resize_resource_table): Likewise.
3202 (xtensa_create_trampoline_frag): Likewise.
3203 (xtensa_maybe_create_literal_pool_frag): Likewise.
3204 (cache_literal_section): Likewise.
3205 * config/xtensa-relax.c (append_transition): Likewise.
3206 (append_condition): Likewise.
3207 (append_value_condition): Likewise.
3208 (append_constant_value_condition): Likewise.
3209 (append_literal_op): Likewise.
3210 (append_label_op): Likewise.
3211 (append_constant_op): Likewise.
3212 (append_field_op): Likewise.
3213 (append_user_fn_field_op): Likewise.
3214 (enter_opname_n): Likewise.
3215 (enter_opname): Likewise.
3216 (split_string): Likewise.
3217 (parse_insn_templ): Likewise.
3218 (clone_req_or_option_list): Likewise.
3219 (clone_req_option_list): Likewise.
3220 (parse_option_cond): Likewise.
3221 (parse_insn_pattern): Likewise.
3222 (parse_insn_repl): Likewise.
3223 (build_transition): Likewise.
3224 (build_transition_table): Likewise.
3225 * dw2gencfi.c (alloc_fde_entry): Likewise.
3226 (alloc_cfi_insn_data): Likewise.
3227 (cfi_add_CFA_remember_state): Likewise.
3228 (dot_cfi_escape): Likewise.
3229 (dot_cfi_fde_data): Likewise.
3230 (select_cie_for_fde): Likewise.
3231 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
3232 * ecoff.c (ecoff_add_bytes): Likewise.
3233 (ecoff_build_debug): Likewise.
3234 * input-scrub.c (input_scrub_push): Likewise.
3235 (input_scrub_begin): Likewise.
3236 (input_scrub_next_buffer): Likewise.
3237 * itbl-ops.c (append_insns_as_macros): Likewise.
3238 (alloc_entry): Likewise.
3239 (alloc_field): Likewise.
3240 * listing.c (listing_newline): Likewise.
3241 (listing_listing): Likewise.
3242 * macro.c (get_any_string): Likewise.
3243 (delete_macro): Likewise.
3244 * stabs.c (generate_asm_file): Likewise.
3245 (stabs_generate_asm_lineno): Likewise.
3246 * subsegs.c (subseg_change): Likewise.
3247 (subseg_get): Likewise.
3248 * symbols.c (define_dollar_label): Likewise.
3249 (symbol_relc_make_sym): Likewise.
3250 * write.c (write_relocs): Likewise.
3252 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3254 * config/obj-coff.c (obj_coff_def): Simplify string copying.
3255 (weak_name2altname): Likewise.
3256 (weak_uniquify): Likewise.
3257 (obj_coff_section): Likewise.
3258 (obj_coff_init_stab_section): Likewise.
3259 * config/obj-elf.c (obj_elf_section_name): Likewise.
3260 (obj_elf_init_stab_section): Likewise.
3261 * config/obj-evax.c (evax_shorten_name): Likewise.
3262 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
3263 * config/tc-aarch64.c (create_register_alias): Likewise.
3264 * config/tc-alpha.c (load_expression): Likewise.
3265 (s_alpha_file): Likewise.
3266 (s_alpha_section_name): Likewise.
3267 (tc_gen_reloc): Likewise.
3268 * config/tc-arc.c (md_assemble): Likewise.
3269 * config/tc-arm.c (create_neon_reg_alias): Likewise.
3270 (start_unwind_section): Likewise.
3271 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
3272 (hppa_elf_mark_end_of_function): Likewise.
3273 * config/tc-nios2.c (nios2_modify_arg): Likewise.
3274 (nios2_negate_arg): Likewise.
3275 * config/tc-rx.c (rx_section): Likewise.
3276 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
3277 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3278 * config/tc-tic54x.c (tic54x_include): Likewise.
3279 (tic54x_macro_info): Likewise.
3280 (subsym_get_arg): Likewise.
3281 (subsym_substitute): Likewise.
3282 (tic54x_start_line_hook): Likewise.
3283 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
3284 (xg_reverse_shift_count): Likewise.
3285 * config/xtensa-relax.c (enter_opname_n): Likewise.
3286 (split_string): Likewise.
3287 * dwarf2dbg.c (get_filenum): Likewise.
3288 (process_entries): Likewise.
3289 * expr.c (operand): Likewise.
3290 * itbl-ops.c (alloc_entry): Likewise.
3291 * listing.c (listing_message): Likewise.
3292 (listing_title): Likewise.
3293 * macro.c (check_macro): Likewise.
3294 * stabs.c (s_xstab): Likewise.
3295 * symbols.c (symbol_relc_make_expr): Likewise.
3296 * write.c (compress_debug): Likewise.
3298 2016-05-12 Nick Clifton <nickc@redhat.com>
3301 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
3303 2016-05-11 Nick Clifton <nickc@redhat.com>
3306 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
3307 big endian ARM configurations.
3309 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
3310 Matthew Fortune <matthew.fortune@imgtec.com>
3312 * config/tc-mips.c (options): Add OPTION_DSPR3 and
3314 (md_longopts): Likewise.
3315 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
3316 (mips_ases): Define availability for DSPr3.
3317 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
3318 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
3319 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
3321 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
3322 .set nodspr3. Fix -mdspr2 formatting.
3323 * testsuite/gas/mips/mips32-dspr3.d: New file.
3324 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
3325 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
3327 2016-05-11 Nick Clifton <nickc@redhat.com>
3330 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
3331 to the pool uses O_constant.
3332 * testsuite/gas/arm/pr20068.s: New test.
3333 * testsuite/gas/arm/pr20068.d: Test driver.
3335 2016-05-11 Nick Clifton <nickc@redhat.com>
3337 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
3338 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3339 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3340 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3341 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3342 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3343 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3344 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3345 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3347 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3349 * testsuite/gas/i386/i386.exp: Run RDPID tests.
3350 * testsuite/gas/i386/prefix.d: Adjust.
3351 * testsuite/gas/i386/rdpid.s: New test.
3352 * testsuite/gas/i386/rdpid.d: Ditto.
3353 * testsuite/gas/i386/rdpid-intel.d: Ditto.
3354 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
3355 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
3356 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
3358 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3360 * config/tc-i386.c (cpu_arch): Add RDPID.
3361 * doc/c-i386.texi: Document RDPID.
3363 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3365 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
3366 set branch type of a symbol.
3368 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3370 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
3371 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
3373 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
3374 (aeabi_set_public_attributes): Memorize the feature bits of the
3375 architecture selected for Tag_CPU_arch. Use it to set
3376 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
3377 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
3378 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
3379 * testsuite/gas/arm/arch7em-bad-1.d: This.
3380 * testsuite/gas/arm/arch7em-bad-2.d: New file.
3381 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
3382 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3383 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3384 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3385 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3386 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
3387 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
3389 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3391 * config/tc-arm.c (struct arm_option_extension_value_table): Make
3392 allowed_archs an array with 2 entries.
3393 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
3394 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
3395 (arm_extensions): Use separate entries in allowed_archs when several
3396 archs are allowed to use an extension and change ARCH_ANY in
3397 ARM_ARCH_NONE in allowed_archs.
3398 (arm_parse_extension): Check that, for each allowed_archs entry, all
3399 bits are set in the current architecture, ignoring ARM_ANY entries.
3400 (s_arm_arch_extension): Likewise.
3402 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3404 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
3405 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
3406 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
3407 shared with a non M profile architecture.
3408 (do_rn): New function.
3409 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
3411 (v7m_psrs): Add ARMv8-M security extensions new special registers.
3412 (insns): Add ARMv8-M Security Extensions instructions.
3413 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
3414 arm_ext_v8m_m to decide the profile and the Thumb ISA.
3415 * testsuite/gas/arm/archv8m-cmse.s: New file.
3416 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
3417 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3418 * testsuite/gas/arm/any-cmse.d: Likewise.
3419 * testsuite/gas/arm/any-cmse-main.d: Likewise.
3420 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3421 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3422 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3423 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3424 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3426 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3428 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
3429 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
3431 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3433 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
3434 (fpu_arch_vfp_v3): Likewise.
3435 (fpu_arch_neon_v1): Likewise.
3436 (arm_arch_full): Likewise.
3437 (parse_neon_el_struct_list): Initialize fields of firsttype.
3439 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
3441 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
3442 (arc_extinsn): Handle new introduced syntax.
3443 * testsuite/gas/arc/textinsn1op.d: New file.
3444 * testsuite/gas/arc/textinsn1op.s: Likewise.
3445 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
3447 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3449 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
3450 DW_LNS_fixed_advance_pc.
3452 2016-04-27 Alan Modra <amodra@gmail.com>
3454 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
3455 (xmemdup0): New inline function.
3457 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
3459 * config/tc-mips.c (code_option_type): New enum.
3460 (parse_code_option): Return status indicating option type.
3461 (s_mipsset): Update `parse_code_option' call site accordingly.
3462 Always set register sizes from the ISA with ISA overrides.
3463 (s_module): Update `parse_code_option' call site.
3464 * testsuite/gas/mips/isa-override-1.d: New test.
3465 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
3466 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
3467 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
3468 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
3469 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
3470 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
3471 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
3472 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
3473 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
3474 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
3475 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
3476 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
3477 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
3478 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
3479 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
3480 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
3481 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
3482 * testsuite/gas/mips/isa-override-2.l: New list test.
3483 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
3484 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
3485 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
3486 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
3487 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
3488 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
3489 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
3490 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
3491 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
3492 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
3493 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
3495 * testsuite/gas/mips/isa-override-1.s: New test source.
3496 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
3497 * testsuite/gas/mips/isa-override-2.s: New test source.
3498 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
3499 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
3500 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
3501 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
3502 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
3503 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
3504 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
3505 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
3506 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
3507 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
3508 * testsuite/gas/mips/mips.exp: Run the new tests.
3510 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3513 * config/tc-bfin.c: Likewise.
3514 * config/tc-ia64.c: Likewise.
3515 * config/tc-mep.c: Likewise.
3516 * config/tc-metag.c: Likewise.
3517 * config/tc-nios2.c: Likewise.
3518 * config/tc-rl78.c: Likewise.
3520 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
3522 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
3523 -mcpu. Add cross reference to .cpu directive from -mcpu option.
3524 (ARC Directives): Add NPS400 to .cpu directive list.
3526 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
3528 * config/tc-aarch64.c (aarch64_features): Add "ras".
3529 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
3530 * testsuite/gas/aarch64/armv8-ras-1.d: New.
3531 * testsuite/gas/aarch64/armv8-ras-1.s: New.
3532 * testsuite/gas/aarch64/illegal-ras-1.d: New.
3533 * testsuite/gas/aarch64/illegal-ras-1.s: New.
3535 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3537 * testsuite/gas/arc/nps400-6.d: New file.
3538 * testsuite/gas/arc/nps400-6.s: New file.
3540 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3542 * testsuite/gas/arc/nps400-4.d: New file.
3543 * testsuite/gas/arc/nps400-4.s: New file.
3544 * testsuite/gas/arc/nps400-5.d: New file.
3545 * testsuite/gas/arc/nps400-5.s: New file.
3547 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
3549 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
3552 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
3554 Revert prevous change.
3555 * config/tc-arc.c (arc_option): Make .cpu directive
3556 case-sensitive again.
3558 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3560 * config/tc-arc.c (arc_option): Make .cpu directive
3563 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3565 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
3567 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3569 * config/tc-mips.c (md_begin): Remove useless assignment.
3571 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3573 * Makefile.in: Regenerated with automake 1.11.6.
3574 * aclocal.m4: Likewise.
3575 * doc/Makefile.in: Likewise.
3577 2016-04-15 Alan Modra <amodra@gmail.com>
3579 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
3581 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3583 * config/tc-nios2.c (nios2_as_options): Make file static.
3584 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
3585 * config/tc-sparc.c (native_op_table): Likewise.
3587 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3589 * config/tc-m32c.c (M32C_Macros): Remove.
3590 * config/tc-msp430.c (option_numbers): Likewise.
3592 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3594 * testsuite/gas/arc/nps400-3.d: New file.
3595 * testsuite/gas/arc/nps400-3.s: New file.
3597 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3599 * testsuite/gas/arc/add_s-err.s: Update target pattern.
3600 * testsuite/gas/arc/warn.s: Likewise.
3601 * testsuite/gas/elf/elf.exp: Run test for arc.
3603 2016-04-14 Nick Clifton <nickc@redhat.com>
3606 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
3607 sections possibly having the SHF_STRINGS flag bit set.
3608 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
3610 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3612 * config/tc-arc.c (mach_type_specified_p): Change type to
3614 (arc_option): Set private flags when parsing cpu pseudo-op.
3615 (md_parse_option): Set mach_type_specified_p to TRUE.
3617 2016-04-13 Nick Clifton <nickc@redhat.com>
3620 * testsuite/gas/v850/pr19937.s: New test.
3621 * testsuite/gas/v850/pr19937.d: New test control file.
3622 * testsuite/gas/v850/basic.exp: Run the new test.
3624 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3625 Andrew Bennett <andrew.bennett@imgtec.com>
3627 * config/tc-mips.c (relaxed_branch_length): Use the long
3628 sequence where the target is a weak symbol.
3629 (relaxed_micromips_32bit_branch_length): Likewise.
3630 (relaxed_micromips_16bit_branch_length): Likewise.
3631 * testsuite/gas/mips/branch-weak-1.d: New test.
3632 * testsuite/gas/mips/branch-weak-2.d: New test.
3633 * testsuite/gas/mips/branch-weak-3.d: New test.
3634 * testsuite/gas/mips/branch-weak-4.d: New test.
3635 * testsuite/gas/mips/branch-weak-5.d: New test.
3636 * testsuite/gas/mips/branch-weak.l: New stderr output.
3637 * testsuite/gas/mips/branch-weak.s: New test source.
3638 * testsuite/gas/mips/mips.exp: Run the new tests.
3640 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3642 * config/tc-mips.c (relaxed_branch_length): Use the long
3643 sequence where the distance cannot be determined.
3644 (relaxed_micromips_32bit_branch_length): Likewise.
3645 * testsuite/gas/mips/branch-extern-1.d: New test.
3646 * testsuite/gas/mips/branch-extern-2.d: New test.
3647 * testsuite/gas/mips/branch-extern-3.d: New test.
3648 * testsuite/gas/mips/branch-extern-4.d: New test.
3649 * testsuite/gas/mips/branch-extern.l: New stderr output.
3650 * testsuite/gas/mips/branch-extern.s: New test source.
3651 * testsuite/gas/mips/branch-section-1.d: New test.
3652 * testsuite/gas/mips/branch-section-2.d: New test.
3653 * testsuite/gas/mips/branch-section-3.d: New test.
3654 * testsuite/gas/mips/branch-section-4.d: New test.
3655 * testsuite/gas/mips/branch-section.l: New stderr output.
3656 * testsuite/gas/mips/branch-section.s: New test source.
3657 * testsuite/gas/mips/mips.exp: Run the new tests.
3659 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3661 * testsuite/gas/arc/textauxregister.d: New file.
3662 * testsuite/gas/arc/textauxregister.s: Likewise.
3663 * testsuite/gas/arc/textcondcode.d: Likewise.
3664 * testsuite/gas/arc/textcondcode.s: Likewise.
3665 * testsuite/gas/arc/textcoreregister.d: Likewise.
3666 * testsuite/gas/arc/textcoreregister.s: Likewise.
3667 * testsuite/gas/arc/textpseudoop.d: Likewise.
3668 * testsuite/gas/arc/textpseudoop.s: Likewise.
3669 * testsuite/gas/arc/ld2.d: Update test.
3670 * testsuite/gas/arc/st.d: Likewise.
3671 * testsuite/gas/arc/taux.d: Likewise.
3672 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
3673 .extCoreRegister and .extAuxRegister documentation.
3674 * config/tc-arc.c (arc_extcorereg): New function.
3675 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
3676 .extAuxRegister pseudo-ops.
3677 (extRegister_t): New type.
3678 (ext_condcode, arc_aux_hash): New global variable.
3679 (find_opcode_match): Check for extensions.
3680 (preprocess_operands): Likewise.
3681 (md_begin): Add aux registers in a hash.
3682 (assemble_insn): Update use arc_flags member.
3683 (tokenize_extregister): New function.
3684 (create_extcore_section): Likewise.
3685 * config/tc-arc.h (arc_flags): Delete code, add flgp.
3687 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3689 * testsuite/gas/arc/noargs_a7.d: New file.
3690 * testsuite/gas/arc/noargs_a7.s: Likewise.
3691 * testsuite/gas/arc/noargs_hs.d: Likewise.
3692 * testsuite/gas/arc/noargs_hs.s: Likewise.
3694 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3696 * testsuite/gas/arc/textinsn-errors.d: New File.
3697 * testsuite/gas/arc/textinsn-errors.err: Likewise.
3698 * testsuite/gas/arc/textinsn-errors.s: Likewise.
3699 * testsuite/gas/arc/textinsn2op.d: Likewise.
3700 * testsuite/gas/arc/textinsn2op.s: Likewise.
3701 * testsuite/gas/arc/textinsn2op01.d: Likewise.
3702 * testsuite/gas/arc/textinsn2op01.s: Likewise.
3703 * testsuite/gas/arc/textinsn3op.d: Likewise.
3704 * testsuite/gas/arc/textinsn3op.s: Likewise.
3705 * doc/c-arc.texi (ARC Directives): Add .extInstruction
3707 * config/tc-arc.c (arcext_section): New variable.
3708 (arc_extinsn): New function.
3709 (md_pseudo_table): Add .extInstruction pseudo op.
3710 (attributes_t): New type.
3711 (suffixclass, syntaxclass, syntaxclassmod): New constant
3713 (find_opcode_match): Remove arc_num_opcodes.
3714 (md_begin): Likewise.
3715 (tokenize_extinsn): New function.
3716 (arc_set_ext_seg): Likewise.
3717 (create_extinst_section): Likewise.
3719 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3721 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3722 (arc_adjust_symtab): New function.
3723 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3724 (obj_adjust_symtab): Likewise.
3725 * testsuite/gas/arc/taux.d: New file.
3726 * testsuite/gas/arc/taux.s: Likewise.
3728 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3730 * config/tc-mips.c (s_option): Sanitize `.option picX'
3732 * testsuite/gas/mips/option-pic-1.d: New test.
3733 * testsuite/gas/mips/option-pic-2.l: New list test.
3734 * testsuite/gas/mips/option-pic-1.s: New test source.
3735 * testsuite/gas/mips/option-pic-2.s: New test source.
3736 * testsuite/gas/mips/mips.exp: Run the new tests.
3738 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3740 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3742 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3743 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3744 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3745 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3746 * testsuite/gas/mips/mips.exp: Run the new tests.
3748 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3750 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3752 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3754 * messages.c (as_bad): Fix a typo in description.
3756 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3758 * config/tc-mips.c (mips_check_options): Unify messages.
3760 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3762 * config/tc-mips.c (mips_check_options): Use `opts->isa'
3765 2016-04-08 Nick Clifton <nickc@redhat.com>
3768 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
3769 COFF and AOUT sparc targets.
3771 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3773 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
3774 * testsuite/gas/arc/nps400-2.d: New file.
3775 * testsuite/gas/arc/nps400-2.s: New file.
3777 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3779 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
3781 (arc_opcode_hash_entry_iterator_init): New function.
3782 (arc_opcode_hash_entry_iterator_next): New function.
3783 (find_opcode_match): Iterate over all arc_opcode entries
3784 referenced by the arc_opcode_hash_entry passed in as a parameter.
3786 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3788 * config/tc-arc.c (arc_find_opcode): Now returns
3789 arc_opcode_hash_entry pointer.
3790 (find_opcode_match): Update argument type, extract arc_opcode from
3791 incoming arc_opcode_hash_entry.
3792 (find_special_case_pseudo): Update return type.
3793 (find_special_case_flag): Update return type.
3794 (find_special_case): Update return type.
3795 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3796 instruction mnemonic, then use find_opcode_match to identify
3797 specific arc_opcode.
3799 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3801 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3802 (arc_find_opcode): New function.
3803 (find_special_case_pseudo): Use arc_find_opcode.
3804 (find_special_case_flag): Likewise.
3805 (assemble_tokens): Likewise.
3806 (md_begin): Build hash using struct arc_opcode_hash_entry.
3808 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3810 * config/tc-arc.c (arc_option): Prepare string for automatic
3812 (declare_register): Likewise.
3814 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3816 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3817 Correct entry for RDMA. Alpha sort entries.
3819 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3821 * config/tc-arc.c (tokenize_flags): Allow greater range of
3822 characters into flag names.
3824 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3826 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3828 (preprocess_operands): Delete.
3829 (assemble_tokens): Remove call to preprocess_operands.
3831 2016-04-07 Nick Clifton <nickc@redhat.com>
3834 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3835 inside a %-macro could not be fully parsed.
3836 * expr.c (integer_constant): Accept and ignore U suffixes to
3838 (operand): When a missing closing parenthesis is encountered,
3839 report the character that was found instead.
3840 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3841 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3842 * testsuite/gas/sparc/pr19910-1.s: New test.
3843 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3844 * testsuite/gas/sparc/pr19910-2.s: New test.
3845 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3847 2016-04-06 Nick Clifton <nickc@redhat.com>
3849 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3850 an EINT instruction. Warn/fix as necessary.
3851 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3852 * testsuite/gas/msp430/bad.l: Update expected messages.
3854 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3856 * testsuite/gas/arc/nps400-1.d: Update expected results.
3857 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3859 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3861 * config/tc-arc.c (is_code_density_p): Compare directly the
3863 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3864 (check_cpu_feature): New function.
3865 (find_opcode_match): Use check_cpu_feature function.
3866 (preprocess_operands): Likewise.
3867 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3868 * testsuite/gas/arc/tdpfp.d: New file.
3869 * testsuite/gas/arc/tfpuda.d: Likewise.
3870 * testsuite/gas/arc/tfpx.s: Likewise.
3872 2016-04-05 Jiong Wang <jiong.wang@arm.com>
3874 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3875 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3876 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3877 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3878 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3879 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3880 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
3881 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3883 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3885 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3887 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
3888 JUMP instructions type.
3889 * testsuite/gas/arc/relocs-errors.d: New file.
3890 * testsuite/gas/arc/relocs-errors.err: Likewise.
3891 * testsuite/gas/arc/relocs-errors.s: Likewise.
3893 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3896 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3897 only if i.disp_encoding != disp_encoding_32bit.
3898 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3899 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3900 * gas/testsuite/gas/i386/disp32.d: Updated.
3901 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3903 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3906 * testsuite/gas/i386/i386.exp: Run pr19498.
3907 * testsuite/gas/i386/pr19498.d: New file.
3908 * testsuite/gas/i386/pr19498.s: Likewise.
3910 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3912 * config/tc-arc.h: Include 'opcode/arc.h'.
3913 (MAX_INSN_ARGS): Delete.
3914 (MAX_INSN_FLGS): Delete.
3916 2016-04-04 Alan Modra <amodra@gmail.com>
3919 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3920 from function on all paths that set sy_resolving.
3922 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3924 * app.c (app_push): use XNEW macro.
3926 * config/obj-elf.c (obj_elf_change_section): Likewise.
3927 (elf_copy_symbol_attributes): Likewise.
3928 (obj_elf_size): Likewise.
3929 (build_group_lists): Likewise.
3930 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3931 (md_assemble): Likewise.
3932 (tc_gen_reloc): Likewise.
3933 (get_upper_str): Likewise.
3934 (aarch64_parse_features): Likewise.
3935 * config/tc-arm.c (insert_reg_alias): Likewise.
3936 (insert_neon_reg_alias): Likewise.
3937 (find_or_make_literal_pool): Likewise.
3938 (s_arm_elf_cons): Likewise.
3939 (add_unwind_opcode): Likewise.
3940 (arm_parse_extension): Likewise.
3941 * config/tc-avr.c (create_record_for_frag): Likewise.
3942 * config/tc-crx.c: Likewise.
3943 * config/tc-d30v.c: Likewise.
3944 * config/tc-dlx.c (s_proc): Likewise.
3945 * config/tc-ft32.c: Likewise.
3946 * config/tc-h8300.c: Likewise.
3947 * config/tc-hppa.c (pa_proc): Likewise.
3948 (create_new_space): Likewise.
3949 (create_new_subspace): Likewise.
3950 * config/tc-i860.c: Likewise.
3951 * config/tc-i960.c: Likewise.
3952 * config/tc-ia64.c: Likewise.
3953 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3954 (iq2000_record_hi16): Likewise.
3955 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3956 * config/tc-m32r.c (debug_sym): Likewise.
3957 (m32r_record_hi16): Likewise.
3958 * config/tc-m68k.c (m68k_ip): Likewise.
3959 (md_begin): Likewise.
3960 * config/tc-mcore.c: Likewise.
3961 * config/tc-microblaze.c (check_got): Likewise.
3962 * config/tc-mips.c (append_insn): Likewise.
3963 (s_mipsset): Likewise.
3964 (mips_record_label): Likewise.
3965 (s_mips_end): Likewise.
3966 * config/tc-mmix.c (mmix_frob_file): Likewise.
3967 * config/tc-mn10200.c: Likewise.
3968 * config/tc-mn10300.c: Likewise.
3969 * config/tc-moxie.c: Likewise.
3970 * config/tc-msp430.c: Likewise.
3971 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3972 * config/tc-ns32k.c: Likewise.
3973 * config/tc-or1k.c: Likewise.
3974 * config/tc-pdp11.c: Likewise.
3975 * config/tc-pj.c (fake_opcode): Likewise.
3976 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3977 (ppc_macro): Likewise.
3978 (ppc_dwsect): Likewise.
3979 (ppc_machine): Likewise.
3980 * config/tc-rl78.c (rl78_frag_init): Likewise.
3981 * config/tc-rx.c (rx_frag_init): Likewise.
3982 * config/tc-s390.c (s390_lit_suffix): Likewise.
3983 (s390_machine): Likewise.
3984 (s390_machinemode): Likewise.
3985 * config/tc-score.c (s3_insert_reg): Likewise.
3986 (s3_gen_reloc): Likewise.
3987 * config/tc-score7.c (s7_insert_reg): Likewise.
3988 (s7_gen_reloc): Likewise.
3989 * config/tc-tic30.c (tic30_operand): Likewise.
3990 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3991 * config/tc-tic54x.c (stag_add_field): Likewise.
3992 (tic54x_struct): Likewise.
3993 (tic54x_space): Likewise.
3994 (tic54x_field): Likewise.
3995 (tic54x_mlib): Likewise.
3996 (subsym_substitute): Likewise.
3997 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3998 * config/tc-vax.c: Likewise.
3999 * config/tc-xc16x.c: Likewise.
4000 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
4001 (directive_push): Likewise.
4002 (xtensa_begin_directive): Likewise.
4003 (tokenize_arguments): Likewise.
4004 (xtensa_add_literal_sym): Likewise.
4005 (new_resource_table): Likewise.
4006 (resize_resource_table): Likewise.
4007 (emit_single_op): Likewise.
4008 (xtensa_create_trampoline_frag): Likewise.
4009 (xtensa_maybe_create_literal_pool_frag): Likewise.
4010 (xtensa_add_config_info): Likewise.
4011 (xtensa_realloc_fixup_cache): Likewise.
4012 (add_subseg_info): Likewise.
4013 (cache_literal_section): Likewise.
4014 (add_xt_block_frags): Likewise.
4015 (add_xt_prop_frags): Likewise.
4016 (init_op_placement_info_table): Likewise.
4017 (build_section_rename): Likewise.
4018 * config/tc-z80.c: Likewise.
4019 * config/tc-z8k.c: Likewise.
4020 * depend.c (register_dependency): Likewise.
4021 * dwarf2dbg.c (get_line_subseg): Likewise.
4022 (dwarf2_gen_line_info_1): Likewise.
4023 (get_filenum): Likewise.
4024 * ecoff.c (allocate_scope): Likewise.
4025 (allocate_vlinks): Likewise.
4026 (allocate_shash): Likewise.
4027 (allocate_thash): Likewise.
4028 (allocate_tag): Likewise.
4029 (allocate_forward): Likewise.
4030 (allocate_thead): Likewise.
4031 (allocate_lineno_list): Likewise.
4032 * expr.c (make_expr_symbol): Likewise.
4033 * hash.c (hash_new_sized): Likewise.
4034 * input-file.c (input_file_push): Likewise.
4035 * listing.c (file_info): Likewise.
4036 (listing_newline): Likewise.
4037 * macro.c (new_formal): Likewise.
4038 (define_macro): Likewise.
4039 * remap.c (add_debug_prefix_map): Likewise.
4040 * symbols.c (symbol_find_noref): Likewise.
4041 (define_dollar_label): Likewise.
4042 (fb_label_instance_inc): Likewise.
4043 (symbol_relc_make_value): Likewise.
4045 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4047 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
4048 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
4049 (ppc_znop): Likewise.
4050 (ppc_pe_section): Likewise.
4051 (ppc_frob_symbol): Likewise.
4052 * config/tc-tic30.c (tic30_operand): Likewise.
4053 * config/tc-tic4x.c (tic4x_sect): Likewise.
4054 (tic4x_usect): Likewise.
4056 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4058 * config/tc-alpha.c: Const qualify FLT_CHARS.
4059 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
4060 * config/tc-cris.h: Likewise.
4062 * config/tc-mmix.c (md_atof): Adjust comment.
4063 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
4064 * tc.h: Declare FLT_CHARS and EXP_CHARS.
4066 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4068 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
4069 * config/tc-score7.c (s7_gen_reloc): Likewise.
4071 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4073 * config/tc-arm.c (do_t_branch): Change the type of reloc to
4074 bfd_reloc_code_real_type.
4076 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4078 * config/bfin-parse.y (current_inputline): Remove definition.
4079 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
4081 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4083 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
4086 2016-04-02 Alan Modra <amodra@gmail.com>
4089 * read.c (assign_symbol): Consume rest of line after an error
4090 rather than continuing to process the line.
4092 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4094 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
4095 (MAX_FLAG_NAME_LENGTH): ...this.
4096 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
4097 * config/tc-arc.c (tokenize_flags): Likewise.
4099 2016-04-01 Alan Modra <amodra@gmail.com>
4101 * cgen.c (weak_operand_overflow_check): Return const char*.
4102 * messages.c (as_internal_value_out_of_range): Formatting.
4103 (as_warn_value_out_of_range): Consify prefix param.
4104 (as_bad_value_out_of_range): Likewise.
4105 * read.c (s_errwarn): Constify msg..
4106 (s_float_space, float_cons): ..and err.
4107 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
4108 ieee_md_atof, vax_md_atof): Update prototypes.
4109 * tc.h (md_atof): Update prototype.
4110 * config/atof-ieee.c (ieee_md_atof): Return const char*.
4111 * config/atof-vax.c (vax_md_atof): Likewise.
4112 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
4113 * config/tc-aarch64.c (md_atof): Return const char*.
4114 * config/tc-alpha.c (s_alpha_section_name): Likewise.
4115 (s_alpha_comm): Constify sec_name.
4116 (section_name): Constify.
4117 (s_alpha_section): Consify name..
4118 (alpha_elf_section_letter): ..and ptr_msg param..
4119 (md_atof): ..and return.
4120 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
4121 * config/tc-arc.c (md_atof): Return const char*.
4122 * config/tc-arm.c (md_atof): Likewise.
4123 * config/tc-avr.c (md_atof): Likewise.
4124 * config/tc-bfin.c (md_atof): Likewise.
4125 * config/tc-cr16.c (md_atof): Likewise.
4126 * config/tc-cris.c (md_atof): Likewise.
4127 * config/tc-crx.c (md_atof): Likewise.
4128 * config/tc-d10v.c (md_atof): Likewise.
4129 * config/tc-d30v.c (md_atof): Likewise.
4130 * config/tc-dlx.c (md_atof): Likewise.
4131 * config/tc-epiphany.c (md_atof): Likewise.
4132 * config/tc-fr30.c (md_atof): Likewise.
4133 * config/tc-frv.c (md_atof): Likewise.
4134 * config/tc-ft32.c (md_atof): Likewise.
4135 * config/tc-h8300.c (md_atof): Likewise.
4136 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
4137 (struct default_space_dict): Likewise.
4138 (create_new_space): Constify name param.
4139 (create_new_subspace): Likewise.
4140 (is_defined_space, is_defined_subspace): Likewise.
4141 (pa_parse_space_stmt): Constify space_name param.
4142 (md_atof): Return const char*.
4143 (pa_spaces_begin): Constify name.
4144 * config/tc-i370.c (md_atof): Return const char*.
4145 * config/tc-i386.c (md_atof): Likewise.
4146 (x86_64_section_letter): Constify ptr_msg param.
4147 * config/tc-i386.h (x86_64_section_letter): Update prototype.
4148 * config/tc-i860.c (struct i860_it): Constify error.
4149 (md_atof): Return const char*.
4150 * config/tc-i960.c (md_atof): Likewise.
4151 * config/tc-ia64.c (md_atof): Likewise.
4152 (ia64_elf_section_letter): Constify ptr_msg param.
4153 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
4154 * config/tc-ip2k.c (md_atof): Return const char*.
4155 * config/tc-iq2000.c (md_atof): Likewise.
4156 * config/tc-lm32.c (md_atof): Likewise.
4157 * config/tc-m32c.c (md_atof): Likewise.
4158 * config/tc-m32r.c (md_atof): Likewise.
4159 * config/tc-m68hc11.c (md_atof): Likewise.
4160 * config/tc-m68k.c (md_atof): Likewise.
4161 * config/tc-mcore.c (md_atof): Likewise.
4162 * config/tc-mep.c (md_atof): Likewise.
4163 (mep_elf_section_letter): Constify ptr_msg param.
4164 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
4165 * config/tc-metag.c (md_atof): Return const char*.
4166 * config/tc-microblaze.c (md_atof): Likewise.
4167 * config/tc-microblaze.h (md_atof): Delete prototype.
4168 * config/tc-mips.c (mips_parse_argument_token): Constify err.
4169 (md_atof): Return const char*.
4170 * config/tc-mmix.c (md_atof): Likewise.
4171 * config/tc-mn10200.c (md_atof): Likewise.
4172 * config/tc-mn10300.c (md_atof): Likewise.
4173 * config/tc-moxie.c (md_atof): Likewise.
4174 * config/tc-msp430.c (md_atof): Likewise.
4175 * config/tc-mt.c (md_atof): Likewise.
4176 * config/tc-nds32.c (md_atof): Likewise.
4177 * config/tc-nios2.c (md_atof): Likewise.
4178 (nios2_elf_section_letter): Constify ptr_msg param.
4179 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
4180 * config/tc-ns32k.c (md_atof): Return const char*.
4181 * config/tc-or1k.c (md_atof): Likewise.
4182 * config/tc-pdp11.c (struct pdp11_code): Constify error.
4183 (md_atof): Return const char*.
4184 * config/tc-pj.c (md_atof): Likewise.
4185 * config/tc-ppc.c (md_atof): Likewise.
4186 * config/tc-rl78.c (md_atof): Likewise.
4187 * config/tc-rx.c (md_atof): Likewise.
4188 * config/tc-s390.c (md_atof): Likewise.
4189 * config/tc-score.c (s3_atof, md_atof): Likewise.
4190 * config/tc-sh.c (md_atof): Likewise.
4191 * config/tc-sparc.c (struct sparc_it): Constify error.
4192 (md_atof): Return const char*.
4193 * config/tc-spu.c (md_atof): Likewise.
4194 * config/tc-tic30.c (md_atof): Likewise.
4195 * config/tc-tic4x.c (md_atof): Likewise.
4196 * config/tc-tic54x.c (md_atof): Likewise.
4197 * config/tc-tic6x.c (md_atof): Likewise.
4198 * config/tc-tilegx.c (md_atof): Likewise.
4199 * config/tc-tilepro.c (md_atof): Likewise.
4200 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
4201 * config/tc-vax.c (md_atof): Likewise.
4202 * config/tc-visium.c (md_atof): Likewise.
4203 * config/tc-xc16x.c (md_atof): Likewise.
4204 * config/tc-xgate.c (md_atof): Likewise.
4205 * config/tc-xstormy16.c (md_atof): Likewise.
4206 * config/tc-xtensa.c (md_atof): Likewise.
4207 * config/tc-z80.c (md_atof): Likewise.
4208 * config/tc-z8k.c (md_atof): Likewise.
4210 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4212 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
4214 (xtensa_section_rename): Make argument type const char *.
4215 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
4217 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4219 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
4222 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4224 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
4226 (m32c_indirect_operand): Likewise.
4227 * config/tc-nds32.c (do_pseudo_b): Likewise.
4228 (do_pseudo_bal): Likewise.
4229 (do_pseudo_ls_bhw): Likewise.
4231 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4233 * as.c (parse_args): Cast literal to char * when assigning to optarg.
4235 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4237 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
4239 * config/tc-sparc.c (s_register): Cast a literal to char * in
4242 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4244 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
4246 * config/tc-m32r.c (expand_debug_syms): Likewise.
4247 * config/tc-msp430.c (msp430_dstoperand): Likewise.
4248 * config/tc-z80.c (md_begin): Likewise.
4249 * stabs.c (stabs_generate_asm_func): Likewise.
4251 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4253 * cgen.c: Modernize the way functions declare arguments.
4254 * config/tc-bfin.c: Likewise.
4255 * config/tc-pdp11.c: Likewise.
4256 * literal.c: Likewise.
4258 * stabs.c: Likewise.
4260 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4262 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
4263 variables unsigned char[].
4264 * config/tc-alpha.c (alpha_handle_align): Likewise.
4265 * config/tc-arm.c (arm_handle_align): Likewise.
4266 * config/tc-z80.c: Likewise.
4268 2016-03-30 Nick Clifton <nickc@redhat.com>
4271 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
4274 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4276 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
4277 * testsuite/gas/elf/elf.exp: Likewise.
4278 * testsuite/gas/all/redef3.d: Allow execution for ARC.
4280 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4282 * testsuite/gas/arc/warn.exp: Fix matching pattern.
4284 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
4286 * testsuite/gas/arc/ext2op.d: New file.
4287 * testsuite/gas/arc/ext2op.s: Likewise.
4288 * testsuite/gas/arc/ext3op.d: Likewise.
4289 * testsuite/gas/arc/ext3op.s: Likewise.
4291 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4293 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
4295 * config/tc-alpha.c (md_parse_option): Likewise.
4296 * config/tc-arc.c (md_parse_option): Likewise.
4297 * config/tc-arm.c (struct arm_long_option_table): Likewise.
4298 (md_parse_option): Likewise.
4299 * config/tc-avr.c (md_parse_option): Likewise.
4300 * config/tc-bfin.c (md_parse_option): Likewise.
4301 * config/tc-cr16.c (md_parse_option): Likewise.
4302 * config/tc-cris.c (s_cris_arch): Likewise.
4303 (md_parse_option): Likewise.
4304 * config/tc-crx.c (md_parse_option): Likewise.
4305 * config/tc-d10v.c (md_parse_option): Likewise.
4306 * config/tc-d30v.c (md_parse_option): Likewise.
4307 * config/tc-dlx.c (md_parse_option): Likewise.
4308 * config/tc-epiphany.c (md_parse_option): Likewise.
4309 * config/tc-fr30.c (md_parse_option): Likewise.
4310 * config/tc-frv.c (md_parse_option): Likewise.
4311 * config/tc-ft32.c (md_parse_option): Likewise.
4312 * config/tc-h8300.c (md_parse_option): Likewise.
4313 * config/tc-hppa.c (md_parse_option): Likewise.
4314 * config/tc-i370.c (md_parse_option): Likewise.
4315 * config/tc-i386.c (md_parse_option): Likewise.
4316 * config/tc-i860.c (md_parse_option): Likewise.
4317 * config/tc-i960.c (md_parse_option): Likewise.
4318 * config/tc-ia64.c (md_parse_option): Likewise.
4319 * config/tc-ip2k.c (md_parse_option): Likewise.
4320 * config/tc-iq2000.c (md_parse_option): Likewise.
4321 * config/tc-lm32.c (md_parse_option): Likewise.
4322 * config/tc-m32c.c (md_parse_option): Likewise.
4323 * config/tc-m32r.c (md_parse_option): Likewise.
4324 * config/tc-m68hc11.c (md_parse_option): Likewise.
4325 * config/tc-m68k.c (md_parse_option): Likewise.
4326 * config/tc-mcore.c (md_parse_option): Likewise.
4327 * config/tc-mep.c (md_parse_option): Likewise.
4328 * config/tc-metag.c (struct metag_long_option): Likewise.
4329 (md_parse_option): Likewise.
4330 * config/tc-microblaze.c (md_parse_option): Likewise.
4331 * config/tc-microblaze.h (md_parse_option): Remove prototype.
4332 * config/tc-mips.c (md_parse_option): Adjust.
4333 * config/tc-mmix.c (md_parse_option): Likewise.
4334 * config/tc-mn10200.c (md_parse_option): Likewise.
4335 * config/tc-mn10300.c (md_parse_option): Likewise.
4336 * config/tc-moxie.c (md_parse_option): Likewise.
4337 * config/tc-msp430.c (md_parse_option): Likewise.
4338 * config/tc-mt.c (md_parse_option): Likewise.
4339 * config/tc-nds32.c (md_parse_option): Likewise.
4340 * config/tc-nds32.h (nds32_parse_option): Likewise.
4341 * config/tc-nios2.c (md_parse_option): Likewise.
4342 * config/tc-ns32k.c (md_parse_option): Likewise.
4343 * config/tc-or1k.c (md_parse_option): Likewise.
4344 * config/tc-pdp11.c (md_parse_option): Likewise.
4345 * config/tc-pj.c (md_parse_option): Likewise.
4346 * config/tc-ppc.c (md_parse_option): Likewise.
4347 * config/tc-rl78.c (md_parse_option): Likewise.
4348 * config/tc-rx.c (md_parse_option): Likewise.
4349 * config/tc-s390.c (s390_parse_cpu): Likewise.
4350 * config/tc-score.c (md_parse_option): Likewise.
4351 * config/tc-sh.c (md_parse_option): Likewise.
4352 * config/tc-sparc.c (md_parse_option): Likewise.
4353 * config/tc-spu.c (md_parse_option): Likewise.
4354 * config/tc-tic30.c (md_parse_option): Likewise.
4355 * config/tc-tic4x.c (md_parse_option): Likewise.
4356 * config/tc-tic54x.c (md_parse_option): Likewise.
4357 * config/tc-tic6x.c (md_parse_option): Likewise.
4358 * config/tc-tilegx.c (md_parse_option): Likewise.
4359 * config/tc-tilepro.c (md_parse_option): Likewise.
4360 * config/tc-v850.c (md_parse_option): Likewise.
4361 * config/tc-vax.c (md_parse_option): Likewise.
4362 * config/tc-visium.c (struct visium_long_option_table): Likewise.
4363 * config/tc-xc16x.c (md_parse_option): Likewise.
4364 * config/tc-xgate.c (md_parse_option): Likewise.
4365 * config/tc-xstormy16.c (md_parse_option): Likewise.
4366 * config/tc-xtensa.c (md_parse_option): Likewise.
4367 * config/tc-z80.c (md_parse_option): Likewise.
4368 * config/tc-z8k.c (md_parse_option): Likewise.
4369 * tc.h (md_parse_option): Likewise.
4371 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4373 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
4374 * config/tc-hppa.c (fix_new_hppa): Likewise.
4375 (pa_vtable_entry): Likewise.
4376 (pa_vtable_inherit): Likewise.
4377 * config/tc-m68k.c (md_begin): Likewise.
4379 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4381 * config/obj-elf.c (obj_elf_section_name): Return const char *.
4382 * config/obj-elf.h (obj_elf_section_name): Adjust.
4383 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
4384 (aarch64_parse_cpu): Likewise.
4385 (aarch64_parse_arch): Likewise.
4386 * config/tc-arm.c (arm_parse_extension): Likewise.
4387 (arm_parse_cpu): Likewise.
4388 (arm_parse_arch): Likewise.
4389 * config/tc-nds32.c: Likewise.
4390 * config/xtensa-relax.c (parse_special_fn): Likewise.
4391 * stabs.c (generate_asm_file): Likewise.
4393 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4395 * config/tc-cr16.c (cr16_assemble): New function.
4396 (md_assemble): Call cr16_assemble.
4398 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4400 * as.c (parse_args): Adjust.
4401 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
4402 * config/obj-elf.c (elf_frob_symbol): Adjust.
4404 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
4406 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
4407 registers to be in the 16..31 range.
4409 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4411 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
4414 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4416 * config/tc-visium.c (md_atof): Localize the string returned on
4419 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4421 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
4422 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
4423 * config/tc-m68hc11.c (md_begin): Likewise.
4424 (print_opcode_list): Likewise.
4425 * config/tc-msp430.c (msp430_section): Likewise.
4426 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
4427 (s3_build_dependency_insn_hsh): Likewise.
4428 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
4429 (s7_build_dependency_insn_hsh): Likewise.
4430 * config/tc-tic4x.c: Likewise.
4431 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4432 (subsym_get_arg): Likewise.
4433 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
4434 (get_directive): Likewise.
4435 (cache_literal_section): Likewise.
4436 * config/xtensa-relax.c: Likewise.
4437 * symbols.c (symbol_create): Likewise.
4438 (local_symbol_make): Likewise.
4439 (symbol_relc_make_expr): Likewise.
4441 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4443 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
4446 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4448 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
4451 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4453 * config/tc-ia64.c (ia64_do_align): Remove.
4454 (ia64_cons_align): Call do_align () directly.
4455 (dot_proc): Likewise.
4456 (stmt_float_cons): Likewise.
4458 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4460 * listing.c (listing_message): Use XNEW style allocation macros.
4461 * read.c (read_a_source_file): Likewise.
4462 (read_symbol_name): Likewise.
4463 (s_mri_common): Likewise.
4464 (assign_symbol): Likewise.
4465 (s_reloc): Likewise.
4466 (emit_expr_with_reloc): Likewise.
4467 (s_incbin): Likewise.
4468 (s_include): Likewise.
4469 * sb.c (sb_build): Likewise.
4470 (sb_check): Likewise.
4472 2016-03-22 Alan Modra <amodra@gmail.com>
4474 * write.c (record_alignment): Revert 2016-02-18 change.
4476 2016-03-22 Alan Modra <amodra@gmail.com>
4478 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
4479 (emit_jsrjmp, tc_gen_reloc): Likewise.
4480 * config/tc-i370.c (i370_macro): Likewise.
4482 2016-03-22 Nick Clifton <nickc@redhat.com>
4484 * configure: Regenerate.
4486 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4488 * testsuite/gas/arc/nps400-0.d: New file.
4489 * testsuite/gas/arc/nps400-0.s: New file.
4490 * testsuite/gas/arc/nps400-1.d: New file.
4491 * testsuite/gas/arc/nps400-1.s: New file.
4493 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4495 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
4496 declarations to start of block. Reset code on all flags before
4497 attempting to match them. Handle multiple hits on the same flag.
4499 * testsuite/gas/arc/asm-errors.d: New file.
4500 * testsuite/gas/arc/asm-errors.err: New file.
4501 * testsuite/gas/arc/asm-errors.s: New file.
4503 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4505 * config/tc-arc.c (cpu_types): Add nps400 entry.
4506 (check_zol): Handle nps400.
4508 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4510 * config/tc-arc.c (arc_select_cpu): Remove use of
4513 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4515 * config/tc-arc.c (arc_target): Delay initialisation until
4517 (arc_target_name): Likewise.
4518 (arc_features): Likewise.
4519 (arc_mach_type): Likewise.
4520 (cpu_types): Remove "all" entry.
4521 (arc_select_cpu): New function, most of the content is from...
4522 (md_parse_option): ... here. Call new arc_select_cpu.
4523 (md_begin): Call arc_select_cpu if needed, default is now arc700.
4525 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4527 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
4528 * testsuite/gas/arc/inline-data-2.d: New file.
4530 2016-03-21 Nick Clifton <nickc@redhat.com>
4532 * atof-generic.c: Replace use of alloca with call to xmalloc.
4534 * dwarf2dbg.c: Likewise.
4535 * macro.c: Likewise.
4536 * remap.c: Likewise.
4537 * stabs.c: Likewise.
4538 * symbols.c: Likewise.
4539 * config/obj-elf.c: Likewise.
4540 * config/tc-aarch64.c: Likewise.
4541 * config/tc-arc.c: Likewise.
4542 * config/tc-arm.c: Likewise.
4543 * config/tc-avr.c: Likewise.
4544 * config/tc-ia64.c: Likewise.
4545 * config/tc-mips.c: Likewise.
4546 * config/tc-msp430.c: Likewise.
4547 * config/tc-nds32.c: Likewise.
4548 * config/tc-ppc.c: Likewise.
4549 * config/tc-sh.c: Likewise.
4550 * config/tc-tic30.c: Likewise.
4551 * config/tc-tic54x.c: Likewise.
4552 * config/tc-xstormy16.c: Likewise.
4553 * config/te-vms.c: Likewise.
4554 * configure: Regenerate.
4556 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4558 * tc-i386.c (f32_1): Change type to unsigned char[].
4578 (jump_31): Likewise.
4579 (f32_patt): Likewise.
4580 (f16_patt): Likewise.
4589 (alt_patt): Likewise.
4591 2016-03-18 Nick Clifton <nickc@redhat.com>
4593 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
4594 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
4595 .tlsdescldr and .xword directives.
4598 * testsuite/gas/aarch64/pr19721.s: New test source file.
4599 * testsuite/gas/aarch64/pr19721.d: New test driver file.
4601 * doc/as.texinfo: Place the target specific command line options
4602 into their own man page section.
4604 2016-03-16 Jiong Wang <jiong.wang@arm.com>
4606 * config/tc-arm.c (N_S_32): New.
4607 (N_F_16_32): Likewise.
4608 (N_SUF_32): Support N_F16.
4609 (N_IF_32): Likewise.
4610 (neon_dyadic_misc): Likewise.
4611 (do_neon_cmp): Likewise.
4612 (do_neon_cmp_inv): Likewise.
4613 (do_neon_mul): Likewise.
4614 (do_neon_fcmp_absolute): Likewise.
4615 (do_neon_step): Likewise.
4616 (do_neon_abs_neg): Likewise.
4617 (CVT_FLAVOR_VAR): Likewise.
4618 (do_neon_cvt_1): Likewise.
4619 (do_neon_recip_est): Likewise.
4620 (do_vmaxnm): Likewise.
4621 (do_vrint_1): Likewise.
4622 (neon_check_type): Check architecture support for FP16 extension.
4623 (insns): Update comments.
4624 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
4625 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
4626 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
4627 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
4629 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
4631 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
4634 2016-03-16 Nick Clifton <nickc@redhat.com>
4636 * read.c (emit_expr_with_reloc): Add code check a bignum with
4638 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
4640 * testsuite/gas/elf/bignum.s: New test source file.
4641 * testsuite/gas/elf/bignum.d: New test driver file.
4642 * testsuite/gas/elf/elf.exp: Run the new test.
4644 2016-03-15 Ulrich Drepper <drepper@gmail.com>
4646 * doc/c-i386.texi (Register Naming): Update to details of the
4647 latest architecture version.
4649 2016-03-10 Mickael Guene <mickael.guene@st.com>
4652 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
4654 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
4655 (do_t_mov_cmp): Likewise.
4656 (do_t_add_sub): Protect against bad relocations usage.
4657 (do_t_mov_cmp): Likewise.
4658 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
4659 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
4660 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
4661 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
4663 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4665 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
4667 (do_neon_ld_st_lane): Likewise.
4668 (do_neon_ld_dup): Likewise.
4670 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
4672 * testsuite/gas/arc/inline-data-1.d: New file.
4673 * testsuite/gas/arc/inline-data-1.s: New file.
4675 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
4677 * config/tc-arm.c (arm_cpus): Add cortex-r8.
4678 * doc/c-arm.texi: Add cortex-r8.
4680 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4682 * config/tc-arc.c: Add const qualifiers.
4683 * config/tc-h8300.c (md_begin): Likewise.
4684 * config/tc-ia64.c (print_prmask): Likewise.
4685 * config/tc-msp430.c (msp430_operands): Likewise.
4686 * config/tc-nds32.c (struct suffix_name): Likewise.
4687 (struct nds32_parse_option_table): Likewise.
4688 (struct nds32_set_option_table): Likewise.
4689 (do_pseudo_pushpopm): Likewise.
4690 (do_pseudo_pushpop_stack): Likewise.
4691 (nds32_relax_relocs): Likewise.
4692 (nds32_flag): Likewise.
4693 (struct nds32_hint_map): Likewise.
4694 (nds32_find_reloc_table): Likewise.
4695 (nds32_match_hint_insn): Likewise.
4696 * config/tc-s390.c: Likewise.
4697 * config/tc-sh.c (get_specific): Likewise.
4698 * config/tc-tic30.c: Likewise.
4699 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
4700 (tic4x_indirect_parse): Likewise.
4701 * config/tc-vax.c (vax_cons): Likewise.
4702 * config/tc-z80.c (struct reg_entry): Likewise.
4703 * config/tc-epiphany.c (md_assemble): Adjust.
4704 (epiphany_assemble): New function.
4705 (epiphany_elf_section_rtn): Call do_align directly.
4706 (epiphany_elf_section_text): Likewise.
4707 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
4708 (ip2k_elf_section_text): Likewise.
4709 * read.c (do_align): Make it not static.
4710 * read.h (do_align): New prototype.
4712 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4714 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4715 for ARMv8.1 AdvSIMD use.
4716 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4717 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4719 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4721 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4723 (record_feature_use): New.
4724 (mark_feature_used): Use record_feature_use.
4725 (do_neon_qrdmlah): New.
4726 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4728 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4729 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4730 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4731 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4732 Make source file explicit.
4733 * testsuite/gas/arm/armv8-a+rdma.l: New.
4734 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4735 directives. Fix white-space.
4736 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4738 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4740 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4742 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4743 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4745 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4746 (tc_arc_fix_adjustable): Changed default return value to 1.
4747 * testsuite/gas/arc/j.d: Updated expected symbol
4748 * testsuite/gas/arc/jl.d: Likewise
4749 * testsuite/gas/arc/relax-avoid1.d: Likewise
4750 * testsuite/gas/arc/st.d: Likewise
4752 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4754 * config/tc-arc.c: Enable code density instructions for ARC EM.
4756 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4759 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
4761 * as.c (flag_use_elf_stt_common): New.
4762 (show_usage): Add --elf-stt-common=.
4763 (option_values): Add OPTION_ELF_STT_COMMON.
4764 (std_longopts): Add --elf-stt-common=.
4765 (parse_args): Handle --elf-stt-common=.
4766 * as.h (flag_use_elf_stt_common): New.
4767 * config.in: Regenerated.
4768 * configure: Likewise.
4769 * configure.ac: Add --enable-elf-stt-common and define
4770 DEFAULT_GENERATE_ELF_STT_COMMON.
4771 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
4772 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
4773 * doc/as.texinfo: Document --elf-stt-common=.
4774 * testsuite/gas/elf/common3.s: New file.
4775 * testsuite/gas/elf/common3a.d: Likewise.
4776 * testsuite/gas/elf/common3b.d: Likewise.
4777 * testsuite/gas/elf/common4.s: Likewise.
4778 * testsuite/gas/elf/common4a.d: Likewise.
4779 * testsuite/gas/elf/common4b.d: Likewise.
4780 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
4781 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
4782 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
4784 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
4785 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
4786 --elf-stt-common=no to as.
4787 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
4788 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
4789 --elf-stt-common=no to as.
4790 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
4791 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
4792 of dw2-compress-3 and dw2-compressed-3.
4794 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4796 * as.c (select_emulation_mode): Add const qualifiers.
4798 * config/bfin-defs.h: Likewise.
4799 * config/bfin-parse.y: Likewise.
4800 * config/rx-parse.y: Likewise.
4801 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4802 (struct aarch64_cpu_option_table): Likewise.
4803 (struct aarch64_arch_option_table): Likewise.
4804 (struct aarch64_option_cpu_value_table): Likewise.
4805 (struct aarch64_long_option_table): Likewise.
4806 (struct aarch64_option_abi_value_table): Likewise.
4807 * config/tc-arm.c (struct reloc_entry): Likewise.
4808 (tc_gen_reloc): Likewise.
4809 (struct arm_option_table): Likewise.
4810 (struct arm_legacy_option_table): Likewise.
4811 (struct arm_cpu_option_table): Likewise.
4812 (struct arm_arch_option_table): Likewise.
4813 (struct arm_option_extension_value_table): Likewise.
4814 (struct arm_option_fpu_value_table): Likewise.
4815 (struct arm_option_value_table): Likewise.
4816 (struct arm_long_option_table): Likewise.
4817 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4818 (struct mcu_type_s): Likewise.
4819 (struct exp_mod_s): Likewise.
4820 (avr_operand): Likewise.
4821 (avr_operands): Likewise.
4822 * config/tc-d10v.c (md_begin): Likewise.
4823 * config/tc-dlx.c: Likewise.
4824 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4825 * config/tc-ft32.c (parse_condition): Likewise.
4826 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4827 * config/tc-hppa.c (pa_ip): Likewise.
4828 (hppa_regname_to_dw2regnum): Likewise.
4829 * config/tc-i370.c (i370_elf_suffix): Likewise.
4830 * config/tc-i960.c (struct tabentry): Likewise.
4831 * config/tc-m32r.c: Likewise.
4832 * config/tc-m68k.c: Likewise.
4833 * config/tc-m68k.h: Likewise.
4834 * config/tc-mcore.c (parse_psrmod): Likewise.
4835 * config/tc-metag.c (struct metag_core_option): Likewise.
4836 (struct metag_long_option): Likewise.
4837 * config/tc-microblaze.c: Likewise.
4838 * config/tc-mips.c (macro): Likewise.
4839 * config/tc-mn10200.c: Likewise.
4840 * config/tc-mn10300.c: Likewise.
4841 * config/tc-msp430.c (struct rcodes_s): Likewise.
4842 (struct hcodes_s): Likewise.
4843 (md_parse_option): Likewise.
4844 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4845 (optlist): Likewise.
4846 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4847 (tc_ppc_regname_to_dw2regnum): Likewise.
4848 * config/tc-ppc.h: Likewise.
4849 * config/tc-rl78.c: Likewise.
4850 * config/tc-rx.c (struct cpu_type): Likewise.
4851 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4852 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4853 (sparc_ip): Likewise.
4854 * config/tc-spu.c (insn_fmt_string): Likewise.
4855 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4856 * config/tc-v850.c: Likewise.
4857 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4858 (struct visium_long_option_table): Likewise.
4859 * config/tc-xgate.c: Likewise.
4860 * config/tc-z8k.c: Likewise.
4861 * read.c (add_include_dir): Likewise.
4864 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4866 * testsuite/gas/all/gas.exp: Change target pattern to cover
4868 * testsuite/gas/all/redef3.d: Likewise.
4869 * testsuite/gas/elf/elf.exp: Likewise.
4871 2016-02-24 Renlin Li <renlin.li@arm.com>
4873 * config/tc-arm.c (BAD_FP16): New error message macro.
4874 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4875 fp16 scalar instructions.
4876 (neon_check_type): Allow different size from key.
4877 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4878 (try_vfp_nsyn): Likewise.
4879 (do_vfp_nsyn_mla_mls): Likewise.
4880 (do_vfp_nsyn_fma_fms): Likewise.
4881 (do_vfp_nsyn_ldm_stm): Likewise
4882 (do_vfp_nsyn_sqrt): Likewise
4883 (do_vfp_nsyn_div): Likewise
4884 (do_vfp_nsyn_nmul): Likewise.
4885 (do_vfp_nsyn_cmp): Likewise.
4886 (do_neon_shll): Likewise.
4887 (do_vfp_nsyn_cvt_fpv8): Likewise.
4888 (do_neon_cvttb_2): Likewise.
4889 (do_neon_mov): Likewise.
4890 (do_neon_rshift_round_imm): Likewise.
4891 (do_neon_ldr_str): Likewise.
4892 (do_vfp_nsyn_fpv8): Likewise.
4893 (do_vmaxnm): Likewise.
4894 (do_vrint_1): Likewise.
4895 (insns): New entry for vins, vmovx.
4896 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4897 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4898 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4899 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4900 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4901 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4902 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4904 2016-02-24 Renlin Li <renlin.li@arm.com>
4906 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4907 (neon_shape_class): New SC_HALF.
4908 (neon_shape_el): New SE_H.
4909 (neon_shape_el_size): New size for SE_H.
4910 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4911 (neon_select_shape): Add SE_H support code.
4912 (el_type_of_type_chk): Use N_F_ALL.
4913 (do_vfp_nsyn_cvt): Add SE_H shape support.
4914 (do_neon_cvtz): Likewise.
4915 (do_neon_cvt_1): Likewise.
4916 (do_neon_cvttb_1): Likewise.
4918 2016-02-24 Renlin Li <renlin.li@arm.com>
4920 * testsuite/gas/arm/copro.d: Adjust output.
4921 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4923 2016-02-24 Renlin Li <renlin.li@arm.com>
4925 * testsuite/gas/arm/mask_1.d: New.
4926 * testsuite/gas/arm/mask_1.s: New.
4928 2016-02-24 Renlin Li <renlin.li@arm.com>
4930 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4931 * testsuite/gas/arm/copro.d: Update.
4933 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4935 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4936 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4938 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4940 * doc/c-arm.texi (ARM Options): Document cortex-a17.
4942 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4944 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4947 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4949 * output-file.c (output_file_create): Make file name argument const.
4950 (output_file_close): Likewise.
4951 * output-file.h (output_file_create): Adjust.
4952 (output_file_close): Likewise.
4953 * depend.c (quote_string_for_make): Make src argument const char *.
4954 (register_dependency): Likewise.
4955 (wrap_output): Likewise.
4956 * as.h (register_dependency): Adjust.
4957 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4959 * symbols.c (S_SET_EXTERNAL): Likewise.
4960 * input-scrub.c (as_where): Return the file name.
4961 * as.h (as_where): Adjust prototype.
4962 * app.c (do_scrub_chars): Adjust.
4963 * cond.c (s_elseif): Likewise.
4965 (initialize_cframe): Likewise.
4966 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4967 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4968 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4969 * config/tc-aarch64.c (output_info): Likewise.
4970 * config/tc-ia64.c (md_assemble): Likewise.
4971 (dot_alias): Likewise.
4972 * config/tc-m68k.c (m68k_frob_label): Likewise.
4973 * config/tc-mmix.c (s_bspec): Likewise.
4974 (mmix_handle_mmixal): Likewise.
4975 * config/tc-rx.c (rx_include): Likewise.
4976 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4977 (tic54x_adjust_symtab): Likewise.
4978 * config/tc-xtensa.c (directive_push): Likewise.
4979 (xtensa_sanity_check): Likewise.
4980 (xtensa_relax_frag): Likewise.
4981 (md_convert_frag): Likewise.
4982 (tinsn_to_slotbuf): Likewise.
4983 * dwarf2dbg.c (dwarf2_where): Likewise.
4984 * ecoff.c (add_file): Likewise.
4985 (ecoff_generate_asm_lineno): Likewise.
4986 * expr.c (make_expr_symbol): Likewise.
4987 * frags.c (frag_new): Likewise.
4988 (frag_var_init): Likewise.
4989 * listing.c (listing_newline): Likewise.
4990 * messages.c (identify): Likewise.
4991 (as_show_where): Likewise.
4992 (as_warn_internal): Likewise.
4993 (as_bad_internal): Likewise.
4994 * read.c (s_irp): Likewise.
4995 (s_macro): Likewise.
4996 (s_reloc): Likewise.
4997 * stabs.c (stabs_generate_asm_file): Likewise.
4998 (stabs_generate_asm_lineno): Likewise.
4999 (stabs_generate_asm_func): Likewise.
5000 * write.c (fix_new_internal): Likewise.
5001 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
5002 (as_warn_value_out_of_range): Adjust prototype.
5003 (as_bad_value_out_of_range): Adjust prototype.
5004 * messages.c (identify): Make file name argument const char *.
5005 (as_warn_internal): Likewise.
5006 (as_warn_where): Likewise.
5007 (as_bad_internal): Likewise.
5008 (as_bad_where): Likewise.
5009 (as_internal_value_out_of_range): Likewise.
5010 (as_warn_value_out_of_range): Likewise.
5011 (as_bad_value_out_of_range): Likewise.
5012 * as.h (found_comment_file): Change type to const char *.
5013 * cond.c (file_line::file): Likewise.
5014 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
5015 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5016 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5017 * config/tc-aarch64.c (output_info): Likewise.
5018 * config/tc-alpha.c (insert_operand): Likewise.
5019 * config/tc-arc.c (insert_operand): Likewise.
5020 * config/tc-d30v.c (check_size): Likewise.
5021 * config/tc-ia64.c (struct alias): Likewise.
5022 * config/tc-m68k.c (struct label_line): Likewise.
5023 * config/tc-mcore.c (md_apply_fix): Likewise.
5024 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
5025 * config/tc-mips.c (mips16_immed): Likewise.
5026 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
5027 * config/tc-ppc.c (ppc_insert_operand): Likewise.
5028 * config/tc-rx.c (rx_include): Likewise.
5029 * config/tc-s390.c (s390_insert_operand): Likewise.
5030 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5031 (tic54x_adjust_symtab): Likewise.
5032 * config/tc-tilegx.c (insert_operand): Likewise.
5033 (apply_special_operator): Likewise.
5034 * config/tc-tilepro.c (insert_operand): Likewise.
5035 * config/tc-xtensa.c (directive_push): Likewise.
5036 * ecoff.c (add_file): Likewise.
5037 (ecoff_generate_asm_lineno): Likewise.
5038 * listing.c (listing_newline): Likewise.
5039 * read.c (s_irp): Likewise.
5040 * write.c (install_reloc): Likewise.
5041 * write.h (struct fix): Likewise.
5042 * input-file.c (file_name): Change type to const char *.
5043 (saved_file::file_name): Likewise.
5044 (input_file_open): Change type of argument to const char *.
5045 * input-file.h (input_file_open): Adjust.
5046 * input-scrub.c (logical_input_file): change type to const char *.
5047 (physical_input_file): Likewise.
5048 (struct input_save): Adjust.
5049 (input_scrub_push): Adjust.
5050 (input_scrub_begin): Adjust.
5052 * input-scrub.c (input_scrub_new_file): Make file name argument const.
5053 (input_scrub_include_file): Likewise.
5054 (new_logical_line_flags): Likewise.
5055 (new_logical_line): Likewise.
5057 * frags.h (struct frag): Change type of fr_file to const char *.
5058 * expr.c (expr_symbol_where): Change type of file argument to
5060 * expr.h (expr_symbol_where): Likewise.
5061 * config/tc-i370.c (md_apply_fix): adjust.
5062 * config/tc-mmix.c (mmix_md_end): Likewise.
5063 * config/tc-ppc.c (md_apply_fix): Likewise.
5064 * config/tc-s390.c (md_apply_fix): Likewise.
5065 * symbols.c (report_op_error): Likewise.
5066 (resolve_symbol_value): Likewise.
5067 * config/tc-ia64.c (slot::src_file): Change type to const char *.
5068 (rsrc::file): Likewise.
5069 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
5071 (xtensa_relax_frag): Likewise.
5072 (md_convert_frag): Likewise.
5073 (tinsn_to_slotbuf): Likewise.
5074 * expr.c (expr_symbol_line): Likewise.
5075 * macro.c (define_macro): Likewise.
5076 * macro.h (macro_struct): Likewise.
5077 * messages.c (as_show_where): Likewise.
5078 * read.c (s_macro): Likewise.
5079 * stabs.c (stabs_generate_asm_file): Likewise.
5080 (generate_asm_file): Likewise.
5081 (stabs_generate_asm_lineno): Likewise.
5082 * write.h (struct reloc_list): Likewise.
5083 * input-scrub.c (as_where): Change return type to const char *.
5084 * as.h (as_wheree): Adjust.
5086 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
5088 * write.c (compress_debug): Move BFD compression bits setting
5090 (write_object_file): Here.
5092 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
5094 * config/tc-i386.c (register_number): Check RegVRex.
5095 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
5096 with %zmm19 and %zmm3.
5097 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
5098 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
5100 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
5101 Jiong Wang <jiong.wang@arm.com>
5103 * config/tc-arm.c (arm_ext_fp16): New.
5104 (arm_extensions): New entry for "fp16".
5106 2016-02-19 Nick Clifton <nickc@redhat.com>
5109 * read.c (read_a_source_file): Check for assemble_one returning
5110 with input_line_pointer set to NULL.
5112 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5114 * listing.c (rebuffer_line): Change return type to void.
5116 * symbols.c (decode_local_label_name): Make type a const char *.
5117 * listing.c (print_source): Make type of p const char *.
5118 (print_line): Make type of string const char *.
5119 (buffer_line): Return const char *.
5120 (title): Make type const char *.
5121 (subtitle): Likewise.
5122 (listing_listing): Make type of p const char *.
5123 * messages.c (as_internal_value_out_of_range): Make type of prefix
5125 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
5126 and string const char *.
5127 * read.c (_bfd_rel): Make type of name const char *.
5128 * app.c (out_string): Change type to const char *.
5129 (struct app_save::out_string): Likewise.
5131 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
5132 Nick Clifton <nickc@redhat.com>
5134 * read.c (finish_bundle): Avoid recording a negative alignment.
5135 (do_align): Use unsigned values for n, len and max. Only create
5136 a frag if the alignment requirement is greater than the minimum
5137 byte alignment. Avoid recording a negative alignment.
5138 (s_align): Use unsigned values where appropriate.
5139 (bss_alloc): Use an unsigned value for the alignment.
5140 (sizeof_sleb128): Add a comment noting that we encode one octet
5141 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
5142 (emit_leb129_expr): Abort if the emitted encoding was longer than
5144 * read.h (output_leb128): Update prototype.
5145 (sizeof_leb128): Update prototype.
5146 (bss_alloc): Update prototype.
5147 * write.c (record_alignment): Use an unsigned value for the
5148 alignment. Do not record alignments less than the minimum
5149 alignment for a byte.
5150 * write.h (record_alignment): Update prototype.
5152 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5154 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
5155 .init.literal/.fini.literal section name.
5156 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
5157 list of xtensa tests.
5158 * testsuite/gas/xtensa/init-fini-literals.d: New file:
5159 init-fini-literals test result patterns.
5160 * testsuite/gas/xtensa/init-fini-literals.s: New file:
5161 init-fini-literals test.
5163 2016-02-17 Nick Clifton <nickc@redhat.com>
5165 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
5166 devices.csv file as of March 2016.
5168 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
5170 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
5172 (tc_arc_regname_to_dw2regnum): Likewise.
5173 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
5174 (tc_cfi_frame_initial_instructions): Likewise.
5175 (tc_regname_to_dw2regnum): Likewise.
5176 * testsuite/gas/cfi/cfi-arc-1.d: New file.
5177 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
5178 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
5180 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
5182 * doc/internals.texi (S_IS_EXTERN): Remove.
5184 2016-02-16 Nick Clifton <nickc@redhat.com>
5186 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
5189 2016-02-16 Renlin Li <renlin.li@arm.com>
5192 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
5193 * testsuite/gas/aarch64/movw_label.d: New.
5194 * testsuite/gas/aarch64/movw_label.s: New.
5196 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
5199 * config/rx-parse.y (MOV): Opcode generation for index
5200 register addressing mode.
5201 * testsuite/gas/rx/rx.exp: Updated for new testcase.
5202 * testsuite/gas/rx/pr19665.s: New file.
5203 * testsuite/gas/rx/pr19665.s: New file.
5204 * testsuite/gas/rx/mov.d: Update expected output.
5206 2016-02-15 Nick Clifton <nickc@redhat.com>
5208 * doc/as.texinfo (.section): Document that numeric values can now
5209 be used for the flags and type fields of the ELF target's .section
5210 directive. Add notes about the restrictions on setting flags and
5212 * config/obj-elf.c (obj_elf_change_section): Allow known sections
5213 to be given processor specific section types. Allow processor and
5214 application specific flags of a section to be set after
5216 (obj_elf_parse_section_letters): Handle parsing numeric values.
5217 (obj_elf_section_type): Handle parsing numeric values.
5218 (obj_elf_section): Allow numeric type values.
5219 * config/obj-elf.h (obj_elf_change_section): Update prototype.
5220 * testsuite/gas/elf/section10.d: New test.
5221 * testsuite/gas/elf/section10.s: Source file for new test.
5222 * testsuite/gas/elf/elf.exp: Run the new test.
5223 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
5224 the description of the flags produced by readelf.
5225 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
5226 * NEWS: Mention the new feature.
5228 2016-02-11 Nick Clifton <nickc@redhat.com>
5231 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
5232 until it is actually used.
5233 (cfi_set_sections): Set cfi_sections_set to true.
5234 (dot_cfi_startproc): Likewise.
5235 (dot_cfi_endproc): Likewise.
5236 (dot_cfi_fde_data): Likewise.
5237 (cfi_finish): Likewise.
5238 (dot_cfi_sections): Do not set cfi_sections_set.
5239 * doc/as.texinfo (.cfi_sections): Note that targets can provide
5240 their own cfi section name. Also note that the directive can be
5241 reissued provided that CFI generation has not started.
5242 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
5243 .cfi_endproc directives so that the redefinition of .cfi_sections
5244 will trigger the generation of the error message.
5245 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
5246 number of error message.
5248 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
5249 Janek van Oirschot <jvanoirs@synopsys.com>
5251 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
5252 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
5254 (arc_flags, arc_relax_type): New structure.
5255 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
5256 (RELAX_TABLE_ENTRY_MAX): New define.
5257 (relaxation_state, md_relax_table, arc_relaxable_insns)
5258 (arc_num_relaxable_ins): New variable.
5259 (rlx_operand_type, arc_rlx_types): New enums.
5260 (arc_relaxable_ins): New structure.
5261 (OPTION_RELAX): New option.
5262 (arc_insn): New relax member.
5263 (arc_flags): Remove.
5264 (relax_insn_p): New function.
5265 (apply_fixups): Likewise.
5266 (relaxable_operand): Likewise.
5267 (may_relax_expr): Likewise.
5268 (relaxable_flag): Likewise.
5269 (arc_pcrel_adjust): Likewise.
5270 (md_estimate_size_before_relax): Implement.
5271 (md_convert_frag): Likewise.
5272 (md_parse_option): Handle new mrelax option.
5273 (md_show_usage): Likewise.
5274 (assemble_insn): Set relax member.
5275 (emit_insn0): New function.
5276 (emit_insn1): Likewise.
5277 (emit_insn): Handle relaxation case.
5278 * NEWS: Mention the new relaxation option.
5279 * doc/c-arc.texi (ARC Options): Document new mrelax option.
5280 * doc/as.texinfo (Target ARC Options): Likewise.
5281 * testsuite/gas/arc/relax-avoid1.d: New file.
5282 * testsuite/gas/arc/relax-avoid1.s: Likewise.
5283 * testsuite/gas/arc/relax-avoid2.d: Likewise.
5284 * testsuite/gas/arc/relax-avoid2.s: Likewise.
5285 * testsuite/gas/arc/relax-avoid3.d: Likewise.
5286 * testsuite/gas/arc/relax-avoid3.s: Likewise.
5287 * testsuite/gas/arc/relax-b.d: Likewise.
5288 * testsuite/gas/arc/relax-b.s: Likewise.
5290 2016-02-08 Nick Clifton <nickc@redhat.com>
5292 * config/tc-ia64.c (dot_prologue): Fix formatting.
5294 2016-02-04 Nick Clifton <nickc@redhat.com>
5296 * config/obj-elf.c (obj_elf_change_section): Remove support for
5297 ARM NOREAD sections.
5298 * config/tc-arm.c (arm_elf_section_letter): Delete.
5299 * config/tc-arm.h (md_elf_section_letter): Delete.
5300 * doc/c-arm.texi (ARM Section Attribute): Delete section.
5301 * testsuite/gas/arm/section-execute-only.d: Delete.
5302 * testsuite/gas/arm/section-execute-only.s: Delete.
5304 2016-02-04 Nick Clifton <nickc@redhat.com>
5307 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
5308 to handle encoding of RRUX instruction.
5309 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
5311 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
5313 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
5315 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
5316 substitutions for BFD_RELOC_* as unsigned.
5317 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
5318 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
5319 * testsuite/gas/xtensa/loc.s: New file: loc test.
5321 2016-02-03 Kevin Buettner <kevinb@redhat.com>
5323 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
5325 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5328 * NEWS: Mention new command line option -mrelax-relocations and
5329 new configure option --enable-x86-relax-relocations for x86
5331 * config.in: Regenerated.
5332 * configure.ac: Add --enable-x86-relax-relocations.
5333 (ac_default_x86_relax_relocations): New. Default to 1 except
5334 for x86 Solaris targets older than Solaris 12.
5335 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
5336 * configure: Likewise.
5337 * config/tc-i386.c (generate_relax_relocations): New.
5338 (OPTION_MRELAX_RELOCATIONS): Likewise.
5339 (output_disp): Don't generate relax relocations if
5340 generate_relax_relocations is 0.
5341 (md_longopts): Add -mrelax-relocations.
5342 (md_show_usage): Likewise.
5343 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
5344 * doc/c-i386.texi: Document -mrelax-relocations=.
5345 * testsuite/gas/i386/got-no-relax.d: New file.
5346 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
5347 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
5348 * testsuite/gas/i386/localpic.d: Likewise.
5349 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
5350 * testsuite/gas/i386/reloc32.d: Likewise.
5351 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
5352 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
5353 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
5354 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
5355 * testsuite/gas/i386/i386.exp: Run got-no-relax and
5356 x86-64-gotpcrel-no-relax.
5358 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5360 * NEWS: Mention new command line option -mfence-as-lock-add=yes
5363 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5365 * NEWS: Remove duplicated marker for 2.26.
5367 2016-02-02 Renlin Li <renlin.li@arm.com>
5369 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
5371 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5373 * testsuite/gas/ip2k/allinsn.d: New file.
5374 * testsuite/gas/ip2k/allinsn.s: New file.
5375 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
5377 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5379 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
5380 some load instructions.
5381 * testsuite/gas/epiphany/allinsn.d: Likewise.
5382 * testsuite/gas/epiphany/regression.d: Likewise.
5384 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5386 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
5387 suffixes from instruction mnemonics in expected output.
5388 * testsuite/gas/epiphany/allinsn.d: Likewise.
5389 * testsuite/gas/epiphany/regression.d: Likewise.
5390 * testsuite/gas/epiphany/sample.d: Likewise.
5392 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5394 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
5396 * testsuite/gas/epiphany/allinsn.d: Likewise.
5397 * testsuite/gas/epiphany/sample.d: Likewise.
5399 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5401 * testsuite/gas/epiphany/sample.d: Update expected output.
5403 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
5405 * config/tc-arc.c (md_apply_fix): Allow addendum.
5406 (arc_reloc_op): Allow complex expressions for tpoff.
5407 (md_apply_fix): Handle resolved TLS local symbol.
5408 * testsuite/gas/arc/tls-relocs1.d: New file.
5409 * testsuite/gas/arc/tls-relocs1.s: Likewise.
5411 2016-02-01 Loria <Loria@phantasia.org>
5414 * config/tc-arm.c (encode_arm_immediate): Recode to improve
5415 efficiency and avoid an LLVM loop optimization bug.
5417 2016-02-01 Nick Clifton <nickc@redhat.com>
5419 * config/tc-microblaze.c (parse_imm): Fix compile time warning
5420 message extending a negative 32-bit value into a larger signed
5421 value on a 32-bit host.
5423 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
5426 * configure.ac (compressed_debug_sections): Replace == with =.
5427 * configure: Regenerated.
5429 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
5430 H.J. Lu <hongjiu.lu@intel.com>
5432 * config/tc-i386.c (avoid_fence): New.
5433 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
5435 (OPTION_FENCE_AS_LOCK_ADD): New.
5436 (md_longopts): Add -mfence-as-lock-add.
5437 (md_parse_option): Handle -mfence-as-lock-add.
5438 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
5439 * doc/c-i386.texi (-mfence-as-lock-add): Document.
5440 * testsuite/gas/i386/i386.exp: Run new tests.
5441 * testsuite/gas/i386/fence-as-lock-add.s: New.
5442 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
5443 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
5444 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
5445 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
5447 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
5449 * configure.ac (compressed_debug_sections): Remove trailing `]'.
5450 * configure: Regenerated.
5452 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
5454 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
5455 (OPTION_MOMIT_LOCK_PREFIX): This.
5456 (md_longopts): Updated.
5457 (md_parse_option): Likewise.
5459 2016-01-25 Catherine Moore <clm@codesourcery.com>
5461 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
5462 if abicalls are in effect.
5463 * testsuite/gas/mips/sdata-gp.s: New test.
5464 * testsuite/gas/mips/sdata-gp.d: New expected output
5465 * testsuite/gas/mips/mips.exp: Run new test.
5467 2016-01-25 Renlin Li <renlin.li@arm.com>
5469 * testsuite/gas/arm/thumb2_it_search.d: New.
5470 * testsuite/gas/arm/thumb2_it_search.s: New.
5472 2016-01-21 Nick Clifton <nickc@redhat.com>
5475 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
5476 with arm-netbsdelf target.
5477 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
5479 2016-01-20 Nick Clifton <nickc@redhat.com>
5482 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
5483 * testsuite/gas/arm/blx-bl-convert.d
5484 * testsuite/gas/arm/plt-1.d: Likewise.
5485 * testsuite/gas/arm/reloc-bad.d: Likewise.
5486 * testsuite/gas/arm/thumb-w-good.d: Likewise.
5487 * testsuite/gas/arm/thumb2_pool.d: Likewise.
5488 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
5489 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
5492 * doc/as.texinfo (Errors): Correct documentation describing the
5493 interaction of .file and .line with warning and error messages.
5496 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
5497 * testsuite/gas/arm/archv8m-main.d: Likewise.
5498 * testsuite/gas/arm/archv8m-base.d: Likewise.
5500 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
5502 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
5503 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
5504 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
5506 2016-01-20 Mickael Guene <mickael.guene@st.com>
5507 Terry Guo <terry.guo@arm.com>
5509 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
5510 SHF_ARM_NOREAD section flag.
5511 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
5513 (arm_elf_section_letter) : Declare it.
5514 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
5515 SHF_ARM_NOREAD section flag.
5516 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
5518 * testsuite/gas/arm/section-execute-only.s: New test case.
5519 * testsuite/gas/arm/section-execute-only.d: Expected output.
5521 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
5523 * config/tc-mips.c (micromips_insn_length): Remove the mention
5524 of 48-bit microMIPS instructions.
5526 2016-01-18 Alan Modra <amodra@gmail.com>
5528 * configure: Regenerate.
5530 2016-01-17 Alan Modra <amodra@gmail.com>
5532 * configure: Regenerate.
5534 2016-01-17 Alan Modra <amodra@gmail.com>
5536 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
5538 2016-01-14 Nick Clifton <nickc@redhat.com>
5540 * testsuite/gas/rl78/sp-relative-movw.s: New test.
5541 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
5542 * testsuite/gas/rl78/rl78.exp: Run the new test.
5544 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
5546 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
5547 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
5549 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
5551 * config/tc-nios2.c (output_movia): Preset `code' to 0.
5553 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
5555 * config/tc-h8300.c (get_operand): Remove spurious condition in
5556 test for closing parenthesis.
5558 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
5560 * config/tc-arm.c (arm_ext_v8_2): New.
5562 * testsuite/gas/arm/armv8_2-a.d: New.
5563 * testsuite/gas/arm/armv8_2-a.s: New.
5565 2016-01-12 Alan Modra <amodra@gmail.com>
5567 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
5569 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
5571 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
5572 xvcmpnesp, xvcmpnesp.>: Delete tests.
5573 * testsuite/gas/ppc/power9.s: Likewise.
5574 * testsuite/gas/ppc/vsx3.d: Likewise.
5575 * testsuite/gas/ppc/vsx3.s: Likewise.
5577 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
5580 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
5581 * testsuite/gas/m68k/p13050-1.s: New file.
5582 * testsuite/gas/m68k/p13050-2.d: New file.
5583 * testsuite/gas/m68k/p13050-2.s: New file.
5585 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5587 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
5588 * testsuite/gas/arc/add.d: Likewise.
5589 * testsuite/gas/arc/and.d: Likewise.
5590 * testsuite/gas/arc/asl.d: Likewise.
5591 * testsuite/gas/arc/asr.d: Likewise.
5592 * testsuite/gas/arc/bic.d: Likewise.
5593 * testsuite/gas/arc/extb.d: Likewise.
5594 * testsuite/gas/arc/extw.d: Likewise.
5595 * testsuite/gas/arc/j.d: Likewise.
5596 * testsuite/gas/arc/jl.d: Likewise.
5597 * testsuite/gas/arc/ld2.d: Likewise.
5598 * testsuite/gas/arc/lsr.d: Likewise.
5599 * testsuite/gas/arc/mov.d: Likewise.
5600 * testsuite/gas/arc/or.d: Likewise.
5601 * testsuite/gas/arc/pcl-relocs.d: Likewise.
5602 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
5603 * testsuite/gas/arc/pic-relocs.d: Likewise.
5604 * testsuite/gas/arc/plt-relocs.d: Likewise.
5605 * testsuite/gas/arc/rlc.d: Likewise.
5606 * testsuite/gas/arc/ror.d: Likewise.
5607 * testsuite/gas/arc/rrc.d: Likewise.
5608 * testsuite/gas/arc/sbc.d: Likewise.
5609 * testsuite/gas/arc/sda-relocs.d: Likewise.
5610 * testsuite/gas/arc/sda-relocs2.d: Likewise.
5611 * testsuite/gas/arc/sexb.d: Likewise.
5612 * testsuite/gas/arc/sexw.d: Likewise.
5613 * testsuite/gas/arc/st.d: Likewise.
5614 * testsuite/gas/arc/sub.d: Likewise.
5615 * testsuite/gas/arc/tls-relocs.d: Likewise.
5616 * testsuite/gas/arc/xor.d: Likewise.
5618 2016-01-01 Alan Modra <amodra@gmail.com>
5620 Update year range in copyright notice of all files.
5622 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
5624 Copyright (C) 2016 Free Software Foundation, Inc.
5626 Copying and distribution of this file, with or without modification,
5627 are permitted in any medium without royalty provided the copyright
5628 notice and this notice are preserved.
5634 version-control: never