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