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