1 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
3 * config/tc-mips.c (is_size_valid_16): Disallow a `.e' suffix
4 instruction size override for INSN2_SHORT_ONLY opcode table
6 * testsuite/gas/mips/mips16-extend-swap.d: Adjust output.
7 * testsuite/gas/mips/mips16-macro-e.l: Adjust error messages.
8 * testsuite/gas/mips/mips16-32@mips16-macro-e.l: Adjust error
10 * testsuite/gas/mips/mips16e-32@mips16-macro-e.l: Adjust error
12 * testsuite/gas/mips/mips16-insn-e.d: New test.
13 * testsuite/gas/mips/mips16-insn-t.d: New test.
14 * testsuite/gas/mips/mips16-32@mips16-insn-e.d: New test.
15 * testsuite/gas/mips/mips16-64@mips16-insn-e.d: New test.
16 * testsuite/gas/mips/mips16e-32@mips16-insn-e.d: New test.
17 * testsuite/gas/mips/mips16-32@mips16-insn-t.d: New test.
18 * testsuite/gas/mips/mips16-64@mips16-insn-t.d: New test.
19 * testsuite/gas/mips/mips16e-32@mips16-insn-t.d: New test.
20 * testsuite/gas/mips/mips16-insn-e.l: New stderr output.
21 * testsuite/gas/mips/mips16-insn-t.l: New stderr output.
22 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: New stderr
24 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: New stderr
26 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: New stderr
28 * testsuite/gas/mips/mips16-32@mips16-insn-t.l: New stderr
30 * testsuite/gas/mips/mips16-64@mips16-insn-t.l: New stderr
32 * testsuite/gas/mips/mips16e-32@mips16-insn-t.l: New stderr
34 * testsuite/gas/mips/mips16-insn-e.s: New test source.
35 * testsuite/gas/mips/mips16-insn-t.s: New test source.
36 * testsuite/gas/mips/mips.exp: Run the new tests.
38 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
40 * config/tc-mips.c (match_mips16_insn): Remove the `6' operand
41 code special case and its associated comment.
43 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
45 * config/tc-mips.c (mips16_ip): Handle `.e' and `.t' instruction
46 suffixes followed by a null character rather than a space too.
47 * testsuite/gas/mips/mips16-insn-length-noargs.d: New test.
48 * testsuite/gas/mips/mips16-insn-length-noargs.s: New test
50 * testsuite/gas/mips/mips.exp: Run the new test.
52 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
54 * testsuite/gas/mips/mips16-extend-swap.d: New test.
55 * testsuite/gas/mips/mips16-extend-swap.s: New test source.
56 * testsuite/gas/mips/mips.exp: Run the new test.
58 2016-12-23 Joe Seymour <joe.s@somniumtech.com>
60 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
61 devices.csv file as of September 2016.
63 2016-12-23 Tristan Gingold <gingold@adacore.com>
65 * configure: Regenerate.
67 2016-12-23 Tristan Gingold <gingold@adacore.com>
69 * NEWS: Add marker for 2.28.
71 2016-12-23 Tristan Gingold <gingold@adacore.com>
73 * po/gas.pot: Regenerate.
75 2016-12-21 Andrew Waterman <andrew@sifive.com>
77 * config/tc-riscv.c (riscv_make_nops): Emit 2-byte NOPs.
78 (riscv_frag_align_code): Correct frag_align_code arg.
80 2016-12-21 Tim Newsome <tim@sifive.com>
82 * config/tc-riscv.c (riscv_pre_output_hook): Remove const from
85 2016-12-21 Alan Modra <amodra@gmail.com>
87 * doc/c-lm32.texi: Fix chars with high bit set.
88 * testsuite/gas/bfin/vector2.s: Likewise.
90 2016-12-21 Alan Modra <amodra@gmail.com>
93 * doc/as.texinfo (Chars): Document escape sequences.
95 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
97 * testsuite/gas/mips/mips16-sub.d: New test.
98 * testsuite/gas/mips/mips16-32@mips16-sub.d: New test.
99 * testsuite/gas/mips/mips16e-32@mips16-sub.d: New test.
100 * testsuite/gas/mips/mips16e-sub.d: New test.
101 * testsuite/gas/mips/mips16-32@mips16e-sub.d: New test.
102 * testsuite/gas/mips/mips16-64@mips16e-sub.d: New test.
103 * testsuite/gas/mips/mips16e-64-sub.d: New test.
104 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: New test.
105 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: New test.
106 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: New test.
107 * testsuite/gas/mips/mips16-sub.s: New test source.
108 * testsuite/gas/mips/mips16e-sub.s: New test source.
109 * testsuite/gas/mips/mips16e-64-sub.s: New test source.
110 * testsuite/gas/mips/mips.exp: Run the new tests.
112 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
114 * testsuite/gas/mips/mips16e.s: Add a RESTORE instruction.
115 * testsuite/gas/mips/mips16e.d: Adjust accordingly.
117 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
119 * testsuite/gas/mips/mips16.d: Adjust test for multiple MIPS16
121 * testsuite/gas/mips/mips16-64.d: Adjust test for multiple
123 * testsuite/gas/mips/mips16e-64.d: Adjust test for multiple
125 * testsuite/gas/mips/mips16-macro.d: Adjust test for multiple
127 * testsuite/gas/mips/mips16e-64.s: Ensure MIPS16 ISA annotation.
128 * testsuite/gas/mips/mips16e-64.l: Rename to...
129 * testsuite/gas/mips/mips16e-32@mips16e-64.l: ... this.
130 * testsuite/gas/mips/mips16-64@mips16.d: New test.
131 * testsuite/gas/mips/mips16-64@mips16-64.d: New test.
132 * testsuite/gas/mips/mips16e-32@mips16e-64.d: New test.
133 * testsuite/gas/mips/mips16-32@mips16-macro.d: New test.
134 * testsuite/gas/mips/mips16-64@mips16-macro.d: New test.
135 * testsuite/gas/mips/mips16e-32@mips16-macro.d: New test.
136 * testsuite/gas/mips/mips16-32@mips16-macro-e.d: New test.
137 * testsuite/gas/mips/mips16e-32@mips16-macro-e.d: New test.
138 * testsuite/gas/mips/mips16-32@mips16-macro-t.d: New test.
139 * testsuite/gas/mips/mips16e-32@mips16-macro-t.d: New test.
140 * testsuite/gas/mips/mips16e-32@mips16e-64.l: New stderr output.
141 * testsuite/gas/mips/mips16-32@mips16-macro.l: New stderr
143 * testsuite/gas/mips/mips16e-32@mips16-macro.l: New stderr
145 * testsuite/gas/mips/mips16-32@mips16-macro-e.l: New stderr
147 * testsuite/gas/mips/mips16e-32@mips16-macro-e.l: New stderr
149 * testsuite/gas/mips/mips16-32@mips16-macro-t.l: New stderr
151 * testsuite/gas/mips/mips16e-32@mips16-macro-t.l: New stderr
153 * testsuite/gas/mips/mips.exp: Run `mips16', `mips16-64',
154 `mips16-macro', `mips16-macro-t', `mips16-macro-e' and
155 `mips16e-64' testing across multiple MIPS16 ISAs. Fold
156 `mips16-macro' and `mips16e-64' list test invocations into
157 corresponding dump tests.
159 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
161 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
162 `mips16e' and `mips16' prefixes.
163 (run_list_test_arch): Likewise.
164 Rename `mips16' architecture to `mips16-32'. Add `mips16-64',
165 `mips16e-32' and `mips16e-64' architectures. Update `rol64',
166 `mips16e', `elf${el}-rel2' and `elf-rel4' test invocations
168 * testsuite/gas/mips/mips16e@branch-swap-3.d: New test.
169 * testsuite/gas/mips/mips16e@branch-swap-4.d: New test.
170 * testsuite/gas/mips/mips16e@loc-swap-dis.d: New test.
171 * testsuite/gas/mips/mips16e@loc-swap.d: New test.
173 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
175 * testsuite/gas/mips/loc-swap.s: Use zeros rather than NOPs for
176 trailing alignment padding.
177 * testsuite/gas/mips/loc-swap.d: Adjust accordingly.
178 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
179 * testsuite/gas/mips/mips16@loc-swap-dis.d: Likewise.
181 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
183 * config/tc-mips.c (micromips_insn_length): Use
184 `mips_opcode_32bit_p'.
185 (is_size_valid): Adjust description.
186 (is_size_valid_16): New function.
187 (validate_mips_insn): Use `mips_opcode_32bit_p' in MIPS16
189 (validate_mips16_insn): Remove `a' and `i' operand code special
190 casing, use `mips_opcode_32bit_p' to determine instruction
192 (append_insn): Adjust forced MIPS16 instruction size
194 (match_mips16_insn): Likewise. Don't shift the instruction's
195 opcode with the `a' and `i' operand codes. Use
196 `mips_opcode_32bit_p' in operand decoding.
197 (match_mips16_insns): Check for forced instruction size's
199 (mips16_ip): Don't force instruction size in the `noautoextend'
201 * testsuite/gas/mips/mips16-jal-e.d: New test.
202 * testsuite/gas/mips/mips16-jal-t.d: New test.
203 * testsuite/gas/mips/mips16-macro-e.d: New test.
204 * testsuite/gas/mips/mips16-macro-t.d: New test.
205 * testsuite/gas/mips/mips16-jal-t.l: New stderr output.
206 * testsuite/gas/mips/mips16-macro-e.l: New stderr output.
207 * testsuite/gas/mips/mips16-macro-t.l: New stderr output.
208 * testsuite/gas/mips/mips16-jal-e.s: New test source.
209 * testsuite/gas/mips/mips16-jal-t.s: New test source.
210 * testsuite/gas/mips/mips16-macro-e.s: New test source.
211 * testsuite/gas/mips/mips16-macro-t.s: New test source.
212 * testsuite/gas/mips/mips.exp: Run the new tests.
214 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
216 * testsuite/gas/mips/mips16-macro.l: New list test.
217 * testsuite/gas/mips/mips.exp: Run the new test.
219 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
221 * testsuite/gas/mips/mips16-sdrasp.d: New test.
222 * testsuite/gas/mips/mips16-sdrasp.l: New stderr output.
223 * testsuite/gas/mips/mips16-sdrasp.s: New test source.
224 * testsuite/gas/mips/mips.exp: Run the new test.
226 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
228 * testsuite/gas/mips/mips.exp: Limit remaining tests that
229 require NewABI support to `has_newabi' targets.
231 2015-12-20 Andrew Waterman <andrew@sifive.com>
233 * config/tc-riscv.c (riscv_pseudo_table): Remove "align",
234 "p2align", and "balign".
236 (riscv_handle_align): New function.
237 (riscv_frag_align_code): Likewise.
238 (riscv_make_nops): Likewise.
239 * config/tc-riscv.h (MAX_MEM_FOR_RS_ALIGN_CODE): Change to 7.
240 (HANDLE_ALIGN): Define.
241 (md_do_align): Define.
242 (riscv_handle_align): Declare.
243 (riscv_frag_align_code): Likewise.
245 2016-12-20 Andrew Waterman <andrew@sifive.com>
247 * config/tc-riscv.h (xlen): Delete.
248 * config/tc-riscv.c (xlen): Make static.
249 (abi_xlen): New variable.
250 (options): Replace OPTION_{M32,M64,MSOFT_FLOAT,MHARD_FLOAT,MRVC}
252 (md_longopts): Likewise.
253 (md_parse_option): Likewise.
254 (riscv_elf_final_processing): Likewise.
255 * doc/as.texinfo (Target RISC-V options): Likewise.
256 * doc/c-riscv.texi (OPTIONS): Likewise.
257 * config/tc-riscv.c (float_mode): Removed.
258 (float_abi): New type, specifies the floating-point ABI.
259 (riscv_set_abi): New function.
260 (riscv_add_subset): Only allow lower-case ISA names and require
261 them to start with "rv".
262 (riscv_after_parse_args): Likewise.
264 2016-12-20 Andrew Waterman <andrew@sifive.com>
265 Kuan-Lin Chen <kuanlinchentw@gmail.com>
267 * config/tc-riscv.c (riscv_set_options): Add relax.
268 (riscv_opts): Likewise.
269 (s_riscv_option): Add relax and norelax.
270 (riscv_apply_const_reloc): New function.
271 (append_insn): Move constant relocation handling to
272 riscv_apply_const_reloc.
273 (md_pcrel_from): Likewise.
274 (parse_relocation): Skip BFD_RELOC_UNUSED.
275 (md_pcrel_from): Handle BFD_RELOC_RISCV_SUB6,
276 BFD_RELOC_RISCV_RELAX, BFD_RELOC_RISCV_CFA.
277 (md_apply_fix): Likewise.
278 (riscv_pre_output_hook): New function.
279 * config/tc-riscv.h (md_pre_output_hook): Define.
280 (riscv_pre_output_hook): Declare.
281 (DWARF_CIE_DATA_ALIGNMENT): Always -4.
283 2016-12-20 Andrew Waterman <andrew@sifive.com>
285 * config/tc-riscv.c: Formatting and comment fixes throughout.
287 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
289 * config/tc-mips.c (md_convert_frag): Report an error instead of
291 * testsuite/gas/mips/mips16-branch-unextended-1.d: New test.
292 * testsuite/gas/mips/mips16-branch-unextended-2.d: New test.
293 * testsuite/gas/mips/mips16-branch-unextended-1.s: New test
295 * testsuite/gas/mips/mips16-branch-unextended-2.s: New test.
296 * testsuite/gas/mips/mips16-branch-unextended.l: New stderr
298 * testsuite/gas/mips/mips.exp: Run the new tests.
300 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
302 * testsuite/gas/mips/mips16-sprel-swap.d: New test.
303 * testsuite/gas/mips/mips16-sprel-swap.s: New test source.
304 * testsuite/gas/mips/mips.exp: Run the new test.
306 2016-12-13 Renlin Li <renlin.li@arm.com>
308 * config/tc-aarch64.c (AARCH64_REG_TYPES): Remove CN register.
309 (get_reg_expected_msg): Remove CN register case.
310 (parse_operands): rewrite parser for CRn, CRm operand.
311 (reg_names): Remove CN register.
312 * testsuite/gas/aarch64/diagnostic.s: Add a new test case.
313 * testsuite/gas/aarch64/diagnostic.l: Adjust error message.
315 2016-12-13 Jiong Wang <jiong.wang@arm.com>
317 * gas/testsuite/gas/aarch64/addsub.d: Support ILP32 mode.
318 * gas/testsuite/gas/aarch64/advsimd-across.d: Likewise.
319 * gas/testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise.
320 * gas/testsuite/gas/aarch64/advsimd-fp16.d: Likewise.
321 * gas/testsuite/gas/aarch64/advsimd-misc.d: Likewise.
322 * gas/testsuite/gas/aarch64/advsisd-copy.d: Likewise.
323 * gas/testsuite/gas/aarch64/advsisd-misc.d: Likewise.
324 * gas/testsuite/gas/aarch64/alias.d: Likewise.
325 * gas/testsuite/gas/aarch64/armv8-ras-1.d: Likewise.
326 * gas/testsuite/gas/aarch64/b_1.d: Likewise.
327 * gas/testsuite/gas/aarch64/beq_1.d: Likewise.
328 * gas/testsuite/gas/aarch64/bitfield-dump: Likewise.
329 * gas/testsuite/gas/aarch64/bitfield-no-aliases.d: Likewise.
330 * gas/testsuite/gas/aarch64/codealign.d: Likewise.
331 * gas/testsuite/gas/aarch64/codealign_1.d: Likewise.
332 * gas/testsuite/gas/aarch64/crc32-directive.d: Likewise.
333 * gas/testsuite/gas/aarch64/crc32.d: Likewise.
334 * gas/testsuite/gas/aarch64/crypto-directive.d: Likewise.
335 * gas/testsuite/gas/aarch64/crypto.d: Likewise.
336 * gas/testsuite/gas/aarch64/dwarf.d: Likewise.
337 * gas/testsuite/gas/aarch64/float-fp16.d: Likewise.
338 * gas/testsuite/gas/aarch64/floatdp2.d: Likewise.
339 * gas/testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
340 * gas/testsuite/gas/aarch64/fp-const0-parse.d: Likewise.
341 * gas/testsuite/gas/aarch64/fp_cvt_int.d: Likewise.
342 * gas/testsuite/gas/aarch64/fpmov.d: Likewise.
343 * gas/testsuite/gas/aarch64/inst-directive.d: Likewise.
344 * gas/testsuite/gas/aarch64/ldr_1.d: Likewise.
345 * gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
346 * gas/testsuite/gas/aarch64/ldst-exclusive.d: Likewise.
347 * gas/testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
348 * gas/testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
349 * gas/testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
350 * gas/testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
351 * gas/testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
352 * gas/testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
353 * gas/testsuite/gas/aarch64/lor-directive.d: Likewise.
354 * gas/testsuite/gas/aarch64/lor.d: Likewise.
355 * gas/testsuite/gas/aarch64/lse-atomic.d: Likewise.
356 * gas/testsuite/gas/aarch64/mapmisc.d: Likewise.
357 * gas/testsuite/gas/aarch64/mov-no-aliases.d: Likewise.
358 * gas/testsuite/gas/aarch64/mov.d: Likewise.
359 * gas/testsuite/gas/aarch64/movi.d: Likewise.
360 * gas/testsuite/gas/aarch64/movw_label.d: Likewise.
361 * gas/testsuite/gas/aarch64/msr.d: Likewise.
362 * gas/testsuite/gas/aarch64/neon-fp-cvt-int.d: Likewise.
363 * gas/testsuite/gas/aarch64/neon-frint.d: Likewise.
364 * gas/testsuite/gas/aarch64/neon-ins.d: Likewise.
365 * gas/testsuite/gas/aarch64/neon-not.d: Likewise.
366 * gas/testsuite/gas/aarch64/neon-vfp-reglist-post.d: Likewise.
367 * gas/testsuite/gas/aarch64/neon-vfp-reglist.d: Likewise.
368 * gas/testsuite/gas/aarch64/no-aliases.d: Likewise.
369 * gas/testsuite/gas/aarch64/optional.d: Likewise.
370 * gas/testsuite/gas/aarch64/pac.d: Likewise.
371 * gas/testsuite/gas/aarch64/pan-directive.d: Likewise.
372 * gas/testsuite/gas/aarch64/pan.d: Likewise.
373 * gas/testsuite/gas/aarch64/rdma-directive.d: Likewise.
374 * gas/testsuite/gas/aarch64/rdma.d: Likewise.
375 * gas/testsuite/gas/aarch64/reloc-dtprel_g0.d: Likewise.
376 * gas/testsuite/gas/aarch64/reloc-dtprel_g0_nc.d: Likewise.
377 * gas/testsuite/gas/aarch64/reloc-dtprel_g1.d: Likewise.
378 * gas/testsuite/gas/aarch64/reloc-dtprel_hi12.d: Likewise.
379 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-1.d: Likewise.
380 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc.d: Likewise.
381 * gas/testsuite/gas/aarch64/reloc-tlsldm-1.d: Likewise.
382 * gas/testsuite/gas/aarch64/reloc-tlsldm-page-1.d: Likewise.
383 * gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.d: Likewise.
384 * gas/testsuite/gas/aarch64/shifted.d: Likewise.
385 * gas/testsuite/gas/aarch64/sve.d: Likewise.
386 * gas/testsuite/gas/aarch64/symbol.d: Likewise.
387 * gas/testsuite/gas/aarch64/sysreg-1.d: Likewise.
388 * gas/testsuite/gas/aarch64/sysreg-2.d: Likewise.
389 * gas/testsuite/gas/aarch64/sysreg-3.d: Likewise.
390 * gas/testsuite/gas/aarch64/sysreg.d: Likewise.
391 * gas/testsuite/gas/aarch64/system-2.d: Likewise.
392 * gas/testsuite/gas/aarch64/system-3.d: Likewise.
393 * gas/testsuite/gas/aarch64/system.d: Likewise.
394 * gas/testsuite/gas/aarch64/tbz_1.d: Likewise.
395 * gas/testsuite/gas/aarch64/tlbi_op.d: Likewise.
396 * gas/testsuite/gas/aarch64/tls.d: Likewise.
397 * gas/testsuite/gas/aarch64/uao-directive.d: Likewise.
398 * gas/testsuite/gas/aarch64/uao.d: Likewise.
399 * gas/testsuite/gas/aarch64/virthostext-directive.d: Likewise.
400 * gas/testsuite/gas/aarch64/virthostext.d: Likewise.
401 * gas/testsuite/gas/aarch64/adr_1.d: Restrict test under -mabi=lp64.
402 * gas/testsuite/gas/aarch64/int-insns.d: Likewise.
403 * gas/testsuite/gas/aarch64/programmer-friendly.d: Likewise.
404 * gas/testsuite/gas/aarch64/reloc-data.d: Likewise.
405 * gas/testsuite/gas/aarch64/reloc-dtprel_g1_nc.d: Likewise.
406 * gas/testsuite/gas/aarch64/reloc-dtprel_g2.d: Likewise.
407 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst16.d: Likewise.
408 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst32.d: Likewise.
409 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst64.d: Likewise.
410 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst8.d: Likewise.
411 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst16.d: Likewise.
412 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst32.d: Likewise.
413 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst64.d: Likewise.
414 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst8.d: Likewise.
415 * gas/testsuite/gas/aarch64/reloc-gotoff_g0_nc.d: Likewise.
416 * gas/testsuite/gas/aarch64/reloc-gotoff_g1.d: Likewise.
417 * gas/testsuite/gas/aarch64/reloc-gottprel_g0_nc.d: Likewise.
418 * gas/testsuite/gas/aarch64/reloc-gottprel_g1.d: Likewise.
419 * gas/testsuite/gas/aarch64/reloc-insn.d: Likewise.
420 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g0_nc.d: Likewise.
421 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g1.d: Likewise.
422 * gas/testsuite/gas/aarch64/reloc-tlsgd_g0_nc.d: Likewise.
423 * gas/testsuite/gas/aarch64/reloc-tlsgd_g1.d: Likewise.
424 * gas/testsuite/gas/aarch64/tail_padding.d: Likewise.
425 * gas/testsuite/gas/aarch64/tls-desc.d: Likewise.
427 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
429 * config/tc-mips.c (mips16_macro_build) <'>'>: Remove case.
431 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
433 * testsuite/gas/mips/mips16-extend.d: New test.
434 * testsuite/gas/mips/mips16-extend.s: New test source.
435 * testsuite/gas/mips/mips.exp: Run the new test.
437 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
439 * config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local
440 variable to `space_buf'.
442 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
444 * config/tc-arm.c (encode_arm_shift): Rename `index' local
445 variable to `op_index'.
447 2016-12-08 Alan Modra <amodra@gmail.com>
449 * configure: Regenerate.
451 2016-12-07 Maciej W. Rozycki <macro@imgtec.com>
453 * config/tc-mips.c (is_opcode_valid): Use local `isa'
456 2016-12-06 Nick Clifton <nickc@redhat.com>
459 * read.c (s_space): Place an upper limit on the number of spaces
463 * testsuite/gas/mmix/err-byte1.s: Adjust expected warning messages
464 to account for patch to next_char_of_string.
466 2016-12-05 Nick Clifton <nickc@redhat.com>
469 * read.c (next_char_of_string): Do end advance past the end of the
473 * as.h (SKIP_ALL_WHITESPACE): New macro.
474 * expr.c (operand): Use it.
476 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
478 * config/tc-arm.c (do_vcmla, do_vcadd): Define.
479 (neon_scalar_for_vcmla): Define.
480 (enum operand_parse_code): Add OP_IROT1 and OP_IROT2.
481 (NEON_ENC_TAB): Add DDSI and QQSI variants.
482 (insns): Add vcmla and vcadd.
483 * testsuite/gas/arm/armv8_3-a-simd.d: New.
484 * testsuite/gas/arm/armv8_3-a-simd.s: New.
485 * testsuite/gas/arm/armv8_3-a-simd-bad.d: New.
486 * testsuite/gas/arm/armv8_3-a-simd-bad.l: New.
487 * testsuite/gas/arm/armv8_3-a-simd-bad.s: New.
489 2016-12-05 Claudiu Zissulescu <claziss@synopsys.com>
491 * testsuite/gas/arc/textauxregister-1.d: New file.
492 * testsuite/gas/arc/textauxregister-1.s: Likewise.
493 * testsuite/gas/arc/textcondcode-err.s: Likewise.
494 * testsuite/gas/arc/textcoreregister-err.s: Likewise.
495 * config/tc-arc.c (tokenize_extregister): Return bfd_boolean,
496 don't check second argument of extension auxiliary register for
498 (arc_extcorereg): Consider the return of tokenize_extregister
501 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
503 * config/tc-arm.c (arm_ext_v8_3, do_vjcvt): Define.
505 * testsuite/gas/aarch64/armv8_3-a-fp.s: New.
506 * testsuite/gas/aarch64/armv8_3-a-fp.d: New.
507 * testsuite/gas/aarch64/armv8_3-a-fp-bad.s: New.
508 * testsuite/gas/aarch64/armv8_3-a-fp-bad.d: New.
509 * testsuite/gas/aarch64/armv8_3-a-fp-bad.l: New.
511 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
513 * config/tc-arm.c (arm_archs): Add "armv8.3-a".
514 * doc/c-arm.texi (-march): Add "armv8.3-a".
516 2016-12-02 Claudiu Zissulescu <claziss@synopsys.com>
518 * testsuite/gas/arc/cpu-em-err.s: New file.
519 * testsuite/gas/arc/cpu-em4-err.s: Likewise.
520 * testsuite/gas/arc/cpu-fpuda-err.s: Likewise.
521 * testsuite/gas/arc/cpu-hs-err.s: Likewise.
522 * testsuite/gas/arc/cpu-quarkse-err.s: Likewise.
523 * testsuite/gas/arc/noargs_a7.s: Add .cpu.
524 * config/tc-arc.c (ARC_CPU_TYPE_A6xx): Define.
525 (ARC_CPU_TYPE_A7xx): Likewise.
526 (ARC_CPU_TYPE_AV2EM): Likewise.
527 (ARC_CPU_TYPE_AV2HS): Likewise.
528 (cpu_types): Update list of known CPU names.
529 (arc_show_cpu_list): New function.
530 (md_show_usage): Print accepted CPU names.
531 (cl_features): New variable.
532 (arc_select_cpu): Use cl_features.
533 (arc_option): Allow various .cpu names.
534 (md_parse_option): Set cl_features.
535 * doc/c-arc.texi: Update -mcpu and .cpu documentation.
537 2016-12-02 Josh Conner <joshconner@google.com>
539 * configure.tgt: Add support for fuchsia (OS).
541 2016-12-01 Nick Clifton <nickc@redhat.com>
544 * app.c (do_scrub_chars): Do not attempt to unget EOF.
547 * subsegs.c (subsegs_print_statistics): Do nothing if no output
551 * symbols.c (resolve_symbol_value): Gracefully handle erroneous
552 symbolic expressions.
554 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
556 * config/tc-arc.c (find_opcode_match): New function argument
558 (assemble_tokens): Collect and report the eventual error message
559 found during opcode matching process.
560 * testsuite/gas/arc/lpcount-err.s: New file.
561 * testsuite/gas/arc/add_s-err.s: Update error message.
563 2016-11-28 Ramiro Polla <ramiro@hex-rays.com>
564 Amit Pawar <amit.pawar@amd.com>
567 * testsuite/gas/i386/xop32reg.d: New file.
568 * testsuite/gas/i386/xop32reg.s: New file.
569 * testsuite/gas/i386/i386.exp: Run new test.
571 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
573 * arparse.y: Fix spelling in comments.
575 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
577 * config/bfin-lex.l: Fix spelling in comments.
579 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
581 * testsuite/gas/all/gas.exp: Fix spelling in comments.
582 * testsuite/gas/cris/cris.exp: Fix spelling in comments.
583 * testsuite/gas/hppa/basic/basic.exp: Fix spelling in comments.
584 * testsuite/gas/hppa/parse/parse.exp: Fix spelling in comments.
585 * testsuite/gas/hppa/reloc/reloc.exp: Fix spelling in comments.
586 * testsuite/gas/sh/arch/arch.exp: Fix spelling in comments.
587 * testsuite/gas/tic4x/tic4x.exp: Fix spelling in comments.
589 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
591 * testsuite/gas/arm/local_function.d: Fix spelling in comments.
592 * testsuite/gas/arm/req.s: Fix spelling in comments.
593 * testsuite/gas/arm/vfp1.s: Fix spelling in comments.
594 * testsuite/gas/arm/vfp1_t2.s: Fix spelling in comments.
595 * testsuite/gas/arm/vfp1xD.s: Fix spelling in comments.
596 * testsuite/gas/arm/vfp1xD_t2.s: Fix spelling in comments.
597 * testsuite/gas/mcore/allinsn.s: Fix spelling in comments.
598 * testsuite/gas/mips/24k-triple-stores-5.s: Fix spelling in comments.
599 * testsuite/gas/mips/delay.d: Fix spelling in comments.
600 * testsuite/gas/mips/nodelay.d: Fix spelling in comments.
601 * testsuite/gas/mips/r5900-full.s: Fix spelling in comments.
602 * testsuite/gas/mips/r5900.s: Fix spelling in comments.
604 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
606 * as.h: Fix spelling in comments.
607 * config/obj-ecoff.c: Fix spelling in comments.
608 * config/obj-macho.c: Fix spelling in comments.
609 * config/tc-aarch64.c: Fix spelling in comments.
610 * config/tc-arc.c: Fix spelling in comments.
611 * config/tc-arm.c: Fix spelling in comments.
612 * config/tc-avr.c: Fix spelling in comments.
613 * config/tc-cr16.c: Fix spelling in comments.
614 * config/tc-epiphany.c: Fix spelling in comments.
615 * config/tc-frv.c: Fix spelling in comments.
616 * config/tc-hppa.c: Fix spelling in comments.
617 * config/tc-hppa.h: Fix spelling in comments.
618 * config/tc-i370.c: Fix spelling in comments.
619 * config/tc-m68hc11.c: Fix spelling in comments.
620 * config/tc-m68k.c: Fix spelling in comments.
621 * config/tc-mcore.c: Fix spelling in comments.
622 * config/tc-mep.c: Fix spelling in comments.
623 * config/tc-metag.c: Fix spelling in comments.
624 * config/tc-mips.c: Fix spelling in comments.
625 * config/tc-mn10200.c: Fix spelling in comments.
626 * config/tc-mn10300.c: Fix spelling in comments.
627 * config/tc-nds32.c: Fix spelling in comments.
628 * config/tc-nios2.c: Fix spelling in comments.
629 * config/tc-ns32k.c: Fix spelling in comments.
630 * config/tc-pdp11.c: Fix spelling in comments.
631 * config/tc-ppc.c: Fix spelling in comments.
632 * config/tc-riscv.c: Fix spelling in comments.
633 * config/tc-rx.c: Fix spelling in comments.
634 * config/tc-score.c: Fix spelling in comments.
635 * config/tc-score7.c: Fix spelling in comments.
636 * config/tc-sparc.c: Fix spelling in comments.
637 * config/tc-tic54x.c: Fix spelling in comments.
638 * config/tc-vax.c: Fix spelling in comments.
639 * config/tc-xgate.h: Fix spelling in comments.
640 * config/tc-xtensa.c: Fix spelling in comments.
641 * config/tc-z80.c: Fix spelling in comments.
642 * dwarf2dbg.c: Fix spelling in comments.
643 * input-file.h: Fix spelling in comments.
644 * itbl-ops.c: Fix spelling in comments.
645 * read.c: Fix spelling in comments.
646 * stabs.c: Fix spelling in comments.
647 * symbols.c: Fix spelling in comments.
648 * write.c: Fix spelling in comments.
649 * testsuite/gas/all/itbl-test.c: Fix spelling in comments.
650 * testsuite/gas/tic4x/opclasses.h: Fix spelling in comments.
652 2016-11-25 Jose E. Marchesi <jose.marchesi@oracle.com>
654 * config/tc-sparc.c (sparc_ip): Avoid emitting a cbcond error
655 messages for non-cbcond instructions.
656 * testsuite/gas/sparc/cbcond-diag.s: New file.
657 * testsuite/gas/sparc/cbcond-diag.l: Likewise.
658 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run cbcond-diag tests.
660 2016-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
662 * testsuite/gas/sparc/sparc.exp (gas_64_check): Make sure the
663 hwcaps-bump test is run with 64-bit objects.
665 2016-11-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
667 * config/tc-riscv.c: Add missing break.
669 2016-11-23 Alan Modra <amodra@gmail.com>
671 * po/POTFILES.in: Regenerate.
673 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
675 * configure: Regenerate.
677 2016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
679 * config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
681 (sparc_arch): Clarify the new role of the hwcap_allowed and
682 hwcap2_allowed fields.
683 (sparc_arch_table): Remove HWS_* and HWS2_* instances from
684 hwcap_allowed and hwcap2_allowed respectively.
685 (md_parse_option): Include the opcode arch hwcaps when processing
687 (sparc_ip): Use the current opcode arch hwcaps to update
688 hwcap_allowed, as well as the hwcaps of the instruction triggering
690 * testsuite/gas/sparc/hwcaps-bump.s: New file.
691 * testsuite/gas/sparc/hwcaps-bump.l: Likewise.
692 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
695 2016-11-22 Claudiu Zissulescu <claziss@synopsys.com>
697 * testsuite/gas/arc/b.d: Update test result.
699 2016-11-22 Alan Modra <amodra@gmail.com>
702 * config/tc-ppc.c: Delete VLE insn defines.
703 (md_assemble): Swap use_a_reloc and use_d_reloc.
704 * testsuite/gas/ppc/vle-reloc.d: Update.
706 2016-11-21 Renlin Li <renlin.li@arm.com>
709 * config/tc-arm.c (encode_arm_shift): Don't assert for operands not
711 * testsuite/gas/arm/add-shift-two.d: New.
712 * testsuite/gas/arm/add-shift-two.s: New.
714 2016-11-21 Alan Modra <amodra@gmail.com>
716 * configure.ac: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
717 * Makefile.am (comparison): Rewrite using do_compare.
718 * configure: Regenerate.
719 * Makefile.in: Regenerate.
720 * doc/Makefile.in: Regenerate.
722 2016-11-18 Claudiu Zissulescu <claziss@synopsys.com>
724 * testsuite/gas/arc/cl-warn.s: New file.
725 * testsuite/gas/arc/cpu-pseudop-1.d: Likewise.
726 * testsuite/gas/arc/cpu-pseudop-1.s: Likewise.
727 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
728 * testsuite/gas/arc/cpu-pseudop-2.s: Likewise.
729 * testsuite/gas/arc/cpu-warn2.s: Likewise.
730 * config/tc-arc.c (selected_cpu): Initialize.
731 (feature_type): New struct.
732 (feature_list): New variable.
733 (arc_check_feature): New function.
734 (arc_select_cpu): Check for .cpu duplicates. Don't overwrite the
735 current cpu features. Check if a feature is available for a given
737 (md_parse_option): Test if features are available for a given cpu.
739 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
741 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
742 * testsuite/gas/aarch64/advsimd-armv8_3.d: New.
743 * testsuite/gas/aarch64/advsimd-armv8_3.s: New.
744 * testsuite/gas/aarch64/illegal-fcmla.s: New.
745 * testsuite/gas/aarch64/illegal-fcmla.l: New.
746 * testsuite/gas/aarch64/illegal-fcmla.d: New.
748 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
750 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
751 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
752 * testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
753 * testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
754 * testsuite/gas/aarch64/illegal-ldapr.l: Likewise.
756 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
758 * testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
759 * testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
760 * testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
761 * testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
762 * testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
763 * testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
764 * testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
765 * testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.
767 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
769 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
770 (fix_insn): Likewise.
771 (warn_unpredictable_ldst): Handle ldst_imm10.
772 * testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
773 * testsuite/gas/aarch64/pac.d: Likewise.
774 * testsuite/gas/aarch64/illegal-ldraa.s: New.
775 * testsuite/gas/aarch64/illegal-ldraa.l: New.
776 * testsuite/gas/aarch64/illegal-ldraa.d: New.
778 2016-11-15 Nick Clifton <nickc@redhat.com>
781 * config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in
782 the .eh_frame section.
784 2016-11-13 Anthony Green <green@moxielogic.org>
786 * config/tc-moxie.c (md_assemble): Assemble 'bad' opcode.
788 2016-11-11 Nick Clifton <nickc@redhat.com>
791 * expr.c (integer_constant): If tc_allow_L_suffix is defined and
792 non-zero then accept a L or LL suffix.
793 * testsuite/gas/sparc/pr20732.d: New test source file.
794 * testsuite/gas/sparc/pr20732.d: New test output file.
795 * testsuite/gas/sparc/sparc.exp: Run new test.
797 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
799 * testsuite/gas/aarch64/pac.s: Add ARMv8.3 branch instruction tests.
800 * testsuite/gas/aarch64/pac.d: Likewise.
802 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
804 * config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
805 (parse_operands): Likewise.
806 * testsuite/gas/aarch64/pac.s: Add pacga.
807 * testsuite/gas/aarch64/pac.d: Add pacga.
809 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
811 * testsuite/gas/aarch64/pac.s: New.
812 * testsuite/gas/aarch64/pac.d: New.
814 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
816 * testsuite/gas/aarch64/sysreg-3.s: New.
817 * testsuite/gas/aarch64/sysreg-3.d: New.
818 * testsuite/gas/aarch64/illegal-sysreg-3.l: New.
819 * testsuite/gas/aarch64/illegal-sysreg-3.d: New.
821 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
823 * testsuite/gas/aarch64/system-3.s: New.
824 * testsuite/gas/aarch64/system-3.d: New.
825 * testsuite/gas/aarch64/system.d: Update expected output.
827 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
829 * config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
830 * doc/c-aarch64.texi (-march): Likewise.
832 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
834 * config/tc-aarch64.c (aarch64_features): Fix "simd" and "crypto".
835 * testsuite/gas/aarch64/illegal-crypto-nofp.d: New.
836 * testsuite/gas/aarch64/illegal-crypto-nofp.l: New.
837 * testsuite/gas/aarch64/illegal-fp16-nofp.d: New.
838 * testsuite/gas/aarch64/illegal-fp16-nofp.l: New.
839 * testsuite/gas/aarch64/illegal-fp16-nofp.s: New.
841 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
844 * testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
845 * testsuite/gas/i386/opcode-intel.d: Updated.
846 * testsuite/gas/i386/opcode-suffix.d: Likewise.
847 * testsuite/gas/i386/opcode.d: Likewise.
848 * testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
850 * testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
851 * testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.
853 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
856 * testsuite/gas/i386/opcode-suffix.d: Updated.
858 2016-11-07 H.J. Lu <hongjiu.lu@intel.com>
861 * testsuite/gas/i386/i386.exp: Run fpu-bad.
862 * testsuite/gas/i386/fpu-bad.d: New file.
863 * testsuite/gas/i386/fpu-bad.s: Likewise.
865 2016-11-04 Nathan Sidwell <nathan@acm.org>
868 * input-scrub.c (partial_size): Make size_t.
869 (buffer_length): Likewise. Adjust meaning.
870 (struct input_save): Adjust partial_size type.
871 (input_scrub_reinit): New.
872 (input_scrub_push, input_scrub_begin): Use it.
873 (input_scrub_next_buffer): Fix buffer extension logic. Only scan
874 newly read buffer for newline.
876 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
878 * config/tc-arc.c (find_opcode_match): Use insert function to
879 validate matching address type operands.
880 * testsuite/gas/arc/nps400-10.d: New file.
881 * testsuite/gas/arc/nps400-10.s: New file.
883 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
885 * config/tc-arm.c (cortex-m33): Declare new processor.
886 * doc/c-arm.texi (-mcpu ARM command line option): Document new
887 Cortex-M33 processor.
888 * NEWS: Mention ARM Cortex-M33 support.
890 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
892 * config/tc-arm.c (cortex-m23): Declare new processor.
893 * doc/c-arm.texi (-mcpu ARM command line option): Document new
894 Cortex-M23 processor.
895 * NEWS: Mention ARM Cortex-M23 support.
897 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
898 Andrew Waterman <andrew@sifive.com>
900 * Makefile.am (CPU_DOCS): Add c-riscv.texi.
901 * Makefile.in: Regenerate.
902 * doc/all.texi: Set RISCV.
903 * doc/as.texinfo: Add RISCV options.
904 Add RISC-V-Dependent node.
905 Include c-riscv.texi.
906 * doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
908 2016-11-03 Graham Markall <graham.markall@embecosm.com>
910 * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm
911 operands are out of the range of an s9, in order to fix the test.
912 * testsuite/gas/arc/nps400-6.d: Updated to match new expected output.
914 2016-11-03 Graham Markall <graham.markall@embecosm.com>
916 * testsuite/gas/arc/nps-400-9.d: Added.
917 * testsuite/gas/arc/nps-400-9.s: Added.
919 2016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
921 * config/tc-arc.c (struct arc_insn): Change type of insn field.
922 (md_number_to_chars_midend): Support 6- and 8-byte values.
923 (emit_insn0): Update debug output.
924 (find_opcode_match): Likewise.
925 (build_fake_opcode_hash_entry): Delete.
926 (find_special_case_long_opcode): Delete.
927 (find_special_case): Remove long format special case handling.
928 (insert_operand): Change instruction type and update debug print
930 (assemble_insn): Change instruction type, update debug print
931 formats, and remove unneeded assert.
933 2016-11-03 Graham Markall <graham.markall@embecosm.com>
935 * config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
938 2016-11-03 Graham Markall <graham.markall@embecosm.com>
940 * config/tc-arc.c (struct arc_insn): Replace short_insn flag with
942 (apply_fixups): Update to use len field.
943 (emit_insn0): Simplify code, making use of len field.
944 (md_convert_frag): Update to use len field.
945 (assemble_insn): Update to use len field.
947 2016-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
949 * config/tc-aarch64.c (aarch64_cpus): Add falkor.
950 * config/tc-arm.c (arm_cpus): Likewise.
951 * doc/c-aarch64.texi: Likewise.
952 * doc/c-arm.texi: Likewise.
954 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
957 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
958 * testsuite/gas/i386/opcode-intel.d: Updated.
959 * testsuite/gas/i386/opcode.d: Likewise.
961 2016-11-02 Jiong Wang <jiong.wang@arm.com>
963 * config/tc-arm.c (SBIT_SHIFT): New.
964 (T2_SBIT_SHIFT): Likewise.
965 (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
966 (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
968 * testsuite/gas/arm/archv6t2-bad.s: New error case.
969 * testsuite/gas/arm/archv6t2-bad.l: New error match.
970 * testsuite/gas/arm/archv6t2.s: New testcase.
971 * testsuite/gas/arm/archv6t2.d: New expected result.
972 * testsuite/gas/arm/archv8m.s: New testcase.
973 * testsuite/gas/arm/archv8m-base.d: New expected result.
974 * testsuite/gas/arm/archv8m-main.d: Likewise.
975 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
977 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
979 * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
980 (cpu_noarch): Add noavx512_4vnniw.
981 * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
982 * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
983 * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
984 * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
985 * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
986 * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
987 * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
988 * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
989 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
990 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
991 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
992 * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
993 * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
994 * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
996 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
998 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
999 (cpu_noarch): Add noavx512_4fmaps.
1000 (process_operands): Handle implicit quad group.
1001 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
1002 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
1003 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
1004 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
1005 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
1006 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
1007 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
1008 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
1009 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
1010 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
1011 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
1012 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
1013 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
1014 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
1015 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
1016 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
1017 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
1018 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
1019 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
1020 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
1021 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
1022 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
1024 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
1025 Andrew Waterman <andrew@sifive.com>
1027 Add support for RISC-V architecture.
1028 * Makefile.am: Add riscv files.
1029 * Makefile.in: Regenerate.
1030 * NEWS: Mention the support for this architecture.
1031 * configure.in: Define a default architecture.
1032 * configure: Regenerate.
1033 * configure.tgt: Add entries for riscv.
1034 * doc/as.texinfo: Likewise.
1035 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
1036 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
1037 * config/tc-riscv.c: New file.
1038 * config/tc-riscv.h: New file.
1039 * doc/c-riscv.texi: New file.
1040 * testsuite/gas/riscv: New directory.
1041 * testsuite/gas/riscv/riscv.exp: New file.
1042 * testsuite/gas/riscv/t_insns.d: New file.
1043 * testsuite/gas/riscv/t_insns.s: New file.
1045 2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
1047 * config/tc-arc.c (arc_target): Delete.
1048 (arc_target_name): Delete.
1049 (arc_features): Delete.
1050 (arc_mach_type): Delete.
1051 (mach_type_specified_p): Delete.
1052 (enum mach_selection_type): New enum.
1053 (mach_selection_mode): New static global.
1054 (selected_cpu): New static global.
1055 (arc_eflag): Rename to ...
1056 (arc_initial_eflag): ...this, and make const.
1057 (arc_select_cpu): Update comment, new parameter, check how
1058 previous machine type selection was made, and record this
1059 selection. Use selected_cpu instead of old globals.
1060 (arc_option): Remove use of arc_get_mach, instead use
1061 arc_select_cpu to validate machine type selection. Use
1062 selected_cpu over old globals.
1063 (allocate_tok): Use selected_cpu over old globals.
1064 (find_opcode_match): Likewise.
1065 (assemble_tokens): Likewise.
1066 (arc_cons_fix_new): Likewise.
1067 (arc_extinsn): Likewise.
1068 (arc_extcorereg): Likewise.
1069 (md_begin): Update default machine type selection, use
1070 selected_cpu over old globals.
1071 (md_parse_option): Update machine type selection option handling,
1072 use selected_cpu over old globals.
1073 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
1075 2016-10-26 Alan Modra <amodra@gmail.com>
1077 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
1078 * config/rl78-parse.y: Do use old %name-prefix syntax.
1079 * config/rx-parse.y: Likewise.
1081 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
1083 * config/tc-i386.c (cpu_arch): Remove .pcommit.
1084 * doc/c-i386.texi: Likewise.
1085 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
1086 * testsuite/gas/i386/pcommit-intel.d: Removed.
1087 * testsuite/gas/i386/pcommit.d: Likewise.
1088 * testsuite/gas/i386/pcommit.s: Likewise.
1089 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
1090 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
1091 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
1093 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
1096 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
1097 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
1098 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
1100 2016-10-19 Renlin Li <renlin.li@arm.com>
1102 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
1103 for register-shifted register instructions.
1104 * testsuite/gas/arm/shift-bad-pc.d: New.
1105 * testsuite/gas/arm/shift-bad-pc.l: New.
1106 * testsuite/gas/arm/shift-bad-pc.s: New.
1108 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
1110 * testsuite/arc/dis-inv.d: Fixed matching.
1112 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
1114 * testsuite/arc/dis-inv.s: Test to validate patch.
1115 * testsuite/arc/dis-inv.d: Likewise.
1117 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
1119 * testsuite/gas/arc/shortlimm_a7.d: New file.
1120 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
1121 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
1122 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
1124 2016-10-11 Nick Clifton <nickc@redhat.com>
1126 * gas/arm/tls.d: Adjust output to match change in objdump.
1128 2016-10-11 Jiong Wang <jiong.wang@arm.com>
1131 * testsuite/gas/aarch64/alias-2.d: Update expected results.
1133 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1135 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
1136 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
1137 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
1138 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
1139 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
1140 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
1141 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
1142 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
1143 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
1145 2016-10-08 Alan Modra <amodra@gmail.com>
1147 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
1148 config/rx-parse.y. Move config/bfin-parse.y.
1149 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
1150 ($(srcdir)/config/rl78-defs.h): New rule.
1151 * Makefile.in: Regenerate.
1153 2016-10-07 Jiong Wang <jiong.wang@arm.com>
1156 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
1158 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
1160 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
1162 * testsuite/gas/arc/leave_enter.d: New file.
1163 * testsuite/gas/arc/leave_enter.s: Likewise.
1164 * testsuite/gas/arc/regnames.d: Likewise.
1165 * testsuite/gas/arc/regnames.s: Likewise.
1166 * config/tc-arc.c (arc_parse_name): Don't match reg names against
1167 confirmed symbol names.
1169 2016-10-06 Alan Modra <amodra@gmail.com>
1171 * app.c (do_scrub_chars): Move fall through comment.
1172 * expr.c (operand): Likewise.
1174 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
1177 * dw2gencfi.c (dot_cfi_sections): Refine the check for
1178 inconsistent .cfi_sections to only consider compact vs non
1180 * testsuite/gas/cfi/cfi-common-9.d: New file.
1181 * testsuite/gas/cfi/cfi-common-9.s: New file.
1182 * testsuite/gas/cfi/cfi.exp: Run new test.
1184 2016-10-06 Alan Modra <amodra@gmail.com>
1186 * app.c: Add missing fall through comments.
1187 * dw2gencfi.c: Likewise.
1189 * config/tc-alpha.c: Likewise.
1190 * config/tc-arc.c: Likewise.
1191 * config/tc-arm.c: Likewise.
1192 * config/tc-cr16.c: Likewise.
1193 * config/tc-crx.c: Likewise.
1194 * config/tc-dlx.c: Likewise.
1195 * config/tc-h8300.c: Likewise.
1196 * config/tc-hppa.c: Likewise.
1197 * config/tc-i370.c: Likewise.
1198 * config/tc-i386.c: Likewise.
1199 * config/tc-i960.c: Likewise.
1200 * config/tc-ia64.c: Likewise.
1201 * config/tc-m68hc11.c: Likewise.
1202 * config/tc-m68k.c: Likewise.
1203 * config/tc-mep.c: Likewise.
1204 * config/tc-metag.c: Likewise.
1205 * config/tc-microblaze.c: Likewise.
1206 * config/tc-mips.c: Likewise.
1207 * config/tc-ns32k.c: Likewise.
1208 * config/tc-rx.c: Likewise.
1209 * config/tc-score.c: Likewise.
1210 * config/tc-score7.c: Likewise.
1211 * config/tc-sh.c: Likewise.
1212 * config/tc-tic4x.c: Likewise.
1213 * config/tc-vax.c: Likewise.
1214 * config/tc-xstormy16.c: Likewise.
1215 * config/tc-z80.c: Likewise.
1216 * config/tc-z8k.c: Likewise.
1217 * config/obj-elf.c: Likewise.
1218 * config/tc-i386.c: Likewise.
1219 * depend.c: Spell fall through comments consistently.
1220 * config/tc-arm.c: Likewise.
1221 * config/tc-d10v.c: Likewise.
1222 * config/tc-i960.c: Likewise.
1223 * config/tc-ia64.c: Likewise.
1224 * config/tc-m68k.c: Likewise.
1225 * config/tc-mcore.c: Likewise.
1226 * config/tc-mep.c: Likewise.
1227 * config/tc-ns32k.c: Likewise.
1228 * config/tc-visium.c: Likewise.
1229 * config/tc-xstormy16.c: Likewise.
1230 * config/tc-z8k.c: Likewise.
1232 2016-10-06 Alan Modra <amodra@gmail.com>
1234 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
1236 2016-10-06 Alan Modra <amodra@gmail.com>
1238 * config/tc-arc.c (find_opcode_match): Add missing break.
1239 * config/tc-i960.c (get_cdisp): Likewise.
1240 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
1241 * config/tc-mt.c (md_parse_option): Likewise.
1242 * config/tc-nds32.c (nds32_apply_fix): Likewise.
1243 * config/tc-hppa.c (pa_ip): Assert rather than testing last
1244 condition of multiple if statements.
1245 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
1246 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
1247 out of case rather than falling into next case. Formatting.
1249 2016-10-06 Alan Modra <amodra@gmail.com>
1251 * config/rl78-parse.y: Don't use deprecated %name-prefix.
1252 * config/rx-parse.y: Likewise.
1254 2016-09-29 Jiong Wang <jiong.wang@arm.com>
1257 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
1258 testcases for H and S variants. New low index testcases for D variant.
1259 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
1261 2016-09-29 Alan Modra <amodra@gmail.com>
1263 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
1264 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
1265 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
1267 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1269 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
1272 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
1274 * Makefile.in: Regenerate.
1275 * configure: Likewise.
1276 * doc/Makefile.in: Likewise.
1278 2016-09-26 Alan Modra <amodra@gmail.com>
1280 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
1281 (md_pseudo_table <ELF>): Handle "gnu_attribute".
1283 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1285 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
1286 register and redundant basepri_max.
1288 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1290 * config/tc-aarch64.c (print_operands): Print spaces between
1292 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
1294 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
1295 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
1296 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
1297 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
1298 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
1299 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
1300 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1301 * testsuite/gas/aarch64/sve.d: Likewise.
1302 * testsuite/gas/aarch64/symbol.d: Likewise.
1303 * testsuite/gas/aarch64/system.d: Likewise.
1304 * testsuite/gas/aarch64/tls-desc.d: Likewise.
1305 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
1306 in suggested alternatives.
1307 * testsuite/gas/aarch64/verbose-error.l: Likewise.
1309 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1311 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
1312 rather than "should be" or "expected to be" in error messages.
1313 (parse_operands): Likewise.
1314 * testsuite/gas/aarch64/diagnostic.l: Likewise.
1315 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
1316 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
1317 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
1319 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1321 * config/tc-aarch64.c (opcode_lookup): Search for the end of
1322 a condition name, rather than assuming that it will have exactly
1324 (parse_operands): Likewise.
1325 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
1326 to the expected output.
1327 * testsuite/gas/aarch64/beq_1.d: Likewise.
1328 * testsuite/gas/aarch64/float-fp16.d: Likewise.
1329 * testsuite/gas/aarch64/int-insns.d: Likewise.
1330 * testsuite/gas/aarch64/no-aliases.d: Likewise.
1331 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
1332 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1333 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
1336 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1338 * testsuite/gas/aarch64/diagnostic.s,
1339 testsuite/gas/aarch64/diagnostic.l: Add tests for
1340 invalid uses of MUL VL and MUL in base AArch64 instructions.
1341 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
1342 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
1343 testsuite/gas/aarch64/sve-invalid.s,
1344 testsuite/gas/aarch64/sve-invalid.d,
1345 testsuite/gas/aarch64/sve-invalid.l,
1346 testsuite/gas/aarch64/sve-reg-diagnostic.s,
1347 testsuite/gas/aarch64/sve-reg-diagnostic.d,
1348 testsuite/gas/aarch64/sve-reg-diagnostic.l,
1349 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
1351 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1353 * doc/c-aarch64.texi: Document the "sve" feature.
1354 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
1355 (get_reg_expected_msg): Handle it.
1356 (parse_operands): When parsing operands of an SVE instruction,
1357 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
1358 (aarch64_features): Add an entry for SVE.
1360 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1362 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
1363 and FP register operands.
1365 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1367 * config/tc-aarch64.c (double_precision_operand_p): New function.
1368 (parse_operands): Use it to calculate the dp_p input to
1369 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
1371 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1373 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
1376 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1378 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
1380 (parse_shift): Handle SHIFTED_MUL_VL.
1381 (parse_address_main): Add an imm_shift_mode parameter.
1382 (parse_address, parse_sve_address): Update accordingly.
1383 (parse_operands): Handle MUL VL addressing modes.
1385 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1387 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
1389 (get_reg_expected_msg): Handle them.
1390 (aarch64_addr_reg_parse): New function, split out from
1391 aarch64_reg_parse_32_64. Handle Z registers too.
1392 (aarch64_reg_parse_32_64): Call it.
1393 (parse_address_main): Add base_qualifier, offset_qualifier,
1394 base_type and offset_type parameters. Handle SVE base and offset
1396 (parse_address): Update call to parse_address_main.
1397 (parse_sve_address): New function.
1398 (parse_operands): Parse the new SVE address operands.
1400 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1402 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
1403 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
1404 shift modes. Skip range tests for AARCH64_MOD_MUL.
1405 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
1406 (parse_operands): Likewise.
1408 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1410 * config/tc-aarch64.c (parse_enum_string): New function.
1411 (po_enum_or_fail): New macro.
1412 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
1413 AARCH64_OPND_SVE_PRFOP.
1415 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1417 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
1418 (parse_vector_type_for_operand): Assert that the skipped character
1420 (parse_predication_for_operand): New function.
1421 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
1422 (vectype_to_qualifier): Handle NT_zero and NT_merge.
1424 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1426 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
1427 (AARCH64_REG_TYPES): Add ZN and PN.
1428 (get_reg_expected_msg): Handle them.
1429 (parse_vector_type_for_operand): Add a reg_type parameter.
1430 Skip the width for Zn and Pn registers.
1431 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
1432 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
1433 expecting the width to be 0.
1434 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
1436 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
1437 (parse_operands): Handle the new Zn and Pn operands.
1438 (REGSET16): New macro, split out from...
1439 (REGSET31): ...here.
1440 (reg_names): Add Zn and Pn entries.
1442 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1444 * config/tc-aarch64.c (output_operand_error_record): Handle
1445 AARCH64_OPDE_UNTIED_OPERAND.
1447 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1449 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
1450 instruction with all-NIL qualifiers to fail to match.
1452 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1454 * config/tc-aarch64.c (parse_address_main): Remove reloc and
1455 accept_reg_post_index parameters. Parse relocations and register
1456 post indexes unconditionally.
1457 (parse_address): Remove accept_reg_post_index parameter.
1458 Update call to parse_address_main.
1459 (parse_address_reloc): Delete.
1460 (parse_operands): Call parse_address instead of parse_address_main.
1461 Update existing callers of parse_address and make them check
1462 inst.reloc.type where appropriate.
1463 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
1464 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
1465 Also test for invalid uses of post-index register addressing.
1466 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1468 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1470 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
1472 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
1473 (aarch64_check_reg_type): Simplify.
1474 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
1475 register number. Return the type as a qualifier rather than an
1476 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
1478 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
1479 Use get_reg_expected_msg.
1480 (parse_address_main): Likewise. Use aarch64_check_reg_type.
1481 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
1482 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
1483 Use aarch64_check_reg_type to test the result.
1484 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
1485 addresses normally before enforcing the syntax restrictions.
1486 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
1487 zero register and for a stack pointer index.
1488 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1489 Also update existing diagnostic messages after the above changes.
1490 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
1491 for 32-bit register bases.
1493 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1495 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
1496 (parse_operands): Check the range of 8-bit FP immediates here instead.
1498 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1500 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
1501 low-severity error for registers.
1502 (parse_operands): Report an invalid floating point constant for
1503 if parsing an FPIMM8 fails, and if no better error has been
1505 * testsuite/gas/aarch64/diagnostic.s,
1506 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
1509 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1511 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
1513 (can_convert_double_to_float): ...this. Accept any double-precision
1514 value that converts to single precision without loss of precision.
1515 (parse_aarch64_imm_float): Update accordingly.
1517 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1519 * config/tc-aarch64.c (parse_immediate_expression): Add a
1521 (parse_constant_immediate): Likewise, and update calls.
1522 (parse_aarch64_imm_float): Likewise.
1523 (parse_big_immediate): Likewise.
1524 (po_imm_nc_or_fail): Update accordingly, passing down a new
1525 imm_reg_type variable.
1526 (po_imm_of_fail): Likewise.
1527 (parse_operands): Likewise.
1529 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1531 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
1532 (parse_vector_reg_list): ...this and take a register type
1534 (parse_operands): Update accordingly.
1536 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1538 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
1539 (parse_vector_type_for_operand): ...this.
1540 (parse_typed_reg): Update accordingly.
1542 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1544 * config/tc-aarch64.c (neon_type_el): Rename to...
1545 (vector_type_el): ...this.
1546 (parse_neon_type_for_operand): Update accordingly.
1547 (parse_typed_reg): Likewise.
1548 (aarch64_reg_parse): Likewise.
1549 (vectype_to_qualifier): Likewise.
1550 (parse_operands): Likewise.
1551 (eq_neon_type_el): Likewise. Rename to...
1552 (eq_vector_type_el): ...this.
1553 (parse_neon_reg_list): Update accordingly.
1555 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1557 * config/tc-aarch64.c (neon_el_type: Rename to...
1558 (vector_el_type): ...this.
1559 (neon_type_el): Update accordingly.
1560 (parse_neon_type_for_operand): Likewise.
1561 (vectype_to_qualifier): Likewise.
1563 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1565 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
1566 (parse_typed_reg): Call parse_neon_type_for_operand directly.
1568 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
1570 * testsuite/gas/arc/textinsnxop.d: New file.
1571 * testsuite/gas/arc/textinsnxop.s: Likewise.
1573 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
1575 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1576 dcti-couples-v9 only in ELF targets to avoid spurious failures in
1577 sparc-aout and sparc-coff targets.
1579 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
1581 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
1582 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
1583 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
1584 <copy, paste.>: Update tests.
1585 * testsuite/gas/ppc/power9.s: Likewise.
1587 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1589 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
1590 in "architecture mismatch" error messages.
1592 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1594 * config/tc-sparc.c (md_assemble): Detect and warning on
1595 unpredictable DCTI couples in certain arches.
1596 (dcti_couples_detect): New global.
1597 (md_longopts): Add command line option -dcti-couples-detect.
1598 (md_show_usage): Document -dcti-couples-detect.
1599 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
1600 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1601 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
1602 * testsuite/gas/sparc/dcti-couples.s: New file.
1603 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
1604 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
1605 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
1606 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
1607 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
1608 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
1609 * doc/c-sparc.texi (Sparc-Opts): Likewise.
1611 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
1613 * testsuite/gas/arc/tls-relocs2.d: New file.
1614 * testsuite/gas/arc/tls-relocs2.s: Likewise.
1615 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
1618 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1620 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
1622 * doc/as.texinfo: Document new arch strings.
1623 * doc/c-s390.texi: Likewise.
1625 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1627 * config/tc-s390.c: Set all facitily bits by default
1629 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
1631 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
1633 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
1635 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
1638 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
1640 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
1641 (set_cpu_arch): Updated.
1642 (md_parse_option): Likewise.
1643 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
1644 iamcu-inval-2 and iamcu-inval-3.
1645 * testsuite/gas/i386/iamcu-4.d: New file.
1646 * testsuite/gas/i386/iamcu-4.s: Likewise.
1647 * testsuite/gas/i386/iamcu-5.d: Likewise.
1648 * testsuite/gas/i386/iamcu-5.s: Likewise.
1649 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
1650 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
1651 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
1652 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
1654 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
1656 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
1657 ARMv8-A CPUs except xgene1.
1659 2016-08-31 Alan Modra <amodra@gmail.com>
1661 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
1662 ppc_cpu rather than calling ppc_mach to determine VLE mode.
1663 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
1665 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
1667 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
1669 * testsuite/gas/sparc/crypto.s: Likewise.
1671 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1673 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
1674 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
1675 their lowecase counterpart special registers. Write register
1677 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
1678 operation, special register and then case. Use different register for
1679 each operation. Add tests for new special registers.
1680 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
1682 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1683 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1685 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
1687 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
1689 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
1691 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1692 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1693 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1695 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
1697 * config/tc-i386.c (cpu_arch): Add .ptwrite.
1698 * doc/c-i386.texi: Document ptwrite and .ptwrite.
1699 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
1700 x86-64-ptwrite and x86-64-ptwrite-intel.
1701 * testsuite/gas/i386/ptwrite-intel.d: New file.
1702 * testsuite/gas/i386/ptwrite.d: Likewise.
1703 * testsuite/gas/i386/ptwrite.s: Likewise.
1704 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
1705 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
1706 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
1708 2016-08-19 Tamar Christina <tamar.christina@arm.com>
1710 * config/tc-arm.c (do_co_reg2c): Added constraint.
1711 * testsuite/gas/arm/dest-unpredictable.s: New.
1712 * testsuite/gas/arm/dest-unpredictable.l: New.
1713 * testsuite/gas/arm/dest-unpredictable.d: New.
1715 2016-08-19 Nick Clifton <nickc@redhat.com>
1717 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
1718 ordering of sections.
1719 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1720 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
1721 * testsuite/gas/ia64/alias.d: Likewise.
1722 * testsuite/gas/ia64/group-1.d: Likewise.
1723 * testsuite/gas/ia64/group-2.d: Likewise.
1724 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
1725 * testsuite/gas/ia64/secname.d: Likewise.
1726 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
1727 * testsuite/gas/ia64/unwind.d: Likewise.
1728 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
1729 * testsuite/gas/ia64/xdata.d: Likewise.
1730 * testsuite/gas/mmix/bspec-1.d: Likewise.
1731 * testsuite/gas/mmix/bspec-2.d: Likewise.
1732 * testsuite/gas/mmix/byte-1.d: Likewise.
1733 * testsuite/gas/mmix/loc-1.d: Likewise.
1734 * testsuite/gas/mmix/loc-2.d: Likewise.
1735 * testsuite/gas/mmix/loc-3.d: Likewise.
1736 * testsuite/gas/mmix/loc-4.d: Likewise.
1737 * testsuite/gas/mmix/loc-5.d: Likewise.
1738 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1740 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
1742 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
1743 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
1744 Add tests for -0.0. Add an end-of-file comment.
1746 2016-08-05 Nick Clifton <nickc@redhat.com>
1749 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
1750 registers are pushed.
1751 (do_vfp_nsyn_pop): Check that no more than 16 registers are
1753 * testsuite/gas/arm/pr20429.s: New test.
1754 * testsuite/gas/arm/pr20429.d: New test driver.
1755 * testsuite/gas/arm/pr20429.1: Expected error output.
1758 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
1760 (aarch64_init): Treat rs_align frags in code sections as
1761 containing code, not data.
1762 * testsuite/gas/aarch64/pr20364.s: New test.
1763 * testsuite/gas/aarch64/pr20364.d: New test driver.
1765 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
1768 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
1769 of 64-bit relocation types when assembling for a 32-bit Solaris
1772 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
1774 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
1776 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
1777 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
1778 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
1779 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
1781 (sparc_elf_setup): Delete.
1782 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
1785 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1787 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
1788 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
1789 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
1790 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
1791 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
1792 (get_append_method): Also return APPEND_ADD_COMPACT for
1793 microMIPS instructions.
1794 (find_altered_mips16_opcode): Exclude macros from matching.
1796 (find_altered_opcode): ... to this new function.
1797 (find_altered_micromips_opcode): New function.
1798 (frag_branch_delay_slot_size): Likewise.
1799 (append_insn): Handle microMIPS branch/jump compaction.
1800 (macro_start): Likewise.
1801 (relaxed_micromips_32bit_branch_length): Likewise.
1802 (md_convert_frag): Likewise.
1803 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
1804 for delay slot filling.
1805 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
1807 * testsuite/gas/mips/micromips-size-1.s: Likewise.
1808 * testsuite/gas/mips/micromips.l: Adjust line numbers.
1809 * testsuite/gas/mips/micromips-warn.l: Likewise.
1810 * testsuite/gas/mips/micromips-size-1.l: Likewise.
1811 * testsuite/gas/mips/micromips.d: Adjust padding.
1812 * testsuite/gas/mips/micromips-trap.d: Likewise.
1813 * testsuite/gas/mips/micromips-insn32.d: Likewise.
1814 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1815 * testsuite/gas/mips/micromips@beq.d: Update patterns for
1816 branch/jump compaction.
1817 * testsuite/gas/mips/micromips@bge.d: Likewise.
1818 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
1819 * testsuite/gas/mips/micromips@blt.d: Likewise.
1820 * testsuite/gas/mips/micromips@bltu.d: Likewise.
1821 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
1822 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
1823 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
1824 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
1825 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
1826 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1827 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1828 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
1830 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
1832 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
1833 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
1834 * testsuite/gas/mips/micromips@relax.d: Likewise.
1835 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
1836 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
1837 * testsuite/gas/mips/branch-extern-2.d: Likewise.
1838 * testsuite/gas/mips/branch-extern-4.d: Likewise.
1839 * testsuite/gas/mips/branch-section-2.d: Likewise.
1840 * testsuite/gas/mips/branch-section-4.d: Likewise.
1841 * testsuite/gas/mips/branch-weak-2.d: Likewise.
1842 * testsuite/gas/mips/branch-weak-5.d: Likewise.
1843 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
1844 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1845 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1846 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
1848 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1850 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1852 * testsuite/gas/mips/micromips-compact.d: New test.
1853 * testsuite/gas/mips/mips.exp: Run the new test.
1855 2016-07-27 Graham Markall <graham.markall@embecosm.com>
1857 * config/tc-arc.c: Add new global arc_addrtype_hash.
1858 Define O_colon and O_addrtype.
1859 (debug_exp): Add O_colon and O_addrtype.
1860 (tokenize_arguments): Handle colon and address type
1862 (declare_addrtype): New function.
1863 (md_begin): Initialise arc_addrtype_hash.
1864 (arc_parse_name): Add lookup of address types.
1865 (assemble_insn): Handle colons and address types by
1867 * testsuite/gas/arc/nps400-8.s: New file.
1868 * testsuite/gas/arc/nps400-8.d: New file.
1869 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
1870 * testsuite/gas/arc/nps400-8.d: Add expected PMU
1873 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1875 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
1876 (RELAX_MICROMIPS_INSN32): New macro.
1877 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1878 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
1879 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
1880 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
1881 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
1883 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
1885 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
1887 (md_convert_frag): Likewise.
1888 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
1890 * testsuite/gas/mips/micromips-branch-relax.l: Update line
1891 numbers accordingly.
1892 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
1893 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
1894 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
1896 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
1898 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
1900 * testsuite/gas/mips/mips.exp: Run the new tests.
1902 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1904 * configure: Regenerated.
1906 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
1908 * testsuite/gas/arc/dsp.d: New file.
1909 * testsuite/gas/arc/dsp.s: Likewise.
1910 * testsuite/gas/arc/fpu.d: Likewise.
1911 * testsuite/gas/arc/fpu.s: Likewise.
1912 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
1913 * testsuite/gas/arc/ext3op.d: Likewise.
1914 * testsuite/gas/arc/tdpfp.d: Likewise.
1915 * testsuite/gas/arc/tfpuda.d: Likewise.
1917 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
1919 * config/tc-mips.c (mips_force_relocation): Remove
1920 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
1922 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1924 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
1925 Adjust comments for BAL to JALX linker conversion.
1926 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
1927 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
1929 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
1930 * testsuite/gas/mips/branch-local-4.d: New test.
1931 * testsuite/gas/mips/branch-local-n32-4.d: New test.
1932 * testsuite/gas/mips/branch-local-n64-4.d: New test.
1933 * testsuite/gas/mips/branch-addend.d: New test.
1934 * testsuite/gas/mips/branch-addend-n32.d: New test.
1935 * testsuite/gas/mips/branch-addend-n64.d: New test.
1936 * testsuite/gas/mips/branch-local-4.s: New test source.
1937 * testsuite/gas/mips/branch-addend.s: New test source.
1938 * testsuite/gas/mips/mips.exp: Run the new tests.
1940 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1942 * config/tc-mips.c (mips_force_relocation): Also retain branch
1943 relocations against MIPS16 and microMIPS symbols.
1944 (fix_bad_cross_mode_jump_p): New function.
1945 (fix_bad_same_mode_jalx_p): Likewise.
1946 (fix_bad_misaligned_jump_p): Likewise.
1947 (fix_bad_cross_mode_branch_p): Likewise.
1948 (fix_bad_misaligned_branch_p): Likewise.
1949 (fix_validate_branch): Likewise.
1950 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
1951 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
1952 etc. Verify the ISA mode and alignment of the jump target.
1953 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
1954 with a call to `fix_validate_branch'.
1955 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
1956 <BFD_RELOC_16_PCREL_S2>: Likewise.
1957 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1958 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
1959 Verify the ISA mode and alignment of the branch target.
1960 (md_convert_frag): Verify the ISA mode and alignment of resolved
1961 MIPS16 branch targets.
1962 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
1963 branch targets with `.insn'.
1964 * testsuite/gas/mips/branch-misc-5.s: Likewise.
1965 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
1967 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1968 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
1969 non-instruction branch target with `.insn'.
1970 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
1971 with external symbols.
1972 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
1973 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1974 * testsuite/gas/mips/micromips-trap.d: Likewise.
1975 * testsuite/gas/mips/micromips.d: Likewise.
1976 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
1977 targets with `.insn'.
1978 * testsuite/gas/mips/mips16.d: Update accordingly.
1979 * testsuite/gas/mips/mips16-64.d: Likewise.
1980 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
1981 branch target with `.insn'.
1982 * testsuite/gas/mips/relax-swap3.s: Likewise.
1983 * testsuite/gas/mips/branch-local-2.l: New list test.
1984 * testsuite/gas/mips/branch-local-3.l: New list test.
1985 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
1986 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
1987 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
1988 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
1989 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
1990 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
1991 * testsuite/gas/mips/unaligned-jump-3.d: New test.
1992 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
1993 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
1994 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1995 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1997 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1999 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
2000 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
2001 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
2002 * testsuite/gas/mips/unaligned-branch-3.d: New test.
2003 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
2004 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
2005 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
2006 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
2007 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
2008 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
2009 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
2010 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
2011 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
2012 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
2014 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
2016 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
2017 * testsuite/gas/mips/branch-local-2.s: New test source.
2018 * testsuite/gas/mips/branch-local-3.s: New test source.
2019 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
2020 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
2021 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
2022 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
2023 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
2024 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
2025 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
2026 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
2027 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
2029 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
2031 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
2032 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
2033 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
2034 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
2035 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
2036 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
2037 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
2039 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
2041 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
2043 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
2045 * testsuite/gas/mips/mips.exp: Run the new tests.
2047 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2049 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
2051 (do_pseudo_b): Adjust.
2052 (do_pseudo_bal): Likewise.
2053 (do_pseudo_bge): Likewise.
2054 (do_pseudo_bges): Likewise.
2055 (do_pseudo_bgt): Likewise.
2056 (do_pseudo_bgts): Likewise.
2057 (do_pseudo_ble): Likewise.
2058 (do_pseudo_bles): Likewise.
2059 (do_pseudo_blt): Likewise.
2060 (do_pseudo_blts): Likewise.
2061 (do_pseudo_br): Likewise.
2062 (do_pseudo_bral): Likewise.
2063 (do_pseudo_la): Likewise.
2064 (do_pseudo_li): Likewise.
2065 (do_pseudo_ls_bhw): Likewise.
2066 (do_pseudo_ls_bhwp): Likewise.
2067 (do_pseudo_ls_bhwpc): Likewise.
2068 (do_pseudo_ls_bhwi): Likewise.
2069 (do_pseudo_move): Likewise.
2070 (do_pseudo_neg): Likewise.
2071 (do_pseudo_not): Likewise.
2072 (do_pseudo_pushpopm): Likewise.
2073 (do_pseudo_pushpop): Likewise.
2074 (do_pseudo_v3push): Likewise.
2075 (do_pseudo_v3pop): Likewise.
2076 (do_pseudo_pushpop_stack): Likewise.
2077 (do_pseudo_push_bhwd): Likewise.
2078 (do_pseudo_pop_bhwd): Likewise.
2079 (do_pseudo_pusha): Likewise.
2080 (do_pseudo_pushi): Likewise.
2082 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2084 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
2085 bfd_reloc_code_real_type.
2087 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2089 * config/tc-sparc.c (pop_table): Remove sentinel.
2090 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
2093 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2095 * config/tc-z8k.c (newfix): Make type of type argument
2096 bfd_reloc_code_real_type.
2097 (apply_fix): Likewise.
2099 2016-07-16 Alan Modra <amodra@gmail.com>
2101 * config/tc-epiphany.c: Don't include libbfd.h.
2102 * config/tc-frv.c: Likewise.
2103 * config/tc-ip2k.c: Likewise.
2104 * config/tc-iq2000.c: Likewise.
2105 * config/tc-m32c.c: Likewise.
2106 * config/tc-mep.c: Likewise.
2107 * config/tc-mt.c: Likewise.
2108 * config/tc-nios2.c: Likewise.
2110 2016-07-16 Alan Modra <amodra@gmail.com>
2112 * config/bfin-parse.y: Don't include libbfd.h.
2113 * config/tc-bfin.c: Likewise.
2114 * config/tc-rl78.c: Likewise.
2115 * config/tc-rx.c: Likewise.
2116 * config/tc-metag.c: Likewise.
2117 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
2118 * Makefile.am: Update dependencies.
2119 * Makefile.in: Regenerate.
2121 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2123 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
2124 (mips_force_relocation_abs): New prototype.
2125 * config/tc-mips.c (mips_force_relocation_abs): New function.
2126 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
2127 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
2128 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
2129 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
2130 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
2132 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
2134 * testsuite/gas/mips/branch-absolute-addend.d: New test.
2135 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
2136 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
2138 * testsuite/gas/mips/mips.exp: Run the new tests.
2140 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2142 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
2143 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
2144 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
2146 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
2147 in `bar', export `foo'.
2148 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
2150 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
2151 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
2152 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
2154 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
2157 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2159 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
2160 * testsuite/gas/mips/branch-absolute.d: New test.
2161 * testsuite/gas/mips/branch-absolute-n32.d: New test.
2162 * testsuite/gas/mips/branch-absolute-n64.d: New test.
2163 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
2164 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
2165 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
2166 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
2167 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
2169 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
2171 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
2172 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
2173 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
2174 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
2176 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
2178 * testsuite/gas/mips/branch-absolute.s: New test source.
2179 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
2180 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
2182 * testsuite/gas/mips/micromips-branch-absolute.s: New test
2184 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
2186 * testsuite/gas/mips/mips.exp: Run the new tests.
2188 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
2190 * testsuite/gas/mips/nal-1.d: New test.
2191 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
2192 * testsuite/gas/mips/nal-2.d: New test.
2193 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
2194 * testsuite/gas/mips/nal.s: New test source.
2195 * testsuite/gas/mips/mips.exp: Run the new tests.
2197 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
2199 * testsuite/gas/sparc/ldtxa.s: New file.
2200 * testsuite/gas/sparc/ldtxa.d: Likewise.
2201 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
2203 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
2205 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
2206 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
2207 as it is no longer needed.
2209 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
2211 * config/tc-mips.c (append_insn): Remove extraneous
2212 `install_insn' call.
2214 2016-07-04 Jan Beulich <jbeulich@suse.com>
2216 * config/tc-i386.c (check_qword_reg): Correct register kind
2218 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
2219 16-bit register cases.
2220 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
2223 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2225 * testsuite/gas/mips/ecoff@ld.d: Remove test.
2226 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
2227 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
2228 * testsuite/gas/mips/ecoff@sd.d: Remove test.
2229 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
2230 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
2232 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2233 * testsuite/gas/mips/bge.d: Likewise.
2234 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
2235 * testsuite/gas/mips/bgeu.d: Likewise.
2236 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
2237 * testsuite/gas/mips/blt.d: Likewise.
2238 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
2239 * testsuite/gas/mips/bltu.d: Likewise.
2240 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
2241 * testsuite/gas/mips/branch-likely.d: Likewise.
2242 * testsuite/gas/mips/la.d: Likewise.
2243 * testsuite/gas/mips/lb.d: Likewise.
2244 * testsuite/gas/mips/lifloat.d: Likewise.
2245 * testsuite/gas/mips/sb.d: Likewise.
2246 * testsuite/gas/mips/uld.d: Likewise.
2247 * testsuite/gas/mips/ulh.d: Likewise.
2248 * testsuite/gas/mips/ulw.d: Likewise.
2249 * testsuite/gas/mips/usd.d: Likewise.
2250 * testsuite/gas/mips/ush.d: Likewise.
2251 * testsuite/gas/mips/usw.d: Likewise.
2253 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2255 * testsuite/gas/mips/branch-misc-2.s: Move non
2256 locally-defined-global symbol tests...
2257 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
2258 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
2259 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
2260 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
2261 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
2262 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
2263 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
2264 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
2265 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
2266 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
2267 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
2268 * testsuite/gas/mips/branch-misc-5.d: New test.
2269 * testsuite/gas/mips/branch-misc-5pic.d: New test.
2270 * testsuite/gas/mips/branch-misc-5-64.d: New test.
2271 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
2272 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
2273 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
2274 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
2275 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
2276 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
2277 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
2278 * testsuite/gas/mips/mips.exp: Run the new tests.
2280 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2282 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
2284 * testsuite/gas/mips/beq.d: Update accordingly.
2285 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2286 * testsuite/gas/mips/micromips@beq.d: Likewise.
2288 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2290 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
2291 tests to NewABI targets.
2293 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2295 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
2298 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2300 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
2302 (aarch64_features): Initialize require fields.
2303 (aarch64_parse_features): Handle dependencies.
2304 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
2305 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
2306 * testsuite/gas/aarch64/illegal-nofp16.s: New.
2307 * testsuite/gas/aarch64/illegal-nofp16.l: New.
2308 * testsuite/gas/aarch64/illegal-nofp16.d: New.
2310 2016-07-01 Nick Clifton <nickc@redhat.com>
2312 * macro.c (macro_expand_body): Use a buffer big enough to hold an
2313 extremely large integer.
2315 2016-07-01 Jan Beulich <jbeulich@suse.com>
2317 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
2319 2016-07-01 Tristan Gingold <gingold@adacore.com>
2321 * NEWS: Add marker for 2.27.
2323 2016-07-01 Jan Beulich <jbeulich@suse.com>
2325 * tc-i386.c (i386_index_check): Add special checks for bndmk,
2327 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
2328 as well as scaling by other than 1 tests.
2329 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
2331 2016-07-01 Jan Beulich <jbeulich@suse.com>
2333 * tc-i386.c (md_assemble): Alter address size checking for MPX
2335 * testsuite/gas/i386/mpx-inval-2.s: New.
2336 * testsuite/gas/i386/mpx-inval-2.l: New.
2337 * testsuite/gas/i386/i386.exp: Run new test.
2339 2016-07-01 Jan Beulich <jbeulich@suse.com>
2342 * config/tc-i386.c (match_template): Add char parameter,
2343 consumed in Intel mode for an extra suffix check.
2344 (md_assemble): New local variable mnem_suffix.
2345 * testsuite/gas/i386/suffix-bad.s: New.
2346 * testsuite/gas/i386/suffix-bad.l: New.
2347 * testsuite/gas/i386/i386.exp: Run new test (twice).
2349 2016-07-01 Jan Beulich <jbeulich@suse.com>
2351 * testsuite/gas/i386/movz.s: New.
2352 * testsuite/gas/i386/movz32.d: New.
2353 * testsuite/gas/i386/movz64.d: New.
2354 * testsuite/gas/i386/i386.exp: Run new tests.
2356 2016-07-01 Jan Beulich <jbeulich@suse.com>
2358 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
2359 (md_assemble): Free first memory operand string.
2360 (i386_index_check): Use repprefixok to distingush xlat from
2361 other (real) string ops.
2362 (maybe_adjust_templates): New.
2363 (i386_att_operand). Call it. Store first memory operand string.
2364 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
2365 * testsuite/gas/i386/intel-movs.s: New.
2366 * testsuite/gas/i386/intel-movs32.d: New.
2367 * testsuite/gas/i386/intel-movs64.d: New.
2368 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
2369 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
2371 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2373 * config/tc-mips.c (get_append_method): Fix a comment typo.
2375 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
2376 Maciej W. Rozycki <macro@imgtec.com>
2378 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
2379 case MIPS16 handling.
2380 * testsuite/gas/mips/branch-swap-3.d: New test.
2381 * testsuite/gas/mips/branch-swap-4.d: New test.
2382 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
2383 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
2384 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
2385 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
2386 * testsuite/gas/mips/branch-swap-3.s: New test source.
2387 * testsuite/gas/mips/mips.exp: Run the new tests.
2389 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2391 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
2394 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2397 * write.c (subsegs_finish_section): Force no section padding to
2398 alignment on failed assembly, always set last frag's alignment
2400 * testsuite/gas/all/pr20312.l: New list test.
2401 * testsuite/gas/all/pr20312.s: New test source.
2402 * testsuite/gas/all/gas.exp: Run the new test
2404 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
2406 * config.in (TARGET_WITH_CPU): Undefine.
2407 * configure.ac: Add --with-cpu support, and define in config.h.
2408 * configure: Regenerate.
2409 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
2410 * NEWS: Mention new configure option.
2412 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
2414 * testsuite/gas/arm/armv8_2+rdma.d: New.
2416 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
2418 * NEWS: Mention --enable-compressed-debug-sections=gas is the
2419 default for Linux/x86 targets.
2420 * configure.tgt (ac_default_compressed_debug_sections): Default
2421 to yes for Linux/x86 targets.
2423 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
2425 * write.c: Remove "libbfd.h" inclusion.
2427 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2429 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
2432 2016-06-28 Alan Modra <amodra@gmail.com>
2435 * testsuite/gas/elf/section11.s: Don't start directives in first column.
2437 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
2439 * testsuite/gas/aarch64/diagnostic.s,
2440 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
2442 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2444 * config/tc-mips.c (mips16_reloc_p): Handle
2445 BFD_RELOC_MIPS16_16_PCREL_S1.
2446 (b_reloc_p): Likewise.
2447 (limited_pcrel_reloc_p): Likewise.
2448 (md_pcrel_from): Likewise.
2449 (md_apply_fix): Likewise.
2450 (tc_gen_reloc): Likewise.
2451 (md_convert_frag): Likewise.
2452 (mips_fix_adjustable): Update comment.
2453 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
2454 output, add dump patterns.
2455 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
2456 output, add dump patterns.
2457 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
2458 output, add dump patterns.
2459 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
2460 output, add dump patterns.
2461 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
2462 output, add dump patterns.
2463 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
2464 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
2465 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
2466 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
2467 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
2468 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
2469 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
2470 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
2471 * testsuite/gas/mips/branch-weak-6.d: New test.
2472 * testsuite/gas/mips/branch-weak-7.d: New test.
2473 * testsuite/gas/mips/mips.exp: Run the new tests.
2475 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
2477 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
2478 cfi_add_CFA_def_cfa to generate default CFA with offset
2479 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
2481 2016-06-27 Nick Clifton <nickc@redhat.com>
2484 * as.h (do_not_pad_sections_to_alignment): New global variable.
2485 * as.c (show_usage): Add --no-pad-sections.
2486 (parse_args): Likewise.
2487 * write.c (size_seg): Skip padding the end of the section if
2488 requested from the command line.
2489 (SUB_SEGMENT_ALIGN): Likewise.
2490 * doc/as.texinfo: Document the new option.
2491 * NEWS: Mention the new feature.
2492 * testsuite/gas/elf/section11.s: New test.
2493 * testsuite/gas/elf/section11.d: New test driver.
2494 * testsuite/gas/elf/elf.exp: Run the new test.
2496 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2498 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
2499 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
2501 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2503 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
2505 (map_suffix_reloc_to_operator): Likewise.
2506 (map_operator_to_reloc): Likewise.
2508 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2510 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
2511 element in relax_table.
2513 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2515 * config/tc-aarch64.c: Make the type of reg_entry::type
2518 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2520 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
2521 (md_parse_option): Adjust.
2522 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
2523 with iteration from 0 to ARRAY_SIZE.
2524 * config/tc-mcore.c (md_begin): Likewise.
2525 * config/tc-visium.c (visium_parse_arch): Likewise.
2527 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2529 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
2530 and simplify accordingly.
2531 (tic54x_include): Adjust.
2532 (tic54x_mlib): Likewise.
2534 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2536 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
2538 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
2540 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
2541 unchanged with relaxed MIPS16 instructions.
2542 (mips16_extended_frag): Adjust accordingly. Return 1 right
2543 away if a relocation will be required for the symbol requested.
2544 Remove dead first relaxation pass code.
2545 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
2546 (md_convert_frag): Adjust symbol value calculation. Raise an
2547 error if a relocation is required for the symbol requested.
2548 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
2550 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
2551 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
2552 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
2553 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
2554 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
2555 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
2556 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
2557 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
2558 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
2559 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
2560 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
2561 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
2562 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
2563 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
2564 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
2565 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
2566 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
2567 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
2568 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
2569 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
2570 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
2571 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
2572 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
2573 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
2574 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
2575 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
2576 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
2577 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
2578 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
2579 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
2580 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
2581 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
2582 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
2583 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
2584 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
2585 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
2586 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
2587 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
2588 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
2589 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
2590 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
2591 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
2592 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
2593 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
2594 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
2595 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
2596 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
2597 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
2598 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
2599 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
2600 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
2601 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
2602 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
2603 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
2604 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
2605 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
2606 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
2607 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
2608 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
2609 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
2610 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
2611 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
2612 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
2613 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
2614 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
2615 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
2616 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
2617 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
2618 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
2619 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
2620 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
2621 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
2622 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
2623 * testsuite/gas/mips/mips.exp: Run the new tests.
2625 2016-06-24 Alan Modra <amodra@gmail.com>
2627 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
2629 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
2631 * config/tc-mips.c (b_reloc_p): New function.
2632 (mips_fix_adjustable): Also keep the original microMIPS symbol
2633 referred from branch relocations.
2634 * testsuite/gas/mips/branch-local-1.d: New test.
2635 * testsuite/gas/mips/branch-local-n32-1.d: New test.
2636 * testsuite/gas/mips/branch-local-n64-1.d: New test.
2637 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
2639 * testsuite/gas/mips/branch-local-1.s: New test source.
2640 * testsuite/gas/mips/mips.exp: Run the new cases.
2642 2016-06-23 Graham Markall <graham.markall@embecosm.com>
2644 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
2645 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
2646 options. Correct erroneous enabling of SPFP instructions when
2649 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
2651 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
2652 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
2653 setbool, xor3>: New tests.
2654 * testsuite/gas/ppc/power9.s: Likewise.
2656 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2658 * config/tc-xtensa.c: Include elf/xtensa.h.
2660 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2662 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
2663 <BFD_RELOC_LO16_PCREL>: New switch cases.
2664 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
2665 Move switch cases along `BFD_RELOC_MIPS_JMP'.
2666 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
2667 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
2669 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
2670 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
2671 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
2672 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
2673 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
2674 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
2675 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
2676 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
2677 * testsuite/gas/mips/mips.exp: Run the new tests.
2679 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2681 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
2682 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
2683 via `fixP->fx_addsy'.
2685 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2687 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
2688 Calculate relocation from the containing aligned doubleword.
2689 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
2690 addend from the containing aligned doubleword.
2692 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2694 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
2695 rather than `mips_opts' for the R6 ISA check.
2696 (mips_fix_adjustable): Likewise.
2697 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
2698 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
2699 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
2700 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
2701 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
2702 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
2703 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
2704 * testsuite/gas/mips/mips.exp: Run the new tests.
2706 2016-06-21 Graham Markall <graham.markall@embecosm.com>
2708 * config/tc-arc.c (check_cpu_feature, md_parse_option):
2709 Add nps400 option and feature. Add check for nps400
2710 feature. Refactor existing checks to check subclass before
2712 (md_show_usage): Document flags for NPS-400 and add some other
2714 (cpu_type): Remove nps400 CPU type entry
2715 (check_zol): Remove bfd_mach_arc_nps400 case.
2716 (md_show_usage): Add help on -mcpu=nps400.
2717 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
2719 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
2720 -fpuda flags. Document -mcpu=nps400.
2721 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
2722 expected flags to match ARC700 instead of NPS400.
2723 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
2724 * testsuite/gas/arc/nps-400-2.d: Likewise.
2725 * testsuite/gas/arc/nps-400-3.d: Likewise.
2726 * testsuite/gas/arc/nps-400-4.d: Likewise.
2727 * testsuite/gas/arc/nps-400-5.d: Likewise.
2728 * testsuite/gas/arc/nps-400-6.d: Likewise.
2729 * testsuite/gas/arc/nps-400-7.d: Likewise.
2730 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
2731 avoid clash with cbba instruction.
2732 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2733 * testsuite/gas/arc/textinsn3op.d: Likewise.
2734 * testsuite/gas/arc/textinsn3op.s: Likewise.
2735 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
2736 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
2738 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2740 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
2741 * testsuite/gas/mips/r6-64-n64.d: Likewise.
2743 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2745 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
2748 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
2750 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
2752 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2754 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
2755 %hmcddfr and %hva_mask_nz.
2756 (sparc_ip): New handling of asr/privileged/hyperprivileged
2757 registers, adapted to the new form of the sparc opcodes table.
2758 * testsuite/gas/sparc/rdasr.s: New file.
2759 * testsuite/gas/sparc/rdasr.d: Likewise.
2760 * testsuite/gas/sparc/wrasr.s: Likewise.
2761 * testsuite/gas/sparc/wrasr.d: Likewise.
2762 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
2764 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
2765 registers require it.
2766 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
2767 registers and write instruction modalities.
2768 * testsuite/gas/sparc/wrpr.d: Likewise.
2769 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
2771 * testsuite/gas/sparc/rdhpr.d: Likewise.
2772 * testsuite/gas/sparc/wrhpr.s: Likewise.
2773 * testsuite/gas/sparc/wrhpr.d: Likewise.
2775 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2777 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
2778 architectures to use the right opcode architecture.
2779 (sparc_md_end): Handle v9{c,d,e,v,m}.
2780 (sparc_ip): Fix some comments.
2781 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
2782 instruction, which is v9d.
2783 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
2784 instruction from the test, as %mwait is not readable.
2785 * testsuite/gas/sparc/mwait.d: Likewise.
2786 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
2787 mismatch architecture errors.
2788 * testsuite/gas/sparc/mism-2.s: New file.
2790 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2792 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
2793 empty string to mark the end of the array.
2794 (hpriv_reg_table): Likewise.
2795 (v9a_asr_table): Likewise.
2796 (cmp_reg_entry): Handle entries with NULL names.
2798 (F_POP_PCREL): Likewise.
2799 (F_POP_TLS_CALL): Likewise.
2800 (F_POP_POSTFIX): Likewise.
2801 (struct pop_entry): New type.
2802 (pop_table): New variable.
2803 (enum pop_entry_type): New type.
2804 (struct perc_entry): Likewise.
2805 (NUM_PERC_ENTRIES): Define.
2806 (perc_table): New variable.
2807 (cmp_perc_entry): New function.
2808 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
2810 (sparc_ip): Handle entries with NULL names in priv_reg_table,
2811 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
2814 2016-06-15 Nick Clifton <nickc@redhat.com>
2816 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
2818 * config/tc-mcore.c (md_assemble): Likewise.
2819 * config/tc-mn10200.c (md_assemble): Likewise.
2820 * config/tc-moxie.c (md_assemble): Likewise.
2821 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
2822 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
2823 exception targets. Add alpha, hppa, microblaze and rl78 to list
2825 (forward): Add microblaze to list of exceptions.
2826 (fwdexp): Add alpha to list of exceptions.
2827 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
2828 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
2829 (do_930509a): Alpha sort list of exception targets. Add h8300 and
2830 mn10200 to list of exceptions.
2831 (align2): Expect to fail for nds32.
2832 (cond): Add alpha and rl78 to list of exceptions.
2833 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
2834 * testsuite/gas/all/string.d: Skip for tic4x.
2835 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
2836 target does not support ELF.
2837 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
2838 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
2839 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
2840 tests for sh-pe and sh-rtemscoff targets.
2841 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
2843 (type): Run the noifunc version for alpha-freebsd and visium.
2844 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
2845 mn10200 or moxie targets.
2846 * testsuite/gas/ft32/insn.d: Update expected disassembly.
2847 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
2849 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
2850 mcore and rx targets.
2851 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
2853 (purge): Expect to fail on the ns32k and vax.
2854 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
2855 * testsuite/gas/nds32/ls.d: Likewise.
2856 * testsuite/gas/nds32/sys-reg.d: Likewise.
2857 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
2858 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
2859 * testsuite/gas/pe/section-align-3.d: Likewise.
2860 * testsuite/gas/pe/section-exclude.d: Likewise.
2861 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
2863 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
2864 for variations in whitespace.
2865 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
2867 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
2868 Installs a 32-bit value without generating warnings on 64-bit
2870 Use the new macro to replace the .word directives.
2872 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2874 * testsuite/gas/arc/add_s.d: New file.
2875 * testsuite/gas/arc/add_s.s: New file.
2877 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2879 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
2880 * testsuite/gas/arc/nps400-6.d: Likewise.
2882 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2884 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
2886 * testsuite/gas/arc/nps400-6.d: Likewise.
2888 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2890 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
2891 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
2892 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
2893 * testsuite/gas/arc/nps400-6.d: Likewise.
2895 2016-06-14 Nick Clifton <nickc@redhat.com>
2897 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
2900 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
2902 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
2903 JALR relocations on R6.
2904 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
2905 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
2906 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
2907 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
2908 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
2909 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
2911 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
2912 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
2914 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
2915 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
2917 * testsuite/gas/mips/mips.exp: Run the new tests.
2919 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
2921 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
2922 * doc/c-aarch64.texi: Document that vulcan is a valid processor
2925 2016-06-13 Nick Clifton <nickc@redhat.com>
2927 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
2928 that are not supported.
2930 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
2932 * config/tc-cr16.c (check_range): Likewise.
2933 * config/tc-nios2.c (nios2_check_overflow): Likewise.
2935 2016-06-08 Renlin Li <renlin.li@arm.com>
2937 * config/tc-aarch64.c (print_operands): Substitute size.
2938 (output_operand_error_record): Likewise.
2940 2016-06-07 Alan Modra <amodra@gmail.com>
2942 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
2943 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
2944 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
2945 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
2946 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
2947 add vle_opcodes twice.
2948 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
2950 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
2952 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
2953 (arm_ext_ras): Renamed from arm_ext_v8_2.
2954 (insns): Update for arm_ext_v8_2 renaming.
2955 (arm_extensions): Add "ras".
2956 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
2957 * testsuite/gas/arm/armv8-a+ras.d: New.
2958 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
2961 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2963 * itbl-parse.y (yyerror): Use modern argument declaration style.
2965 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2967 * config/tc-sh.c (parse_reg): Change type of mode argument to
2969 (get_operand): Adjust.
2970 (insert): Change type of how to bfd_reloc_code_real_type.
2971 (insert4): Likewise.
2972 * config/tc-sh64.c (shmedia_get_operand): Adjust.
2973 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
2975 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2977 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
2980 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
2983 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
2984 stbcx., sthcx., stwcx., stdcx.>: Add tests.
2985 * gas/testsuite/gas/ppc/e6500.d: Likewise.
2986 * gas/testsuite/gas/ppc/power8.s: Likewise.
2987 * gas/testsuite/gas/ppc/power8.d: Likewise.
2988 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
2990 * gas/testsuite/gas/ppc/power4.d: Likewise.
2992 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2995 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2996 * testsuite/gas/i386/x86-64-branch.d: Updated.
2997 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2998 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2999 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
3001 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3003 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
3004 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
3006 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3008 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
3009 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
3011 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
3013 * configure.tgt: Replace -uclibc with *.
3015 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
3017 * config/tc-arc.c (parse_opcode_flags): New function.
3018 (find_opcode_match): Move flag parsing code out to new function.
3019 Ignore operands marked IGNORE.
3020 (build_fake_opcode_hash_entry): New function.
3021 (find_special_case_long_opcode): New function.
3022 (find_special_case): Lookup long opcodes.
3023 * testsuite/gas/arc/nps400-7.d: New file.
3024 * testsuite/gas/arc/nps400-7.s: New file.
3026 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3028 * config/tc-ns32k.c: Remove definition of input_line_pointer.
3030 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3032 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
3033 sentinal with iteration to array size.
3035 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3037 * config/xtensa-relax.h: Move typedefs of enums to the enums
3040 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3042 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
3045 2016-06-01 Graham Markall <graham.markall@embecosm.com>
3047 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
3048 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
3049 * testsuite/gas/arc/nps-400-1.d: Likewise.
3051 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
3054 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
3055 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
3056 noavx512ifma and noavx512vbmi.
3057 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
3058 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
3060 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
3061 * testsuite/gas/i386/noavx512-1.l: New file.
3062 * testsuite/gas/i386/noavx512-1.s: Likewise.
3063 * testsuite/gas/i386/noavx512-2.l: Likewise.
3064 * testsuite/gas/i386/noavx512-2.s: Likewise.
3066 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3069 * config/tc-i386.c (cpu_arch): Add 687.
3070 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
3071 nosse4.1, nosse4.2, nosse4 and noavx2.
3072 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
3073 register. Check cpuregxmm instead of cpusse for XMM register.
3074 Check cpuregymm instead of cpuavx for YMM register. Check
3075 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
3076 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
3077 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
3078 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
3079 * testsuite/gas/i386/arch-10.d (as): Likewise.
3080 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
3081 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
3082 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
3084 * testsuite/gas/i386/no87-3.l: New file.
3085 * testsuite/gas/i386/no87-3.s: Likewise.
3086 * testsuite/gas/i386/noavx-3.l: Likewise.
3087 * testsuite/gas/i386/noavx-3.s: Likewise.
3088 * testsuite/gas/i386/noavx-4.d: Likewise.
3089 * testsuite/gas/i386/noavx-4.s: Likewise.
3090 * testsuite/gas/i386/nosse-4.l: Likewise.
3091 * testsuite/gas/i386/nosse-4.s: Likewise.
3092 * testsuite/gas/i386/nosse-5.d: Likewise.
3093 * testsuite/gas/i386/nosse-5.s: Likewise.
3095 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3098 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
3100 (match_template): Check Intel64/AMD64 ISA.
3102 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3105 * config/tc-i386.c (intel64): New.
3106 (cpu_flags_match): Set cpuamd64 and cpuintel64.
3107 (md_parse_option): Set intel64 instead of cpuamd64 and
3110 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3112 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
3115 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
3117 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
3118 * testsuite/gas/ppc/altivec3.s: Likewise.
3119 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
3120 * testsuite/gas/ppc/power9.s: Likewise.
3122 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
3124 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
3125 * testsuite/gas/i386/noavx-1.l: Likewise.
3126 * testsuite/gas/i386/nommx-1.l: Likewise.
3127 * testsuite/gas/i386/nosse-1.l: Likewise.
3128 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
3129 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
3130 * testsuite/gas/i386/noavx-1.s: Likewise.
3131 * testsuite/gas/i386/nommx-1.s: Likewise.
3132 * testsuite/gas/i386/nosse-1.s: Likewise.
3133 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
3135 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3137 * config/tc-metag.c (metag_handle_align): Make the type of noop
3140 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3142 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
3143 bfd_reloc_code_real_type.
3145 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3148 * config/tc-i386.c (cpu_flags_match): Require another match
3150 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
3151 x86-64-avx512vl-1 and x86-64-avx512vl-2.
3152 * testsuite/gas/i386/avx512vl-1.l: New file.
3153 * testsuite/gas/i386/avx512vl-1.s: Likewise.
3154 * testsuite/gas/i386/avx512vl-2.l: Likewise.
3155 * testsuite/gas/i386/avx512vl-2.s: Likewise.
3156 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
3157 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
3158 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
3159 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
3161 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3164 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
3165 * testsuite/gas/i386/x86-64-pr20141.d: New file.
3166 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
3168 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3170 * config/tc-i386.c (arch_entry): Remove negated.
3171 (noarch_entry): New struct.
3172 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
3174 (set_cpu_arch): Check cpu_noarch after cpu_arch.
3175 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
3177 (output_message): New function.
3178 (show_arch): Use it. Handle cpu_noarch.
3179 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
3180 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
3181 * testsuite/gas/i386/noavx-1.l: New file.
3182 * testsuite/gas/i386/noavx-1.s: Likewise.
3183 * testsuite/gas/i386/noavx-2.s: Likewise.
3184 * testsuite/gas/i386/noavx-2.l: Likewise.
3185 * testsuite/gas/i386/nommx-1.s: Likewise.
3186 * testsuite/gas/i386/nommx-1.l: Likewise.
3187 * testsuite/gas/i386/nommx-2.s: Likewise.
3188 * testsuite/gas/i386/nommx-2.l: Likewise.
3189 * testsuite/gas/i386/nommx-3.s: Likewise.
3190 * testsuite/gas/i386/nommx-3.l: Likewise.
3191 * testsuite/gas/i386/nosse-1.s: Likewise.
3192 * testsuite/gas/i386/nosse-1.l: Likewise.
3193 * testsuite/gas/i386/nosse-2.s: Likewise.
3194 * testsuite/gas/i386/nosse-2.l: Likewise.
3195 * testsuite/gas/i386/nosse-3.s: Likewise.
3196 * testsuite/gas/i386/nosse-3.l: Likewise.
3198 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
3201 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
3202 instruction if supported by the currently selected fpu variant.
3203 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
3204 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
3206 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3208 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
3209 jump relocations against MIPS16 or microMIPS symbols on RELA
3211 * testsuite/gas/mips/jalx-local.d: New test.
3212 * testsuite/gas/mips/jalx-local-n32.d: New test.
3213 * testsuite/gas/mips/jalx-local-n64.d: New test.
3214 * testsuite/gas/mips/jalx-local.s: New test source.
3215 * testsuite/gas/mips/mips.exp: Run the new tests.
3217 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3219 * config/tc-mips.c (md_apply_fix)
3220 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
3223 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3225 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
3226 operator to operatorT.
3227 (map_suffix_reloc_to_operator): Change return type to operatorT.
3229 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3231 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
3233 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3235 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
3236 handler_charp to const char *.
3238 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3240 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
3241 (ft32_target_format): Likewise.
3242 (TARGET_FORMAT): Adjust.
3244 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3246 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
3247 (ia64_frob_label): Likewise.
3249 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3251 * config/tc-cr16.c (check_range): Make type of retval op_err.
3252 * config/tc-crx.c: Likewise.
3254 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
3256 * config/tc-arc.c (md_begin): Add XY registers.
3257 (cpu_types): Code density is default off for ARC EM.
3259 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
3261 * config/tc-arc.c (attributes_t): Renamed attribute class to
3263 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
3265 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
3267 * configuse.tgt: Add entry for arm-phoenix.
3269 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3271 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
3273 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3275 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
3277 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3279 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
3280 (md_begin): Likewise.
3281 (encode_condition): Likewise.
3282 (encode_cc3): Likewise.
3283 (encode_cc2): Likewise.
3284 (encode_operand): Likewise.
3285 (tic54x_undefined_symbol): Likewise.
3287 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
3289 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
3291 * doc/c-mips.texi: Document p6600 -march option.
3293 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
3296 * config/tc-i386.c (md_apply_fix): Preserve addend for
3297 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
3298 * testsuite/gas/i386/addend.d: New file.
3299 * testsuite/gas/i386/addend.s: Likewise.
3300 * testsuite/gas/i386/x86-64-addend.d: Likewise.
3301 * testsuite/gas/i386/x86-64-addend.s: Likewise.
3302 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
3303 * testsuite/gas/i386/reloc32.d: Updated.
3305 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3307 * config/tc-mips.c (append_insn): Correct the encoding of a
3308 constant argument for microMIPS JALX.
3309 (tc_gen_reloc): Correct the encoding of an in-place addend for
3311 * testsuite/gas/mips/jalx-addend.d: New test.
3312 * testsuite/gas/mips/jalx-addend-n32.d: New test.
3313 * testsuite/gas/mips/jalx-addend-n64.d: New test.
3314 * testsuite/gas/mips/jalx-imm.d: New test.
3315 * testsuite/gas/mips/jalx-imm-n32.d: New test.
3316 * testsuite/gas/mips/jalx-imm-n64.d: New test.
3317 * testsuite/gas/mips/jalx-addend.s: New test source.
3318 * testsuite/gas/mips/jalx-imm.s: New test source.
3319 * testsuite/gas/mips/mips.exp: Run the new tests.
3321 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3323 * config/tc-mips.c: Correct tab-after-space formatting mistakes
3326 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3328 * config/tc-arc.c (find_opcode_match): Remove casting away of
3330 * config/tc-arc.h (struct arc_flags): Make flgp field const.
3332 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3334 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
3336 (md_convert_frag): Likewise.
3338 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3340 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
3341 cached opcode to NULL when we reach a non-matching opcode.
3342 * testsuite/gas/arc/asm-errors-2.d: New file.
3343 * testsuite/gas/arc/asm-errors-2.err: New file.
3344 * testsuite/gas/arc/asm-errors-2.s: New file.
3346 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3348 * config/tc-arc.c (tokenize_arguments): Add checks for array
3350 * testsuite/gas/arc/asm-errors.s: Addition test line added.
3351 * testsuite/gas/arc/asm-errors.err: Update expected results.
3353 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3355 * config/tc-rx.c (struct cpu_type): Change the type of a field from
3356 int to enum rx_cpu_types.
3358 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3360 * config/tc-dlx.c (struct machine_it): change the type of a field from
3361 int to bfd_reloc_code_real_type.
3362 * config/tc-tic4x.c: Likewise.
3364 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3366 * config/tc-v850.c (v850_target_arch): change type to enum
3368 * config/tc-v850.h (v850_target_arch): Likewise.
3370 2016-05-18 Alan Modra <amodra@gmail.com>
3372 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
3373 allowed negative range.
3374 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
3375 * testsuite/gas/ppc/power9.d: Update.
3377 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
3379 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
3380 disassembling and stop skipping targets.
3381 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3382 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3383 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
3384 instruction for targets that have stronger alignment requirement.
3385 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3386 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3387 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3388 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3389 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3390 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3391 * testsuite/gas/arm/archv8m-main.d: Likewise.
3392 * testsuite/gas/arm/archv8m.s: Add label.
3393 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
3394 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3395 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
3397 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3399 * config/tc-m32r.c (mach_table): Make static and const.
3401 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3403 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
3406 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3408 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
3410 * config/tc-msp430.c (md_begin): Likewise.
3412 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3414 * config/tc-m68hc11.c (fixup8): Change variables type from int to
3415 bfd_reloc_code_real_type where appropriate.
3416 (fixup16): Likewise.
3417 (fixup8_xg): Likewise.
3419 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
3421 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
3423 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
3425 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
3426 * testsuite/gas/ppc/power9.s: Likewise.
3428 2016-05-13 Alan Modra <amodra@gmail.com>
3430 * config/obj-coff.c (weak_uniquify): Delete unused var.
3432 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3434 * app.c (app_push): Use XNEW and related macros.
3435 * as.c (parse_args): Likewise.
3436 * cgen.c (make_right_shifted_expr): Likewise.
3437 (gas_cgen_tc_gen_reloc): Likewise.
3438 * config/bfin-defs.h: Likewise.
3439 * config/bfin-parse.y: Likewise.
3440 * config/obj-coff.c (stack_init): Likewise.
3441 (stack_push): Likewise.
3442 (coff_obj_symbol_new_hook): Likewise.
3443 (coff_obj_symbol_clone_hook): Likewise.
3444 (add_lineno): Likewise.
3445 (coff_frob_symbol): Likewise.
3446 * config/obj-elf.c (obj_elf_section_name): Likewise.
3447 (build_group_lists): Likewise.
3448 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
3449 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
3450 * config/tc-aarch64.c (insert_reg_alias): Likewise.
3451 (find_or_make_literal_pool): Likewise.
3452 (add_to_lit_pool): Likewise.
3453 (fill_instruction_hash_table): Likewise.
3454 * config/tc-alpha.c (load_expression): Likewise.
3455 (emit_jsrjmp): Likewise.
3456 (s_alpha_ent): Likewise.
3457 (s_alpha_end): Likewise.
3458 (s_alpha_linkage): Likewise.
3459 (md_begin): Likewise.
3460 (tc_gen_reloc): Likewise.
3461 * config/tc-arc.c (arc_insert_opcode): Likewise.
3462 (arc_extcorereg): Likewise.
3463 * config/tc-bfin.c: Likewise.
3464 * config/tc-cr16.c: Likewise.
3465 * config/tc-cris.c: Likewise.
3466 * config/tc-crx.c (preprocess_reglist): Likewise.
3467 * config/tc-d10v.c: Likewise.
3468 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
3469 (frv_tomcat_shuffle): Likewise.
3470 * config/tc-h8300.c: Likewise.
3471 * config/tc-i370.c (i370_macro): Likewise.
3472 * config/tc-i386.c (lex_got): Likewise.
3473 (md_parse_option): Likewise.
3474 * config/tc-ia64.c (alloc_record): Likewise.
3475 (set_imask): Likewise.
3476 (save_prologue_count): Likewise.
3477 (dot_proc): Likewise.
3478 (dot_endp): Likewise.
3479 (ia64_frob_label): Likewise.
3480 (add_qp_imply): Likewise.
3481 (add_qp_mutex): Likewise.
3482 (mark_resource): Likewise.
3483 (dot_alias): Likewise.
3484 * config/tc-m68hc11.c: Likewise.
3485 * config/tc-m68k.c (m68k_frob_label): Likewise.
3487 (mri_control_label): Likewise.
3488 (push_mri_control): Likewise.
3489 (build_mri_control_operand): Likewise.
3490 (s_mri_else): Likewise.
3491 (s_mri_break): Likewise.
3492 (s_mri_next): Likewise.
3493 (s_mri_for): Likewise.
3494 (s_mri_endw): Likewise.
3495 * config/tc-metag.c (create_mnemonic_htab): Likewise.
3496 * config/tc-microblaze.c: Likewise.
3497 * config/tc-mmix.c (s_loc): Likewise.
3498 * config/tc-nds32.c (nds32_relax_hint): Likewise.
3499 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
3500 * config/tc-rl78.c: Likewise.
3501 * config/tc-rx.c (rx_include): Likewise.
3502 * config/tc-sh.c: Likewise.
3503 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
3504 * config/tc-sparc.c: Likewise.
3505 * config/tc-spu.c: Likewise.
3506 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
3507 (tic6x_start_unwind_section): Likewise.
3508 * config/tc-tilegx.c: Likewise.
3509 * config/tc-tilepro.c: Likewise.
3510 * config/tc-v850.c: Likewise.
3511 * config/tc-visium.c: Likewise.
3512 * config/tc-xgate.c: Likewise.
3513 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
3514 (new_resource_table): Likewise.
3515 (resize_resource_table): Likewise.
3516 (xtensa_create_trampoline_frag): Likewise.
3517 (xtensa_maybe_create_literal_pool_frag): Likewise.
3518 (cache_literal_section): Likewise.
3519 * config/xtensa-relax.c (append_transition): Likewise.
3520 (append_condition): Likewise.
3521 (append_value_condition): Likewise.
3522 (append_constant_value_condition): Likewise.
3523 (append_literal_op): Likewise.
3524 (append_label_op): Likewise.
3525 (append_constant_op): Likewise.
3526 (append_field_op): Likewise.
3527 (append_user_fn_field_op): Likewise.
3528 (enter_opname_n): Likewise.
3529 (enter_opname): Likewise.
3530 (split_string): Likewise.
3531 (parse_insn_templ): Likewise.
3532 (clone_req_or_option_list): Likewise.
3533 (clone_req_option_list): Likewise.
3534 (parse_option_cond): Likewise.
3535 (parse_insn_pattern): Likewise.
3536 (parse_insn_repl): Likewise.
3537 (build_transition): Likewise.
3538 (build_transition_table): Likewise.
3539 * dw2gencfi.c (alloc_fde_entry): Likewise.
3540 (alloc_cfi_insn_data): Likewise.
3541 (cfi_add_CFA_remember_state): Likewise.
3542 (dot_cfi_escape): Likewise.
3543 (dot_cfi_fde_data): Likewise.
3544 (select_cie_for_fde): Likewise.
3545 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
3546 * ecoff.c (ecoff_add_bytes): Likewise.
3547 (ecoff_build_debug): Likewise.
3548 * input-scrub.c (input_scrub_push): Likewise.
3549 (input_scrub_begin): Likewise.
3550 (input_scrub_next_buffer): Likewise.
3551 * itbl-ops.c (append_insns_as_macros): Likewise.
3552 (alloc_entry): Likewise.
3553 (alloc_field): Likewise.
3554 * listing.c (listing_newline): Likewise.
3555 (listing_listing): Likewise.
3556 * macro.c (get_any_string): Likewise.
3557 (delete_macro): Likewise.
3558 * stabs.c (generate_asm_file): Likewise.
3559 (stabs_generate_asm_lineno): Likewise.
3560 * subsegs.c (subseg_change): Likewise.
3561 (subseg_get): Likewise.
3562 * symbols.c (define_dollar_label): Likewise.
3563 (symbol_relc_make_sym): Likewise.
3564 * write.c (write_relocs): Likewise.
3566 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3568 * config/obj-coff.c (obj_coff_def): Simplify string copying.
3569 (weak_name2altname): Likewise.
3570 (weak_uniquify): Likewise.
3571 (obj_coff_section): Likewise.
3572 (obj_coff_init_stab_section): Likewise.
3573 * config/obj-elf.c (obj_elf_section_name): Likewise.
3574 (obj_elf_init_stab_section): Likewise.
3575 * config/obj-evax.c (evax_shorten_name): Likewise.
3576 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
3577 * config/tc-aarch64.c (create_register_alias): Likewise.
3578 * config/tc-alpha.c (load_expression): Likewise.
3579 (s_alpha_file): Likewise.
3580 (s_alpha_section_name): Likewise.
3581 (tc_gen_reloc): Likewise.
3582 * config/tc-arc.c (md_assemble): Likewise.
3583 * config/tc-arm.c (create_neon_reg_alias): Likewise.
3584 (start_unwind_section): Likewise.
3585 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
3586 (hppa_elf_mark_end_of_function): Likewise.
3587 * config/tc-nios2.c (nios2_modify_arg): Likewise.
3588 (nios2_negate_arg): Likewise.
3589 * config/tc-rx.c (rx_section): Likewise.
3590 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
3591 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3592 * config/tc-tic54x.c (tic54x_include): Likewise.
3593 (tic54x_macro_info): Likewise.
3594 (subsym_get_arg): Likewise.
3595 (subsym_substitute): Likewise.
3596 (tic54x_start_line_hook): Likewise.
3597 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
3598 (xg_reverse_shift_count): Likewise.
3599 * config/xtensa-relax.c (enter_opname_n): Likewise.
3600 (split_string): Likewise.
3601 * dwarf2dbg.c (get_filenum): Likewise.
3602 (process_entries): Likewise.
3603 * expr.c (operand): Likewise.
3604 * itbl-ops.c (alloc_entry): Likewise.
3605 * listing.c (listing_message): Likewise.
3606 (listing_title): Likewise.
3607 * macro.c (check_macro): Likewise.
3608 * stabs.c (s_xstab): Likewise.
3609 * symbols.c (symbol_relc_make_expr): Likewise.
3610 * write.c (compress_debug): Likewise.
3612 2016-05-12 Nick Clifton <nickc@redhat.com>
3615 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
3617 2016-05-11 Nick Clifton <nickc@redhat.com>
3620 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
3621 big endian ARM configurations.
3623 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
3624 Matthew Fortune <matthew.fortune@imgtec.com>
3626 * config/tc-mips.c (options): Add OPTION_DSPR3 and
3628 (md_longopts): Likewise.
3629 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
3630 (mips_ases): Define availability for DSPr3.
3631 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
3632 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
3633 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
3635 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
3636 .set nodspr3. Fix -mdspr2 formatting.
3637 * testsuite/gas/mips/mips32-dspr3.d: New file.
3638 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
3639 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
3641 2016-05-11 Nick Clifton <nickc@redhat.com>
3644 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
3645 to the pool uses O_constant.
3646 * testsuite/gas/arm/pr20068.s: New test.
3647 * testsuite/gas/arm/pr20068.d: Test driver.
3649 2016-05-11 Nick Clifton <nickc@redhat.com>
3651 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
3652 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3653 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3654 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3655 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3656 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3657 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3658 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3659 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3661 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3663 * testsuite/gas/i386/i386.exp: Run RDPID tests.
3664 * testsuite/gas/i386/prefix.d: Adjust.
3665 * testsuite/gas/i386/rdpid.s: New test.
3666 * testsuite/gas/i386/rdpid.d: Ditto.
3667 * testsuite/gas/i386/rdpid-intel.d: Ditto.
3668 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
3669 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
3670 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
3672 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3674 * config/tc-i386.c (cpu_arch): Add RDPID.
3675 * doc/c-i386.texi: Document RDPID.
3677 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3679 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
3680 set branch type of a symbol.
3682 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3684 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
3685 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
3687 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
3688 (aeabi_set_public_attributes): Memorize the feature bits of the
3689 architecture selected for Tag_CPU_arch. Use it to set
3690 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
3691 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
3692 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
3693 * testsuite/gas/arm/arch7em-bad-1.d: This.
3694 * testsuite/gas/arm/arch7em-bad-2.d: New file.
3695 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
3696 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3697 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3698 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3699 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3700 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
3701 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
3703 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3705 * config/tc-arm.c (struct arm_option_extension_value_table): Make
3706 allowed_archs an array with 2 entries.
3707 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
3708 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
3709 (arm_extensions): Use separate entries in allowed_archs when several
3710 archs are allowed to use an extension and change ARCH_ANY in
3711 ARM_ARCH_NONE in allowed_archs.
3712 (arm_parse_extension): Check that, for each allowed_archs entry, all
3713 bits are set in the current architecture, ignoring ARM_ANY entries.
3714 (s_arm_arch_extension): Likewise.
3716 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3718 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
3719 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
3720 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
3721 shared with a non M profile architecture.
3722 (do_rn): New function.
3723 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
3725 (v7m_psrs): Add ARMv8-M security extensions new special registers.
3726 (insns): Add ARMv8-M Security Extensions instructions.
3727 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
3728 arm_ext_v8m_m to decide the profile and the Thumb ISA.
3729 * testsuite/gas/arm/archv8m-cmse.s: New file.
3730 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
3731 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3732 * testsuite/gas/arm/any-cmse.d: Likewise.
3733 * testsuite/gas/arm/any-cmse-main.d: Likewise.
3734 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3735 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3736 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3737 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3738 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3740 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3742 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
3743 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
3745 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3747 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
3748 (fpu_arch_vfp_v3): Likewise.
3749 (fpu_arch_neon_v1): Likewise.
3750 (arm_arch_full): Likewise.
3751 (parse_neon_el_struct_list): Initialize fields of firsttype.
3753 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
3755 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
3756 (arc_extinsn): Handle new introduced syntax.
3757 * testsuite/gas/arc/textinsn1op.d: New file.
3758 * testsuite/gas/arc/textinsn1op.s: Likewise.
3759 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
3761 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3763 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
3764 DW_LNS_fixed_advance_pc.
3766 2016-04-27 Alan Modra <amodra@gmail.com>
3768 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
3769 (xmemdup0): New inline function.
3771 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
3773 * config/tc-mips.c (code_option_type): New enum.
3774 (parse_code_option): Return status indicating option type.
3775 (s_mipsset): Update `parse_code_option' call site accordingly.
3776 Always set register sizes from the ISA with ISA overrides.
3777 (s_module): Update `parse_code_option' call site.
3778 * testsuite/gas/mips/isa-override-1.d: New test.
3779 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
3780 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
3781 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
3782 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
3783 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
3784 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
3785 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
3786 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
3787 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
3788 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
3789 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
3790 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
3791 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
3792 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
3793 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
3794 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
3795 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
3796 * testsuite/gas/mips/isa-override-2.l: New list test.
3797 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
3798 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
3799 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
3800 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
3801 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
3802 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
3803 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
3804 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
3805 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
3806 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
3807 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
3809 * testsuite/gas/mips/isa-override-1.s: New test source.
3810 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
3811 * testsuite/gas/mips/isa-override-2.s: New test source.
3812 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
3813 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
3814 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
3815 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
3816 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
3817 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
3818 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
3819 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
3820 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
3821 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
3822 * testsuite/gas/mips/mips.exp: Run the new tests.
3824 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3827 * config/tc-bfin.c: Likewise.
3828 * config/tc-ia64.c: Likewise.
3829 * config/tc-mep.c: Likewise.
3830 * config/tc-metag.c: Likewise.
3831 * config/tc-nios2.c: Likewise.
3832 * config/tc-rl78.c: Likewise.
3834 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
3836 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
3837 -mcpu. Add cross reference to .cpu directive from -mcpu option.
3838 (ARC Directives): Add NPS400 to .cpu directive list.
3840 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
3842 * config/tc-aarch64.c (aarch64_features): Add "ras".
3843 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
3844 * testsuite/gas/aarch64/armv8-ras-1.d: New.
3845 * testsuite/gas/aarch64/armv8-ras-1.s: New.
3846 * testsuite/gas/aarch64/illegal-ras-1.d: New.
3847 * testsuite/gas/aarch64/illegal-ras-1.s: New.
3849 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3851 * testsuite/gas/arc/nps400-6.d: New file.
3852 * testsuite/gas/arc/nps400-6.s: New file.
3854 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3856 * testsuite/gas/arc/nps400-4.d: New file.
3857 * testsuite/gas/arc/nps400-4.s: New file.
3858 * testsuite/gas/arc/nps400-5.d: New file.
3859 * testsuite/gas/arc/nps400-5.s: New file.
3861 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
3863 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
3866 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
3868 Revert prevous change.
3869 * config/tc-arc.c (arc_option): Make .cpu directive
3870 case-sensitive again.
3872 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3874 * config/tc-arc.c (arc_option): Make .cpu directive
3877 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3879 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
3881 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3883 * config/tc-mips.c (md_begin): Remove useless assignment.
3885 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3887 * Makefile.in: Regenerated with automake 1.11.6.
3888 * aclocal.m4: Likewise.
3889 * doc/Makefile.in: Likewise.
3891 2016-04-15 Alan Modra <amodra@gmail.com>
3893 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
3895 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3897 * config/tc-nios2.c (nios2_as_options): Make file static.
3898 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
3899 * config/tc-sparc.c (native_op_table): Likewise.
3901 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3903 * config/tc-m32c.c (M32C_Macros): Remove.
3904 * config/tc-msp430.c (option_numbers): Likewise.
3906 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3908 * testsuite/gas/arc/nps400-3.d: New file.
3909 * testsuite/gas/arc/nps400-3.s: New file.
3911 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3913 * testsuite/gas/arc/add_s-err.s: Update target pattern.
3914 * testsuite/gas/arc/warn.s: Likewise.
3915 * testsuite/gas/elf/elf.exp: Run test for arc.
3917 2016-04-14 Nick Clifton <nickc@redhat.com>
3920 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
3921 sections possibly having the SHF_STRINGS flag bit set.
3922 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
3924 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3926 * config/tc-arc.c (mach_type_specified_p): Change type to
3928 (arc_option): Set private flags when parsing cpu pseudo-op.
3929 (md_parse_option): Set mach_type_specified_p to TRUE.
3931 2016-04-13 Nick Clifton <nickc@redhat.com>
3934 * testsuite/gas/v850/pr19937.s: New test.
3935 * testsuite/gas/v850/pr19937.d: New test control file.
3936 * testsuite/gas/v850/basic.exp: Run the new test.
3938 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3939 Andrew Bennett <andrew.bennett@imgtec.com>
3941 * config/tc-mips.c (relaxed_branch_length): Use the long
3942 sequence where the target is a weak symbol.
3943 (relaxed_micromips_32bit_branch_length): Likewise.
3944 (relaxed_micromips_16bit_branch_length): Likewise.
3945 * testsuite/gas/mips/branch-weak-1.d: New test.
3946 * testsuite/gas/mips/branch-weak-2.d: New test.
3947 * testsuite/gas/mips/branch-weak-3.d: New test.
3948 * testsuite/gas/mips/branch-weak-4.d: New test.
3949 * testsuite/gas/mips/branch-weak-5.d: New test.
3950 * testsuite/gas/mips/branch-weak.l: New stderr output.
3951 * testsuite/gas/mips/branch-weak.s: New test source.
3952 * testsuite/gas/mips/mips.exp: Run the new tests.
3954 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3956 * config/tc-mips.c (relaxed_branch_length): Use the long
3957 sequence where the distance cannot be determined.
3958 (relaxed_micromips_32bit_branch_length): Likewise.
3959 * testsuite/gas/mips/branch-extern-1.d: New test.
3960 * testsuite/gas/mips/branch-extern-2.d: New test.
3961 * testsuite/gas/mips/branch-extern-3.d: New test.
3962 * testsuite/gas/mips/branch-extern-4.d: New test.
3963 * testsuite/gas/mips/branch-extern.l: New stderr output.
3964 * testsuite/gas/mips/branch-extern.s: New test source.
3965 * testsuite/gas/mips/branch-section-1.d: New test.
3966 * testsuite/gas/mips/branch-section-2.d: New test.
3967 * testsuite/gas/mips/branch-section-3.d: New test.
3968 * testsuite/gas/mips/branch-section-4.d: New test.
3969 * testsuite/gas/mips/branch-section.l: New stderr output.
3970 * testsuite/gas/mips/branch-section.s: New test source.
3971 * testsuite/gas/mips/mips.exp: Run the new tests.
3973 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3975 * testsuite/gas/arc/textauxregister.d: New file.
3976 * testsuite/gas/arc/textauxregister.s: Likewise.
3977 * testsuite/gas/arc/textcondcode.d: Likewise.
3978 * testsuite/gas/arc/textcondcode.s: Likewise.
3979 * testsuite/gas/arc/textcoreregister.d: Likewise.
3980 * testsuite/gas/arc/textcoreregister.s: Likewise.
3981 * testsuite/gas/arc/textpseudoop.d: Likewise.
3982 * testsuite/gas/arc/textpseudoop.s: Likewise.
3983 * testsuite/gas/arc/ld2.d: Update test.
3984 * testsuite/gas/arc/st.d: Likewise.
3985 * testsuite/gas/arc/taux.d: Likewise.
3986 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
3987 .extCoreRegister and .extAuxRegister documentation.
3988 * config/tc-arc.c (arc_extcorereg): New function.
3989 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
3990 .extAuxRegister pseudo-ops.
3991 (extRegister_t): New type.
3992 (ext_condcode, arc_aux_hash): New global variable.
3993 (find_opcode_match): Check for extensions.
3994 (preprocess_operands): Likewise.
3995 (md_begin): Add aux registers in a hash.
3996 (assemble_insn): Update use arc_flags member.
3997 (tokenize_extregister): New function.
3998 (create_extcore_section): Likewise.
3999 * config/tc-arc.h (arc_flags): Delete code, add flgp.
4001 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
4003 * testsuite/gas/arc/noargs_a7.d: New file.
4004 * testsuite/gas/arc/noargs_a7.s: Likewise.
4005 * testsuite/gas/arc/noargs_hs.d: Likewise.
4006 * testsuite/gas/arc/noargs_hs.s: Likewise.
4008 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
4010 * testsuite/gas/arc/textinsn-errors.d: New File.
4011 * testsuite/gas/arc/textinsn-errors.err: Likewise.
4012 * testsuite/gas/arc/textinsn-errors.s: Likewise.
4013 * testsuite/gas/arc/textinsn2op.d: Likewise.
4014 * testsuite/gas/arc/textinsn2op.s: Likewise.
4015 * testsuite/gas/arc/textinsn2op01.d: Likewise.
4016 * testsuite/gas/arc/textinsn2op01.s: Likewise.
4017 * testsuite/gas/arc/textinsn3op.d: Likewise.
4018 * testsuite/gas/arc/textinsn3op.s: Likewise.
4019 * doc/c-arc.texi (ARC Directives): Add .extInstruction
4021 * config/tc-arc.c (arcext_section): New variable.
4022 (arc_extinsn): New function.
4023 (md_pseudo_table): Add .extInstruction pseudo op.
4024 (attributes_t): New type.
4025 (suffixclass, syntaxclass, syntaxclassmod): New constant
4027 (find_opcode_match): Remove arc_num_opcodes.
4028 (md_begin): Likewise.
4029 (tokenize_extinsn): New function.
4030 (arc_set_ext_seg): Likewise.
4031 (create_extinst_section): Likewise.
4033 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
4035 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
4036 (arc_adjust_symtab): New function.
4037 * config/tc-arc.h (ARC_FLAG_AUX): Define.
4038 (obj_adjust_symtab): Likewise.
4039 * testsuite/gas/arc/taux.d: New file.
4040 * testsuite/gas/arc/taux.s: Likewise.
4042 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
4044 * config/tc-mips.c (s_option): Sanitize `.option picX'
4046 * testsuite/gas/mips/option-pic-1.d: New test.
4047 * testsuite/gas/mips/option-pic-2.l: New list test.
4048 * testsuite/gas/mips/option-pic-1.s: New test source.
4049 * testsuite/gas/mips/option-pic-2.s: New test source.
4050 * testsuite/gas/mips/mips.exp: Run the new tests.
4052 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
4054 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
4056 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
4057 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
4058 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
4059 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
4060 * testsuite/gas/mips/mips.exp: Run the new tests.
4062 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
4064 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
4066 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
4068 * messages.c (as_bad): Fix a typo in description.
4070 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
4072 * config/tc-mips.c (mips_check_options): Unify messages.
4074 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
4076 * config/tc-mips.c (mips_check_options): Use `opts->isa'
4079 2016-04-08 Nick Clifton <nickc@redhat.com>
4082 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
4083 COFF and AOUT sparc targets.
4085 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4087 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
4088 * testsuite/gas/arc/nps400-2.d: New file.
4089 * testsuite/gas/arc/nps400-2.s: New file.
4091 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4093 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
4095 (arc_opcode_hash_entry_iterator_init): New function.
4096 (arc_opcode_hash_entry_iterator_next): New function.
4097 (find_opcode_match): Iterate over all arc_opcode entries
4098 referenced by the arc_opcode_hash_entry passed in as a parameter.
4100 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4102 * config/tc-arc.c (arc_find_opcode): Now returns
4103 arc_opcode_hash_entry pointer.
4104 (find_opcode_match): Update argument type, extract arc_opcode from
4105 incoming arc_opcode_hash_entry.
4106 (find_special_case_pseudo): Update return type.
4107 (find_special_case_flag): Update return type.
4108 (find_special_case): Update return type.
4109 (assemble_tokens): Lookup arc_opcode_hash_entry based on
4110 instruction mnemonic, then use find_opcode_match to identify
4111 specific arc_opcode.
4113 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4115 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
4116 (arc_find_opcode): New function.
4117 (find_special_case_pseudo): Use arc_find_opcode.
4118 (find_special_case_flag): Likewise.
4119 (assemble_tokens): Likewise.
4120 (md_begin): Build hash using struct arc_opcode_hash_entry.
4122 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
4124 * config/tc-arc.c (arc_option): Prepare string for automatic
4126 (declare_register): Likewise.
4128 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
4130 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
4131 Correct entry for RDMA. Alpha sort entries.
4133 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4135 * config/tc-arc.c (tokenize_flags): Allow greater range of
4136 characters into flag names.
4138 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4140 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
4142 (preprocess_operands): Delete.
4143 (assemble_tokens): Remove call to preprocess_operands.
4145 2016-04-07 Nick Clifton <nickc@redhat.com>
4148 * config/tc-sparc.c (sparc_ip): Report an error if the expression
4149 inside a %-macro could not be fully parsed.
4150 * expr.c (integer_constant): Accept and ignore U suffixes to
4152 (operand): When a missing closing parenthesis is encountered,
4153 report the character that was found instead.
4154 * testsuite/gas/mips/tls-ill.l: Update expected error message.
4155 * testsuite/gas/sparc/pr19910-1.d: New test driver.
4156 * testsuite/gas/sparc/pr19910-1.s: New test.
4157 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
4158 * testsuite/gas/sparc/pr19910-2.s: New test.
4159 * testsuite/gas/sparc/sparc.exp: Run the new tests.
4161 2016-04-06 Nick Clifton <nickc@redhat.com>
4163 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
4164 an EINT instruction. Warn/fix as necessary.
4165 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
4166 * testsuite/gas/msp430/bad.l: Update expected messages.
4168 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
4170 * testsuite/gas/arc/nps400-1.d: Update expected results.
4171 * testsuite/gas/arc/nps400-1.s: Additional test cases.
4173 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
4175 * config/tc-arc.c (is_code_density_p): Compare directly the
4177 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
4178 (check_cpu_feature): New function.
4179 (find_opcode_match): Use check_cpu_feature function.
4180 (preprocess_operands): Likewise.
4181 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
4182 * testsuite/gas/arc/tdpfp.d: New file.
4183 * testsuite/gas/arc/tfpuda.d: Likewise.
4184 * testsuite/gas/arc/tfpx.s: Likewise.
4186 2016-04-05 Jiong Wang <jiong.wang@arm.com>
4188 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
4189 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
4190 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
4191 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
4192 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
4193 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
4194 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
4195 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
4197 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
4199 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
4201 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
4202 JUMP instructions type.
4203 * testsuite/gas/arc/relocs-errors.d: New file.
4204 * testsuite/gas/arc/relocs-errors.err: Likewise.
4205 * testsuite/gas/arc/relocs-errors.s: Likewise.
4207 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4210 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
4211 only if i.disp_encoding != disp_encoding_32bit.
4212 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
4213 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
4214 * gas/testsuite/gas/i386/disp32.d: Updated.
4215 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
4217 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4220 * testsuite/gas/i386/i386.exp: Run pr19498.
4221 * testsuite/gas/i386/pr19498.d: New file.
4222 * testsuite/gas/i386/pr19498.s: Likewise.
4224 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
4226 * config/tc-arc.h: Include 'opcode/arc.h'.
4227 (MAX_INSN_ARGS): Delete.
4228 (MAX_INSN_FLGS): Delete.
4230 2016-04-04 Alan Modra <amodra@gmail.com>
4233 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
4234 from function on all paths that set sy_resolving.
4236 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4238 * app.c (app_push): use XNEW macro.
4240 * config/obj-elf.c (obj_elf_change_section): Likewise.
4241 (elf_copy_symbol_attributes): Likewise.
4242 (obj_elf_size): Likewise.
4243 (build_group_lists): Likewise.
4244 * config/tc-aarch64.c (add_operand_error_record): Likewise.
4245 (md_assemble): Likewise.
4246 (tc_gen_reloc): Likewise.
4247 (get_upper_str): Likewise.
4248 (aarch64_parse_features): Likewise.
4249 * config/tc-arm.c (insert_reg_alias): Likewise.
4250 (insert_neon_reg_alias): Likewise.
4251 (find_or_make_literal_pool): Likewise.
4252 (s_arm_elf_cons): Likewise.
4253 (add_unwind_opcode): Likewise.
4254 (arm_parse_extension): Likewise.
4255 * config/tc-avr.c (create_record_for_frag): Likewise.
4256 * config/tc-crx.c: Likewise.
4257 * config/tc-d30v.c: Likewise.
4258 * config/tc-dlx.c (s_proc): Likewise.
4259 * config/tc-ft32.c: Likewise.
4260 * config/tc-h8300.c: Likewise.
4261 * config/tc-hppa.c (pa_proc): Likewise.
4262 (create_new_space): Likewise.
4263 (create_new_subspace): Likewise.
4264 * config/tc-i860.c: Likewise.
4265 * config/tc-i960.c: Likewise.
4266 * config/tc-ia64.c: Likewise.
4267 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
4268 (iq2000_record_hi16): Likewise.
4269 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
4270 * config/tc-m32r.c (debug_sym): Likewise.
4271 (m32r_record_hi16): Likewise.
4272 * config/tc-m68k.c (m68k_ip): Likewise.
4273 (md_begin): Likewise.
4274 * config/tc-mcore.c: Likewise.
4275 * config/tc-microblaze.c (check_got): Likewise.
4276 * config/tc-mips.c (append_insn): Likewise.
4277 (s_mipsset): Likewise.
4278 (mips_record_label): Likewise.
4279 (s_mips_end): Likewise.
4280 * config/tc-mmix.c (mmix_frob_file): Likewise.
4281 * config/tc-mn10200.c: Likewise.
4282 * config/tc-mn10300.c: Likewise.
4283 * config/tc-moxie.c: Likewise.
4284 * config/tc-msp430.c: Likewise.
4285 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
4286 * config/tc-ns32k.c: Likewise.
4287 * config/tc-or1k.c: Likewise.
4288 * config/tc-pdp11.c: Likewise.
4289 * config/tc-pj.c (fake_opcode): Likewise.
4290 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
4291 (ppc_macro): Likewise.
4292 (ppc_dwsect): Likewise.
4293 (ppc_machine): Likewise.
4294 * config/tc-rl78.c (rl78_frag_init): Likewise.
4295 * config/tc-rx.c (rx_frag_init): Likewise.
4296 * config/tc-s390.c (s390_lit_suffix): Likewise.
4297 (s390_machine): Likewise.
4298 (s390_machinemode): Likewise.
4299 * config/tc-score.c (s3_insert_reg): Likewise.
4300 (s3_gen_reloc): Likewise.
4301 * config/tc-score7.c (s7_insert_reg): Likewise.
4302 (s7_gen_reloc): Likewise.
4303 * config/tc-tic30.c (tic30_operand): Likewise.
4304 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
4305 * config/tc-tic54x.c (stag_add_field): Likewise.
4306 (tic54x_struct): Likewise.
4307 (tic54x_space): Likewise.
4308 (tic54x_field): Likewise.
4309 (tic54x_mlib): Likewise.
4310 (subsym_substitute): Likewise.
4311 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
4312 * config/tc-vax.c: Likewise.
4313 * config/tc-xc16x.c: Likewise.
4314 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
4315 (directive_push): Likewise.
4316 (xtensa_begin_directive): Likewise.
4317 (tokenize_arguments): Likewise.
4318 (xtensa_add_literal_sym): Likewise.
4319 (new_resource_table): Likewise.
4320 (resize_resource_table): Likewise.
4321 (emit_single_op): Likewise.
4322 (xtensa_create_trampoline_frag): Likewise.
4323 (xtensa_maybe_create_literal_pool_frag): Likewise.
4324 (xtensa_add_config_info): Likewise.
4325 (xtensa_realloc_fixup_cache): Likewise.
4326 (add_subseg_info): Likewise.
4327 (cache_literal_section): Likewise.
4328 (add_xt_block_frags): Likewise.
4329 (add_xt_prop_frags): Likewise.
4330 (init_op_placement_info_table): Likewise.
4331 (build_section_rename): Likewise.
4332 * config/tc-z80.c: Likewise.
4333 * config/tc-z8k.c: Likewise.
4334 * depend.c (register_dependency): Likewise.
4335 * dwarf2dbg.c (get_line_subseg): Likewise.
4336 (dwarf2_gen_line_info_1): Likewise.
4337 (get_filenum): Likewise.
4338 * ecoff.c (allocate_scope): Likewise.
4339 (allocate_vlinks): Likewise.
4340 (allocate_shash): Likewise.
4341 (allocate_thash): Likewise.
4342 (allocate_tag): Likewise.
4343 (allocate_forward): Likewise.
4344 (allocate_thead): Likewise.
4345 (allocate_lineno_list): Likewise.
4346 * expr.c (make_expr_symbol): Likewise.
4347 * hash.c (hash_new_sized): Likewise.
4348 * input-file.c (input_file_push): Likewise.
4349 * listing.c (file_info): Likewise.
4350 (listing_newline): Likewise.
4351 * macro.c (new_formal): Likewise.
4352 (define_macro): Likewise.
4353 * remap.c (add_debug_prefix_map): Likewise.
4354 * symbols.c (symbol_find_noref): Likewise.
4355 (define_dollar_label): Likewise.
4356 (fb_label_instance_inc): Likewise.
4357 (symbol_relc_make_value): Likewise.
4359 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4361 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
4362 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
4363 (ppc_znop): Likewise.
4364 (ppc_pe_section): Likewise.
4365 (ppc_frob_symbol): Likewise.
4366 * config/tc-tic30.c (tic30_operand): Likewise.
4367 * config/tc-tic4x.c (tic4x_sect): Likewise.
4368 (tic4x_usect): Likewise.
4370 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4372 * config/tc-alpha.c: Const qualify FLT_CHARS.
4373 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
4374 * config/tc-cris.h: Likewise.
4376 * config/tc-mmix.c (md_atof): Adjust comment.
4377 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
4378 * tc.h: Declare FLT_CHARS and EXP_CHARS.
4380 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4382 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
4383 * config/tc-score7.c (s7_gen_reloc): Likewise.
4385 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4387 * config/tc-arm.c (do_t_branch): Change the type of reloc to
4388 bfd_reloc_code_real_type.
4390 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4392 * config/bfin-parse.y (current_inputline): Remove definition.
4393 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
4395 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4397 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
4400 2016-04-02 Alan Modra <amodra@gmail.com>
4403 * read.c (assign_symbol): Consume rest of line after an error
4404 rather than continuing to process the line.
4406 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4408 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
4409 (MAX_FLAG_NAME_LENGTH): ...this.
4410 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
4411 * config/tc-arc.c (tokenize_flags): Likewise.
4413 2016-04-01 Alan Modra <amodra@gmail.com>
4415 * cgen.c (weak_operand_overflow_check): Return const char*.
4416 * messages.c (as_internal_value_out_of_range): Formatting.
4417 (as_warn_value_out_of_range): Consify prefix param.
4418 (as_bad_value_out_of_range): Likewise.
4419 * read.c (s_errwarn): Constify msg..
4420 (s_float_space, float_cons): ..and err.
4421 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
4422 ieee_md_atof, vax_md_atof): Update prototypes.
4423 * tc.h (md_atof): Update prototype.
4424 * config/atof-ieee.c (ieee_md_atof): Return const char*.
4425 * config/atof-vax.c (vax_md_atof): Likewise.
4426 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
4427 * config/tc-aarch64.c (md_atof): Return const char*.
4428 * config/tc-alpha.c (s_alpha_section_name): Likewise.
4429 (s_alpha_comm): Constify sec_name.
4430 (section_name): Constify.
4431 (s_alpha_section): Consify name..
4432 (alpha_elf_section_letter): ..and ptr_msg param..
4433 (md_atof): ..and return.
4434 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
4435 * config/tc-arc.c (md_atof): Return const char*.
4436 * config/tc-arm.c (md_atof): Likewise.
4437 * config/tc-avr.c (md_atof): Likewise.
4438 * config/tc-bfin.c (md_atof): Likewise.
4439 * config/tc-cr16.c (md_atof): Likewise.
4440 * config/tc-cris.c (md_atof): Likewise.
4441 * config/tc-crx.c (md_atof): Likewise.
4442 * config/tc-d10v.c (md_atof): Likewise.
4443 * config/tc-d30v.c (md_atof): Likewise.
4444 * config/tc-dlx.c (md_atof): Likewise.
4445 * config/tc-epiphany.c (md_atof): Likewise.
4446 * config/tc-fr30.c (md_atof): Likewise.
4447 * config/tc-frv.c (md_atof): Likewise.
4448 * config/tc-ft32.c (md_atof): Likewise.
4449 * config/tc-h8300.c (md_atof): Likewise.
4450 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
4451 (struct default_space_dict): Likewise.
4452 (create_new_space): Constify name param.
4453 (create_new_subspace): Likewise.
4454 (is_defined_space, is_defined_subspace): Likewise.
4455 (pa_parse_space_stmt): Constify space_name param.
4456 (md_atof): Return const char*.
4457 (pa_spaces_begin): Constify name.
4458 * config/tc-i370.c (md_atof): Return const char*.
4459 * config/tc-i386.c (md_atof): Likewise.
4460 (x86_64_section_letter): Constify ptr_msg param.
4461 * config/tc-i386.h (x86_64_section_letter): Update prototype.
4462 * config/tc-i860.c (struct i860_it): Constify error.
4463 (md_atof): Return const char*.
4464 * config/tc-i960.c (md_atof): Likewise.
4465 * config/tc-ia64.c (md_atof): Likewise.
4466 (ia64_elf_section_letter): Constify ptr_msg param.
4467 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
4468 * config/tc-ip2k.c (md_atof): Return const char*.
4469 * config/tc-iq2000.c (md_atof): Likewise.
4470 * config/tc-lm32.c (md_atof): Likewise.
4471 * config/tc-m32c.c (md_atof): Likewise.
4472 * config/tc-m32r.c (md_atof): Likewise.
4473 * config/tc-m68hc11.c (md_atof): Likewise.
4474 * config/tc-m68k.c (md_atof): Likewise.
4475 * config/tc-mcore.c (md_atof): Likewise.
4476 * config/tc-mep.c (md_atof): Likewise.
4477 (mep_elf_section_letter): Constify ptr_msg param.
4478 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
4479 * config/tc-metag.c (md_atof): Return const char*.
4480 * config/tc-microblaze.c (md_atof): Likewise.
4481 * config/tc-microblaze.h (md_atof): Delete prototype.
4482 * config/tc-mips.c (mips_parse_argument_token): Constify err.
4483 (md_atof): Return const char*.
4484 * config/tc-mmix.c (md_atof): Likewise.
4485 * config/tc-mn10200.c (md_atof): Likewise.
4486 * config/tc-mn10300.c (md_atof): Likewise.
4487 * config/tc-moxie.c (md_atof): Likewise.
4488 * config/tc-msp430.c (md_atof): Likewise.
4489 * config/tc-mt.c (md_atof): Likewise.
4490 * config/tc-nds32.c (md_atof): Likewise.
4491 * config/tc-nios2.c (md_atof): Likewise.
4492 (nios2_elf_section_letter): Constify ptr_msg param.
4493 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
4494 * config/tc-ns32k.c (md_atof): Return const char*.
4495 * config/tc-or1k.c (md_atof): Likewise.
4496 * config/tc-pdp11.c (struct pdp11_code): Constify error.
4497 (md_atof): Return const char*.
4498 * config/tc-pj.c (md_atof): Likewise.
4499 * config/tc-ppc.c (md_atof): Likewise.
4500 * config/tc-rl78.c (md_atof): Likewise.
4501 * config/tc-rx.c (md_atof): Likewise.
4502 * config/tc-s390.c (md_atof): Likewise.
4503 * config/tc-score.c (s3_atof, md_atof): Likewise.
4504 * config/tc-sh.c (md_atof): Likewise.
4505 * config/tc-sparc.c (struct sparc_it): Constify error.
4506 (md_atof): Return const char*.
4507 * config/tc-spu.c (md_atof): Likewise.
4508 * config/tc-tic30.c (md_atof): Likewise.
4509 * config/tc-tic4x.c (md_atof): Likewise.
4510 * config/tc-tic54x.c (md_atof): Likewise.
4511 * config/tc-tic6x.c (md_atof): Likewise.
4512 * config/tc-tilegx.c (md_atof): Likewise.
4513 * config/tc-tilepro.c (md_atof): Likewise.
4514 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
4515 * config/tc-vax.c (md_atof): Likewise.
4516 * config/tc-visium.c (md_atof): Likewise.
4517 * config/tc-xc16x.c (md_atof): Likewise.
4518 * config/tc-xgate.c (md_atof): Likewise.
4519 * config/tc-xstormy16.c (md_atof): Likewise.
4520 * config/tc-xtensa.c (md_atof): Likewise.
4521 * config/tc-z80.c (md_atof): Likewise.
4522 * config/tc-z8k.c (md_atof): Likewise.
4524 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4526 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
4528 (xtensa_section_rename): Make argument type const char *.
4529 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
4531 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4533 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
4536 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4538 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
4540 (m32c_indirect_operand): Likewise.
4541 * config/tc-nds32.c (do_pseudo_b): Likewise.
4542 (do_pseudo_bal): Likewise.
4543 (do_pseudo_ls_bhw): Likewise.
4545 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4547 * as.c (parse_args): Cast literal to char * when assigning to optarg.
4549 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4551 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
4553 * config/tc-sparc.c (s_register): Cast a literal to char * in
4556 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4558 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
4560 * config/tc-m32r.c (expand_debug_syms): Likewise.
4561 * config/tc-msp430.c (msp430_dstoperand): Likewise.
4562 * config/tc-z80.c (md_begin): Likewise.
4563 * stabs.c (stabs_generate_asm_func): Likewise.
4565 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4567 * cgen.c: Modernize the way functions declare arguments.
4568 * config/tc-bfin.c: Likewise.
4569 * config/tc-pdp11.c: Likewise.
4570 * literal.c: Likewise.
4572 * stabs.c: Likewise.
4574 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4576 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
4577 variables unsigned char[].
4578 * config/tc-alpha.c (alpha_handle_align): Likewise.
4579 * config/tc-arm.c (arm_handle_align): Likewise.
4580 * config/tc-z80.c: Likewise.
4582 2016-03-30 Nick Clifton <nickc@redhat.com>
4585 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
4588 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4590 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
4591 * testsuite/gas/elf/elf.exp: Likewise.
4592 * testsuite/gas/all/redef3.d: Allow execution for ARC.
4594 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4596 * testsuite/gas/arc/warn.exp: Fix matching pattern.
4598 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
4600 * testsuite/gas/arc/ext2op.d: New file.
4601 * testsuite/gas/arc/ext2op.s: Likewise.
4602 * testsuite/gas/arc/ext3op.d: Likewise.
4603 * testsuite/gas/arc/ext3op.s: Likewise.
4605 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4607 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
4609 * config/tc-alpha.c (md_parse_option): Likewise.
4610 * config/tc-arc.c (md_parse_option): Likewise.
4611 * config/tc-arm.c (struct arm_long_option_table): Likewise.
4612 (md_parse_option): Likewise.
4613 * config/tc-avr.c (md_parse_option): Likewise.
4614 * config/tc-bfin.c (md_parse_option): Likewise.
4615 * config/tc-cr16.c (md_parse_option): Likewise.
4616 * config/tc-cris.c (s_cris_arch): Likewise.
4617 (md_parse_option): Likewise.
4618 * config/tc-crx.c (md_parse_option): Likewise.
4619 * config/tc-d10v.c (md_parse_option): Likewise.
4620 * config/tc-d30v.c (md_parse_option): Likewise.
4621 * config/tc-dlx.c (md_parse_option): Likewise.
4622 * config/tc-epiphany.c (md_parse_option): Likewise.
4623 * config/tc-fr30.c (md_parse_option): Likewise.
4624 * config/tc-frv.c (md_parse_option): Likewise.
4625 * config/tc-ft32.c (md_parse_option): Likewise.
4626 * config/tc-h8300.c (md_parse_option): Likewise.
4627 * config/tc-hppa.c (md_parse_option): Likewise.
4628 * config/tc-i370.c (md_parse_option): Likewise.
4629 * config/tc-i386.c (md_parse_option): Likewise.
4630 * config/tc-i860.c (md_parse_option): Likewise.
4631 * config/tc-i960.c (md_parse_option): Likewise.
4632 * config/tc-ia64.c (md_parse_option): Likewise.
4633 * config/tc-ip2k.c (md_parse_option): Likewise.
4634 * config/tc-iq2000.c (md_parse_option): Likewise.
4635 * config/tc-lm32.c (md_parse_option): Likewise.
4636 * config/tc-m32c.c (md_parse_option): Likewise.
4637 * config/tc-m32r.c (md_parse_option): Likewise.
4638 * config/tc-m68hc11.c (md_parse_option): Likewise.
4639 * config/tc-m68k.c (md_parse_option): Likewise.
4640 * config/tc-mcore.c (md_parse_option): Likewise.
4641 * config/tc-mep.c (md_parse_option): Likewise.
4642 * config/tc-metag.c (struct metag_long_option): Likewise.
4643 (md_parse_option): Likewise.
4644 * config/tc-microblaze.c (md_parse_option): Likewise.
4645 * config/tc-microblaze.h (md_parse_option): Remove prototype.
4646 * config/tc-mips.c (md_parse_option): Adjust.
4647 * config/tc-mmix.c (md_parse_option): Likewise.
4648 * config/tc-mn10200.c (md_parse_option): Likewise.
4649 * config/tc-mn10300.c (md_parse_option): Likewise.
4650 * config/tc-moxie.c (md_parse_option): Likewise.
4651 * config/tc-msp430.c (md_parse_option): Likewise.
4652 * config/tc-mt.c (md_parse_option): Likewise.
4653 * config/tc-nds32.c (md_parse_option): Likewise.
4654 * config/tc-nds32.h (nds32_parse_option): Likewise.
4655 * config/tc-nios2.c (md_parse_option): Likewise.
4656 * config/tc-ns32k.c (md_parse_option): Likewise.
4657 * config/tc-or1k.c (md_parse_option): Likewise.
4658 * config/tc-pdp11.c (md_parse_option): Likewise.
4659 * config/tc-pj.c (md_parse_option): Likewise.
4660 * config/tc-ppc.c (md_parse_option): Likewise.
4661 * config/tc-rl78.c (md_parse_option): Likewise.
4662 * config/tc-rx.c (md_parse_option): Likewise.
4663 * config/tc-s390.c (s390_parse_cpu): Likewise.
4664 * config/tc-score.c (md_parse_option): Likewise.
4665 * config/tc-sh.c (md_parse_option): Likewise.
4666 * config/tc-sparc.c (md_parse_option): Likewise.
4667 * config/tc-spu.c (md_parse_option): Likewise.
4668 * config/tc-tic30.c (md_parse_option): Likewise.
4669 * config/tc-tic4x.c (md_parse_option): Likewise.
4670 * config/tc-tic54x.c (md_parse_option): Likewise.
4671 * config/tc-tic6x.c (md_parse_option): Likewise.
4672 * config/tc-tilegx.c (md_parse_option): Likewise.
4673 * config/tc-tilepro.c (md_parse_option): Likewise.
4674 * config/tc-v850.c (md_parse_option): Likewise.
4675 * config/tc-vax.c (md_parse_option): Likewise.
4676 * config/tc-visium.c (struct visium_long_option_table): Likewise.
4677 * config/tc-xc16x.c (md_parse_option): Likewise.
4678 * config/tc-xgate.c (md_parse_option): Likewise.
4679 * config/tc-xstormy16.c (md_parse_option): Likewise.
4680 * config/tc-xtensa.c (md_parse_option): Likewise.
4681 * config/tc-z80.c (md_parse_option): Likewise.
4682 * config/tc-z8k.c (md_parse_option): Likewise.
4683 * tc.h (md_parse_option): Likewise.
4685 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4687 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
4688 * config/tc-hppa.c (fix_new_hppa): Likewise.
4689 (pa_vtable_entry): Likewise.
4690 (pa_vtable_inherit): Likewise.
4691 * config/tc-m68k.c (md_begin): Likewise.
4693 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4695 * config/obj-elf.c (obj_elf_section_name): Return const char *.
4696 * config/obj-elf.h (obj_elf_section_name): Adjust.
4697 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
4698 (aarch64_parse_cpu): Likewise.
4699 (aarch64_parse_arch): Likewise.
4700 * config/tc-arm.c (arm_parse_extension): Likewise.
4701 (arm_parse_cpu): Likewise.
4702 (arm_parse_arch): Likewise.
4703 * config/tc-nds32.c: Likewise.
4704 * config/xtensa-relax.c (parse_special_fn): Likewise.
4705 * stabs.c (generate_asm_file): Likewise.
4707 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4709 * config/tc-cr16.c (cr16_assemble): New function.
4710 (md_assemble): Call cr16_assemble.
4712 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4714 * as.c (parse_args): Adjust.
4715 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
4716 * config/obj-elf.c (elf_frob_symbol): Adjust.
4718 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
4720 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
4721 registers to be in the 16..31 range.
4723 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4725 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
4728 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4730 * config/tc-visium.c (md_atof): Localize the string returned on
4733 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4735 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
4736 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
4737 * config/tc-m68hc11.c (md_begin): Likewise.
4738 (print_opcode_list): Likewise.
4739 * config/tc-msp430.c (msp430_section): Likewise.
4740 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
4741 (s3_build_dependency_insn_hsh): Likewise.
4742 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
4743 (s7_build_dependency_insn_hsh): Likewise.
4744 * config/tc-tic4x.c: Likewise.
4745 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4746 (subsym_get_arg): Likewise.
4747 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
4748 (get_directive): Likewise.
4749 (cache_literal_section): Likewise.
4750 * config/xtensa-relax.c: Likewise.
4751 * symbols.c (symbol_create): Likewise.
4752 (local_symbol_make): Likewise.
4753 (symbol_relc_make_expr): Likewise.
4755 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4757 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
4760 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4762 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
4765 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4767 * config/tc-ia64.c (ia64_do_align): Remove.
4768 (ia64_cons_align): Call do_align () directly.
4769 (dot_proc): Likewise.
4770 (stmt_float_cons): Likewise.
4772 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4774 * listing.c (listing_message): Use XNEW style allocation macros.
4775 * read.c (read_a_source_file): Likewise.
4776 (read_symbol_name): Likewise.
4777 (s_mri_common): Likewise.
4778 (assign_symbol): Likewise.
4779 (s_reloc): Likewise.
4780 (emit_expr_with_reloc): Likewise.
4781 (s_incbin): Likewise.
4782 (s_include): Likewise.
4783 * sb.c (sb_build): Likewise.
4784 (sb_check): Likewise.
4786 2016-03-22 Alan Modra <amodra@gmail.com>
4788 * write.c (record_alignment): Revert 2016-02-18 change.
4790 2016-03-22 Alan Modra <amodra@gmail.com>
4792 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
4793 (emit_jsrjmp, tc_gen_reloc): Likewise.
4794 * config/tc-i370.c (i370_macro): Likewise.
4796 2016-03-22 Nick Clifton <nickc@redhat.com>
4798 * configure: Regenerate.
4800 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4802 * testsuite/gas/arc/nps400-0.d: New file.
4803 * testsuite/gas/arc/nps400-0.s: New file.
4804 * testsuite/gas/arc/nps400-1.d: New file.
4805 * testsuite/gas/arc/nps400-1.s: New file.
4807 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4809 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
4810 declarations to start of block. Reset code on all flags before
4811 attempting to match them. Handle multiple hits on the same flag.
4813 * testsuite/gas/arc/asm-errors.d: New file.
4814 * testsuite/gas/arc/asm-errors.err: New file.
4815 * testsuite/gas/arc/asm-errors.s: New file.
4817 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4819 * config/tc-arc.c (cpu_types): Add nps400 entry.
4820 (check_zol): Handle nps400.
4822 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4824 * config/tc-arc.c (arc_select_cpu): Remove use of
4827 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4829 * config/tc-arc.c (arc_target): Delay initialisation until
4831 (arc_target_name): Likewise.
4832 (arc_features): Likewise.
4833 (arc_mach_type): Likewise.
4834 (cpu_types): Remove "all" entry.
4835 (arc_select_cpu): New function, most of the content is from...
4836 (md_parse_option): ... here. Call new arc_select_cpu.
4837 (md_begin): Call arc_select_cpu if needed, default is now arc700.
4839 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4841 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
4842 * testsuite/gas/arc/inline-data-2.d: New file.
4844 2016-03-21 Nick Clifton <nickc@redhat.com>
4846 * atof-generic.c: Replace use of alloca with call to xmalloc.
4848 * dwarf2dbg.c: Likewise.
4849 * macro.c: Likewise.
4850 * remap.c: Likewise.
4851 * stabs.c: Likewise.
4852 * symbols.c: Likewise.
4853 * config/obj-elf.c: Likewise.
4854 * config/tc-aarch64.c: Likewise.
4855 * config/tc-arc.c: Likewise.
4856 * config/tc-arm.c: Likewise.
4857 * config/tc-avr.c: Likewise.
4858 * config/tc-ia64.c: Likewise.
4859 * config/tc-mips.c: Likewise.
4860 * config/tc-msp430.c: Likewise.
4861 * config/tc-nds32.c: Likewise.
4862 * config/tc-ppc.c: Likewise.
4863 * config/tc-sh.c: Likewise.
4864 * config/tc-tic30.c: Likewise.
4865 * config/tc-tic54x.c: Likewise.
4866 * config/tc-xstormy16.c: Likewise.
4867 * config/te-vms.c: Likewise.
4868 * configure: Regenerate.
4870 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4872 * tc-i386.c (f32_1): Change type to unsigned char[].
4892 (jump_31): Likewise.
4893 (f32_patt): Likewise.
4894 (f16_patt): Likewise.
4903 (alt_patt): Likewise.
4905 2016-03-18 Nick Clifton <nickc@redhat.com>
4907 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
4908 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
4909 .tlsdescldr and .xword directives.
4912 * testsuite/gas/aarch64/pr19721.s: New test source file.
4913 * testsuite/gas/aarch64/pr19721.d: New test driver file.
4915 * doc/as.texinfo: Place the target specific command line options
4916 into their own man page section.
4918 2016-03-16 Jiong Wang <jiong.wang@arm.com>
4920 * config/tc-arm.c (N_S_32): New.
4921 (N_F_16_32): Likewise.
4922 (N_SUF_32): Support N_F16.
4923 (N_IF_32): Likewise.
4924 (neon_dyadic_misc): Likewise.
4925 (do_neon_cmp): Likewise.
4926 (do_neon_cmp_inv): Likewise.
4927 (do_neon_mul): Likewise.
4928 (do_neon_fcmp_absolute): Likewise.
4929 (do_neon_step): Likewise.
4930 (do_neon_abs_neg): Likewise.
4931 (CVT_FLAVOR_VAR): Likewise.
4932 (do_neon_cvt_1): Likewise.
4933 (do_neon_recip_est): Likewise.
4934 (do_vmaxnm): Likewise.
4935 (do_vrint_1): Likewise.
4936 (neon_check_type): Check architecture support for FP16 extension.
4937 (insns): Update comments.
4938 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
4939 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
4940 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
4941 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
4943 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
4945 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
4948 2016-03-16 Nick Clifton <nickc@redhat.com>
4950 * read.c (emit_expr_with_reloc): Add code check a bignum with
4952 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
4954 * testsuite/gas/elf/bignum.s: New test source file.
4955 * testsuite/gas/elf/bignum.d: New test driver file.
4956 * testsuite/gas/elf/elf.exp: Run the new test.
4958 2016-03-15 Ulrich Drepper <drepper@gmail.com>
4960 * doc/c-i386.texi (Register Naming): Update to details of the
4961 latest architecture version.
4963 2016-03-10 Mickael Guene <mickael.guene@st.com>
4966 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
4968 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
4969 (do_t_mov_cmp): Likewise.
4970 (do_t_add_sub): Protect against bad relocations usage.
4971 (do_t_mov_cmp): Likewise.
4972 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
4973 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
4974 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
4975 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
4977 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4979 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
4981 (do_neon_ld_st_lane): Likewise.
4982 (do_neon_ld_dup): Likewise.
4984 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
4986 * testsuite/gas/arc/inline-data-1.d: New file.
4987 * testsuite/gas/arc/inline-data-1.s: New file.
4989 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
4991 * config/tc-arm.c (arm_cpus): Add cortex-r8.
4992 * doc/c-arm.texi: Add cortex-r8.
4994 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4996 * config/tc-arc.c: Add const qualifiers.
4997 * config/tc-h8300.c (md_begin): Likewise.
4998 * config/tc-ia64.c (print_prmask): Likewise.
4999 * config/tc-msp430.c (msp430_operands): Likewise.
5000 * config/tc-nds32.c (struct suffix_name): Likewise.
5001 (struct nds32_parse_option_table): Likewise.
5002 (struct nds32_set_option_table): Likewise.
5003 (do_pseudo_pushpopm): Likewise.
5004 (do_pseudo_pushpop_stack): Likewise.
5005 (nds32_relax_relocs): Likewise.
5006 (nds32_flag): Likewise.
5007 (struct nds32_hint_map): Likewise.
5008 (nds32_find_reloc_table): Likewise.
5009 (nds32_match_hint_insn): Likewise.
5010 * config/tc-s390.c: Likewise.
5011 * config/tc-sh.c (get_specific): Likewise.
5012 * config/tc-tic30.c: Likewise.
5013 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
5014 (tic4x_indirect_parse): Likewise.
5015 * config/tc-vax.c (vax_cons): Likewise.
5016 * config/tc-z80.c (struct reg_entry): Likewise.
5017 * config/tc-epiphany.c (md_assemble): Adjust.
5018 (epiphany_assemble): New function.
5019 (epiphany_elf_section_rtn): Call do_align directly.
5020 (epiphany_elf_section_text): Likewise.
5021 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
5022 (ip2k_elf_section_text): Likewise.
5023 * read.c (do_align): Make it not static.
5024 * read.h (do_align): New prototype.
5026 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
5028 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
5029 for ARMv8.1 AdvSIMD use.
5030 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
5031 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
5033 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
5035 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
5037 (record_feature_use): New.
5038 (mark_feature_used): Use record_feature_use.
5039 (do_neon_qrdmlah): New.
5040 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
5042 (arm_extensions): Put into alphabetical order. Re-indent "simd"
5043 and "rdma" entries. Fix the incorrect merge value for "+rdma".
5044 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
5045 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
5046 Make source file explicit.
5047 * testsuite/gas/arm/armv8-a+rdma.l: New.
5048 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
5049 directives. Fix white-space.
5050 * testsuite/gas/arm/armv8_1-a+simd.d: New.
5052 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
5054 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
5056 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
5057 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
5059 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
5060 (tc_arc_fix_adjustable): Changed default return value to 1.
5061 * testsuite/gas/arc/j.d: Updated expected symbol
5062 * testsuite/gas/arc/jl.d: Likewise
5063 * testsuite/gas/arc/relax-avoid1.d: Likewise
5064 * testsuite/gas/arc/st.d: Likewise
5066 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
5068 * config/tc-arc.c: Enable code density instructions for ARC EM.
5070 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
5073 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
5075 * as.c (flag_use_elf_stt_common): New.
5076 (show_usage): Add --elf-stt-common=.
5077 (option_values): Add OPTION_ELF_STT_COMMON.
5078 (std_longopts): Add --elf-stt-common=.
5079 (parse_args): Handle --elf-stt-common=.
5080 * as.h (flag_use_elf_stt_common): New.
5081 * config.in: Regenerated.
5082 * configure: Likewise.
5083 * configure.ac: Add --enable-elf-stt-common and define
5084 DEFAULT_GENERATE_ELF_STT_COMMON.
5085 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
5086 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
5087 * doc/as.texinfo: Document --elf-stt-common=.
5088 * testsuite/gas/elf/common3.s: New file.
5089 * testsuite/gas/elf/common3a.d: Likewise.
5090 * testsuite/gas/elf/common3b.d: Likewise.
5091 * testsuite/gas/elf/common4.s: Likewise.
5092 * testsuite/gas/elf/common4a.d: Likewise.
5093 * testsuite/gas/elf/common4b.d: Likewise.
5094 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
5095 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
5096 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
5098 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
5099 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
5100 --elf-stt-common=no to as.
5101 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
5102 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
5103 --elf-stt-common=no to as.
5104 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
5105 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
5106 of dw2-compress-3 and dw2-compressed-3.
5108 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5110 * as.c (select_emulation_mode): Add const qualifiers.
5112 * config/bfin-defs.h: Likewise.
5113 * config/bfin-parse.y: Likewise.
5114 * config/rx-parse.y: Likewise.
5115 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
5116 (struct aarch64_cpu_option_table): Likewise.
5117 (struct aarch64_arch_option_table): Likewise.
5118 (struct aarch64_option_cpu_value_table): Likewise.
5119 (struct aarch64_long_option_table): Likewise.
5120 (struct aarch64_option_abi_value_table): Likewise.
5121 * config/tc-arm.c (struct reloc_entry): Likewise.
5122 (tc_gen_reloc): Likewise.
5123 (struct arm_option_table): Likewise.
5124 (struct arm_legacy_option_table): Likewise.
5125 (struct arm_cpu_option_table): Likewise.
5126 (struct arm_arch_option_table): Likewise.
5127 (struct arm_option_extension_value_table): Likewise.
5128 (struct arm_option_fpu_value_table): Likewise.
5129 (struct arm_option_value_table): Likewise.
5130 (struct arm_long_option_table): Likewise.
5131 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
5132 (struct mcu_type_s): Likewise.
5133 (struct exp_mod_s): Likewise.
5134 (avr_operand): Likewise.
5135 (avr_operands): Likewise.
5136 * config/tc-d10v.c (md_begin): Likewise.
5137 * config/tc-dlx.c: Likewise.
5138 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
5139 * config/tc-ft32.c (parse_condition): Likewise.
5140 * config/tc-h8300.c (do_a_fix_imm): Likewise.
5141 * config/tc-hppa.c (pa_ip): Likewise.
5142 (hppa_regname_to_dw2regnum): Likewise.
5143 * config/tc-i370.c (i370_elf_suffix): Likewise.
5144 * config/tc-i960.c (struct tabentry): Likewise.
5145 * config/tc-m32r.c: Likewise.
5146 * config/tc-m68k.c: Likewise.
5147 * config/tc-m68k.h: Likewise.
5148 * config/tc-mcore.c (parse_psrmod): Likewise.
5149 * config/tc-metag.c (struct metag_core_option): Likewise.
5150 (struct metag_long_option): Likewise.
5151 * config/tc-microblaze.c: Likewise.
5152 * config/tc-mips.c (macro): Likewise.
5153 * config/tc-mn10200.c: Likewise.
5154 * config/tc-mn10300.c: Likewise.
5155 * config/tc-msp430.c (struct rcodes_s): Likewise.
5156 (struct hcodes_s): Likewise.
5157 (md_parse_option): Likewise.
5158 * config/tc-ns32k.c (struct ns32k_option): Likewise.
5159 (optlist): Likewise.
5160 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
5161 (tc_ppc_regname_to_dw2regnum): Likewise.
5162 * config/tc-ppc.h: Likewise.
5163 * config/tc-rl78.c: Likewise.
5164 * config/tc-rx.c (struct cpu_type): Likewise.
5165 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
5166 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
5167 (sparc_ip): Likewise.
5168 * config/tc-spu.c (insn_fmt_string): Likewise.
5169 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5170 * config/tc-v850.c: Likewise.
5171 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
5172 (struct visium_long_option_table): Likewise.
5173 * config/tc-xgate.c: Likewise.
5174 * config/tc-z8k.c: Likewise.
5175 * read.c (add_include_dir): Likewise.
5178 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5180 * testsuite/gas/all/gas.exp: Change target pattern to cover
5182 * testsuite/gas/all/redef3.d: Likewise.
5183 * testsuite/gas/elf/elf.exp: Likewise.
5185 2016-02-24 Renlin Li <renlin.li@arm.com>
5187 * config/tc-arm.c (BAD_FP16): New error message macro.
5188 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
5189 fp16 scalar instructions.
5190 (neon_check_type): Allow different size from key.
5191 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
5192 (try_vfp_nsyn): Likewise.
5193 (do_vfp_nsyn_mla_mls): Likewise.
5194 (do_vfp_nsyn_fma_fms): Likewise.
5195 (do_vfp_nsyn_ldm_stm): Likewise
5196 (do_vfp_nsyn_sqrt): Likewise
5197 (do_vfp_nsyn_div): Likewise
5198 (do_vfp_nsyn_nmul): Likewise.
5199 (do_vfp_nsyn_cmp): Likewise.
5200 (do_neon_shll): Likewise.
5201 (do_vfp_nsyn_cvt_fpv8): Likewise.
5202 (do_neon_cvttb_2): Likewise.
5203 (do_neon_mov): Likewise.
5204 (do_neon_rshift_round_imm): Likewise.
5205 (do_neon_ldr_str): Likewise.
5206 (do_vfp_nsyn_fpv8): Likewise.
5207 (do_vmaxnm): Likewise.
5208 (do_vrint_1): Likewise.
5209 (insns): New entry for vins, vmovx.
5210 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
5211 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
5212 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
5213 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
5214 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
5215 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
5216 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
5218 2016-02-24 Renlin Li <renlin.li@arm.com>
5220 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
5221 (neon_shape_class): New SC_HALF.
5222 (neon_shape_el): New SE_H.
5223 (neon_shape_el_size): New size for SE_H.
5224 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
5225 (neon_select_shape): Add SE_H support code.
5226 (el_type_of_type_chk): Use N_F_ALL.
5227 (do_vfp_nsyn_cvt): Add SE_H shape support.
5228 (do_neon_cvtz): Likewise.
5229 (do_neon_cvt_1): Likewise.
5230 (do_neon_cvttb_1): Likewise.
5232 2016-02-24 Renlin Li <renlin.li@arm.com>
5234 * testsuite/gas/arm/copro.d: Adjust output.
5235 * testsuite/gas/arm/copro.s: Adjust co-processor num.
5237 2016-02-24 Renlin Li <renlin.li@arm.com>
5239 * testsuite/gas/arm/mask_1.d: New.
5240 * testsuite/gas/arm/mask_1.s: New.
5242 2016-02-24 Renlin Li <renlin.li@arm.com>
5244 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
5245 * testsuite/gas/arm/copro.d: Update.
5247 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5249 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
5250 * doc/c-arm.texi (ARM Options): Document cortex-a32.
5252 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5254 * doc/c-arm.texi (ARM Options): Document cortex-a17.
5256 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
5258 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
5261 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5263 * output-file.c (output_file_create): Make file name argument const.
5264 (output_file_close): Likewise.
5265 * output-file.h (output_file_create): Adjust.
5266 (output_file_close): Likewise.
5267 * depend.c (quote_string_for_make): Make src argument const char *.
5268 (register_dependency): Likewise.
5269 (wrap_output): Likewise.
5270 * as.h (register_dependency): Adjust.
5271 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
5273 * symbols.c (S_SET_EXTERNAL): Likewise.
5274 * input-scrub.c (as_where): Return the file name.
5275 * as.h (as_where): Adjust prototype.
5276 * app.c (do_scrub_chars): Adjust.
5277 * cond.c (s_elseif): Likewise.
5279 (initialize_cframe): Likewise.
5280 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
5281 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5282 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5283 * config/tc-aarch64.c (output_info): Likewise.
5284 * config/tc-ia64.c (md_assemble): Likewise.
5285 (dot_alias): Likewise.
5286 * config/tc-m68k.c (m68k_frob_label): Likewise.
5287 * config/tc-mmix.c (s_bspec): Likewise.
5288 (mmix_handle_mmixal): Likewise.
5289 * config/tc-rx.c (rx_include): Likewise.
5290 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5291 (tic54x_adjust_symtab): Likewise.
5292 * config/tc-xtensa.c (directive_push): Likewise.
5293 (xtensa_sanity_check): Likewise.
5294 (xtensa_relax_frag): Likewise.
5295 (md_convert_frag): Likewise.
5296 (tinsn_to_slotbuf): Likewise.
5297 * dwarf2dbg.c (dwarf2_where): Likewise.
5298 * ecoff.c (add_file): Likewise.
5299 (ecoff_generate_asm_lineno): Likewise.
5300 * expr.c (make_expr_symbol): Likewise.
5301 * frags.c (frag_new): Likewise.
5302 (frag_var_init): Likewise.
5303 * listing.c (listing_newline): Likewise.
5304 * messages.c (identify): Likewise.
5305 (as_show_where): Likewise.
5306 (as_warn_internal): Likewise.
5307 (as_bad_internal): Likewise.
5308 * read.c (s_irp): Likewise.
5309 (s_macro): Likewise.
5310 (s_reloc): Likewise.
5311 * stabs.c (stabs_generate_asm_file): Likewise.
5312 (stabs_generate_asm_lineno): Likewise.
5313 (stabs_generate_asm_func): Likewise.
5314 * write.c (fix_new_internal): Likewise.
5315 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
5316 (as_warn_value_out_of_range): Adjust prototype.
5317 (as_bad_value_out_of_range): Adjust prototype.
5318 * messages.c (identify): Make file name argument const char *.
5319 (as_warn_internal): Likewise.
5320 (as_warn_where): Likewise.
5321 (as_bad_internal): Likewise.
5322 (as_bad_where): Likewise.
5323 (as_internal_value_out_of_range): Likewise.
5324 (as_warn_value_out_of_range): Likewise.
5325 (as_bad_value_out_of_range): Likewise.
5326 * as.h (found_comment_file): Change type to const char *.
5327 * cond.c (file_line::file): Likewise.
5328 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
5329 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5330 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5331 * config/tc-aarch64.c (output_info): Likewise.
5332 * config/tc-alpha.c (insert_operand): Likewise.
5333 * config/tc-arc.c (insert_operand): Likewise.
5334 * config/tc-d30v.c (check_size): Likewise.
5335 * config/tc-ia64.c (struct alias): Likewise.
5336 * config/tc-m68k.c (struct label_line): Likewise.
5337 * config/tc-mcore.c (md_apply_fix): Likewise.
5338 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
5339 * config/tc-mips.c (mips16_immed): Likewise.
5340 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
5341 * config/tc-ppc.c (ppc_insert_operand): Likewise.
5342 * config/tc-rx.c (rx_include): Likewise.
5343 * config/tc-s390.c (s390_insert_operand): Likewise.
5344 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5345 (tic54x_adjust_symtab): Likewise.
5346 * config/tc-tilegx.c (insert_operand): Likewise.
5347 (apply_special_operator): Likewise.
5348 * config/tc-tilepro.c (insert_operand): Likewise.
5349 * config/tc-xtensa.c (directive_push): Likewise.
5350 * ecoff.c (add_file): Likewise.
5351 (ecoff_generate_asm_lineno): Likewise.
5352 * listing.c (listing_newline): Likewise.
5353 * read.c (s_irp): Likewise.
5354 * write.c (install_reloc): Likewise.
5355 * write.h (struct fix): Likewise.
5356 * input-file.c (file_name): Change type to const char *.
5357 (saved_file::file_name): Likewise.
5358 (input_file_open): Change type of argument to const char *.
5359 * input-file.h (input_file_open): Adjust.
5360 * input-scrub.c (logical_input_file): change type to const char *.
5361 (physical_input_file): Likewise.
5362 (struct input_save): Adjust.
5363 (input_scrub_push): Adjust.
5364 (input_scrub_begin): Adjust.
5366 * input-scrub.c (input_scrub_new_file): Make file name argument const.
5367 (input_scrub_include_file): Likewise.
5368 (new_logical_line_flags): Likewise.
5369 (new_logical_line): Likewise.
5371 * frags.h (struct frag): Change type of fr_file to const char *.
5372 * expr.c (expr_symbol_where): Change type of file argument to
5374 * expr.h (expr_symbol_where): Likewise.
5375 * config/tc-i370.c (md_apply_fix): adjust.
5376 * config/tc-mmix.c (mmix_md_end): Likewise.
5377 * config/tc-ppc.c (md_apply_fix): Likewise.
5378 * config/tc-s390.c (md_apply_fix): Likewise.
5379 * symbols.c (report_op_error): Likewise.
5380 (resolve_symbol_value): Likewise.
5381 * config/tc-ia64.c (slot::src_file): Change type to const char *.
5382 (rsrc::file): Likewise.
5383 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
5385 (xtensa_relax_frag): Likewise.
5386 (md_convert_frag): Likewise.
5387 (tinsn_to_slotbuf): Likewise.
5388 * expr.c (expr_symbol_line): Likewise.
5389 * macro.c (define_macro): Likewise.
5390 * macro.h (macro_struct): Likewise.
5391 * messages.c (as_show_where): Likewise.
5392 * read.c (s_macro): Likewise.
5393 * stabs.c (stabs_generate_asm_file): Likewise.
5394 (generate_asm_file): Likewise.
5395 (stabs_generate_asm_lineno): Likewise.
5396 * write.h (struct reloc_list): Likewise.
5397 * input-scrub.c (as_where): Change return type to const char *.
5398 * as.h (as_wheree): Adjust.
5400 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
5402 * write.c (compress_debug): Move BFD compression bits setting
5404 (write_object_file): Here.
5406 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
5408 * config/tc-i386.c (register_number): Check RegVRex.
5409 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
5410 with %zmm19 and %zmm3.
5411 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
5412 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
5414 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
5415 Jiong Wang <jiong.wang@arm.com>
5417 * config/tc-arm.c (arm_ext_fp16): New.
5418 (arm_extensions): New entry for "fp16".
5420 2016-02-19 Nick Clifton <nickc@redhat.com>
5423 * read.c (read_a_source_file): Check for assemble_one returning
5424 with input_line_pointer set to NULL.
5426 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5428 * listing.c (rebuffer_line): Change return type to void.
5430 * symbols.c (decode_local_label_name): Make type a const char *.
5431 * listing.c (print_source): Make type of p const char *.
5432 (print_line): Make type of string const char *.
5433 (buffer_line): Return const char *.
5434 (title): Make type const char *.
5435 (subtitle): Likewise.
5436 (listing_listing): Make type of p const char *.
5437 * messages.c (as_internal_value_out_of_range): Make type of prefix
5439 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
5440 and string const char *.
5441 * read.c (_bfd_rel): Make type of name const char *.
5442 * app.c (out_string): Change type to const char *.
5443 (struct app_save::out_string): Likewise.
5445 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
5446 Nick Clifton <nickc@redhat.com>
5448 * read.c (finish_bundle): Avoid recording a negative alignment.
5449 (do_align): Use unsigned values for n, len and max. Only create
5450 a frag if the alignment requirement is greater than the minimum
5451 byte alignment. Avoid recording a negative alignment.
5452 (s_align): Use unsigned values where appropriate.
5453 (bss_alloc): Use an unsigned value for the alignment.
5454 (sizeof_sleb128): Add a comment noting that we encode one octet
5455 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
5456 (emit_leb129_expr): Abort if the emitted encoding was longer than
5458 * read.h (output_leb128): Update prototype.
5459 (sizeof_leb128): Update prototype.
5460 (bss_alloc): Update prototype.
5461 * write.c (record_alignment): Use an unsigned value for the
5462 alignment. Do not record alignments less than the minimum
5463 alignment for a byte.
5464 * write.h (record_alignment): Update prototype.
5466 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5468 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
5469 .init.literal/.fini.literal section name.
5470 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
5471 list of xtensa tests.
5472 * testsuite/gas/xtensa/init-fini-literals.d: New file:
5473 init-fini-literals test result patterns.
5474 * testsuite/gas/xtensa/init-fini-literals.s: New file:
5475 init-fini-literals test.
5477 2016-02-17 Nick Clifton <nickc@redhat.com>
5479 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
5480 devices.csv file as of March 2016.
5482 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
5484 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
5486 (tc_arc_regname_to_dw2regnum): Likewise.
5487 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
5488 (tc_cfi_frame_initial_instructions): Likewise.
5489 (tc_regname_to_dw2regnum): Likewise.
5490 * testsuite/gas/cfi/cfi-arc-1.d: New file.
5491 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
5492 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
5494 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
5496 * doc/internals.texi (S_IS_EXTERN): Remove.
5498 2016-02-16 Nick Clifton <nickc@redhat.com>
5500 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
5503 2016-02-16 Renlin Li <renlin.li@arm.com>
5506 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
5507 * testsuite/gas/aarch64/movw_label.d: New.
5508 * testsuite/gas/aarch64/movw_label.s: New.
5510 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
5513 * config/rx-parse.y (MOV): Opcode generation for index
5514 register addressing mode.
5515 * testsuite/gas/rx/rx.exp: Updated for new testcase.
5516 * testsuite/gas/rx/pr19665.s: New file.
5517 * testsuite/gas/rx/pr19665.s: New file.
5518 * testsuite/gas/rx/mov.d: Update expected output.
5520 2016-02-15 Nick Clifton <nickc@redhat.com>
5522 * doc/as.texinfo (.section): Document that numeric values can now
5523 be used for the flags and type fields of the ELF target's .section
5524 directive. Add notes about the restrictions on setting flags and
5526 * config/obj-elf.c (obj_elf_change_section): Allow known sections
5527 to be given processor specific section types. Allow processor and
5528 application specific flags of a section to be set after
5530 (obj_elf_parse_section_letters): Handle parsing numeric values.
5531 (obj_elf_section_type): Handle parsing numeric values.
5532 (obj_elf_section): Allow numeric type values.
5533 * config/obj-elf.h (obj_elf_change_section): Update prototype.
5534 * testsuite/gas/elf/section10.d: New test.
5535 * testsuite/gas/elf/section10.s: Source file for new test.
5536 * testsuite/gas/elf/elf.exp: Run the new test.
5537 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
5538 the description of the flags produced by readelf.
5539 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
5540 * NEWS: Mention the new feature.
5542 2016-02-11 Nick Clifton <nickc@redhat.com>
5545 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
5546 until it is actually used.
5547 (cfi_set_sections): Set cfi_sections_set to true.
5548 (dot_cfi_startproc): Likewise.
5549 (dot_cfi_endproc): Likewise.
5550 (dot_cfi_fde_data): Likewise.
5551 (cfi_finish): Likewise.
5552 (dot_cfi_sections): Do not set cfi_sections_set.
5553 * doc/as.texinfo (.cfi_sections): Note that targets can provide
5554 their own cfi section name. Also note that the directive can be
5555 reissued provided that CFI generation has not started.
5556 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
5557 .cfi_endproc directives so that the redefinition of .cfi_sections
5558 will trigger the generation of the error message.
5559 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
5560 number of error message.
5562 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
5563 Janek van Oirschot <jvanoirs@synopsys.com>
5565 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
5566 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
5568 (arc_flags, arc_relax_type): New structure.
5569 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
5570 (RELAX_TABLE_ENTRY_MAX): New define.
5571 (relaxation_state, md_relax_table, arc_relaxable_insns)
5572 (arc_num_relaxable_ins): New variable.
5573 (rlx_operand_type, arc_rlx_types): New enums.
5574 (arc_relaxable_ins): New structure.
5575 (OPTION_RELAX): New option.
5576 (arc_insn): New relax member.
5577 (arc_flags): Remove.
5578 (relax_insn_p): New function.
5579 (apply_fixups): Likewise.
5580 (relaxable_operand): Likewise.
5581 (may_relax_expr): Likewise.
5582 (relaxable_flag): Likewise.
5583 (arc_pcrel_adjust): Likewise.
5584 (md_estimate_size_before_relax): Implement.
5585 (md_convert_frag): Likewise.
5586 (md_parse_option): Handle new mrelax option.
5587 (md_show_usage): Likewise.
5588 (assemble_insn): Set relax member.
5589 (emit_insn0): New function.
5590 (emit_insn1): Likewise.
5591 (emit_insn): Handle relaxation case.
5592 * NEWS: Mention the new relaxation option.
5593 * doc/c-arc.texi (ARC Options): Document new mrelax option.
5594 * doc/as.texinfo (Target ARC Options): Likewise.
5595 * testsuite/gas/arc/relax-avoid1.d: New file.
5596 * testsuite/gas/arc/relax-avoid1.s: Likewise.
5597 * testsuite/gas/arc/relax-avoid2.d: Likewise.
5598 * testsuite/gas/arc/relax-avoid2.s: Likewise.
5599 * testsuite/gas/arc/relax-avoid3.d: Likewise.
5600 * testsuite/gas/arc/relax-avoid3.s: Likewise.
5601 * testsuite/gas/arc/relax-b.d: Likewise.
5602 * testsuite/gas/arc/relax-b.s: Likewise.
5604 2016-02-08 Nick Clifton <nickc@redhat.com>
5606 * config/tc-ia64.c (dot_prologue): Fix formatting.
5608 2016-02-04 Nick Clifton <nickc@redhat.com>
5610 * config/obj-elf.c (obj_elf_change_section): Remove support for
5611 ARM NOREAD sections.
5612 * config/tc-arm.c (arm_elf_section_letter): Delete.
5613 * config/tc-arm.h (md_elf_section_letter): Delete.
5614 * doc/c-arm.texi (ARM Section Attribute): Delete section.
5615 * testsuite/gas/arm/section-execute-only.d: Delete.
5616 * testsuite/gas/arm/section-execute-only.s: Delete.
5618 2016-02-04 Nick Clifton <nickc@redhat.com>
5621 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
5622 to handle encoding of RRUX instruction.
5623 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
5625 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
5627 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
5629 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
5630 substitutions for BFD_RELOC_* as unsigned.
5631 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
5632 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
5633 * testsuite/gas/xtensa/loc.s: New file: loc test.
5635 2016-02-03 Kevin Buettner <kevinb@redhat.com>
5637 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
5639 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5642 * NEWS: Mention new command line option -mrelax-relocations and
5643 new configure option --enable-x86-relax-relocations for x86
5645 * config.in: Regenerated.
5646 * configure.ac: Add --enable-x86-relax-relocations.
5647 (ac_default_x86_relax_relocations): New. Default to 1 except
5648 for x86 Solaris targets older than Solaris 12.
5649 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
5650 * configure: Likewise.
5651 * config/tc-i386.c (generate_relax_relocations): New.
5652 (OPTION_MRELAX_RELOCATIONS): Likewise.
5653 (output_disp): Don't generate relax relocations if
5654 generate_relax_relocations is 0.
5655 (md_longopts): Add -mrelax-relocations.
5656 (md_show_usage): Likewise.
5657 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
5658 * doc/c-i386.texi: Document -mrelax-relocations=.
5659 * testsuite/gas/i386/got-no-relax.d: New file.
5660 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
5661 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
5662 * testsuite/gas/i386/localpic.d: Likewise.
5663 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
5664 * testsuite/gas/i386/reloc32.d: Likewise.
5665 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
5666 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
5667 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
5668 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
5669 * testsuite/gas/i386/i386.exp: Run got-no-relax and
5670 x86-64-gotpcrel-no-relax.
5672 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5674 * NEWS: Mention new command line option -mfence-as-lock-add=yes
5677 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5679 * NEWS: Remove duplicated marker for 2.26.
5681 2016-02-02 Renlin Li <renlin.li@arm.com>
5683 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
5685 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5687 * testsuite/gas/ip2k/allinsn.d: New file.
5688 * testsuite/gas/ip2k/allinsn.s: New file.
5689 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
5691 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5693 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
5694 some load instructions.
5695 * testsuite/gas/epiphany/allinsn.d: Likewise.
5696 * testsuite/gas/epiphany/regression.d: Likewise.
5698 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5700 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
5701 suffixes from instruction mnemonics in expected output.
5702 * testsuite/gas/epiphany/allinsn.d: Likewise.
5703 * testsuite/gas/epiphany/regression.d: Likewise.
5704 * testsuite/gas/epiphany/sample.d: Likewise.
5706 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5708 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
5710 * testsuite/gas/epiphany/allinsn.d: Likewise.
5711 * testsuite/gas/epiphany/sample.d: Likewise.
5713 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5715 * testsuite/gas/epiphany/sample.d: Update expected output.
5717 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
5719 * config/tc-arc.c (md_apply_fix): Allow addendum.
5720 (arc_reloc_op): Allow complex expressions for tpoff.
5721 (md_apply_fix): Handle resolved TLS local symbol.
5722 * testsuite/gas/arc/tls-relocs1.d: New file.
5723 * testsuite/gas/arc/tls-relocs1.s: Likewise.
5725 2016-02-01 Loria <Loria@phantasia.org>
5728 * config/tc-arm.c (encode_arm_immediate): Recode to improve
5729 efficiency and avoid an LLVM loop optimization bug.
5731 2016-02-01 Nick Clifton <nickc@redhat.com>
5733 * config/tc-microblaze.c (parse_imm): Fix compile time warning
5734 message extending a negative 32-bit value into a larger signed
5735 value on a 32-bit host.
5737 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
5740 * configure.ac (compressed_debug_sections): Replace == with =.
5741 * configure: Regenerated.
5743 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
5744 H.J. Lu <hongjiu.lu@intel.com>
5746 * config/tc-i386.c (avoid_fence): New.
5747 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
5749 (OPTION_FENCE_AS_LOCK_ADD): New.
5750 (md_longopts): Add -mfence-as-lock-add.
5751 (md_parse_option): Handle -mfence-as-lock-add.
5752 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
5753 * doc/c-i386.texi (-mfence-as-lock-add): Document.
5754 * testsuite/gas/i386/i386.exp: Run new tests.
5755 * testsuite/gas/i386/fence-as-lock-add.s: New.
5756 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
5757 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
5758 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
5759 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
5761 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
5763 * configure.ac (compressed_debug_sections): Remove trailing `]'.
5764 * configure: Regenerated.
5766 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
5768 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
5769 (OPTION_MOMIT_LOCK_PREFIX): This.
5770 (md_longopts): Updated.
5771 (md_parse_option): Likewise.
5773 2016-01-25 Catherine Moore <clm@codesourcery.com>
5775 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
5776 if abicalls are in effect.
5777 * testsuite/gas/mips/sdata-gp.s: New test.
5778 * testsuite/gas/mips/sdata-gp.d: New expected output
5779 * testsuite/gas/mips/mips.exp: Run new test.
5781 2016-01-25 Renlin Li <renlin.li@arm.com>
5783 * testsuite/gas/arm/thumb2_it_search.d: New.
5784 * testsuite/gas/arm/thumb2_it_search.s: New.
5786 2016-01-21 Nick Clifton <nickc@redhat.com>
5789 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
5790 with arm-netbsdelf target.
5791 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
5793 2016-01-20 Nick Clifton <nickc@redhat.com>
5796 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
5797 * testsuite/gas/arm/blx-bl-convert.d
5798 * testsuite/gas/arm/plt-1.d: Likewise.
5799 * testsuite/gas/arm/reloc-bad.d: Likewise.
5800 * testsuite/gas/arm/thumb-w-good.d: Likewise.
5801 * testsuite/gas/arm/thumb2_pool.d: Likewise.
5802 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
5803 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
5806 * doc/as.texinfo (Errors): Correct documentation describing the
5807 interaction of .file and .line with warning and error messages.
5810 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
5811 * testsuite/gas/arm/archv8m-main.d: Likewise.
5812 * testsuite/gas/arm/archv8m-base.d: Likewise.
5814 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
5816 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
5817 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
5818 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
5820 2016-01-20 Mickael Guene <mickael.guene@st.com>
5821 Terry Guo <terry.guo@arm.com>
5823 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
5824 SHF_ARM_NOREAD section flag.
5825 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
5827 (arm_elf_section_letter) : Declare it.
5828 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
5829 SHF_ARM_NOREAD section flag.
5830 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
5832 * testsuite/gas/arm/section-execute-only.s: New test case.
5833 * testsuite/gas/arm/section-execute-only.d: Expected output.
5835 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
5837 * config/tc-mips.c (micromips_insn_length): Remove the mention
5838 of 48-bit microMIPS instructions.
5840 2016-01-18 Alan Modra <amodra@gmail.com>
5842 * configure: Regenerate.
5844 2016-01-17 Alan Modra <amodra@gmail.com>
5846 * configure: Regenerate.
5848 2016-01-17 Alan Modra <amodra@gmail.com>
5850 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
5852 2016-01-14 Nick Clifton <nickc@redhat.com>
5854 * testsuite/gas/rl78/sp-relative-movw.s: New test.
5855 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
5856 * testsuite/gas/rl78/rl78.exp: Run the new test.
5858 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
5860 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
5861 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
5863 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
5865 * config/tc-nios2.c (output_movia): Preset `code' to 0.
5867 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
5869 * config/tc-h8300.c (get_operand): Remove spurious condition in
5870 test for closing parenthesis.
5872 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
5874 * config/tc-arm.c (arm_ext_v8_2): New.
5876 * testsuite/gas/arm/armv8_2-a.d: New.
5877 * testsuite/gas/arm/armv8_2-a.s: New.
5879 2016-01-12 Alan Modra <amodra@gmail.com>
5881 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
5883 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
5885 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
5886 xvcmpnesp, xvcmpnesp.>: Delete tests.
5887 * testsuite/gas/ppc/power9.s: Likewise.
5888 * testsuite/gas/ppc/vsx3.d: Likewise.
5889 * testsuite/gas/ppc/vsx3.s: Likewise.
5891 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
5894 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
5895 * testsuite/gas/m68k/p13050-1.s: New file.
5896 * testsuite/gas/m68k/p13050-2.d: New file.
5897 * testsuite/gas/m68k/p13050-2.s: New file.
5899 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5901 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
5902 * testsuite/gas/arc/add.d: Likewise.
5903 * testsuite/gas/arc/and.d: Likewise.
5904 * testsuite/gas/arc/asl.d: Likewise.
5905 * testsuite/gas/arc/asr.d: Likewise.
5906 * testsuite/gas/arc/bic.d: Likewise.
5907 * testsuite/gas/arc/extb.d: Likewise.
5908 * testsuite/gas/arc/extw.d: Likewise.
5909 * testsuite/gas/arc/j.d: Likewise.
5910 * testsuite/gas/arc/jl.d: Likewise.
5911 * testsuite/gas/arc/ld2.d: Likewise.
5912 * testsuite/gas/arc/lsr.d: Likewise.
5913 * testsuite/gas/arc/mov.d: Likewise.
5914 * testsuite/gas/arc/or.d: Likewise.
5915 * testsuite/gas/arc/pcl-relocs.d: Likewise.
5916 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
5917 * testsuite/gas/arc/pic-relocs.d: Likewise.
5918 * testsuite/gas/arc/plt-relocs.d: Likewise.
5919 * testsuite/gas/arc/rlc.d: Likewise.
5920 * testsuite/gas/arc/ror.d: Likewise.
5921 * testsuite/gas/arc/rrc.d: Likewise.
5922 * testsuite/gas/arc/sbc.d: Likewise.
5923 * testsuite/gas/arc/sda-relocs.d: Likewise.
5924 * testsuite/gas/arc/sda-relocs2.d: Likewise.
5925 * testsuite/gas/arc/sexb.d: Likewise.
5926 * testsuite/gas/arc/sexw.d: Likewise.
5927 * testsuite/gas/arc/st.d: Likewise.
5928 * testsuite/gas/arc/sub.d: Likewise.
5929 * testsuite/gas/arc/tls-relocs.d: Likewise.
5930 * testsuite/gas/arc/xor.d: Likewise.
5932 2016-01-01 Alan Modra <amodra@gmail.com>
5934 Update year range in copyright notice of all files.
5936 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
5938 Copyright (C) 2016 Free Software Foundation, Inc.
5940 Copying and distribution of this file, with or without modification,
5941 are permitted in any medium without royalty provided the copyright
5942 notice and this notice are preserved.
5948 version-control: never