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