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