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