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