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