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