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