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