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