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