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