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