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