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