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