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