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