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