1 2016-12-23 Tristan Gingold <gingold@adacore.com>
3 * NEWS: Add marker for 2.28.
5 2016-12-23 Tristan Gingold <gingold@adacore.com>
7 * po/gas.pot: Regenerate.
9 2016-12-21 Andrew Waterman <andrew@sifive.com>
11 * config/tc-riscv.c (riscv_make_nops): Emit 2-byte NOPs.
12 (riscv_frag_align_code): Correct frag_align_code arg.
14 2016-12-21 Tim Newsome <tim@sifive.com>
16 * config/tc-riscv.c (riscv_pre_output_hook): Remove const from
19 2016-12-21 Alan Modra <amodra@gmail.com>
21 * doc/c-lm32.texi: Fix chars with high bit set.
22 * testsuite/gas/bfin/vector2.s: Likewise.
24 2016-12-21 Alan Modra <amodra@gmail.com>
27 * doc/as.texinfo (Chars): Document escape sequences.
29 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
31 * testsuite/gas/mips/mips16-sub.d: New test.
32 * testsuite/gas/mips/mips16-32@mips16-sub.d: New test.
33 * testsuite/gas/mips/mips16e-32@mips16-sub.d: New test.
34 * testsuite/gas/mips/mips16e-sub.d: New test.
35 * testsuite/gas/mips/mips16-32@mips16e-sub.d: New test.
36 * testsuite/gas/mips/mips16-64@mips16e-sub.d: New test.
37 * testsuite/gas/mips/mips16e-64-sub.d: New test.
38 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: New test.
39 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: New test.
40 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: New test.
41 * testsuite/gas/mips/mips16-sub.s: New test source.
42 * testsuite/gas/mips/mips16e-sub.s: New test source.
43 * testsuite/gas/mips/mips16e-64-sub.s: New test source.
44 * testsuite/gas/mips/mips.exp: Run the new tests.
46 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
48 * testsuite/gas/mips/mips16e.s: Add a RESTORE instruction.
49 * testsuite/gas/mips/mips16e.d: Adjust accordingly.
51 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
53 * testsuite/gas/mips/mips16.d: Adjust test for multiple MIPS16
55 * testsuite/gas/mips/mips16-64.d: Adjust test for multiple
57 * testsuite/gas/mips/mips16e-64.d: Adjust test for multiple
59 * testsuite/gas/mips/mips16-macro.d: Adjust test for multiple
61 * testsuite/gas/mips/mips16e-64.s: Ensure MIPS16 ISA annotation.
62 * testsuite/gas/mips/mips16e-64.l: Rename to...
63 * testsuite/gas/mips/mips16e-32@mips16e-64.l: ... this.
64 * testsuite/gas/mips/mips16-64@mips16.d: New test.
65 * testsuite/gas/mips/mips16-64@mips16-64.d: New test.
66 * testsuite/gas/mips/mips16e-32@mips16e-64.d: New test.
67 * testsuite/gas/mips/mips16-32@mips16-macro.d: New test.
68 * testsuite/gas/mips/mips16-64@mips16-macro.d: New test.
69 * testsuite/gas/mips/mips16e-32@mips16-macro.d: New test.
70 * testsuite/gas/mips/mips16-32@mips16-macro-e.d: New test.
71 * testsuite/gas/mips/mips16e-32@mips16-macro-e.d: New test.
72 * testsuite/gas/mips/mips16-32@mips16-macro-t.d: New test.
73 * testsuite/gas/mips/mips16e-32@mips16-macro-t.d: New test.
74 * testsuite/gas/mips/mips16e-32@mips16e-64.l: New stderr output.
75 * testsuite/gas/mips/mips16-32@mips16-macro.l: New stderr
77 * testsuite/gas/mips/mips16e-32@mips16-macro.l: New stderr
79 * testsuite/gas/mips/mips16-32@mips16-macro-e.l: New stderr
81 * testsuite/gas/mips/mips16e-32@mips16-macro-e.l: New stderr
83 * testsuite/gas/mips/mips16-32@mips16-macro-t.l: New stderr
85 * testsuite/gas/mips/mips16e-32@mips16-macro-t.l: New stderr
87 * testsuite/gas/mips/mips.exp: Run `mips16', `mips16-64',
88 `mips16-macro', `mips16-macro-t', `mips16-macro-e' and
89 `mips16e-64' testing across multiple MIPS16 ISAs. Fold
90 `mips16-macro' and `mips16e-64' list test invocations into
91 corresponding dump tests.
93 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
95 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
96 `mips16e' and `mips16' prefixes.
97 (run_list_test_arch): Likewise.
98 Rename `mips16' architecture to `mips16-32'. Add `mips16-64',
99 `mips16e-32' and `mips16e-64' architectures. Update `rol64',
100 `mips16e', `elf${el}-rel2' and `elf-rel4' test invocations
102 * testsuite/gas/mips/mips16e@branch-swap-3.d: New test.
103 * testsuite/gas/mips/mips16e@branch-swap-4.d: New test.
104 * testsuite/gas/mips/mips16e@loc-swap-dis.d: New test.
105 * testsuite/gas/mips/mips16e@loc-swap.d: New test.
107 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
109 * testsuite/gas/mips/loc-swap.s: Use zeros rather than NOPs for
110 trailing alignment padding.
111 * testsuite/gas/mips/loc-swap.d: Adjust accordingly.
112 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
113 * testsuite/gas/mips/mips16@loc-swap-dis.d: Likewise.
115 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
117 * config/tc-mips.c (micromips_insn_length): Use
118 `mips_opcode_32bit_p'.
119 (is_size_valid): Adjust description.
120 (is_size_valid_16): New function.
121 (validate_mips_insn): Use `mips_opcode_32bit_p' in MIPS16
123 (validate_mips16_insn): Remove `a' and `i' operand code special
124 casing, use `mips_opcode_32bit_p' to determine instruction
126 (append_insn): Adjust forced MIPS16 instruction size
128 (match_mips16_insn): Likewise. Don't shift the instruction's
129 opcode with the `a' and `i' operand codes. Use
130 `mips_opcode_32bit_p' in operand decoding.
131 (match_mips16_insns): Check for forced instruction size's
133 (mips16_ip): Don't force instruction size in the `noautoextend'
135 * testsuite/gas/mips/mips16-jal-e.d: New test.
136 * testsuite/gas/mips/mips16-jal-t.d: New test.
137 * testsuite/gas/mips/mips16-macro-e.d: New test.
138 * testsuite/gas/mips/mips16-macro-t.d: New test.
139 * testsuite/gas/mips/mips16-jal-t.l: New stderr output.
140 * testsuite/gas/mips/mips16-macro-e.l: New stderr output.
141 * testsuite/gas/mips/mips16-macro-t.l: New stderr output.
142 * testsuite/gas/mips/mips16-jal-e.s: New test source.
143 * testsuite/gas/mips/mips16-jal-t.s: New test source.
144 * testsuite/gas/mips/mips16-macro-e.s: New test source.
145 * testsuite/gas/mips/mips16-macro-t.s: New test source.
146 * testsuite/gas/mips/mips.exp: Run the new tests.
148 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
150 * testsuite/gas/mips/mips16-macro.l: New list test.
151 * testsuite/gas/mips/mips.exp: Run the new test.
153 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
155 * testsuite/gas/mips/mips16-sdrasp.d: New test.
156 * testsuite/gas/mips/mips16-sdrasp.l: New stderr output.
157 * testsuite/gas/mips/mips16-sdrasp.s: New test source.
158 * testsuite/gas/mips/mips.exp: Run the new test.
160 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
162 * testsuite/gas/mips/mips.exp: Limit remaining tests that
163 require NewABI support to `has_newabi' targets.
165 2015-12-20 Andrew Waterman <andrew@sifive.com>
167 * config/tc-riscv.c (riscv_pseudo_table): Remove "align",
168 "p2align", and "balign".
170 (riscv_handle_align): New function.
171 (riscv_frag_align_code): Likewise.
172 (riscv_make_nops): Likewise.
173 * config/tc-riscv.h (MAX_MEM_FOR_RS_ALIGN_CODE): Change to 7.
174 (HANDLE_ALIGN): Define.
175 (md_do_align): Define.
176 (riscv_handle_align): Declare.
177 (riscv_frag_align_code): Likewise.
179 2016-12-20 Andrew Waterman <andrew@sifive.com>
181 * config/tc-riscv.h (xlen): Delete.
182 * config/tc-riscv.c (xlen): Make static.
183 (abi_xlen): New variable.
184 (options): Replace OPTION_{M32,M64,MSOFT_FLOAT,MHARD_FLOAT,MRVC}
186 (md_longopts): Likewise.
187 (md_parse_option): Likewise.
188 (riscv_elf_final_processing): Likewise.
189 * doc/as.texinfo (Target RISC-V options): Likewise.
190 * doc/c-riscv.texi (OPTIONS): Likewise.
191 * config/tc-riscv.c (float_mode): Removed.
192 (float_abi): New type, specifies the floating-point ABI.
193 (riscv_set_abi): New function.
194 (riscv_add_subset): Only allow lower-case ISA names and require
195 them to start with "rv".
196 (riscv_after_parse_args): Likewise.
198 2016-12-20 Andrew Waterman <andrew@sifive.com>
199 Kuan-Lin Chen <kuanlinchentw@gmail.com>
201 * config/tc-riscv.c (riscv_set_options): Add relax.
202 (riscv_opts): Likewise.
203 (s_riscv_option): Add relax and norelax.
204 (riscv_apply_const_reloc): New function.
205 (append_insn): Move constant relocation handling to
206 riscv_apply_const_reloc.
207 (md_pcrel_from): Likewise.
208 (parse_relocation): Skip BFD_RELOC_UNUSED.
209 (md_pcrel_from): Handle BFD_RELOC_RISCV_SUB6,
210 BFD_RELOC_RISCV_RELAX, BFD_RELOC_RISCV_CFA.
211 (md_apply_fix): Likewise.
212 (riscv_pre_output_hook): New function.
213 * config/tc-riscv.h (md_pre_output_hook): Define.
214 (riscv_pre_output_hook): Declare.
215 (DWARF_CIE_DATA_ALIGNMENT): Always -4.
217 2016-12-20 Andrew Waterman <andrew@sifive.com>
219 * config/tc-riscv.c: Formatting and comment fixes throughout.
221 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
223 * config/tc-mips.c (md_convert_frag): Report an error instead of
225 * testsuite/gas/mips/mips16-branch-unextended-1.d: New test.
226 * testsuite/gas/mips/mips16-branch-unextended-2.d: New test.
227 * testsuite/gas/mips/mips16-branch-unextended-1.s: New test
229 * testsuite/gas/mips/mips16-branch-unextended-2.s: New test.
230 * testsuite/gas/mips/mips16-branch-unextended.l: New stderr
232 * testsuite/gas/mips/mips.exp: Run the new tests.
234 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
236 * testsuite/gas/mips/mips16-sprel-swap.d: New test.
237 * testsuite/gas/mips/mips16-sprel-swap.s: New test source.
238 * testsuite/gas/mips/mips.exp: Run the new test.
240 2016-12-13 Renlin Li <renlin.li@arm.com>
242 * config/tc-aarch64.c (AARCH64_REG_TYPES): Remove CN register.
243 (get_reg_expected_msg): Remove CN register case.
244 (parse_operands): rewrite parser for CRn, CRm operand.
245 (reg_names): Remove CN register.
246 * testsuite/gas/aarch64/diagnostic.s: Add a new test case.
247 * testsuite/gas/aarch64/diagnostic.l: Adjust error message.
249 2016-12-13 Jiong Wang <jiong.wang@arm.com>
251 * gas/testsuite/gas/aarch64/addsub.d: Support ILP32 mode.
252 * gas/testsuite/gas/aarch64/advsimd-across.d: Likewise.
253 * gas/testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise.
254 * gas/testsuite/gas/aarch64/advsimd-fp16.d: Likewise.
255 * gas/testsuite/gas/aarch64/advsimd-misc.d: Likewise.
256 * gas/testsuite/gas/aarch64/advsisd-copy.d: Likewise.
257 * gas/testsuite/gas/aarch64/advsisd-misc.d: Likewise.
258 * gas/testsuite/gas/aarch64/alias.d: Likewise.
259 * gas/testsuite/gas/aarch64/armv8-ras-1.d: Likewise.
260 * gas/testsuite/gas/aarch64/b_1.d: Likewise.
261 * gas/testsuite/gas/aarch64/beq_1.d: Likewise.
262 * gas/testsuite/gas/aarch64/bitfield-dump: Likewise.
263 * gas/testsuite/gas/aarch64/bitfield-no-aliases.d: Likewise.
264 * gas/testsuite/gas/aarch64/codealign.d: Likewise.
265 * gas/testsuite/gas/aarch64/codealign_1.d: Likewise.
266 * gas/testsuite/gas/aarch64/crc32-directive.d: Likewise.
267 * gas/testsuite/gas/aarch64/crc32.d: Likewise.
268 * gas/testsuite/gas/aarch64/crypto-directive.d: Likewise.
269 * gas/testsuite/gas/aarch64/crypto.d: Likewise.
270 * gas/testsuite/gas/aarch64/dwarf.d: Likewise.
271 * gas/testsuite/gas/aarch64/float-fp16.d: Likewise.
272 * gas/testsuite/gas/aarch64/floatdp2.d: Likewise.
273 * gas/testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
274 * gas/testsuite/gas/aarch64/fp-const0-parse.d: Likewise.
275 * gas/testsuite/gas/aarch64/fp_cvt_int.d: Likewise.
276 * gas/testsuite/gas/aarch64/fpmov.d: Likewise.
277 * gas/testsuite/gas/aarch64/inst-directive.d: Likewise.
278 * gas/testsuite/gas/aarch64/ldr_1.d: Likewise.
279 * gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
280 * gas/testsuite/gas/aarch64/ldst-exclusive.d: Likewise.
281 * gas/testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
282 * gas/testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
283 * gas/testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
284 * gas/testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
285 * gas/testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
286 * gas/testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
287 * gas/testsuite/gas/aarch64/lor-directive.d: Likewise.
288 * gas/testsuite/gas/aarch64/lor.d: Likewise.
289 * gas/testsuite/gas/aarch64/lse-atomic.d: Likewise.
290 * gas/testsuite/gas/aarch64/mapmisc.d: Likewise.
291 * gas/testsuite/gas/aarch64/mov-no-aliases.d: Likewise.
292 * gas/testsuite/gas/aarch64/mov.d: Likewise.
293 * gas/testsuite/gas/aarch64/movi.d: Likewise.
294 * gas/testsuite/gas/aarch64/movw_label.d: Likewise.
295 * gas/testsuite/gas/aarch64/msr.d: Likewise.
296 * gas/testsuite/gas/aarch64/neon-fp-cvt-int.d: Likewise.
297 * gas/testsuite/gas/aarch64/neon-frint.d: Likewise.
298 * gas/testsuite/gas/aarch64/neon-ins.d: Likewise.
299 * gas/testsuite/gas/aarch64/neon-not.d: Likewise.
300 * gas/testsuite/gas/aarch64/neon-vfp-reglist-post.d: Likewise.
301 * gas/testsuite/gas/aarch64/neon-vfp-reglist.d: Likewise.
302 * gas/testsuite/gas/aarch64/no-aliases.d: Likewise.
303 * gas/testsuite/gas/aarch64/optional.d: Likewise.
304 * gas/testsuite/gas/aarch64/pac.d: Likewise.
305 * gas/testsuite/gas/aarch64/pan-directive.d: Likewise.
306 * gas/testsuite/gas/aarch64/pan.d: Likewise.
307 * gas/testsuite/gas/aarch64/rdma-directive.d: Likewise.
308 * gas/testsuite/gas/aarch64/rdma.d: Likewise.
309 * gas/testsuite/gas/aarch64/reloc-dtprel_g0.d: Likewise.
310 * gas/testsuite/gas/aarch64/reloc-dtprel_g0_nc.d: Likewise.
311 * gas/testsuite/gas/aarch64/reloc-dtprel_g1.d: Likewise.
312 * gas/testsuite/gas/aarch64/reloc-dtprel_hi12.d: Likewise.
313 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-1.d: Likewise.
314 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc.d: Likewise.
315 * gas/testsuite/gas/aarch64/reloc-tlsldm-1.d: Likewise.
316 * gas/testsuite/gas/aarch64/reloc-tlsldm-page-1.d: Likewise.
317 * gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.d: Likewise.
318 * gas/testsuite/gas/aarch64/shifted.d: Likewise.
319 * gas/testsuite/gas/aarch64/sve.d: Likewise.
320 * gas/testsuite/gas/aarch64/symbol.d: Likewise.
321 * gas/testsuite/gas/aarch64/sysreg-1.d: Likewise.
322 * gas/testsuite/gas/aarch64/sysreg-2.d: Likewise.
323 * gas/testsuite/gas/aarch64/sysreg-3.d: Likewise.
324 * gas/testsuite/gas/aarch64/sysreg.d: Likewise.
325 * gas/testsuite/gas/aarch64/system-2.d: Likewise.
326 * gas/testsuite/gas/aarch64/system-3.d: Likewise.
327 * gas/testsuite/gas/aarch64/system.d: Likewise.
328 * gas/testsuite/gas/aarch64/tbz_1.d: Likewise.
329 * gas/testsuite/gas/aarch64/tlbi_op.d: Likewise.
330 * gas/testsuite/gas/aarch64/tls.d: Likewise.
331 * gas/testsuite/gas/aarch64/uao-directive.d: Likewise.
332 * gas/testsuite/gas/aarch64/uao.d: Likewise.
333 * gas/testsuite/gas/aarch64/virthostext-directive.d: Likewise.
334 * gas/testsuite/gas/aarch64/virthostext.d: Likewise.
335 * gas/testsuite/gas/aarch64/adr_1.d: Restrict test under -mabi=lp64.
336 * gas/testsuite/gas/aarch64/int-insns.d: Likewise.
337 * gas/testsuite/gas/aarch64/programmer-friendly.d: Likewise.
338 * gas/testsuite/gas/aarch64/reloc-data.d: Likewise.
339 * gas/testsuite/gas/aarch64/reloc-dtprel_g1_nc.d: Likewise.
340 * gas/testsuite/gas/aarch64/reloc-dtprel_g2.d: Likewise.
341 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst16.d: Likewise.
342 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst32.d: Likewise.
343 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst64.d: Likewise.
344 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst8.d: Likewise.
345 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst16.d: Likewise.
346 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst32.d: Likewise.
347 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst64.d: Likewise.
348 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst8.d: Likewise.
349 * gas/testsuite/gas/aarch64/reloc-gotoff_g0_nc.d: Likewise.
350 * gas/testsuite/gas/aarch64/reloc-gotoff_g1.d: Likewise.
351 * gas/testsuite/gas/aarch64/reloc-gottprel_g0_nc.d: Likewise.
352 * gas/testsuite/gas/aarch64/reloc-gottprel_g1.d: Likewise.
353 * gas/testsuite/gas/aarch64/reloc-insn.d: Likewise.
354 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g0_nc.d: Likewise.
355 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g1.d: Likewise.
356 * gas/testsuite/gas/aarch64/reloc-tlsgd_g0_nc.d: Likewise.
357 * gas/testsuite/gas/aarch64/reloc-tlsgd_g1.d: Likewise.
358 * gas/testsuite/gas/aarch64/tail_padding.d: Likewise.
359 * gas/testsuite/gas/aarch64/tls-desc.d: Likewise.
361 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
363 * config/tc-mips.c (mips16_macro_build) <'>'>: Remove case.
365 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
367 * testsuite/gas/mips/mips16-extend.d: New test.
368 * testsuite/gas/mips/mips16-extend.s: New test source.
369 * testsuite/gas/mips/mips.exp: Run the new test.
371 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
373 * config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local
374 variable to `space_buf'.
376 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
378 * config/tc-arm.c (encode_arm_shift): Rename `index' local
379 variable to `op_index'.
381 2016-12-08 Alan Modra <amodra@gmail.com>
383 * configure: Regenerate.
385 2016-12-07 Maciej W. Rozycki <macro@imgtec.com>
387 * config/tc-mips.c (is_opcode_valid): Use local `isa'
390 2016-12-06 Nick Clifton <nickc@redhat.com>
393 * read.c (s_space): Place an upper limit on the number of spaces
397 * testsuite/gas/mmix/err-byte1.s: Adjust expected warning messages
398 to account for patch to next_char_of_string.
400 2016-12-05 Nick Clifton <nickc@redhat.com>
403 * read.c (next_char_of_string): Do end advance past the end of the
407 * as.h (SKIP_ALL_WHITESPACE): New macro.
408 * expr.c (operand): Use it.
410 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
412 * config/tc-arm.c (do_vcmla, do_vcadd): Define.
413 (neon_scalar_for_vcmla): Define.
414 (enum operand_parse_code): Add OP_IROT1 and OP_IROT2.
415 (NEON_ENC_TAB): Add DDSI and QQSI variants.
416 (insns): Add vcmla and vcadd.
417 * testsuite/gas/arm/armv8_3-a-simd.d: New.
418 * testsuite/gas/arm/armv8_3-a-simd.s: New.
419 * testsuite/gas/arm/armv8_3-a-simd-bad.d: New.
420 * testsuite/gas/arm/armv8_3-a-simd-bad.l: New.
421 * testsuite/gas/arm/armv8_3-a-simd-bad.s: New.
423 2016-12-05 Claudiu Zissulescu <claziss@synopsys.com>
425 * testsuite/gas/arc/textauxregister-1.d: New file.
426 * testsuite/gas/arc/textauxregister-1.s: Likewise.
427 * testsuite/gas/arc/textcondcode-err.s: Likewise.
428 * testsuite/gas/arc/textcoreregister-err.s: Likewise.
429 * config/tc-arc.c (tokenize_extregister): Return bfd_boolean,
430 don't check second argument of extension auxiliary register for
432 (arc_extcorereg): Consider the return of tokenize_extregister
435 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
437 * config/tc-arm.c (arm_ext_v8_3, do_vjcvt): Define.
439 * testsuite/gas/aarch64/armv8_3-a-fp.s: New.
440 * testsuite/gas/aarch64/armv8_3-a-fp.d: New.
441 * testsuite/gas/aarch64/armv8_3-a-fp-bad.s: New.
442 * testsuite/gas/aarch64/armv8_3-a-fp-bad.d: New.
443 * testsuite/gas/aarch64/armv8_3-a-fp-bad.l: New.
445 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
447 * config/tc-arm.c (arm_archs): Add "armv8.3-a".
448 * doc/c-arm.texi (-march): Add "armv8.3-a".
450 2016-12-02 Claudiu Zissulescu <claziss@synopsys.com>
452 * testsuite/gas/arc/cpu-em-err.s: New file.
453 * testsuite/gas/arc/cpu-em4-err.s: Likewise.
454 * testsuite/gas/arc/cpu-fpuda-err.s: Likewise.
455 * testsuite/gas/arc/cpu-hs-err.s: Likewise.
456 * testsuite/gas/arc/cpu-quarkse-err.s: Likewise.
457 * testsuite/gas/arc/noargs_a7.s: Add .cpu.
458 * config/tc-arc.c (ARC_CPU_TYPE_A6xx): Define.
459 (ARC_CPU_TYPE_A7xx): Likewise.
460 (ARC_CPU_TYPE_AV2EM): Likewise.
461 (ARC_CPU_TYPE_AV2HS): Likewise.
462 (cpu_types): Update list of known CPU names.
463 (arc_show_cpu_list): New function.
464 (md_show_usage): Print accepted CPU names.
465 (cl_features): New variable.
466 (arc_select_cpu): Use cl_features.
467 (arc_option): Allow various .cpu names.
468 (md_parse_option): Set cl_features.
469 * doc/c-arc.texi: Update -mcpu and .cpu documentation.
471 2016-12-02 Josh Conner <joshconner@google.com>
473 * configure.tgt: Add support for fuchsia (OS).
475 2016-12-01 Nick Clifton <nickc@redhat.com>
478 * app.c (do_scrub_chars): Do not attempt to unget EOF.
481 * subsegs.c (subsegs_print_statistics): Do nothing if no output
485 * symbols.c (resolve_symbol_value): Gracefully handle erroneous
486 symbolic expressions.
488 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
490 * config/tc-arc.c (find_opcode_match): New function argument
492 (assemble_tokens): Collect and report the eventual error message
493 found during opcode matching process.
494 * testsuite/gas/arc/lpcount-err.s: New file.
495 * testsuite/gas/arc/add_s-err.s: Update error message.
497 2016-11-28 Ramiro Polla <ramiro@hex-rays.com>
498 Amit Pawar <amit.pawar@amd.com>
501 * testsuite/gas/i386/xop32reg.d: New file.
502 * testsuite/gas/i386/xop32reg.s: New file.
503 * testsuite/gas/i386/i386.exp: Run new test.
505 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
507 * arparse.y: Fix spelling in comments.
509 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
511 * config/bfin-lex.l: Fix spelling in comments.
513 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
515 * testsuite/gas/all/gas.exp: Fix spelling in comments.
516 * testsuite/gas/cris/cris.exp: Fix spelling in comments.
517 * testsuite/gas/hppa/basic/basic.exp: Fix spelling in comments.
518 * testsuite/gas/hppa/parse/parse.exp: Fix spelling in comments.
519 * testsuite/gas/hppa/reloc/reloc.exp: Fix spelling in comments.
520 * testsuite/gas/sh/arch/arch.exp: Fix spelling in comments.
521 * testsuite/gas/tic4x/tic4x.exp: Fix spelling in comments.
523 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
525 * testsuite/gas/arm/local_function.d: Fix spelling in comments.
526 * testsuite/gas/arm/req.s: Fix spelling in comments.
527 * testsuite/gas/arm/vfp1.s: Fix spelling in comments.
528 * testsuite/gas/arm/vfp1_t2.s: Fix spelling in comments.
529 * testsuite/gas/arm/vfp1xD.s: Fix spelling in comments.
530 * testsuite/gas/arm/vfp1xD_t2.s: Fix spelling in comments.
531 * testsuite/gas/mcore/allinsn.s: Fix spelling in comments.
532 * testsuite/gas/mips/24k-triple-stores-5.s: Fix spelling in comments.
533 * testsuite/gas/mips/delay.d: Fix spelling in comments.
534 * testsuite/gas/mips/nodelay.d: Fix spelling in comments.
535 * testsuite/gas/mips/r5900-full.s: Fix spelling in comments.
536 * testsuite/gas/mips/r5900.s: Fix spelling in comments.
538 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
540 * as.h: Fix spelling in comments.
541 * config/obj-ecoff.c: Fix spelling in comments.
542 * config/obj-macho.c: Fix spelling in comments.
543 * config/tc-aarch64.c: Fix spelling in comments.
544 * config/tc-arc.c: Fix spelling in comments.
545 * config/tc-arm.c: Fix spelling in comments.
546 * config/tc-avr.c: Fix spelling in comments.
547 * config/tc-cr16.c: Fix spelling in comments.
548 * config/tc-epiphany.c: Fix spelling in comments.
549 * config/tc-frv.c: Fix spelling in comments.
550 * config/tc-hppa.c: Fix spelling in comments.
551 * config/tc-hppa.h: Fix spelling in comments.
552 * config/tc-i370.c: Fix spelling in comments.
553 * config/tc-m68hc11.c: Fix spelling in comments.
554 * config/tc-m68k.c: Fix spelling in comments.
555 * config/tc-mcore.c: Fix spelling in comments.
556 * config/tc-mep.c: Fix spelling in comments.
557 * config/tc-metag.c: Fix spelling in comments.
558 * config/tc-mips.c: Fix spelling in comments.
559 * config/tc-mn10200.c: Fix spelling in comments.
560 * config/tc-mn10300.c: Fix spelling in comments.
561 * config/tc-nds32.c: Fix spelling in comments.
562 * config/tc-nios2.c: Fix spelling in comments.
563 * config/tc-ns32k.c: Fix spelling in comments.
564 * config/tc-pdp11.c: Fix spelling in comments.
565 * config/tc-ppc.c: Fix spelling in comments.
566 * config/tc-riscv.c: Fix spelling in comments.
567 * config/tc-rx.c: Fix spelling in comments.
568 * config/tc-score.c: Fix spelling in comments.
569 * config/tc-score7.c: Fix spelling in comments.
570 * config/tc-sparc.c: Fix spelling in comments.
571 * config/tc-tic54x.c: Fix spelling in comments.
572 * config/tc-vax.c: Fix spelling in comments.
573 * config/tc-xgate.h: Fix spelling in comments.
574 * config/tc-xtensa.c: Fix spelling in comments.
575 * config/tc-z80.c: Fix spelling in comments.
576 * dwarf2dbg.c: Fix spelling in comments.
577 * input-file.h: Fix spelling in comments.
578 * itbl-ops.c: Fix spelling in comments.
579 * read.c: Fix spelling in comments.
580 * stabs.c: Fix spelling in comments.
581 * symbols.c: Fix spelling in comments.
582 * write.c: Fix spelling in comments.
583 * testsuite/gas/all/itbl-test.c: Fix spelling in comments.
584 * testsuite/gas/tic4x/opclasses.h: Fix spelling in comments.
586 2016-11-25 Jose E. Marchesi <jose.marchesi@oracle.com>
588 * config/tc-sparc.c (sparc_ip): Avoid emitting a cbcond error
589 messages for non-cbcond instructions.
590 * testsuite/gas/sparc/cbcond-diag.s: New file.
591 * testsuite/gas/sparc/cbcond-diag.l: Likewise.
592 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run cbcond-diag tests.
594 2016-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
596 * testsuite/gas/sparc/sparc.exp (gas_64_check): Make sure the
597 hwcaps-bump test is run with 64-bit objects.
599 2016-11-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
601 * config/tc-riscv.c: Add missing break.
603 2016-11-23 Alan Modra <amodra@gmail.com>
605 * po/POTFILES.in: Regenerate.
607 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
609 * configure: Regenerate.
611 2016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
613 * config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
615 (sparc_arch): Clarify the new role of the hwcap_allowed and
616 hwcap2_allowed fields.
617 (sparc_arch_table): Remove HWS_* and HWS2_* instances from
618 hwcap_allowed and hwcap2_allowed respectively.
619 (md_parse_option): Include the opcode arch hwcaps when processing
621 (sparc_ip): Use the current opcode arch hwcaps to update
622 hwcap_allowed, as well as the hwcaps of the instruction triggering
624 * testsuite/gas/sparc/hwcaps-bump.s: New file.
625 * testsuite/gas/sparc/hwcaps-bump.l: Likewise.
626 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
629 2016-11-22 Claudiu Zissulescu <claziss@synopsys.com>
631 * testsuite/gas/arc/b.d: Update test result.
633 2016-11-22 Alan Modra <amodra@gmail.com>
636 * config/tc-ppc.c: Delete VLE insn defines.
637 (md_assemble): Swap use_a_reloc and use_d_reloc.
638 * testsuite/gas/ppc/vle-reloc.d: Update.
640 2016-11-21 Renlin Li <renlin.li@arm.com>
643 * config/tc-arm.c (encode_arm_shift): Don't assert for operands not
645 * testsuite/gas/arm/add-shift-two.d: New.
646 * testsuite/gas/arm/add-shift-two.s: New.
648 2016-11-21 Alan Modra <amodra@gmail.com>
650 * configure.ac: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
651 * Makefile.am (comparison): Rewrite using do_compare.
652 * configure: Regenerate.
653 * Makefile.in: Regenerate.
654 * doc/Makefile.in: Regenerate.
656 2016-11-18 Claudiu Zissulescu <claziss@synopsys.com>
658 * testsuite/gas/arc/cl-warn.s: New file.
659 * testsuite/gas/arc/cpu-pseudop-1.d: Likewise.
660 * testsuite/gas/arc/cpu-pseudop-1.s: Likewise.
661 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
662 * testsuite/gas/arc/cpu-pseudop-2.s: Likewise.
663 * testsuite/gas/arc/cpu-warn2.s: Likewise.
664 * config/tc-arc.c (selected_cpu): Initialize.
665 (feature_type): New struct.
666 (feature_list): New variable.
667 (arc_check_feature): New function.
668 (arc_select_cpu): Check for .cpu duplicates. Don't overwrite the
669 current cpu features. Check if a feature is available for a given
671 (md_parse_option): Test if features are available for a given cpu.
673 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
675 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
676 * testsuite/gas/aarch64/advsimd-armv8_3.d: New.
677 * testsuite/gas/aarch64/advsimd-armv8_3.s: New.
678 * testsuite/gas/aarch64/illegal-fcmla.s: New.
679 * testsuite/gas/aarch64/illegal-fcmla.l: New.
680 * testsuite/gas/aarch64/illegal-fcmla.d: New.
682 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
684 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
685 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
686 * testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
687 * testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
688 * testsuite/gas/aarch64/illegal-ldapr.l: Likewise.
690 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
692 * testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
693 * testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
694 * testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
695 * testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
696 * testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
697 * testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
698 * testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
699 * testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.
701 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
703 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
704 (fix_insn): Likewise.
705 (warn_unpredictable_ldst): Handle ldst_imm10.
706 * testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
707 * testsuite/gas/aarch64/pac.d: Likewise.
708 * testsuite/gas/aarch64/illegal-ldraa.s: New.
709 * testsuite/gas/aarch64/illegal-ldraa.l: New.
710 * testsuite/gas/aarch64/illegal-ldraa.d: New.
712 2016-11-15 Nick Clifton <nickc@redhat.com>
715 * config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in
716 the .eh_frame section.
718 2016-11-13 Anthony Green <green@moxielogic.org>
720 * config/tc-moxie.c (md_assemble): Assemble 'bad' opcode.
722 2016-11-11 Nick Clifton <nickc@redhat.com>
725 * expr.c (integer_constant): If tc_allow_L_suffix is defined and
726 non-zero then accept a L or LL suffix.
727 * testsuite/gas/sparc/pr20732.d: New test source file.
728 * testsuite/gas/sparc/pr20732.d: New test output file.
729 * testsuite/gas/sparc/sparc.exp: Run new test.
731 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
733 * testsuite/gas/aarch64/pac.s: Add ARMv8.3 branch instruction tests.
734 * testsuite/gas/aarch64/pac.d: Likewise.
736 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
738 * config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
739 (parse_operands): Likewise.
740 * testsuite/gas/aarch64/pac.s: Add pacga.
741 * testsuite/gas/aarch64/pac.d: Add pacga.
743 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
745 * testsuite/gas/aarch64/pac.s: New.
746 * testsuite/gas/aarch64/pac.d: New.
748 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
750 * testsuite/gas/aarch64/sysreg-3.s: New.
751 * testsuite/gas/aarch64/sysreg-3.d: New.
752 * testsuite/gas/aarch64/illegal-sysreg-3.l: New.
753 * testsuite/gas/aarch64/illegal-sysreg-3.d: New.
755 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
757 * testsuite/gas/aarch64/system-3.s: New.
758 * testsuite/gas/aarch64/system-3.d: New.
759 * testsuite/gas/aarch64/system.d: Update expected output.
761 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
763 * config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
764 * doc/c-aarch64.texi (-march): Likewise.
766 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
768 * config/tc-aarch64.c (aarch64_features): Fix "simd" and "crypto".
769 * testsuite/gas/aarch64/illegal-crypto-nofp.d: New.
770 * testsuite/gas/aarch64/illegal-crypto-nofp.l: New.
771 * testsuite/gas/aarch64/illegal-fp16-nofp.d: New.
772 * testsuite/gas/aarch64/illegal-fp16-nofp.l: New.
773 * testsuite/gas/aarch64/illegal-fp16-nofp.s: New.
775 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
778 * testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
779 * testsuite/gas/i386/opcode-intel.d: Updated.
780 * testsuite/gas/i386/opcode-suffix.d: Likewise.
781 * testsuite/gas/i386/opcode.d: Likewise.
782 * testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
784 * testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
785 * testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.
787 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
790 * testsuite/gas/i386/opcode-suffix.d: Updated.
792 2016-11-07 H.J. Lu <hongjiu.lu@intel.com>
795 * testsuite/gas/i386/i386.exp: Run fpu-bad.
796 * testsuite/gas/i386/fpu-bad.d: New file.
797 * testsuite/gas/i386/fpu-bad.s: Likewise.
799 2016-11-04 Nathan Sidwell <nathan@acm.org>
802 * input-scrub.c (partial_size): Make size_t.
803 (buffer_length): Likewise. Adjust meaning.
804 (struct input_save): Adjust partial_size type.
805 (input_scrub_reinit): New.
806 (input_scrub_push, input_scrub_begin): Use it.
807 (input_scrub_next_buffer): Fix buffer extension logic. Only scan
808 newly read buffer for newline.
810 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
812 * config/tc-arc.c (find_opcode_match): Use insert function to
813 validate matching address type operands.
814 * testsuite/gas/arc/nps400-10.d: New file.
815 * testsuite/gas/arc/nps400-10.s: New file.
817 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
819 * config/tc-arm.c (cortex-m33): Declare new processor.
820 * doc/c-arm.texi (-mcpu ARM command line option): Document new
821 Cortex-M33 processor.
822 * NEWS: Mention ARM Cortex-M33 support.
824 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
826 * config/tc-arm.c (cortex-m23): Declare new processor.
827 * doc/c-arm.texi (-mcpu ARM command line option): Document new
828 Cortex-M23 processor.
829 * NEWS: Mention ARM Cortex-M23 support.
831 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
832 Andrew Waterman <andrew@sifive.com>
834 * Makefile.am (CPU_DOCS): Add c-riscv.texi.
835 * Makefile.in: Regenerate.
836 * doc/all.texi: Set RISCV.
837 * doc/as.texinfo: Add RISCV options.
838 Add RISC-V-Dependent node.
839 Include c-riscv.texi.
840 * doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
842 2016-11-03 Graham Markall <graham.markall@embecosm.com>
844 * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm
845 operands are out of the range of an s9, in order to fix the test.
846 * testsuite/gas/arc/nps400-6.d: Updated to match new expected output.
848 2016-11-03 Graham Markall <graham.markall@embecosm.com>
850 * testsuite/gas/arc/nps-400-9.d: Added.
851 * testsuite/gas/arc/nps-400-9.s: Added.
853 2016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
855 * config/tc-arc.c (struct arc_insn): Change type of insn field.
856 (md_number_to_chars_midend): Support 6- and 8-byte values.
857 (emit_insn0): Update debug output.
858 (find_opcode_match): Likewise.
859 (build_fake_opcode_hash_entry): Delete.
860 (find_special_case_long_opcode): Delete.
861 (find_special_case): Remove long format special case handling.
862 (insert_operand): Change instruction type and update debug print
864 (assemble_insn): Change instruction type, update debug print
865 formats, and remove unneeded assert.
867 2016-11-03 Graham Markall <graham.markall@embecosm.com>
869 * config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
872 2016-11-03 Graham Markall <graham.markall@embecosm.com>
874 * config/tc-arc.c (struct arc_insn): Replace short_insn flag with
876 (apply_fixups): Update to use len field.
877 (emit_insn0): Simplify code, making use of len field.
878 (md_convert_frag): Update to use len field.
879 (assemble_insn): Update to use len field.
881 2016-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
883 * config/tc-aarch64.c (aarch64_cpus): Add falkor.
884 * config/tc-arm.c (arm_cpus): Likewise.
885 * doc/c-aarch64.texi: Likewise.
886 * doc/c-arm.texi: Likewise.
888 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
891 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
892 * testsuite/gas/i386/opcode-intel.d: Updated.
893 * testsuite/gas/i386/opcode.d: Likewise.
895 2016-11-02 Jiong Wang <jiong.wang@arm.com>
897 * config/tc-arm.c (SBIT_SHIFT): New.
898 (T2_SBIT_SHIFT): Likewise.
899 (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
900 (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
902 * testsuite/gas/arm/archv6t2-bad.s: New error case.
903 * testsuite/gas/arm/archv6t2-bad.l: New error match.
904 * testsuite/gas/arm/archv6t2.s: New testcase.
905 * testsuite/gas/arm/archv6t2.d: New expected result.
906 * testsuite/gas/arm/archv8m.s: New testcase.
907 * testsuite/gas/arm/archv8m-base.d: New expected result.
908 * testsuite/gas/arm/archv8m-main.d: Likewise.
909 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
911 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
913 * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
914 (cpu_noarch): Add noavx512_4vnniw.
915 * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
916 * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
917 * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
918 * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
919 * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
920 * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
921 * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
922 * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
923 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
924 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
925 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
926 * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
927 * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
928 * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
930 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
932 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
933 (cpu_noarch): Add noavx512_4fmaps.
934 (process_operands): Handle implicit quad group.
935 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
936 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
937 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
938 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
939 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
940 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
941 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
942 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
943 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
944 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
945 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
946 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
947 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
948 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
949 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
950 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
951 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
952 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
953 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
954 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
955 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
956 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
958 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
959 Andrew Waterman <andrew@sifive.com>
961 Add support for RISC-V architecture.
962 * Makefile.am: Add riscv files.
963 * Makefile.in: Regenerate.
964 * NEWS: Mention the support for this architecture.
965 * configure.in: Define a default architecture.
966 * configure: Regenerate.
967 * configure.tgt: Add entries for riscv.
968 * doc/as.texinfo: Likewise.
969 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
970 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
971 * config/tc-riscv.c: New file.
972 * config/tc-riscv.h: New file.
973 * doc/c-riscv.texi: New file.
974 * testsuite/gas/riscv: New directory.
975 * testsuite/gas/riscv/riscv.exp: New file.
976 * testsuite/gas/riscv/t_insns.d: New file.
977 * testsuite/gas/riscv/t_insns.s: New file.
979 2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
981 * config/tc-arc.c (arc_target): Delete.
982 (arc_target_name): Delete.
983 (arc_features): Delete.
984 (arc_mach_type): Delete.
985 (mach_type_specified_p): Delete.
986 (enum mach_selection_type): New enum.
987 (mach_selection_mode): New static global.
988 (selected_cpu): New static global.
989 (arc_eflag): Rename to ...
990 (arc_initial_eflag): ...this, and make const.
991 (arc_select_cpu): Update comment, new parameter, check how
992 previous machine type selection was made, and record this
993 selection. Use selected_cpu instead of old globals.
994 (arc_option): Remove use of arc_get_mach, instead use
995 arc_select_cpu to validate machine type selection. Use
996 selected_cpu over old globals.
997 (allocate_tok): Use selected_cpu over old globals.
998 (find_opcode_match): Likewise.
999 (assemble_tokens): Likewise.
1000 (arc_cons_fix_new): Likewise.
1001 (arc_extinsn): Likewise.
1002 (arc_extcorereg): Likewise.
1003 (md_begin): Update default machine type selection, use
1004 selected_cpu over old globals.
1005 (md_parse_option): Update machine type selection option handling,
1006 use selected_cpu over old globals.
1007 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
1009 2016-10-26 Alan Modra <amodra@gmail.com>
1011 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
1012 * config/rl78-parse.y: Do use old %name-prefix syntax.
1013 * config/rx-parse.y: Likewise.
1015 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
1017 * config/tc-i386.c (cpu_arch): Remove .pcommit.
1018 * doc/c-i386.texi: Likewise.
1019 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
1020 * testsuite/gas/i386/pcommit-intel.d: Removed.
1021 * testsuite/gas/i386/pcommit.d: Likewise.
1022 * testsuite/gas/i386/pcommit.s: Likewise.
1023 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
1024 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
1025 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
1027 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
1030 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
1031 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
1032 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
1034 2016-10-19 Renlin Li <renlin.li@arm.com>
1036 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
1037 for register-shifted register instructions.
1038 * testsuite/gas/arm/shift-bad-pc.d: New.
1039 * testsuite/gas/arm/shift-bad-pc.l: New.
1040 * testsuite/gas/arm/shift-bad-pc.s: New.
1042 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
1044 * testsuite/arc/dis-inv.d: Fixed matching.
1046 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
1048 * testsuite/arc/dis-inv.s: Test to validate patch.
1049 * testsuite/arc/dis-inv.d: Likewise.
1051 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
1053 * testsuite/gas/arc/shortlimm_a7.d: New file.
1054 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
1055 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
1056 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
1058 2016-10-11 Nick Clifton <nickc@redhat.com>
1060 * gas/arm/tls.d: Adjust output to match change in objdump.
1062 2016-10-11 Jiong Wang <jiong.wang@arm.com>
1065 * testsuite/gas/aarch64/alias-2.d: Update expected results.
1067 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1069 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
1070 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
1071 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
1072 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
1073 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
1074 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
1075 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
1076 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
1077 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
1079 2016-10-08 Alan Modra <amodra@gmail.com>
1081 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
1082 config/rx-parse.y. Move config/bfin-parse.y.
1083 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
1084 ($(srcdir)/config/rl78-defs.h): New rule.
1085 * Makefile.in: Regenerate.
1087 2016-10-07 Jiong Wang <jiong.wang@arm.com>
1090 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
1092 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
1094 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
1096 * testsuite/gas/arc/leave_enter.d: New file.
1097 * testsuite/gas/arc/leave_enter.s: Likewise.
1098 * testsuite/gas/arc/regnames.d: Likewise.
1099 * testsuite/gas/arc/regnames.s: Likewise.
1100 * config/tc-arc.c (arc_parse_name): Don't match reg names against
1101 confirmed symbol names.
1103 2016-10-06 Alan Modra <amodra@gmail.com>
1105 * app.c (do_scrub_chars): Move fall through comment.
1106 * expr.c (operand): Likewise.
1108 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
1111 * dw2gencfi.c (dot_cfi_sections): Refine the check for
1112 inconsistent .cfi_sections to only consider compact vs non
1114 * testsuite/gas/cfi/cfi-common-9.d: New file.
1115 * testsuite/gas/cfi/cfi-common-9.s: New file.
1116 * testsuite/gas/cfi/cfi.exp: Run new test.
1118 2016-10-06 Alan Modra <amodra@gmail.com>
1120 * app.c: Add missing fall through comments.
1121 * dw2gencfi.c: Likewise.
1123 * config/tc-alpha.c: Likewise.
1124 * config/tc-arc.c: Likewise.
1125 * config/tc-arm.c: Likewise.
1126 * config/tc-cr16.c: Likewise.
1127 * config/tc-crx.c: Likewise.
1128 * config/tc-dlx.c: Likewise.
1129 * config/tc-h8300.c: Likewise.
1130 * config/tc-hppa.c: Likewise.
1131 * config/tc-i370.c: Likewise.
1132 * config/tc-i386.c: Likewise.
1133 * config/tc-i960.c: Likewise.
1134 * config/tc-ia64.c: Likewise.
1135 * config/tc-m68hc11.c: Likewise.
1136 * config/tc-m68k.c: Likewise.
1137 * config/tc-mep.c: Likewise.
1138 * config/tc-metag.c: Likewise.
1139 * config/tc-microblaze.c: Likewise.
1140 * config/tc-mips.c: Likewise.
1141 * config/tc-ns32k.c: Likewise.
1142 * config/tc-rx.c: Likewise.
1143 * config/tc-score.c: Likewise.
1144 * config/tc-score7.c: Likewise.
1145 * config/tc-sh.c: Likewise.
1146 * config/tc-tic4x.c: Likewise.
1147 * config/tc-vax.c: Likewise.
1148 * config/tc-xstormy16.c: Likewise.
1149 * config/tc-z80.c: Likewise.
1150 * config/tc-z8k.c: Likewise.
1151 * config/obj-elf.c: Likewise.
1152 * config/tc-i386.c: Likewise.
1153 * depend.c: Spell fall through comments consistently.
1154 * config/tc-arm.c: Likewise.
1155 * config/tc-d10v.c: Likewise.
1156 * config/tc-i960.c: Likewise.
1157 * config/tc-ia64.c: Likewise.
1158 * config/tc-m68k.c: Likewise.
1159 * config/tc-mcore.c: Likewise.
1160 * config/tc-mep.c: Likewise.
1161 * config/tc-ns32k.c: Likewise.
1162 * config/tc-visium.c: Likewise.
1163 * config/tc-xstormy16.c: Likewise.
1164 * config/tc-z8k.c: Likewise.
1166 2016-10-06 Alan Modra <amodra@gmail.com>
1168 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
1170 2016-10-06 Alan Modra <amodra@gmail.com>
1172 * config/tc-arc.c (find_opcode_match): Add missing break.
1173 * config/tc-i960.c (get_cdisp): Likewise.
1174 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
1175 * config/tc-mt.c (md_parse_option): Likewise.
1176 * config/tc-nds32.c (nds32_apply_fix): Likewise.
1177 * config/tc-hppa.c (pa_ip): Assert rather than testing last
1178 condition of multiple if statements.
1179 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
1180 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
1181 out of case rather than falling into next case. Formatting.
1183 2016-10-06 Alan Modra <amodra@gmail.com>
1185 * config/rl78-parse.y: Don't use deprecated %name-prefix.
1186 * config/rx-parse.y: Likewise.
1188 2016-09-29 Jiong Wang <jiong.wang@arm.com>
1191 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
1192 testcases for H and S variants. New low index testcases for D variant.
1193 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
1195 2016-09-29 Alan Modra <amodra@gmail.com>
1197 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
1198 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
1199 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
1201 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1203 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
1206 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
1208 * Makefile.in: Regenerate.
1209 * configure: Likewise.
1210 * doc/Makefile.in: Likewise.
1212 2016-09-26 Alan Modra <amodra@gmail.com>
1214 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
1215 (md_pseudo_table <ELF>): Handle "gnu_attribute".
1217 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1219 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
1220 register and redundant basepri_max.
1222 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1224 * config/tc-aarch64.c (print_operands): Print spaces between
1226 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
1228 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
1229 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
1230 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
1231 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
1232 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
1233 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
1234 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1235 * testsuite/gas/aarch64/sve.d: Likewise.
1236 * testsuite/gas/aarch64/symbol.d: Likewise.
1237 * testsuite/gas/aarch64/system.d: Likewise.
1238 * testsuite/gas/aarch64/tls-desc.d: Likewise.
1239 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
1240 in suggested alternatives.
1241 * testsuite/gas/aarch64/verbose-error.l: Likewise.
1243 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1245 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
1246 rather than "should be" or "expected to be" in error messages.
1247 (parse_operands): Likewise.
1248 * testsuite/gas/aarch64/diagnostic.l: Likewise.
1249 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
1250 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
1251 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
1253 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1255 * config/tc-aarch64.c (opcode_lookup): Search for the end of
1256 a condition name, rather than assuming that it will have exactly
1258 (parse_operands): Likewise.
1259 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
1260 to the expected output.
1261 * testsuite/gas/aarch64/beq_1.d: Likewise.
1262 * testsuite/gas/aarch64/float-fp16.d: Likewise.
1263 * testsuite/gas/aarch64/int-insns.d: Likewise.
1264 * testsuite/gas/aarch64/no-aliases.d: Likewise.
1265 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
1266 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1267 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
1270 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1272 * testsuite/gas/aarch64/diagnostic.s,
1273 testsuite/gas/aarch64/diagnostic.l: Add tests for
1274 invalid uses of MUL VL and MUL in base AArch64 instructions.
1275 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
1276 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
1277 testsuite/gas/aarch64/sve-invalid.s,
1278 testsuite/gas/aarch64/sve-invalid.d,
1279 testsuite/gas/aarch64/sve-invalid.l,
1280 testsuite/gas/aarch64/sve-reg-diagnostic.s,
1281 testsuite/gas/aarch64/sve-reg-diagnostic.d,
1282 testsuite/gas/aarch64/sve-reg-diagnostic.l,
1283 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
1285 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1287 * doc/c-aarch64.texi: Document the "sve" feature.
1288 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
1289 (get_reg_expected_msg): Handle it.
1290 (parse_operands): When parsing operands of an SVE instruction,
1291 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
1292 (aarch64_features): Add an entry for SVE.
1294 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1296 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
1297 and FP register operands.
1299 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1301 * config/tc-aarch64.c (double_precision_operand_p): New function.
1302 (parse_operands): Use it to calculate the dp_p input to
1303 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
1305 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1307 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
1310 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1312 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
1314 (parse_shift): Handle SHIFTED_MUL_VL.
1315 (parse_address_main): Add an imm_shift_mode parameter.
1316 (parse_address, parse_sve_address): Update accordingly.
1317 (parse_operands): Handle MUL VL addressing modes.
1319 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1321 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
1323 (get_reg_expected_msg): Handle them.
1324 (aarch64_addr_reg_parse): New function, split out from
1325 aarch64_reg_parse_32_64. Handle Z registers too.
1326 (aarch64_reg_parse_32_64): Call it.
1327 (parse_address_main): Add base_qualifier, offset_qualifier,
1328 base_type and offset_type parameters. Handle SVE base and offset
1330 (parse_address): Update call to parse_address_main.
1331 (parse_sve_address): New function.
1332 (parse_operands): Parse the new SVE address operands.
1334 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1336 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
1337 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
1338 shift modes. Skip range tests for AARCH64_MOD_MUL.
1339 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
1340 (parse_operands): Likewise.
1342 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1344 * config/tc-aarch64.c (parse_enum_string): New function.
1345 (po_enum_or_fail): New macro.
1346 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
1347 AARCH64_OPND_SVE_PRFOP.
1349 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1351 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
1352 (parse_vector_type_for_operand): Assert that the skipped character
1354 (parse_predication_for_operand): New function.
1355 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
1356 (vectype_to_qualifier): Handle NT_zero and NT_merge.
1358 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1360 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
1361 (AARCH64_REG_TYPES): Add ZN and PN.
1362 (get_reg_expected_msg): Handle them.
1363 (parse_vector_type_for_operand): Add a reg_type parameter.
1364 Skip the width for Zn and Pn registers.
1365 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
1366 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
1367 expecting the width to be 0.
1368 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
1370 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
1371 (parse_operands): Handle the new Zn and Pn operands.
1372 (REGSET16): New macro, split out from...
1373 (REGSET31): ...here.
1374 (reg_names): Add Zn and Pn entries.
1376 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1378 * config/tc-aarch64.c (output_operand_error_record): Handle
1379 AARCH64_OPDE_UNTIED_OPERAND.
1381 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1383 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
1384 instruction with all-NIL qualifiers to fail to match.
1386 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1388 * config/tc-aarch64.c (parse_address_main): Remove reloc and
1389 accept_reg_post_index parameters. Parse relocations and register
1390 post indexes unconditionally.
1391 (parse_address): Remove accept_reg_post_index parameter.
1392 Update call to parse_address_main.
1393 (parse_address_reloc): Delete.
1394 (parse_operands): Call parse_address instead of parse_address_main.
1395 Update existing callers of parse_address and make them check
1396 inst.reloc.type where appropriate.
1397 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
1398 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
1399 Also test for invalid uses of post-index register addressing.
1400 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1402 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1404 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
1406 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
1407 (aarch64_check_reg_type): Simplify.
1408 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
1409 register number. Return the type as a qualifier rather than an
1410 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
1412 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
1413 Use get_reg_expected_msg.
1414 (parse_address_main): Likewise. Use aarch64_check_reg_type.
1415 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
1416 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
1417 Use aarch64_check_reg_type to test the result.
1418 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
1419 addresses normally before enforcing the syntax restrictions.
1420 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
1421 zero register and for a stack pointer index.
1422 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1423 Also update existing diagnostic messages after the above changes.
1424 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
1425 for 32-bit register bases.
1427 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1429 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
1430 (parse_operands): Check the range of 8-bit FP immediates here instead.
1432 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1434 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
1435 low-severity error for registers.
1436 (parse_operands): Report an invalid floating point constant for
1437 if parsing an FPIMM8 fails, and if no better error has been
1439 * testsuite/gas/aarch64/diagnostic.s,
1440 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
1443 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1445 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
1447 (can_convert_double_to_float): ...this. Accept any double-precision
1448 value that converts to single precision without loss of precision.
1449 (parse_aarch64_imm_float): Update accordingly.
1451 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1453 * config/tc-aarch64.c (parse_immediate_expression): Add a
1455 (parse_constant_immediate): Likewise, and update calls.
1456 (parse_aarch64_imm_float): Likewise.
1457 (parse_big_immediate): Likewise.
1458 (po_imm_nc_or_fail): Update accordingly, passing down a new
1459 imm_reg_type variable.
1460 (po_imm_of_fail): Likewise.
1461 (parse_operands): Likewise.
1463 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1465 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
1466 (parse_vector_reg_list): ...this and take a register type
1468 (parse_operands): Update accordingly.
1470 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1472 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
1473 (parse_vector_type_for_operand): ...this.
1474 (parse_typed_reg): Update accordingly.
1476 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1478 * config/tc-aarch64.c (neon_type_el): Rename to...
1479 (vector_type_el): ...this.
1480 (parse_neon_type_for_operand): Update accordingly.
1481 (parse_typed_reg): Likewise.
1482 (aarch64_reg_parse): Likewise.
1483 (vectype_to_qualifier): Likewise.
1484 (parse_operands): Likewise.
1485 (eq_neon_type_el): Likewise. Rename to...
1486 (eq_vector_type_el): ...this.
1487 (parse_neon_reg_list): Update accordingly.
1489 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1491 * config/tc-aarch64.c (neon_el_type: Rename to...
1492 (vector_el_type): ...this.
1493 (neon_type_el): Update accordingly.
1494 (parse_neon_type_for_operand): Likewise.
1495 (vectype_to_qualifier): Likewise.
1497 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1499 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
1500 (parse_typed_reg): Call parse_neon_type_for_operand directly.
1502 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
1504 * testsuite/gas/arc/textinsnxop.d: New file.
1505 * testsuite/gas/arc/textinsnxop.s: Likewise.
1507 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
1509 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1510 dcti-couples-v9 only in ELF targets to avoid spurious failures in
1511 sparc-aout and sparc-coff targets.
1513 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
1515 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
1516 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
1517 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
1518 <copy, paste.>: Update tests.
1519 * testsuite/gas/ppc/power9.s: Likewise.
1521 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1523 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
1524 in "architecture mismatch" error messages.
1526 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1528 * config/tc-sparc.c (md_assemble): Detect and warning on
1529 unpredictable DCTI couples in certain arches.
1530 (dcti_couples_detect): New global.
1531 (md_longopts): Add command line option -dcti-couples-detect.
1532 (md_show_usage): Document -dcti-couples-detect.
1533 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
1534 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1535 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
1536 * testsuite/gas/sparc/dcti-couples.s: New file.
1537 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
1538 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
1539 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
1540 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
1541 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
1542 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
1543 * doc/c-sparc.texi (Sparc-Opts): Likewise.
1545 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
1547 * testsuite/gas/arc/tls-relocs2.d: New file.
1548 * testsuite/gas/arc/tls-relocs2.s: Likewise.
1549 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
1552 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1554 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
1556 * doc/as.texinfo: Document new arch strings.
1557 * doc/c-s390.texi: Likewise.
1559 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1561 * config/tc-s390.c: Set all facitily bits by default
1563 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
1565 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
1567 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
1569 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
1572 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
1574 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
1575 (set_cpu_arch): Updated.
1576 (md_parse_option): Likewise.
1577 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
1578 iamcu-inval-2 and iamcu-inval-3.
1579 * testsuite/gas/i386/iamcu-4.d: New file.
1580 * testsuite/gas/i386/iamcu-4.s: Likewise.
1581 * testsuite/gas/i386/iamcu-5.d: Likewise.
1582 * testsuite/gas/i386/iamcu-5.s: Likewise.
1583 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
1584 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
1585 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
1586 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
1588 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
1590 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
1591 ARMv8-A CPUs except xgene1.
1593 2016-08-31 Alan Modra <amodra@gmail.com>
1595 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
1596 ppc_cpu rather than calling ppc_mach to determine VLE mode.
1597 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
1599 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
1601 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
1603 * testsuite/gas/sparc/crypto.s: Likewise.
1605 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1607 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
1608 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
1609 their lowecase counterpart special registers. Write register
1611 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
1612 operation, special register and then case. Use different register for
1613 each operation. Add tests for new special registers.
1614 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
1616 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1617 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1619 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
1621 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
1623 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
1625 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1626 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1627 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1629 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
1631 * config/tc-i386.c (cpu_arch): Add .ptwrite.
1632 * doc/c-i386.texi: Document ptwrite and .ptwrite.
1633 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
1634 x86-64-ptwrite and x86-64-ptwrite-intel.
1635 * testsuite/gas/i386/ptwrite-intel.d: New file.
1636 * testsuite/gas/i386/ptwrite.d: Likewise.
1637 * testsuite/gas/i386/ptwrite.s: Likewise.
1638 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
1639 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
1640 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
1642 2016-08-19 Tamar Christina <tamar.christina@arm.com>
1644 * config/tc-arm.c (do_co_reg2c): Added constraint.
1645 * testsuite/gas/arm/dest-unpredictable.s: New.
1646 * testsuite/gas/arm/dest-unpredictable.l: New.
1647 * testsuite/gas/arm/dest-unpredictable.d: New.
1649 2016-08-19 Nick Clifton <nickc@redhat.com>
1651 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
1652 ordering of sections.
1653 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1654 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
1655 * testsuite/gas/ia64/alias.d: Likewise.
1656 * testsuite/gas/ia64/group-1.d: Likewise.
1657 * testsuite/gas/ia64/group-2.d: Likewise.
1658 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
1659 * testsuite/gas/ia64/secname.d: Likewise.
1660 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
1661 * testsuite/gas/ia64/unwind.d: Likewise.
1662 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
1663 * testsuite/gas/ia64/xdata.d: Likewise.
1664 * testsuite/gas/mmix/bspec-1.d: Likewise.
1665 * testsuite/gas/mmix/bspec-2.d: Likewise.
1666 * testsuite/gas/mmix/byte-1.d: Likewise.
1667 * testsuite/gas/mmix/loc-1.d: Likewise.
1668 * testsuite/gas/mmix/loc-2.d: Likewise.
1669 * testsuite/gas/mmix/loc-3.d: Likewise.
1670 * testsuite/gas/mmix/loc-4.d: Likewise.
1671 * testsuite/gas/mmix/loc-5.d: Likewise.
1672 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1674 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
1676 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
1677 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
1678 Add tests for -0.0. Add an end-of-file comment.
1680 2016-08-05 Nick Clifton <nickc@redhat.com>
1683 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
1684 registers are pushed.
1685 (do_vfp_nsyn_pop): Check that no more than 16 registers are
1687 * testsuite/gas/arm/pr20429.s: New test.
1688 * testsuite/gas/arm/pr20429.d: New test driver.
1689 * testsuite/gas/arm/pr20429.1: Expected error output.
1692 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
1694 (aarch64_init): Treat rs_align frags in code sections as
1695 containing code, not data.
1696 * testsuite/gas/aarch64/pr20364.s: New test.
1697 * testsuite/gas/aarch64/pr20364.d: New test driver.
1699 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
1702 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
1703 of 64-bit relocation types when assembling for a 32-bit Solaris
1706 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
1708 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
1710 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
1711 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
1712 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
1713 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
1715 (sparc_elf_setup): Delete.
1716 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
1719 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1721 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
1722 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
1723 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
1724 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
1725 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
1726 (get_append_method): Also return APPEND_ADD_COMPACT for
1727 microMIPS instructions.
1728 (find_altered_mips16_opcode): Exclude macros from matching.
1730 (find_altered_opcode): ... to this new function.
1731 (find_altered_micromips_opcode): New function.
1732 (frag_branch_delay_slot_size): Likewise.
1733 (append_insn): Handle microMIPS branch/jump compaction.
1734 (macro_start): Likewise.
1735 (relaxed_micromips_32bit_branch_length): Likewise.
1736 (md_convert_frag): Likewise.
1737 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
1738 for delay slot filling.
1739 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
1741 * testsuite/gas/mips/micromips-size-1.s: Likewise.
1742 * testsuite/gas/mips/micromips.l: Adjust line numbers.
1743 * testsuite/gas/mips/micromips-warn.l: Likewise.
1744 * testsuite/gas/mips/micromips-size-1.l: Likewise.
1745 * testsuite/gas/mips/micromips.d: Adjust padding.
1746 * testsuite/gas/mips/micromips-trap.d: Likewise.
1747 * testsuite/gas/mips/micromips-insn32.d: Likewise.
1748 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1749 * testsuite/gas/mips/micromips@beq.d: Update patterns for
1750 branch/jump compaction.
1751 * testsuite/gas/mips/micromips@bge.d: Likewise.
1752 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
1753 * testsuite/gas/mips/micromips@blt.d: Likewise.
1754 * testsuite/gas/mips/micromips@bltu.d: Likewise.
1755 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
1756 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
1757 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
1758 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
1759 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
1760 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1761 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1762 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
1764 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
1766 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
1767 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
1768 * testsuite/gas/mips/micromips@relax.d: Likewise.
1769 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
1770 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
1771 * testsuite/gas/mips/branch-extern-2.d: Likewise.
1772 * testsuite/gas/mips/branch-extern-4.d: Likewise.
1773 * testsuite/gas/mips/branch-section-2.d: Likewise.
1774 * testsuite/gas/mips/branch-section-4.d: Likewise.
1775 * testsuite/gas/mips/branch-weak-2.d: Likewise.
1776 * testsuite/gas/mips/branch-weak-5.d: Likewise.
1777 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
1778 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1779 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1780 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
1782 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1784 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1786 * testsuite/gas/mips/micromips-compact.d: New test.
1787 * testsuite/gas/mips/mips.exp: Run the new test.
1789 2016-07-27 Graham Markall <graham.markall@embecosm.com>
1791 * config/tc-arc.c: Add new global arc_addrtype_hash.
1792 Define O_colon and O_addrtype.
1793 (debug_exp): Add O_colon and O_addrtype.
1794 (tokenize_arguments): Handle colon and address type
1796 (declare_addrtype): New function.
1797 (md_begin): Initialise arc_addrtype_hash.
1798 (arc_parse_name): Add lookup of address types.
1799 (assemble_insn): Handle colons and address types by
1801 * testsuite/gas/arc/nps400-8.s: New file.
1802 * testsuite/gas/arc/nps400-8.d: New file.
1803 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
1804 * testsuite/gas/arc/nps400-8.d: Add expected PMU
1807 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1809 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
1810 (RELAX_MICROMIPS_INSN32): New macro.
1811 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1812 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
1813 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
1814 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
1815 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
1817 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
1819 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
1821 (md_convert_frag): Likewise.
1822 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
1824 * testsuite/gas/mips/micromips-branch-relax.l: Update line
1825 numbers accordingly.
1826 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
1827 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
1828 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
1830 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
1832 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
1834 * testsuite/gas/mips/mips.exp: Run the new tests.
1836 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1838 * configure: Regenerated.
1840 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
1842 * testsuite/gas/arc/dsp.d: New file.
1843 * testsuite/gas/arc/dsp.s: Likewise.
1844 * testsuite/gas/arc/fpu.d: Likewise.
1845 * testsuite/gas/arc/fpu.s: Likewise.
1846 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
1847 * testsuite/gas/arc/ext3op.d: Likewise.
1848 * testsuite/gas/arc/tdpfp.d: Likewise.
1849 * testsuite/gas/arc/tfpuda.d: Likewise.
1851 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
1853 * config/tc-mips.c (mips_force_relocation): Remove
1854 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
1856 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1858 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
1859 Adjust comments for BAL to JALX linker conversion.
1860 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
1861 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
1863 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
1864 * testsuite/gas/mips/branch-local-4.d: New test.
1865 * testsuite/gas/mips/branch-local-n32-4.d: New test.
1866 * testsuite/gas/mips/branch-local-n64-4.d: New test.
1867 * testsuite/gas/mips/branch-addend.d: New test.
1868 * testsuite/gas/mips/branch-addend-n32.d: New test.
1869 * testsuite/gas/mips/branch-addend-n64.d: New test.
1870 * testsuite/gas/mips/branch-local-4.s: New test source.
1871 * testsuite/gas/mips/branch-addend.s: New test source.
1872 * testsuite/gas/mips/mips.exp: Run the new tests.
1874 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1876 * config/tc-mips.c (mips_force_relocation): Also retain branch
1877 relocations against MIPS16 and microMIPS symbols.
1878 (fix_bad_cross_mode_jump_p): New function.
1879 (fix_bad_same_mode_jalx_p): Likewise.
1880 (fix_bad_misaligned_jump_p): Likewise.
1881 (fix_bad_cross_mode_branch_p): Likewise.
1882 (fix_bad_misaligned_branch_p): Likewise.
1883 (fix_validate_branch): Likewise.
1884 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
1885 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
1886 etc. Verify the ISA mode and alignment of the jump target.
1887 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
1888 with a call to `fix_validate_branch'.
1889 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
1890 <BFD_RELOC_16_PCREL_S2>: Likewise.
1891 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1892 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
1893 Verify the ISA mode and alignment of the branch target.
1894 (md_convert_frag): Verify the ISA mode and alignment of resolved
1895 MIPS16 branch targets.
1896 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
1897 branch targets with `.insn'.
1898 * testsuite/gas/mips/branch-misc-5.s: Likewise.
1899 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
1901 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1902 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
1903 non-instruction branch target with `.insn'.
1904 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
1905 with external symbols.
1906 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
1907 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1908 * testsuite/gas/mips/micromips-trap.d: Likewise.
1909 * testsuite/gas/mips/micromips.d: Likewise.
1910 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
1911 targets with `.insn'.
1912 * testsuite/gas/mips/mips16.d: Update accordingly.
1913 * testsuite/gas/mips/mips16-64.d: Likewise.
1914 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
1915 branch target with `.insn'.
1916 * testsuite/gas/mips/relax-swap3.s: Likewise.
1917 * testsuite/gas/mips/branch-local-2.l: New list test.
1918 * testsuite/gas/mips/branch-local-3.l: New list test.
1919 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
1920 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
1921 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
1922 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
1923 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
1924 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
1925 * testsuite/gas/mips/unaligned-jump-3.d: New test.
1926 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
1927 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
1928 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1929 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1931 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1933 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
1934 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
1935 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
1936 * testsuite/gas/mips/unaligned-branch-3.d: New test.
1937 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
1938 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
1939 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
1940 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
1941 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
1942 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
1943 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
1944 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
1945 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
1946 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
1948 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
1950 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
1951 * testsuite/gas/mips/branch-local-2.s: New test source.
1952 * testsuite/gas/mips/branch-local-3.s: New test source.
1953 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
1954 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
1955 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
1956 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1957 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1958 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1959 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1960 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1961 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1963 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1965 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1966 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1967 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1968 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1969 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1970 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1971 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1973 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1975 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1977 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1979 * testsuite/gas/mips/mips.exp: Run the new tests.
1981 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1983 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1985 (do_pseudo_b): Adjust.
1986 (do_pseudo_bal): Likewise.
1987 (do_pseudo_bge): Likewise.
1988 (do_pseudo_bges): Likewise.
1989 (do_pseudo_bgt): Likewise.
1990 (do_pseudo_bgts): Likewise.
1991 (do_pseudo_ble): Likewise.
1992 (do_pseudo_bles): Likewise.
1993 (do_pseudo_blt): Likewise.
1994 (do_pseudo_blts): Likewise.
1995 (do_pseudo_br): Likewise.
1996 (do_pseudo_bral): Likewise.
1997 (do_pseudo_la): Likewise.
1998 (do_pseudo_li): Likewise.
1999 (do_pseudo_ls_bhw): Likewise.
2000 (do_pseudo_ls_bhwp): Likewise.
2001 (do_pseudo_ls_bhwpc): Likewise.
2002 (do_pseudo_ls_bhwi): Likewise.
2003 (do_pseudo_move): Likewise.
2004 (do_pseudo_neg): Likewise.
2005 (do_pseudo_not): Likewise.
2006 (do_pseudo_pushpopm): Likewise.
2007 (do_pseudo_pushpop): Likewise.
2008 (do_pseudo_v3push): Likewise.
2009 (do_pseudo_v3pop): Likewise.
2010 (do_pseudo_pushpop_stack): Likewise.
2011 (do_pseudo_push_bhwd): Likewise.
2012 (do_pseudo_pop_bhwd): Likewise.
2013 (do_pseudo_pusha): Likewise.
2014 (do_pseudo_pushi): Likewise.
2016 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2018 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
2019 bfd_reloc_code_real_type.
2021 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2023 * config/tc-sparc.c (pop_table): Remove sentinel.
2024 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
2027 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2029 * config/tc-z8k.c (newfix): Make type of type argument
2030 bfd_reloc_code_real_type.
2031 (apply_fix): Likewise.
2033 2016-07-16 Alan Modra <amodra@gmail.com>
2035 * config/tc-epiphany.c: Don't include libbfd.h.
2036 * config/tc-frv.c: Likewise.
2037 * config/tc-ip2k.c: Likewise.
2038 * config/tc-iq2000.c: Likewise.
2039 * config/tc-m32c.c: Likewise.
2040 * config/tc-mep.c: Likewise.
2041 * config/tc-mt.c: Likewise.
2042 * config/tc-nios2.c: Likewise.
2044 2016-07-16 Alan Modra <amodra@gmail.com>
2046 * config/bfin-parse.y: Don't include libbfd.h.
2047 * config/tc-bfin.c: Likewise.
2048 * config/tc-rl78.c: Likewise.
2049 * config/tc-rx.c: Likewise.
2050 * config/tc-metag.c: Likewise.
2051 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
2052 * Makefile.am: Update dependencies.
2053 * Makefile.in: Regenerate.
2055 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2057 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
2058 (mips_force_relocation_abs): New prototype.
2059 * config/tc-mips.c (mips_force_relocation_abs): New function.
2060 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
2061 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
2062 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
2063 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
2064 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
2066 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
2068 * testsuite/gas/mips/branch-absolute-addend.d: New test.
2069 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
2070 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
2072 * testsuite/gas/mips/mips.exp: Run the new tests.
2074 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2076 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
2077 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
2078 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
2080 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
2081 in `bar', export `foo'.
2082 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
2084 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
2085 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
2086 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
2088 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
2091 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2093 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
2094 * testsuite/gas/mips/branch-absolute.d: New test.
2095 * testsuite/gas/mips/branch-absolute-n32.d: New test.
2096 * testsuite/gas/mips/branch-absolute-n64.d: New test.
2097 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
2098 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
2099 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
2100 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
2101 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
2103 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
2105 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
2106 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
2107 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
2108 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
2110 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
2112 * testsuite/gas/mips/branch-absolute.s: New test source.
2113 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
2114 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
2116 * testsuite/gas/mips/micromips-branch-absolute.s: New test
2118 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
2120 * testsuite/gas/mips/mips.exp: Run the new tests.
2122 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
2124 * testsuite/gas/mips/nal-1.d: New test.
2125 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
2126 * testsuite/gas/mips/nal-2.d: New test.
2127 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
2128 * testsuite/gas/mips/nal.s: New test source.
2129 * testsuite/gas/mips/mips.exp: Run the new tests.
2131 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
2133 * testsuite/gas/sparc/ldtxa.s: New file.
2134 * testsuite/gas/sparc/ldtxa.d: Likewise.
2135 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
2137 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
2139 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
2140 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
2141 as it is no longer needed.
2143 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
2145 * config/tc-mips.c (append_insn): Remove extraneous
2146 `install_insn' call.
2148 2016-07-04 Jan Beulich <jbeulich@suse.com>
2150 * config/tc-i386.c (check_qword_reg): Correct register kind
2152 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
2153 16-bit register cases.
2154 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
2157 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2159 * testsuite/gas/mips/ecoff@ld.d: Remove test.
2160 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
2161 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
2162 * testsuite/gas/mips/ecoff@sd.d: Remove test.
2163 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
2164 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
2166 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2167 * testsuite/gas/mips/bge.d: Likewise.
2168 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
2169 * testsuite/gas/mips/bgeu.d: Likewise.
2170 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
2171 * testsuite/gas/mips/blt.d: Likewise.
2172 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
2173 * testsuite/gas/mips/bltu.d: Likewise.
2174 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
2175 * testsuite/gas/mips/branch-likely.d: Likewise.
2176 * testsuite/gas/mips/la.d: Likewise.
2177 * testsuite/gas/mips/lb.d: Likewise.
2178 * testsuite/gas/mips/lifloat.d: Likewise.
2179 * testsuite/gas/mips/sb.d: Likewise.
2180 * testsuite/gas/mips/uld.d: Likewise.
2181 * testsuite/gas/mips/ulh.d: Likewise.
2182 * testsuite/gas/mips/ulw.d: Likewise.
2183 * testsuite/gas/mips/usd.d: Likewise.
2184 * testsuite/gas/mips/ush.d: Likewise.
2185 * testsuite/gas/mips/usw.d: Likewise.
2187 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2189 * testsuite/gas/mips/branch-misc-2.s: Move non
2190 locally-defined-global symbol tests...
2191 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
2192 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
2193 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
2194 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
2195 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
2196 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
2197 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
2198 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
2199 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
2200 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
2201 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
2202 * testsuite/gas/mips/branch-misc-5.d: New test.
2203 * testsuite/gas/mips/branch-misc-5pic.d: New test.
2204 * testsuite/gas/mips/branch-misc-5-64.d: New test.
2205 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
2206 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
2207 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
2208 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
2209 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
2210 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
2211 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
2212 * testsuite/gas/mips/mips.exp: Run the new tests.
2214 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2216 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
2218 * testsuite/gas/mips/beq.d: Update accordingly.
2219 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2220 * testsuite/gas/mips/micromips@beq.d: Likewise.
2222 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2224 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
2225 tests to NewABI targets.
2227 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2229 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
2232 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2234 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
2236 (aarch64_features): Initialize require fields.
2237 (aarch64_parse_features): Handle dependencies.
2238 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
2239 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
2240 * testsuite/gas/aarch64/illegal-nofp16.s: New.
2241 * testsuite/gas/aarch64/illegal-nofp16.l: New.
2242 * testsuite/gas/aarch64/illegal-nofp16.d: New.
2244 2016-07-01 Nick Clifton <nickc@redhat.com>
2246 * macro.c (macro_expand_body): Use a buffer big enough to hold an
2247 extremely large integer.
2249 2016-07-01 Jan Beulich <jbeulich@suse.com>
2251 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
2253 2016-07-01 Tristan Gingold <gingold@adacore.com>
2255 * NEWS: Add marker for 2.27.
2257 2016-07-01 Jan Beulich <jbeulich@suse.com>
2259 * tc-i386.c (i386_index_check): Add special checks for bndmk,
2261 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
2262 as well as scaling by other than 1 tests.
2263 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
2265 2016-07-01 Jan Beulich <jbeulich@suse.com>
2267 * tc-i386.c (md_assemble): Alter address size checking for MPX
2269 * testsuite/gas/i386/mpx-inval-2.s: New.
2270 * testsuite/gas/i386/mpx-inval-2.l: New.
2271 * testsuite/gas/i386/i386.exp: Run new test.
2273 2016-07-01 Jan Beulich <jbeulich@suse.com>
2276 * config/tc-i386.c (match_template): Add char parameter,
2277 consumed in Intel mode for an extra suffix check.
2278 (md_assemble): New local variable mnem_suffix.
2279 * testsuite/gas/i386/suffix-bad.s: New.
2280 * testsuite/gas/i386/suffix-bad.l: New.
2281 * testsuite/gas/i386/i386.exp: Run new test (twice).
2283 2016-07-01 Jan Beulich <jbeulich@suse.com>
2285 * testsuite/gas/i386/movz.s: New.
2286 * testsuite/gas/i386/movz32.d: New.
2287 * testsuite/gas/i386/movz64.d: New.
2288 * testsuite/gas/i386/i386.exp: Run new tests.
2290 2016-07-01 Jan Beulich <jbeulich@suse.com>
2292 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
2293 (md_assemble): Free first memory operand string.
2294 (i386_index_check): Use repprefixok to distingush xlat from
2295 other (real) string ops.
2296 (maybe_adjust_templates): New.
2297 (i386_att_operand). Call it. Store first memory operand string.
2298 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
2299 * testsuite/gas/i386/intel-movs.s: New.
2300 * testsuite/gas/i386/intel-movs32.d: New.
2301 * testsuite/gas/i386/intel-movs64.d: New.
2302 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
2303 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
2305 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2307 * config/tc-mips.c (get_append_method): Fix a comment typo.
2309 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
2310 Maciej W. Rozycki <macro@imgtec.com>
2312 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
2313 case MIPS16 handling.
2314 * testsuite/gas/mips/branch-swap-3.d: New test.
2315 * testsuite/gas/mips/branch-swap-4.d: New test.
2316 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
2317 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
2318 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
2319 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
2320 * testsuite/gas/mips/branch-swap-3.s: New test source.
2321 * testsuite/gas/mips/mips.exp: Run the new tests.
2323 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2325 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
2328 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2331 * write.c (subsegs_finish_section): Force no section padding to
2332 alignment on failed assembly, always set last frag's alignment
2334 * testsuite/gas/all/pr20312.l: New list test.
2335 * testsuite/gas/all/pr20312.s: New test source.
2336 * testsuite/gas/all/gas.exp: Run the new test
2338 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
2340 * config.in (TARGET_WITH_CPU): Undefine.
2341 * configure.ac: Add --with-cpu support, and define in config.h.
2342 * configure: Regenerate.
2343 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
2344 * NEWS: Mention new configure option.
2346 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
2348 * testsuite/gas/arm/armv8_2+rdma.d: New.
2350 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
2352 * NEWS: Mention --enable-compressed-debug-sections=gas is the
2353 default for Linux/x86 targets.
2354 * configure.tgt (ac_default_compressed_debug_sections): Default
2355 to yes for Linux/x86 targets.
2357 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
2359 * write.c: Remove "libbfd.h" inclusion.
2361 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2363 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
2366 2016-06-28 Alan Modra <amodra@gmail.com>
2369 * testsuite/gas/elf/section11.s: Don't start directives in first column.
2371 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
2373 * testsuite/gas/aarch64/diagnostic.s,
2374 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
2376 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2378 * config/tc-mips.c (mips16_reloc_p): Handle
2379 BFD_RELOC_MIPS16_16_PCREL_S1.
2380 (b_reloc_p): Likewise.
2381 (limited_pcrel_reloc_p): Likewise.
2382 (md_pcrel_from): Likewise.
2383 (md_apply_fix): Likewise.
2384 (tc_gen_reloc): Likewise.
2385 (md_convert_frag): Likewise.
2386 (mips_fix_adjustable): Update comment.
2387 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
2388 output, add dump patterns.
2389 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
2390 output, add dump patterns.
2391 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
2392 output, add dump patterns.
2393 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
2394 output, add dump patterns.
2395 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
2396 output, add dump patterns.
2397 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
2398 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
2399 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
2400 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
2401 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
2402 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
2403 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
2404 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
2405 * testsuite/gas/mips/branch-weak-6.d: New test.
2406 * testsuite/gas/mips/branch-weak-7.d: New test.
2407 * testsuite/gas/mips/mips.exp: Run the new tests.
2409 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
2411 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
2412 cfi_add_CFA_def_cfa to generate default CFA with offset
2413 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
2415 2016-06-27 Nick Clifton <nickc@redhat.com>
2418 * as.h (do_not_pad_sections_to_alignment): New global variable.
2419 * as.c (show_usage): Add --no-pad-sections.
2420 (parse_args): Likewise.
2421 * write.c (size_seg): Skip padding the end of the section if
2422 requested from the command line.
2423 (SUB_SEGMENT_ALIGN): Likewise.
2424 * doc/as.texinfo: Document the new option.
2425 * NEWS: Mention the new feature.
2426 * testsuite/gas/elf/section11.s: New test.
2427 * testsuite/gas/elf/section11.d: New test driver.
2428 * testsuite/gas/elf/elf.exp: Run the new test.
2430 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2432 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
2433 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
2435 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2437 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
2439 (map_suffix_reloc_to_operator): Likewise.
2440 (map_operator_to_reloc): Likewise.
2442 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2444 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
2445 element in relax_table.
2447 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2449 * config/tc-aarch64.c: Make the type of reg_entry::type
2452 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2454 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
2455 (md_parse_option): Adjust.
2456 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
2457 with iteration from 0 to ARRAY_SIZE.
2458 * config/tc-mcore.c (md_begin): Likewise.
2459 * config/tc-visium.c (visium_parse_arch): Likewise.
2461 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2463 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
2464 and simplify accordingly.
2465 (tic54x_include): Adjust.
2466 (tic54x_mlib): Likewise.
2468 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2470 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
2472 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
2474 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
2475 unchanged with relaxed MIPS16 instructions.
2476 (mips16_extended_frag): Adjust accordingly. Return 1 right
2477 away if a relocation will be required for the symbol requested.
2478 Remove dead first relaxation pass code.
2479 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
2480 (md_convert_frag): Adjust symbol value calculation. Raise an
2481 error if a relocation is required for the symbol requested.
2482 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
2484 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
2485 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
2486 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
2487 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
2488 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
2489 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
2490 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
2491 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
2492 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
2493 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
2494 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
2495 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
2496 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
2497 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
2498 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
2499 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
2500 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
2501 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
2502 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
2503 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
2504 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
2505 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
2506 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
2507 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
2508 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
2509 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
2510 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
2511 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
2512 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
2513 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
2514 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
2515 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
2516 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
2517 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
2518 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
2519 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
2520 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
2521 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
2522 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
2523 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
2524 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
2525 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
2526 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
2527 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
2528 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
2529 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
2530 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
2531 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
2532 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
2533 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
2534 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
2535 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
2536 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
2537 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
2538 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
2539 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
2540 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
2541 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
2542 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
2543 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
2544 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
2545 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
2546 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
2547 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
2548 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
2549 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
2550 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
2551 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
2552 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
2553 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
2554 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
2555 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
2556 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
2557 * testsuite/gas/mips/mips.exp: Run the new tests.
2559 2016-06-24 Alan Modra <amodra@gmail.com>
2561 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
2563 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
2565 * config/tc-mips.c (b_reloc_p): New function.
2566 (mips_fix_adjustable): Also keep the original microMIPS symbol
2567 referred from branch relocations.
2568 * testsuite/gas/mips/branch-local-1.d: New test.
2569 * testsuite/gas/mips/branch-local-n32-1.d: New test.
2570 * testsuite/gas/mips/branch-local-n64-1.d: New test.
2571 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
2573 * testsuite/gas/mips/branch-local-1.s: New test source.
2574 * testsuite/gas/mips/mips.exp: Run the new cases.
2576 2016-06-23 Graham Markall <graham.markall@embecosm.com>
2578 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
2579 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
2580 options. Correct erroneous enabling of SPFP instructions when
2583 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
2585 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
2586 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
2587 setbool, xor3>: New tests.
2588 * testsuite/gas/ppc/power9.s: Likewise.
2590 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2592 * config/tc-xtensa.c: Include elf/xtensa.h.
2594 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2596 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
2597 <BFD_RELOC_LO16_PCREL>: New switch cases.
2598 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
2599 Move switch cases along `BFD_RELOC_MIPS_JMP'.
2600 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
2601 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
2603 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
2604 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
2605 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
2606 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
2607 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
2608 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
2609 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
2610 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
2611 * testsuite/gas/mips/mips.exp: Run the new tests.
2613 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2615 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
2616 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
2617 via `fixP->fx_addsy'.
2619 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2621 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
2622 Calculate relocation from the containing aligned doubleword.
2623 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
2624 addend from the containing aligned doubleword.
2626 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2628 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
2629 rather than `mips_opts' for the R6 ISA check.
2630 (mips_fix_adjustable): Likewise.
2631 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
2632 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
2633 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
2634 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
2635 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
2636 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
2637 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
2638 * testsuite/gas/mips/mips.exp: Run the new tests.
2640 2016-06-21 Graham Markall <graham.markall@embecosm.com>
2642 * config/tc-arc.c (check_cpu_feature, md_parse_option):
2643 Add nps400 option and feature. Add check for nps400
2644 feature. Refactor existing checks to check subclass before
2646 (md_show_usage): Document flags for NPS-400 and add some other
2648 (cpu_type): Remove nps400 CPU type entry
2649 (check_zol): Remove bfd_mach_arc_nps400 case.
2650 (md_show_usage): Add help on -mcpu=nps400.
2651 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
2653 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
2654 -fpuda flags. Document -mcpu=nps400.
2655 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
2656 expected flags to match ARC700 instead of NPS400.
2657 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
2658 * testsuite/gas/arc/nps-400-2.d: Likewise.
2659 * testsuite/gas/arc/nps-400-3.d: Likewise.
2660 * testsuite/gas/arc/nps-400-4.d: Likewise.
2661 * testsuite/gas/arc/nps-400-5.d: Likewise.
2662 * testsuite/gas/arc/nps-400-6.d: Likewise.
2663 * testsuite/gas/arc/nps-400-7.d: Likewise.
2664 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
2665 avoid clash with cbba instruction.
2666 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2667 * testsuite/gas/arc/textinsn3op.d: Likewise.
2668 * testsuite/gas/arc/textinsn3op.s: Likewise.
2669 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
2670 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
2672 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2674 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
2675 * testsuite/gas/mips/r6-64-n64.d: Likewise.
2677 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2679 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
2682 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
2684 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
2686 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2688 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
2689 %hmcddfr and %hva_mask_nz.
2690 (sparc_ip): New handling of asr/privileged/hyperprivileged
2691 registers, adapted to the new form of the sparc opcodes table.
2692 * testsuite/gas/sparc/rdasr.s: New file.
2693 * testsuite/gas/sparc/rdasr.d: Likewise.
2694 * testsuite/gas/sparc/wrasr.s: Likewise.
2695 * testsuite/gas/sparc/wrasr.d: Likewise.
2696 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
2698 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
2699 registers require it.
2700 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
2701 registers and write instruction modalities.
2702 * testsuite/gas/sparc/wrpr.d: Likewise.
2703 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
2705 * testsuite/gas/sparc/rdhpr.d: Likewise.
2706 * testsuite/gas/sparc/wrhpr.s: Likewise.
2707 * testsuite/gas/sparc/wrhpr.d: Likewise.
2709 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2711 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
2712 architectures to use the right opcode architecture.
2713 (sparc_md_end): Handle v9{c,d,e,v,m}.
2714 (sparc_ip): Fix some comments.
2715 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
2716 instruction, which is v9d.
2717 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
2718 instruction from the test, as %mwait is not readable.
2719 * testsuite/gas/sparc/mwait.d: Likewise.
2720 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
2721 mismatch architecture errors.
2722 * testsuite/gas/sparc/mism-2.s: New file.
2724 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2726 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
2727 empty string to mark the end of the array.
2728 (hpriv_reg_table): Likewise.
2729 (v9a_asr_table): Likewise.
2730 (cmp_reg_entry): Handle entries with NULL names.
2732 (F_POP_PCREL): Likewise.
2733 (F_POP_TLS_CALL): Likewise.
2734 (F_POP_POSTFIX): Likewise.
2735 (struct pop_entry): New type.
2736 (pop_table): New variable.
2737 (enum pop_entry_type): New type.
2738 (struct perc_entry): Likewise.
2739 (NUM_PERC_ENTRIES): Define.
2740 (perc_table): New variable.
2741 (cmp_perc_entry): New function.
2742 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
2744 (sparc_ip): Handle entries with NULL names in priv_reg_table,
2745 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
2748 2016-06-15 Nick Clifton <nickc@redhat.com>
2750 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
2752 * config/tc-mcore.c (md_assemble): Likewise.
2753 * config/tc-mn10200.c (md_assemble): Likewise.
2754 * config/tc-moxie.c (md_assemble): Likewise.
2755 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
2756 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
2757 exception targets. Add alpha, hppa, microblaze and rl78 to list
2759 (forward): Add microblaze to list of exceptions.
2760 (fwdexp): Add alpha to list of exceptions.
2761 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
2762 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
2763 (do_930509a): Alpha sort list of exception targets. Add h8300 and
2764 mn10200 to list of exceptions.
2765 (align2): Expect to fail for nds32.
2766 (cond): Add alpha and rl78 to list of exceptions.
2767 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
2768 * testsuite/gas/all/string.d: Skip for tic4x.
2769 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
2770 target does not support ELF.
2771 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
2772 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
2773 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
2774 tests for sh-pe and sh-rtemscoff targets.
2775 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
2777 (type): Run the noifunc version for alpha-freebsd and visium.
2778 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
2779 mn10200 or moxie targets.
2780 * testsuite/gas/ft32/insn.d: Update expected disassembly.
2781 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
2783 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
2784 mcore and rx targets.
2785 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
2787 (purge): Expect to fail on the ns32k and vax.
2788 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
2789 * testsuite/gas/nds32/ls.d: Likewise.
2790 * testsuite/gas/nds32/sys-reg.d: Likewise.
2791 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
2792 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
2793 * testsuite/gas/pe/section-align-3.d: Likewise.
2794 * testsuite/gas/pe/section-exclude.d: Likewise.
2795 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
2797 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
2798 for variations in whitespace.
2799 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
2801 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
2802 Installs a 32-bit value without generating warnings on 64-bit
2804 Use the new macro to replace the .word directives.
2806 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2808 * testsuite/gas/arc/add_s.d: New file.
2809 * testsuite/gas/arc/add_s.s: New file.
2811 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2813 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
2814 * testsuite/gas/arc/nps400-6.d: Likewise.
2816 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2818 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
2820 * testsuite/gas/arc/nps400-6.d: Likewise.
2822 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2824 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
2825 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
2826 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
2827 * testsuite/gas/arc/nps400-6.d: Likewise.
2829 2016-06-14 Nick Clifton <nickc@redhat.com>
2831 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
2834 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
2836 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
2837 JALR relocations on R6.
2838 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
2839 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
2840 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
2841 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
2842 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
2843 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
2845 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
2846 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
2848 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
2849 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
2851 * testsuite/gas/mips/mips.exp: Run the new tests.
2853 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
2855 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
2856 * doc/c-aarch64.texi: Document that vulcan is a valid processor
2859 2016-06-13 Nick Clifton <nickc@redhat.com>
2861 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
2862 that are not supported.
2864 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
2866 * config/tc-cr16.c (check_range): Likewise.
2867 * config/tc-nios2.c (nios2_check_overflow): Likewise.
2869 2016-06-08 Renlin Li <renlin.li@arm.com>
2871 * config/tc-aarch64.c (print_operands): Substitute size.
2872 (output_operand_error_record): Likewise.
2874 2016-06-07 Alan Modra <amodra@gmail.com>
2876 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
2877 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
2878 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
2879 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
2880 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
2881 add vle_opcodes twice.
2882 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
2884 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
2886 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
2887 (arm_ext_ras): Renamed from arm_ext_v8_2.
2888 (insns): Update for arm_ext_v8_2 renaming.
2889 (arm_extensions): Add "ras".
2890 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
2891 * testsuite/gas/arm/armv8-a+ras.d: New.
2892 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
2895 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2897 * itbl-parse.y (yyerror): Use modern argument declaration style.
2899 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2901 * config/tc-sh.c (parse_reg): Change type of mode argument to
2903 (get_operand): Adjust.
2904 (insert): Change type of how to bfd_reloc_code_real_type.
2905 (insert4): Likewise.
2906 * config/tc-sh64.c (shmedia_get_operand): Adjust.
2907 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
2909 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2911 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
2914 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
2917 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
2918 stbcx., sthcx., stwcx., stdcx.>: Add tests.
2919 * gas/testsuite/gas/ppc/e6500.d: Likewise.
2920 * gas/testsuite/gas/ppc/power8.s: Likewise.
2921 * gas/testsuite/gas/ppc/power8.d: Likewise.
2922 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
2924 * gas/testsuite/gas/ppc/power4.d: Likewise.
2926 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2929 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2930 * testsuite/gas/i386/x86-64-branch.d: Updated.
2931 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2932 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2933 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
2935 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2937 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
2938 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
2940 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2942 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
2943 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
2945 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2947 * configure.tgt: Replace -uclibc with *.
2949 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2951 * config/tc-arc.c (parse_opcode_flags): New function.
2952 (find_opcode_match): Move flag parsing code out to new function.
2953 Ignore operands marked IGNORE.
2954 (build_fake_opcode_hash_entry): New function.
2955 (find_special_case_long_opcode): New function.
2956 (find_special_case): Lookup long opcodes.
2957 * testsuite/gas/arc/nps400-7.d: New file.
2958 * testsuite/gas/arc/nps400-7.s: New file.
2960 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2962 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2964 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2966 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2967 sentinal with iteration to array size.
2969 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2971 * config/xtensa-relax.h: Move typedefs of enums to the enums
2974 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2976 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2979 2016-06-01 Graham Markall <graham.markall@embecosm.com>
2981 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2982 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2983 * testsuite/gas/arc/nps-400-1.d: Likewise.
2985 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2988 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2989 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2990 noavx512ifma and noavx512vbmi.
2991 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2992 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2994 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2995 * testsuite/gas/i386/noavx512-1.l: New file.
2996 * testsuite/gas/i386/noavx512-1.s: Likewise.
2997 * testsuite/gas/i386/noavx512-2.l: Likewise.
2998 * testsuite/gas/i386/noavx512-2.s: Likewise.
3000 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3003 * config/tc-i386.c (cpu_arch): Add 687.
3004 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
3005 nosse4.1, nosse4.2, nosse4 and noavx2.
3006 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
3007 register. Check cpuregxmm instead of cpusse for XMM register.
3008 Check cpuregymm instead of cpuavx for YMM register. Check
3009 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
3010 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
3011 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
3012 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
3013 * testsuite/gas/i386/arch-10.d (as): Likewise.
3014 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
3015 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
3016 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
3018 * testsuite/gas/i386/no87-3.l: New file.
3019 * testsuite/gas/i386/no87-3.s: Likewise.
3020 * testsuite/gas/i386/noavx-3.l: Likewise.
3021 * testsuite/gas/i386/noavx-3.s: Likewise.
3022 * testsuite/gas/i386/noavx-4.d: Likewise.
3023 * testsuite/gas/i386/noavx-4.s: Likewise.
3024 * testsuite/gas/i386/nosse-4.l: Likewise.
3025 * testsuite/gas/i386/nosse-4.s: Likewise.
3026 * testsuite/gas/i386/nosse-5.d: Likewise.
3027 * testsuite/gas/i386/nosse-5.s: Likewise.
3029 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3032 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
3034 (match_template): Check Intel64/AMD64 ISA.
3036 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3039 * config/tc-i386.c (intel64): New.
3040 (cpu_flags_match): Set cpuamd64 and cpuintel64.
3041 (md_parse_option): Set intel64 instead of cpuamd64 and
3044 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3046 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
3049 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
3051 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
3052 * testsuite/gas/ppc/altivec3.s: Likewise.
3053 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
3054 * testsuite/gas/ppc/power9.s: Likewise.
3056 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
3058 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
3059 * testsuite/gas/i386/noavx-1.l: Likewise.
3060 * testsuite/gas/i386/nommx-1.l: Likewise.
3061 * testsuite/gas/i386/nosse-1.l: Likewise.
3062 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
3063 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
3064 * testsuite/gas/i386/noavx-1.s: Likewise.
3065 * testsuite/gas/i386/nommx-1.s: Likewise.
3066 * testsuite/gas/i386/nosse-1.s: Likewise.
3067 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
3069 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3071 * config/tc-metag.c (metag_handle_align): Make the type of noop
3074 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3076 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
3077 bfd_reloc_code_real_type.
3079 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3082 * config/tc-i386.c (cpu_flags_match): Require another match
3084 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
3085 x86-64-avx512vl-1 and x86-64-avx512vl-2.
3086 * testsuite/gas/i386/avx512vl-1.l: New file.
3087 * testsuite/gas/i386/avx512vl-1.s: Likewise.
3088 * testsuite/gas/i386/avx512vl-2.l: Likewise.
3089 * testsuite/gas/i386/avx512vl-2.s: Likewise.
3090 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
3091 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
3092 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
3093 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
3095 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3098 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
3099 * testsuite/gas/i386/x86-64-pr20141.d: New file.
3100 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
3102 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3104 * config/tc-i386.c (arch_entry): Remove negated.
3105 (noarch_entry): New struct.
3106 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
3108 (set_cpu_arch): Check cpu_noarch after cpu_arch.
3109 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
3111 (output_message): New function.
3112 (show_arch): Use it. Handle cpu_noarch.
3113 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
3114 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
3115 * testsuite/gas/i386/noavx-1.l: New file.
3116 * testsuite/gas/i386/noavx-1.s: Likewise.
3117 * testsuite/gas/i386/noavx-2.s: Likewise.
3118 * testsuite/gas/i386/noavx-2.l: Likewise.
3119 * testsuite/gas/i386/nommx-1.s: Likewise.
3120 * testsuite/gas/i386/nommx-1.l: Likewise.
3121 * testsuite/gas/i386/nommx-2.s: Likewise.
3122 * testsuite/gas/i386/nommx-2.l: Likewise.
3123 * testsuite/gas/i386/nommx-3.s: Likewise.
3124 * testsuite/gas/i386/nommx-3.l: Likewise.
3125 * testsuite/gas/i386/nosse-1.s: Likewise.
3126 * testsuite/gas/i386/nosse-1.l: Likewise.
3127 * testsuite/gas/i386/nosse-2.s: Likewise.
3128 * testsuite/gas/i386/nosse-2.l: Likewise.
3129 * testsuite/gas/i386/nosse-3.s: Likewise.
3130 * testsuite/gas/i386/nosse-3.l: Likewise.
3132 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
3135 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
3136 instruction if supported by the currently selected fpu variant.
3137 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
3138 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
3140 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3142 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
3143 jump relocations against MIPS16 or microMIPS symbols on RELA
3145 * testsuite/gas/mips/jalx-local.d: New test.
3146 * testsuite/gas/mips/jalx-local-n32.d: New test.
3147 * testsuite/gas/mips/jalx-local-n64.d: New test.
3148 * testsuite/gas/mips/jalx-local.s: New test source.
3149 * testsuite/gas/mips/mips.exp: Run the new tests.
3151 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3153 * config/tc-mips.c (md_apply_fix)
3154 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
3157 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3159 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
3160 operator to operatorT.
3161 (map_suffix_reloc_to_operator): Change return type to operatorT.
3163 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3165 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
3167 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3169 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
3170 handler_charp to const char *.
3172 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3174 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
3175 (ft32_target_format): Likewise.
3176 (TARGET_FORMAT): Adjust.
3178 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3180 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
3181 (ia64_frob_label): Likewise.
3183 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3185 * config/tc-cr16.c (check_range): Make type of retval op_err.
3186 * config/tc-crx.c: Likewise.
3188 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
3190 * config/tc-arc.c (md_begin): Add XY registers.
3191 (cpu_types): Code density is default off for ARC EM.
3193 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
3195 * config/tc-arc.c (attributes_t): Renamed attribute class to
3197 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
3199 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
3201 * configuse.tgt: Add entry for arm-phoenix.
3203 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3205 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
3207 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3209 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
3211 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3213 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
3214 (md_begin): Likewise.
3215 (encode_condition): Likewise.
3216 (encode_cc3): Likewise.
3217 (encode_cc2): Likewise.
3218 (encode_operand): Likewise.
3219 (tic54x_undefined_symbol): Likewise.
3221 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
3223 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
3225 * doc/c-mips.texi: Document p6600 -march option.
3227 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
3230 * config/tc-i386.c (md_apply_fix): Preserve addend for
3231 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
3232 * testsuite/gas/i386/addend.d: New file.
3233 * testsuite/gas/i386/addend.s: Likewise.
3234 * testsuite/gas/i386/x86-64-addend.d: Likewise.
3235 * testsuite/gas/i386/x86-64-addend.s: Likewise.
3236 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
3237 * testsuite/gas/i386/reloc32.d: Updated.
3239 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3241 * config/tc-mips.c (append_insn): Correct the encoding of a
3242 constant argument for microMIPS JALX.
3243 (tc_gen_reloc): Correct the encoding of an in-place addend for
3245 * testsuite/gas/mips/jalx-addend.d: New test.
3246 * testsuite/gas/mips/jalx-addend-n32.d: New test.
3247 * testsuite/gas/mips/jalx-addend-n64.d: New test.
3248 * testsuite/gas/mips/jalx-imm.d: New test.
3249 * testsuite/gas/mips/jalx-imm-n32.d: New test.
3250 * testsuite/gas/mips/jalx-imm-n64.d: New test.
3251 * testsuite/gas/mips/jalx-addend.s: New test source.
3252 * testsuite/gas/mips/jalx-imm.s: New test source.
3253 * testsuite/gas/mips/mips.exp: Run the new tests.
3255 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3257 * config/tc-mips.c: Correct tab-after-space formatting mistakes
3260 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3262 * config/tc-arc.c (find_opcode_match): Remove casting away of
3264 * config/tc-arc.h (struct arc_flags): Make flgp field const.
3266 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3268 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
3270 (md_convert_frag): Likewise.
3272 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3274 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
3275 cached opcode to NULL when we reach a non-matching opcode.
3276 * testsuite/gas/arc/asm-errors-2.d: New file.
3277 * testsuite/gas/arc/asm-errors-2.err: New file.
3278 * testsuite/gas/arc/asm-errors-2.s: New file.
3280 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3282 * config/tc-arc.c (tokenize_arguments): Add checks for array
3284 * testsuite/gas/arc/asm-errors.s: Addition test line added.
3285 * testsuite/gas/arc/asm-errors.err: Update expected results.
3287 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3289 * config/tc-rx.c (struct cpu_type): Change the type of a field from
3290 int to enum rx_cpu_types.
3292 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3294 * config/tc-dlx.c (struct machine_it): change the type of a field from
3295 int to bfd_reloc_code_real_type.
3296 * config/tc-tic4x.c: Likewise.
3298 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3300 * config/tc-v850.c (v850_target_arch): change type to enum
3302 * config/tc-v850.h (v850_target_arch): Likewise.
3304 2016-05-18 Alan Modra <amodra@gmail.com>
3306 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
3307 allowed negative range.
3308 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
3309 * testsuite/gas/ppc/power9.d: Update.
3311 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
3313 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
3314 disassembling and stop skipping targets.
3315 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3316 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3317 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
3318 instruction for targets that have stronger alignment requirement.
3319 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3320 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3321 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3322 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3323 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3324 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3325 * testsuite/gas/arm/archv8m-main.d: Likewise.
3326 * testsuite/gas/arm/archv8m.s: Add label.
3327 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
3328 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3329 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
3331 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3333 * config/tc-m32r.c (mach_table): Make static and const.
3335 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3337 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
3340 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3342 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
3344 * config/tc-msp430.c (md_begin): Likewise.
3346 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3348 * config/tc-m68hc11.c (fixup8): Change variables type from int to
3349 bfd_reloc_code_real_type where appropriate.
3350 (fixup16): Likewise.
3351 (fixup8_xg): Likewise.
3353 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
3355 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
3357 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
3359 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
3360 * testsuite/gas/ppc/power9.s: Likewise.
3362 2016-05-13 Alan Modra <amodra@gmail.com>
3364 * config/obj-coff.c (weak_uniquify): Delete unused var.
3366 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3368 * app.c (app_push): Use XNEW and related macros.
3369 * as.c (parse_args): Likewise.
3370 * cgen.c (make_right_shifted_expr): Likewise.
3371 (gas_cgen_tc_gen_reloc): Likewise.
3372 * config/bfin-defs.h: Likewise.
3373 * config/bfin-parse.y: Likewise.
3374 * config/obj-coff.c (stack_init): Likewise.
3375 (stack_push): Likewise.
3376 (coff_obj_symbol_new_hook): Likewise.
3377 (coff_obj_symbol_clone_hook): Likewise.
3378 (add_lineno): Likewise.
3379 (coff_frob_symbol): Likewise.
3380 * config/obj-elf.c (obj_elf_section_name): Likewise.
3381 (build_group_lists): Likewise.
3382 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
3383 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
3384 * config/tc-aarch64.c (insert_reg_alias): Likewise.
3385 (find_or_make_literal_pool): Likewise.
3386 (add_to_lit_pool): Likewise.
3387 (fill_instruction_hash_table): Likewise.
3388 * config/tc-alpha.c (load_expression): Likewise.
3389 (emit_jsrjmp): Likewise.
3390 (s_alpha_ent): Likewise.
3391 (s_alpha_end): Likewise.
3392 (s_alpha_linkage): Likewise.
3393 (md_begin): Likewise.
3394 (tc_gen_reloc): Likewise.
3395 * config/tc-arc.c (arc_insert_opcode): Likewise.
3396 (arc_extcorereg): Likewise.
3397 * config/tc-bfin.c: Likewise.
3398 * config/tc-cr16.c: Likewise.
3399 * config/tc-cris.c: Likewise.
3400 * config/tc-crx.c (preprocess_reglist): Likewise.
3401 * config/tc-d10v.c: Likewise.
3402 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
3403 (frv_tomcat_shuffle): Likewise.
3404 * config/tc-h8300.c: Likewise.
3405 * config/tc-i370.c (i370_macro): Likewise.
3406 * config/tc-i386.c (lex_got): Likewise.
3407 (md_parse_option): Likewise.
3408 * config/tc-ia64.c (alloc_record): Likewise.
3409 (set_imask): Likewise.
3410 (save_prologue_count): Likewise.
3411 (dot_proc): Likewise.
3412 (dot_endp): Likewise.
3413 (ia64_frob_label): Likewise.
3414 (add_qp_imply): Likewise.
3415 (add_qp_mutex): Likewise.
3416 (mark_resource): Likewise.
3417 (dot_alias): Likewise.
3418 * config/tc-m68hc11.c: Likewise.
3419 * config/tc-m68k.c (m68k_frob_label): Likewise.
3421 (mri_control_label): Likewise.
3422 (push_mri_control): Likewise.
3423 (build_mri_control_operand): Likewise.
3424 (s_mri_else): Likewise.
3425 (s_mri_break): Likewise.
3426 (s_mri_next): Likewise.
3427 (s_mri_for): Likewise.
3428 (s_mri_endw): Likewise.
3429 * config/tc-metag.c (create_mnemonic_htab): Likewise.
3430 * config/tc-microblaze.c: Likewise.
3431 * config/tc-mmix.c (s_loc): Likewise.
3432 * config/tc-nds32.c (nds32_relax_hint): Likewise.
3433 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
3434 * config/tc-rl78.c: Likewise.
3435 * config/tc-rx.c (rx_include): Likewise.
3436 * config/tc-sh.c: Likewise.
3437 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
3438 * config/tc-sparc.c: Likewise.
3439 * config/tc-spu.c: Likewise.
3440 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
3441 (tic6x_start_unwind_section): Likewise.
3442 * config/tc-tilegx.c: Likewise.
3443 * config/tc-tilepro.c: Likewise.
3444 * config/tc-v850.c: Likewise.
3445 * config/tc-visium.c: Likewise.
3446 * config/tc-xgate.c: Likewise.
3447 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
3448 (new_resource_table): Likewise.
3449 (resize_resource_table): Likewise.
3450 (xtensa_create_trampoline_frag): Likewise.
3451 (xtensa_maybe_create_literal_pool_frag): Likewise.
3452 (cache_literal_section): Likewise.
3453 * config/xtensa-relax.c (append_transition): Likewise.
3454 (append_condition): Likewise.
3455 (append_value_condition): Likewise.
3456 (append_constant_value_condition): Likewise.
3457 (append_literal_op): Likewise.
3458 (append_label_op): Likewise.
3459 (append_constant_op): Likewise.
3460 (append_field_op): Likewise.
3461 (append_user_fn_field_op): Likewise.
3462 (enter_opname_n): Likewise.
3463 (enter_opname): Likewise.
3464 (split_string): Likewise.
3465 (parse_insn_templ): Likewise.
3466 (clone_req_or_option_list): Likewise.
3467 (clone_req_option_list): Likewise.
3468 (parse_option_cond): Likewise.
3469 (parse_insn_pattern): Likewise.
3470 (parse_insn_repl): Likewise.
3471 (build_transition): Likewise.
3472 (build_transition_table): Likewise.
3473 * dw2gencfi.c (alloc_fde_entry): Likewise.
3474 (alloc_cfi_insn_data): Likewise.
3475 (cfi_add_CFA_remember_state): Likewise.
3476 (dot_cfi_escape): Likewise.
3477 (dot_cfi_fde_data): Likewise.
3478 (select_cie_for_fde): Likewise.
3479 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
3480 * ecoff.c (ecoff_add_bytes): Likewise.
3481 (ecoff_build_debug): Likewise.
3482 * input-scrub.c (input_scrub_push): Likewise.
3483 (input_scrub_begin): Likewise.
3484 (input_scrub_next_buffer): Likewise.
3485 * itbl-ops.c (append_insns_as_macros): Likewise.
3486 (alloc_entry): Likewise.
3487 (alloc_field): Likewise.
3488 * listing.c (listing_newline): Likewise.
3489 (listing_listing): Likewise.
3490 * macro.c (get_any_string): Likewise.
3491 (delete_macro): Likewise.
3492 * stabs.c (generate_asm_file): Likewise.
3493 (stabs_generate_asm_lineno): Likewise.
3494 * subsegs.c (subseg_change): Likewise.
3495 (subseg_get): Likewise.
3496 * symbols.c (define_dollar_label): Likewise.
3497 (symbol_relc_make_sym): Likewise.
3498 * write.c (write_relocs): Likewise.
3500 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3502 * config/obj-coff.c (obj_coff_def): Simplify string copying.
3503 (weak_name2altname): Likewise.
3504 (weak_uniquify): Likewise.
3505 (obj_coff_section): Likewise.
3506 (obj_coff_init_stab_section): Likewise.
3507 * config/obj-elf.c (obj_elf_section_name): Likewise.
3508 (obj_elf_init_stab_section): Likewise.
3509 * config/obj-evax.c (evax_shorten_name): Likewise.
3510 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
3511 * config/tc-aarch64.c (create_register_alias): Likewise.
3512 * config/tc-alpha.c (load_expression): Likewise.
3513 (s_alpha_file): Likewise.
3514 (s_alpha_section_name): Likewise.
3515 (tc_gen_reloc): Likewise.
3516 * config/tc-arc.c (md_assemble): Likewise.
3517 * config/tc-arm.c (create_neon_reg_alias): Likewise.
3518 (start_unwind_section): Likewise.
3519 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
3520 (hppa_elf_mark_end_of_function): Likewise.
3521 * config/tc-nios2.c (nios2_modify_arg): Likewise.
3522 (nios2_negate_arg): Likewise.
3523 * config/tc-rx.c (rx_section): Likewise.
3524 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
3525 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3526 * config/tc-tic54x.c (tic54x_include): Likewise.
3527 (tic54x_macro_info): Likewise.
3528 (subsym_get_arg): Likewise.
3529 (subsym_substitute): Likewise.
3530 (tic54x_start_line_hook): Likewise.
3531 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
3532 (xg_reverse_shift_count): Likewise.
3533 * config/xtensa-relax.c (enter_opname_n): Likewise.
3534 (split_string): Likewise.
3535 * dwarf2dbg.c (get_filenum): Likewise.
3536 (process_entries): Likewise.
3537 * expr.c (operand): Likewise.
3538 * itbl-ops.c (alloc_entry): Likewise.
3539 * listing.c (listing_message): Likewise.
3540 (listing_title): Likewise.
3541 * macro.c (check_macro): Likewise.
3542 * stabs.c (s_xstab): Likewise.
3543 * symbols.c (symbol_relc_make_expr): Likewise.
3544 * write.c (compress_debug): Likewise.
3546 2016-05-12 Nick Clifton <nickc@redhat.com>
3549 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
3551 2016-05-11 Nick Clifton <nickc@redhat.com>
3554 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
3555 big endian ARM configurations.
3557 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
3558 Matthew Fortune <matthew.fortune@imgtec.com>
3560 * config/tc-mips.c (options): Add OPTION_DSPR3 and
3562 (md_longopts): Likewise.
3563 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
3564 (mips_ases): Define availability for DSPr3.
3565 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
3566 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
3567 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
3569 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
3570 .set nodspr3. Fix -mdspr2 formatting.
3571 * testsuite/gas/mips/mips32-dspr3.d: New file.
3572 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
3573 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
3575 2016-05-11 Nick Clifton <nickc@redhat.com>
3578 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
3579 to the pool uses O_constant.
3580 * testsuite/gas/arm/pr20068.s: New test.
3581 * testsuite/gas/arm/pr20068.d: Test driver.
3583 2016-05-11 Nick Clifton <nickc@redhat.com>
3585 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
3586 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3587 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3588 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3589 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3590 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3591 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3592 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3593 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3595 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3597 * testsuite/gas/i386/i386.exp: Run RDPID tests.
3598 * testsuite/gas/i386/prefix.d: Adjust.
3599 * testsuite/gas/i386/rdpid.s: New test.
3600 * testsuite/gas/i386/rdpid.d: Ditto.
3601 * testsuite/gas/i386/rdpid-intel.d: Ditto.
3602 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
3603 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
3604 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
3606 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3608 * config/tc-i386.c (cpu_arch): Add RDPID.
3609 * doc/c-i386.texi: Document RDPID.
3611 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3613 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
3614 set branch type of a symbol.
3616 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3618 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
3619 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
3621 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
3622 (aeabi_set_public_attributes): Memorize the feature bits of the
3623 architecture selected for Tag_CPU_arch. Use it to set
3624 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
3625 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
3626 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
3627 * testsuite/gas/arm/arch7em-bad-1.d: This.
3628 * testsuite/gas/arm/arch7em-bad-2.d: New file.
3629 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
3630 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3631 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3632 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3633 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3634 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
3635 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
3637 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3639 * config/tc-arm.c (struct arm_option_extension_value_table): Make
3640 allowed_archs an array with 2 entries.
3641 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
3642 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
3643 (arm_extensions): Use separate entries in allowed_archs when several
3644 archs are allowed to use an extension and change ARCH_ANY in
3645 ARM_ARCH_NONE in allowed_archs.
3646 (arm_parse_extension): Check that, for each allowed_archs entry, all
3647 bits are set in the current architecture, ignoring ARM_ANY entries.
3648 (s_arm_arch_extension): Likewise.
3650 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3652 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
3653 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
3654 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
3655 shared with a non M profile architecture.
3656 (do_rn): New function.
3657 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
3659 (v7m_psrs): Add ARMv8-M security extensions new special registers.
3660 (insns): Add ARMv8-M Security Extensions instructions.
3661 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
3662 arm_ext_v8m_m to decide the profile and the Thumb ISA.
3663 * testsuite/gas/arm/archv8m-cmse.s: New file.
3664 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
3665 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3666 * testsuite/gas/arm/any-cmse.d: Likewise.
3667 * testsuite/gas/arm/any-cmse-main.d: Likewise.
3668 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3669 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3670 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3671 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3672 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3674 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3676 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
3677 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
3679 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3681 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
3682 (fpu_arch_vfp_v3): Likewise.
3683 (fpu_arch_neon_v1): Likewise.
3684 (arm_arch_full): Likewise.
3685 (parse_neon_el_struct_list): Initialize fields of firsttype.
3687 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
3689 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
3690 (arc_extinsn): Handle new introduced syntax.
3691 * testsuite/gas/arc/textinsn1op.d: New file.
3692 * testsuite/gas/arc/textinsn1op.s: Likewise.
3693 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
3695 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3697 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
3698 DW_LNS_fixed_advance_pc.
3700 2016-04-27 Alan Modra <amodra@gmail.com>
3702 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
3703 (xmemdup0): New inline function.
3705 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
3707 * config/tc-mips.c (code_option_type): New enum.
3708 (parse_code_option): Return status indicating option type.
3709 (s_mipsset): Update `parse_code_option' call site accordingly.
3710 Always set register sizes from the ISA with ISA overrides.
3711 (s_module): Update `parse_code_option' call site.
3712 * testsuite/gas/mips/isa-override-1.d: New test.
3713 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
3714 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
3715 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
3716 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
3717 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
3718 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
3719 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
3720 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
3721 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
3722 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
3723 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
3724 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
3725 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
3726 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
3727 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
3728 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
3729 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
3730 * testsuite/gas/mips/isa-override-2.l: New list test.
3731 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
3732 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
3733 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
3734 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
3735 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
3736 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
3737 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
3738 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
3739 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
3740 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
3741 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
3743 * testsuite/gas/mips/isa-override-1.s: New test source.
3744 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
3745 * testsuite/gas/mips/isa-override-2.s: New test source.
3746 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
3747 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
3748 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
3749 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
3750 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
3751 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
3752 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
3753 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
3754 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
3755 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
3756 * testsuite/gas/mips/mips.exp: Run the new tests.
3758 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3761 * config/tc-bfin.c: Likewise.
3762 * config/tc-ia64.c: Likewise.
3763 * config/tc-mep.c: Likewise.
3764 * config/tc-metag.c: Likewise.
3765 * config/tc-nios2.c: Likewise.
3766 * config/tc-rl78.c: Likewise.
3768 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
3770 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
3771 -mcpu. Add cross reference to .cpu directive from -mcpu option.
3772 (ARC Directives): Add NPS400 to .cpu directive list.
3774 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
3776 * config/tc-aarch64.c (aarch64_features): Add "ras".
3777 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
3778 * testsuite/gas/aarch64/armv8-ras-1.d: New.
3779 * testsuite/gas/aarch64/armv8-ras-1.s: New.
3780 * testsuite/gas/aarch64/illegal-ras-1.d: New.
3781 * testsuite/gas/aarch64/illegal-ras-1.s: New.
3783 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3785 * testsuite/gas/arc/nps400-6.d: New file.
3786 * testsuite/gas/arc/nps400-6.s: New file.
3788 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3790 * testsuite/gas/arc/nps400-4.d: New file.
3791 * testsuite/gas/arc/nps400-4.s: New file.
3792 * testsuite/gas/arc/nps400-5.d: New file.
3793 * testsuite/gas/arc/nps400-5.s: New file.
3795 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
3797 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
3800 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
3802 Revert prevous change.
3803 * config/tc-arc.c (arc_option): Make .cpu directive
3804 case-sensitive again.
3806 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3808 * config/tc-arc.c (arc_option): Make .cpu directive
3811 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3813 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
3815 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3817 * config/tc-mips.c (md_begin): Remove useless assignment.
3819 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3821 * Makefile.in: Regenerated with automake 1.11.6.
3822 * aclocal.m4: Likewise.
3823 * doc/Makefile.in: Likewise.
3825 2016-04-15 Alan Modra <amodra@gmail.com>
3827 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
3829 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3831 * config/tc-nios2.c (nios2_as_options): Make file static.
3832 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
3833 * config/tc-sparc.c (native_op_table): Likewise.
3835 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3837 * config/tc-m32c.c (M32C_Macros): Remove.
3838 * config/tc-msp430.c (option_numbers): Likewise.
3840 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3842 * testsuite/gas/arc/nps400-3.d: New file.
3843 * testsuite/gas/arc/nps400-3.s: New file.
3845 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3847 * testsuite/gas/arc/add_s-err.s: Update target pattern.
3848 * testsuite/gas/arc/warn.s: Likewise.
3849 * testsuite/gas/elf/elf.exp: Run test for arc.
3851 2016-04-14 Nick Clifton <nickc@redhat.com>
3854 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
3855 sections possibly having the SHF_STRINGS flag bit set.
3856 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
3858 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3860 * config/tc-arc.c (mach_type_specified_p): Change type to
3862 (arc_option): Set private flags when parsing cpu pseudo-op.
3863 (md_parse_option): Set mach_type_specified_p to TRUE.
3865 2016-04-13 Nick Clifton <nickc@redhat.com>
3868 * testsuite/gas/v850/pr19937.s: New test.
3869 * testsuite/gas/v850/pr19937.d: New test control file.
3870 * testsuite/gas/v850/basic.exp: Run the new test.
3872 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3873 Andrew Bennett <andrew.bennett@imgtec.com>
3875 * config/tc-mips.c (relaxed_branch_length): Use the long
3876 sequence where the target is a weak symbol.
3877 (relaxed_micromips_32bit_branch_length): Likewise.
3878 (relaxed_micromips_16bit_branch_length): Likewise.
3879 * testsuite/gas/mips/branch-weak-1.d: New test.
3880 * testsuite/gas/mips/branch-weak-2.d: New test.
3881 * testsuite/gas/mips/branch-weak-3.d: New test.
3882 * testsuite/gas/mips/branch-weak-4.d: New test.
3883 * testsuite/gas/mips/branch-weak-5.d: New test.
3884 * testsuite/gas/mips/branch-weak.l: New stderr output.
3885 * testsuite/gas/mips/branch-weak.s: New test source.
3886 * testsuite/gas/mips/mips.exp: Run the new tests.
3888 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3890 * config/tc-mips.c (relaxed_branch_length): Use the long
3891 sequence where the distance cannot be determined.
3892 (relaxed_micromips_32bit_branch_length): Likewise.
3893 * testsuite/gas/mips/branch-extern-1.d: New test.
3894 * testsuite/gas/mips/branch-extern-2.d: New test.
3895 * testsuite/gas/mips/branch-extern-3.d: New test.
3896 * testsuite/gas/mips/branch-extern-4.d: New test.
3897 * testsuite/gas/mips/branch-extern.l: New stderr output.
3898 * testsuite/gas/mips/branch-extern.s: New test source.
3899 * testsuite/gas/mips/branch-section-1.d: New test.
3900 * testsuite/gas/mips/branch-section-2.d: New test.
3901 * testsuite/gas/mips/branch-section-3.d: New test.
3902 * testsuite/gas/mips/branch-section-4.d: New test.
3903 * testsuite/gas/mips/branch-section.l: New stderr output.
3904 * testsuite/gas/mips/branch-section.s: New test source.
3905 * testsuite/gas/mips/mips.exp: Run the new tests.
3907 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3909 * testsuite/gas/arc/textauxregister.d: New file.
3910 * testsuite/gas/arc/textauxregister.s: Likewise.
3911 * testsuite/gas/arc/textcondcode.d: Likewise.
3912 * testsuite/gas/arc/textcondcode.s: Likewise.
3913 * testsuite/gas/arc/textcoreregister.d: Likewise.
3914 * testsuite/gas/arc/textcoreregister.s: Likewise.
3915 * testsuite/gas/arc/textpseudoop.d: Likewise.
3916 * testsuite/gas/arc/textpseudoop.s: Likewise.
3917 * testsuite/gas/arc/ld2.d: Update test.
3918 * testsuite/gas/arc/st.d: Likewise.
3919 * testsuite/gas/arc/taux.d: Likewise.
3920 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
3921 .extCoreRegister and .extAuxRegister documentation.
3922 * config/tc-arc.c (arc_extcorereg): New function.
3923 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
3924 .extAuxRegister pseudo-ops.
3925 (extRegister_t): New type.
3926 (ext_condcode, arc_aux_hash): New global variable.
3927 (find_opcode_match): Check for extensions.
3928 (preprocess_operands): Likewise.
3929 (md_begin): Add aux registers in a hash.
3930 (assemble_insn): Update use arc_flags member.
3931 (tokenize_extregister): New function.
3932 (create_extcore_section): Likewise.
3933 * config/tc-arc.h (arc_flags): Delete code, add flgp.
3935 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3937 * testsuite/gas/arc/noargs_a7.d: New file.
3938 * testsuite/gas/arc/noargs_a7.s: Likewise.
3939 * testsuite/gas/arc/noargs_hs.d: Likewise.
3940 * testsuite/gas/arc/noargs_hs.s: Likewise.
3942 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3944 * testsuite/gas/arc/textinsn-errors.d: New File.
3945 * testsuite/gas/arc/textinsn-errors.err: Likewise.
3946 * testsuite/gas/arc/textinsn-errors.s: Likewise.
3947 * testsuite/gas/arc/textinsn2op.d: Likewise.
3948 * testsuite/gas/arc/textinsn2op.s: Likewise.
3949 * testsuite/gas/arc/textinsn2op01.d: Likewise.
3950 * testsuite/gas/arc/textinsn2op01.s: Likewise.
3951 * testsuite/gas/arc/textinsn3op.d: Likewise.
3952 * testsuite/gas/arc/textinsn3op.s: Likewise.
3953 * doc/c-arc.texi (ARC Directives): Add .extInstruction
3955 * config/tc-arc.c (arcext_section): New variable.
3956 (arc_extinsn): New function.
3957 (md_pseudo_table): Add .extInstruction pseudo op.
3958 (attributes_t): New type.
3959 (suffixclass, syntaxclass, syntaxclassmod): New constant
3961 (find_opcode_match): Remove arc_num_opcodes.
3962 (md_begin): Likewise.
3963 (tokenize_extinsn): New function.
3964 (arc_set_ext_seg): Likewise.
3965 (create_extinst_section): Likewise.
3967 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3969 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3970 (arc_adjust_symtab): New function.
3971 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3972 (obj_adjust_symtab): Likewise.
3973 * testsuite/gas/arc/taux.d: New file.
3974 * testsuite/gas/arc/taux.s: Likewise.
3976 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3978 * config/tc-mips.c (s_option): Sanitize `.option picX'
3980 * testsuite/gas/mips/option-pic-1.d: New test.
3981 * testsuite/gas/mips/option-pic-2.l: New list test.
3982 * testsuite/gas/mips/option-pic-1.s: New test source.
3983 * testsuite/gas/mips/option-pic-2.s: New test source.
3984 * testsuite/gas/mips/mips.exp: Run the new tests.
3986 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3988 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3990 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3991 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3992 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3993 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3994 * testsuite/gas/mips/mips.exp: Run the new tests.
3996 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3998 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
4000 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
4002 * messages.c (as_bad): Fix a typo in description.
4004 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
4006 * config/tc-mips.c (mips_check_options): Unify messages.
4008 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
4010 * config/tc-mips.c (mips_check_options): Use `opts->isa'
4013 2016-04-08 Nick Clifton <nickc@redhat.com>
4016 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
4017 COFF and AOUT sparc targets.
4019 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4021 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
4022 * testsuite/gas/arc/nps400-2.d: New file.
4023 * testsuite/gas/arc/nps400-2.s: New file.
4025 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4027 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
4029 (arc_opcode_hash_entry_iterator_init): New function.
4030 (arc_opcode_hash_entry_iterator_next): New function.
4031 (find_opcode_match): Iterate over all arc_opcode entries
4032 referenced by the arc_opcode_hash_entry passed in as a parameter.
4034 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4036 * config/tc-arc.c (arc_find_opcode): Now returns
4037 arc_opcode_hash_entry pointer.
4038 (find_opcode_match): Update argument type, extract arc_opcode from
4039 incoming arc_opcode_hash_entry.
4040 (find_special_case_pseudo): Update return type.
4041 (find_special_case_flag): Update return type.
4042 (find_special_case): Update return type.
4043 (assemble_tokens): Lookup arc_opcode_hash_entry based on
4044 instruction mnemonic, then use find_opcode_match to identify
4045 specific arc_opcode.
4047 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4049 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
4050 (arc_find_opcode): New function.
4051 (find_special_case_pseudo): Use arc_find_opcode.
4052 (find_special_case_flag): Likewise.
4053 (assemble_tokens): Likewise.
4054 (md_begin): Build hash using struct arc_opcode_hash_entry.
4056 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
4058 * config/tc-arc.c (arc_option): Prepare string for automatic
4060 (declare_register): Likewise.
4062 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
4064 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
4065 Correct entry for RDMA. Alpha sort entries.
4067 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4069 * config/tc-arc.c (tokenize_flags): Allow greater range of
4070 characters into flag names.
4072 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4074 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
4076 (preprocess_operands): Delete.
4077 (assemble_tokens): Remove call to preprocess_operands.
4079 2016-04-07 Nick Clifton <nickc@redhat.com>
4082 * config/tc-sparc.c (sparc_ip): Report an error if the expression
4083 inside a %-macro could not be fully parsed.
4084 * expr.c (integer_constant): Accept and ignore U suffixes to
4086 (operand): When a missing closing parenthesis is encountered,
4087 report the character that was found instead.
4088 * testsuite/gas/mips/tls-ill.l: Update expected error message.
4089 * testsuite/gas/sparc/pr19910-1.d: New test driver.
4090 * testsuite/gas/sparc/pr19910-1.s: New test.
4091 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
4092 * testsuite/gas/sparc/pr19910-2.s: New test.
4093 * testsuite/gas/sparc/sparc.exp: Run the new tests.
4095 2016-04-06 Nick Clifton <nickc@redhat.com>
4097 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
4098 an EINT instruction. Warn/fix as necessary.
4099 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
4100 * testsuite/gas/msp430/bad.l: Update expected messages.
4102 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
4104 * testsuite/gas/arc/nps400-1.d: Update expected results.
4105 * testsuite/gas/arc/nps400-1.s: Additional test cases.
4107 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
4109 * config/tc-arc.c (is_code_density_p): Compare directly the
4111 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
4112 (check_cpu_feature): New function.
4113 (find_opcode_match): Use check_cpu_feature function.
4114 (preprocess_operands): Likewise.
4115 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
4116 * testsuite/gas/arc/tdpfp.d: New file.
4117 * testsuite/gas/arc/tfpuda.d: Likewise.
4118 * testsuite/gas/arc/tfpx.s: Likewise.
4120 2016-04-05 Jiong Wang <jiong.wang@arm.com>
4122 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
4123 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
4124 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
4125 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
4126 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
4127 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
4128 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
4129 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
4131 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
4133 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
4135 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
4136 JUMP instructions type.
4137 * testsuite/gas/arc/relocs-errors.d: New file.
4138 * testsuite/gas/arc/relocs-errors.err: Likewise.
4139 * testsuite/gas/arc/relocs-errors.s: Likewise.
4141 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4144 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
4145 only if i.disp_encoding != disp_encoding_32bit.
4146 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
4147 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
4148 * gas/testsuite/gas/i386/disp32.d: Updated.
4149 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
4151 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4154 * testsuite/gas/i386/i386.exp: Run pr19498.
4155 * testsuite/gas/i386/pr19498.d: New file.
4156 * testsuite/gas/i386/pr19498.s: Likewise.
4158 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
4160 * config/tc-arc.h: Include 'opcode/arc.h'.
4161 (MAX_INSN_ARGS): Delete.
4162 (MAX_INSN_FLGS): Delete.
4164 2016-04-04 Alan Modra <amodra@gmail.com>
4167 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
4168 from function on all paths that set sy_resolving.
4170 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4172 * app.c (app_push): use XNEW macro.
4174 * config/obj-elf.c (obj_elf_change_section): Likewise.
4175 (elf_copy_symbol_attributes): Likewise.
4176 (obj_elf_size): Likewise.
4177 (build_group_lists): Likewise.
4178 * config/tc-aarch64.c (add_operand_error_record): Likewise.
4179 (md_assemble): Likewise.
4180 (tc_gen_reloc): Likewise.
4181 (get_upper_str): Likewise.
4182 (aarch64_parse_features): Likewise.
4183 * config/tc-arm.c (insert_reg_alias): Likewise.
4184 (insert_neon_reg_alias): Likewise.
4185 (find_or_make_literal_pool): Likewise.
4186 (s_arm_elf_cons): Likewise.
4187 (add_unwind_opcode): Likewise.
4188 (arm_parse_extension): Likewise.
4189 * config/tc-avr.c (create_record_for_frag): Likewise.
4190 * config/tc-crx.c: Likewise.
4191 * config/tc-d30v.c: Likewise.
4192 * config/tc-dlx.c (s_proc): Likewise.
4193 * config/tc-ft32.c: Likewise.
4194 * config/tc-h8300.c: Likewise.
4195 * config/tc-hppa.c (pa_proc): Likewise.
4196 (create_new_space): Likewise.
4197 (create_new_subspace): Likewise.
4198 * config/tc-i860.c: Likewise.
4199 * config/tc-i960.c: Likewise.
4200 * config/tc-ia64.c: Likewise.
4201 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
4202 (iq2000_record_hi16): Likewise.
4203 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
4204 * config/tc-m32r.c (debug_sym): Likewise.
4205 (m32r_record_hi16): Likewise.
4206 * config/tc-m68k.c (m68k_ip): Likewise.
4207 (md_begin): Likewise.
4208 * config/tc-mcore.c: Likewise.
4209 * config/tc-microblaze.c (check_got): Likewise.
4210 * config/tc-mips.c (append_insn): Likewise.
4211 (s_mipsset): Likewise.
4212 (mips_record_label): Likewise.
4213 (s_mips_end): Likewise.
4214 * config/tc-mmix.c (mmix_frob_file): Likewise.
4215 * config/tc-mn10200.c: Likewise.
4216 * config/tc-mn10300.c: Likewise.
4217 * config/tc-moxie.c: Likewise.
4218 * config/tc-msp430.c: Likewise.
4219 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
4220 * config/tc-ns32k.c: Likewise.
4221 * config/tc-or1k.c: Likewise.
4222 * config/tc-pdp11.c: Likewise.
4223 * config/tc-pj.c (fake_opcode): Likewise.
4224 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
4225 (ppc_macro): Likewise.
4226 (ppc_dwsect): Likewise.
4227 (ppc_machine): Likewise.
4228 * config/tc-rl78.c (rl78_frag_init): Likewise.
4229 * config/tc-rx.c (rx_frag_init): Likewise.
4230 * config/tc-s390.c (s390_lit_suffix): Likewise.
4231 (s390_machine): Likewise.
4232 (s390_machinemode): Likewise.
4233 * config/tc-score.c (s3_insert_reg): Likewise.
4234 (s3_gen_reloc): Likewise.
4235 * config/tc-score7.c (s7_insert_reg): Likewise.
4236 (s7_gen_reloc): Likewise.
4237 * config/tc-tic30.c (tic30_operand): Likewise.
4238 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
4239 * config/tc-tic54x.c (stag_add_field): Likewise.
4240 (tic54x_struct): Likewise.
4241 (tic54x_space): Likewise.
4242 (tic54x_field): Likewise.
4243 (tic54x_mlib): Likewise.
4244 (subsym_substitute): Likewise.
4245 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
4246 * config/tc-vax.c: Likewise.
4247 * config/tc-xc16x.c: Likewise.
4248 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
4249 (directive_push): Likewise.
4250 (xtensa_begin_directive): Likewise.
4251 (tokenize_arguments): Likewise.
4252 (xtensa_add_literal_sym): Likewise.
4253 (new_resource_table): Likewise.
4254 (resize_resource_table): Likewise.
4255 (emit_single_op): Likewise.
4256 (xtensa_create_trampoline_frag): Likewise.
4257 (xtensa_maybe_create_literal_pool_frag): Likewise.
4258 (xtensa_add_config_info): Likewise.
4259 (xtensa_realloc_fixup_cache): Likewise.
4260 (add_subseg_info): Likewise.
4261 (cache_literal_section): Likewise.
4262 (add_xt_block_frags): Likewise.
4263 (add_xt_prop_frags): Likewise.
4264 (init_op_placement_info_table): Likewise.
4265 (build_section_rename): Likewise.
4266 * config/tc-z80.c: Likewise.
4267 * config/tc-z8k.c: Likewise.
4268 * depend.c (register_dependency): Likewise.
4269 * dwarf2dbg.c (get_line_subseg): Likewise.
4270 (dwarf2_gen_line_info_1): Likewise.
4271 (get_filenum): Likewise.
4272 * ecoff.c (allocate_scope): Likewise.
4273 (allocate_vlinks): Likewise.
4274 (allocate_shash): Likewise.
4275 (allocate_thash): Likewise.
4276 (allocate_tag): Likewise.
4277 (allocate_forward): Likewise.
4278 (allocate_thead): Likewise.
4279 (allocate_lineno_list): Likewise.
4280 * expr.c (make_expr_symbol): Likewise.
4281 * hash.c (hash_new_sized): Likewise.
4282 * input-file.c (input_file_push): Likewise.
4283 * listing.c (file_info): Likewise.
4284 (listing_newline): Likewise.
4285 * macro.c (new_formal): Likewise.
4286 (define_macro): Likewise.
4287 * remap.c (add_debug_prefix_map): Likewise.
4288 * symbols.c (symbol_find_noref): Likewise.
4289 (define_dollar_label): Likewise.
4290 (fb_label_instance_inc): Likewise.
4291 (symbol_relc_make_value): Likewise.
4293 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4295 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
4296 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
4297 (ppc_znop): Likewise.
4298 (ppc_pe_section): Likewise.
4299 (ppc_frob_symbol): Likewise.
4300 * config/tc-tic30.c (tic30_operand): Likewise.
4301 * config/tc-tic4x.c (tic4x_sect): Likewise.
4302 (tic4x_usect): Likewise.
4304 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4306 * config/tc-alpha.c: Const qualify FLT_CHARS.
4307 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
4308 * config/tc-cris.h: Likewise.
4310 * config/tc-mmix.c (md_atof): Adjust comment.
4311 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
4312 * tc.h: Declare FLT_CHARS and EXP_CHARS.
4314 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4316 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
4317 * config/tc-score7.c (s7_gen_reloc): Likewise.
4319 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4321 * config/tc-arm.c (do_t_branch): Change the type of reloc to
4322 bfd_reloc_code_real_type.
4324 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4326 * config/bfin-parse.y (current_inputline): Remove definition.
4327 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
4329 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4331 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
4334 2016-04-02 Alan Modra <amodra@gmail.com>
4337 * read.c (assign_symbol): Consume rest of line after an error
4338 rather than continuing to process the line.
4340 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4342 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
4343 (MAX_FLAG_NAME_LENGTH): ...this.
4344 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
4345 * config/tc-arc.c (tokenize_flags): Likewise.
4347 2016-04-01 Alan Modra <amodra@gmail.com>
4349 * cgen.c (weak_operand_overflow_check): Return const char*.
4350 * messages.c (as_internal_value_out_of_range): Formatting.
4351 (as_warn_value_out_of_range): Consify prefix param.
4352 (as_bad_value_out_of_range): Likewise.
4353 * read.c (s_errwarn): Constify msg..
4354 (s_float_space, float_cons): ..and err.
4355 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
4356 ieee_md_atof, vax_md_atof): Update prototypes.
4357 * tc.h (md_atof): Update prototype.
4358 * config/atof-ieee.c (ieee_md_atof): Return const char*.
4359 * config/atof-vax.c (vax_md_atof): Likewise.
4360 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
4361 * config/tc-aarch64.c (md_atof): Return const char*.
4362 * config/tc-alpha.c (s_alpha_section_name): Likewise.
4363 (s_alpha_comm): Constify sec_name.
4364 (section_name): Constify.
4365 (s_alpha_section): Consify name..
4366 (alpha_elf_section_letter): ..and ptr_msg param..
4367 (md_atof): ..and return.
4368 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
4369 * config/tc-arc.c (md_atof): Return const char*.
4370 * config/tc-arm.c (md_atof): Likewise.
4371 * config/tc-avr.c (md_atof): Likewise.
4372 * config/tc-bfin.c (md_atof): Likewise.
4373 * config/tc-cr16.c (md_atof): Likewise.
4374 * config/tc-cris.c (md_atof): Likewise.
4375 * config/tc-crx.c (md_atof): Likewise.
4376 * config/tc-d10v.c (md_atof): Likewise.
4377 * config/tc-d30v.c (md_atof): Likewise.
4378 * config/tc-dlx.c (md_atof): Likewise.
4379 * config/tc-epiphany.c (md_atof): Likewise.
4380 * config/tc-fr30.c (md_atof): Likewise.
4381 * config/tc-frv.c (md_atof): Likewise.
4382 * config/tc-ft32.c (md_atof): Likewise.
4383 * config/tc-h8300.c (md_atof): Likewise.
4384 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
4385 (struct default_space_dict): Likewise.
4386 (create_new_space): Constify name param.
4387 (create_new_subspace): Likewise.
4388 (is_defined_space, is_defined_subspace): Likewise.
4389 (pa_parse_space_stmt): Constify space_name param.
4390 (md_atof): Return const char*.
4391 (pa_spaces_begin): Constify name.
4392 * config/tc-i370.c (md_atof): Return const char*.
4393 * config/tc-i386.c (md_atof): Likewise.
4394 (x86_64_section_letter): Constify ptr_msg param.
4395 * config/tc-i386.h (x86_64_section_letter): Update prototype.
4396 * config/tc-i860.c (struct i860_it): Constify error.
4397 (md_atof): Return const char*.
4398 * config/tc-i960.c (md_atof): Likewise.
4399 * config/tc-ia64.c (md_atof): Likewise.
4400 (ia64_elf_section_letter): Constify ptr_msg param.
4401 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
4402 * config/tc-ip2k.c (md_atof): Return const char*.
4403 * config/tc-iq2000.c (md_atof): Likewise.
4404 * config/tc-lm32.c (md_atof): Likewise.
4405 * config/tc-m32c.c (md_atof): Likewise.
4406 * config/tc-m32r.c (md_atof): Likewise.
4407 * config/tc-m68hc11.c (md_atof): Likewise.
4408 * config/tc-m68k.c (md_atof): Likewise.
4409 * config/tc-mcore.c (md_atof): Likewise.
4410 * config/tc-mep.c (md_atof): Likewise.
4411 (mep_elf_section_letter): Constify ptr_msg param.
4412 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
4413 * config/tc-metag.c (md_atof): Return const char*.
4414 * config/tc-microblaze.c (md_atof): Likewise.
4415 * config/tc-microblaze.h (md_atof): Delete prototype.
4416 * config/tc-mips.c (mips_parse_argument_token): Constify err.
4417 (md_atof): Return const char*.
4418 * config/tc-mmix.c (md_atof): Likewise.
4419 * config/tc-mn10200.c (md_atof): Likewise.
4420 * config/tc-mn10300.c (md_atof): Likewise.
4421 * config/tc-moxie.c (md_atof): Likewise.
4422 * config/tc-msp430.c (md_atof): Likewise.
4423 * config/tc-mt.c (md_atof): Likewise.
4424 * config/tc-nds32.c (md_atof): Likewise.
4425 * config/tc-nios2.c (md_atof): Likewise.
4426 (nios2_elf_section_letter): Constify ptr_msg param.
4427 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
4428 * config/tc-ns32k.c (md_atof): Return const char*.
4429 * config/tc-or1k.c (md_atof): Likewise.
4430 * config/tc-pdp11.c (struct pdp11_code): Constify error.
4431 (md_atof): Return const char*.
4432 * config/tc-pj.c (md_atof): Likewise.
4433 * config/tc-ppc.c (md_atof): Likewise.
4434 * config/tc-rl78.c (md_atof): Likewise.
4435 * config/tc-rx.c (md_atof): Likewise.
4436 * config/tc-s390.c (md_atof): Likewise.
4437 * config/tc-score.c (s3_atof, md_atof): Likewise.
4438 * config/tc-sh.c (md_atof): Likewise.
4439 * config/tc-sparc.c (struct sparc_it): Constify error.
4440 (md_atof): Return const char*.
4441 * config/tc-spu.c (md_atof): Likewise.
4442 * config/tc-tic30.c (md_atof): Likewise.
4443 * config/tc-tic4x.c (md_atof): Likewise.
4444 * config/tc-tic54x.c (md_atof): Likewise.
4445 * config/tc-tic6x.c (md_atof): Likewise.
4446 * config/tc-tilegx.c (md_atof): Likewise.
4447 * config/tc-tilepro.c (md_atof): Likewise.
4448 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
4449 * config/tc-vax.c (md_atof): Likewise.
4450 * config/tc-visium.c (md_atof): Likewise.
4451 * config/tc-xc16x.c (md_atof): Likewise.
4452 * config/tc-xgate.c (md_atof): Likewise.
4453 * config/tc-xstormy16.c (md_atof): Likewise.
4454 * config/tc-xtensa.c (md_atof): Likewise.
4455 * config/tc-z80.c (md_atof): Likewise.
4456 * config/tc-z8k.c (md_atof): Likewise.
4458 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4460 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
4462 (xtensa_section_rename): Make argument type const char *.
4463 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
4465 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4467 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
4470 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4472 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
4474 (m32c_indirect_operand): Likewise.
4475 * config/tc-nds32.c (do_pseudo_b): Likewise.
4476 (do_pseudo_bal): Likewise.
4477 (do_pseudo_ls_bhw): Likewise.
4479 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4481 * as.c (parse_args): Cast literal to char * when assigning to optarg.
4483 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4485 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
4487 * config/tc-sparc.c (s_register): Cast a literal to char * in
4490 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4492 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
4494 * config/tc-m32r.c (expand_debug_syms): Likewise.
4495 * config/tc-msp430.c (msp430_dstoperand): Likewise.
4496 * config/tc-z80.c (md_begin): Likewise.
4497 * stabs.c (stabs_generate_asm_func): Likewise.
4499 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4501 * cgen.c: Modernize the way functions declare arguments.
4502 * config/tc-bfin.c: Likewise.
4503 * config/tc-pdp11.c: Likewise.
4504 * literal.c: Likewise.
4506 * stabs.c: Likewise.
4508 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4510 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
4511 variables unsigned char[].
4512 * config/tc-alpha.c (alpha_handle_align): Likewise.
4513 * config/tc-arm.c (arm_handle_align): Likewise.
4514 * config/tc-z80.c: Likewise.
4516 2016-03-30 Nick Clifton <nickc@redhat.com>
4519 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
4522 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4524 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
4525 * testsuite/gas/elf/elf.exp: Likewise.
4526 * testsuite/gas/all/redef3.d: Allow execution for ARC.
4528 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4530 * testsuite/gas/arc/warn.exp: Fix matching pattern.
4532 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
4534 * testsuite/gas/arc/ext2op.d: New file.
4535 * testsuite/gas/arc/ext2op.s: Likewise.
4536 * testsuite/gas/arc/ext3op.d: Likewise.
4537 * testsuite/gas/arc/ext3op.s: Likewise.
4539 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4541 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
4543 * config/tc-alpha.c (md_parse_option): Likewise.
4544 * config/tc-arc.c (md_parse_option): Likewise.
4545 * config/tc-arm.c (struct arm_long_option_table): Likewise.
4546 (md_parse_option): Likewise.
4547 * config/tc-avr.c (md_parse_option): Likewise.
4548 * config/tc-bfin.c (md_parse_option): Likewise.
4549 * config/tc-cr16.c (md_parse_option): Likewise.
4550 * config/tc-cris.c (s_cris_arch): Likewise.
4551 (md_parse_option): Likewise.
4552 * config/tc-crx.c (md_parse_option): Likewise.
4553 * config/tc-d10v.c (md_parse_option): Likewise.
4554 * config/tc-d30v.c (md_parse_option): Likewise.
4555 * config/tc-dlx.c (md_parse_option): Likewise.
4556 * config/tc-epiphany.c (md_parse_option): Likewise.
4557 * config/tc-fr30.c (md_parse_option): Likewise.
4558 * config/tc-frv.c (md_parse_option): Likewise.
4559 * config/tc-ft32.c (md_parse_option): Likewise.
4560 * config/tc-h8300.c (md_parse_option): Likewise.
4561 * config/tc-hppa.c (md_parse_option): Likewise.
4562 * config/tc-i370.c (md_parse_option): Likewise.
4563 * config/tc-i386.c (md_parse_option): Likewise.
4564 * config/tc-i860.c (md_parse_option): Likewise.
4565 * config/tc-i960.c (md_parse_option): Likewise.
4566 * config/tc-ia64.c (md_parse_option): Likewise.
4567 * config/tc-ip2k.c (md_parse_option): Likewise.
4568 * config/tc-iq2000.c (md_parse_option): Likewise.
4569 * config/tc-lm32.c (md_parse_option): Likewise.
4570 * config/tc-m32c.c (md_parse_option): Likewise.
4571 * config/tc-m32r.c (md_parse_option): Likewise.
4572 * config/tc-m68hc11.c (md_parse_option): Likewise.
4573 * config/tc-m68k.c (md_parse_option): Likewise.
4574 * config/tc-mcore.c (md_parse_option): Likewise.
4575 * config/tc-mep.c (md_parse_option): Likewise.
4576 * config/tc-metag.c (struct metag_long_option): Likewise.
4577 (md_parse_option): Likewise.
4578 * config/tc-microblaze.c (md_parse_option): Likewise.
4579 * config/tc-microblaze.h (md_parse_option): Remove prototype.
4580 * config/tc-mips.c (md_parse_option): Adjust.
4581 * config/tc-mmix.c (md_parse_option): Likewise.
4582 * config/tc-mn10200.c (md_parse_option): Likewise.
4583 * config/tc-mn10300.c (md_parse_option): Likewise.
4584 * config/tc-moxie.c (md_parse_option): Likewise.
4585 * config/tc-msp430.c (md_parse_option): Likewise.
4586 * config/tc-mt.c (md_parse_option): Likewise.
4587 * config/tc-nds32.c (md_parse_option): Likewise.
4588 * config/tc-nds32.h (nds32_parse_option): Likewise.
4589 * config/tc-nios2.c (md_parse_option): Likewise.
4590 * config/tc-ns32k.c (md_parse_option): Likewise.
4591 * config/tc-or1k.c (md_parse_option): Likewise.
4592 * config/tc-pdp11.c (md_parse_option): Likewise.
4593 * config/tc-pj.c (md_parse_option): Likewise.
4594 * config/tc-ppc.c (md_parse_option): Likewise.
4595 * config/tc-rl78.c (md_parse_option): Likewise.
4596 * config/tc-rx.c (md_parse_option): Likewise.
4597 * config/tc-s390.c (s390_parse_cpu): Likewise.
4598 * config/tc-score.c (md_parse_option): Likewise.
4599 * config/tc-sh.c (md_parse_option): Likewise.
4600 * config/tc-sparc.c (md_parse_option): Likewise.
4601 * config/tc-spu.c (md_parse_option): Likewise.
4602 * config/tc-tic30.c (md_parse_option): Likewise.
4603 * config/tc-tic4x.c (md_parse_option): Likewise.
4604 * config/tc-tic54x.c (md_parse_option): Likewise.
4605 * config/tc-tic6x.c (md_parse_option): Likewise.
4606 * config/tc-tilegx.c (md_parse_option): Likewise.
4607 * config/tc-tilepro.c (md_parse_option): Likewise.
4608 * config/tc-v850.c (md_parse_option): Likewise.
4609 * config/tc-vax.c (md_parse_option): Likewise.
4610 * config/tc-visium.c (struct visium_long_option_table): Likewise.
4611 * config/tc-xc16x.c (md_parse_option): Likewise.
4612 * config/tc-xgate.c (md_parse_option): Likewise.
4613 * config/tc-xstormy16.c (md_parse_option): Likewise.
4614 * config/tc-xtensa.c (md_parse_option): Likewise.
4615 * config/tc-z80.c (md_parse_option): Likewise.
4616 * config/tc-z8k.c (md_parse_option): Likewise.
4617 * tc.h (md_parse_option): Likewise.
4619 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4621 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
4622 * config/tc-hppa.c (fix_new_hppa): Likewise.
4623 (pa_vtable_entry): Likewise.
4624 (pa_vtable_inherit): Likewise.
4625 * config/tc-m68k.c (md_begin): Likewise.
4627 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4629 * config/obj-elf.c (obj_elf_section_name): Return const char *.
4630 * config/obj-elf.h (obj_elf_section_name): Adjust.
4631 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
4632 (aarch64_parse_cpu): Likewise.
4633 (aarch64_parse_arch): Likewise.
4634 * config/tc-arm.c (arm_parse_extension): Likewise.
4635 (arm_parse_cpu): Likewise.
4636 (arm_parse_arch): Likewise.
4637 * config/tc-nds32.c: Likewise.
4638 * config/xtensa-relax.c (parse_special_fn): Likewise.
4639 * stabs.c (generate_asm_file): Likewise.
4641 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4643 * config/tc-cr16.c (cr16_assemble): New function.
4644 (md_assemble): Call cr16_assemble.
4646 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4648 * as.c (parse_args): Adjust.
4649 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
4650 * config/obj-elf.c (elf_frob_symbol): Adjust.
4652 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
4654 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
4655 registers to be in the 16..31 range.
4657 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4659 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
4662 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4664 * config/tc-visium.c (md_atof): Localize the string returned on
4667 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4669 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
4670 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
4671 * config/tc-m68hc11.c (md_begin): Likewise.
4672 (print_opcode_list): Likewise.
4673 * config/tc-msp430.c (msp430_section): Likewise.
4674 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
4675 (s3_build_dependency_insn_hsh): Likewise.
4676 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
4677 (s7_build_dependency_insn_hsh): Likewise.
4678 * config/tc-tic4x.c: Likewise.
4679 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4680 (subsym_get_arg): Likewise.
4681 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
4682 (get_directive): Likewise.
4683 (cache_literal_section): Likewise.
4684 * config/xtensa-relax.c: Likewise.
4685 * symbols.c (symbol_create): Likewise.
4686 (local_symbol_make): Likewise.
4687 (symbol_relc_make_expr): Likewise.
4689 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4691 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
4694 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4696 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
4699 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4701 * config/tc-ia64.c (ia64_do_align): Remove.
4702 (ia64_cons_align): Call do_align () directly.
4703 (dot_proc): Likewise.
4704 (stmt_float_cons): Likewise.
4706 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4708 * listing.c (listing_message): Use XNEW style allocation macros.
4709 * read.c (read_a_source_file): Likewise.
4710 (read_symbol_name): Likewise.
4711 (s_mri_common): Likewise.
4712 (assign_symbol): Likewise.
4713 (s_reloc): Likewise.
4714 (emit_expr_with_reloc): Likewise.
4715 (s_incbin): Likewise.
4716 (s_include): Likewise.
4717 * sb.c (sb_build): Likewise.
4718 (sb_check): Likewise.
4720 2016-03-22 Alan Modra <amodra@gmail.com>
4722 * write.c (record_alignment): Revert 2016-02-18 change.
4724 2016-03-22 Alan Modra <amodra@gmail.com>
4726 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
4727 (emit_jsrjmp, tc_gen_reloc): Likewise.
4728 * config/tc-i370.c (i370_macro): Likewise.
4730 2016-03-22 Nick Clifton <nickc@redhat.com>
4732 * configure: Regenerate.
4734 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4736 * testsuite/gas/arc/nps400-0.d: New file.
4737 * testsuite/gas/arc/nps400-0.s: New file.
4738 * testsuite/gas/arc/nps400-1.d: New file.
4739 * testsuite/gas/arc/nps400-1.s: New file.
4741 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4743 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
4744 declarations to start of block. Reset code on all flags before
4745 attempting to match them. Handle multiple hits on the same flag.
4747 * testsuite/gas/arc/asm-errors.d: New file.
4748 * testsuite/gas/arc/asm-errors.err: New file.
4749 * testsuite/gas/arc/asm-errors.s: New file.
4751 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4753 * config/tc-arc.c (cpu_types): Add nps400 entry.
4754 (check_zol): Handle nps400.
4756 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4758 * config/tc-arc.c (arc_select_cpu): Remove use of
4761 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4763 * config/tc-arc.c (arc_target): Delay initialisation until
4765 (arc_target_name): Likewise.
4766 (arc_features): Likewise.
4767 (arc_mach_type): Likewise.
4768 (cpu_types): Remove "all" entry.
4769 (arc_select_cpu): New function, most of the content is from...
4770 (md_parse_option): ... here. Call new arc_select_cpu.
4771 (md_begin): Call arc_select_cpu if needed, default is now arc700.
4773 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4775 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
4776 * testsuite/gas/arc/inline-data-2.d: New file.
4778 2016-03-21 Nick Clifton <nickc@redhat.com>
4780 * atof-generic.c: Replace use of alloca with call to xmalloc.
4782 * dwarf2dbg.c: Likewise.
4783 * macro.c: Likewise.
4784 * remap.c: Likewise.
4785 * stabs.c: Likewise.
4786 * symbols.c: Likewise.
4787 * config/obj-elf.c: Likewise.
4788 * config/tc-aarch64.c: Likewise.
4789 * config/tc-arc.c: Likewise.
4790 * config/tc-arm.c: Likewise.
4791 * config/tc-avr.c: Likewise.
4792 * config/tc-ia64.c: Likewise.
4793 * config/tc-mips.c: Likewise.
4794 * config/tc-msp430.c: Likewise.
4795 * config/tc-nds32.c: Likewise.
4796 * config/tc-ppc.c: Likewise.
4797 * config/tc-sh.c: Likewise.
4798 * config/tc-tic30.c: Likewise.
4799 * config/tc-tic54x.c: Likewise.
4800 * config/tc-xstormy16.c: Likewise.
4801 * config/te-vms.c: Likewise.
4802 * configure: Regenerate.
4804 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4806 * tc-i386.c (f32_1): Change type to unsigned char[].
4826 (jump_31): Likewise.
4827 (f32_patt): Likewise.
4828 (f16_patt): Likewise.
4837 (alt_patt): Likewise.
4839 2016-03-18 Nick Clifton <nickc@redhat.com>
4841 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
4842 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
4843 .tlsdescldr and .xword directives.
4846 * testsuite/gas/aarch64/pr19721.s: New test source file.
4847 * testsuite/gas/aarch64/pr19721.d: New test driver file.
4849 * doc/as.texinfo: Place the target specific command line options
4850 into their own man page section.
4852 2016-03-16 Jiong Wang <jiong.wang@arm.com>
4854 * config/tc-arm.c (N_S_32): New.
4855 (N_F_16_32): Likewise.
4856 (N_SUF_32): Support N_F16.
4857 (N_IF_32): Likewise.
4858 (neon_dyadic_misc): Likewise.
4859 (do_neon_cmp): Likewise.
4860 (do_neon_cmp_inv): Likewise.
4861 (do_neon_mul): Likewise.
4862 (do_neon_fcmp_absolute): Likewise.
4863 (do_neon_step): Likewise.
4864 (do_neon_abs_neg): Likewise.
4865 (CVT_FLAVOR_VAR): Likewise.
4866 (do_neon_cvt_1): Likewise.
4867 (do_neon_recip_est): Likewise.
4868 (do_vmaxnm): Likewise.
4869 (do_vrint_1): Likewise.
4870 (neon_check_type): Check architecture support for FP16 extension.
4871 (insns): Update comments.
4872 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
4873 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
4874 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
4875 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
4877 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
4879 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
4882 2016-03-16 Nick Clifton <nickc@redhat.com>
4884 * read.c (emit_expr_with_reloc): Add code check a bignum with
4886 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
4888 * testsuite/gas/elf/bignum.s: New test source file.
4889 * testsuite/gas/elf/bignum.d: New test driver file.
4890 * testsuite/gas/elf/elf.exp: Run the new test.
4892 2016-03-15 Ulrich Drepper <drepper@gmail.com>
4894 * doc/c-i386.texi (Register Naming): Update to details of the
4895 latest architecture version.
4897 2016-03-10 Mickael Guene <mickael.guene@st.com>
4900 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
4902 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
4903 (do_t_mov_cmp): Likewise.
4904 (do_t_add_sub): Protect against bad relocations usage.
4905 (do_t_mov_cmp): Likewise.
4906 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
4907 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
4908 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
4909 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
4911 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4913 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
4915 (do_neon_ld_st_lane): Likewise.
4916 (do_neon_ld_dup): Likewise.
4918 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
4920 * testsuite/gas/arc/inline-data-1.d: New file.
4921 * testsuite/gas/arc/inline-data-1.s: New file.
4923 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
4925 * config/tc-arm.c (arm_cpus): Add cortex-r8.
4926 * doc/c-arm.texi: Add cortex-r8.
4928 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4930 * config/tc-arc.c: Add const qualifiers.
4931 * config/tc-h8300.c (md_begin): Likewise.
4932 * config/tc-ia64.c (print_prmask): Likewise.
4933 * config/tc-msp430.c (msp430_operands): Likewise.
4934 * config/tc-nds32.c (struct suffix_name): Likewise.
4935 (struct nds32_parse_option_table): Likewise.
4936 (struct nds32_set_option_table): Likewise.
4937 (do_pseudo_pushpopm): Likewise.
4938 (do_pseudo_pushpop_stack): Likewise.
4939 (nds32_relax_relocs): Likewise.
4940 (nds32_flag): Likewise.
4941 (struct nds32_hint_map): Likewise.
4942 (nds32_find_reloc_table): Likewise.
4943 (nds32_match_hint_insn): Likewise.
4944 * config/tc-s390.c: Likewise.
4945 * config/tc-sh.c (get_specific): Likewise.
4946 * config/tc-tic30.c: Likewise.
4947 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
4948 (tic4x_indirect_parse): Likewise.
4949 * config/tc-vax.c (vax_cons): Likewise.
4950 * config/tc-z80.c (struct reg_entry): Likewise.
4951 * config/tc-epiphany.c (md_assemble): Adjust.
4952 (epiphany_assemble): New function.
4953 (epiphany_elf_section_rtn): Call do_align directly.
4954 (epiphany_elf_section_text): Likewise.
4955 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
4956 (ip2k_elf_section_text): Likewise.
4957 * read.c (do_align): Make it not static.
4958 * read.h (do_align): New prototype.
4960 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4962 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4963 for ARMv8.1 AdvSIMD use.
4964 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4965 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4967 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4969 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4971 (record_feature_use): New.
4972 (mark_feature_used): Use record_feature_use.
4973 (do_neon_qrdmlah): New.
4974 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4976 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4977 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4978 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4979 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4980 Make source file explicit.
4981 * testsuite/gas/arm/armv8-a+rdma.l: New.
4982 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4983 directives. Fix white-space.
4984 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4986 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4988 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4990 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4991 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4993 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4994 (tc_arc_fix_adjustable): Changed default return value to 1.
4995 * testsuite/gas/arc/j.d: Updated expected symbol
4996 * testsuite/gas/arc/jl.d: Likewise
4997 * testsuite/gas/arc/relax-avoid1.d: Likewise
4998 * testsuite/gas/arc/st.d: Likewise
5000 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
5002 * config/tc-arc.c: Enable code density instructions for ARC EM.
5004 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
5007 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
5009 * as.c (flag_use_elf_stt_common): New.
5010 (show_usage): Add --elf-stt-common=.
5011 (option_values): Add OPTION_ELF_STT_COMMON.
5012 (std_longopts): Add --elf-stt-common=.
5013 (parse_args): Handle --elf-stt-common=.
5014 * as.h (flag_use_elf_stt_common): New.
5015 * config.in: Regenerated.
5016 * configure: Likewise.
5017 * configure.ac: Add --enable-elf-stt-common and define
5018 DEFAULT_GENERATE_ELF_STT_COMMON.
5019 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
5020 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
5021 * doc/as.texinfo: Document --elf-stt-common=.
5022 * testsuite/gas/elf/common3.s: New file.
5023 * testsuite/gas/elf/common3a.d: Likewise.
5024 * testsuite/gas/elf/common3b.d: Likewise.
5025 * testsuite/gas/elf/common4.s: Likewise.
5026 * testsuite/gas/elf/common4a.d: Likewise.
5027 * testsuite/gas/elf/common4b.d: Likewise.
5028 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
5029 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
5030 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
5032 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
5033 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
5034 --elf-stt-common=no to as.
5035 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
5036 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
5037 --elf-stt-common=no to as.
5038 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
5039 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
5040 of dw2-compress-3 and dw2-compressed-3.
5042 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5044 * as.c (select_emulation_mode): Add const qualifiers.
5046 * config/bfin-defs.h: Likewise.
5047 * config/bfin-parse.y: Likewise.
5048 * config/rx-parse.y: Likewise.
5049 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
5050 (struct aarch64_cpu_option_table): Likewise.
5051 (struct aarch64_arch_option_table): Likewise.
5052 (struct aarch64_option_cpu_value_table): Likewise.
5053 (struct aarch64_long_option_table): Likewise.
5054 (struct aarch64_option_abi_value_table): Likewise.
5055 * config/tc-arm.c (struct reloc_entry): Likewise.
5056 (tc_gen_reloc): Likewise.
5057 (struct arm_option_table): Likewise.
5058 (struct arm_legacy_option_table): Likewise.
5059 (struct arm_cpu_option_table): Likewise.
5060 (struct arm_arch_option_table): Likewise.
5061 (struct arm_option_extension_value_table): Likewise.
5062 (struct arm_option_fpu_value_table): Likewise.
5063 (struct arm_option_value_table): Likewise.
5064 (struct arm_long_option_table): Likewise.
5065 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
5066 (struct mcu_type_s): Likewise.
5067 (struct exp_mod_s): Likewise.
5068 (avr_operand): Likewise.
5069 (avr_operands): Likewise.
5070 * config/tc-d10v.c (md_begin): Likewise.
5071 * config/tc-dlx.c: Likewise.
5072 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
5073 * config/tc-ft32.c (parse_condition): Likewise.
5074 * config/tc-h8300.c (do_a_fix_imm): Likewise.
5075 * config/tc-hppa.c (pa_ip): Likewise.
5076 (hppa_regname_to_dw2regnum): Likewise.
5077 * config/tc-i370.c (i370_elf_suffix): Likewise.
5078 * config/tc-i960.c (struct tabentry): Likewise.
5079 * config/tc-m32r.c: Likewise.
5080 * config/tc-m68k.c: Likewise.
5081 * config/tc-m68k.h: Likewise.
5082 * config/tc-mcore.c (parse_psrmod): Likewise.
5083 * config/tc-metag.c (struct metag_core_option): Likewise.
5084 (struct metag_long_option): Likewise.
5085 * config/tc-microblaze.c: Likewise.
5086 * config/tc-mips.c (macro): Likewise.
5087 * config/tc-mn10200.c: Likewise.
5088 * config/tc-mn10300.c: Likewise.
5089 * config/tc-msp430.c (struct rcodes_s): Likewise.
5090 (struct hcodes_s): Likewise.
5091 (md_parse_option): Likewise.
5092 * config/tc-ns32k.c (struct ns32k_option): Likewise.
5093 (optlist): Likewise.
5094 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
5095 (tc_ppc_regname_to_dw2regnum): Likewise.
5096 * config/tc-ppc.h: Likewise.
5097 * config/tc-rl78.c: Likewise.
5098 * config/tc-rx.c (struct cpu_type): Likewise.
5099 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
5100 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
5101 (sparc_ip): Likewise.
5102 * config/tc-spu.c (insn_fmt_string): Likewise.
5103 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5104 * config/tc-v850.c: Likewise.
5105 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
5106 (struct visium_long_option_table): Likewise.
5107 * config/tc-xgate.c: Likewise.
5108 * config/tc-z8k.c: Likewise.
5109 * read.c (add_include_dir): Likewise.
5112 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5114 * testsuite/gas/all/gas.exp: Change target pattern to cover
5116 * testsuite/gas/all/redef3.d: Likewise.
5117 * testsuite/gas/elf/elf.exp: Likewise.
5119 2016-02-24 Renlin Li <renlin.li@arm.com>
5121 * config/tc-arm.c (BAD_FP16): New error message macro.
5122 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
5123 fp16 scalar instructions.
5124 (neon_check_type): Allow different size from key.
5125 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
5126 (try_vfp_nsyn): Likewise.
5127 (do_vfp_nsyn_mla_mls): Likewise.
5128 (do_vfp_nsyn_fma_fms): Likewise.
5129 (do_vfp_nsyn_ldm_stm): Likewise
5130 (do_vfp_nsyn_sqrt): Likewise
5131 (do_vfp_nsyn_div): Likewise
5132 (do_vfp_nsyn_nmul): Likewise.
5133 (do_vfp_nsyn_cmp): Likewise.
5134 (do_neon_shll): Likewise.
5135 (do_vfp_nsyn_cvt_fpv8): Likewise.
5136 (do_neon_cvttb_2): Likewise.
5137 (do_neon_mov): Likewise.
5138 (do_neon_rshift_round_imm): Likewise.
5139 (do_neon_ldr_str): Likewise.
5140 (do_vfp_nsyn_fpv8): Likewise.
5141 (do_vmaxnm): Likewise.
5142 (do_vrint_1): Likewise.
5143 (insns): New entry for vins, vmovx.
5144 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
5145 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
5146 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
5147 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
5148 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
5149 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
5150 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
5152 2016-02-24 Renlin Li <renlin.li@arm.com>
5154 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
5155 (neon_shape_class): New SC_HALF.
5156 (neon_shape_el): New SE_H.
5157 (neon_shape_el_size): New size for SE_H.
5158 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
5159 (neon_select_shape): Add SE_H support code.
5160 (el_type_of_type_chk): Use N_F_ALL.
5161 (do_vfp_nsyn_cvt): Add SE_H shape support.
5162 (do_neon_cvtz): Likewise.
5163 (do_neon_cvt_1): Likewise.
5164 (do_neon_cvttb_1): Likewise.
5166 2016-02-24 Renlin Li <renlin.li@arm.com>
5168 * testsuite/gas/arm/copro.d: Adjust output.
5169 * testsuite/gas/arm/copro.s: Adjust co-processor num.
5171 2016-02-24 Renlin Li <renlin.li@arm.com>
5173 * testsuite/gas/arm/mask_1.d: New.
5174 * testsuite/gas/arm/mask_1.s: New.
5176 2016-02-24 Renlin Li <renlin.li@arm.com>
5178 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
5179 * testsuite/gas/arm/copro.d: Update.
5181 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5183 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
5184 * doc/c-arm.texi (ARM Options): Document cortex-a32.
5186 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5188 * doc/c-arm.texi (ARM Options): Document cortex-a17.
5190 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
5192 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
5195 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5197 * output-file.c (output_file_create): Make file name argument const.
5198 (output_file_close): Likewise.
5199 * output-file.h (output_file_create): Adjust.
5200 (output_file_close): Likewise.
5201 * depend.c (quote_string_for_make): Make src argument const char *.
5202 (register_dependency): Likewise.
5203 (wrap_output): Likewise.
5204 * as.h (register_dependency): Adjust.
5205 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
5207 * symbols.c (S_SET_EXTERNAL): Likewise.
5208 * input-scrub.c (as_where): Return the file name.
5209 * as.h (as_where): Adjust prototype.
5210 * app.c (do_scrub_chars): Adjust.
5211 * cond.c (s_elseif): Likewise.
5213 (initialize_cframe): Likewise.
5214 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
5215 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5216 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5217 * config/tc-aarch64.c (output_info): Likewise.
5218 * config/tc-ia64.c (md_assemble): Likewise.
5219 (dot_alias): Likewise.
5220 * config/tc-m68k.c (m68k_frob_label): Likewise.
5221 * config/tc-mmix.c (s_bspec): Likewise.
5222 (mmix_handle_mmixal): Likewise.
5223 * config/tc-rx.c (rx_include): Likewise.
5224 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5225 (tic54x_adjust_symtab): Likewise.
5226 * config/tc-xtensa.c (directive_push): Likewise.
5227 (xtensa_sanity_check): Likewise.
5228 (xtensa_relax_frag): Likewise.
5229 (md_convert_frag): Likewise.
5230 (tinsn_to_slotbuf): Likewise.
5231 * dwarf2dbg.c (dwarf2_where): Likewise.
5232 * ecoff.c (add_file): Likewise.
5233 (ecoff_generate_asm_lineno): Likewise.
5234 * expr.c (make_expr_symbol): Likewise.
5235 * frags.c (frag_new): Likewise.
5236 (frag_var_init): Likewise.
5237 * listing.c (listing_newline): Likewise.
5238 * messages.c (identify): Likewise.
5239 (as_show_where): Likewise.
5240 (as_warn_internal): Likewise.
5241 (as_bad_internal): Likewise.
5242 * read.c (s_irp): Likewise.
5243 (s_macro): Likewise.
5244 (s_reloc): Likewise.
5245 * stabs.c (stabs_generate_asm_file): Likewise.
5246 (stabs_generate_asm_lineno): Likewise.
5247 (stabs_generate_asm_func): Likewise.
5248 * write.c (fix_new_internal): Likewise.
5249 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
5250 (as_warn_value_out_of_range): Adjust prototype.
5251 (as_bad_value_out_of_range): Adjust prototype.
5252 * messages.c (identify): Make file name argument const char *.
5253 (as_warn_internal): Likewise.
5254 (as_warn_where): Likewise.
5255 (as_bad_internal): Likewise.
5256 (as_bad_where): Likewise.
5257 (as_internal_value_out_of_range): Likewise.
5258 (as_warn_value_out_of_range): Likewise.
5259 (as_bad_value_out_of_range): Likewise.
5260 * as.h (found_comment_file): Change type to const char *.
5261 * cond.c (file_line::file): Likewise.
5262 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
5263 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5264 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5265 * config/tc-aarch64.c (output_info): Likewise.
5266 * config/tc-alpha.c (insert_operand): Likewise.
5267 * config/tc-arc.c (insert_operand): Likewise.
5268 * config/tc-d30v.c (check_size): Likewise.
5269 * config/tc-ia64.c (struct alias): Likewise.
5270 * config/tc-m68k.c (struct label_line): Likewise.
5271 * config/tc-mcore.c (md_apply_fix): Likewise.
5272 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
5273 * config/tc-mips.c (mips16_immed): Likewise.
5274 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
5275 * config/tc-ppc.c (ppc_insert_operand): Likewise.
5276 * config/tc-rx.c (rx_include): Likewise.
5277 * config/tc-s390.c (s390_insert_operand): Likewise.
5278 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5279 (tic54x_adjust_symtab): Likewise.
5280 * config/tc-tilegx.c (insert_operand): Likewise.
5281 (apply_special_operator): Likewise.
5282 * config/tc-tilepro.c (insert_operand): Likewise.
5283 * config/tc-xtensa.c (directive_push): Likewise.
5284 * ecoff.c (add_file): Likewise.
5285 (ecoff_generate_asm_lineno): Likewise.
5286 * listing.c (listing_newline): Likewise.
5287 * read.c (s_irp): Likewise.
5288 * write.c (install_reloc): Likewise.
5289 * write.h (struct fix): Likewise.
5290 * input-file.c (file_name): Change type to const char *.
5291 (saved_file::file_name): Likewise.
5292 (input_file_open): Change type of argument to const char *.
5293 * input-file.h (input_file_open): Adjust.
5294 * input-scrub.c (logical_input_file): change type to const char *.
5295 (physical_input_file): Likewise.
5296 (struct input_save): Adjust.
5297 (input_scrub_push): Adjust.
5298 (input_scrub_begin): Adjust.
5300 * input-scrub.c (input_scrub_new_file): Make file name argument const.
5301 (input_scrub_include_file): Likewise.
5302 (new_logical_line_flags): Likewise.
5303 (new_logical_line): Likewise.
5305 * frags.h (struct frag): Change type of fr_file to const char *.
5306 * expr.c (expr_symbol_where): Change type of file argument to
5308 * expr.h (expr_symbol_where): Likewise.
5309 * config/tc-i370.c (md_apply_fix): adjust.
5310 * config/tc-mmix.c (mmix_md_end): Likewise.
5311 * config/tc-ppc.c (md_apply_fix): Likewise.
5312 * config/tc-s390.c (md_apply_fix): Likewise.
5313 * symbols.c (report_op_error): Likewise.
5314 (resolve_symbol_value): Likewise.
5315 * config/tc-ia64.c (slot::src_file): Change type to const char *.
5316 (rsrc::file): Likewise.
5317 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
5319 (xtensa_relax_frag): Likewise.
5320 (md_convert_frag): Likewise.
5321 (tinsn_to_slotbuf): Likewise.
5322 * expr.c (expr_symbol_line): Likewise.
5323 * macro.c (define_macro): Likewise.
5324 * macro.h (macro_struct): Likewise.
5325 * messages.c (as_show_where): Likewise.
5326 * read.c (s_macro): Likewise.
5327 * stabs.c (stabs_generate_asm_file): Likewise.
5328 (generate_asm_file): Likewise.
5329 (stabs_generate_asm_lineno): Likewise.
5330 * write.h (struct reloc_list): Likewise.
5331 * input-scrub.c (as_where): Change return type to const char *.
5332 * as.h (as_wheree): Adjust.
5334 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
5336 * write.c (compress_debug): Move BFD compression bits setting
5338 (write_object_file): Here.
5340 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
5342 * config/tc-i386.c (register_number): Check RegVRex.
5343 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
5344 with %zmm19 and %zmm3.
5345 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
5346 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
5348 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
5349 Jiong Wang <jiong.wang@arm.com>
5351 * config/tc-arm.c (arm_ext_fp16): New.
5352 (arm_extensions): New entry for "fp16".
5354 2016-02-19 Nick Clifton <nickc@redhat.com>
5357 * read.c (read_a_source_file): Check for assemble_one returning
5358 with input_line_pointer set to NULL.
5360 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5362 * listing.c (rebuffer_line): Change return type to void.
5364 * symbols.c (decode_local_label_name): Make type a const char *.
5365 * listing.c (print_source): Make type of p const char *.
5366 (print_line): Make type of string const char *.
5367 (buffer_line): Return const char *.
5368 (title): Make type const char *.
5369 (subtitle): Likewise.
5370 (listing_listing): Make type of p const char *.
5371 * messages.c (as_internal_value_out_of_range): Make type of prefix
5373 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
5374 and string const char *.
5375 * read.c (_bfd_rel): Make type of name const char *.
5376 * app.c (out_string): Change type to const char *.
5377 (struct app_save::out_string): Likewise.
5379 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
5380 Nick Clifton <nickc@redhat.com>
5382 * read.c (finish_bundle): Avoid recording a negative alignment.
5383 (do_align): Use unsigned values for n, len and max. Only create
5384 a frag if the alignment requirement is greater than the minimum
5385 byte alignment. Avoid recording a negative alignment.
5386 (s_align): Use unsigned values where appropriate.
5387 (bss_alloc): Use an unsigned value for the alignment.
5388 (sizeof_sleb128): Add a comment noting that we encode one octet
5389 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
5390 (emit_leb129_expr): Abort if the emitted encoding was longer than
5392 * read.h (output_leb128): Update prototype.
5393 (sizeof_leb128): Update prototype.
5394 (bss_alloc): Update prototype.
5395 * write.c (record_alignment): Use an unsigned value for the
5396 alignment. Do not record alignments less than the minimum
5397 alignment for a byte.
5398 * write.h (record_alignment): Update prototype.
5400 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5402 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
5403 .init.literal/.fini.literal section name.
5404 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
5405 list of xtensa tests.
5406 * testsuite/gas/xtensa/init-fini-literals.d: New file:
5407 init-fini-literals test result patterns.
5408 * testsuite/gas/xtensa/init-fini-literals.s: New file:
5409 init-fini-literals test.
5411 2016-02-17 Nick Clifton <nickc@redhat.com>
5413 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
5414 devices.csv file as of March 2016.
5416 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
5418 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
5420 (tc_arc_regname_to_dw2regnum): Likewise.
5421 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
5422 (tc_cfi_frame_initial_instructions): Likewise.
5423 (tc_regname_to_dw2regnum): Likewise.
5424 * testsuite/gas/cfi/cfi-arc-1.d: New file.
5425 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
5426 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
5428 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
5430 * doc/internals.texi (S_IS_EXTERN): Remove.
5432 2016-02-16 Nick Clifton <nickc@redhat.com>
5434 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
5437 2016-02-16 Renlin Li <renlin.li@arm.com>
5440 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
5441 * testsuite/gas/aarch64/movw_label.d: New.
5442 * testsuite/gas/aarch64/movw_label.s: New.
5444 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
5447 * config/rx-parse.y (MOV): Opcode generation for index
5448 register addressing mode.
5449 * testsuite/gas/rx/rx.exp: Updated for new testcase.
5450 * testsuite/gas/rx/pr19665.s: New file.
5451 * testsuite/gas/rx/pr19665.s: New file.
5452 * testsuite/gas/rx/mov.d: Update expected output.
5454 2016-02-15 Nick Clifton <nickc@redhat.com>
5456 * doc/as.texinfo (.section): Document that numeric values can now
5457 be used for the flags and type fields of the ELF target's .section
5458 directive. Add notes about the restrictions on setting flags and
5460 * config/obj-elf.c (obj_elf_change_section): Allow known sections
5461 to be given processor specific section types. Allow processor and
5462 application specific flags of a section to be set after
5464 (obj_elf_parse_section_letters): Handle parsing numeric values.
5465 (obj_elf_section_type): Handle parsing numeric values.
5466 (obj_elf_section): Allow numeric type values.
5467 * config/obj-elf.h (obj_elf_change_section): Update prototype.
5468 * testsuite/gas/elf/section10.d: New test.
5469 * testsuite/gas/elf/section10.s: Source file for new test.
5470 * testsuite/gas/elf/elf.exp: Run the new test.
5471 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
5472 the description of the flags produced by readelf.
5473 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
5474 * NEWS: Mention the new feature.
5476 2016-02-11 Nick Clifton <nickc@redhat.com>
5479 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
5480 until it is actually used.
5481 (cfi_set_sections): Set cfi_sections_set to true.
5482 (dot_cfi_startproc): Likewise.
5483 (dot_cfi_endproc): Likewise.
5484 (dot_cfi_fde_data): Likewise.
5485 (cfi_finish): Likewise.
5486 (dot_cfi_sections): Do not set cfi_sections_set.
5487 * doc/as.texinfo (.cfi_sections): Note that targets can provide
5488 their own cfi section name. Also note that the directive can be
5489 reissued provided that CFI generation has not started.
5490 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
5491 .cfi_endproc directives so that the redefinition of .cfi_sections
5492 will trigger the generation of the error message.
5493 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
5494 number of error message.
5496 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
5497 Janek van Oirschot <jvanoirs@synopsys.com>
5499 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
5500 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
5502 (arc_flags, arc_relax_type): New structure.
5503 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
5504 (RELAX_TABLE_ENTRY_MAX): New define.
5505 (relaxation_state, md_relax_table, arc_relaxable_insns)
5506 (arc_num_relaxable_ins): New variable.
5507 (rlx_operand_type, arc_rlx_types): New enums.
5508 (arc_relaxable_ins): New structure.
5509 (OPTION_RELAX): New option.
5510 (arc_insn): New relax member.
5511 (arc_flags): Remove.
5512 (relax_insn_p): New function.
5513 (apply_fixups): Likewise.
5514 (relaxable_operand): Likewise.
5515 (may_relax_expr): Likewise.
5516 (relaxable_flag): Likewise.
5517 (arc_pcrel_adjust): Likewise.
5518 (md_estimate_size_before_relax): Implement.
5519 (md_convert_frag): Likewise.
5520 (md_parse_option): Handle new mrelax option.
5521 (md_show_usage): Likewise.
5522 (assemble_insn): Set relax member.
5523 (emit_insn0): New function.
5524 (emit_insn1): Likewise.
5525 (emit_insn): Handle relaxation case.
5526 * NEWS: Mention the new relaxation option.
5527 * doc/c-arc.texi (ARC Options): Document new mrelax option.
5528 * doc/as.texinfo (Target ARC Options): Likewise.
5529 * testsuite/gas/arc/relax-avoid1.d: New file.
5530 * testsuite/gas/arc/relax-avoid1.s: Likewise.
5531 * testsuite/gas/arc/relax-avoid2.d: Likewise.
5532 * testsuite/gas/arc/relax-avoid2.s: Likewise.
5533 * testsuite/gas/arc/relax-avoid3.d: Likewise.
5534 * testsuite/gas/arc/relax-avoid3.s: Likewise.
5535 * testsuite/gas/arc/relax-b.d: Likewise.
5536 * testsuite/gas/arc/relax-b.s: Likewise.
5538 2016-02-08 Nick Clifton <nickc@redhat.com>
5540 * config/tc-ia64.c (dot_prologue): Fix formatting.
5542 2016-02-04 Nick Clifton <nickc@redhat.com>
5544 * config/obj-elf.c (obj_elf_change_section): Remove support for
5545 ARM NOREAD sections.
5546 * config/tc-arm.c (arm_elf_section_letter): Delete.
5547 * config/tc-arm.h (md_elf_section_letter): Delete.
5548 * doc/c-arm.texi (ARM Section Attribute): Delete section.
5549 * testsuite/gas/arm/section-execute-only.d: Delete.
5550 * testsuite/gas/arm/section-execute-only.s: Delete.
5552 2016-02-04 Nick Clifton <nickc@redhat.com>
5555 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
5556 to handle encoding of RRUX instruction.
5557 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
5559 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
5561 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
5563 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
5564 substitutions for BFD_RELOC_* as unsigned.
5565 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
5566 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
5567 * testsuite/gas/xtensa/loc.s: New file: loc test.
5569 2016-02-03 Kevin Buettner <kevinb@redhat.com>
5571 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
5573 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5576 * NEWS: Mention new command line option -mrelax-relocations and
5577 new configure option --enable-x86-relax-relocations for x86
5579 * config.in: Regenerated.
5580 * configure.ac: Add --enable-x86-relax-relocations.
5581 (ac_default_x86_relax_relocations): New. Default to 1 except
5582 for x86 Solaris targets older than Solaris 12.
5583 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
5584 * configure: Likewise.
5585 * config/tc-i386.c (generate_relax_relocations): New.
5586 (OPTION_MRELAX_RELOCATIONS): Likewise.
5587 (output_disp): Don't generate relax relocations if
5588 generate_relax_relocations is 0.
5589 (md_longopts): Add -mrelax-relocations.
5590 (md_show_usage): Likewise.
5591 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
5592 * doc/c-i386.texi: Document -mrelax-relocations=.
5593 * testsuite/gas/i386/got-no-relax.d: New file.
5594 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
5595 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
5596 * testsuite/gas/i386/localpic.d: Likewise.
5597 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
5598 * testsuite/gas/i386/reloc32.d: Likewise.
5599 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
5600 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
5601 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
5602 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
5603 * testsuite/gas/i386/i386.exp: Run got-no-relax and
5604 x86-64-gotpcrel-no-relax.
5606 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5608 * NEWS: Mention new command line option -mfence-as-lock-add=yes
5611 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5613 * NEWS: Remove duplicated marker for 2.26.
5615 2016-02-02 Renlin Li <renlin.li@arm.com>
5617 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
5619 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5621 * testsuite/gas/ip2k/allinsn.d: New file.
5622 * testsuite/gas/ip2k/allinsn.s: New file.
5623 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
5625 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5627 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
5628 some load instructions.
5629 * testsuite/gas/epiphany/allinsn.d: Likewise.
5630 * testsuite/gas/epiphany/regression.d: Likewise.
5632 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5634 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
5635 suffixes from instruction mnemonics in expected output.
5636 * testsuite/gas/epiphany/allinsn.d: Likewise.
5637 * testsuite/gas/epiphany/regression.d: Likewise.
5638 * testsuite/gas/epiphany/sample.d: Likewise.
5640 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5642 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
5644 * testsuite/gas/epiphany/allinsn.d: Likewise.
5645 * testsuite/gas/epiphany/sample.d: Likewise.
5647 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5649 * testsuite/gas/epiphany/sample.d: Update expected output.
5651 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
5653 * config/tc-arc.c (md_apply_fix): Allow addendum.
5654 (arc_reloc_op): Allow complex expressions for tpoff.
5655 (md_apply_fix): Handle resolved TLS local symbol.
5656 * testsuite/gas/arc/tls-relocs1.d: New file.
5657 * testsuite/gas/arc/tls-relocs1.s: Likewise.
5659 2016-02-01 Loria <Loria@phantasia.org>
5662 * config/tc-arm.c (encode_arm_immediate): Recode to improve
5663 efficiency and avoid an LLVM loop optimization bug.
5665 2016-02-01 Nick Clifton <nickc@redhat.com>
5667 * config/tc-microblaze.c (parse_imm): Fix compile time warning
5668 message extending a negative 32-bit value into a larger signed
5669 value on a 32-bit host.
5671 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
5674 * configure.ac (compressed_debug_sections): Replace == with =.
5675 * configure: Regenerated.
5677 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
5678 H.J. Lu <hongjiu.lu@intel.com>
5680 * config/tc-i386.c (avoid_fence): New.
5681 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
5683 (OPTION_FENCE_AS_LOCK_ADD): New.
5684 (md_longopts): Add -mfence-as-lock-add.
5685 (md_parse_option): Handle -mfence-as-lock-add.
5686 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
5687 * doc/c-i386.texi (-mfence-as-lock-add): Document.
5688 * testsuite/gas/i386/i386.exp: Run new tests.
5689 * testsuite/gas/i386/fence-as-lock-add.s: New.
5690 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
5691 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
5692 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
5693 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
5695 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
5697 * configure.ac (compressed_debug_sections): Remove trailing `]'.
5698 * configure: Regenerated.
5700 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
5702 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
5703 (OPTION_MOMIT_LOCK_PREFIX): This.
5704 (md_longopts): Updated.
5705 (md_parse_option): Likewise.
5707 2016-01-25 Catherine Moore <clm@codesourcery.com>
5709 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
5710 if abicalls are in effect.
5711 * testsuite/gas/mips/sdata-gp.s: New test.
5712 * testsuite/gas/mips/sdata-gp.d: New expected output
5713 * testsuite/gas/mips/mips.exp: Run new test.
5715 2016-01-25 Renlin Li <renlin.li@arm.com>
5717 * testsuite/gas/arm/thumb2_it_search.d: New.
5718 * testsuite/gas/arm/thumb2_it_search.s: New.
5720 2016-01-21 Nick Clifton <nickc@redhat.com>
5723 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
5724 with arm-netbsdelf target.
5725 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
5727 2016-01-20 Nick Clifton <nickc@redhat.com>
5730 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
5731 * testsuite/gas/arm/blx-bl-convert.d
5732 * testsuite/gas/arm/plt-1.d: Likewise.
5733 * testsuite/gas/arm/reloc-bad.d: Likewise.
5734 * testsuite/gas/arm/thumb-w-good.d: Likewise.
5735 * testsuite/gas/arm/thumb2_pool.d: Likewise.
5736 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
5737 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
5740 * doc/as.texinfo (Errors): Correct documentation describing the
5741 interaction of .file and .line with warning and error messages.
5744 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
5745 * testsuite/gas/arm/archv8m-main.d: Likewise.
5746 * testsuite/gas/arm/archv8m-base.d: Likewise.
5748 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
5750 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
5751 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
5752 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
5754 2016-01-20 Mickael Guene <mickael.guene@st.com>
5755 Terry Guo <terry.guo@arm.com>
5757 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
5758 SHF_ARM_NOREAD section flag.
5759 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
5761 (arm_elf_section_letter) : Declare it.
5762 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
5763 SHF_ARM_NOREAD section flag.
5764 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
5766 * testsuite/gas/arm/section-execute-only.s: New test case.
5767 * testsuite/gas/arm/section-execute-only.d: Expected output.
5769 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
5771 * config/tc-mips.c (micromips_insn_length): Remove the mention
5772 of 48-bit microMIPS instructions.
5774 2016-01-18 Alan Modra <amodra@gmail.com>
5776 * configure: Regenerate.
5778 2016-01-17 Alan Modra <amodra@gmail.com>
5780 * configure: Regenerate.
5782 2016-01-17 Alan Modra <amodra@gmail.com>
5784 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
5786 2016-01-14 Nick Clifton <nickc@redhat.com>
5788 * testsuite/gas/rl78/sp-relative-movw.s: New test.
5789 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
5790 * testsuite/gas/rl78/rl78.exp: Run the new test.
5792 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
5794 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
5795 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
5797 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
5799 * config/tc-nios2.c (output_movia): Preset `code' to 0.
5801 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
5803 * config/tc-h8300.c (get_operand): Remove spurious condition in
5804 test for closing parenthesis.
5806 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
5808 * config/tc-arm.c (arm_ext_v8_2): New.
5810 * testsuite/gas/arm/armv8_2-a.d: New.
5811 * testsuite/gas/arm/armv8_2-a.s: New.
5813 2016-01-12 Alan Modra <amodra@gmail.com>
5815 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
5817 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
5819 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
5820 xvcmpnesp, xvcmpnesp.>: Delete tests.
5821 * testsuite/gas/ppc/power9.s: Likewise.
5822 * testsuite/gas/ppc/vsx3.d: Likewise.
5823 * testsuite/gas/ppc/vsx3.s: Likewise.
5825 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
5828 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
5829 * testsuite/gas/m68k/p13050-1.s: New file.
5830 * testsuite/gas/m68k/p13050-2.d: New file.
5831 * testsuite/gas/m68k/p13050-2.s: New file.
5833 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5835 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
5836 * testsuite/gas/arc/add.d: Likewise.
5837 * testsuite/gas/arc/and.d: Likewise.
5838 * testsuite/gas/arc/asl.d: Likewise.
5839 * testsuite/gas/arc/asr.d: Likewise.
5840 * testsuite/gas/arc/bic.d: Likewise.
5841 * testsuite/gas/arc/extb.d: Likewise.
5842 * testsuite/gas/arc/extw.d: Likewise.
5843 * testsuite/gas/arc/j.d: Likewise.
5844 * testsuite/gas/arc/jl.d: Likewise.
5845 * testsuite/gas/arc/ld2.d: Likewise.
5846 * testsuite/gas/arc/lsr.d: Likewise.
5847 * testsuite/gas/arc/mov.d: Likewise.
5848 * testsuite/gas/arc/or.d: Likewise.
5849 * testsuite/gas/arc/pcl-relocs.d: Likewise.
5850 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
5851 * testsuite/gas/arc/pic-relocs.d: Likewise.
5852 * testsuite/gas/arc/plt-relocs.d: Likewise.
5853 * testsuite/gas/arc/rlc.d: Likewise.
5854 * testsuite/gas/arc/ror.d: Likewise.
5855 * testsuite/gas/arc/rrc.d: Likewise.
5856 * testsuite/gas/arc/sbc.d: Likewise.
5857 * testsuite/gas/arc/sda-relocs.d: Likewise.
5858 * testsuite/gas/arc/sda-relocs2.d: Likewise.
5859 * testsuite/gas/arc/sexb.d: Likewise.
5860 * testsuite/gas/arc/sexw.d: Likewise.
5861 * testsuite/gas/arc/st.d: Likewise.
5862 * testsuite/gas/arc/sub.d: Likewise.
5863 * testsuite/gas/arc/tls-relocs.d: Likewise.
5864 * testsuite/gas/arc/xor.d: Likewise.
5866 2016-01-01 Alan Modra <amodra@gmail.com>
5868 Update year range in copyright notice of all files.
5870 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
5872 Copyright (C) 2016 Free Software Foundation, Inc.
5874 Copying and distribution of this file, with or without modification,
5875 are permitted in any medium without royalty provided the copyright
5876 notice and this notice are preserved.
5882 version-control: never