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