1 2016-12-21 Andrew Waterman <andrew@sifive.com>
3 * config/tc-riscv.c (riscv_make_nops): Emit 2-byte NOPs.
4 (riscv_frag_align_code): Correct frag_align_code arg.
6 2016-12-21 Tim Newsome <tim@sifive.com>
8 * config/tc-riscv.c (riscv_pre_output_hook): Remove const from
11 2016-12-21 Alan Modra <amodra@gmail.com>
13 * doc/c-lm32.texi: Fix chars with high bit set.
14 * testsuite/gas/bfin/vector2.s: Likewise.
16 2016-12-21 Alan Modra <amodra@gmail.com>
19 * doc/as.texinfo (Chars): Document escape sequences.
21 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
23 * testsuite/gas/mips/mips16-sub.d: New test.
24 * testsuite/gas/mips/mips16-32@mips16-sub.d: New test.
25 * testsuite/gas/mips/mips16e-32@mips16-sub.d: New test.
26 * testsuite/gas/mips/mips16e-sub.d: New test.
27 * testsuite/gas/mips/mips16-32@mips16e-sub.d: New test.
28 * testsuite/gas/mips/mips16-64@mips16e-sub.d: New test.
29 * testsuite/gas/mips/mips16e-64-sub.d: New test.
30 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: New test.
31 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: New test.
32 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: New test.
33 * testsuite/gas/mips/mips16-sub.s: New test source.
34 * testsuite/gas/mips/mips16e-sub.s: New test source.
35 * testsuite/gas/mips/mips16e-64-sub.s: New test source.
36 * testsuite/gas/mips/mips.exp: Run the new tests.
38 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
40 * testsuite/gas/mips/mips16e.s: Add a RESTORE instruction.
41 * testsuite/gas/mips/mips16e.d: Adjust accordingly.
43 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
45 * testsuite/gas/mips/mips16.d: Adjust test for multiple MIPS16
47 * testsuite/gas/mips/mips16-64.d: Adjust test for multiple
49 * testsuite/gas/mips/mips16e-64.d: Adjust test for multiple
51 * testsuite/gas/mips/mips16-macro.d: Adjust test for multiple
53 * testsuite/gas/mips/mips16e-64.s: Ensure MIPS16 ISA annotation.
54 * testsuite/gas/mips/mips16e-64.l: Rename to...
55 * testsuite/gas/mips/mips16e-32@mips16e-64.l: ... this.
56 * testsuite/gas/mips/mips16-64@mips16.d: New test.
57 * testsuite/gas/mips/mips16-64@mips16-64.d: New test.
58 * testsuite/gas/mips/mips16e-32@mips16e-64.d: New test.
59 * testsuite/gas/mips/mips16-32@mips16-macro.d: New test.
60 * testsuite/gas/mips/mips16-64@mips16-macro.d: New test.
61 * testsuite/gas/mips/mips16e-32@mips16-macro.d: New test.
62 * testsuite/gas/mips/mips16-32@mips16-macro-e.d: New test.
63 * testsuite/gas/mips/mips16e-32@mips16-macro-e.d: New test.
64 * testsuite/gas/mips/mips16-32@mips16-macro-t.d: New test.
65 * testsuite/gas/mips/mips16e-32@mips16-macro-t.d: New test.
66 * testsuite/gas/mips/mips16e-32@mips16e-64.l: New stderr output.
67 * testsuite/gas/mips/mips16-32@mips16-macro.l: New stderr
69 * testsuite/gas/mips/mips16e-32@mips16-macro.l: New stderr
71 * testsuite/gas/mips/mips16-32@mips16-macro-e.l: New stderr
73 * testsuite/gas/mips/mips16e-32@mips16-macro-e.l: New stderr
75 * testsuite/gas/mips/mips16-32@mips16-macro-t.l: New stderr
77 * testsuite/gas/mips/mips16e-32@mips16-macro-t.l: New stderr
79 * testsuite/gas/mips/mips.exp: Run `mips16', `mips16-64',
80 `mips16-macro', `mips16-macro-t', `mips16-macro-e' and
81 `mips16e-64' testing across multiple MIPS16 ISAs. Fold
82 `mips16-macro' and `mips16e-64' list test invocations into
83 corresponding dump tests.
85 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
87 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
88 `mips16e' and `mips16' prefixes.
89 (run_list_test_arch): Likewise.
90 Rename `mips16' architecture to `mips16-32'. Add `mips16-64',
91 `mips16e-32' and `mips16e-64' architectures. Update `rol64',
92 `mips16e', `elf${el}-rel2' and `elf-rel4' test invocations
94 * testsuite/gas/mips/mips16e@branch-swap-3.d: New test.
95 * testsuite/gas/mips/mips16e@branch-swap-4.d: New test.
96 * testsuite/gas/mips/mips16e@loc-swap-dis.d: New test.
97 * testsuite/gas/mips/mips16e@loc-swap.d: New test.
99 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
101 * testsuite/gas/mips/loc-swap.s: Use zeros rather than NOPs for
102 trailing alignment padding.
103 * testsuite/gas/mips/loc-swap.d: Adjust accordingly.
104 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
105 * testsuite/gas/mips/mips16@loc-swap-dis.d: Likewise.
107 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
109 * config/tc-mips.c (micromips_insn_length): Use
110 `mips_opcode_32bit_p'.
111 (is_size_valid): Adjust description.
112 (is_size_valid_16): New function.
113 (validate_mips_insn): Use `mips_opcode_32bit_p' in MIPS16
115 (validate_mips16_insn): Remove `a' and `i' operand code special
116 casing, use `mips_opcode_32bit_p' to determine instruction
118 (append_insn): Adjust forced MIPS16 instruction size
120 (match_mips16_insn): Likewise. Don't shift the instruction's
121 opcode with the `a' and `i' operand codes. Use
122 `mips_opcode_32bit_p' in operand decoding.
123 (match_mips16_insns): Check for forced instruction size's
125 (mips16_ip): Don't force instruction size in the `noautoextend'
127 * testsuite/gas/mips/mips16-jal-e.d: New test.
128 * testsuite/gas/mips/mips16-jal-t.d: New test.
129 * testsuite/gas/mips/mips16-macro-e.d: New test.
130 * testsuite/gas/mips/mips16-macro-t.d: New test.
131 * testsuite/gas/mips/mips16-jal-t.l: New stderr output.
132 * testsuite/gas/mips/mips16-macro-e.l: New stderr output.
133 * testsuite/gas/mips/mips16-macro-t.l: New stderr output.
134 * testsuite/gas/mips/mips16-jal-e.s: New test source.
135 * testsuite/gas/mips/mips16-jal-t.s: New test source.
136 * testsuite/gas/mips/mips16-macro-e.s: New test source.
137 * testsuite/gas/mips/mips16-macro-t.s: New test source.
138 * testsuite/gas/mips/mips.exp: Run the new tests.
140 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
142 * testsuite/gas/mips/mips16-macro.l: New list test.
143 * testsuite/gas/mips/mips.exp: Run the new test.
145 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
147 * testsuite/gas/mips/mips16-sdrasp.d: New test.
148 * testsuite/gas/mips/mips16-sdrasp.l: New stderr output.
149 * testsuite/gas/mips/mips16-sdrasp.s: New test source.
150 * testsuite/gas/mips/mips.exp: Run the new test.
152 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
154 * testsuite/gas/mips/mips.exp: Limit remaining tests that
155 require NewABI support to `has_newabi' targets.
157 2015-12-20 Andrew Waterman <andrew@sifive.com>
159 * config/tc-riscv.c (riscv_pseudo_table): Remove "align",
160 "p2align", and "balign".
162 (riscv_handle_align): New function.
163 (riscv_frag_align_code): Likewise.
164 (riscv_make_nops): Likewise.
165 * config/tc-riscv.h (MAX_MEM_FOR_RS_ALIGN_CODE): Change to 7.
166 (HANDLE_ALIGN): Define.
167 (md_do_align): Define.
168 (riscv_handle_align): Declare.
169 (riscv_frag_align_code): Likewise.
171 2016-12-20 Andrew Waterman <andrew@sifive.com>
173 * config/tc-riscv.h (xlen): Delete.
174 * config/tc-riscv.c (xlen): Make static.
175 (abi_xlen): New variable.
176 (options): Replace OPTION_{M32,M64,MSOFT_FLOAT,MHARD_FLOAT,MRVC}
178 (md_longopts): Likewise.
179 (md_parse_option): Likewise.
180 (riscv_elf_final_processing): Likewise.
181 * doc/as.texinfo (Target RISC-V options): Likewise.
182 * doc/c-riscv.texi (OPTIONS): Likewise.
183 * config/tc-riscv.c (float_mode): Removed.
184 (float_abi): New type, specifies the floating-point ABI.
185 (riscv_set_abi): New function.
186 (riscv_add_subset): Only allow lower-case ISA names and require
187 them to start with "rv".
188 (riscv_after_parse_args): Likewise.
190 2016-12-20 Andrew Waterman <andrew@sifive.com>
191 Kuan-Lin Chen <kuanlinchentw@gmail.com>
193 * config/tc-riscv.c (riscv_set_options): Add relax.
194 (riscv_opts): Likewise.
195 (s_riscv_option): Add relax and norelax.
196 (riscv_apply_const_reloc): New function.
197 (append_insn): Move constant relocation handling to
198 riscv_apply_const_reloc.
199 (md_pcrel_from): Likewise.
200 (parse_relocation): Skip BFD_RELOC_UNUSED.
201 (md_pcrel_from): Handle BFD_RELOC_RISCV_SUB6,
202 BFD_RELOC_RISCV_RELAX, BFD_RELOC_RISCV_CFA.
203 (md_apply_fix): Likewise.
204 (riscv_pre_output_hook): New function.
205 * config/tc-riscv.h (md_pre_output_hook): Define.
206 (riscv_pre_output_hook): Declare.
207 (DWARF_CIE_DATA_ALIGNMENT): Always -4.
209 2016-12-20 Andrew Waterman <andrew@sifive.com>
211 * config/tc-riscv.c: Formatting and comment fixes throughout.
213 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
215 * config/tc-mips.c (md_convert_frag): Report an error instead of
217 * testsuite/gas/mips/mips16-branch-unextended-1.d: New test.
218 * testsuite/gas/mips/mips16-branch-unextended-2.d: New test.
219 * testsuite/gas/mips/mips16-branch-unextended-1.s: New test
221 * testsuite/gas/mips/mips16-branch-unextended-2.s: New test.
222 * testsuite/gas/mips/mips16-branch-unextended.l: New stderr
224 * testsuite/gas/mips/mips.exp: Run the new tests.
226 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
228 * testsuite/gas/mips/mips16-sprel-swap.d: New test.
229 * testsuite/gas/mips/mips16-sprel-swap.s: New test source.
230 * testsuite/gas/mips/mips.exp: Run the new test.
232 2016-12-13 Renlin Li <renlin.li@arm.com>
234 * config/tc-aarch64.c (AARCH64_REG_TYPES): Remove CN register.
235 (get_reg_expected_msg): Remove CN register case.
236 (parse_operands): rewrite parser for CRn, CRm operand.
237 (reg_names): Remove CN register.
238 * testsuite/gas/aarch64/diagnostic.s: Add a new test case.
239 * testsuite/gas/aarch64/diagnostic.l: Adjust error message.
241 2016-12-13 Jiong Wang <jiong.wang@arm.com>
243 * gas/testsuite/gas/aarch64/addsub.d: Support ILP32 mode.
244 * gas/testsuite/gas/aarch64/advsimd-across.d: Likewise.
245 * gas/testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise.
246 * gas/testsuite/gas/aarch64/advsimd-fp16.d: Likewise.
247 * gas/testsuite/gas/aarch64/advsimd-misc.d: Likewise.
248 * gas/testsuite/gas/aarch64/advsisd-copy.d: Likewise.
249 * gas/testsuite/gas/aarch64/advsisd-misc.d: Likewise.
250 * gas/testsuite/gas/aarch64/alias.d: Likewise.
251 * gas/testsuite/gas/aarch64/armv8-ras-1.d: Likewise.
252 * gas/testsuite/gas/aarch64/b_1.d: Likewise.
253 * gas/testsuite/gas/aarch64/beq_1.d: Likewise.
254 * gas/testsuite/gas/aarch64/bitfield-dump: Likewise.
255 * gas/testsuite/gas/aarch64/bitfield-no-aliases.d: Likewise.
256 * gas/testsuite/gas/aarch64/codealign.d: Likewise.
257 * gas/testsuite/gas/aarch64/codealign_1.d: Likewise.
258 * gas/testsuite/gas/aarch64/crc32-directive.d: Likewise.
259 * gas/testsuite/gas/aarch64/crc32.d: Likewise.
260 * gas/testsuite/gas/aarch64/crypto-directive.d: Likewise.
261 * gas/testsuite/gas/aarch64/crypto.d: Likewise.
262 * gas/testsuite/gas/aarch64/dwarf.d: Likewise.
263 * gas/testsuite/gas/aarch64/float-fp16.d: Likewise.
264 * gas/testsuite/gas/aarch64/floatdp2.d: Likewise.
265 * gas/testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
266 * gas/testsuite/gas/aarch64/fp-const0-parse.d: Likewise.
267 * gas/testsuite/gas/aarch64/fp_cvt_int.d: Likewise.
268 * gas/testsuite/gas/aarch64/fpmov.d: Likewise.
269 * gas/testsuite/gas/aarch64/inst-directive.d: Likewise.
270 * gas/testsuite/gas/aarch64/ldr_1.d: Likewise.
271 * gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
272 * gas/testsuite/gas/aarch64/ldst-exclusive.d: Likewise.
273 * gas/testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
274 * gas/testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
275 * gas/testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
276 * gas/testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
277 * gas/testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
278 * gas/testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
279 * gas/testsuite/gas/aarch64/lor-directive.d: Likewise.
280 * gas/testsuite/gas/aarch64/lor.d: Likewise.
281 * gas/testsuite/gas/aarch64/lse-atomic.d: Likewise.
282 * gas/testsuite/gas/aarch64/mapmisc.d: Likewise.
283 * gas/testsuite/gas/aarch64/mov-no-aliases.d: Likewise.
284 * gas/testsuite/gas/aarch64/mov.d: Likewise.
285 * gas/testsuite/gas/aarch64/movi.d: Likewise.
286 * gas/testsuite/gas/aarch64/movw_label.d: Likewise.
287 * gas/testsuite/gas/aarch64/msr.d: Likewise.
288 * gas/testsuite/gas/aarch64/neon-fp-cvt-int.d: Likewise.
289 * gas/testsuite/gas/aarch64/neon-frint.d: Likewise.
290 * gas/testsuite/gas/aarch64/neon-ins.d: Likewise.
291 * gas/testsuite/gas/aarch64/neon-not.d: Likewise.
292 * gas/testsuite/gas/aarch64/neon-vfp-reglist-post.d: Likewise.
293 * gas/testsuite/gas/aarch64/neon-vfp-reglist.d: Likewise.
294 * gas/testsuite/gas/aarch64/no-aliases.d: Likewise.
295 * gas/testsuite/gas/aarch64/optional.d: Likewise.
296 * gas/testsuite/gas/aarch64/pac.d: Likewise.
297 * gas/testsuite/gas/aarch64/pan-directive.d: Likewise.
298 * gas/testsuite/gas/aarch64/pan.d: Likewise.
299 * gas/testsuite/gas/aarch64/rdma-directive.d: Likewise.
300 * gas/testsuite/gas/aarch64/rdma.d: Likewise.
301 * gas/testsuite/gas/aarch64/reloc-dtprel_g0.d: Likewise.
302 * gas/testsuite/gas/aarch64/reloc-dtprel_g0_nc.d: Likewise.
303 * gas/testsuite/gas/aarch64/reloc-dtprel_g1.d: Likewise.
304 * gas/testsuite/gas/aarch64/reloc-dtprel_hi12.d: Likewise.
305 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-1.d: Likewise.
306 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc.d: Likewise.
307 * gas/testsuite/gas/aarch64/reloc-tlsldm-1.d: Likewise.
308 * gas/testsuite/gas/aarch64/reloc-tlsldm-page-1.d: Likewise.
309 * gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.d: Likewise.
310 * gas/testsuite/gas/aarch64/shifted.d: Likewise.
311 * gas/testsuite/gas/aarch64/sve.d: Likewise.
312 * gas/testsuite/gas/aarch64/symbol.d: Likewise.
313 * gas/testsuite/gas/aarch64/sysreg-1.d: Likewise.
314 * gas/testsuite/gas/aarch64/sysreg-2.d: Likewise.
315 * gas/testsuite/gas/aarch64/sysreg-3.d: Likewise.
316 * gas/testsuite/gas/aarch64/sysreg.d: Likewise.
317 * gas/testsuite/gas/aarch64/system-2.d: Likewise.
318 * gas/testsuite/gas/aarch64/system-3.d: Likewise.
319 * gas/testsuite/gas/aarch64/system.d: Likewise.
320 * gas/testsuite/gas/aarch64/tbz_1.d: Likewise.
321 * gas/testsuite/gas/aarch64/tlbi_op.d: Likewise.
322 * gas/testsuite/gas/aarch64/tls.d: Likewise.
323 * gas/testsuite/gas/aarch64/uao-directive.d: Likewise.
324 * gas/testsuite/gas/aarch64/uao.d: Likewise.
325 * gas/testsuite/gas/aarch64/virthostext-directive.d: Likewise.
326 * gas/testsuite/gas/aarch64/virthostext.d: Likewise.
327 * gas/testsuite/gas/aarch64/adr_1.d: Restrict test under -mabi=lp64.
328 * gas/testsuite/gas/aarch64/int-insns.d: Likewise.
329 * gas/testsuite/gas/aarch64/programmer-friendly.d: Likewise.
330 * gas/testsuite/gas/aarch64/reloc-data.d: Likewise.
331 * gas/testsuite/gas/aarch64/reloc-dtprel_g1_nc.d: Likewise.
332 * gas/testsuite/gas/aarch64/reloc-dtprel_g2.d: Likewise.
333 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst16.d: Likewise.
334 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst32.d: Likewise.
335 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst64.d: Likewise.
336 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst8.d: Likewise.
337 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst16.d: Likewise.
338 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst32.d: Likewise.
339 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst64.d: Likewise.
340 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst8.d: Likewise.
341 * gas/testsuite/gas/aarch64/reloc-gotoff_g0_nc.d: Likewise.
342 * gas/testsuite/gas/aarch64/reloc-gotoff_g1.d: Likewise.
343 * gas/testsuite/gas/aarch64/reloc-gottprel_g0_nc.d: Likewise.
344 * gas/testsuite/gas/aarch64/reloc-gottprel_g1.d: Likewise.
345 * gas/testsuite/gas/aarch64/reloc-insn.d: Likewise.
346 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g0_nc.d: Likewise.
347 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g1.d: Likewise.
348 * gas/testsuite/gas/aarch64/reloc-tlsgd_g0_nc.d: Likewise.
349 * gas/testsuite/gas/aarch64/reloc-tlsgd_g1.d: Likewise.
350 * gas/testsuite/gas/aarch64/tail_padding.d: Likewise.
351 * gas/testsuite/gas/aarch64/tls-desc.d: Likewise.
353 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
355 * config/tc-mips.c (mips16_macro_build) <'>'>: Remove case.
357 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
359 * testsuite/gas/mips/mips16-extend.d: New test.
360 * testsuite/gas/mips/mips16-extend.s: New test source.
361 * testsuite/gas/mips/mips.exp: Run the new test.
363 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
365 * config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local
366 variable to `space_buf'.
368 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
370 * config/tc-arm.c (encode_arm_shift): Rename `index' local
371 variable to `op_index'.
373 2016-12-08 Alan Modra <amodra@gmail.com>
375 * configure: Regenerate.
377 2016-12-07 Maciej W. Rozycki <macro@imgtec.com>
379 * config/tc-mips.c (is_opcode_valid): Use local `isa'
382 2016-12-06 Nick Clifton <nickc@redhat.com>
385 * read.c (s_space): Place an upper limit on the number of spaces
389 * testsuite/gas/mmix/err-byte1.s: Adjust expected warning messages
390 to account for patch to next_char_of_string.
392 2016-12-05 Nick Clifton <nickc@redhat.com>
395 * read.c (next_char_of_string): Do end advance past the end of the
399 * as.h (SKIP_ALL_WHITESPACE): New macro.
400 * expr.c (operand): Use it.
402 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
404 * config/tc-arm.c (do_vcmla, do_vcadd): Define.
405 (neon_scalar_for_vcmla): Define.
406 (enum operand_parse_code): Add OP_IROT1 and OP_IROT2.
407 (NEON_ENC_TAB): Add DDSI and QQSI variants.
408 (insns): Add vcmla and vcadd.
409 * testsuite/gas/arm/armv8_3-a-simd.d: New.
410 * testsuite/gas/arm/armv8_3-a-simd.s: New.
411 * testsuite/gas/arm/armv8_3-a-simd-bad.d: New.
412 * testsuite/gas/arm/armv8_3-a-simd-bad.l: New.
413 * testsuite/gas/arm/armv8_3-a-simd-bad.s: New.
415 2016-12-05 Claudiu Zissulescu <claziss@synopsys.com>
417 * testsuite/gas/arc/textauxregister-1.d: New file.
418 * testsuite/gas/arc/textauxregister-1.s: Likewise.
419 * testsuite/gas/arc/textcondcode-err.s: Likewise.
420 * testsuite/gas/arc/textcoreregister-err.s: Likewise.
421 * config/tc-arc.c (tokenize_extregister): Return bfd_boolean,
422 don't check second argument of extension auxiliary register for
424 (arc_extcorereg): Consider the return of tokenize_extregister
427 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
429 * config/tc-arm.c (arm_ext_v8_3, do_vjcvt): Define.
431 * testsuite/gas/aarch64/armv8_3-a-fp.s: New.
432 * testsuite/gas/aarch64/armv8_3-a-fp.d: New.
433 * testsuite/gas/aarch64/armv8_3-a-fp-bad.s: New.
434 * testsuite/gas/aarch64/armv8_3-a-fp-bad.d: New.
435 * testsuite/gas/aarch64/armv8_3-a-fp-bad.l: New.
437 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
439 * config/tc-arm.c (arm_archs): Add "armv8.3-a".
440 * doc/c-arm.texi (-march): Add "armv8.3-a".
442 2016-12-02 Claudiu Zissulescu <claziss@synopsys.com>
444 * testsuite/gas/arc/cpu-em-err.s: New file.
445 * testsuite/gas/arc/cpu-em4-err.s: Likewise.
446 * testsuite/gas/arc/cpu-fpuda-err.s: Likewise.
447 * testsuite/gas/arc/cpu-hs-err.s: Likewise.
448 * testsuite/gas/arc/cpu-quarkse-err.s: Likewise.
449 * testsuite/gas/arc/noargs_a7.s: Add .cpu.
450 * config/tc-arc.c (ARC_CPU_TYPE_A6xx): Define.
451 (ARC_CPU_TYPE_A7xx): Likewise.
452 (ARC_CPU_TYPE_AV2EM): Likewise.
453 (ARC_CPU_TYPE_AV2HS): Likewise.
454 (cpu_types): Update list of known CPU names.
455 (arc_show_cpu_list): New function.
456 (md_show_usage): Print accepted CPU names.
457 (cl_features): New variable.
458 (arc_select_cpu): Use cl_features.
459 (arc_option): Allow various .cpu names.
460 (md_parse_option): Set cl_features.
461 * doc/c-arc.texi: Update -mcpu and .cpu documentation.
463 2016-12-02 Josh Conner <joshconner@google.com>
465 * configure.tgt: Add support for fuchsia (OS).
467 2016-12-01 Nick Clifton <nickc@redhat.com>
470 * app.c (do_scrub_chars): Do not attempt to unget EOF.
473 * subsegs.c (subsegs_print_statistics): Do nothing if no output
477 * symbols.c (resolve_symbol_value): Gracefully handle erroneous
478 symbolic expressions.
480 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
482 * config/tc-arc.c (find_opcode_match): New function argument
484 (assemble_tokens): Collect and report the eventual error message
485 found during opcode matching process.
486 * testsuite/gas/arc/lpcount-err.s: New file.
487 * testsuite/gas/arc/add_s-err.s: Update error message.
489 2016-11-28 Ramiro Polla <ramiro@hex-rays.com>
490 Amit Pawar <amit.pawar@amd.com>
493 * testsuite/gas/i386/xop32reg.d: New file.
494 * testsuite/gas/i386/xop32reg.s: New file.
495 * testsuite/gas/i386/i386.exp: Run new test.
497 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
499 * arparse.y: Fix spelling in comments.
501 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
503 * config/bfin-lex.l: Fix spelling in comments.
505 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
507 * testsuite/gas/all/gas.exp: Fix spelling in comments.
508 * testsuite/gas/cris/cris.exp: Fix spelling in comments.
509 * testsuite/gas/hppa/basic/basic.exp: Fix spelling in comments.
510 * testsuite/gas/hppa/parse/parse.exp: Fix spelling in comments.
511 * testsuite/gas/hppa/reloc/reloc.exp: Fix spelling in comments.
512 * testsuite/gas/sh/arch/arch.exp: Fix spelling in comments.
513 * testsuite/gas/tic4x/tic4x.exp: Fix spelling in comments.
515 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
517 * testsuite/gas/arm/local_function.d: Fix spelling in comments.
518 * testsuite/gas/arm/req.s: Fix spelling in comments.
519 * testsuite/gas/arm/vfp1.s: Fix spelling in comments.
520 * testsuite/gas/arm/vfp1_t2.s: Fix spelling in comments.
521 * testsuite/gas/arm/vfp1xD.s: Fix spelling in comments.
522 * testsuite/gas/arm/vfp1xD_t2.s: Fix spelling in comments.
523 * testsuite/gas/mcore/allinsn.s: Fix spelling in comments.
524 * testsuite/gas/mips/24k-triple-stores-5.s: Fix spelling in comments.
525 * testsuite/gas/mips/delay.d: Fix spelling in comments.
526 * testsuite/gas/mips/nodelay.d: Fix spelling in comments.
527 * testsuite/gas/mips/r5900-full.s: Fix spelling in comments.
528 * testsuite/gas/mips/r5900.s: Fix spelling in comments.
530 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
532 * as.h: Fix spelling in comments.
533 * config/obj-ecoff.c: Fix spelling in comments.
534 * config/obj-macho.c: Fix spelling in comments.
535 * config/tc-aarch64.c: Fix spelling in comments.
536 * config/tc-arc.c: Fix spelling in comments.
537 * config/tc-arm.c: Fix spelling in comments.
538 * config/tc-avr.c: Fix spelling in comments.
539 * config/tc-cr16.c: Fix spelling in comments.
540 * config/tc-epiphany.c: Fix spelling in comments.
541 * config/tc-frv.c: Fix spelling in comments.
542 * config/tc-hppa.c: Fix spelling in comments.
543 * config/tc-hppa.h: Fix spelling in comments.
544 * config/tc-i370.c: Fix spelling in comments.
545 * config/tc-m68hc11.c: Fix spelling in comments.
546 * config/tc-m68k.c: Fix spelling in comments.
547 * config/tc-mcore.c: Fix spelling in comments.
548 * config/tc-mep.c: Fix spelling in comments.
549 * config/tc-metag.c: Fix spelling in comments.
550 * config/tc-mips.c: Fix spelling in comments.
551 * config/tc-mn10200.c: Fix spelling in comments.
552 * config/tc-mn10300.c: Fix spelling in comments.
553 * config/tc-nds32.c: Fix spelling in comments.
554 * config/tc-nios2.c: Fix spelling in comments.
555 * config/tc-ns32k.c: Fix spelling in comments.
556 * config/tc-pdp11.c: Fix spelling in comments.
557 * config/tc-ppc.c: Fix spelling in comments.
558 * config/tc-riscv.c: Fix spelling in comments.
559 * config/tc-rx.c: Fix spelling in comments.
560 * config/tc-score.c: Fix spelling in comments.
561 * config/tc-score7.c: Fix spelling in comments.
562 * config/tc-sparc.c: Fix spelling in comments.
563 * config/tc-tic54x.c: Fix spelling in comments.
564 * config/tc-vax.c: Fix spelling in comments.
565 * config/tc-xgate.h: Fix spelling in comments.
566 * config/tc-xtensa.c: Fix spelling in comments.
567 * config/tc-z80.c: Fix spelling in comments.
568 * dwarf2dbg.c: Fix spelling in comments.
569 * input-file.h: Fix spelling in comments.
570 * itbl-ops.c: Fix spelling in comments.
571 * read.c: Fix spelling in comments.
572 * stabs.c: Fix spelling in comments.
573 * symbols.c: Fix spelling in comments.
574 * write.c: Fix spelling in comments.
575 * testsuite/gas/all/itbl-test.c: Fix spelling in comments.
576 * testsuite/gas/tic4x/opclasses.h: Fix spelling in comments.
578 2016-11-25 Jose E. Marchesi <jose.marchesi@oracle.com>
580 * config/tc-sparc.c (sparc_ip): Avoid emitting a cbcond error
581 messages for non-cbcond instructions.
582 * testsuite/gas/sparc/cbcond-diag.s: New file.
583 * testsuite/gas/sparc/cbcond-diag.l: Likewise.
584 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run cbcond-diag tests.
586 2016-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
588 * testsuite/gas/sparc/sparc.exp (gas_64_check): Make sure the
589 hwcaps-bump test is run with 64-bit objects.
591 2016-11-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
593 * config/tc-riscv.c: Add missing break.
595 2016-11-23 Alan Modra <amodra@gmail.com>
597 * po/POTFILES.in: Regenerate.
599 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
601 * configure: Regenerate.
603 2016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
605 * config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
607 (sparc_arch): Clarify the new role of the hwcap_allowed and
608 hwcap2_allowed fields.
609 (sparc_arch_table): Remove HWS_* and HWS2_* instances from
610 hwcap_allowed and hwcap2_allowed respectively.
611 (md_parse_option): Include the opcode arch hwcaps when processing
613 (sparc_ip): Use the current opcode arch hwcaps to update
614 hwcap_allowed, as well as the hwcaps of the instruction triggering
616 * testsuite/gas/sparc/hwcaps-bump.s: New file.
617 * testsuite/gas/sparc/hwcaps-bump.l: Likewise.
618 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
621 2016-11-22 Claudiu Zissulescu <claziss@synopsys.com>
623 * testsuite/gas/arc/b.d: Update test result.
625 2016-11-22 Alan Modra <amodra@gmail.com>
628 * config/tc-ppc.c: Delete VLE insn defines.
629 (md_assemble): Swap use_a_reloc and use_d_reloc.
630 * testsuite/gas/ppc/vle-reloc.d: Update.
632 2016-11-21 Renlin Li <renlin.li@arm.com>
635 * config/tc-arm.c (encode_arm_shift): Don't assert for operands not
637 * testsuite/gas/arm/add-shift-two.d: New.
638 * testsuite/gas/arm/add-shift-two.s: New.
640 2016-11-21 Alan Modra <amodra@gmail.com>
642 * configure.ac: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
643 * Makefile.am (comparison): Rewrite using do_compare.
644 * configure: Regenerate.
645 * Makefile.in: Regenerate.
646 * doc/Makefile.in: Regenerate.
648 2016-11-18 Claudiu Zissulescu <claziss@synopsys.com>
650 * testsuite/gas/arc/cl-warn.s: New file.
651 * testsuite/gas/arc/cpu-pseudop-1.d: Likewise.
652 * testsuite/gas/arc/cpu-pseudop-1.s: Likewise.
653 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
654 * testsuite/gas/arc/cpu-pseudop-2.s: Likewise.
655 * testsuite/gas/arc/cpu-warn2.s: Likewise.
656 * config/tc-arc.c (selected_cpu): Initialize.
657 (feature_type): New struct.
658 (feature_list): New variable.
659 (arc_check_feature): New function.
660 (arc_select_cpu): Check for .cpu duplicates. Don't overwrite the
661 current cpu features. Check if a feature is available for a given
663 (md_parse_option): Test if features are available for a given cpu.
665 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
667 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
668 * testsuite/gas/aarch64/advsimd-armv8_3.d: New.
669 * testsuite/gas/aarch64/advsimd-armv8_3.s: New.
670 * testsuite/gas/aarch64/illegal-fcmla.s: New.
671 * testsuite/gas/aarch64/illegal-fcmla.l: New.
672 * testsuite/gas/aarch64/illegal-fcmla.d: New.
674 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
676 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
677 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
678 * testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
679 * testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
680 * testsuite/gas/aarch64/illegal-ldapr.l: Likewise.
682 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
684 * testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
685 * testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
686 * testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
687 * testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
688 * testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
689 * testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
690 * testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
691 * testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.
693 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
695 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
696 (fix_insn): Likewise.
697 (warn_unpredictable_ldst): Handle ldst_imm10.
698 * testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
699 * testsuite/gas/aarch64/pac.d: Likewise.
700 * testsuite/gas/aarch64/illegal-ldraa.s: New.
701 * testsuite/gas/aarch64/illegal-ldraa.l: New.
702 * testsuite/gas/aarch64/illegal-ldraa.d: New.
704 2016-11-15 Nick Clifton <nickc@redhat.com>
707 * config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in
708 the .eh_frame section.
710 2016-11-13 Anthony Green <green@moxielogic.org>
712 * config/tc-moxie.c (md_assemble): Assemble 'bad' opcode.
714 2016-11-11 Nick Clifton <nickc@redhat.com>
717 * expr.c (integer_constant): If tc_allow_L_suffix is defined and
718 non-zero then accept a L or LL suffix.
719 * testsuite/gas/sparc/pr20732.d: New test source file.
720 * testsuite/gas/sparc/pr20732.d: New test output file.
721 * testsuite/gas/sparc/sparc.exp: Run new test.
723 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
725 * testsuite/gas/aarch64/pac.s: Add ARMv8.3 branch instruction tests.
726 * testsuite/gas/aarch64/pac.d: Likewise.
728 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
730 * config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
731 (parse_operands): Likewise.
732 * testsuite/gas/aarch64/pac.s: Add pacga.
733 * testsuite/gas/aarch64/pac.d: Add pacga.
735 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
737 * testsuite/gas/aarch64/pac.s: New.
738 * testsuite/gas/aarch64/pac.d: New.
740 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
742 * testsuite/gas/aarch64/sysreg-3.s: New.
743 * testsuite/gas/aarch64/sysreg-3.d: New.
744 * testsuite/gas/aarch64/illegal-sysreg-3.l: New.
745 * testsuite/gas/aarch64/illegal-sysreg-3.d: New.
747 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
749 * testsuite/gas/aarch64/system-3.s: New.
750 * testsuite/gas/aarch64/system-3.d: New.
751 * testsuite/gas/aarch64/system.d: Update expected output.
753 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
755 * config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
756 * doc/c-aarch64.texi (-march): Likewise.
758 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
760 * config/tc-aarch64.c (aarch64_features): Fix "simd" and "crypto".
761 * testsuite/gas/aarch64/illegal-crypto-nofp.d: New.
762 * testsuite/gas/aarch64/illegal-crypto-nofp.l: New.
763 * testsuite/gas/aarch64/illegal-fp16-nofp.d: New.
764 * testsuite/gas/aarch64/illegal-fp16-nofp.l: New.
765 * testsuite/gas/aarch64/illegal-fp16-nofp.s: New.
767 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
770 * testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
771 * testsuite/gas/i386/opcode-intel.d: Updated.
772 * testsuite/gas/i386/opcode-suffix.d: Likewise.
773 * testsuite/gas/i386/opcode.d: Likewise.
774 * testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
776 * testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
777 * testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.
779 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
782 * testsuite/gas/i386/opcode-suffix.d: Updated.
784 2016-11-07 H.J. Lu <hongjiu.lu@intel.com>
787 * testsuite/gas/i386/i386.exp: Run fpu-bad.
788 * testsuite/gas/i386/fpu-bad.d: New file.
789 * testsuite/gas/i386/fpu-bad.s: Likewise.
791 2016-11-04 Nathan Sidwell <nathan@acm.org>
794 * input-scrub.c (partial_size): Make size_t.
795 (buffer_length): Likewise. Adjust meaning.
796 (struct input_save): Adjust partial_size type.
797 (input_scrub_reinit): New.
798 (input_scrub_push, input_scrub_begin): Use it.
799 (input_scrub_next_buffer): Fix buffer extension logic. Only scan
800 newly read buffer for newline.
802 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
804 * config/tc-arc.c (find_opcode_match): Use insert function to
805 validate matching address type operands.
806 * testsuite/gas/arc/nps400-10.d: New file.
807 * testsuite/gas/arc/nps400-10.s: New file.
809 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
811 * config/tc-arm.c (cortex-m33): Declare new processor.
812 * doc/c-arm.texi (-mcpu ARM command line option): Document new
813 Cortex-M33 processor.
814 * NEWS: Mention ARM Cortex-M33 support.
816 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
818 * config/tc-arm.c (cortex-m23): Declare new processor.
819 * doc/c-arm.texi (-mcpu ARM command line option): Document new
820 Cortex-M23 processor.
821 * NEWS: Mention ARM Cortex-M23 support.
823 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
824 Andrew Waterman <andrew@sifive.com>
826 * Makefile.am (CPU_DOCS): Add c-riscv.texi.
827 * Makefile.in: Regenerate.
828 * doc/all.texi: Set RISCV.
829 * doc/as.texinfo: Add RISCV options.
830 Add RISC-V-Dependent node.
831 Include c-riscv.texi.
832 * doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
834 2016-11-03 Graham Markall <graham.markall@embecosm.com>
836 * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm
837 operands are out of the range of an s9, in order to fix the test.
838 * testsuite/gas/arc/nps400-6.d: Updated to match new expected output.
840 2016-11-03 Graham Markall <graham.markall@embecosm.com>
842 * testsuite/gas/arc/nps-400-9.d: Added.
843 * testsuite/gas/arc/nps-400-9.s: Added.
845 2016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
847 * config/tc-arc.c (struct arc_insn): Change type of insn field.
848 (md_number_to_chars_midend): Support 6- and 8-byte values.
849 (emit_insn0): Update debug output.
850 (find_opcode_match): Likewise.
851 (build_fake_opcode_hash_entry): Delete.
852 (find_special_case_long_opcode): Delete.
853 (find_special_case): Remove long format special case handling.
854 (insert_operand): Change instruction type and update debug print
856 (assemble_insn): Change instruction type, update debug print
857 formats, and remove unneeded assert.
859 2016-11-03 Graham Markall <graham.markall@embecosm.com>
861 * config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
864 2016-11-03 Graham Markall <graham.markall@embecosm.com>
866 * config/tc-arc.c (struct arc_insn): Replace short_insn flag with
868 (apply_fixups): Update to use len field.
869 (emit_insn0): Simplify code, making use of len field.
870 (md_convert_frag): Update to use len field.
871 (assemble_insn): Update to use len field.
873 2016-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
875 * config/tc-aarch64.c (aarch64_cpus): Add falkor.
876 * config/tc-arm.c (arm_cpus): Likewise.
877 * doc/c-aarch64.texi: Likewise.
878 * doc/c-arm.texi: Likewise.
880 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
883 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
884 * testsuite/gas/i386/opcode-intel.d: Updated.
885 * testsuite/gas/i386/opcode.d: Likewise.
887 2016-11-02 Jiong Wang <jiong.wang@arm.com>
889 * config/tc-arm.c (SBIT_SHIFT): New.
890 (T2_SBIT_SHIFT): Likewise.
891 (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
892 (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
894 * testsuite/gas/arm/archv6t2-bad.s: New error case.
895 * testsuite/gas/arm/archv6t2-bad.l: New error match.
896 * testsuite/gas/arm/archv6t2.s: New testcase.
897 * testsuite/gas/arm/archv6t2.d: New expected result.
898 * testsuite/gas/arm/archv8m.s: New testcase.
899 * testsuite/gas/arm/archv8m-base.d: New expected result.
900 * testsuite/gas/arm/archv8m-main.d: Likewise.
901 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
903 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
905 * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
906 (cpu_noarch): Add noavx512_4vnniw.
907 * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
908 * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
909 * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
910 * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
911 * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
912 * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
913 * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
914 * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
915 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
916 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
917 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
918 * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
919 * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
920 * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
922 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
924 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
925 (cpu_noarch): Add noavx512_4fmaps.
926 (process_operands): Handle implicit quad group.
927 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
928 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
929 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
930 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
931 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
932 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
933 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
934 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
935 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
936 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
937 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
938 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
939 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
940 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
941 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
942 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
943 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
944 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
945 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
946 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
947 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
948 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
950 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
951 Andrew Waterman <andrew@sifive.com>
953 Add support for RISC-V architecture.
954 * Makefile.am: Add riscv files.
955 * Makefile.in: Regenerate.
956 * NEWS: Mention the support for this architecture.
957 * configure.in: Define a default architecture.
958 * configure: Regenerate.
959 * configure.tgt: Add entries for riscv.
960 * doc/as.texinfo: Likewise.
961 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
962 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
963 * config/tc-riscv.c: New file.
964 * config/tc-riscv.h: New file.
965 * doc/c-riscv.texi: New file.
966 * testsuite/gas/riscv: New directory.
967 * testsuite/gas/riscv/riscv.exp: New file.
968 * testsuite/gas/riscv/t_insns.d: New file.
969 * testsuite/gas/riscv/t_insns.s: New file.
971 2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
973 * config/tc-arc.c (arc_target): Delete.
974 (arc_target_name): Delete.
975 (arc_features): Delete.
976 (arc_mach_type): Delete.
977 (mach_type_specified_p): Delete.
978 (enum mach_selection_type): New enum.
979 (mach_selection_mode): New static global.
980 (selected_cpu): New static global.
981 (arc_eflag): Rename to ...
982 (arc_initial_eflag): ...this, and make const.
983 (arc_select_cpu): Update comment, new parameter, check how
984 previous machine type selection was made, and record this
985 selection. Use selected_cpu instead of old globals.
986 (arc_option): Remove use of arc_get_mach, instead use
987 arc_select_cpu to validate machine type selection. Use
988 selected_cpu over old globals.
989 (allocate_tok): Use selected_cpu over old globals.
990 (find_opcode_match): Likewise.
991 (assemble_tokens): Likewise.
992 (arc_cons_fix_new): Likewise.
993 (arc_extinsn): Likewise.
994 (arc_extcorereg): Likewise.
995 (md_begin): Update default machine type selection, use
996 selected_cpu over old globals.
997 (md_parse_option): Update machine type selection option handling,
998 use selected_cpu over old globals.
999 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
1001 2016-10-26 Alan Modra <amodra@gmail.com>
1003 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
1004 * config/rl78-parse.y: Do use old %name-prefix syntax.
1005 * config/rx-parse.y: Likewise.
1007 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
1009 * config/tc-i386.c (cpu_arch): Remove .pcommit.
1010 * doc/c-i386.texi: Likewise.
1011 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
1012 * testsuite/gas/i386/pcommit-intel.d: Removed.
1013 * testsuite/gas/i386/pcommit.d: Likewise.
1014 * testsuite/gas/i386/pcommit.s: Likewise.
1015 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
1016 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
1017 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
1019 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
1022 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
1023 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
1024 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
1026 2016-10-19 Renlin Li <renlin.li@arm.com>
1028 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
1029 for register-shifted register instructions.
1030 * testsuite/gas/arm/shift-bad-pc.d: New.
1031 * testsuite/gas/arm/shift-bad-pc.l: New.
1032 * testsuite/gas/arm/shift-bad-pc.s: New.
1034 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
1036 * testsuite/arc/dis-inv.d: Fixed matching.
1038 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
1040 * testsuite/arc/dis-inv.s: Test to validate patch.
1041 * testsuite/arc/dis-inv.d: Likewise.
1043 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
1045 * testsuite/gas/arc/shortlimm_a7.d: New file.
1046 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
1047 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
1048 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
1050 2016-10-11 Nick Clifton <nickc@redhat.com>
1052 * gas/arm/tls.d: Adjust output to match change in objdump.
1054 2016-10-11 Jiong Wang <jiong.wang@arm.com>
1057 * testsuite/gas/aarch64/alias-2.d: Update expected results.
1059 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1061 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
1062 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
1063 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
1064 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
1065 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
1066 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
1067 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
1068 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
1069 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
1071 2016-10-08 Alan Modra <amodra@gmail.com>
1073 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
1074 config/rx-parse.y. Move config/bfin-parse.y.
1075 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
1076 ($(srcdir)/config/rl78-defs.h): New rule.
1077 * Makefile.in: Regenerate.
1079 2016-10-07 Jiong Wang <jiong.wang@arm.com>
1082 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
1084 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
1086 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
1088 * testsuite/gas/arc/leave_enter.d: New file.
1089 * testsuite/gas/arc/leave_enter.s: Likewise.
1090 * testsuite/gas/arc/regnames.d: Likewise.
1091 * testsuite/gas/arc/regnames.s: Likewise.
1092 * config/tc-arc.c (arc_parse_name): Don't match reg names against
1093 confirmed symbol names.
1095 2016-10-06 Alan Modra <amodra@gmail.com>
1097 * app.c (do_scrub_chars): Move fall through comment.
1098 * expr.c (operand): Likewise.
1100 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
1103 * dw2gencfi.c (dot_cfi_sections): Refine the check for
1104 inconsistent .cfi_sections to only consider compact vs non
1106 * testsuite/gas/cfi/cfi-common-9.d: New file.
1107 * testsuite/gas/cfi/cfi-common-9.s: New file.
1108 * testsuite/gas/cfi/cfi.exp: Run new test.
1110 2016-10-06 Alan Modra <amodra@gmail.com>
1112 * app.c: Add missing fall through comments.
1113 * dw2gencfi.c: Likewise.
1115 * config/tc-alpha.c: Likewise.
1116 * config/tc-arc.c: Likewise.
1117 * config/tc-arm.c: Likewise.
1118 * config/tc-cr16.c: Likewise.
1119 * config/tc-crx.c: Likewise.
1120 * config/tc-dlx.c: Likewise.
1121 * config/tc-h8300.c: Likewise.
1122 * config/tc-hppa.c: Likewise.
1123 * config/tc-i370.c: Likewise.
1124 * config/tc-i386.c: Likewise.
1125 * config/tc-i960.c: Likewise.
1126 * config/tc-ia64.c: Likewise.
1127 * config/tc-m68hc11.c: Likewise.
1128 * config/tc-m68k.c: Likewise.
1129 * config/tc-mep.c: Likewise.
1130 * config/tc-metag.c: Likewise.
1131 * config/tc-microblaze.c: Likewise.
1132 * config/tc-mips.c: Likewise.
1133 * config/tc-ns32k.c: Likewise.
1134 * config/tc-rx.c: Likewise.
1135 * config/tc-score.c: Likewise.
1136 * config/tc-score7.c: Likewise.
1137 * config/tc-sh.c: Likewise.
1138 * config/tc-tic4x.c: Likewise.
1139 * config/tc-vax.c: Likewise.
1140 * config/tc-xstormy16.c: Likewise.
1141 * config/tc-z80.c: Likewise.
1142 * config/tc-z8k.c: Likewise.
1143 * config/obj-elf.c: Likewise.
1144 * config/tc-i386.c: Likewise.
1145 * depend.c: Spell fall through comments consistently.
1146 * config/tc-arm.c: Likewise.
1147 * config/tc-d10v.c: Likewise.
1148 * config/tc-i960.c: Likewise.
1149 * config/tc-ia64.c: Likewise.
1150 * config/tc-m68k.c: Likewise.
1151 * config/tc-mcore.c: Likewise.
1152 * config/tc-mep.c: Likewise.
1153 * config/tc-ns32k.c: Likewise.
1154 * config/tc-visium.c: Likewise.
1155 * config/tc-xstormy16.c: Likewise.
1156 * config/tc-z8k.c: Likewise.
1158 2016-10-06 Alan Modra <amodra@gmail.com>
1160 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
1162 2016-10-06 Alan Modra <amodra@gmail.com>
1164 * config/tc-arc.c (find_opcode_match): Add missing break.
1165 * config/tc-i960.c (get_cdisp): Likewise.
1166 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
1167 * config/tc-mt.c (md_parse_option): Likewise.
1168 * config/tc-nds32.c (nds32_apply_fix): Likewise.
1169 * config/tc-hppa.c (pa_ip): Assert rather than testing last
1170 condition of multiple if statements.
1171 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
1172 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
1173 out of case rather than falling into next case. Formatting.
1175 2016-10-06 Alan Modra <amodra@gmail.com>
1177 * config/rl78-parse.y: Don't use deprecated %name-prefix.
1178 * config/rx-parse.y: Likewise.
1180 2016-09-29 Jiong Wang <jiong.wang@arm.com>
1183 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
1184 testcases for H and S variants. New low index testcases for D variant.
1185 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
1187 2016-09-29 Alan Modra <amodra@gmail.com>
1189 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
1190 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
1191 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
1193 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1195 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
1198 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
1200 * Makefile.in: Regenerate.
1201 * configure: Likewise.
1202 * doc/Makefile.in: Likewise.
1204 2016-09-26 Alan Modra <amodra@gmail.com>
1206 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
1207 (md_pseudo_table <ELF>): Handle "gnu_attribute".
1209 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1211 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
1212 register and redundant basepri_max.
1214 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1216 * config/tc-aarch64.c (print_operands): Print spaces between
1218 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
1220 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
1221 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
1222 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
1223 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
1224 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
1225 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
1226 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1227 * testsuite/gas/aarch64/sve.d: Likewise.
1228 * testsuite/gas/aarch64/symbol.d: Likewise.
1229 * testsuite/gas/aarch64/system.d: Likewise.
1230 * testsuite/gas/aarch64/tls-desc.d: Likewise.
1231 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
1232 in suggested alternatives.
1233 * testsuite/gas/aarch64/verbose-error.l: Likewise.
1235 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1237 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
1238 rather than "should be" or "expected to be" in error messages.
1239 (parse_operands): Likewise.
1240 * testsuite/gas/aarch64/diagnostic.l: Likewise.
1241 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
1242 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
1243 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
1245 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1247 * config/tc-aarch64.c (opcode_lookup): Search for the end of
1248 a condition name, rather than assuming that it will have exactly
1250 (parse_operands): Likewise.
1251 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
1252 to the expected output.
1253 * testsuite/gas/aarch64/beq_1.d: Likewise.
1254 * testsuite/gas/aarch64/float-fp16.d: Likewise.
1255 * testsuite/gas/aarch64/int-insns.d: Likewise.
1256 * testsuite/gas/aarch64/no-aliases.d: Likewise.
1257 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
1258 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1259 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
1262 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1264 * testsuite/gas/aarch64/diagnostic.s,
1265 testsuite/gas/aarch64/diagnostic.l: Add tests for
1266 invalid uses of MUL VL and MUL in base AArch64 instructions.
1267 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
1268 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
1269 testsuite/gas/aarch64/sve-invalid.s,
1270 testsuite/gas/aarch64/sve-invalid.d,
1271 testsuite/gas/aarch64/sve-invalid.l,
1272 testsuite/gas/aarch64/sve-reg-diagnostic.s,
1273 testsuite/gas/aarch64/sve-reg-diagnostic.d,
1274 testsuite/gas/aarch64/sve-reg-diagnostic.l,
1275 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
1277 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1279 * doc/c-aarch64.texi: Document the "sve" feature.
1280 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
1281 (get_reg_expected_msg): Handle it.
1282 (parse_operands): When parsing operands of an SVE instruction,
1283 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
1284 (aarch64_features): Add an entry for SVE.
1286 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1288 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
1289 and FP register operands.
1291 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1293 * config/tc-aarch64.c (double_precision_operand_p): New function.
1294 (parse_operands): Use it to calculate the dp_p input to
1295 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
1297 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1299 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
1302 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1304 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
1306 (parse_shift): Handle SHIFTED_MUL_VL.
1307 (parse_address_main): Add an imm_shift_mode parameter.
1308 (parse_address, parse_sve_address): Update accordingly.
1309 (parse_operands): Handle MUL VL addressing modes.
1311 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1313 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
1315 (get_reg_expected_msg): Handle them.
1316 (aarch64_addr_reg_parse): New function, split out from
1317 aarch64_reg_parse_32_64. Handle Z registers too.
1318 (aarch64_reg_parse_32_64): Call it.
1319 (parse_address_main): Add base_qualifier, offset_qualifier,
1320 base_type and offset_type parameters. Handle SVE base and offset
1322 (parse_address): Update call to parse_address_main.
1323 (parse_sve_address): New function.
1324 (parse_operands): Parse the new SVE address operands.
1326 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1328 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
1329 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
1330 shift modes. Skip range tests for AARCH64_MOD_MUL.
1331 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
1332 (parse_operands): Likewise.
1334 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1336 * config/tc-aarch64.c (parse_enum_string): New function.
1337 (po_enum_or_fail): New macro.
1338 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
1339 AARCH64_OPND_SVE_PRFOP.
1341 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1343 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
1344 (parse_vector_type_for_operand): Assert that the skipped character
1346 (parse_predication_for_operand): New function.
1347 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
1348 (vectype_to_qualifier): Handle NT_zero and NT_merge.
1350 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1352 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
1353 (AARCH64_REG_TYPES): Add ZN and PN.
1354 (get_reg_expected_msg): Handle them.
1355 (parse_vector_type_for_operand): Add a reg_type parameter.
1356 Skip the width for Zn and Pn registers.
1357 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
1358 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
1359 expecting the width to be 0.
1360 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
1362 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
1363 (parse_operands): Handle the new Zn and Pn operands.
1364 (REGSET16): New macro, split out from...
1365 (REGSET31): ...here.
1366 (reg_names): Add Zn and Pn entries.
1368 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1370 * config/tc-aarch64.c (output_operand_error_record): Handle
1371 AARCH64_OPDE_UNTIED_OPERAND.
1373 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1375 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
1376 instruction with all-NIL qualifiers to fail to match.
1378 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1380 * config/tc-aarch64.c (parse_address_main): Remove reloc and
1381 accept_reg_post_index parameters. Parse relocations and register
1382 post indexes unconditionally.
1383 (parse_address): Remove accept_reg_post_index parameter.
1384 Update call to parse_address_main.
1385 (parse_address_reloc): Delete.
1386 (parse_operands): Call parse_address instead of parse_address_main.
1387 Update existing callers of parse_address and make them check
1388 inst.reloc.type where appropriate.
1389 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
1390 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
1391 Also test for invalid uses of post-index register addressing.
1392 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1394 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1396 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
1398 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
1399 (aarch64_check_reg_type): Simplify.
1400 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
1401 register number. Return the type as a qualifier rather than an
1402 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
1404 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
1405 Use get_reg_expected_msg.
1406 (parse_address_main): Likewise. Use aarch64_check_reg_type.
1407 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
1408 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
1409 Use aarch64_check_reg_type to test the result.
1410 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
1411 addresses normally before enforcing the syntax restrictions.
1412 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
1413 zero register and for a stack pointer index.
1414 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1415 Also update existing diagnostic messages after the above changes.
1416 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
1417 for 32-bit register bases.
1419 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1421 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
1422 (parse_operands): Check the range of 8-bit FP immediates here instead.
1424 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1426 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
1427 low-severity error for registers.
1428 (parse_operands): Report an invalid floating point constant for
1429 if parsing an FPIMM8 fails, and if no better error has been
1431 * testsuite/gas/aarch64/diagnostic.s,
1432 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
1435 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1437 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
1439 (can_convert_double_to_float): ...this. Accept any double-precision
1440 value that converts to single precision without loss of precision.
1441 (parse_aarch64_imm_float): Update accordingly.
1443 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1445 * config/tc-aarch64.c (parse_immediate_expression): Add a
1447 (parse_constant_immediate): Likewise, and update calls.
1448 (parse_aarch64_imm_float): Likewise.
1449 (parse_big_immediate): Likewise.
1450 (po_imm_nc_or_fail): Update accordingly, passing down a new
1451 imm_reg_type variable.
1452 (po_imm_of_fail): Likewise.
1453 (parse_operands): Likewise.
1455 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1457 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
1458 (parse_vector_reg_list): ...this and take a register type
1460 (parse_operands): Update accordingly.
1462 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1464 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
1465 (parse_vector_type_for_operand): ...this.
1466 (parse_typed_reg): Update accordingly.
1468 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1470 * config/tc-aarch64.c (neon_type_el): Rename to...
1471 (vector_type_el): ...this.
1472 (parse_neon_type_for_operand): Update accordingly.
1473 (parse_typed_reg): Likewise.
1474 (aarch64_reg_parse): Likewise.
1475 (vectype_to_qualifier): Likewise.
1476 (parse_operands): Likewise.
1477 (eq_neon_type_el): Likewise. Rename to...
1478 (eq_vector_type_el): ...this.
1479 (parse_neon_reg_list): Update accordingly.
1481 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1483 * config/tc-aarch64.c (neon_el_type: Rename to...
1484 (vector_el_type): ...this.
1485 (neon_type_el): Update accordingly.
1486 (parse_neon_type_for_operand): Likewise.
1487 (vectype_to_qualifier): Likewise.
1489 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1491 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
1492 (parse_typed_reg): Call parse_neon_type_for_operand directly.
1494 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
1496 * testsuite/gas/arc/textinsnxop.d: New file.
1497 * testsuite/gas/arc/textinsnxop.s: Likewise.
1499 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
1501 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1502 dcti-couples-v9 only in ELF targets to avoid spurious failures in
1503 sparc-aout and sparc-coff targets.
1505 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
1507 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
1508 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
1509 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
1510 <copy, paste.>: Update tests.
1511 * testsuite/gas/ppc/power9.s: Likewise.
1513 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1515 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
1516 in "architecture mismatch" error messages.
1518 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1520 * config/tc-sparc.c (md_assemble): Detect and warning on
1521 unpredictable DCTI couples in certain arches.
1522 (dcti_couples_detect): New global.
1523 (md_longopts): Add command line option -dcti-couples-detect.
1524 (md_show_usage): Document -dcti-couples-detect.
1525 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
1526 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1527 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
1528 * testsuite/gas/sparc/dcti-couples.s: New file.
1529 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
1530 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
1531 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
1532 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
1533 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
1534 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
1535 * doc/c-sparc.texi (Sparc-Opts): Likewise.
1537 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
1539 * testsuite/gas/arc/tls-relocs2.d: New file.
1540 * testsuite/gas/arc/tls-relocs2.s: Likewise.
1541 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
1544 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1546 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
1548 * doc/as.texinfo: Document new arch strings.
1549 * doc/c-s390.texi: Likewise.
1551 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1553 * config/tc-s390.c: Set all facitily bits by default
1555 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
1557 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
1559 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
1561 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
1564 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
1566 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
1567 (set_cpu_arch): Updated.
1568 (md_parse_option): Likewise.
1569 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
1570 iamcu-inval-2 and iamcu-inval-3.
1571 * testsuite/gas/i386/iamcu-4.d: New file.
1572 * testsuite/gas/i386/iamcu-4.s: Likewise.
1573 * testsuite/gas/i386/iamcu-5.d: Likewise.
1574 * testsuite/gas/i386/iamcu-5.s: Likewise.
1575 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
1576 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
1577 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
1578 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
1580 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
1582 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
1583 ARMv8-A CPUs except xgene1.
1585 2016-08-31 Alan Modra <amodra@gmail.com>
1587 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
1588 ppc_cpu rather than calling ppc_mach to determine VLE mode.
1589 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
1591 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
1593 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
1595 * testsuite/gas/sparc/crypto.s: Likewise.
1597 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1599 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
1600 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
1601 their lowecase counterpart special registers. Write register
1603 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
1604 operation, special register and then case. Use different register for
1605 each operation. Add tests for new special registers.
1606 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
1608 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1609 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1611 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
1613 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
1615 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
1617 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1618 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1619 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1621 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
1623 * config/tc-i386.c (cpu_arch): Add .ptwrite.
1624 * doc/c-i386.texi: Document ptwrite and .ptwrite.
1625 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
1626 x86-64-ptwrite and x86-64-ptwrite-intel.
1627 * testsuite/gas/i386/ptwrite-intel.d: New file.
1628 * testsuite/gas/i386/ptwrite.d: Likewise.
1629 * testsuite/gas/i386/ptwrite.s: Likewise.
1630 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
1631 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
1632 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
1634 2016-08-19 Tamar Christina <tamar.christina@arm.com>
1636 * config/tc-arm.c (do_co_reg2c): Added constraint.
1637 * testsuite/gas/arm/dest-unpredictable.s: New.
1638 * testsuite/gas/arm/dest-unpredictable.l: New.
1639 * testsuite/gas/arm/dest-unpredictable.d: New.
1641 2016-08-19 Nick Clifton <nickc@redhat.com>
1643 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
1644 ordering of sections.
1645 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1646 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
1647 * testsuite/gas/ia64/alias.d: Likewise.
1648 * testsuite/gas/ia64/group-1.d: Likewise.
1649 * testsuite/gas/ia64/group-2.d: Likewise.
1650 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
1651 * testsuite/gas/ia64/secname.d: Likewise.
1652 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
1653 * testsuite/gas/ia64/unwind.d: Likewise.
1654 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
1655 * testsuite/gas/ia64/xdata.d: Likewise.
1656 * testsuite/gas/mmix/bspec-1.d: Likewise.
1657 * testsuite/gas/mmix/bspec-2.d: Likewise.
1658 * testsuite/gas/mmix/byte-1.d: Likewise.
1659 * testsuite/gas/mmix/loc-1.d: Likewise.
1660 * testsuite/gas/mmix/loc-2.d: Likewise.
1661 * testsuite/gas/mmix/loc-3.d: Likewise.
1662 * testsuite/gas/mmix/loc-4.d: Likewise.
1663 * testsuite/gas/mmix/loc-5.d: Likewise.
1664 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1666 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
1668 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
1669 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
1670 Add tests for -0.0. Add an end-of-file comment.
1672 2016-08-05 Nick Clifton <nickc@redhat.com>
1675 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
1676 registers are pushed.
1677 (do_vfp_nsyn_pop): Check that no more than 16 registers are
1679 * testsuite/gas/arm/pr20429.s: New test.
1680 * testsuite/gas/arm/pr20429.d: New test driver.
1681 * testsuite/gas/arm/pr20429.1: Expected error output.
1684 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
1686 (aarch64_init): Treat rs_align frags in code sections as
1687 containing code, not data.
1688 * testsuite/gas/aarch64/pr20364.s: New test.
1689 * testsuite/gas/aarch64/pr20364.d: New test driver.
1691 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
1694 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
1695 of 64-bit relocation types when assembling for a 32-bit Solaris
1698 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
1700 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
1702 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
1703 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
1704 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
1705 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
1707 (sparc_elf_setup): Delete.
1708 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
1711 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1713 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
1714 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
1715 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
1716 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
1717 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
1718 (get_append_method): Also return APPEND_ADD_COMPACT for
1719 microMIPS instructions.
1720 (find_altered_mips16_opcode): Exclude macros from matching.
1722 (find_altered_opcode): ... to this new function.
1723 (find_altered_micromips_opcode): New function.
1724 (frag_branch_delay_slot_size): Likewise.
1725 (append_insn): Handle microMIPS branch/jump compaction.
1726 (macro_start): Likewise.
1727 (relaxed_micromips_32bit_branch_length): Likewise.
1728 (md_convert_frag): Likewise.
1729 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
1730 for delay slot filling.
1731 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
1733 * testsuite/gas/mips/micromips-size-1.s: Likewise.
1734 * testsuite/gas/mips/micromips.l: Adjust line numbers.
1735 * testsuite/gas/mips/micromips-warn.l: Likewise.
1736 * testsuite/gas/mips/micromips-size-1.l: Likewise.
1737 * testsuite/gas/mips/micromips.d: Adjust padding.
1738 * testsuite/gas/mips/micromips-trap.d: Likewise.
1739 * testsuite/gas/mips/micromips-insn32.d: Likewise.
1740 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1741 * testsuite/gas/mips/micromips@beq.d: Update patterns for
1742 branch/jump compaction.
1743 * testsuite/gas/mips/micromips@bge.d: Likewise.
1744 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
1745 * testsuite/gas/mips/micromips@blt.d: Likewise.
1746 * testsuite/gas/mips/micromips@bltu.d: Likewise.
1747 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
1748 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
1749 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
1750 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
1751 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
1752 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1753 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1754 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
1756 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
1758 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
1759 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
1760 * testsuite/gas/mips/micromips@relax.d: Likewise.
1761 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
1762 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
1763 * testsuite/gas/mips/branch-extern-2.d: Likewise.
1764 * testsuite/gas/mips/branch-extern-4.d: Likewise.
1765 * testsuite/gas/mips/branch-section-2.d: Likewise.
1766 * testsuite/gas/mips/branch-section-4.d: Likewise.
1767 * testsuite/gas/mips/branch-weak-2.d: Likewise.
1768 * testsuite/gas/mips/branch-weak-5.d: Likewise.
1769 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
1770 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1771 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1772 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
1774 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1776 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1778 * testsuite/gas/mips/micromips-compact.d: New test.
1779 * testsuite/gas/mips/mips.exp: Run the new test.
1781 2016-07-27 Graham Markall <graham.markall@embecosm.com>
1783 * config/tc-arc.c: Add new global arc_addrtype_hash.
1784 Define O_colon and O_addrtype.
1785 (debug_exp): Add O_colon and O_addrtype.
1786 (tokenize_arguments): Handle colon and address type
1788 (declare_addrtype): New function.
1789 (md_begin): Initialise arc_addrtype_hash.
1790 (arc_parse_name): Add lookup of address types.
1791 (assemble_insn): Handle colons and address types by
1793 * testsuite/gas/arc/nps400-8.s: New file.
1794 * testsuite/gas/arc/nps400-8.d: New file.
1795 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
1796 * testsuite/gas/arc/nps400-8.d: Add expected PMU
1799 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1801 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
1802 (RELAX_MICROMIPS_INSN32): New macro.
1803 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1804 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
1805 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
1806 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
1807 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
1809 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
1811 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
1813 (md_convert_frag): Likewise.
1814 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
1816 * testsuite/gas/mips/micromips-branch-relax.l: Update line
1817 numbers accordingly.
1818 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
1819 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
1820 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
1822 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
1824 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
1826 * testsuite/gas/mips/mips.exp: Run the new tests.
1828 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1830 * configure: Regenerated.
1832 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
1834 * testsuite/gas/arc/dsp.d: New file.
1835 * testsuite/gas/arc/dsp.s: Likewise.
1836 * testsuite/gas/arc/fpu.d: Likewise.
1837 * testsuite/gas/arc/fpu.s: Likewise.
1838 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
1839 * testsuite/gas/arc/ext3op.d: Likewise.
1840 * testsuite/gas/arc/tdpfp.d: Likewise.
1841 * testsuite/gas/arc/tfpuda.d: Likewise.
1843 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
1845 * config/tc-mips.c (mips_force_relocation): Remove
1846 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
1848 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1850 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
1851 Adjust comments for BAL to JALX linker conversion.
1852 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
1853 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
1855 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
1856 * testsuite/gas/mips/branch-local-4.d: New test.
1857 * testsuite/gas/mips/branch-local-n32-4.d: New test.
1858 * testsuite/gas/mips/branch-local-n64-4.d: New test.
1859 * testsuite/gas/mips/branch-addend.d: New test.
1860 * testsuite/gas/mips/branch-addend-n32.d: New test.
1861 * testsuite/gas/mips/branch-addend-n64.d: New test.
1862 * testsuite/gas/mips/branch-local-4.s: New test source.
1863 * testsuite/gas/mips/branch-addend.s: New test source.
1864 * testsuite/gas/mips/mips.exp: Run the new tests.
1866 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1868 * config/tc-mips.c (mips_force_relocation): Also retain branch
1869 relocations against MIPS16 and microMIPS symbols.
1870 (fix_bad_cross_mode_jump_p): New function.
1871 (fix_bad_same_mode_jalx_p): Likewise.
1872 (fix_bad_misaligned_jump_p): Likewise.
1873 (fix_bad_cross_mode_branch_p): Likewise.
1874 (fix_bad_misaligned_branch_p): Likewise.
1875 (fix_validate_branch): Likewise.
1876 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
1877 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
1878 etc. Verify the ISA mode and alignment of the jump target.
1879 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
1880 with a call to `fix_validate_branch'.
1881 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
1882 <BFD_RELOC_16_PCREL_S2>: Likewise.
1883 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1884 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
1885 Verify the ISA mode and alignment of the branch target.
1886 (md_convert_frag): Verify the ISA mode and alignment of resolved
1887 MIPS16 branch targets.
1888 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
1889 branch targets with `.insn'.
1890 * testsuite/gas/mips/branch-misc-5.s: Likewise.
1891 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
1893 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1894 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
1895 non-instruction branch target with `.insn'.
1896 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
1897 with external symbols.
1898 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
1899 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1900 * testsuite/gas/mips/micromips-trap.d: Likewise.
1901 * testsuite/gas/mips/micromips.d: Likewise.
1902 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
1903 targets with `.insn'.
1904 * testsuite/gas/mips/mips16.d: Update accordingly.
1905 * testsuite/gas/mips/mips16-64.d: Likewise.
1906 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
1907 branch target with `.insn'.
1908 * testsuite/gas/mips/relax-swap3.s: Likewise.
1909 * testsuite/gas/mips/branch-local-2.l: New list test.
1910 * testsuite/gas/mips/branch-local-3.l: New list test.
1911 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
1912 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
1913 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
1914 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
1915 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
1916 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
1917 * testsuite/gas/mips/unaligned-jump-3.d: New test.
1918 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
1919 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
1920 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1921 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1923 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1925 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
1926 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
1927 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
1928 * testsuite/gas/mips/unaligned-branch-3.d: New test.
1929 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
1930 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
1931 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
1932 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
1933 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
1934 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
1935 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
1936 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
1937 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
1938 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
1940 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
1942 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
1943 * testsuite/gas/mips/branch-local-2.s: New test source.
1944 * testsuite/gas/mips/branch-local-3.s: New test source.
1945 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
1946 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
1947 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
1948 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1949 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1950 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1951 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1952 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1953 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1955 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1957 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1958 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1959 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1960 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1961 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1962 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1963 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1965 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1967 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1969 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1971 * testsuite/gas/mips/mips.exp: Run the new tests.
1973 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1975 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1977 (do_pseudo_b): Adjust.
1978 (do_pseudo_bal): Likewise.
1979 (do_pseudo_bge): Likewise.
1980 (do_pseudo_bges): Likewise.
1981 (do_pseudo_bgt): Likewise.
1982 (do_pseudo_bgts): Likewise.
1983 (do_pseudo_ble): Likewise.
1984 (do_pseudo_bles): Likewise.
1985 (do_pseudo_blt): Likewise.
1986 (do_pseudo_blts): Likewise.
1987 (do_pseudo_br): Likewise.
1988 (do_pseudo_bral): Likewise.
1989 (do_pseudo_la): Likewise.
1990 (do_pseudo_li): Likewise.
1991 (do_pseudo_ls_bhw): Likewise.
1992 (do_pseudo_ls_bhwp): Likewise.
1993 (do_pseudo_ls_bhwpc): Likewise.
1994 (do_pseudo_ls_bhwi): Likewise.
1995 (do_pseudo_move): Likewise.
1996 (do_pseudo_neg): Likewise.
1997 (do_pseudo_not): Likewise.
1998 (do_pseudo_pushpopm): Likewise.
1999 (do_pseudo_pushpop): Likewise.
2000 (do_pseudo_v3push): Likewise.
2001 (do_pseudo_v3pop): Likewise.
2002 (do_pseudo_pushpop_stack): Likewise.
2003 (do_pseudo_push_bhwd): Likewise.
2004 (do_pseudo_pop_bhwd): Likewise.
2005 (do_pseudo_pusha): Likewise.
2006 (do_pseudo_pushi): Likewise.
2008 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2010 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
2011 bfd_reloc_code_real_type.
2013 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2015 * config/tc-sparc.c (pop_table): Remove sentinel.
2016 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
2019 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2021 * config/tc-z8k.c (newfix): Make type of type argument
2022 bfd_reloc_code_real_type.
2023 (apply_fix): Likewise.
2025 2016-07-16 Alan Modra <amodra@gmail.com>
2027 * config/tc-epiphany.c: Don't include libbfd.h.
2028 * config/tc-frv.c: Likewise.
2029 * config/tc-ip2k.c: Likewise.
2030 * config/tc-iq2000.c: Likewise.
2031 * config/tc-m32c.c: Likewise.
2032 * config/tc-mep.c: Likewise.
2033 * config/tc-mt.c: Likewise.
2034 * config/tc-nios2.c: Likewise.
2036 2016-07-16 Alan Modra <amodra@gmail.com>
2038 * config/bfin-parse.y: Don't include libbfd.h.
2039 * config/tc-bfin.c: Likewise.
2040 * config/tc-rl78.c: Likewise.
2041 * config/tc-rx.c: Likewise.
2042 * config/tc-metag.c: Likewise.
2043 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
2044 * Makefile.am: Update dependencies.
2045 * Makefile.in: Regenerate.
2047 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2049 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
2050 (mips_force_relocation_abs): New prototype.
2051 * config/tc-mips.c (mips_force_relocation_abs): New function.
2052 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
2053 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
2054 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
2055 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
2056 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
2058 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
2060 * testsuite/gas/mips/branch-absolute-addend.d: New test.
2061 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
2062 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
2064 * testsuite/gas/mips/mips.exp: Run the new tests.
2066 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2068 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
2069 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
2070 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
2072 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
2073 in `bar', export `foo'.
2074 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
2076 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
2077 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
2078 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
2080 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
2083 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2085 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
2086 * testsuite/gas/mips/branch-absolute.d: New test.
2087 * testsuite/gas/mips/branch-absolute-n32.d: New test.
2088 * testsuite/gas/mips/branch-absolute-n64.d: New test.
2089 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
2090 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
2091 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
2092 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
2093 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
2095 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
2097 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
2098 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
2099 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
2100 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
2102 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
2104 * testsuite/gas/mips/branch-absolute.s: New test source.
2105 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
2106 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
2108 * testsuite/gas/mips/micromips-branch-absolute.s: New test
2110 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
2112 * testsuite/gas/mips/mips.exp: Run the new tests.
2114 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
2116 * testsuite/gas/mips/nal-1.d: New test.
2117 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
2118 * testsuite/gas/mips/nal-2.d: New test.
2119 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
2120 * testsuite/gas/mips/nal.s: New test source.
2121 * testsuite/gas/mips/mips.exp: Run the new tests.
2123 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
2125 * testsuite/gas/sparc/ldtxa.s: New file.
2126 * testsuite/gas/sparc/ldtxa.d: Likewise.
2127 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
2129 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
2131 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
2132 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
2133 as it is no longer needed.
2135 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
2137 * config/tc-mips.c (append_insn): Remove extraneous
2138 `install_insn' call.
2140 2016-07-04 Jan Beulich <jbeulich@suse.com>
2142 * config/tc-i386.c (check_qword_reg): Correct register kind
2144 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
2145 16-bit register cases.
2146 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
2149 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2151 * testsuite/gas/mips/ecoff@ld.d: Remove test.
2152 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
2153 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
2154 * testsuite/gas/mips/ecoff@sd.d: Remove test.
2155 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
2156 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
2158 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2159 * testsuite/gas/mips/bge.d: Likewise.
2160 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
2161 * testsuite/gas/mips/bgeu.d: Likewise.
2162 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
2163 * testsuite/gas/mips/blt.d: Likewise.
2164 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
2165 * testsuite/gas/mips/bltu.d: Likewise.
2166 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
2167 * testsuite/gas/mips/branch-likely.d: Likewise.
2168 * testsuite/gas/mips/la.d: Likewise.
2169 * testsuite/gas/mips/lb.d: Likewise.
2170 * testsuite/gas/mips/lifloat.d: Likewise.
2171 * testsuite/gas/mips/sb.d: Likewise.
2172 * testsuite/gas/mips/uld.d: Likewise.
2173 * testsuite/gas/mips/ulh.d: Likewise.
2174 * testsuite/gas/mips/ulw.d: Likewise.
2175 * testsuite/gas/mips/usd.d: Likewise.
2176 * testsuite/gas/mips/ush.d: Likewise.
2177 * testsuite/gas/mips/usw.d: Likewise.
2179 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2181 * testsuite/gas/mips/branch-misc-2.s: Move non
2182 locally-defined-global symbol tests...
2183 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
2184 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
2185 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
2186 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
2187 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
2188 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
2189 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
2190 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
2191 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
2192 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
2193 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
2194 * testsuite/gas/mips/branch-misc-5.d: New test.
2195 * testsuite/gas/mips/branch-misc-5pic.d: New test.
2196 * testsuite/gas/mips/branch-misc-5-64.d: New test.
2197 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
2198 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
2199 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
2200 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
2201 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
2202 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
2203 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
2204 * testsuite/gas/mips/mips.exp: Run the new tests.
2206 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2208 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
2210 * testsuite/gas/mips/beq.d: Update accordingly.
2211 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2212 * testsuite/gas/mips/micromips@beq.d: Likewise.
2214 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2216 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
2217 tests to NewABI targets.
2219 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2221 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
2224 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2226 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
2228 (aarch64_features): Initialize require fields.
2229 (aarch64_parse_features): Handle dependencies.
2230 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
2231 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
2232 * testsuite/gas/aarch64/illegal-nofp16.s: New.
2233 * testsuite/gas/aarch64/illegal-nofp16.l: New.
2234 * testsuite/gas/aarch64/illegal-nofp16.d: New.
2236 2016-07-01 Nick Clifton <nickc@redhat.com>
2238 * macro.c (macro_expand_body): Use a buffer big enough to hold an
2239 extremely large integer.
2241 2016-07-01 Jan Beulich <jbeulich@suse.com>
2243 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
2245 2016-07-01 Tristan Gingold <gingold@adacore.com>
2247 * NEWS: Add marker for 2.27.
2249 2016-07-01 Jan Beulich <jbeulich@suse.com>
2251 * tc-i386.c (i386_index_check): Add special checks for bndmk,
2253 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
2254 as well as scaling by other than 1 tests.
2255 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
2257 2016-07-01 Jan Beulich <jbeulich@suse.com>
2259 * tc-i386.c (md_assemble): Alter address size checking for MPX
2261 * testsuite/gas/i386/mpx-inval-2.s: New.
2262 * testsuite/gas/i386/mpx-inval-2.l: New.
2263 * testsuite/gas/i386/i386.exp: Run new test.
2265 2016-07-01 Jan Beulich <jbeulich@suse.com>
2268 * config/tc-i386.c (match_template): Add char parameter,
2269 consumed in Intel mode for an extra suffix check.
2270 (md_assemble): New local variable mnem_suffix.
2271 * testsuite/gas/i386/suffix-bad.s: New.
2272 * testsuite/gas/i386/suffix-bad.l: New.
2273 * testsuite/gas/i386/i386.exp: Run new test (twice).
2275 2016-07-01 Jan Beulich <jbeulich@suse.com>
2277 * testsuite/gas/i386/movz.s: New.
2278 * testsuite/gas/i386/movz32.d: New.
2279 * testsuite/gas/i386/movz64.d: New.
2280 * testsuite/gas/i386/i386.exp: Run new tests.
2282 2016-07-01 Jan Beulich <jbeulich@suse.com>
2284 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
2285 (md_assemble): Free first memory operand string.
2286 (i386_index_check): Use repprefixok to distingush xlat from
2287 other (real) string ops.
2288 (maybe_adjust_templates): New.
2289 (i386_att_operand). Call it. Store first memory operand string.
2290 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
2291 * testsuite/gas/i386/intel-movs.s: New.
2292 * testsuite/gas/i386/intel-movs32.d: New.
2293 * testsuite/gas/i386/intel-movs64.d: New.
2294 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
2295 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
2297 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2299 * config/tc-mips.c (get_append_method): Fix a comment typo.
2301 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
2302 Maciej W. Rozycki <macro@imgtec.com>
2304 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
2305 case MIPS16 handling.
2306 * testsuite/gas/mips/branch-swap-3.d: New test.
2307 * testsuite/gas/mips/branch-swap-4.d: New test.
2308 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
2309 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
2310 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
2311 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
2312 * testsuite/gas/mips/branch-swap-3.s: New test source.
2313 * testsuite/gas/mips/mips.exp: Run the new tests.
2315 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2317 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
2320 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2323 * write.c (subsegs_finish_section): Force no section padding to
2324 alignment on failed assembly, always set last frag's alignment
2326 * testsuite/gas/all/pr20312.l: New list test.
2327 * testsuite/gas/all/pr20312.s: New test source.
2328 * testsuite/gas/all/gas.exp: Run the new test
2330 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
2332 * config.in (TARGET_WITH_CPU): Undefine.
2333 * configure.ac: Add --with-cpu support, and define in config.h.
2334 * configure: Regenerate.
2335 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
2336 * NEWS: Mention new configure option.
2338 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
2340 * testsuite/gas/arm/armv8_2+rdma.d: New.
2342 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
2344 * NEWS: Mention --enable-compressed-debug-sections=gas is the
2345 default for Linux/x86 targets.
2346 * configure.tgt (ac_default_compressed_debug_sections): Default
2347 to yes for Linux/x86 targets.
2349 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
2351 * write.c: Remove "libbfd.h" inclusion.
2353 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2355 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
2358 2016-06-28 Alan Modra <amodra@gmail.com>
2361 * testsuite/gas/elf/section11.s: Don't start directives in first column.
2363 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
2365 * testsuite/gas/aarch64/diagnostic.s,
2366 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
2368 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2370 * config/tc-mips.c (mips16_reloc_p): Handle
2371 BFD_RELOC_MIPS16_16_PCREL_S1.
2372 (b_reloc_p): Likewise.
2373 (limited_pcrel_reloc_p): Likewise.
2374 (md_pcrel_from): Likewise.
2375 (md_apply_fix): Likewise.
2376 (tc_gen_reloc): Likewise.
2377 (md_convert_frag): Likewise.
2378 (mips_fix_adjustable): Update comment.
2379 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
2380 output, add dump patterns.
2381 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
2382 output, add dump patterns.
2383 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
2384 output, add dump patterns.
2385 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
2386 output, add dump patterns.
2387 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
2388 output, add dump patterns.
2389 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
2390 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
2391 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
2392 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
2393 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
2394 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
2395 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
2396 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
2397 * testsuite/gas/mips/branch-weak-6.d: New test.
2398 * testsuite/gas/mips/branch-weak-7.d: New test.
2399 * testsuite/gas/mips/mips.exp: Run the new tests.
2401 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
2403 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
2404 cfi_add_CFA_def_cfa to generate default CFA with offset
2405 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
2407 2016-06-27 Nick Clifton <nickc@redhat.com>
2410 * as.h (do_not_pad_sections_to_alignment): New global variable.
2411 * as.c (show_usage): Add --no-pad-sections.
2412 (parse_args): Likewise.
2413 * write.c (size_seg): Skip padding the end of the section if
2414 requested from the command line.
2415 (SUB_SEGMENT_ALIGN): Likewise.
2416 * doc/as.texinfo: Document the new option.
2417 * NEWS: Mention the new feature.
2418 * testsuite/gas/elf/section11.s: New test.
2419 * testsuite/gas/elf/section11.d: New test driver.
2420 * testsuite/gas/elf/elf.exp: Run the new test.
2422 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2424 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
2425 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
2427 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2429 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
2431 (map_suffix_reloc_to_operator): Likewise.
2432 (map_operator_to_reloc): Likewise.
2434 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2436 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
2437 element in relax_table.
2439 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2441 * config/tc-aarch64.c: Make the type of reg_entry::type
2444 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2446 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
2447 (md_parse_option): Adjust.
2448 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
2449 with iteration from 0 to ARRAY_SIZE.
2450 * config/tc-mcore.c (md_begin): Likewise.
2451 * config/tc-visium.c (visium_parse_arch): Likewise.
2453 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2455 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
2456 and simplify accordingly.
2457 (tic54x_include): Adjust.
2458 (tic54x_mlib): Likewise.
2460 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2462 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
2464 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
2466 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
2467 unchanged with relaxed MIPS16 instructions.
2468 (mips16_extended_frag): Adjust accordingly. Return 1 right
2469 away if a relocation will be required for the symbol requested.
2470 Remove dead first relaxation pass code.
2471 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
2472 (md_convert_frag): Adjust symbol value calculation. Raise an
2473 error if a relocation is required for the symbol requested.
2474 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
2476 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
2477 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
2478 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
2479 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
2480 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
2481 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
2482 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
2483 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
2484 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
2485 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
2486 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
2487 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
2488 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
2489 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
2490 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
2491 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
2492 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
2493 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
2494 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
2495 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
2496 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
2497 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
2498 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
2499 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
2500 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
2501 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
2502 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
2503 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
2504 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
2505 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
2506 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
2507 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
2508 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
2509 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
2510 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
2511 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
2512 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
2513 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
2514 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
2515 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
2516 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
2517 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
2518 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
2519 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
2520 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
2521 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
2522 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
2523 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
2524 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
2525 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
2526 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
2527 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
2528 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
2529 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
2530 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
2531 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
2532 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
2533 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
2534 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
2535 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
2536 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
2537 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
2538 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
2539 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
2540 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
2541 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
2542 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
2543 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
2544 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
2545 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
2546 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
2547 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
2548 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
2549 * testsuite/gas/mips/mips.exp: Run the new tests.
2551 2016-06-24 Alan Modra <amodra@gmail.com>
2553 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
2555 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
2557 * config/tc-mips.c (b_reloc_p): New function.
2558 (mips_fix_adjustable): Also keep the original microMIPS symbol
2559 referred from branch relocations.
2560 * testsuite/gas/mips/branch-local-1.d: New test.
2561 * testsuite/gas/mips/branch-local-n32-1.d: New test.
2562 * testsuite/gas/mips/branch-local-n64-1.d: New test.
2563 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
2565 * testsuite/gas/mips/branch-local-1.s: New test source.
2566 * testsuite/gas/mips/mips.exp: Run the new cases.
2568 2016-06-23 Graham Markall <graham.markall@embecosm.com>
2570 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
2571 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
2572 options. Correct erroneous enabling of SPFP instructions when
2575 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
2577 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
2578 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
2579 setbool, xor3>: New tests.
2580 * testsuite/gas/ppc/power9.s: Likewise.
2582 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2584 * config/tc-xtensa.c: Include elf/xtensa.h.
2586 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2588 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
2589 <BFD_RELOC_LO16_PCREL>: New switch cases.
2590 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
2591 Move switch cases along `BFD_RELOC_MIPS_JMP'.
2592 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
2593 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
2595 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
2596 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
2597 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
2598 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
2599 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
2600 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
2601 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
2602 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
2603 * testsuite/gas/mips/mips.exp: Run the new tests.
2605 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2607 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
2608 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
2609 via `fixP->fx_addsy'.
2611 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2613 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
2614 Calculate relocation from the containing aligned doubleword.
2615 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
2616 addend from the containing aligned doubleword.
2618 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2620 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
2621 rather than `mips_opts' for the R6 ISA check.
2622 (mips_fix_adjustable): Likewise.
2623 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
2624 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
2625 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
2626 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
2627 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
2628 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
2629 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
2630 * testsuite/gas/mips/mips.exp: Run the new tests.
2632 2016-06-21 Graham Markall <graham.markall@embecosm.com>
2634 * config/tc-arc.c (check_cpu_feature, md_parse_option):
2635 Add nps400 option and feature. Add check for nps400
2636 feature. Refactor existing checks to check subclass before
2638 (md_show_usage): Document flags for NPS-400 and add some other
2640 (cpu_type): Remove nps400 CPU type entry
2641 (check_zol): Remove bfd_mach_arc_nps400 case.
2642 (md_show_usage): Add help on -mcpu=nps400.
2643 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
2645 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
2646 -fpuda flags. Document -mcpu=nps400.
2647 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
2648 expected flags to match ARC700 instead of NPS400.
2649 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
2650 * testsuite/gas/arc/nps-400-2.d: Likewise.
2651 * testsuite/gas/arc/nps-400-3.d: Likewise.
2652 * testsuite/gas/arc/nps-400-4.d: Likewise.
2653 * testsuite/gas/arc/nps-400-5.d: Likewise.
2654 * testsuite/gas/arc/nps-400-6.d: Likewise.
2655 * testsuite/gas/arc/nps-400-7.d: Likewise.
2656 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
2657 avoid clash with cbba instruction.
2658 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2659 * testsuite/gas/arc/textinsn3op.d: Likewise.
2660 * testsuite/gas/arc/textinsn3op.s: Likewise.
2661 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
2662 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
2664 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2666 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
2667 * testsuite/gas/mips/r6-64-n64.d: Likewise.
2669 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2671 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
2674 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
2676 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
2678 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2680 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
2681 %hmcddfr and %hva_mask_nz.
2682 (sparc_ip): New handling of asr/privileged/hyperprivileged
2683 registers, adapted to the new form of the sparc opcodes table.
2684 * testsuite/gas/sparc/rdasr.s: New file.
2685 * testsuite/gas/sparc/rdasr.d: Likewise.
2686 * testsuite/gas/sparc/wrasr.s: Likewise.
2687 * testsuite/gas/sparc/wrasr.d: Likewise.
2688 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
2690 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
2691 registers require it.
2692 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
2693 registers and write instruction modalities.
2694 * testsuite/gas/sparc/wrpr.d: Likewise.
2695 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
2697 * testsuite/gas/sparc/rdhpr.d: Likewise.
2698 * testsuite/gas/sparc/wrhpr.s: Likewise.
2699 * testsuite/gas/sparc/wrhpr.d: Likewise.
2701 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2703 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
2704 architectures to use the right opcode architecture.
2705 (sparc_md_end): Handle v9{c,d,e,v,m}.
2706 (sparc_ip): Fix some comments.
2707 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
2708 instruction, which is v9d.
2709 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
2710 instruction from the test, as %mwait is not readable.
2711 * testsuite/gas/sparc/mwait.d: Likewise.
2712 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
2713 mismatch architecture errors.
2714 * testsuite/gas/sparc/mism-2.s: New file.
2716 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2718 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
2719 empty string to mark the end of the array.
2720 (hpriv_reg_table): Likewise.
2721 (v9a_asr_table): Likewise.
2722 (cmp_reg_entry): Handle entries with NULL names.
2724 (F_POP_PCREL): Likewise.
2725 (F_POP_TLS_CALL): Likewise.
2726 (F_POP_POSTFIX): Likewise.
2727 (struct pop_entry): New type.
2728 (pop_table): New variable.
2729 (enum pop_entry_type): New type.
2730 (struct perc_entry): Likewise.
2731 (NUM_PERC_ENTRIES): Define.
2732 (perc_table): New variable.
2733 (cmp_perc_entry): New function.
2734 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
2736 (sparc_ip): Handle entries with NULL names in priv_reg_table,
2737 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
2740 2016-06-15 Nick Clifton <nickc@redhat.com>
2742 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
2744 * config/tc-mcore.c (md_assemble): Likewise.
2745 * config/tc-mn10200.c (md_assemble): Likewise.
2746 * config/tc-moxie.c (md_assemble): Likewise.
2747 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
2748 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
2749 exception targets. Add alpha, hppa, microblaze and rl78 to list
2751 (forward): Add microblaze to list of exceptions.
2752 (fwdexp): Add alpha to list of exceptions.
2753 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
2754 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
2755 (do_930509a): Alpha sort list of exception targets. Add h8300 and
2756 mn10200 to list of exceptions.
2757 (align2): Expect to fail for nds32.
2758 (cond): Add alpha and rl78 to list of exceptions.
2759 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
2760 * testsuite/gas/all/string.d: Skip for tic4x.
2761 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
2762 target does not support ELF.
2763 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
2764 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
2765 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
2766 tests for sh-pe and sh-rtemscoff targets.
2767 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
2769 (type): Run the noifunc version for alpha-freebsd and visium.
2770 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
2771 mn10200 or moxie targets.
2772 * testsuite/gas/ft32/insn.d: Update expected disassembly.
2773 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
2775 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
2776 mcore and rx targets.
2777 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
2779 (purge): Expect to fail on the ns32k and vax.
2780 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
2781 * testsuite/gas/nds32/ls.d: Likewise.
2782 * testsuite/gas/nds32/sys-reg.d: Likewise.
2783 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
2784 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
2785 * testsuite/gas/pe/section-align-3.d: Likewise.
2786 * testsuite/gas/pe/section-exclude.d: Likewise.
2787 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
2789 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
2790 for variations in whitespace.
2791 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
2793 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
2794 Installs a 32-bit value without generating warnings on 64-bit
2796 Use the new macro to replace the .word directives.
2798 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2800 * testsuite/gas/arc/add_s.d: New file.
2801 * testsuite/gas/arc/add_s.s: New file.
2803 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2805 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
2806 * testsuite/gas/arc/nps400-6.d: Likewise.
2808 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2810 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
2812 * testsuite/gas/arc/nps400-6.d: Likewise.
2814 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2816 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
2817 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
2818 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
2819 * testsuite/gas/arc/nps400-6.d: Likewise.
2821 2016-06-14 Nick Clifton <nickc@redhat.com>
2823 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
2826 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
2828 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
2829 JALR relocations on R6.
2830 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
2831 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
2832 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
2833 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
2834 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
2835 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
2837 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
2838 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
2840 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
2841 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
2843 * testsuite/gas/mips/mips.exp: Run the new tests.
2845 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
2847 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
2848 * doc/c-aarch64.texi: Document that vulcan is a valid processor
2851 2016-06-13 Nick Clifton <nickc@redhat.com>
2853 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
2854 that are not supported.
2856 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
2858 * config/tc-cr16.c (check_range): Likewise.
2859 * config/tc-nios2.c (nios2_check_overflow): Likewise.
2861 2016-06-08 Renlin Li <renlin.li@arm.com>
2863 * config/tc-aarch64.c (print_operands): Substitute size.
2864 (output_operand_error_record): Likewise.
2866 2016-06-07 Alan Modra <amodra@gmail.com>
2868 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
2869 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
2870 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
2871 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
2872 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
2873 add vle_opcodes twice.
2874 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
2876 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
2878 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
2879 (arm_ext_ras): Renamed from arm_ext_v8_2.
2880 (insns): Update for arm_ext_v8_2 renaming.
2881 (arm_extensions): Add "ras".
2882 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
2883 * testsuite/gas/arm/armv8-a+ras.d: New.
2884 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
2887 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2889 * itbl-parse.y (yyerror): Use modern argument declaration style.
2891 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2893 * config/tc-sh.c (parse_reg): Change type of mode argument to
2895 (get_operand): Adjust.
2896 (insert): Change type of how to bfd_reloc_code_real_type.
2897 (insert4): Likewise.
2898 * config/tc-sh64.c (shmedia_get_operand): Adjust.
2899 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
2901 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2903 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
2906 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
2909 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
2910 stbcx., sthcx., stwcx., stdcx.>: Add tests.
2911 * gas/testsuite/gas/ppc/e6500.d: Likewise.
2912 * gas/testsuite/gas/ppc/power8.s: Likewise.
2913 * gas/testsuite/gas/ppc/power8.d: Likewise.
2914 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
2916 * gas/testsuite/gas/ppc/power4.d: Likewise.
2918 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2921 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2922 * testsuite/gas/i386/x86-64-branch.d: Updated.
2923 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2924 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2925 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
2927 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2929 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
2930 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
2932 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2934 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
2935 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
2937 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2939 * configure.tgt: Replace -uclibc with *.
2941 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2943 * config/tc-arc.c (parse_opcode_flags): New function.
2944 (find_opcode_match): Move flag parsing code out to new function.
2945 Ignore operands marked IGNORE.
2946 (build_fake_opcode_hash_entry): New function.
2947 (find_special_case_long_opcode): New function.
2948 (find_special_case): Lookup long opcodes.
2949 * testsuite/gas/arc/nps400-7.d: New file.
2950 * testsuite/gas/arc/nps400-7.s: New file.
2952 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2954 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2956 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2958 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2959 sentinal with iteration to array size.
2961 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2963 * config/xtensa-relax.h: Move typedefs of enums to the enums
2966 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2968 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2971 2016-06-01 Graham Markall <graham.markall@embecosm.com>
2973 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2974 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2975 * testsuite/gas/arc/nps-400-1.d: Likewise.
2977 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2980 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2981 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2982 noavx512ifma and noavx512vbmi.
2983 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2984 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2986 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2987 * testsuite/gas/i386/noavx512-1.l: New file.
2988 * testsuite/gas/i386/noavx512-1.s: Likewise.
2989 * testsuite/gas/i386/noavx512-2.l: Likewise.
2990 * testsuite/gas/i386/noavx512-2.s: Likewise.
2992 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2995 * config/tc-i386.c (cpu_arch): Add 687.
2996 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2997 nosse4.1, nosse4.2, nosse4 and noavx2.
2998 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2999 register. Check cpuregxmm instead of cpusse for XMM register.
3000 Check cpuregymm instead of cpuavx for YMM register. Check
3001 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
3002 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
3003 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
3004 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
3005 * testsuite/gas/i386/arch-10.d (as): Likewise.
3006 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
3007 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
3008 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
3010 * testsuite/gas/i386/no87-3.l: New file.
3011 * testsuite/gas/i386/no87-3.s: Likewise.
3012 * testsuite/gas/i386/noavx-3.l: Likewise.
3013 * testsuite/gas/i386/noavx-3.s: Likewise.
3014 * testsuite/gas/i386/noavx-4.d: Likewise.
3015 * testsuite/gas/i386/noavx-4.s: Likewise.
3016 * testsuite/gas/i386/nosse-4.l: Likewise.
3017 * testsuite/gas/i386/nosse-4.s: Likewise.
3018 * testsuite/gas/i386/nosse-5.d: Likewise.
3019 * testsuite/gas/i386/nosse-5.s: Likewise.
3021 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3024 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
3026 (match_template): Check Intel64/AMD64 ISA.
3028 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3031 * config/tc-i386.c (intel64): New.
3032 (cpu_flags_match): Set cpuamd64 and cpuintel64.
3033 (md_parse_option): Set intel64 instead of cpuamd64 and
3036 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3038 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
3041 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
3043 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
3044 * testsuite/gas/ppc/altivec3.s: Likewise.
3045 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
3046 * testsuite/gas/ppc/power9.s: Likewise.
3048 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
3050 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
3051 * testsuite/gas/i386/noavx-1.l: Likewise.
3052 * testsuite/gas/i386/nommx-1.l: Likewise.
3053 * testsuite/gas/i386/nosse-1.l: Likewise.
3054 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
3055 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
3056 * testsuite/gas/i386/noavx-1.s: Likewise.
3057 * testsuite/gas/i386/nommx-1.s: Likewise.
3058 * testsuite/gas/i386/nosse-1.s: Likewise.
3059 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
3061 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3063 * config/tc-metag.c (metag_handle_align): Make the type of noop
3066 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3068 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
3069 bfd_reloc_code_real_type.
3071 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3074 * config/tc-i386.c (cpu_flags_match): Require another match
3076 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
3077 x86-64-avx512vl-1 and x86-64-avx512vl-2.
3078 * testsuite/gas/i386/avx512vl-1.l: New file.
3079 * testsuite/gas/i386/avx512vl-1.s: Likewise.
3080 * testsuite/gas/i386/avx512vl-2.l: Likewise.
3081 * testsuite/gas/i386/avx512vl-2.s: Likewise.
3082 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
3083 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
3084 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
3085 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
3087 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3090 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
3091 * testsuite/gas/i386/x86-64-pr20141.d: New file.
3092 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
3094 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3096 * config/tc-i386.c (arch_entry): Remove negated.
3097 (noarch_entry): New struct.
3098 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
3100 (set_cpu_arch): Check cpu_noarch after cpu_arch.
3101 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
3103 (output_message): New function.
3104 (show_arch): Use it. Handle cpu_noarch.
3105 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
3106 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
3107 * testsuite/gas/i386/noavx-1.l: New file.
3108 * testsuite/gas/i386/noavx-1.s: Likewise.
3109 * testsuite/gas/i386/noavx-2.s: Likewise.
3110 * testsuite/gas/i386/noavx-2.l: Likewise.
3111 * testsuite/gas/i386/nommx-1.s: Likewise.
3112 * testsuite/gas/i386/nommx-1.l: Likewise.
3113 * testsuite/gas/i386/nommx-2.s: Likewise.
3114 * testsuite/gas/i386/nommx-2.l: Likewise.
3115 * testsuite/gas/i386/nommx-3.s: Likewise.
3116 * testsuite/gas/i386/nommx-3.l: Likewise.
3117 * testsuite/gas/i386/nosse-1.s: Likewise.
3118 * testsuite/gas/i386/nosse-1.l: Likewise.
3119 * testsuite/gas/i386/nosse-2.s: Likewise.
3120 * testsuite/gas/i386/nosse-2.l: Likewise.
3121 * testsuite/gas/i386/nosse-3.s: Likewise.
3122 * testsuite/gas/i386/nosse-3.l: Likewise.
3124 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
3127 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
3128 instruction if supported by the currently selected fpu variant.
3129 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
3130 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
3132 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3134 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
3135 jump relocations against MIPS16 or microMIPS symbols on RELA
3137 * testsuite/gas/mips/jalx-local.d: New test.
3138 * testsuite/gas/mips/jalx-local-n32.d: New test.
3139 * testsuite/gas/mips/jalx-local-n64.d: New test.
3140 * testsuite/gas/mips/jalx-local.s: New test source.
3141 * testsuite/gas/mips/mips.exp: Run the new tests.
3143 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3145 * config/tc-mips.c (md_apply_fix)
3146 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
3149 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3151 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
3152 operator to operatorT.
3153 (map_suffix_reloc_to_operator): Change return type to operatorT.
3155 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3157 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
3159 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3161 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
3162 handler_charp to const char *.
3164 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3166 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
3167 (ft32_target_format): Likewise.
3168 (TARGET_FORMAT): Adjust.
3170 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3172 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
3173 (ia64_frob_label): Likewise.
3175 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3177 * config/tc-cr16.c (check_range): Make type of retval op_err.
3178 * config/tc-crx.c: Likewise.
3180 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
3182 * config/tc-arc.c (md_begin): Add XY registers.
3183 (cpu_types): Code density is default off for ARC EM.
3185 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
3187 * config/tc-arc.c (attributes_t): Renamed attribute class to
3189 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
3191 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
3193 * configuse.tgt: Add entry for arm-phoenix.
3195 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3197 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
3199 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3201 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
3203 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3205 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
3206 (md_begin): Likewise.
3207 (encode_condition): Likewise.
3208 (encode_cc3): Likewise.
3209 (encode_cc2): Likewise.
3210 (encode_operand): Likewise.
3211 (tic54x_undefined_symbol): Likewise.
3213 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
3215 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
3217 * doc/c-mips.texi: Document p6600 -march option.
3219 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
3222 * config/tc-i386.c (md_apply_fix): Preserve addend for
3223 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
3224 * testsuite/gas/i386/addend.d: New file.
3225 * testsuite/gas/i386/addend.s: Likewise.
3226 * testsuite/gas/i386/x86-64-addend.d: Likewise.
3227 * testsuite/gas/i386/x86-64-addend.s: Likewise.
3228 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
3229 * testsuite/gas/i386/reloc32.d: Updated.
3231 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3233 * config/tc-mips.c (append_insn): Correct the encoding of a
3234 constant argument for microMIPS JALX.
3235 (tc_gen_reloc): Correct the encoding of an in-place addend for
3237 * testsuite/gas/mips/jalx-addend.d: New test.
3238 * testsuite/gas/mips/jalx-addend-n32.d: New test.
3239 * testsuite/gas/mips/jalx-addend-n64.d: New test.
3240 * testsuite/gas/mips/jalx-imm.d: New test.
3241 * testsuite/gas/mips/jalx-imm-n32.d: New test.
3242 * testsuite/gas/mips/jalx-imm-n64.d: New test.
3243 * testsuite/gas/mips/jalx-addend.s: New test source.
3244 * testsuite/gas/mips/jalx-imm.s: New test source.
3245 * testsuite/gas/mips/mips.exp: Run the new tests.
3247 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3249 * config/tc-mips.c: Correct tab-after-space formatting mistakes
3252 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3254 * config/tc-arc.c (find_opcode_match): Remove casting away of
3256 * config/tc-arc.h (struct arc_flags): Make flgp field const.
3258 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3260 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
3262 (md_convert_frag): Likewise.
3264 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3266 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
3267 cached opcode to NULL when we reach a non-matching opcode.
3268 * testsuite/gas/arc/asm-errors-2.d: New file.
3269 * testsuite/gas/arc/asm-errors-2.err: New file.
3270 * testsuite/gas/arc/asm-errors-2.s: New file.
3272 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3274 * config/tc-arc.c (tokenize_arguments): Add checks for array
3276 * testsuite/gas/arc/asm-errors.s: Addition test line added.
3277 * testsuite/gas/arc/asm-errors.err: Update expected results.
3279 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3281 * config/tc-rx.c (struct cpu_type): Change the type of a field from
3282 int to enum rx_cpu_types.
3284 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3286 * config/tc-dlx.c (struct machine_it): change the type of a field from
3287 int to bfd_reloc_code_real_type.
3288 * config/tc-tic4x.c: Likewise.
3290 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3292 * config/tc-v850.c (v850_target_arch): change type to enum
3294 * config/tc-v850.h (v850_target_arch): Likewise.
3296 2016-05-18 Alan Modra <amodra@gmail.com>
3298 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
3299 allowed negative range.
3300 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
3301 * testsuite/gas/ppc/power9.d: Update.
3303 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
3305 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
3306 disassembling and stop skipping targets.
3307 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3308 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3309 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
3310 instruction for targets that have stronger alignment requirement.
3311 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3312 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3313 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3314 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3315 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3316 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3317 * testsuite/gas/arm/archv8m-main.d: Likewise.
3318 * testsuite/gas/arm/archv8m.s: Add label.
3319 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
3320 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3321 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
3323 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3325 * config/tc-m32r.c (mach_table): Make static and const.
3327 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3329 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
3332 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3334 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
3336 * config/tc-msp430.c (md_begin): Likewise.
3338 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3340 * config/tc-m68hc11.c (fixup8): Change variables type from int to
3341 bfd_reloc_code_real_type where appropriate.
3342 (fixup16): Likewise.
3343 (fixup8_xg): Likewise.
3345 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
3347 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
3349 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
3351 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
3352 * testsuite/gas/ppc/power9.s: Likewise.
3354 2016-05-13 Alan Modra <amodra@gmail.com>
3356 * config/obj-coff.c (weak_uniquify): Delete unused var.
3358 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3360 * app.c (app_push): Use XNEW and related macros.
3361 * as.c (parse_args): Likewise.
3362 * cgen.c (make_right_shifted_expr): Likewise.
3363 (gas_cgen_tc_gen_reloc): Likewise.
3364 * config/bfin-defs.h: Likewise.
3365 * config/bfin-parse.y: Likewise.
3366 * config/obj-coff.c (stack_init): Likewise.
3367 (stack_push): Likewise.
3368 (coff_obj_symbol_new_hook): Likewise.
3369 (coff_obj_symbol_clone_hook): Likewise.
3370 (add_lineno): Likewise.
3371 (coff_frob_symbol): Likewise.
3372 * config/obj-elf.c (obj_elf_section_name): Likewise.
3373 (build_group_lists): Likewise.
3374 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
3375 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
3376 * config/tc-aarch64.c (insert_reg_alias): Likewise.
3377 (find_or_make_literal_pool): Likewise.
3378 (add_to_lit_pool): Likewise.
3379 (fill_instruction_hash_table): Likewise.
3380 * config/tc-alpha.c (load_expression): Likewise.
3381 (emit_jsrjmp): Likewise.
3382 (s_alpha_ent): Likewise.
3383 (s_alpha_end): Likewise.
3384 (s_alpha_linkage): Likewise.
3385 (md_begin): Likewise.
3386 (tc_gen_reloc): Likewise.
3387 * config/tc-arc.c (arc_insert_opcode): Likewise.
3388 (arc_extcorereg): Likewise.
3389 * config/tc-bfin.c: Likewise.
3390 * config/tc-cr16.c: Likewise.
3391 * config/tc-cris.c: Likewise.
3392 * config/tc-crx.c (preprocess_reglist): Likewise.
3393 * config/tc-d10v.c: Likewise.
3394 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
3395 (frv_tomcat_shuffle): Likewise.
3396 * config/tc-h8300.c: Likewise.
3397 * config/tc-i370.c (i370_macro): Likewise.
3398 * config/tc-i386.c (lex_got): Likewise.
3399 (md_parse_option): Likewise.
3400 * config/tc-ia64.c (alloc_record): Likewise.
3401 (set_imask): Likewise.
3402 (save_prologue_count): Likewise.
3403 (dot_proc): Likewise.
3404 (dot_endp): Likewise.
3405 (ia64_frob_label): Likewise.
3406 (add_qp_imply): Likewise.
3407 (add_qp_mutex): Likewise.
3408 (mark_resource): Likewise.
3409 (dot_alias): Likewise.
3410 * config/tc-m68hc11.c: Likewise.
3411 * config/tc-m68k.c (m68k_frob_label): Likewise.
3413 (mri_control_label): Likewise.
3414 (push_mri_control): Likewise.
3415 (build_mri_control_operand): Likewise.
3416 (s_mri_else): Likewise.
3417 (s_mri_break): Likewise.
3418 (s_mri_next): Likewise.
3419 (s_mri_for): Likewise.
3420 (s_mri_endw): Likewise.
3421 * config/tc-metag.c (create_mnemonic_htab): Likewise.
3422 * config/tc-microblaze.c: Likewise.
3423 * config/tc-mmix.c (s_loc): Likewise.
3424 * config/tc-nds32.c (nds32_relax_hint): Likewise.
3425 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
3426 * config/tc-rl78.c: Likewise.
3427 * config/tc-rx.c (rx_include): Likewise.
3428 * config/tc-sh.c: Likewise.
3429 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
3430 * config/tc-sparc.c: Likewise.
3431 * config/tc-spu.c: Likewise.
3432 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
3433 (tic6x_start_unwind_section): Likewise.
3434 * config/tc-tilegx.c: Likewise.
3435 * config/tc-tilepro.c: Likewise.
3436 * config/tc-v850.c: Likewise.
3437 * config/tc-visium.c: Likewise.
3438 * config/tc-xgate.c: Likewise.
3439 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
3440 (new_resource_table): Likewise.
3441 (resize_resource_table): Likewise.
3442 (xtensa_create_trampoline_frag): Likewise.
3443 (xtensa_maybe_create_literal_pool_frag): Likewise.
3444 (cache_literal_section): Likewise.
3445 * config/xtensa-relax.c (append_transition): Likewise.
3446 (append_condition): Likewise.
3447 (append_value_condition): Likewise.
3448 (append_constant_value_condition): Likewise.
3449 (append_literal_op): Likewise.
3450 (append_label_op): Likewise.
3451 (append_constant_op): Likewise.
3452 (append_field_op): Likewise.
3453 (append_user_fn_field_op): Likewise.
3454 (enter_opname_n): Likewise.
3455 (enter_opname): Likewise.
3456 (split_string): Likewise.
3457 (parse_insn_templ): Likewise.
3458 (clone_req_or_option_list): Likewise.
3459 (clone_req_option_list): Likewise.
3460 (parse_option_cond): Likewise.
3461 (parse_insn_pattern): Likewise.
3462 (parse_insn_repl): Likewise.
3463 (build_transition): Likewise.
3464 (build_transition_table): Likewise.
3465 * dw2gencfi.c (alloc_fde_entry): Likewise.
3466 (alloc_cfi_insn_data): Likewise.
3467 (cfi_add_CFA_remember_state): Likewise.
3468 (dot_cfi_escape): Likewise.
3469 (dot_cfi_fde_data): Likewise.
3470 (select_cie_for_fde): Likewise.
3471 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
3472 * ecoff.c (ecoff_add_bytes): Likewise.
3473 (ecoff_build_debug): Likewise.
3474 * input-scrub.c (input_scrub_push): Likewise.
3475 (input_scrub_begin): Likewise.
3476 (input_scrub_next_buffer): Likewise.
3477 * itbl-ops.c (append_insns_as_macros): Likewise.
3478 (alloc_entry): Likewise.
3479 (alloc_field): Likewise.
3480 * listing.c (listing_newline): Likewise.
3481 (listing_listing): Likewise.
3482 * macro.c (get_any_string): Likewise.
3483 (delete_macro): Likewise.
3484 * stabs.c (generate_asm_file): Likewise.
3485 (stabs_generate_asm_lineno): Likewise.
3486 * subsegs.c (subseg_change): Likewise.
3487 (subseg_get): Likewise.
3488 * symbols.c (define_dollar_label): Likewise.
3489 (symbol_relc_make_sym): Likewise.
3490 * write.c (write_relocs): Likewise.
3492 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3494 * config/obj-coff.c (obj_coff_def): Simplify string copying.
3495 (weak_name2altname): Likewise.
3496 (weak_uniquify): Likewise.
3497 (obj_coff_section): Likewise.
3498 (obj_coff_init_stab_section): Likewise.
3499 * config/obj-elf.c (obj_elf_section_name): Likewise.
3500 (obj_elf_init_stab_section): Likewise.
3501 * config/obj-evax.c (evax_shorten_name): Likewise.
3502 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
3503 * config/tc-aarch64.c (create_register_alias): Likewise.
3504 * config/tc-alpha.c (load_expression): Likewise.
3505 (s_alpha_file): Likewise.
3506 (s_alpha_section_name): Likewise.
3507 (tc_gen_reloc): Likewise.
3508 * config/tc-arc.c (md_assemble): Likewise.
3509 * config/tc-arm.c (create_neon_reg_alias): Likewise.
3510 (start_unwind_section): Likewise.
3511 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
3512 (hppa_elf_mark_end_of_function): Likewise.
3513 * config/tc-nios2.c (nios2_modify_arg): Likewise.
3514 (nios2_negate_arg): Likewise.
3515 * config/tc-rx.c (rx_section): Likewise.
3516 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
3517 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3518 * config/tc-tic54x.c (tic54x_include): Likewise.
3519 (tic54x_macro_info): Likewise.
3520 (subsym_get_arg): Likewise.
3521 (subsym_substitute): Likewise.
3522 (tic54x_start_line_hook): Likewise.
3523 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
3524 (xg_reverse_shift_count): Likewise.
3525 * config/xtensa-relax.c (enter_opname_n): Likewise.
3526 (split_string): Likewise.
3527 * dwarf2dbg.c (get_filenum): Likewise.
3528 (process_entries): Likewise.
3529 * expr.c (operand): Likewise.
3530 * itbl-ops.c (alloc_entry): Likewise.
3531 * listing.c (listing_message): Likewise.
3532 (listing_title): Likewise.
3533 * macro.c (check_macro): Likewise.
3534 * stabs.c (s_xstab): Likewise.
3535 * symbols.c (symbol_relc_make_expr): Likewise.
3536 * write.c (compress_debug): Likewise.
3538 2016-05-12 Nick Clifton <nickc@redhat.com>
3541 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
3543 2016-05-11 Nick Clifton <nickc@redhat.com>
3546 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
3547 big endian ARM configurations.
3549 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
3550 Matthew Fortune <matthew.fortune@imgtec.com>
3552 * config/tc-mips.c (options): Add OPTION_DSPR3 and
3554 (md_longopts): Likewise.
3555 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
3556 (mips_ases): Define availability for DSPr3.
3557 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
3558 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
3559 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
3561 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
3562 .set nodspr3. Fix -mdspr2 formatting.
3563 * testsuite/gas/mips/mips32-dspr3.d: New file.
3564 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
3565 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
3567 2016-05-11 Nick Clifton <nickc@redhat.com>
3570 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
3571 to the pool uses O_constant.
3572 * testsuite/gas/arm/pr20068.s: New test.
3573 * testsuite/gas/arm/pr20068.d: Test driver.
3575 2016-05-11 Nick Clifton <nickc@redhat.com>
3577 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
3578 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3579 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3580 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3581 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3582 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3583 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3584 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3585 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3587 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3589 * testsuite/gas/i386/i386.exp: Run RDPID tests.
3590 * testsuite/gas/i386/prefix.d: Adjust.
3591 * testsuite/gas/i386/rdpid.s: New test.
3592 * testsuite/gas/i386/rdpid.d: Ditto.
3593 * testsuite/gas/i386/rdpid-intel.d: Ditto.
3594 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
3595 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
3596 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
3598 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3600 * config/tc-i386.c (cpu_arch): Add RDPID.
3601 * doc/c-i386.texi: Document RDPID.
3603 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3605 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
3606 set branch type of a symbol.
3608 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3610 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
3611 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
3613 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
3614 (aeabi_set_public_attributes): Memorize the feature bits of the
3615 architecture selected for Tag_CPU_arch. Use it to set
3616 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
3617 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
3618 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
3619 * testsuite/gas/arm/arch7em-bad-1.d: This.
3620 * testsuite/gas/arm/arch7em-bad-2.d: New file.
3621 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
3622 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3623 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3624 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3625 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3626 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
3627 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
3629 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3631 * config/tc-arm.c (struct arm_option_extension_value_table): Make
3632 allowed_archs an array with 2 entries.
3633 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
3634 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
3635 (arm_extensions): Use separate entries in allowed_archs when several
3636 archs are allowed to use an extension and change ARCH_ANY in
3637 ARM_ARCH_NONE in allowed_archs.
3638 (arm_parse_extension): Check that, for each allowed_archs entry, all
3639 bits are set in the current architecture, ignoring ARM_ANY entries.
3640 (s_arm_arch_extension): Likewise.
3642 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3644 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
3645 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
3646 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
3647 shared with a non M profile architecture.
3648 (do_rn): New function.
3649 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
3651 (v7m_psrs): Add ARMv8-M security extensions new special registers.
3652 (insns): Add ARMv8-M Security Extensions instructions.
3653 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
3654 arm_ext_v8m_m to decide the profile and the Thumb ISA.
3655 * testsuite/gas/arm/archv8m-cmse.s: New file.
3656 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
3657 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3658 * testsuite/gas/arm/any-cmse.d: Likewise.
3659 * testsuite/gas/arm/any-cmse-main.d: Likewise.
3660 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3661 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3662 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3663 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3664 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3666 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3668 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
3669 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
3671 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3673 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
3674 (fpu_arch_vfp_v3): Likewise.
3675 (fpu_arch_neon_v1): Likewise.
3676 (arm_arch_full): Likewise.
3677 (parse_neon_el_struct_list): Initialize fields of firsttype.
3679 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
3681 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
3682 (arc_extinsn): Handle new introduced syntax.
3683 * testsuite/gas/arc/textinsn1op.d: New file.
3684 * testsuite/gas/arc/textinsn1op.s: Likewise.
3685 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
3687 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3689 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
3690 DW_LNS_fixed_advance_pc.
3692 2016-04-27 Alan Modra <amodra@gmail.com>
3694 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
3695 (xmemdup0): New inline function.
3697 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
3699 * config/tc-mips.c (code_option_type): New enum.
3700 (parse_code_option): Return status indicating option type.
3701 (s_mipsset): Update `parse_code_option' call site accordingly.
3702 Always set register sizes from the ISA with ISA overrides.
3703 (s_module): Update `parse_code_option' call site.
3704 * testsuite/gas/mips/isa-override-1.d: New test.
3705 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
3706 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
3707 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
3708 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
3709 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
3710 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
3711 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
3712 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
3713 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
3714 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
3715 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
3716 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
3717 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
3718 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
3719 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
3720 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
3721 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
3722 * testsuite/gas/mips/isa-override-2.l: New list test.
3723 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
3724 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
3725 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
3726 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
3727 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
3728 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
3729 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
3730 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
3731 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
3732 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
3733 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
3735 * testsuite/gas/mips/isa-override-1.s: New test source.
3736 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
3737 * testsuite/gas/mips/isa-override-2.s: New test source.
3738 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
3739 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
3740 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
3741 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
3742 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
3743 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
3744 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
3745 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
3746 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
3747 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
3748 * testsuite/gas/mips/mips.exp: Run the new tests.
3750 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3753 * config/tc-bfin.c: Likewise.
3754 * config/tc-ia64.c: Likewise.
3755 * config/tc-mep.c: Likewise.
3756 * config/tc-metag.c: Likewise.
3757 * config/tc-nios2.c: Likewise.
3758 * config/tc-rl78.c: Likewise.
3760 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
3762 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
3763 -mcpu. Add cross reference to .cpu directive from -mcpu option.
3764 (ARC Directives): Add NPS400 to .cpu directive list.
3766 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
3768 * config/tc-aarch64.c (aarch64_features): Add "ras".
3769 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
3770 * testsuite/gas/aarch64/armv8-ras-1.d: New.
3771 * testsuite/gas/aarch64/armv8-ras-1.s: New.
3772 * testsuite/gas/aarch64/illegal-ras-1.d: New.
3773 * testsuite/gas/aarch64/illegal-ras-1.s: New.
3775 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3777 * testsuite/gas/arc/nps400-6.d: New file.
3778 * testsuite/gas/arc/nps400-6.s: New file.
3780 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3782 * testsuite/gas/arc/nps400-4.d: New file.
3783 * testsuite/gas/arc/nps400-4.s: New file.
3784 * testsuite/gas/arc/nps400-5.d: New file.
3785 * testsuite/gas/arc/nps400-5.s: New file.
3787 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
3789 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
3792 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
3794 Revert prevous change.
3795 * config/tc-arc.c (arc_option): Make .cpu directive
3796 case-sensitive again.
3798 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3800 * config/tc-arc.c (arc_option): Make .cpu directive
3803 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3805 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
3807 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3809 * config/tc-mips.c (md_begin): Remove useless assignment.
3811 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3813 * Makefile.in: Regenerated with automake 1.11.6.
3814 * aclocal.m4: Likewise.
3815 * doc/Makefile.in: Likewise.
3817 2016-04-15 Alan Modra <amodra@gmail.com>
3819 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
3821 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3823 * config/tc-nios2.c (nios2_as_options): Make file static.
3824 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
3825 * config/tc-sparc.c (native_op_table): Likewise.
3827 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3829 * config/tc-m32c.c (M32C_Macros): Remove.
3830 * config/tc-msp430.c (option_numbers): Likewise.
3832 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3834 * testsuite/gas/arc/nps400-3.d: New file.
3835 * testsuite/gas/arc/nps400-3.s: New file.
3837 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3839 * testsuite/gas/arc/add_s-err.s: Update target pattern.
3840 * testsuite/gas/arc/warn.s: Likewise.
3841 * testsuite/gas/elf/elf.exp: Run test for arc.
3843 2016-04-14 Nick Clifton <nickc@redhat.com>
3846 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
3847 sections possibly having the SHF_STRINGS flag bit set.
3848 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
3850 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3852 * config/tc-arc.c (mach_type_specified_p): Change type to
3854 (arc_option): Set private flags when parsing cpu pseudo-op.
3855 (md_parse_option): Set mach_type_specified_p to TRUE.
3857 2016-04-13 Nick Clifton <nickc@redhat.com>
3860 * testsuite/gas/v850/pr19937.s: New test.
3861 * testsuite/gas/v850/pr19937.d: New test control file.
3862 * testsuite/gas/v850/basic.exp: Run the new test.
3864 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3865 Andrew Bennett <andrew.bennett@imgtec.com>
3867 * config/tc-mips.c (relaxed_branch_length): Use the long
3868 sequence where the target is a weak symbol.
3869 (relaxed_micromips_32bit_branch_length): Likewise.
3870 (relaxed_micromips_16bit_branch_length): Likewise.
3871 * testsuite/gas/mips/branch-weak-1.d: New test.
3872 * testsuite/gas/mips/branch-weak-2.d: New test.
3873 * testsuite/gas/mips/branch-weak-3.d: New test.
3874 * testsuite/gas/mips/branch-weak-4.d: New test.
3875 * testsuite/gas/mips/branch-weak-5.d: New test.
3876 * testsuite/gas/mips/branch-weak.l: New stderr output.
3877 * testsuite/gas/mips/branch-weak.s: New test source.
3878 * testsuite/gas/mips/mips.exp: Run the new tests.
3880 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3882 * config/tc-mips.c (relaxed_branch_length): Use the long
3883 sequence where the distance cannot be determined.
3884 (relaxed_micromips_32bit_branch_length): Likewise.
3885 * testsuite/gas/mips/branch-extern-1.d: New test.
3886 * testsuite/gas/mips/branch-extern-2.d: New test.
3887 * testsuite/gas/mips/branch-extern-3.d: New test.
3888 * testsuite/gas/mips/branch-extern-4.d: New test.
3889 * testsuite/gas/mips/branch-extern.l: New stderr output.
3890 * testsuite/gas/mips/branch-extern.s: New test source.
3891 * testsuite/gas/mips/branch-section-1.d: New test.
3892 * testsuite/gas/mips/branch-section-2.d: New test.
3893 * testsuite/gas/mips/branch-section-3.d: New test.
3894 * testsuite/gas/mips/branch-section-4.d: New test.
3895 * testsuite/gas/mips/branch-section.l: New stderr output.
3896 * testsuite/gas/mips/branch-section.s: New test source.
3897 * testsuite/gas/mips/mips.exp: Run the new tests.
3899 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3901 * testsuite/gas/arc/textauxregister.d: New file.
3902 * testsuite/gas/arc/textauxregister.s: Likewise.
3903 * testsuite/gas/arc/textcondcode.d: Likewise.
3904 * testsuite/gas/arc/textcondcode.s: Likewise.
3905 * testsuite/gas/arc/textcoreregister.d: Likewise.
3906 * testsuite/gas/arc/textcoreregister.s: Likewise.
3907 * testsuite/gas/arc/textpseudoop.d: Likewise.
3908 * testsuite/gas/arc/textpseudoop.s: Likewise.
3909 * testsuite/gas/arc/ld2.d: Update test.
3910 * testsuite/gas/arc/st.d: Likewise.
3911 * testsuite/gas/arc/taux.d: Likewise.
3912 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
3913 .extCoreRegister and .extAuxRegister documentation.
3914 * config/tc-arc.c (arc_extcorereg): New function.
3915 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
3916 .extAuxRegister pseudo-ops.
3917 (extRegister_t): New type.
3918 (ext_condcode, arc_aux_hash): New global variable.
3919 (find_opcode_match): Check for extensions.
3920 (preprocess_operands): Likewise.
3921 (md_begin): Add aux registers in a hash.
3922 (assemble_insn): Update use arc_flags member.
3923 (tokenize_extregister): New function.
3924 (create_extcore_section): Likewise.
3925 * config/tc-arc.h (arc_flags): Delete code, add flgp.
3927 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3929 * testsuite/gas/arc/noargs_a7.d: New file.
3930 * testsuite/gas/arc/noargs_a7.s: Likewise.
3931 * testsuite/gas/arc/noargs_hs.d: Likewise.
3932 * testsuite/gas/arc/noargs_hs.s: Likewise.
3934 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3936 * testsuite/gas/arc/textinsn-errors.d: New File.
3937 * testsuite/gas/arc/textinsn-errors.err: Likewise.
3938 * testsuite/gas/arc/textinsn-errors.s: Likewise.
3939 * testsuite/gas/arc/textinsn2op.d: Likewise.
3940 * testsuite/gas/arc/textinsn2op.s: Likewise.
3941 * testsuite/gas/arc/textinsn2op01.d: Likewise.
3942 * testsuite/gas/arc/textinsn2op01.s: Likewise.
3943 * testsuite/gas/arc/textinsn3op.d: Likewise.
3944 * testsuite/gas/arc/textinsn3op.s: Likewise.
3945 * doc/c-arc.texi (ARC Directives): Add .extInstruction
3947 * config/tc-arc.c (arcext_section): New variable.
3948 (arc_extinsn): New function.
3949 (md_pseudo_table): Add .extInstruction pseudo op.
3950 (attributes_t): New type.
3951 (suffixclass, syntaxclass, syntaxclassmod): New constant
3953 (find_opcode_match): Remove arc_num_opcodes.
3954 (md_begin): Likewise.
3955 (tokenize_extinsn): New function.
3956 (arc_set_ext_seg): Likewise.
3957 (create_extinst_section): Likewise.
3959 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3961 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3962 (arc_adjust_symtab): New function.
3963 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3964 (obj_adjust_symtab): Likewise.
3965 * testsuite/gas/arc/taux.d: New file.
3966 * testsuite/gas/arc/taux.s: Likewise.
3968 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3970 * config/tc-mips.c (s_option): Sanitize `.option picX'
3972 * testsuite/gas/mips/option-pic-1.d: New test.
3973 * testsuite/gas/mips/option-pic-2.l: New list test.
3974 * testsuite/gas/mips/option-pic-1.s: New test source.
3975 * testsuite/gas/mips/option-pic-2.s: New test source.
3976 * testsuite/gas/mips/mips.exp: Run the new tests.
3978 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3980 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3982 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3983 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3984 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3985 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3986 * testsuite/gas/mips/mips.exp: Run the new tests.
3988 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3990 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3992 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3994 * messages.c (as_bad): Fix a typo in description.
3996 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3998 * config/tc-mips.c (mips_check_options): Unify messages.
4000 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
4002 * config/tc-mips.c (mips_check_options): Use `opts->isa'
4005 2016-04-08 Nick Clifton <nickc@redhat.com>
4008 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
4009 COFF and AOUT sparc targets.
4011 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4013 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
4014 * testsuite/gas/arc/nps400-2.d: New file.
4015 * testsuite/gas/arc/nps400-2.s: New file.
4017 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4019 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
4021 (arc_opcode_hash_entry_iterator_init): New function.
4022 (arc_opcode_hash_entry_iterator_next): New function.
4023 (find_opcode_match): Iterate over all arc_opcode entries
4024 referenced by the arc_opcode_hash_entry passed in as a parameter.
4026 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4028 * config/tc-arc.c (arc_find_opcode): Now returns
4029 arc_opcode_hash_entry pointer.
4030 (find_opcode_match): Update argument type, extract arc_opcode from
4031 incoming arc_opcode_hash_entry.
4032 (find_special_case_pseudo): Update return type.
4033 (find_special_case_flag): Update return type.
4034 (find_special_case): Update return type.
4035 (assemble_tokens): Lookup arc_opcode_hash_entry based on
4036 instruction mnemonic, then use find_opcode_match to identify
4037 specific arc_opcode.
4039 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4041 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
4042 (arc_find_opcode): New function.
4043 (find_special_case_pseudo): Use arc_find_opcode.
4044 (find_special_case_flag): Likewise.
4045 (assemble_tokens): Likewise.
4046 (md_begin): Build hash using struct arc_opcode_hash_entry.
4048 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
4050 * config/tc-arc.c (arc_option): Prepare string for automatic
4052 (declare_register): Likewise.
4054 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
4056 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
4057 Correct entry for RDMA. Alpha sort entries.
4059 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4061 * config/tc-arc.c (tokenize_flags): Allow greater range of
4062 characters into flag names.
4064 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4066 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
4068 (preprocess_operands): Delete.
4069 (assemble_tokens): Remove call to preprocess_operands.
4071 2016-04-07 Nick Clifton <nickc@redhat.com>
4074 * config/tc-sparc.c (sparc_ip): Report an error if the expression
4075 inside a %-macro could not be fully parsed.
4076 * expr.c (integer_constant): Accept and ignore U suffixes to
4078 (operand): When a missing closing parenthesis is encountered,
4079 report the character that was found instead.
4080 * testsuite/gas/mips/tls-ill.l: Update expected error message.
4081 * testsuite/gas/sparc/pr19910-1.d: New test driver.
4082 * testsuite/gas/sparc/pr19910-1.s: New test.
4083 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
4084 * testsuite/gas/sparc/pr19910-2.s: New test.
4085 * testsuite/gas/sparc/sparc.exp: Run the new tests.
4087 2016-04-06 Nick Clifton <nickc@redhat.com>
4089 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
4090 an EINT instruction. Warn/fix as necessary.
4091 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
4092 * testsuite/gas/msp430/bad.l: Update expected messages.
4094 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
4096 * testsuite/gas/arc/nps400-1.d: Update expected results.
4097 * testsuite/gas/arc/nps400-1.s: Additional test cases.
4099 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
4101 * config/tc-arc.c (is_code_density_p): Compare directly the
4103 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
4104 (check_cpu_feature): New function.
4105 (find_opcode_match): Use check_cpu_feature function.
4106 (preprocess_operands): Likewise.
4107 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
4108 * testsuite/gas/arc/tdpfp.d: New file.
4109 * testsuite/gas/arc/tfpuda.d: Likewise.
4110 * testsuite/gas/arc/tfpx.s: Likewise.
4112 2016-04-05 Jiong Wang <jiong.wang@arm.com>
4114 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
4115 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
4116 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
4117 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
4118 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
4119 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
4120 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
4121 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
4123 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
4125 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
4127 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
4128 JUMP instructions type.
4129 * testsuite/gas/arc/relocs-errors.d: New file.
4130 * testsuite/gas/arc/relocs-errors.err: Likewise.
4131 * testsuite/gas/arc/relocs-errors.s: Likewise.
4133 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4136 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
4137 only if i.disp_encoding != disp_encoding_32bit.
4138 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
4139 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
4140 * gas/testsuite/gas/i386/disp32.d: Updated.
4141 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
4143 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4146 * testsuite/gas/i386/i386.exp: Run pr19498.
4147 * testsuite/gas/i386/pr19498.d: New file.
4148 * testsuite/gas/i386/pr19498.s: Likewise.
4150 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
4152 * config/tc-arc.h: Include 'opcode/arc.h'.
4153 (MAX_INSN_ARGS): Delete.
4154 (MAX_INSN_FLGS): Delete.
4156 2016-04-04 Alan Modra <amodra@gmail.com>
4159 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
4160 from function on all paths that set sy_resolving.
4162 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4164 * app.c (app_push): use XNEW macro.
4166 * config/obj-elf.c (obj_elf_change_section): Likewise.
4167 (elf_copy_symbol_attributes): Likewise.
4168 (obj_elf_size): Likewise.
4169 (build_group_lists): Likewise.
4170 * config/tc-aarch64.c (add_operand_error_record): Likewise.
4171 (md_assemble): Likewise.
4172 (tc_gen_reloc): Likewise.
4173 (get_upper_str): Likewise.
4174 (aarch64_parse_features): Likewise.
4175 * config/tc-arm.c (insert_reg_alias): Likewise.
4176 (insert_neon_reg_alias): Likewise.
4177 (find_or_make_literal_pool): Likewise.
4178 (s_arm_elf_cons): Likewise.
4179 (add_unwind_opcode): Likewise.
4180 (arm_parse_extension): Likewise.
4181 * config/tc-avr.c (create_record_for_frag): Likewise.
4182 * config/tc-crx.c: Likewise.
4183 * config/tc-d30v.c: Likewise.
4184 * config/tc-dlx.c (s_proc): Likewise.
4185 * config/tc-ft32.c: Likewise.
4186 * config/tc-h8300.c: Likewise.
4187 * config/tc-hppa.c (pa_proc): Likewise.
4188 (create_new_space): Likewise.
4189 (create_new_subspace): Likewise.
4190 * config/tc-i860.c: Likewise.
4191 * config/tc-i960.c: Likewise.
4192 * config/tc-ia64.c: Likewise.
4193 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
4194 (iq2000_record_hi16): Likewise.
4195 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
4196 * config/tc-m32r.c (debug_sym): Likewise.
4197 (m32r_record_hi16): Likewise.
4198 * config/tc-m68k.c (m68k_ip): Likewise.
4199 (md_begin): Likewise.
4200 * config/tc-mcore.c: Likewise.
4201 * config/tc-microblaze.c (check_got): Likewise.
4202 * config/tc-mips.c (append_insn): Likewise.
4203 (s_mipsset): Likewise.
4204 (mips_record_label): Likewise.
4205 (s_mips_end): Likewise.
4206 * config/tc-mmix.c (mmix_frob_file): Likewise.
4207 * config/tc-mn10200.c: Likewise.
4208 * config/tc-mn10300.c: Likewise.
4209 * config/tc-moxie.c: Likewise.
4210 * config/tc-msp430.c: Likewise.
4211 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
4212 * config/tc-ns32k.c: Likewise.
4213 * config/tc-or1k.c: Likewise.
4214 * config/tc-pdp11.c: Likewise.
4215 * config/tc-pj.c (fake_opcode): Likewise.
4216 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
4217 (ppc_macro): Likewise.
4218 (ppc_dwsect): Likewise.
4219 (ppc_machine): Likewise.
4220 * config/tc-rl78.c (rl78_frag_init): Likewise.
4221 * config/tc-rx.c (rx_frag_init): Likewise.
4222 * config/tc-s390.c (s390_lit_suffix): Likewise.
4223 (s390_machine): Likewise.
4224 (s390_machinemode): Likewise.
4225 * config/tc-score.c (s3_insert_reg): Likewise.
4226 (s3_gen_reloc): Likewise.
4227 * config/tc-score7.c (s7_insert_reg): Likewise.
4228 (s7_gen_reloc): Likewise.
4229 * config/tc-tic30.c (tic30_operand): Likewise.
4230 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
4231 * config/tc-tic54x.c (stag_add_field): Likewise.
4232 (tic54x_struct): Likewise.
4233 (tic54x_space): Likewise.
4234 (tic54x_field): Likewise.
4235 (tic54x_mlib): Likewise.
4236 (subsym_substitute): Likewise.
4237 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
4238 * config/tc-vax.c: Likewise.
4239 * config/tc-xc16x.c: Likewise.
4240 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
4241 (directive_push): Likewise.
4242 (xtensa_begin_directive): Likewise.
4243 (tokenize_arguments): Likewise.
4244 (xtensa_add_literal_sym): Likewise.
4245 (new_resource_table): Likewise.
4246 (resize_resource_table): Likewise.
4247 (emit_single_op): Likewise.
4248 (xtensa_create_trampoline_frag): Likewise.
4249 (xtensa_maybe_create_literal_pool_frag): Likewise.
4250 (xtensa_add_config_info): Likewise.
4251 (xtensa_realloc_fixup_cache): Likewise.
4252 (add_subseg_info): Likewise.
4253 (cache_literal_section): Likewise.
4254 (add_xt_block_frags): Likewise.
4255 (add_xt_prop_frags): Likewise.
4256 (init_op_placement_info_table): Likewise.
4257 (build_section_rename): Likewise.
4258 * config/tc-z80.c: Likewise.
4259 * config/tc-z8k.c: Likewise.
4260 * depend.c (register_dependency): Likewise.
4261 * dwarf2dbg.c (get_line_subseg): Likewise.
4262 (dwarf2_gen_line_info_1): Likewise.
4263 (get_filenum): Likewise.
4264 * ecoff.c (allocate_scope): Likewise.
4265 (allocate_vlinks): Likewise.
4266 (allocate_shash): Likewise.
4267 (allocate_thash): Likewise.
4268 (allocate_tag): Likewise.
4269 (allocate_forward): Likewise.
4270 (allocate_thead): Likewise.
4271 (allocate_lineno_list): Likewise.
4272 * expr.c (make_expr_symbol): Likewise.
4273 * hash.c (hash_new_sized): Likewise.
4274 * input-file.c (input_file_push): Likewise.
4275 * listing.c (file_info): Likewise.
4276 (listing_newline): Likewise.
4277 * macro.c (new_formal): Likewise.
4278 (define_macro): Likewise.
4279 * remap.c (add_debug_prefix_map): Likewise.
4280 * symbols.c (symbol_find_noref): Likewise.
4281 (define_dollar_label): Likewise.
4282 (fb_label_instance_inc): Likewise.
4283 (symbol_relc_make_value): Likewise.
4285 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4287 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
4288 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
4289 (ppc_znop): Likewise.
4290 (ppc_pe_section): Likewise.
4291 (ppc_frob_symbol): Likewise.
4292 * config/tc-tic30.c (tic30_operand): Likewise.
4293 * config/tc-tic4x.c (tic4x_sect): Likewise.
4294 (tic4x_usect): Likewise.
4296 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4298 * config/tc-alpha.c: Const qualify FLT_CHARS.
4299 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
4300 * config/tc-cris.h: Likewise.
4302 * config/tc-mmix.c (md_atof): Adjust comment.
4303 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
4304 * tc.h: Declare FLT_CHARS and EXP_CHARS.
4306 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4308 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
4309 * config/tc-score7.c (s7_gen_reloc): Likewise.
4311 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4313 * config/tc-arm.c (do_t_branch): Change the type of reloc to
4314 bfd_reloc_code_real_type.
4316 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4318 * config/bfin-parse.y (current_inputline): Remove definition.
4319 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
4321 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4323 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
4326 2016-04-02 Alan Modra <amodra@gmail.com>
4329 * read.c (assign_symbol): Consume rest of line after an error
4330 rather than continuing to process the line.
4332 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4334 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
4335 (MAX_FLAG_NAME_LENGTH): ...this.
4336 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
4337 * config/tc-arc.c (tokenize_flags): Likewise.
4339 2016-04-01 Alan Modra <amodra@gmail.com>
4341 * cgen.c (weak_operand_overflow_check): Return const char*.
4342 * messages.c (as_internal_value_out_of_range): Formatting.
4343 (as_warn_value_out_of_range): Consify prefix param.
4344 (as_bad_value_out_of_range): Likewise.
4345 * read.c (s_errwarn): Constify msg..
4346 (s_float_space, float_cons): ..and err.
4347 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
4348 ieee_md_atof, vax_md_atof): Update prototypes.
4349 * tc.h (md_atof): Update prototype.
4350 * config/atof-ieee.c (ieee_md_atof): Return const char*.
4351 * config/atof-vax.c (vax_md_atof): Likewise.
4352 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
4353 * config/tc-aarch64.c (md_atof): Return const char*.
4354 * config/tc-alpha.c (s_alpha_section_name): Likewise.
4355 (s_alpha_comm): Constify sec_name.
4356 (section_name): Constify.
4357 (s_alpha_section): Consify name..
4358 (alpha_elf_section_letter): ..and ptr_msg param..
4359 (md_atof): ..and return.
4360 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
4361 * config/tc-arc.c (md_atof): Return const char*.
4362 * config/tc-arm.c (md_atof): Likewise.
4363 * config/tc-avr.c (md_atof): Likewise.
4364 * config/tc-bfin.c (md_atof): Likewise.
4365 * config/tc-cr16.c (md_atof): Likewise.
4366 * config/tc-cris.c (md_atof): Likewise.
4367 * config/tc-crx.c (md_atof): Likewise.
4368 * config/tc-d10v.c (md_atof): Likewise.
4369 * config/tc-d30v.c (md_atof): Likewise.
4370 * config/tc-dlx.c (md_atof): Likewise.
4371 * config/tc-epiphany.c (md_atof): Likewise.
4372 * config/tc-fr30.c (md_atof): Likewise.
4373 * config/tc-frv.c (md_atof): Likewise.
4374 * config/tc-ft32.c (md_atof): Likewise.
4375 * config/tc-h8300.c (md_atof): Likewise.
4376 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
4377 (struct default_space_dict): Likewise.
4378 (create_new_space): Constify name param.
4379 (create_new_subspace): Likewise.
4380 (is_defined_space, is_defined_subspace): Likewise.
4381 (pa_parse_space_stmt): Constify space_name param.
4382 (md_atof): Return const char*.
4383 (pa_spaces_begin): Constify name.
4384 * config/tc-i370.c (md_atof): Return const char*.
4385 * config/tc-i386.c (md_atof): Likewise.
4386 (x86_64_section_letter): Constify ptr_msg param.
4387 * config/tc-i386.h (x86_64_section_letter): Update prototype.
4388 * config/tc-i860.c (struct i860_it): Constify error.
4389 (md_atof): Return const char*.
4390 * config/tc-i960.c (md_atof): Likewise.
4391 * config/tc-ia64.c (md_atof): Likewise.
4392 (ia64_elf_section_letter): Constify ptr_msg param.
4393 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
4394 * config/tc-ip2k.c (md_atof): Return const char*.
4395 * config/tc-iq2000.c (md_atof): Likewise.
4396 * config/tc-lm32.c (md_atof): Likewise.
4397 * config/tc-m32c.c (md_atof): Likewise.
4398 * config/tc-m32r.c (md_atof): Likewise.
4399 * config/tc-m68hc11.c (md_atof): Likewise.
4400 * config/tc-m68k.c (md_atof): Likewise.
4401 * config/tc-mcore.c (md_atof): Likewise.
4402 * config/tc-mep.c (md_atof): Likewise.
4403 (mep_elf_section_letter): Constify ptr_msg param.
4404 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
4405 * config/tc-metag.c (md_atof): Return const char*.
4406 * config/tc-microblaze.c (md_atof): Likewise.
4407 * config/tc-microblaze.h (md_atof): Delete prototype.
4408 * config/tc-mips.c (mips_parse_argument_token): Constify err.
4409 (md_atof): Return const char*.
4410 * config/tc-mmix.c (md_atof): Likewise.
4411 * config/tc-mn10200.c (md_atof): Likewise.
4412 * config/tc-mn10300.c (md_atof): Likewise.
4413 * config/tc-moxie.c (md_atof): Likewise.
4414 * config/tc-msp430.c (md_atof): Likewise.
4415 * config/tc-mt.c (md_atof): Likewise.
4416 * config/tc-nds32.c (md_atof): Likewise.
4417 * config/tc-nios2.c (md_atof): Likewise.
4418 (nios2_elf_section_letter): Constify ptr_msg param.
4419 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
4420 * config/tc-ns32k.c (md_atof): Return const char*.
4421 * config/tc-or1k.c (md_atof): Likewise.
4422 * config/tc-pdp11.c (struct pdp11_code): Constify error.
4423 (md_atof): Return const char*.
4424 * config/tc-pj.c (md_atof): Likewise.
4425 * config/tc-ppc.c (md_atof): Likewise.
4426 * config/tc-rl78.c (md_atof): Likewise.
4427 * config/tc-rx.c (md_atof): Likewise.
4428 * config/tc-s390.c (md_atof): Likewise.
4429 * config/tc-score.c (s3_atof, md_atof): Likewise.
4430 * config/tc-sh.c (md_atof): Likewise.
4431 * config/tc-sparc.c (struct sparc_it): Constify error.
4432 (md_atof): Return const char*.
4433 * config/tc-spu.c (md_atof): Likewise.
4434 * config/tc-tic30.c (md_atof): Likewise.
4435 * config/tc-tic4x.c (md_atof): Likewise.
4436 * config/tc-tic54x.c (md_atof): Likewise.
4437 * config/tc-tic6x.c (md_atof): Likewise.
4438 * config/tc-tilegx.c (md_atof): Likewise.
4439 * config/tc-tilepro.c (md_atof): Likewise.
4440 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
4441 * config/tc-vax.c (md_atof): Likewise.
4442 * config/tc-visium.c (md_atof): Likewise.
4443 * config/tc-xc16x.c (md_atof): Likewise.
4444 * config/tc-xgate.c (md_atof): Likewise.
4445 * config/tc-xstormy16.c (md_atof): Likewise.
4446 * config/tc-xtensa.c (md_atof): Likewise.
4447 * config/tc-z80.c (md_atof): Likewise.
4448 * config/tc-z8k.c (md_atof): Likewise.
4450 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4452 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
4454 (xtensa_section_rename): Make argument type const char *.
4455 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
4457 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4459 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
4462 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4464 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
4466 (m32c_indirect_operand): Likewise.
4467 * config/tc-nds32.c (do_pseudo_b): Likewise.
4468 (do_pseudo_bal): Likewise.
4469 (do_pseudo_ls_bhw): Likewise.
4471 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4473 * as.c (parse_args): Cast literal to char * when assigning to optarg.
4475 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4477 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
4479 * config/tc-sparc.c (s_register): Cast a literal to char * in
4482 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4484 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
4486 * config/tc-m32r.c (expand_debug_syms): Likewise.
4487 * config/tc-msp430.c (msp430_dstoperand): Likewise.
4488 * config/tc-z80.c (md_begin): Likewise.
4489 * stabs.c (stabs_generate_asm_func): Likewise.
4491 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4493 * cgen.c: Modernize the way functions declare arguments.
4494 * config/tc-bfin.c: Likewise.
4495 * config/tc-pdp11.c: Likewise.
4496 * literal.c: Likewise.
4498 * stabs.c: Likewise.
4500 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4502 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
4503 variables unsigned char[].
4504 * config/tc-alpha.c (alpha_handle_align): Likewise.
4505 * config/tc-arm.c (arm_handle_align): Likewise.
4506 * config/tc-z80.c: Likewise.
4508 2016-03-30 Nick Clifton <nickc@redhat.com>
4511 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
4514 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4516 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
4517 * testsuite/gas/elf/elf.exp: Likewise.
4518 * testsuite/gas/all/redef3.d: Allow execution for ARC.
4520 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4522 * testsuite/gas/arc/warn.exp: Fix matching pattern.
4524 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
4526 * testsuite/gas/arc/ext2op.d: New file.
4527 * testsuite/gas/arc/ext2op.s: Likewise.
4528 * testsuite/gas/arc/ext3op.d: Likewise.
4529 * testsuite/gas/arc/ext3op.s: Likewise.
4531 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4533 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
4535 * config/tc-alpha.c (md_parse_option): Likewise.
4536 * config/tc-arc.c (md_parse_option): Likewise.
4537 * config/tc-arm.c (struct arm_long_option_table): Likewise.
4538 (md_parse_option): Likewise.
4539 * config/tc-avr.c (md_parse_option): Likewise.
4540 * config/tc-bfin.c (md_parse_option): Likewise.
4541 * config/tc-cr16.c (md_parse_option): Likewise.
4542 * config/tc-cris.c (s_cris_arch): Likewise.
4543 (md_parse_option): Likewise.
4544 * config/tc-crx.c (md_parse_option): Likewise.
4545 * config/tc-d10v.c (md_parse_option): Likewise.
4546 * config/tc-d30v.c (md_parse_option): Likewise.
4547 * config/tc-dlx.c (md_parse_option): Likewise.
4548 * config/tc-epiphany.c (md_parse_option): Likewise.
4549 * config/tc-fr30.c (md_parse_option): Likewise.
4550 * config/tc-frv.c (md_parse_option): Likewise.
4551 * config/tc-ft32.c (md_parse_option): Likewise.
4552 * config/tc-h8300.c (md_parse_option): Likewise.
4553 * config/tc-hppa.c (md_parse_option): Likewise.
4554 * config/tc-i370.c (md_parse_option): Likewise.
4555 * config/tc-i386.c (md_parse_option): Likewise.
4556 * config/tc-i860.c (md_parse_option): Likewise.
4557 * config/tc-i960.c (md_parse_option): Likewise.
4558 * config/tc-ia64.c (md_parse_option): Likewise.
4559 * config/tc-ip2k.c (md_parse_option): Likewise.
4560 * config/tc-iq2000.c (md_parse_option): Likewise.
4561 * config/tc-lm32.c (md_parse_option): Likewise.
4562 * config/tc-m32c.c (md_parse_option): Likewise.
4563 * config/tc-m32r.c (md_parse_option): Likewise.
4564 * config/tc-m68hc11.c (md_parse_option): Likewise.
4565 * config/tc-m68k.c (md_parse_option): Likewise.
4566 * config/tc-mcore.c (md_parse_option): Likewise.
4567 * config/tc-mep.c (md_parse_option): Likewise.
4568 * config/tc-metag.c (struct metag_long_option): Likewise.
4569 (md_parse_option): Likewise.
4570 * config/tc-microblaze.c (md_parse_option): Likewise.
4571 * config/tc-microblaze.h (md_parse_option): Remove prototype.
4572 * config/tc-mips.c (md_parse_option): Adjust.
4573 * config/tc-mmix.c (md_parse_option): Likewise.
4574 * config/tc-mn10200.c (md_parse_option): Likewise.
4575 * config/tc-mn10300.c (md_parse_option): Likewise.
4576 * config/tc-moxie.c (md_parse_option): Likewise.
4577 * config/tc-msp430.c (md_parse_option): Likewise.
4578 * config/tc-mt.c (md_parse_option): Likewise.
4579 * config/tc-nds32.c (md_parse_option): Likewise.
4580 * config/tc-nds32.h (nds32_parse_option): Likewise.
4581 * config/tc-nios2.c (md_parse_option): Likewise.
4582 * config/tc-ns32k.c (md_parse_option): Likewise.
4583 * config/tc-or1k.c (md_parse_option): Likewise.
4584 * config/tc-pdp11.c (md_parse_option): Likewise.
4585 * config/tc-pj.c (md_parse_option): Likewise.
4586 * config/tc-ppc.c (md_parse_option): Likewise.
4587 * config/tc-rl78.c (md_parse_option): Likewise.
4588 * config/tc-rx.c (md_parse_option): Likewise.
4589 * config/tc-s390.c (s390_parse_cpu): Likewise.
4590 * config/tc-score.c (md_parse_option): Likewise.
4591 * config/tc-sh.c (md_parse_option): Likewise.
4592 * config/tc-sparc.c (md_parse_option): Likewise.
4593 * config/tc-spu.c (md_parse_option): Likewise.
4594 * config/tc-tic30.c (md_parse_option): Likewise.
4595 * config/tc-tic4x.c (md_parse_option): Likewise.
4596 * config/tc-tic54x.c (md_parse_option): Likewise.
4597 * config/tc-tic6x.c (md_parse_option): Likewise.
4598 * config/tc-tilegx.c (md_parse_option): Likewise.
4599 * config/tc-tilepro.c (md_parse_option): Likewise.
4600 * config/tc-v850.c (md_parse_option): Likewise.
4601 * config/tc-vax.c (md_parse_option): Likewise.
4602 * config/tc-visium.c (struct visium_long_option_table): Likewise.
4603 * config/tc-xc16x.c (md_parse_option): Likewise.
4604 * config/tc-xgate.c (md_parse_option): Likewise.
4605 * config/tc-xstormy16.c (md_parse_option): Likewise.
4606 * config/tc-xtensa.c (md_parse_option): Likewise.
4607 * config/tc-z80.c (md_parse_option): Likewise.
4608 * config/tc-z8k.c (md_parse_option): Likewise.
4609 * tc.h (md_parse_option): Likewise.
4611 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4613 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
4614 * config/tc-hppa.c (fix_new_hppa): Likewise.
4615 (pa_vtable_entry): Likewise.
4616 (pa_vtable_inherit): Likewise.
4617 * config/tc-m68k.c (md_begin): Likewise.
4619 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4621 * config/obj-elf.c (obj_elf_section_name): Return const char *.
4622 * config/obj-elf.h (obj_elf_section_name): Adjust.
4623 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
4624 (aarch64_parse_cpu): Likewise.
4625 (aarch64_parse_arch): Likewise.
4626 * config/tc-arm.c (arm_parse_extension): Likewise.
4627 (arm_parse_cpu): Likewise.
4628 (arm_parse_arch): Likewise.
4629 * config/tc-nds32.c: Likewise.
4630 * config/xtensa-relax.c (parse_special_fn): Likewise.
4631 * stabs.c (generate_asm_file): Likewise.
4633 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4635 * config/tc-cr16.c (cr16_assemble): New function.
4636 (md_assemble): Call cr16_assemble.
4638 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4640 * as.c (parse_args): Adjust.
4641 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
4642 * config/obj-elf.c (elf_frob_symbol): Adjust.
4644 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
4646 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
4647 registers to be in the 16..31 range.
4649 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4651 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
4654 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4656 * config/tc-visium.c (md_atof): Localize the string returned on
4659 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4661 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
4662 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
4663 * config/tc-m68hc11.c (md_begin): Likewise.
4664 (print_opcode_list): Likewise.
4665 * config/tc-msp430.c (msp430_section): Likewise.
4666 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
4667 (s3_build_dependency_insn_hsh): Likewise.
4668 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
4669 (s7_build_dependency_insn_hsh): Likewise.
4670 * config/tc-tic4x.c: Likewise.
4671 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4672 (subsym_get_arg): Likewise.
4673 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
4674 (get_directive): Likewise.
4675 (cache_literal_section): Likewise.
4676 * config/xtensa-relax.c: Likewise.
4677 * symbols.c (symbol_create): Likewise.
4678 (local_symbol_make): Likewise.
4679 (symbol_relc_make_expr): Likewise.
4681 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4683 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
4686 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4688 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
4691 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4693 * config/tc-ia64.c (ia64_do_align): Remove.
4694 (ia64_cons_align): Call do_align () directly.
4695 (dot_proc): Likewise.
4696 (stmt_float_cons): Likewise.
4698 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4700 * listing.c (listing_message): Use XNEW style allocation macros.
4701 * read.c (read_a_source_file): Likewise.
4702 (read_symbol_name): Likewise.
4703 (s_mri_common): Likewise.
4704 (assign_symbol): Likewise.
4705 (s_reloc): Likewise.
4706 (emit_expr_with_reloc): Likewise.
4707 (s_incbin): Likewise.
4708 (s_include): Likewise.
4709 * sb.c (sb_build): Likewise.
4710 (sb_check): Likewise.
4712 2016-03-22 Alan Modra <amodra@gmail.com>
4714 * write.c (record_alignment): Revert 2016-02-18 change.
4716 2016-03-22 Alan Modra <amodra@gmail.com>
4718 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
4719 (emit_jsrjmp, tc_gen_reloc): Likewise.
4720 * config/tc-i370.c (i370_macro): Likewise.
4722 2016-03-22 Nick Clifton <nickc@redhat.com>
4724 * configure: Regenerate.
4726 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4728 * testsuite/gas/arc/nps400-0.d: New file.
4729 * testsuite/gas/arc/nps400-0.s: New file.
4730 * testsuite/gas/arc/nps400-1.d: New file.
4731 * testsuite/gas/arc/nps400-1.s: New file.
4733 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4735 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
4736 declarations to start of block. Reset code on all flags before
4737 attempting to match them. Handle multiple hits on the same flag.
4739 * testsuite/gas/arc/asm-errors.d: New file.
4740 * testsuite/gas/arc/asm-errors.err: New file.
4741 * testsuite/gas/arc/asm-errors.s: New file.
4743 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4745 * config/tc-arc.c (cpu_types): Add nps400 entry.
4746 (check_zol): Handle nps400.
4748 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4750 * config/tc-arc.c (arc_select_cpu): Remove use of
4753 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4755 * config/tc-arc.c (arc_target): Delay initialisation until
4757 (arc_target_name): Likewise.
4758 (arc_features): Likewise.
4759 (arc_mach_type): Likewise.
4760 (cpu_types): Remove "all" entry.
4761 (arc_select_cpu): New function, most of the content is from...
4762 (md_parse_option): ... here. Call new arc_select_cpu.
4763 (md_begin): Call arc_select_cpu if needed, default is now arc700.
4765 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4767 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
4768 * testsuite/gas/arc/inline-data-2.d: New file.
4770 2016-03-21 Nick Clifton <nickc@redhat.com>
4772 * atof-generic.c: Replace use of alloca with call to xmalloc.
4774 * dwarf2dbg.c: Likewise.
4775 * macro.c: Likewise.
4776 * remap.c: Likewise.
4777 * stabs.c: Likewise.
4778 * symbols.c: Likewise.
4779 * config/obj-elf.c: Likewise.
4780 * config/tc-aarch64.c: Likewise.
4781 * config/tc-arc.c: Likewise.
4782 * config/tc-arm.c: Likewise.
4783 * config/tc-avr.c: Likewise.
4784 * config/tc-ia64.c: Likewise.
4785 * config/tc-mips.c: Likewise.
4786 * config/tc-msp430.c: Likewise.
4787 * config/tc-nds32.c: Likewise.
4788 * config/tc-ppc.c: Likewise.
4789 * config/tc-sh.c: Likewise.
4790 * config/tc-tic30.c: Likewise.
4791 * config/tc-tic54x.c: Likewise.
4792 * config/tc-xstormy16.c: Likewise.
4793 * config/te-vms.c: Likewise.
4794 * configure: Regenerate.
4796 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4798 * tc-i386.c (f32_1): Change type to unsigned char[].
4818 (jump_31): Likewise.
4819 (f32_patt): Likewise.
4820 (f16_patt): Likewise.
4829 (alt_patt): Likewise.
4831 2016-03-18 Nick Clifton <nickc@redhat.com>
4833 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
4834 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
4835 .tlsdescldr and .xword directives.
4838 * testsuite/gas/aarch64/pr19721.s: New test source file.
4839 * testsuite/gas/aarch64/pr19721.d: New test driver file.
4841 * doc/as.texinfo: Place the target specific command line options
4842 into their own man page section.
4844 2016-03-16 Jiong Wang <jiong.wang@arm.com>
4846 * config/tc-arm.c (N_S_32): New.
4847 (N_F_16_32): Likewise.
4848 (N_SUF_32): Support N_F16.
4849 (N_IF_32): Likewise.
4850 (neon_dyadic_misc): Likewise.
4851 (do_neon_cmp): Likewise.
4852 (do_neon_cmp_inv): Likewise.
4853 (do_neon_mul): Likewise.
4854 (do_neon_fcmp_absolute): Likewise.
4855 (do_neon_step): Likewise.
4856 (do_neon_abs_neg): Likewise.
4857 (CVT_FLAVOR_VAR): Likewise.
4858 (do_neon_cvt_1): Likewise.
4859 (do_neon_recip_est): Likewise.
4860 (do_vmaxnm): Likewise.
4861 (do_vrint_1): Likewise.
4862 (neon_check_type): Check architecture support for FP16 extension.
4863 (insns): Update comments.
4864 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
4865 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
4866 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
4867 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
4869 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
4871 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
4874 2016-03-16 Nick Clifton <nickc@redhat.com>
4876 * read.c (emit_expr_with_reloc): Add code check a bignum with
4878 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
4880 * testsuite/gas/elf/bignum.s: New test source file.
4881 * testsuite/gas/elf/bignum.d: New test driver file.
4882 * testsuite/gas/elf/elf.exp: Run the new test.
4884 2016-03-15 Ulrich Drepper <drepper@gmail.com>
4886 * doc/c-i386.texi (Register Naming): Update to details of the
4887 latest architecture version.
4889 2016-03-10 Mickael Guene <mickael.guene@st.com>
4892 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
4894 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
4895 (do_t_mov_cmp): Likewise.
4896 (do_t_add_sub): Protect against bad relocations usage.
4897 (do_t_mov_cmp): Likewise.
4898 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
4899 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
4900 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
4901 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
4903 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4905 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
4907 (do_neon_ld_st_lane): Likewise.
4908 (do_neon_ld_dup): Likewise.
4910 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
4912 * testsuite/gas/arc/inline-data-1.d: New file.
4913 * testsuite/gas/arc/inline-data-1.s: New file.
4915 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
4917 * config/tc-arm.c (arm_cpus): Add cortex-r8.
4918 * doc/c-arm.texi: Add cortex-r8.
4920 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4922 * config/tc-arc.c: Add const qualifiers.
4923 * config/tc-h8300.c (md_begin): Likewise.
4924 * config/tc-ia64.c (print_prmask): Likewise.
4925 * config/tc-msp430.c (msp430_operands): Likewise.
4926 * config/tc-nds32.c (struct suffix_name): Likewise.
4927 (struct nds32_parse_option_table): Likewise.
4928 (struct nds32_set_option_table): Likewise.
4929 (do_pseudo_pushpopm): Likewise.
4930 (do_pseudo_pushpop_stack): Likewise.
4931 (nds32_relax_relocs): Likewise.
4932 (nds32_flag): Likewise.
4933 (struct nds32_hint_map): Likewise.
4934 (nds32_find_reloc_table): Likewise.
4935 (nds32_match_hint_insn): Likewise.
4936 * config/tc-s390.c: Likewise.
4937 * config/tc-sh.c (get_specific): Likewise.
4938 * config/tc-tic30.c: Likewise.
4939 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
4940 (tic4x_indirect_parse): Likewise.
4941 * config/tc-vax.c (vax_cons): Likewise.
4942 * config/tc-z80.c (struct reg_entry): Likewise.
4943 * config/tc-epiphany.c (md_assemble): Adjust.
4944 (epiphany_assemble): New function.
4945 (epiphany_elf_section_rtn): Call do_align directly.
4946 (epiphany_elf_section_text): Likewise.
4947 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
4948 (ip2k_elf_section_text): Likewise.
4949 * read.c (do_align): Make it not static.
4950 * read.h (do_align): New prototype.
4952 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4954 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4955 for ARMv8.1 AdvSIMD use.
4956 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4957 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4959 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4961 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4963 (record_feature_use): New.
4964 (mark_feature_used): Use record_feature_use.
4965 (do_neon_qrdmlah): New.
4966 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4968 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4969 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4970 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4971 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4972 Make source file explicit.
4973 * testsuite/gas/arm/armv8-a+rdma.l: New.
4974 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4975 directives. Fix white-space.
4976 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4978 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4980 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4982 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4983 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4985 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4986 (tc_arc_fix_adjustable): Changed default return value to 1.
4987 * testsuite/gas/arc/j.d: Updated expected symbol
4988 * testsuite/gas/arc/jl.d: Likewise
4989 * testsuite/gas/arc/relax-avoid1.d: Likewise
4990 * testsuite/gas/arc/st.d: Likewise
4992 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4994 * config/tc-arc.c: Enable code density instructions for ARC EM.
4996 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4999 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
5001 * as.c (flag_use_elf_stt_common): New.
5002 (show_usage): Add --elf-stt-common=.
5003 (option_values): Add OPTION_ELF_STT_COMMON.
5004 (std_longopts): Add --elf-stt-common=.
5005 (parse_args): Handle --elf-stt-common=.
5006 * as.h (flag_use_elf_stt_common): New.
5007 * config.in: Regenerated.
5008 * configure: Likewise.
5009 * configure.ac: Add --enable-elf-stt-common and define
5010 DEFAULT_GENERATE_ELF_STT_COMMON.
5011 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
5012 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
5013 * doc/as.texinfo: Document --elf-stt-common=.
5014 * testsuite/gas/elf/common3.s: New file.
5015 * testsuite/gas/elf/common3a.d: Likewise.
5016 * testsuite/gas/elf/common3b.d: Likewise.
5017 * testsuite/gas/elf/common4.s: Likewise.
5018 * testsuite/gas/elf/common4a.d: Likewise.
5019 * testsuite/gas/elf/common4b.d: Likewise.
5020 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
5021 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
5022 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
5024 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
5025 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
5026 --elf-stt-common=no to as.
5027 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
5028 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
5029 --elf-stt-common=no to as.
5030 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
5031 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
5032 of dw2-compress-3 and dw2-compressed-3.
5034 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5036 * as.c (select_emulation_mode): Add const qualifiers.
5038 * config/bfin-defs.h: Likewise.
5039 * config/bfin-parse.y: Likewise.
5040 * config/rx-parse.y: Likewise.
5041 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
5042 (struct aarch64_cpu_option_table): Likewise.
5043 (struct aarch64_arch_option_table): Likewise.
5044 (struct aarch64_option_cpu_value_table): Likewise.
5045 (struct aarch64_long_option_table): Likewise.
5046 (struct aarch64_option_abi_value_table): Likewise.
5047 * config/tc-arm.c (struct reloc_entry): Likewise.
5048 (tc_gen_reloc): Likewise.
5049 (struct arm_option_table): Likewise.
5050 (struct arm_legacy_option_table): Likewise.
5051 (struct arm_cpu_option_table): Likewise.
5052 (struct arm_arch_option_table): Likewise.
5053 (struct arm_option_extension_value_table): Likewise.
5054 (struct arm_option_fpu_value_table): Likewise.
5055 (struct arm_option_value_table): Likewise.
5056 (struct arm_long_option_table): Likewise.
5057 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
5058 (struct mcu_type_s): Likewise.
5059 (struct exp_mod_s): Likewise.
5060 (avr_operand): Likewise.
5061 (avr_operands): Likewise.
5062 * config/tc-d10v.c (md_begin): Likewise.
5063 * config/tc-dlx.c: Likewise.
5064 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
5065 * config/tc-ft32.c (parse_condition): Likewise.
5066 * config/tc-h8300.c (do_a_fix_imm): Likewise.
5067 * config/tc-hppa.c (pa_ip): Likewise.
5068 (hppa_regname_to_dw2regnum): Likewise.
5069 * config/tc-i370.c (i370_elf_suffix): Likewise.
5070 * config/tc-i960.c (struct tabentry): Likewise.
5071 * config/tc-m32r.c: Likewise.
5072 * config/tc-m68k.c: Likewise.
5073 * config/tc-m68k.h: Likewise.
5074 * config/tc-mcore.c (parse_psrmod): Likewise.
5075 * config/tc-metag.c (struct metag_core_option): Likewise.
5076 (struct metag_long_option): Likewise.
5077 * config/tc-microblaze.c: Likewise.
5078 * config/tc-mips.c (macro): Likewise.
5079 * config/tc-mn10200.c: Likewise.
5080 * config/tc-mn10300.c: Likewise.
5081 * config/tc-msp430.c (struct rcodes_s): Likewise.
5082 (struct hcodes_s): Likewise.
5083 (md_parse_option): Likewise.
5084 * config/tc-ns32k.c (struct ns32k_option): Likewise.
5085 (optlist): Likewise.
5086 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
5087 (tc_ppc_regname_to_dw2regnum): Likewise.
5088 * config/tc-ppc.h: Likewise.
5089 * config/tc-rl78.c: Likewise.
5090 * config/tc-rx.c (struct cpu_type): Likewise.
5091 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
5092 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
5093 (sparc_ip): Likewise.
5094 * config/tc-spu.c (insn_fmt_string): Likewise.
5095 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5096 * config/tc-v850.c: Likewise.
5097 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
5098 (struct visium_long_option_table): Likewise.
5099 * config/tc-xgate.c: Likewise.
5100 * config/tc-z8k.c: Likewise.
5101 * read.c (add_include_dir): Likewise.
5104 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5106 * testsuite/gas/all/gas.exp: Change target pattern to cover
5108 * testsuite/gas/all/redef3.d: Likewise.
5109 * testsuite/gas/elf/elf.exp: Likewise.
5111 2016-02-24 Renlin Li <renlin.li@arm.com>
5113 * config/tc-arm.c (BAD_FP16): New error message macro.
5114 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
5115 fp16 scalar instructions.
5116 (neon_check_type): Allow different size from key.
5117 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
5118 (try_vfp_nsyn): Likewise.
5119 (do_vfp_nsyn_mla_mls): Likewise.
5120 (do_vfp_nsyn_fma_fms): Likewise.
5121 (do_vfp_nsyn_ldm_stm): Likewise
5122 (do_vfp_nsyn_sqrt): Likewise
5123 (do_vfp_nsyn_div): Likewise
5124 (do_vfp_nsyn_nmul): Likewise.
5125 (do_vfp_nsyn_cmp): Likewise.
5126 (do_neon_shll): Likewise.
5127 (do_vfp_nsyn_cvt_fpv8): Likewise.
5128 (do_neon_cvttb_2): Likewise.
5129 (do_neon_mov): Likewise.
5130 (do_neon_rshift_round_imm): Likewise.
5131 (do_neon_ldr_str): Likewise.
5132 (do_vfp_nsyn_fpv8): Likewise.
5133 (do_vmaxnm): Likewise.
5134 (do_vrint_1): Likewise.
5135 (insns): New entry for vins, vmovx.
5136 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
5137 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
5138 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
5139 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
5140 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
5141 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
5142 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
5144 2016-02-24 Renlin Li <renlin.li@arm.com>
5146 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
5147 (neon_shape_class): New SC_HALF.
5148 (neon_shape_el): New SE_H.
5149 (neon_shape_el_size): New size for SE_H.
5150 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
5151 (neon_select_shape): Add SE_H support code.
5152 (el_type_of_type_chk): Use N_F_ALL.
5153 (do_vfp_nsyn_cvt): Add SE_H shape support.
5154 (do_neon_cvtz): Likewise.
5155 (do_neon_cvt_1): Likewise.
5156 (do_neon_cvttb_1): Likewise.
5158 2016-02-24 Renlin Li <renlin.li@arm.com>
5160 * testsuite/gas/arm/copro.d: Adjust output.
5161 * testsuite/gas/arm/copro.s: Adjust co-processor num.
5163 2016-02-24 Renlin Li <renlin.li@arm.com>
5165 * testsuite/gas/arm/mask_1.d: New.
5166 * testsuite/gas/arm/mask_1.s: New.
5168 2016-02-24 Renlin Li <renlin.li@arm.com>
5170 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
5171 * testsuite/gas/arm/copro.d: Update.
5173 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5175 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
5176 * doc/c-arm.texi (ARM Options): Document cortex-a32.
5178 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5180 * doc/c-arm.texi (ARM Options): Document cortex-a17.
5182 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
5184 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
5187 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5189 * output-file.c (output_file_create): Make file name argument const.
5190 (output_file_close): Likewise.
5191 * output-file.h (output_file_create): Adjust.
5192 (output_file_close): Likewise.
5193 * depend.c (quote_string_for_make): Make src argument const char *.
5194 (register_dependency): Likewise.
5195 (wrap_output): Likewise.
5196 * as.h (register_dependency): Adjust.
5197 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
5199 * symbols.c (S_SET_EXTERNAL): Likewise.
5200 * input-scrub.c (as_where): Return the file name.
5201 * as.h (as_where): Adjust prototype.
5202 * app.c (do_scrub_chars): Adjust.
5203 * cond.c (s_elseif): Likewise.
5205 (initialize_cframe): Likewise.
5206 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
5207 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5208 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5209 * config/tc-aarch64.c (output_info): Likewise.
5210 * config/tc-ia64.c (md_assemble): Likewise.
5211 (dot_alias): Likewise.
5212 * config/tc-m68k.c (m68k_frob_label): Likewise.
5213 * config/tc-mmix.c (s_bspec): Likewise.
5214 (mmix_handle_mmixal): Likewise.
5215 * config/tc-rx.c (rx_include): Likewise.
5216 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5217 (tic54x_adjust_symtab): Likewise.
5218 * config/tc-xtensa.c (directive_push): Likewise.
5219 (xtensa_sanity_check): Likewise.
5220 (xtensa_relax_frag): Likewise.
5221 (md_convert_frag): Likewise.
5222 (tinsn_to_slotbuf): Likewise.
5223 * dwarf2dbg.c (dwarf2_where): Likewise.
5224 * ecoff.c (add_file): Likewise.
5225 (ecoff_generate_asm_lineno): Likewise.
5226 * expr.c (make_expr_symbol): Likewise.
5227 * frags.c (frag_new): Likewise.
5228 (frag_var_init): Likewise.
5229 * listing.c (listing_newline): Likewise.
5230 * messages.c (identify): Likewise.
5231 (as_show_where): Likewise.
5232 (as_warn_internal): Likewise.
5233 (as_bad_internal): Likewise.
5234 * read.c (s_irp): Likewise.
5235 (s_macro): Likewise.
5236 (s_reloc): Likewise.
5237 * stabs.c (stabs_generate_asm_file): Likewise.
5238 (stabs_generate_asm_lineno): Likewise.
5239 (stabs_generate_asm_func): Likewise.
5240 * write.c (fix_new_internal): Likewise.
5241 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
5242 (as_warn_value_out_of_range): Adjust prototype.
5243 (as_bad_value_out_of_range): Adjust prototype.
5244 * messages.c (identify): Make file name argument const char *.
5245 (as_warn_internal): Likewise.
5246 (as_warn_where): Likewise.
5247 (as_bad_internal): Likewise.
5248 (as_bad_where): Likewise.
5249 (as_internal_value_out_of_range): Likewise.
5250 (as_warn_value_out_of_range): Likewise.
5251 (as_bad_value_out_of_range): Likewise.
5252 * as.h (found_comment_file): Change type to const char *.
5253 * cond.c (file_line::file): Likewise.
5254 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
5255 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5256 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5257 * config/tc-aarch64.c (output_info): Likewise.
5258 * config/tc-alpha.c (insert_operand): Likewise.
5259 * config/tc-arc.c (insert_operand): Likewise.
5260 * config/tc-d30v.c (check_size): Likewise.
5261 * config/tc-ia64.c (struct alias): Likewise.
5262 * config/tc-m68k.c (struct label_line): Likewise.
5263 * config/tc-mcore.c (md_apply_fix): Likewise.
5264 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
5265 * config/tc-mips.c (mips16_immed): Likewise.
5266 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
5267 * config/tc-ppc.c (ppc_insert_operand): Likewise.
5268 * config/tc-rx.c (rx_include): Likewise.
5269 * config/tc-s390.c (s390_insert_operand): Likewise.
5270 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5271 (tic54x_adjust_symtab): Likewise.
5272 * config/tc-tilegx.c (insert_operand): Likewise.
5273 (apply_special_operator): Likewise.
5274 * config/tc-tilepro.c (insert_operand): Likewise.
5275 * config/tc-xtensa.c (directive_push): Likewise.
5276 * ecoff.c (add_file): Likewise.
5277 (ecoff_generate_asm_lineno): Likewise.
5278 * listing.c (listing_newline): Likewise.
5279 * read.c (s_irp): Likewise.
5280 * write.c (install_reloc): Likewise.
5281 * write.h (struct fix): Likewise.
5282 * input-file.c (file_name): Change type to const char *.
5283 (saved_file::file_name): Likewise.
5284 (input_file_open): Change type of argument to const char *.
5285 * input-file.h (input_file_open): Adjust.
5286 * input-scrub.c (logical_input_file): change type to const char *.
5287 (physical_input_file): Likewise.
5288 (struct input_save): Adjust.
5289 (input_scrub_push): Adjust.
5290 (input_scrub_begin): Adjust.
5292 * input-scrub.c (input_scrub_new_file): Make file name argument const.
5293 (input_scrub_include_file): Likewise.
5294 (new_logical_line_flags): Likewise.
5295 (new_logical_line): Likewise.
5297 * frags.h (struct frag): Change type of fr_file to const char *.
5298 * expr.c (expr_symbol_where): Change type of file argument to
5300 * expr.h (expr_symbol_where): Likewise.
5301 * config/tc-i370.c (md_apply_fix): adjust.
5302 * config/tc-mmix.c (mmix_md_end): Likewise.
5303 * config/tc-ppc.c (md_apply_fix): Likewise.
5304 * config/tc-s390.c (md_apply_fix): Likewise.
5305 * symbols.c (report_op_error): Likewise.
5306 (resolve_symbol_value): Likewise.
5307 * config/tc-ia64.c (slot::src_file): Change type to const char *.
5308 (rsrc::file): Likewise.
5309 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
5311 (xtensa_relax_frag): Likewise.
5312 (md_convert_frag): Likewise.
5313 (tinsn_to_slotbuf): Likewise.
5314 * expr.c (expr_symbol_line): Likewise.
5315 * macro.c (define_macro): Likewise.
5316 * macro.h (macro_struct): Likewise.
5317 * messages.c (as_show_where): Likewise.
5318 * read.c (s_macro): Likewise.
5319 * stabs.c (stabs_generate_asm_file): Likewise.
5320 (generate_asm_file): Likewise.
5321 (stabs_generate_asm_lineno): Likewise.
5322 * write.h (struct reloc_list): Likewise.
5323 * input-scrub.c (as_where): Change return type to const char *.
5324 * as.h (as_wheree): Adjust.
5326 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
5328 * write.c (compress_debug): Move BFD compression bits setting
5330 (write_object_file): Here.
5332 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
5334 * config/tc-i386.c (register_number): Check RegVRex.
5335 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
5336 with %zmm19 and %zmm3.
5337 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
5338 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
5340 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
5341 Jiong Wang <jiong.wang@arm.com>
5343 * config/tc-arm.c (arm_ext_fp16): New.
5344 (arm_extensions): New entry for "fp16".
5346 2016-02-19 Nick Clifton <nickc@redhat.com>
5349 * read.c (read_a_source_file): Check for assemble_one returning
5350 with input_line_pointer set to NULL.
5352 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5354 * listing.c (rebuffer_line): Change return type to void.
5356 * symbols.c (decode_local_label_name): Make type a const char *.
5357 * listing.c (print_source): Make type of p const char *.
5358 (print_line): Make type of string const char *.
5359 (buffer_line): Return const char *.
5360 (title): Make type const char *.
5361 (subtitle): Likewise.
5362 (listing_listing): Make type of p const char *.
5363 * messages.c (as_internal_value_out_of_range): Make type of prefix
5365 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
5366 and string const char *.
5367 * read.c (_bfd_rel): Make type of name const char *.
5368 * app.c (out_string): Change type to const char *.
5369 (struct app_save::out_string): Likewise.
5371 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
5372 Nick Clifton <nickc@redhat.com>
5374 * read.c (finish_bundle): Avoid recording a negative alignment.
5375 (do_align): Use unsigned values for n, len and max. Only create
5376 a frag if the alignment requirement is greater than the minimum
5377 byte alignment. Avoid recording a negative alignment.
5378 (s_align): Use unsigned values where appropriate.
5379 (bss_alloc): Use an unsigned value for the alignment.
5380 (sizeof_sleb128): Add a comment noting that we encode one octet
5381 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
5382 (emit_leb129_expr): Abort if the emitted encoding was longer than
5384 * read.h (output_leb128): Update prototype.
5385 (sizeof_leb128): Update prototype.
5386 (bss_alloc): Update prototype.
5387 * write.c (record_alignment): Use an unsigned value for the
5388 alignment. Do not record alignments less than the minimum
5389 alignment for a byte.
5390 * write.h (record_alignment): Update prototype.
5392 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5394 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
5395 .init.literal/.fini.literal section name.
5396 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
5397 list of xtensa tests.
5398 * testsuite/gas/xtensa/init-fini-literals.d: New file:
5399 init-fini-literals test result patterns.
5400 * testsuite/gas/xtensa/init-fini-literals.s: New file:
5401 init-fini-literals test.
5403 2016-02-17 Nick Clifton <nickc@redhat.com>
5405 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
5406 devices.csv file as of March 2016.
5408 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
5410 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
5412 (tc_arc_regname_to_dw2regnum): Likewise.
5413 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
5414 (tc_cfi_frame_initial_instructions): Likewise.
5415 (tc_regname_to_dw2regnum): Likewise.
5416 * testsuite/gas/cfi/cfi-arc-1.d: New file.
5417 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
5418 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
5420 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
5422 * doc/internals.texi (S_IS_EXTERN): Remove.
5424 2016-02-16 Nick Clifton <nickc@redhat.com>
5426 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
5429 2016-02-16 Renlin Li <renlin.li@arm.com>
5432 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
5433 * testsuite/gas/aarch64/movw_label.d: New.
5434 * testsuite/gas/aarch64/movw_label.s: New.
5436 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
5439 * config/rx-parse.y (MOV): Opcode generation for index
5440 register addressing mode.
5441 * testsuite/gas/rx/rx.exp: Updated for new testcase.
5442 * testsuite/gas/rx/pr19665.s: New file.
5443 * testsuite/gas/rx/pr19665.s: New file.
5444 * testsuite/gas/rx/mov.d: Update expected output.
5446 2016-02-15 Nick Clifton <nickc@redhat.com>
5448 * doc/as.texinfo (.section): Document that numeric values can now
5449 be used for the flags and type fields of the ELF target's .section
5450 directive. Add notes about the restrictions on setting flags and
5452 * config/obj-elf.c (obj_elf_change_section): Allow known sections
5453 to be given processor specific section types. Allow processor and
5454 application specific flags of a section to be set after
5456 (obj_elf_parse_section_letters): Handle parsing numeric values.
5457 (obj_elf_section_type): Handle parsing numeric values.
5458 (obj_elf_section): Allow numeric type values.
5459 * config/obj-elf.h (obj_elf_change_section): Update prototype.
5460 * testsuite/gas/elf/section10.d: New test.
5461 * testsuite/gas/elf/section10.s: Source file for new test.
5462 * testsuite/gas/elf/elf.exp: Run the new test.
5463 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
5464 the description of the flags produced by readelf.
5465 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
5466 * NEWS: Mention the new feature.
5468 2016-02-11 Nick Clifton <nickc@redhat.com>
5471 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
5472 until it is actually used.
5473 (cfi_set_sections): Set cfi_sections_set to true.
5474 (dot_cfi_startproc): Likewise.
5475 (dot_cfi_endproc): Likewise.
5476 (dot_cfi_fde_data): Likewise.
5477 (cfi_finish): Likewise.
5478 (dot_cfi_sections): Do not set cfi_sections_set.
5479 * doc/as.texinfo (.cfi_sections): Note that targets can provide
5480 their own cfi section name. Also note that the directive can be
5481 reissued provided that CFI generation has not started.
5482 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
5483 .cfi_endproc directives so that the redefinition of .cfi_sections
5484 will trigger the generation of the error message.
5485 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
5486 number of error message.
5488 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
5489 Janek van Oirschot <jvanoirs@synopsys.com>
5491 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
5492 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
5494 (arc_flags, arc_relax_type): New structure.
5495 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
5496 (RELAX_TABLE_ENTRY_MAX): New define.
5497 (relaxation_state, md_relax_table, arc_relaxable_insns)
5498 (arc_num_relaxable_ins): New variable.
5499 (rlx_operand_type, arc_rlx_types): New enums.
5500 (arc_relaxable_ins): New structure.
5501 (OPTION_RELAX): New option.
5502 (arc_insn): New relax member.
5503 (arc_flags): Remove.
5504 (relax_insn_p): New function.
5505 (apply_fixups): Likewise.
5506 (relaxable_operand): Likewise.
5507 (may_relax_expr): Likewise.
5508 (relaxable_flag): Likewise.
5509 (arc_pcrel_adjust): Likewise.
5510 (md_estimate_size_before_relax): Implement.
5511 (md_convert_frag): Likewise.
5512 (md_parse_option): Handle new mrelax option.
5513 (md_show_usage): Likewise.
5514 (assemble_insn): Set relax member.
5515 (emit_insn0): New function.
5516 (emit_insn1): Likewise.
5517 (emit_insn): Handle relaxation case.
5518 * NEWS: Mention the new relaxation option.
5519 * doc/c-arc.texi (ARC Options): Document new mrelax option.
5520 * doc/as.texinfo (Target ARC Options): Likewise.
5521 * testsuite/gas/arc/relax-avoid1.d: New file.
5522 * testsuite/gas/arc/relax-avoid1.s: Likewise.
5523 * testsuite/gas/arc/relax-avoid2.d: Likewise.
5524 * testsuite/gas/arc/relax-avoid2.s: Likewise.
5525 * testsuite/gas/arc/relax-avoid3.d: Likewise.
5526 * testsuite/gas/arc/relax-avoid3.s: Likewise.
5527 * testsuite/gas/arc/relax-b.d: Likewise.
5528 * testsuite/gas/arc/relax-b.s: Likewise.
5530 2016-02-08 Nick Clifton <nickc@redhat.com>
5532 * config/tc-ia64.c (dot_prologue): Fix formatting.
5534 2016-02-04 Nick Clifton <nickc@redhat.com>
5536 * config/obj-elf.c (obj_elf_change_section): Remove support for
5537 ARM NOREAD sections.
5538 * config/tc-arm.c (arm_elf_section_letter): Delete.
5539 * config/tc-arm.h (md_elf_section_letter): Delete.
5540 * doc/c-arm.texi (ARM Section Attribute): Delete section.
5541 * testsuite/gas/arm/section-execute-only.d: Delete.
5542 * testsuite/gas/arm/section-execute-only.s: Delete.
5544 2016-02-04 Nick Clifton <nickc@redhat.com>
5547 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
5548 to handle encoding of RRUX instruction.
5549 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
5551 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
5553 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
5555 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
5556 substitutions for BFD_RELOC_* as unsigned.
5557 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
5558 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
5559 * testsuite/gas/xtensa/loc.s: New file: loc test.
5561 2016-02-03 Kevin Buettner <kevinb@redhat.com>
5563 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
5565 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5568 * NEWS: Mention new command line option -mrelax-relocations and
5569 new configure option --enable-x86-relax-relocations for x86
5571 * config.in: Regenerated.
5572 * configure.ac: Add --enable-x86-relax-relocations.
5573 (ac_default_x86_relax_relocations): New. Default to 1 except
5574 for x86 Solaris targets older than Solaris 12.
5575 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
5576 * configure: Likewise.
5577 * config/tc-i386.c (generate_relax_relocations): New.
5578 (OPTION_MRELAX_RELOCATIONS): Likewise.
5579 (output_disp): Don't generate relax relocations if
5580 generate_relax_relocations is 0.
5581 (md_longopts): Add -mrelax-relocations.
5582 (md_show_usage): Likewise.
5583 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
5584 * doc/c-i386.texi: Document -mrelax-relocations=.
5585 * testsuite/gas/i386/got-no-relax.d: New file.
5586 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
5587 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
5588 * testsuite/gas/i386/localpic.d: Likewise.
5589 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
5590 * testsuite/gas/i386/reloc32.d: Likewise.
5591 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
5592 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
5593 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
5594 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
5595 * testsuite/gas/i386/i386.exp: Run got-no-relax and
5596 x86-64-gotpcrel-no-relax.
5598 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5600 * NEWS: Mention new command line option -mfence-as-lock-add=yes
5603 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5605 * NEWS: Remove duplicated marker for 2.26.
5607 2016-02-02 Renlin Li <renlin.li@arm.com>
5609 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
5611 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5613 * testsuite/gas/ip2k/allinsn.d: New file.
5614 * testsuite/gas/ip2k/allinsn.s: New file.
5615 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
5617 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5619 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
5620 some load instructions.
5621 * testsuite/gas/epiphany/allinsn.d: Likewise.
5622 * testsuite/gas/epiphany/regression.d: Likewise.
5624 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5626 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
5627 suffixes from instruction mnemonics in expected output.
5628 * testsuite/gas/epiphany/allinsn.d: Likewise.
5629 * testsuite/gas/epiphany/regression.d: Likewise.
5630 * testsuite/gas/epiphany/sample.d: Likewise.
5632 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5634 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
5636 * testsuite/gas/epiphany/allinsn.d: Likewise.
5637 * testsuite/gas/epiphany/sample.d: Likewise.
5639 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5641 * testsuite/gas/epiphany/sample.d: Update expected output.
5643 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
5645 * config/tc-arc.c (md_apply_fix): Allow addendum.
5646 (arc_reloc_op): Allow complex expressions for tpoff.
5647 (md_apply_fix): Handle resolved TLS local symbol.
5648 * testsuite/gas/arc/tls-relocs1.d: New file.
5649 * testsuite/gas/arc/tls-relocs1.s: Likewise.
5651 2016-02-01 Loria <Loria@phantasia.org>
5654 * config/tc-arm.c (encode_arm_immediate): Recode to improve
5655 efficiency and avoid an LLVM loop optimization bug.
5657 2016-02-01 Nick Clifton <nickc@redhat.com>
5659 * config/tc-microblaze.c (parse_imm): Fix compile time warning
5660 message extending a negative 32-bit value into a larger signed
5661 value on a 32-bit host.
5663 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
5666 * configure.ac (compressed_debug_sections): Replace == with =.
5667 * configure: Regenerated.
5669 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
5670 H.J. Lu <hongjiu.lu@intel.com>
5672 * config/tc-i386.c (avoid_fence): New.
5673 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
5675 (OPTION_FENCE_AS_LOCK_ADD): New.
5676 (md_longopts): Add -mfence-as-lock-add.
5677 (md_parse_option): Handle -mfence-as-lock-add.
5678 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
5679 * doc/c-i386.texi (-mfence-as-lock-add): Document.
5680 * testsuite/gas/i386/i386.exp: Run new tests.
5681 * testsuite/gas/i386/fence-as-lock-add.s: New.
5682 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
5683 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
5684 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
5685 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
5687 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
5689 * configure.ac (compressed_debug_sections): Remove trailing `]'.
5690 * configure: Regenerated.
5692 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
5694 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
5695 (OPTION_MOMIT_LOCK_PREFIX): This.
5696 (md_longopts): Updated.
5697 (md_parse_option): Likewise.
5699 2016-01-25 Catherine Moore <clm@codesourcery.com>
5701 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
5702 if abicalls are in effect.
5703 * testsuite/gas/mips/sdata-gp.s: New test.
5704 * testsuite/gas/mips/sdata-gp.d: New expected output
5705 * testsuite/gas/mips/mips.exp: Run new test.
5707 2016-01-25 Renlin Li <renlin.li@arm.com>
5709 * testsuite/gas/arm/thumb2_it_search.d: New.
5710 * testsuite/gas/arm/thumb2_it_search.s: New.
5712 2016-01-21 Nick Clifton <nickc@redhat.com>
5715 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
5716 with arm-netbsdelf target.
5717 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
5719 2016-01-20 Nick Clifton <nickc@redhat.com>
5722 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
5723 * testsuite/gas/arm/blx-bl-convert.d
5724 * testsuite/gas/arm/plt-1.d: Likewise.
5725 * testsuite/gas/arm/reloc-bad.d: Likewise.
5726 * testsuite/gas/arm/thumb-w-good.d: Likewise.
5727 * testsuite/gas/arm/thumb2_pool.d: Likewise.
5728 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
5729 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
5732 * doc/as.texinfo (Errors): Correct documentation describing the
5733 interaction of .file and .line with warning and error messages.
5736 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
5737 * testsuite/gas/arm/archv8m-main.d: Likewise.
5738 * testsuite/gas/arm/archv8m-base.d: Likewise.
5740 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
5742 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
5743 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
5744 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
5746 2016-01-20 Mickael Guene <mickael.guene@st.com>
5747 Terry Guo <terry.guo@arm.com>
5749 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
5750 SHF_ARM_NOREAD section flag.
5751 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
5753 (arm_elf_section_letter) : Declare it.
5754 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
5755 SHF_ARM_NOREAD section flag.
5756 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
5758 * testsuite/gas/arm/section-execute-only.s: New test case.
5759 * testsuite/gas/arm/section-execute-only.d: Expected output.
5761 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
5763 * config/tc-mips.c (micromips_insn_length): Remove the mention
5764 of 48-bit microMIPS instructions.
5766 2016-01-18 Alan Modra <amodra@gmail.com>
5768 * configure: Regenerate.
5770 2016-01-17 Alan Modra <amodra@gmail.com>
5772 * configure: Regenerate.
5774 2016-01-17 Alan Modra <amodra@gmail.com>
5776 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
5778 2016-01-14 Nick Clifton <nickc@redhat.com>
5780 * testsuite/gas/rl78/sp-relative-movw.s: New test.
5781 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
5782 * testsuite/gas/rl78/rl78.exp: Run the new test.
5784 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
5786 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
5787 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
5789 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
5791 * config/tc-nios2.c (output_movia): Preset `code' to 0.
5793 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
5795 * config/tc-h8300.c (get_operand): Remove spurious condition in
5796 test for closing parenthesis.
5798 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
5800 * config/tc-arm.c (arm_ext_v8_2): New.
5802 * testsuite/gas/arm/armv8_2-a.d: New.
5803 * testsuite/gas/arm/armv8_2-a.s: New.
5805 2016-01-12 Alan Modra <amodra@gmail.com>
5807 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
5809 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
5811 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
5812 xvcmpnesp, xvcmpnesp.>: Delete tests.
5813 * testsuite/gas/ppc/power9.s: Likewise.
5814 * testsuite/gas/ppc/vsx3.d: Likewise.
5815 * testsuite/gas/ppc/vsx3.s: Likewise.
5817 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
5820 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
5821 * testsuite/gas/m68k/p13050-1.s: New file.
5822 * testsuite/gas/m68k/p13050-2.d: New file.
5823 * testsuite/gas/m68k/p13050-2.s: New file.
5825 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5827 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
5828 * testsuite/gas/arc/add.d: Likewise.
5829 * testsuite/gas/arc/and.d: Likewise.
5830 * testsuite/gas/arc/asl.d: Likewise.
5831 * testsuite/gas/arc/asr.d: Likewise.
5832 * testsuite/gas/arc/bic.d: Likewise.
5833 * testsuite/gas/arc/extb.d: Likewise.
5834 * testsuite/gas/arc/extw.d: Likewise.
5835 * testsuite/gas/arc/j.d: Likewise.
5836 * testsuite/gas/arc/jl.d: Likewise.
5837 * testsuite/gas/arc/ld2.d: Likewise.
5838 * testsuite/gas/arc/lsr.d: Likewise.
5839 * testsuite/gas/arc/mov.d: Likewise.
5840 * testsuite/gas/arc/or.d: Likewise.
5841 * testsuite/gas/arc/pcl-relocs.d: Likewise.
5842 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
5843 * testsuite/gas/arc/pic-relocs.d: Likewise.
5844 * testsuite/gas/arc/plt-relocs.d: Likewise.
5845 * testsuite/gas/arc/rlc.d: Likewise.
5846 * testsuite/gas/arc/ror.d: Likewise.
5847 * testsuite/gas/arc/rrc.d: Likewise.
5848 * testsuite/gas/arc/sbc.d: Likewise.
5849 * testsuite/gas/arc/sda-relocs.d: Likewise.
5850 * testsuite/gas/arc/sda-relocs2.d: Likewise.
5851 * testsuite/gas/arc/sexb.d: Likewise.
5852 * testsuite/gas/arc/sexw.d: Likewise.
5853 * testsuite/gas/arc/st.d: Likewise.
5854 * testsuite/gas/arc/sub.d: Likewise.
5855 * testsuite/gas/arc/tls-relocs.d: Likewise.
5856 * testsuite/gas/arc/xor.d: Likewise.
5858 2016-01-01 Alan Modra <amodra@gmail.com>
5860 Update year range in copyright notice of all files.
5862 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
5864 Copyright (C) 2016 Free Software Foundation, Inc.
5866 Copying and distribution of this file, with or without modification,
5867 are permitted in any medium without royalty provided the copyright
5868 notice and this notice are preserved.
5874 version-control: never