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