opcodes/arc: Fix extract for some add_s instructions
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * testsuite/gas/arc/add_s.d: New file.
4 * testsuite/gas/arc/add_s.s: New file.
5
6 2016-06-14 Graham Markall <graham.markall@embecosm.com>
7
8 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
9 * testsuite/gas/arc/nps400-6.d: Likewise.
10
11 2016-06-14 Graham Markall <graham.markall@embecosm.com>
12
13 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
14 addf.
15 * testsuite/gas/arc/nps400-6.d: Likewise.
16
17 2016-06-14 Graham Markall <graham.markall@embecosm.com>
18
19 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
20 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
21 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
22 * testsuite/gas/arc/nps400-6.d: Likewise.
23
24 2016-06-14 Nick Clifton <nickc@redhat.com>
25
26 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
27 signed constant.
28
29 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
30
31 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
32 JALR relocations on R6.
33 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
34 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
35 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
36 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
37 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
38 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
39 test.
40 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
41 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
42 test.
43 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
44 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
45 source.
46 * testsuite/gas/mips/mips.exp: Run the new tests.
47
48 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
49
50 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
51 * doc/c-aarch64.texi: Document that vulcan is a valid processor
52 name.
53
54 2016-06-13 Nick Clifton <nickc@redhat.com>
55
56 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
57 that are not supported.
58
59 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
60 constant.
61 * config/tc-cr16.c (check_range): Likewise.
62 * config/tc-nios2.c (nios2_check_overflow): Likewise.
63
64 2016-06-08 Renlin Li <renlin.li@arm.com>
65
66 * config/tc-aarch64.c (print_operands): Substitute size.
67 (output_operand_error_record): Likewise.
68
69 2016-06-07 Alan Modra <amodra@gmail.com>
70
71 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
72 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
73 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
74 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
75 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
76 add vle_opcodes twice.
77 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
78
79 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
80
81 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
82 (arm_ext_ras): Renamed from arm_ext_v8_2.
83 (insns): Update for arm_ext_v8_2 renaming.
84 (arm_extensions): Add "ras".
85 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
86 * testsuite/gas/arm/armv8-a+ras.d: New.
87 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
88 options.
89
90 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
91
92 * itbl-parse.y (yyerror): Use modern argument declaration style.
93
94 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
95
96 * config/tc-sh.c (parse_reg): Change type of mode argument to
97 sh_arg_type.
98 (get_operand): Adjust.
99 (insert): Change type of how to bfd_reloc_code_real_type.
100 (insert4): Likewise.
101 * config/tc-sh64.c (shmedia_get_operand): Adjust.
102 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
103
104 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
105
106 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
107 const char *.
108
109 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
110
111 PR binutils/20196
112 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
113 stbcx., sthcx., stwcx., stdcx.>: Add tests.
114 * gas/testsuite/gas/ppc/e6500.d: Likewise.
115 * gas/testsuite/gas/ppc/power8.s: Likewise.
116 * gas/testsuite/gas/ppc/power8.d: Likewise.
117 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
118 stdcx.>: Add tests.
119 * gas/testsuite/gas/ppc/power4.d: Likewise.
120
121 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
122
123 PR binutis/18386
124 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
125 * testsuite/gas/i386/x86-64-branch.d: Updated.
126 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
127 * testsuite/gas/i386/x86-64-branch-4.l: New file.
128 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
129
130 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
131
132 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
133 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
134
135 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
136
137 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
138 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
139
140 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
141
142 * configure.tgt: Replace -uclibc with *.
143
144 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
145
146 * config/tc-arc.c (parse_opcode_flags): New function.
147 (find_opcode_match): Move flag parsing code out to new function.
148 Ignore operands marked IGNORE.
149 (build_fake_opcode_hash_entry): New function.
150 (find_special_case_long_opcode): New function.
151 (find_special_case): Lookup long opcodes.
152 * testsuite/gas/arc/nps400-7.d: New file.
153 * testsuite/gas/arc/nps400-7.s: New file.
154
155 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
156
157 * config/tc-ns32k.c: Remove definition of input_line_pointer.
158
159 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
160
161 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
162 sentinal with iteration to array size.
163
164 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
165
166 * config/xtensa-relax.h: Move typedefs of enums to the enums
167 definition.
168
169 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
170
171 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
172 macro.
173
174 2016-06-01 Graham Markall <graham.markall@embecosm.com>
175
176 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
177 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
178 * testsuite/gas/arc/nps-400-1.d: Likewise.
179
180 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
181
182 PR gas/20145
183 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
184 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
185 noavx512ifma and noavx512vbmi.
186 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
187 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
188 and noavx512vbmi.
189 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
190 * testsuite/gas/i386/noavx512-1.l: New file.
191 * testsuite/gas/i386/noavx512-1.s: Likewise.
192 * testsuite/gas/i386/noavx512-2.l: Likewise.
193 * testsuite/gas/i386/noavx512-2.s: Likewise.
194
195 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
196
197 PR gas/20145
198 * config/tc-i386.c (cpu_arch): Add 687.
199 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
200 nosse4.1, nosse4.2, nosse4 and noavx2.
201 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
202 register. Check cpuregxmm instead of cpusse for XMM register.
203 Check cpuregymm instead of cpuavx for YMM register. Check
204 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
205 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
206 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
207 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
208 * testsuite/gas/i386/arch-10.d (as): Likewise.
209 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
210 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
211 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
212 and noavx-4.
213 * testsuite/gas/i386/no87-3.l: New file.
214 * testsuite/gas/i386/no87-3.s: Likewise.
215 * testsuite/gas/i386/noavx-3.l: Likewise.
216 * testsuite/gas/i386/noavx-3.s: Likewise.
217 * testsuite/gas/i386/noavx-4.d: Likewise.
218 * testsuite/gas/i386/noavx-4.s: Likewise.
219 * testsuite/gas/i386/nosse-4.l: Likewise.
220 * testsuite/gas/i386/nosse-4.s: Likewise.
221 * testsuite/gas/i386/nosse-5.d: Likewise.
222 * testsuite/gas/i386/nosse-5.s: Likewise.
223
224 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
225
226 PR gas/20154
227 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
228 cpuintel64.
229 (match_template): Check Intel64/AMD64 ISA.
230
231 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
232
233 PR gas/20154
234 * config/tc-i386.c (intel64): New.
235 (cpu_flags_match): Set cpuamd64 and cpuintel64.
236 (md_parse_option): Set intel64 instead of cpuamd64 and
237 cpuintel64.
238
239 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
240
241 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
242 cpuno64.
243
244 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
245
246 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
247 * testsuite/gas/ppc/altivec3.s: Likewise.
248 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
249 * testsuite/gas/ppc/power9.s: Likewise.
250
251 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
252
253 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
254 * testsuite/gas/i386/noavx-1.l: Likewise.
255 * testsuite/gas/i386/nommx-1.l: Likewise.
256 * testsuite/gas/i386/nosse-1.l: Likewise.
257 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
258 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
259 * testsuite/gas/i386/noavx-1.s: Likewise.
260 * testsuite/gas/i386/nommx-1.s: Likewise.
261 * testsuite/gas/i386/nosse-1.s: Likewise.
262 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
263
264 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
265
266 * config/tc-metag.c (metag_handle_align): Make the type of noop
267 unsigned char.
268
269 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
270
271 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
272 bfd_reloc_code_real_type.
273
274 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
275
276 PR gas/20140
277 * config/tc-i386.c (cpu_flags_match): Require another match
278 for AVX512VL.
279 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
280 x86-64-avx512vl-1 and x86-64-avx512vl-2.
281 * testsuite/gas/i386/avx512vl-1.l: New file.
282 * testsuite/gas/i386/avx512vl-1.s: Likewise.
283 * testsuite/gas/i386/avx512vl-2.l: Likewise.
284 * testsuite/gas/i386/avx512vl-2.s: Likewise.
285 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
286 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
287 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
288 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
289
290 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
291
292 PR gas/20141
293 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
294 * testsuite/gas/i386/x86-64-pr20141.d: New file.
295 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
296
297 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
298
299 * config/tc-i386.c (arch_entry): Remove negated.
300 (noarch_entry): New struct.
301 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
302 (cpu_noarch): New.
303 (set_cpu_arch): Check cpu_noarch after cpu_arch.
304 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
305 cpu_arch.
306 (output_message): New function.
307 (show_arch): Use it. Handle cpu_noarch.
308 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
309 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
310 * testsuite/gas/i386/noavx-1.l: New file.
311 * testsuite/gas/i386/noavx-1.s: Likewise.
312 * testsuite/gas/i386/noavx-2.s: Likewise.
313 * testsuite/gas/i386/noavx-2.l: Likewise.
314 * testsuite/gas/i386/nommx-1.s: Likewise.
315 * testsuite/gas/i386/nommx-1.l: Likewise.
316 * testsuite/gas/i386/nommx-2.s: Likewise.
317 * testsuite/gas/i386/nommx-2.l: Likewise.
318 * testsuite/gas/i386/nommx-3.s: Likewise.
319 * testsuite/gas/i386/nommx-3.l: Likewise.
320 * testsuite/gas/i386/nosse-1.s: Likewise.
321 * testsuite/gas/i386/nosse-1.l: Likewise.
322 * testsuite/gas/i386/nosse-2.s: Likewise.
323 * testsuite/gas/i386/nosse-2.l: Likewise.
324 * testsuite/gas/i386/nosse-3.s: Likewise.
325 * testsuite/gas/i386/nosse-3.l: Likewise.
326
327 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
328
329 PR target/20067
330 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
331 instruction if supported by the currently selected fpu variant.
332 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
333 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
334
335 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
336
337 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
338 jump relocations against MIPS16 or microMIPS symbols on RELA
339 targets.
340 * testsuite/gas/mips/jalx-local.d: New test.
341 * testsuite/gas/mips/jalx-local-n32.d: New test.
342 * testsuite/gas/mips/jalx-local-n64.d: New test.
343 * testsuite/gas/mips/jalx-local.s: New test source.
344 * testsuite/gas/mips/mips.exp: Run the new tests.
345
346 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
347
348 * config/tc-mips.c (md_apply_fix)
349 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
350 code accordingly.
351
352 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
353
354 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
355 operator to operatorT.
356 (map_suffix_reloc_to_operator): Change return type to operatorT.
357
358 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
359
360 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
361
362 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
363
364 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
365 handler_charp to const char *.
366
367 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
368
369 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
370 (ft32_target_format): Likewise.
371 (TARGET_FORMAT): Adjust.
372
373 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
374
375 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
376 (ia64_frob_label): Likewise.
377
378 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
379
380 * config/tc-cr16.c (check_range): Make type of retval op_err.
381 * config/tc-crx.c: Likewise.
382
383 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
384
385 * config/tc-arc.c (md_begin): Add XY registers.
386 (cpu_types): Code density is default off for ARC EM.
387
388 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
389
390 * config/tc-arc.c (attributes_t): Renamed attribute class to
391 attr_class.
392 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
393
394 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
395
396 * configuse.tgt: Add entry for arm-phoenix.
397
398 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
399
400 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
401
402 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
403
404 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
405
406 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
407
408 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
409 (md_begin): Likewise.
410 (encode_condition): Likewise.
411 (encode_cc3): Likewise.
412 (encode_cc2): Likewise.
413 (encode_operand): Likewise.
414 (tic54x_undefined_symbol): Likewise.
415
416 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
417
418 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
419 p6600 entry.
420 * doc/c-mips.texi: Document p6600 -march option.
421
422 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
423
424 PR gas/19600
425 * config/tc-i386.c (md_apply_fix): Preserve addend for
426 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
427 * testsuite/gas/i386/addend.d: New file.
428 * testsuite/gas/i386/addend.s: Likewise.
429 * testsuite/gas/i386/x86-64-addend.d: Likewise.
430 * testsuite/gas/i386/x86-64-addend.s: Likewise.
431 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
432 * testsuite/gas/i386/reloc32.d: Updated.
433
434 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
435
436 * config/tc-mips.c (append_insn): Correct the encoding of a
437 constant argument for microMIPS JALX.
438 (tc_gen_reloc): Correct the encoding of an in-place addend for
439 microMIPS JALX.
440 * testsuite/gas/mips/jalx-addend.d: New test.
441 * testsuite/gas/mips/jalx-addend-n32.d: New test.
442 * testsuite/gas/mips/jalx-addend-n64.d: New test.
443 * testsuite/gas/mips/jalx-imm.d: New test.
444 * testsuite/gas/mips/jalx-imm-n32.d: New test.
445 * testsuite/gas/mips/jalx-imm-n64.d: New test.
446 * testsuite/gas/mips/jalx-addend.s: New test source.
447 * testsuite/gas/mips/jalx-imm.s: New test source.
448 * testsuite/gas/mips/mips.exp: Run the new tests.
449
450 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
451
452 * config/tc-mips.c: Correct tab-after-space formatting mistakes
453 throughout.
454
455 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
456
457 * config/tc-arc.c (find_opcode_match): Remove casting away of
458 const.
459 * config/tc-arc.h (struct arc_flags): Make flgp field const.
460
461 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
462
463 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
464 appropriate.
465 (md_convert_frag): Likewise.
466
467 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
468
469 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
470 cached opcode to NULL when we reach a non-matching opcode.
471 * testsuite/gas/arc/asm-errors-2.d: New file.
472 * testsuite/gas/arc/asm-errors-2.err: New file.
473 * testsuite/gas/arc/asm-errors-2.s: New file.
474
475 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
476
477 * config/tc-arc.c (tokenize_arguments): Add checks for array
478 overflow.
479 * testsuite/gas/arc/asm-errors.s: Addition test line added.
480 * testsuite/gas/arc/asm-errors.err: Update expected results.
481
482 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
483
484 * config/tc-rx.c (struct cpu_type): Change the type of a field from
485 int to enum rx_cpu_types.
486
487 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
488
489 * config/tc-dlx.c (struct machine_it): change the type of a field from
490 int to bfd_reloc_code_real_type.
491 * config/tc-tic4x.c: Likewise.
492
493 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
494
495 * config/tc-v850.c (v850_target_arch): change type to enum
496 bfd_architecture.
497 * config/tc-v850.h (v850_target_arch): Likewise.
498
499 2016-05-18 Alan Modra <amodra@gmail.com>
500
501 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
502 allowed negative range.
503 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
504 * testsuite/gas/ppc/power9.d: Update.
505
506 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
507
508 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
509 disassembling and stop skipping targets.
510 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
511 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
512 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
513 instruction for targets that have stronger alignment requirement.
514 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
515 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
516 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
517 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
518 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
519 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
520 * testsuite/gas/arm/archv8m-main.d: Likewise.
521 * testsuite/gas/arm/archv8m.s: Add label.
522 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
523 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
524 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
525
526 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
527
528 * config/tc-m32r.c (mach_table): Make static and const.
529
530 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
531
532 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
533 definition.
534
535 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
536
537 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
538 defining it.
539 * config/tc-msp430.c (md_begin): Likewise.
540
541 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
542
543 * config/tc-m68hc11.c (fixup8): Change variables type from int to
544 bfd_reloc_code_real_type where appropriate.
545 (fixup16): Likewise.
546 (fixup8_xg): Likewise.
547
548 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
549
550 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
551
552 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
553
554 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
555 * testsuite/gas/ppc/power9.s: Likewise.
556
557 2016-05-13 Alan Modra <amodra@gmail.com>
558
559 * config/obj-coff.c (weak_uniquify): Delete unused var.
560
561 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
562
563 * app.c (app_push): Use XNEW and related macros.
564 * as.c (parse_args): Likewise.
565 * cgen.c (make_right_shifted_expr): Likewise.
566 (gas_cgen_tc_gen_reloc): Likewise.
567 * config/bfin-defs.h: Likewise.
568 * config/bfin-parse.y: Likewise.
569 * config/obj-coff.c (stack_init): Likewise.
570 (stack_push): Likewise.
571 (coff_obj_symbol_new_hook): Likewise.
572 (coff_obj_symbol_clone_hook): Likewise.
573 (add_lineno): Likewise.
574 (coff_frob_symbol): Likewise.
575 * config/obj-elf.c (obj_elf_section_name): Likewise.
576 (build_group_lists): Likewise.
577 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
578 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
579 * config/tc-aarch64.c (insert_reg_alias): Likewise.
580 (find_or_make_literal_pool): Likewise.
581 (add_to_lit_pool): Likewise.
582 (fill_instruction_hash_table): Likewise.
583 * config/tc-alpha.c (load_expression): Likewise.
584 (emit_jsrjmp): Likewise.
585 (s_alpha_ent): Likewise.
586 (s_alpha_end): Likewise.
587 (s_alpha_linkage): Likewise.
588 (md_begin): Likewise.
589 (tc_gen_reloc): Likewise.
590 * config/tc-arc.c (arc_insert_opcode): Likewise.
591 (arc_extcorereg): Likewise.
592 * config/tc-bfin.c: Likewise.
593 * config/tc-cr16.c: Likewise.
594 * config/tc-cris.c: Likewise.
595 * config/tc-crx.c (preprocess_reglist): Likewise.
596 * config/tc-d10v.c: Likewise.
597 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
598 (frv_tomcat_shuffle): Likewise.
599 * config/tc-h8300.c: Likewise.
600 * config/tc-i370.c (i370_macro): Likewise.
601 * config/tc-i386.c (lex_got): Likewise.
602 (md_parse_option): Likewise.
603 * config/tc-ia64.c (alloc_record): Likewise.
604 (set_imask): Likewise.
605 (save_prologue_count): Likewise.
606 (dot_proc): Likewise.
607 (dot_endp): Likewise.
608 (ia64_frob_label): Likewise.
609 (add_qp_imply): Likewise.
610 (add_qp_mutex): Likewise.
611 (mark_resource): Likewise.
612 (dot_alias): Likewise.
613 * config/tc-m68hc11.c: Likewise.
614 * config/tc-m68k.c (m68k_frob_label): Likewise.
615 (s_save): Likewise.
616 (mri_control_label): Likewise.
617 (push_mri_control): Likewise.
618 (build_mri_control_operand): Likewise.
619 (s_mri_else): Likewise.
620 (s_mri_break): Likewise.
621 (s_mri_next): Likewise.
622 (s_mri_for): Likewise.
623 (s_mri_endw): Likewise.
624 * config/tc-metag.c (create_mnemonic_htab): Likewise.
625 * config/tc-microblaze.c: Likewise.
626 * config/tc-mmix.c (s_loc): Likewise.
627 * config/tc-nds32.c (nds32_relax_hint): Likewise.
628 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
629 * config/tc-rl78.c: Likewise.
630 * config/tc-rx.c (rx_include): Likewise.
631 * config/tc-sh.c: Likewise.
632 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
633 * config/tc-sparc.c: Likewise.
634 * config/tc-spu.c: Likewise.
635 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
636 (tic6x_start_unwind_section): Likewise.
637 * config/tc-tilegx.c: Likewise.
638 * config/tc-tilepro.c: Likewise.
639 * config/tc-v850.c: Likewise.
640 * config/tc-visium.c: Likewise.
641 * config/tc-xgate.c: Likewise.
642 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
643 (new_resource_table): Likewise.
644 (resize_resource_table): Likewise.
645 (xtensa_create_trampoline_frag): Likewise.
646 (xtensa_maybe_create_literal_pool_frag): Likewise.
647 (cache_literal_section): Likewise.
648 * config/xtensa-relax.c (append_transition): Likewise.
649 (append_condition): Likewise.
650 (append_value_condition): Likewise.
651 (append_constant_value_condition): Likewise.
652 (append_literal_op): Likewise.
653 (append_label_op): Likewise.
654 (append_constant_op): Likewise.
655 (append_field_op): Likewise.
656 (append_user_fn_field_op): Likewise.
657 (enter_opname_n): Likewise.
658 (enter_opname): Likewise.
659 (split_string): Likewise.
660 (parse_insn_templ): Likewise.
661 (clone_req_or_option_list): Likewise.
662 (clone_req_option_list): Likewise.
663 (parse_option_cond): Likewise.
664 (parse_insn_pattern): Likewise.
665 (parse_insn_repl): Likewise.
666 (build_transition): Likewise.
667 (build_transition_table): Likewise.
668 * dw2gencfi.c (alloc_fde_entry): Likewise.
669 (alloc_cfi_insn_data): Likewise.
670 (cfi_add_CFA_remember_state): Likewise.
671 (dot_cfi_escape): Likewise.
672 (dot_cfi_fde_data): Likewise.
673 (select_cie_for_fde): Likewise.
674 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
675 * ecoff.c (ecoff_add_bytes): Likewise.
676 (ecoff_build_debug): Likewise.
677 * input-scrub.c (input_scrub_push): Likewise.
678 (input_scrub_begin): Likewise.
679 (input_scrub_next_buffer): Likewise.
680 * itbl-ops.c (append_insns_as_macros): Likewise.
681 (alloc_entry): Likewise.
682 (alloc_field): Likewise.
683 * listing.c (listing_newline): Likewise.
684 (listing_listing): Likewise.
685 * macro.c (get_any_string): Likewise.
686 (delete_macro): Likewise.
687 * stabs.c (generate_asm_file): Likewise.
688 (stabs_generate_asm_lineno): Likewise.
689 * subsegs.c (subseg_change): Likewise.
690 (subseg_get): Likewise.
691 * symbols.c (define_dollar_label): Likewise.
692 (symbol_relc_make_sym): Likewise.
693 * write.c (write_relocs): Likewise.
694
695 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
696
697 * config/obj-coff.c (obj_coff_def): Simplify string copying.
698 (weak_name2altname): Likewise.
699 (weak_uniquify): Likewise.
700 (obj_coff_section): Likewise.
701 (obj_coff_init_stab_section): Likewise.
702 * config/obj-elf.c (obj_elf_section_name): Likewise.
703 (obj_elf_init_stab_section): Likewise.
704 * config/obj-evax.c (evax_shorten_name): Likewise.
705 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
706 * config/tc-aarch64.c (create_register_alias): Likewise.
707 * config/tc-alpha.c (load_expression): Likewise.
708 (s_alpha_file): Likewise.
709 (s_alpha_section_name): Likewise.
710 (tc_gen_reloc): Likewise.
711 * config/tc-arc.c (md_assemble): Likewise.
712 * config/tc-arm.c (create_neon_reg_alias): Likewise.
713 (start_unwind_section): Likewise.
714 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
715 (hppa_elf_mark_end_of_function): Likewise.
716 * config/tc-nios2.c (nios2_modify_arg): Likewise.
717 (nios2_negate_arg): Likewise.
718 * config/tc-rx.c (rx_section): Likewise.
719 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
720 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
721 * config/tc-tic54x.c (tic54x_include): Likewise.
722 (tic54x_macro_info): Likewise.
723 (subsym_get_arg): Likewise.
724 (subsym_substitute): Likewise.
725 (tic54x_start_line_hook): Likewise.
726 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
727 (xg_reverse_shift_count): Likewise.
728 * config/xtensa-relax.c (enter_opname_n): Likewise.
729 (split_string): Likewise.
730 * dwarf2dbg.c (get_filenum): Likewise.
731 (process_entries): Likewise.
732 * expr.c (operand): Likewise.
733 * itbl-ops.c (alloc_entry): Likewise.
734 * listing.c (listing_message): Likewise.
735 (listing_title): Likewise.
736 * macro.c (check_macro): Likewise.
737 * stabs.c (s_xstab): Likewise.
738 * symbols.c (symbol_relc_make_expr): Likewise.
739 * write.c (compress_debug): Likewise.
740
741 2016-05-12 Nick Clifton <nickc@redhat.com>
742
743 PR target/20068
744 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
745
746 2016-05-11 Nick Clifton <nickc@redhat.com>
747
748 PR target/20068
749 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
750 big endian ARM configurations.
751
752 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
753 Matthew Fortune <matthew.fortune@imgtec.com>
754
755 * config/tc-mips.c (options): Add OPTION_DSPR3 and
756 OPTION_NO_DSPR3.
757 (md_longopts): Likewise.
758 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
759 (mips_ases): Define availability for DSPr3.
760 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
761 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
762 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
763 formatting.
764 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
765 .set nodspr3. Fix -mdspr2 formatting.
766 * testsuite/gas/mips/mips32-dspr3.d: New file.
767 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
768 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
769
770 2016-05-11 Nick Clifton <nickc@redhat.com>
771
772 PR target/20068
773 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
774 to the pool uses O_constant.
775 * testsuite/gas/arm/pr20068.s: New test.
776 * testsuite/gas/arm/pr20068.d: Test driver.
777
778 2016-05-11 Nick Clifton <nickc@redhat.com>
779
780 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
781 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
782 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
783 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
784 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
785 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
786 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
787 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
788 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
789
790 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
791
792 * testsuite/gas/i386/i386.exp: Run RDPID tests.
793 * testsuite/gas/i386/prefix.d: Adjust.
794 * testsuite/gas/i386/rdpid.s: New test.
795 * testsuite/gas/i386/rdpid.d: Ditto.
796 * testsuite/gas/i386/rdpid-intel.d: Ditto.
797 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
798 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
799 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
800
801 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
802
803 * config/tc-i386.c (cpu_arch): Add RDPID.
804 * doc/c-i386.texi: Document RDPID.
805
806 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
807
808 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
809 set branch type of a symbol.
810
811 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
812
813 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
814 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
815 instructions.
816 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
817 (aeabi_set_public_attributes): Memorize the feature bits of the
818 architecture selected for Tag_CPU_arch. Use it to set
819 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
820 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
821 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
822 * testsuite/gas/arm/arch7em-bad-1.d: This.
823 * testsuite/gas/arm/arch7em-bad-2.d: New file.
824 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
825 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
826 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
827 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
828 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
829 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
830 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
831
832 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
833
834 * config/tc-arm.c (struct arm_option_extension_value_table): Make
835 allowed_archs an array with 2 entries.
836 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
837 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
838 (arm_extensions): Use separate entries in allowed_archs when several
839 archs are allowed to use an extension and change ARCH_ANY in
840 ARM_ARCH_NONE in allowed_archs.
841 (arm_parse_extension): Check that, for each allowed_archs entry, all
842 bits are set in the current architecture, ignoring ARM_ANY entries.
843 (s_arm_arch_extension): Likewise.
844
845 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
846
847 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
848 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
849 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
850 shared with a non M profile architecture.
851 (do_rn): New function.
852 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
853 than arm_ext_v8m.
854 (v7m_psrs): Add ARMv8-M security extensions new special registers.
855 (insns): Add ARMv8-M Security Extensions instructions.
856 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
857 arm_ext_v8m_m to decide the profile and the Thumb ISA.
858 * testsuite/gas/arm/archv8m-cmse.s: New file.
859 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
860 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
861 * testsuite/gas/arm/any-cmse.d: Likewise.
862 * testsuite/gas/arm/any-cmse-main.d: Likewise.
863 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
864 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
865 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
866 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
867 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
868
869 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
870
871 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
872 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
873
874 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
875
876 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
877 (fpu_arch_vfp_v3): Likewise.
878 (fpu_arch_neon_v1): Likewise.
879 (arm_arch_full): Likewise.
880 (parse_neon_el_struct_list): Initialize fields of firsttype.
881
882 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
883
884 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
885 (arc_extinsn): Handle new introduced syntax.
886 * testsuite/gas/arc/textinsn1op.d: New file.
887 * testsuite/gas/arc/textinsn1op.s: Likewise.
888 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
889
890 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
891
892 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
893 DW_LNS_fixed_advance_pc.
894
895 2016-04-27 Alan Modra <amodra@gmail.com>
896
897 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
898 (xmemdup0): New inline function.
899
900 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
901
902 * config/tc-mips.c (code_option_type): New enum.
903 (parse_code_option): Return status indicating option type.
904 (s_mipsset): Update `parse_code_option' call site accordingly.
905 Always set register sizes from the ISA with ISA overrides.
906 (s_module): Update `parse_code_option' call site.
907 * testsuite/gas/mips/isa-override-1.d: New test.
908 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
909 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
910 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
911 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
912 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
913 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
914 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
915 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
916 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
917 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
918 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
919 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
920 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
921 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
922 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
923 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
924 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
925 * testsuite/gas/mips/isa-override-2.l: New list test.
926 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
927 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
928 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
929 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
930 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
931 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
932 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
933 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
934 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
935 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
936 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
937 output.
938 * testsuite/gas/mips/isa-override-1.s: New test source.
939 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
940 * testsuite/gas/mips/isa-override-2.s: New test source.
941 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
942 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
943 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
944 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
945 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
946 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
947 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
948 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
949 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
950 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
951 * testsuite/gas/mips/mips.exp: Run the new tests.
952
953 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
954
955 * cgen.c: Likewise.
956 * config/tc-bfin.c: Likewise.
957 * config/tc-ia64.c: Likewise.
958 * config/tc-mep.c: Likewise.
959 * config/tc-metag.c: Likewise.
960 * config/tc-nios2.c: Likewise.
961 * config/tc-rl78.c: Likewise.
962
963 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
964
965 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
966 -mcpu. Add cross reference to .cpu directive from -mcpu option.
967 (ARC Directives): Add NPS400 to .cpu directive list.
968
969 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
970
971 * config/tc-aarch64.c (aarch64_features): Add "ras".
972 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
973 * testsuite/gas/aarch64/armv8-ras-1.d: New.
974 * testsuite/gas/aarch64/armv8-ras-1.s: New.
975 * testsuite/gas/aarch64/illegal-ras-1.d: New.
976 * testsuite/gas/aarch64/illegal-ras-1.s: New.
977
978 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
979
980 * testsuite/gas/arc/nps400-6.d: New file.
981 * testsuite/gas/arc/nps400-6.s: New file.
982
983 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
984
985 * testsuite/gas/arc/nps400-4.d: New file.
986 * testsuite/gas/arc/nps400-4.s: New file.
987 * testsuite/gas/arc/nps400-5.d: New file.
988 * testsuite/gas/arc/nps400-5.s: New file.
989
990 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
991
992 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
993 documentation.
994
995 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
996
997 Revert prevous change.
998 * config/tc-arc.c (arc_option): Make .cpu directive
999 case-sensitive again.
1000
1001 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1002
1003 * config/tc-arc.c (arc_option): Make .cpu directive
1004 case-insensitive.
1005
1006 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1007
1008 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1009
1010 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1011
1012 * config/tc-mips.c (md_begin): Remove useless assignment.
1013
1014 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1015
1016 * Makefile.in: Regenerated with automake 1.11.6.
1017 * aclocal.m4: Likewise.
1018 * doc/Makefile.in: Likewise.
1019
1020 2016-04-15 Alan Modra <amodra@gmail.com>
1021
1022 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1023
1024 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1025
1026 * config/tc-nios2.c (nios2_as_options): Make file static.
1027 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1028 * config/tc-sparc.c (native_op_table): Likewise.
1029
1030 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1031
1032 * config/tc-m32c.c (M32C_Macros): Remove.
1033 * config/tc-msp430.c (option_numbers): Likewise.
1034
1035 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1036
1037 * testsuite/gas/arc/nps400-3.d: New file.
1038 * testsuite/gas/arc/nps400-3.s: New file.
1039
1040 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1041
1042 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1043 * testsuite/gas/arc/warn.s: Likewise.
1044 * testsuite/gas/elf/elf.exp: Run test for arc.
1045
1046 2016-04-14 Nick Clifton <nickc@redhat.com>
1047
1048 PR target/19938
1049 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1050 sections possibly having the SHF_STRINGS flag bit set.
1051 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1052
1053 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1054
1055 * config/tc-arc.c (mach_type_specified_p): Change type to
1056 bfd_boolean.
1057 (arc_option): Set private flags when parsing cpu pseudo-op.
1058 (md_parse_option): Set mach_type_specified_p to TRUE.
1059
1060 2016-04-13 Nick Clifton <nickc@redhat.com>
1061
1062 PR target/19937
1063 * testsuite/gas/v850/pr19937.s: New test.
1064 * testsuite/gas/v850/pr19937.d: New test control file.
1065 * testsuite/gas/v850/basic.exp: Run the new test.
1066
1067 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1068 Andrew Bennett <andrew.bennett@imgtec.com>
1069
1070 * config/tc-mips.c (relaxed_branch_length): Use the long
1071 sequence where the target is a weak symbol.
1072 (relaxed_micromips_32bit_branch_length): Likewise.
1073 (relaxed_micromips_16bit_branch_length): Likewise.
1074 * testsuite/gas/mips/branch-weak-1.d: New test.
1075 * testsuite/gas/mips/branch-weak-2.d: New test.
1076 * testsuite/gas/mips/branch-weak-3.d: New test.
1077 * testsuite/gas/mips/branch-weak-4.d: New test.
1078 * testsuite/gas/mips/branch-weak-5.d: New test.
1079 * testsuite/gas/mips/branch-weak.l: New stderr output.
1080 * testsuite/gas/mips/branch-weak.s: New test source.
1081 * testsuite/gas/mips/mips.exp: Run the new tests.
1082
1083 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1084
1085 * config/tc-mips.c (relaxed_branch_length): Use the long
1086 sequence where the distance cannot be determined.
1087 (relaxed_micromips_32bit_branch_length): Likewise.
1088 * testsuite/gas/mips/branch-extern-1.d: New test.
1089 * testsuite/gas/mips/branch-extern-2.d: New test.
1090 * testsuite/gas/mips/branch-extern-3.d: New test.
1091 * testsuite/gas/mips/branch-extern-4.d: New test.
1092 * testsuite/gas/mips/branch-extern.l: New stderr output.
1093 * testsuite/gas/mips/branch-extern.s: New test source.
1094 * testsuite/gas/mips/branch-section-1.d: New test.
1095 * testsuite/gas/mips/branch-section-2.d: New test.
1096 * testsuite/gas/mips/branch-section-3.d: New test.
1097 * testsuite/gas/mips/branch-section-4.d: New test.
1098 * testsuite/gas/mips/branch-section.l: New stderr output.
1099 * testsuite/gas/mips/branch-section.s: New test source.
1100 * testsuite/gas/mips/mips.exp: Run the new tests.
1101
1102 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1103
1104 * testsuite/gas/arc/textauxregister.d: New file.
1105 * testsuite/gas/arc/textauxregister.s: Likewise.
1106 * testsuite/gas/arc/textcondcode.d: Likewise.
1107 * testsuite/gas/arc/textcondcode.s: Likewise.
1108 * testsuite/gas/arc/textcoreregister.d: Likewise.
1109 * testsuite/gas/arc/textcoreregister.s: Likewise.
1110 * testsuite/gas/arc/textpseudoop.d: Likewise.
1111 * testsuite/gas/arc/textpseudoop.s: Likewise.
1112 * testsuite/gas/arc/ld2.d: Update test.
1113 * testsuite/gas/arc/st.d: Likewise.
1114 * testsuite/gas/arc/taux.d: Likewise.
1115 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1116 .extCoreRegister and .extAuxRegister documentation.
1117 * config/tc-arc.c (arc_extcorereg): New function.
1118 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1119 .extAuxRegister pseudo-ops.
1120 (extRegister_t): New type.
1121 (ext_condcode, arc_aux_hash): New global variable.
1122 (find_opcode_match): Check for extensions.
1123 (preprocess_operands): Likewise.
1124 (md_begin): Add aux registers in a hash.
1125 (assemble_insn): Update use arc_flags member.
1126 (tokenize_extregister): New function.
1127 (create_extcore_section): Likewise.
1128 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1129
1130 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1131
1132 * testsuite/gas/arc/noargs_a7.d: New file.
1133 * testsuite/gas/arc/noargs_a7.s: Likewise.
1134 * testsuite/gas/arc/noargs_hs.d: Likewise.
1135 * testsuite/gas/arc/noargs_hs.s: Likewise.
1136
1137 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1138
1139 * testsuite/gas/arc/textinsn-errors.d: New File.
1140 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1141 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1142 * testsuite/gas/arc/textinsn2op.d: Likewise.
1143 * testsuite/gas/arc/textinsn2op.s: Likewise.
1144 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1145 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1146 * testsuite/gas/arc/textinsn3op.d: Likewise.
1147 * testsuite/gas/arc/textinsn3op.s: Likewise.
1148 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1149 documentation.
1150 * config/tc-arc.c (arcext_section): New variable.
1151 (arc_extinsn): New function.
1152 (md_pseudo_table): Add .extInstruction pseudo op.
1153 (attributes_t): New type.
1154 (suffixclass, syntaxclass, syntaxclassmod): New constant
1155 structures.
1156 (find_opcode_match): Remove arc_num_opcodes.
1157 (md_begin): Likewise.
1158 (tokenize_extinsn): New function.
1159 (arc_set_ext_seg): Likewise.
1160 (create_extinst_section): Likewise.
1161
1162 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1163
1164 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1165 (arc_adjust_symtab): New function.
1166 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1167 (obj_adjust_symtab): Likewise.
1168 * testsuite/gas/arc/taux.d: New file.
1169 * testsuite/gas/arc/taux.s: Likewise.
1170
1171 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1172
1173 * config/tc-mips.c (s_option): Sanitize `.option picX'
1174 pseudo-op.
1175 * testsuite/gas/mips/option-pic-1.d: New test.
1176 * testsuite/gas/mips/option-pic-2.l: New list test.
1177 * testsuite/gas/mips/option-pic-1.s: New test source.
1178 * testsuite/gas/mips/option-pic-2.s: New test source.
1179 * testsuite/gas/mips/mips.exp: Run the new tests.
1180
1181 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1182
1183 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1184 PIC.
1185 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1186 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1187 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1188 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1189 * testsuite/gas/mips/mips.exp: Run the new tests.
1190
1191 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1192
1193 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1194
1195 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1196
1197 * messages.c (as_bad): Fix a typo in description.
1198
1199 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1200
1201 * config/tc-mips.c (mips_check_options): Unify messages.
1202
1203 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1204
1205 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1206 consistently.
1207
1208 2016-04-08 Nick Clifton <nickc@redhat.com>
1209
1210 PR target/19910
1211 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1212 COFF and AOUT sparc targets.
1213
1214 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1215
1216 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1217 * testsuite/gas/arc/nps400-2.d: New file.
1218 * testsuite/gas/arc/nps400-2.s: New file.
1219
1220 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1221
1222 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1223 structure.
1224 (arc_opcode_hash_entry_iterator_init): New function.
1225 (arc_opcode_hash_entry_iterator_next): New function.
1226 (find_opcode_match): Iterate over all arc_opcode entries
1227 referenced by the arc_opcode_hash_entry passed in as a parameter.
1228
1229 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1230
1231 * config/tc-arc.c (arc_find_opcode): Now returns
1232 arc_opcode_hash_entry pointer.
1233 (find_opcode_match): Update argument type, extract arc_opcode from
1234 incoming arc_opcode_hash_entry.
1235 (find_special_case_pseudo): Update return type.
1236 (find_special_case_flag): Update return type.
1237 (find_special_case): Update return type.
1238 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1239 instruction mnemonic, then use find_opcode_match to identify
1240 specific arc_opcode.
1241
1242 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1243
1244 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1245 (arc_find_opcode): New function.
1246 (find_special_case_pseudo): Use arc_find_opcode.
1247 (find_special_case_flag): Likewise.
1248 (assemble_tokens): Likewise.
1249 (md_begin): Build hash using struct arc_opcode_hash_entry.
1250
1251 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1252
1253 * config/tc-arc.c (arc_option): Prepare string for automatic
1254 translation.
1255 (declare_register): Likewise.
1256
1257 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1258
1259 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1260 Correct entry for RDMA. Alpha sort entries.
1261
1262 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1263
1264 * config/tc-arc.c (tokenize_flags): Allow greater range of
1265 characters into flag names.
1266
1267 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1268
1269 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1270 new de_fault label.
1271 (preprocess_operands): Delete.
1272 (assemble_tokens): Remove call to preprocess_operands.
1273
1274 2016-04-07 Nick Clifton <nickc@redhat.com>
1275
1276 PR gas/19910
1277 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1278 inside a %-macro could not be fully parsed.
1279 * expr.c (integer_constant): Accept and ignore U suffixes to
1280 integers.
1281 (operand): When a missing closing parenthesis is encountered,
1282 report the character that was found instead.
1283 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1284 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1285 * testsuite/gas/sparc/pr19910-1.s: New test.
1286 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1287 * testsuite/gas/sparc/pr19910-2.s: New test.
1288 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1289
1290 2016-04-06 Nick Clifton <nickc@redhat.com>
1291
1292 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1293 an EINT instruction. Warn/fix as necessary.
1294 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1295 * testsuite/gas/msp430/bad.l: Update expected messages.
1296
1297 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1298
1299 * testsuite/gas/arc/nps400-1.d: Update expected results.
1300 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1301
1302 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1303
1304 * config/tc-arc.c (is_code_density_p): Compare directly the
1305 subclass field.
1306 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1307 (check_cpu_feature): New function.
1308 (find_opcode_match): Use check_cpu_feature function.
1309 (preprocess_operands): Likewise.
1310 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1311 * testsuite/gas/arc/tdpfp.d: New file.
1312 * testsuite/gas/arc/tfpuda.d: Likewise.
1313 * testsuite/gas/arc/tfpx.s: Likewise.
1314
1315 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1316
1317 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1318 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1319 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1320 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1321 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1322 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1323 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1324 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1325 for Thumb.
1326 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1327
1328 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1329
1330 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1331 JUMP instructions type.
1332 * testsuite/gas/arc/relocs-errors.d: New file.
1333 * testsuite/gas/arc/relocs-errors.err: Likewise.
1334 * testsuite/gas/arc/relocs-errors.s: Likewise.
1335
1336 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1337
1338 PR gas/19909
1339 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1340 only if i.disp_encoding != disp_encoding_32bit.
1341 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1342 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1343 * gas/testsuite/gas/i386/disp32.d: Updated.
1344 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1345
1346 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1347
1348 PR gas/19498
1349 * testsuite/gas/i386/i386.exp: Run pr19498.
1350 * testsuite/gas/i386/pr19498.d: New file.
1351 * testsuite/gas/i386/pr19498.s: Likewise.
1352
1353 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1354
1355 * config/tc-arc.h: Include 'opcode/arc.h'.
1356 (MAX_INSN_ARGS): Delete.
1357 (MAX_INSN_FLGS): Delete.
1358
1359 2016-04-04 Alan Modra <amodra@gmail.com>
1360
1361 PR 19498
1362 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1363 from function on all paths that set sy_resolving.
1364
1365 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1366
1367 * app.c (app_push): use XNEW macro.
1368 * as.c: Likewise.
1369 * config/obj-elf.c (obj_elf_change_section): Likewise.
1370 (elf_copy_symbol_attributes): Likewise.
1371 (obj_elf_size): Likewise.
1372 (build_group_lists): Likewise.
1373 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1374 (md_assemble): Likewise.
1375 (tc_gen_reloc): Likewise.
1376 (get_upper_str): Likewise.
1377 (aarch64_parse_features): Likewise.
1378 * config/tc-arm.c (insert_reg_alias): Likewise.
1379 (insert_neon_reg_alias): Likewise.
1380 (find_or_make_literal_pool): Likewise.
1381 (s_arm_elf_cons): Likewise.
1382 (add_unwind_opcode): Likewise.
1383 (arm_parse_extension): Likewise.
1384 * config/tc-avr.c (create_record_for_frag): Likewise.
1385 * config/tc-crx.c: Likewise.
1386 * config/tc-d30v.c: Likewise.
1387 * config/tc-dlx.c (s_proc): Likewise.
1388 * config/tc-ft32.c: Likewise.
1389 * config/tc-h8300.c: Likewise.
1390 * config/tc-hppa.c (pa_proc): Likewise.
1391 (create_new_space): Likewise.
1392 (create_new_subspace): Likewise.
1393 * config/tc-i860.c: Likewise.
1394 * config/tc-i960.c: Likewise.
1395 * config/tc-ia64.c: Likewise.
1396 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1397 (iq2000_record_hi16): Likewise.
1398 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1399 * config/tc-m32r.c (debug_sym): Likewise.
1400 (m32r_record_hi16): Likewise.
1401 * config/tc-m68k.c (m68k_ip): Likewise.
1402 (md_begin): Likewise.
1403 * config/tc-mcore.c: Likewise.
1404 * config/tc-microblaze.c (check_got): Likewise.
1405 * config/tc-mips.c (append_insn): Likewise.
1406 (s_mipsset): Likewise.
1407 (mips_record_label): Likewise.
1408 (s_mips_end): Likewise.
1409 * config/tc-mmix.c (mmix_frob_file): Likewise.
1410 * config/tc-mn10200.c: Likewise.
1411 * config/tc-mn10300.c: Likewise.
1412 * config/tc-moxie.c: Likewise.
1413 * config/tc-msp430.c: Likewise.
1414 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1415 * config/tc-ns32k.c: Likewise.
1416 * config/tc-or1k.c: Likewise.
1417 * config/tc-pdp11.c: Likewise.
1418 * config/tc-pj.c (fake_opcode): Likewise.
1419 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1420 (ppc_macro): Likewise.
1421 (ppc_dwsect): Likewise.
1422 (ppc_machine): Likewise.
1423 * config/tc-rl78.c (rl78_frag_init): Likewise.
1424 * config/tc-rx.c (rx_frag_init): Likewise.
1425 * config/tc-s390.c (s390_lit_suffix): Likewise.
1426 (s390_machine): Likewise.
1427 (s390_machinemode): Likewise.
1428 * config/tc-score.c (s3_insert_reg): Likewise.
1429 (s3_gen_reloc): Likewise.
1430 * config/tc-score7.c (s7_insert_reg): Likewise.
1431 (s7_gen_reloc): Likewise.
1432 * config/tc-tic30.c (tic30_operand): Likewise.
1433 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1434 * config/tc-tic54x.c (stag_add_field): Likewise.
1435 (tic54x_struct): Likewise.
1436 (tic54x_space): Likewise.
1437 (tic54x_field): Likewise.
1438 (tic54x_mlib): Likewise.
1439 (subsym_substitute): Likewise.
1440 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1441 * config/tc-vax.c: Likewise.
1442 * config/tc-xc16x.c: Likewise.
1443 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1444 (directive_push): Likewise.
1445 (xtensa_begin_directive): Likewise.
1446 (tokenize_arguments): Likewise.
1447 (xtensa_add_literal_sym): Likewise.
1448 (new_resource_table): Likewise.
1449 (resize_resource_table): Likewise.
1450 (emit_single_op): Likewise.
1451 (xtensa_create_trampoline_frag): Likewise.
1452 (xtensa_maybe_create_literal_pool_frag): Likewise.
1453 (xtensa_add_config_info): Likewise.
1454 (xtensa_realloc_fixup_cache): Likewise.
1455 (add_subseg_info): Likewise.
1456 (cache_literal_section): Likewise.
1457 (add_xt_block_frags): Likewise.
1458 (add_xt_prop_frags): Likewise.
1459 (init_op_placement_info_table): Likewise.
1460 (build_section_rename): Likewise.
1461 * config/tc-z80.c: Likewise.
1462 * config/tc-z8k.c: Likewise.
1463 * depend.c (register_dependency): Likewise.
1464 * dwarf2dbg.c (get_line_subseg): Likewise.
1465 (dwarf2_gen_line_info_1): Likewise.
1466 (get_filenum): Likewise.
1467 * ecoff.c (allocate_scope): Likewise.
1468 (allocate_vlinks): Likewise.
1469 (allocate_shash): Likewise.
1470 (allocate_thash): Likewise.
1471 (allocate_tag): Likewise.
1472 (allocate_forward): Likewise.
1473 (allocate_thead): Likewise.
1474 (allocate_lineno_list): Likewise.
1475 * expr.c (make_expr_symbol): Likewise.
1476 * hash.c (hash_new_sized): Likewise.
1477 * input-file.c (input_file_push): Likewise.
1478 * listing.c (file_info): Likewise.
1479 (listing_newline): Likewise.
1480 * macro.c (new_formal): Likewise.
1481 (define_macro): Likewise.
1482 * remap.c (add_debug_prefix_map): Likewise.
1483 * symbols.c (symbol_find_noref): Likewise.
1484 (define_dollar_label): Likewise.
1485 (fb_label_instance_inc): Likewise.
1486 (symbol_relc_make_value): Likewise.
1487
1488 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1489
1490 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1491 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1492 (ppc_znop): Likewise.
1493 (ppc_pe_section): Likewise.
1494 (ppc_frob_symbol): Likewise.
1495 * config/tc-tic30.c (tic30_operand): Likewise.
1496 * config/tc-tic4x.c (tic4x_sect): Likewise.
1497 (tic4x_usect): Likewise.
1498
1499 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1500
1501 * config/tc-alpha.c: Const qualify FLT_CHARS.
1502 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1503 * config/tc-cris.h: Likewise.
1504 * expr.c: Likewise.
1505 * config/tc-mmix.c (md_atof): Adjust comment.
1506 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1507 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1508
1509 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1510
1511 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1512 * config/tc-score7.c (s7_gen_reloc): Likewise.
1513
1514 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1515
1516 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1517 bfd_reloc_code_real_type.
1518
1519 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1520
1521 * config/bfin-parse.y (current_inputline): Remove definition.
1522 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1523
1524 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1525
1526 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1527 strings.
1528
1529 2016-04-02 Alan Modra <amodra@gmail.com>
1530
1531 PR 19896
1532 * read.c (assign_symbol): Consume rest of line after an error
1533 rather than continuing to process the line.
1534
1535 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1536
1537 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1538 (MAX_FLAG_NAME_LENGTH): ...this.
1539 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1540 * config/tc-arc.c (tokenize_flags): Likewise.
1541
1542 2016-04-01 Alan Modra <amodra@gmail.com>
1543
1544 * cgen.c (weak_operand_overflow_check): Return const char*.
1545 * messages.c (as_internal_value_out_of_range): Formatting.
1546 (as_warn_value_out_of_range): Consify prefix param.
1547 (as_bad_value_out_of_range): Likewise.
1548 * read.c (s_errwarn): Constify msg..
1549 (s_float_space, float_cons): ..and err.
1550 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1551 ieee_md_atof, vax_md_atof): Update prototypes.
1552 * tc.h (md_atof): Update prototype.
1553 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1554 * config/atof-vax.c (vax_md_atof): Likewise.
1555 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1556 * config/tc-aarch64.c (md_atof): Return const char*.
1557 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1558 (s_alpha_comm): Constify sec_name.
1559 (section_name): Constify.
1560 (s_alpha_section): Consify name..
1561 (alpha_elf_section_letter): ..and ptr_msg param..
1562 (md_atof): ..and return.
1563 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1564 * config/tc-arc.c (md_atof): Return const char*.
1565 * config/tc-arm.c (md_atof): Likewise.
1566 * config/tc-avr.c (md_atof): Likewise.
1567 * config/tc-bfin.c (md_atof): Likewise.
1568 * config/tc-cr16.c (md_atof): Likewise.
1569 * config/tc-cris.c (md_atof): Likewise.
1570 * config/tc-crx.c (md_atof): Likewise.
1571 * config/tc-d10v.c (md_atof): Likewise.
1572 * config/tc-d30v.c (md_atof): Likewise.
1573 * config/tc-dlx.c (md_atof): Likewise.
1574 * config/tc-epiphany.c (md_atof): Likewise.
1575 * config/tc-fr30.c (md_atof): Likewise.
1576 * config/tc-frv.c (md_atof): Likewise.
1577 * config/tc-ft32.c (md_atof): Likewise.
1578 * config/tc-h8300.c (md_atof): Likewise.
1579 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1580 (struct default_space_dict): Likewise.
1581 (create_new_space): Constify name param.
1582 (create_new_subspace): Likewise.
1583 (is_defined_space, is_defined_subspace): Likewise.
1584 (pa_parse_space_stmt): Constify space_name param.
1585 (md_atof): Return const char*.
1586 (pa_spaces_begin): Constify name.
1587 * config/tc-i370.c (md_atof): Return const char*.
1588 * config/tc-i386.c (md_atof): Likewise.
1589 (x86_64_section_letter): Constify ptr_msg param.
1590 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1591 * config/tc-i860.c (struct i860_it): Constify error.
1592 (md_atof): Return const char*.
1593 * config/tc-i960.c (md_atof): Likewise.
1594 * config/tc-ia64.c (md_atof): Likewise.
1595 (ia64_elf_section_letter): Constify ptr_msg param.
1596 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1597 * config/tc-ip2k.c (md_atof): Return const char*.
1598 * config/tc-iq2000.c (md_atof): Likewise.
1599 * config/tc-lm32.c (md_atof): Likewise.
1600 * config/tc-m32c.c (md_atof): Likewise.
1601 * config/tc-m32r.c (md_atof): Likewise.
1602 * config/tc-m68hc11.c (md_atof): Likewise.
1603 * config/tc-m68k.c (md_atof): Likewise.
1604 * config/tc-mcore.c (md_atof): Likewise.
1605 * config/tc-mep.c (md_atof): Likewise.
1606 (mep_elf_section_letter): Constify ptr_msg param.
1607 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1608 * config/tc-metag.c (md_atof): Return const char*.
1609 * config/tc-microblaze.c (md_atof): Likewise.
1610 * config/tc-microblaze.h (md_atof): Delete prototype.
1611 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1612 (md_atof): Return const char*.
1613 * config/tc-mmix.c (md_atof): Likewise.
1614 * config/tc-mn10200.c (md_atof): Likewise.
1615 * config/tc-mn10300.c (md_atof): Likewise.
1616 * config/tc-moxie.c (md_atof): Likewise.
1617 * config/tc-msp430.c (md_atof): Likewise.
1618 * config/tc-mt.c (md_atof): Likewise.
1619 * config/tc-nds32.c (md_atof): Likewise.
1620 * config/tc-nios2.c (md_atof): Likewise.
1621 (nios2_elf_section_letter): Constify ptr_msg param.
1622 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1623 * config/tc-ns32k.c (md_atof): Return const char*.
1624 * config/tc-or1k.c (md_atof): Likewise.
1625 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1626 (md_atof): Return const char*.
1627 * config/tc-pj.c (md_atof): Likewise.
1628 * config/tc-ppc.c (md_atof): Likewise.
1629 * config/tc-rl78.c (md_atof): Likewise.
1630 * config/tc-rx.c (md_atof): Likewise.
1631 * config/tc-s390.c (md_atof): Likewise.
1632 * config/tc-score.c (s3_atof, md_atof): Likewise.
1633 * config/tc-sh.c (md_atof): Likewise.
1634 * config/tc-sparc.c (struct sparc_it): Constify error.
1635 (md_atof): Return const char*.
1636 * config/tc-spu.c (md_atof): Likewise.
1637 * config/tc-tic30.c (md_atof): Likewise.
1638 * config/tc-tic4x.c (md_atof): Likewise.
1639 * config/tc-tic54x.c (md_atof): Likewise.
1640 * config/tc-tic6x.c (md_atof): Likewise.
1641 * config/tc-tilegx.c (md_atof): Likewise.
1642 * config/tc-tilepro.c (md_atof): Likewise.
1643 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1644 * config/tc-vax.c (md_atof): Likewise.
1645 * config/tc-visium.c (md_atof): Likewise.
1646 * config/tc-xc16x.c (md_atof): Likewise.
1647 * config/tc-xgate.c (md_atof): Likewise.
1648 * config/tc-xstormy16.c (md_atof): Likewise.
1649 * config/tc-xtensa.c (md_atof): Likewise.
1650 * config/tc-z80.c (md_atof): Likewise.
1651 * config/tc-z8k.c (md_atof): Likewise.
1652
1653 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1654
1655 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1656 const.
1657 (xtensa_section_rename): Make argument type const char *.
1658 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1659
1660 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1661
1662 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1663 args[0].
1664
1665 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1666
1667 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1668 char *.
1669 (m32c_indirect_operand): Likewise.
1670 * config/tc-nds32.c (do_pseudo_b): Likewise.
1671 (do_pseudo_bal): Likewise.
1672 (do_pseudo_ls_bhw): Likewise.
1673
1674 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1675
1676 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1677
1678 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1679
1680 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1681 get_symbol_name ().
1682 * config/tc-sparc.c (s_register): Cast a literal to char * in
1683 assignment.
1684
1685 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1686
1687 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1688 input_line_pointer.
1689 * config/tc-m32r.c (expand_debug_syms): Likewise.
1690 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1691 * config/tc-z80.c (md_begin): Likewise.
1692 * stabs.c (stabs_generate_asm_func): Likewise.
1693
1694 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1695
1696 * cgen.c: Modernize the way functions declare arguments.
1697 * config/tc-bfin.c: Likewise.
1698 * config/tc-pdp11.c: Likewise.
1699 * literal.c: Likewise.
1700 * read.c: Likewise.
1701 * stabs.c: Likewise.
1702
1703 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1704
1705 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1706 variables unsigned char[].
1707 * config/tc-alpha.c (alpha_handle_align): Likewise.
1708 * config/tc-arm.c (arm_handle_align): Likewise.
1709 * config/tc-z80.c: Likewise.
1710
1711 2016-03-30 Nick Clifton <nickc@redhat.com>
1712
1713 PR target/19880
1714 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1715 shifting.
1716
1717 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1718
1719 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1720 * testsuite/gas/elf/elf.exp: Likewise.
1721 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1722
1723 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1724
1725 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1726
1727 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1728
1729 * testsuite/gas/arc/ext2op.d: New file.
1730 * testsuite/gas/arc/ext2op.s: Likewise.
1731 * testsuite/gas/arc/ext3op.d: Likewise.
1732 * testsuite/gas/arc/ext3op.s: Likewise.
1733
1734 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1735
1736 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1737 qualifier.
1738 * config/tc-alpha.c (md_parse_option): Likewise.
1739 * config/tc-arc.c (md_parse_option): Likewise.
1740 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1741 (md_parse_option): Likewise.
1742 * config/tc-avr.c (md_parse_option): Likewise.
1743 * config/tc-bfin.c (md_parse_option): Likewise.
1744 * config/tc-cr16.c (md_parse_option): Likewise.
1745 * config/tc-cris.c (s_cris_arch): Likewise.
1746 (md_parse_option): Likewise.
1747 * config/tc-crx.c (md_parse_option): Likewise.
1748 * config/tc-d10v.c (md_parse_option): Likewise.
1749 * config/tc-d30v.c (md_parse_option): Likewise.
1750 * config/tc-dlx.c (md_parse_option): Likewise.
1751 * config/tc-epiphany.c (md_parse_option): Likewise.
1752 * config/tc-fr30.c (md_parse_option): Likewise.
1753 * config/tc-frv.c (md_parse_option): Likewise.
1754 * config/tc-ft32.c (md_parse_option): Likewise.
1755 * config/tc-h8300.c (md_parse_option): Likewise.
1756 * config/tc-hppa.c (md_parse_option): Likewise.
1757 * config/tc-i370.c (md_parse_option): Likewise.
1758 * config/tc-i386.c (md_parse_option): Likewise.
1759 * config/tc-i860.c (md_parse_option): Likewise.
1760 * config/tc-i960.c (md_parse_option): Likewise.
1761 * config/tc-ia64.c (md_parse_option): Likewise.
1762 * config/tc-ip2k.c (md_parse_option): Likewise.
1763 * config/tc-iq2000.c (md_parse_option): Likewise.
1764 * config/tc-lm32.c (md_parse_option): Likewise.
1765 * config/tc-m32c.c (md_parse_option): Likewise.
1766 * config/tc-m32r.c (md_parse_option): Likewise.
1767 * config/tc-m68hc11.c (md_parse_option): Likewise.
1768 * config/tc-m68k.c (md_parse_option): Likewise.
1769 * config/tc-mcore.c (md_parse_option): Likewise.
1770 * config/tc-mep.c (md_parse_option): Likewise.
1771 * config/tc-metag.c (struct metag_long_option): Likewise.
1772 (md_parse_option): Likewise.
1773 * config/tc-microblaze.c (md_parse_option): Likewise.
1774 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1775 * config/tc-mips.c (md_parse_option): Adjust.
1776 * config/tc-mmix.c (md_parse_option): Likewise.
1777 * config/tc-mn10200.c (md_parse_option): Likewise.
1778 * config/tc-mn10300.c (md_parse_option): Likewise.
1779 * config/tc-moxie.c (md_parse_option): Likewise.
1780 * config/tc-msp430.c (md_parse_option): Likewise.
1781 * config/tc-mt.c (md_parse_option): Likewise.
1782 * config/tc-nds32.c (md_parse_option): Likewise.
1783 * config/tc-nds32.h (nds32_parse_option): Likewise.
1784 * config/tc-nios2.c (md_parse_option): Likewise.
1785 * config/tc-ns32k.c (md_parse_option): Likewise.
1786 * config/tc-or1k.c (md_parse_option): Likewise.
1787 * config/tc-pdp11.c (md_parse_option): Likewise.
1788 * config/tc-pj.c (md_parse_option): Likewise.
1789 * config/tc-ppc.c (md_parse_option): Likewise.
1790 * config/tc-rl78.c (md_parse_option): Likewise.
1791 * config/tc-rx.c (md_parse_option): Likewise.
1792 * config/tc-s390.c (s390_parse_cpu): Likewise.
1793 * config/tc-score.c (md_parse_option): Likewise.
1794 * config/tc-sh.c (md_parse_option): Likewise.
1795 * config/tc-sparc.c (md_parse_option): Likewise.
1796 * config/tc-spu.c (md_parse_option): Likewise.
1797 * config/tc-tic30.c (md_parse_option): Likewise.
1798 * config/tc-tic4x.c (md_parse_option): Likewise.
1799 * config/tc-tic54x.c (md_parse_option): Likewise.
1800 * config/tc-tic6x.c (md_parse_option): Likewise.
1801 * config/tc-tilegx.c (md_parse_option): Likewise.
1802 * config/tc-tilepro.c (md_parse_option): Likewise.
1803 * config/tc-v850.c (md_parse_option): Likewise.
1804 * config/tc-vax.c (md_parse_option): Likewise.
1805 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1806 * config/tc-xc16x.c (md_parse_option): Likewise.
1807 * config/tc-xgate.c (md_parse_option): Likewise.
1808 * config/tc-xstormy16.c (md_parse_option): Likewise.
1809 * config/tc-xtensa.c (md_parse_option): Likewise.
1810 * config/tc-z80.c (md_parse_option): Likewise.
1811 * config/tc-z8k.c (md_parse_option): Likewise.
1812 * tc.h (md_parse_option): Likewise.
1813
1814 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1815
1816 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1817 * config/tc-hppa.c (fix_new_hppa): Likewise.
1818 (pa_vtable_entry): Likewise.
1819 (pa_vtable_inherit): Likewise.
1820 * config/tc-m68k.c (md_begin): Likewise.
1821
1822 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1823
1824 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1825 * config/obj-elf.h (obj_elf_section_name): Adjust.
1826 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1827 (aarch64_parse_cpu): Likewise.
1828 (aarch64_parse_arch): Likewise.
1829 * config/tc-arm.c (arm_parse_extension): Likewise.
1830 (arm_parse_cpu): Likewise.
1831 (arm_parse_arch): Likewise.
1832 * config/tc-nds32.c: Likewise.
1833 * config/xtensa-relax.c (parse_special_fn): Likewise.
1834 * stabs.c (generate_asm_file): Likewise.
1835
1836 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1837
1838 * config/tc-cr16.c (cr16_assemble): New function.
1839 (md_assemble): Call cr16_assemble.
1840
1841 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1842
1843 * as.c (parse_args): Adjust.
1844 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1845 * config/obj-elf.c (elf_frob_symbol): Adjust.
1846
1847 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1848
1849 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1850 registers to be in the 16..31 range.
1851
1852 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1853
1854 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1855 frag_var ().
1856
1857 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1858
1859 * config/tc-visium.c (md_atof): Localize the string returned on
1860 failure.
1861
1862 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1863
1864 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1865 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1866 * config/tc-m68hc11.c (md_begin): Likewise.
1867 (print_opcode_list): Likewise.
1868 * config/tc-msp430.c (msp430_section): Likewise.
1869 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1870 (s3_build_dependency_insn_hsh): Likewise.
1871 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1872 (s7_build_dependency_insn_hsh): Likewise.
1873 * config/tc-tic4x.c: Likewise.
1874 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1875 (subsym_get_arg): Likewise.
1876 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1877 (get_directive): Likewise.
1878 (cache_literal_section): Likewise.
1879 * config/xtensa-relax.c: Likewise.
1880 * symbols.c (symbol_create): Likewise.
1881 (local_symbol_make): Likewise.
1882 (symbol_relc_make_expr): Likewise.
1883
1884 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1885
1886 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1887 str.
1888
1889 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1890
1891 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1892 call with a switch.
1893
1894 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1895
1896 * config/tc-ia64.c (ia64_do_align): Remove.
1897 (ia64_cons_align): Call do_align () directly.
1898 (dot_proc): Likewise.
1899 (stmt_float_cons): Likewise.
1900
1901 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1902
1903 * listing.c (listing_message): Use XNEW style allocation macros.
1904 * read.c (read_a_source_file): Likewise.
1905 (read_symbol_name): Likewise.
1906 (s_mri_common): Likewise.
1907 (assign_symbol): Likewise.
1908 (s_reloc): Likewise.
1909 (emit_expr_with_reloc): Likewise.
1910 (s_incbin): Likewise.
1911 (s_include): Likewise.
1912 * sb.c (sb_build): Likewise.
1913 (sb_check): Likewise.
1914
1915 2016-03-22 Alan Modra <amodra@gmail.com>
1916
1917 * write.c (record_alignment): Revert 2016-02-18 change.
1918
1919 2016-03-22 Alan Modra <amodra@gmail.com>
1920
1921 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1922 (emit_jsrjmp, tc_gen_reloc): Likewise.
1923 * config/tc-i370.c (i370_macro): Likewise.
1924
1925 2016-03-22 Nick Clifton <nickc@redhat.com>
1926
1927 * configure: Regenerate.
1928
1929 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1930
1931 * testsuite/gas/arc/nps400-0.d: New file.
1932 * testsuite/gas/arc/nps400-0.s: New file.
1933 * testsuite/gas/arc/nps400-1.d: New file.
1934 * testsuite/gas/arc/nps400-1.s: New file.
1935
1936 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1937
1938 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1939 declarations to start of block. Reset code on all flags before
1940 attempting to match them. Handle multiple hits on the same flag.
1941 Handle flag class.
1942 * testsuite/gas/arc/asm-errors.d: New file.
1943 * testsuite/gas/arc/asm-errors.err: New file.
1944 * testsuite/gas/arc/asm-errors.s: New file.
1945
1946 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1947
1948 * config/tc-arc.c (cpu_types): Add nps400 entry.
1949 (check_zol): Handle nps400.
1950
1951 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1952
1953 * config/tc-arc.c (arc_select_cpu): Remove use of
1954 EF_ARC_CPU_GENERIC.
1955
1956 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1957
1958 * config/tc-arc.c (arc_target): Delay initialisation until
1959 arc_select_cpu.
1960 (arc_target_name): Likewise.
1961 (arc_features): Likewise.
1962 (arc_mach_type): Likewise.
1963 (cpu_types): Remove "all" entry.
1964 (arc_select_cpu): New function, most of the content is from...
1965 (md_parse_option): ... here. Call new arc_select_cpu.
1966 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1967
1968 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1969
1970 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1971 * testsuite/gas/arc/inline-data-2.d: New file.
1972
1973 2016-03-21 Nick Clifton <nickc@redhat.com>
1974
1975 * atof-generic.c: Replace use of alloca with call to xmalloc.
1976 * cgen.c: Likewise.
1977 * dwarf2dbg.c: Likewise.
1978 * macro.c: Likewise.
1979 * remap.c: Likewise.
1980 * stabs.c: Likewise.
1981 * symbols.c: Likewise.
1982 * config/obj-elf.c: Likewise.
1983 * config/tc-aarch64.c: Likewise.
1984 * config/tc-arc.c: Likewise.
1985 * config/tc-arm.c: Likewise.
1986 * config/tc-avr.c: Likewise.
1987 * config/tc-ia64.c: Likewise.
1988 * config/tc-mips.c: Likewise.
1989 * config/tc-msp430.c: Likewise.
1990 * config/tc-nds32.c: Likewise.
1991 * config/tc-ppc.c: Likewise.
1992 * config/tc-sh.c: Likewise.
1993 * config/tc-tic30.c: Likewise.
1994 * config/tc-tic54x.c: Likewise.
1995 * config/tc-xstormy16.c: Likewise.
1996 * config/te-vms.c: Likewise.
1997 * configure: Regenerate.
1998
1999 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2000
2001 * tc-i386.c (f32_1): Change type to unsigned char[].
2002 (f32_2): Likewise.
2003 (f32_3): Likewise.
2004 (f32_4): Likewise.
2005 (f32_5): Likewise.
2006 (f32_6): Likewise.
2007 (f32_7): Likewise.
2008 (f32_8): Likewise.
2009 (f32_9): Likewise.
2010 (f32_10): Likewise.
2011 (f32_11): Likewise.
2012 (f32_12): Likewise.
2013 (f32_13): Likewise.
2014 (f32_14): Likewise.
2015 (f16_3): Likewise.
2016 (f16_4): Likewise.
2017 (f16_5): Likewise.
2018 (f16_6): Likewise.
2019 (f16_7): Likewise.
2020 (f16_8): Likewise.
2021 (jump_31): Likewise.
2022 (f32_patt): Likewise.
2023 (f16_patt): Likewise.
2024 (alt_3): Likewise.
2025 (alt_4): Likewise.
2026 (alt_5): Likewise.
2027 (alt_6): Likewise.
2028 (alt_7): Likewise.
2029 (alt_8): Likewise.
2030 (alt_9): Likewise.
2031 (alt_10): Likewise.
2032 (alt_patt): Likewise.
2033
2034 2016-03-18 Nick Clifton <nickc@redhat.com>
2035
2036 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2037 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2038 .tlsdescldr and .xword directives.
2039
2040 PR target/19721
2041 * testsuite/gas/aarch64/pr19721.s: New test source file.
2042 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2043
2044 * doc/as.texinfo: Place the target specific command line options
2045 into their own man page section.
2046
2047 2016-03-16 Jiong Wang <jiong.wang@arm.com>
2048
2049 * config/tc-arm.c (N_S_32): New.
2050 (N_F_16_32): Likewise.
2051 (N_SUF_32): Support N_F16.
2052 (N_IF_32): Likewise.
2053 (neon_dyadic_misc): Likewise.
2054 (do_neon_cmp): Likewise.
2055 (do_neon_cmp_inv): Likewise.
2056 (do_neon_mul): Likewise.
2057 (do_neon_fcmp_absolute): Likewise.
2058 (do_neon_step): Likewise.
2059 (do_neon_abs_neg): Likewise.
2060 (CVT_FLAVOR_VAR): Likewise.
2061 (do_neon_cvt_1): Likewise.
2062 (do_neon_recip_est): Likewise.
2063 (do_vmaxnm): Likewise.
2064 (do_vrint_1): Likewise.
2065 (neon_check_type): Check architecture support for FP16 extension.
2066 (insns): Update comments.
2067 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2068 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2069 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2070 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2071 arm mode.
2072 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2073 thumb mode.
2074 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2075 error file.
2076
2077 2016-03-16 Nick Clifton <nickc@redhat.com>
2078
2079 * read.c (emit_expr_with_reloc): Add code check a bignum with
2080 nbytes == 1.
2081 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2082 other than 32-bits.
2083 * testsuite/gas/elf/bignum.s: New test source file.
2084 * testsuite/gas/elf/bignum.d: New test driver file.
2085 * testsuite/gas/elf/elf.exp: Run the new test.
2086
2087 2016-03-15 Ulrich Drepper <drepper@gmail.com>
2088
2089 * doc/c-i386.texi (Register Naming): Update to details of the
2090 latest architecture version.
2091
2092 2016-03-10 Mickael Guene <mickael.guene@st.com>
2093
2094 PR gas/19744
2095 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2096 (do_mov): Likewise.
2097 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2098 (do_t_mov_cmp): Likewise.
2099 (do_t_add_sub): Protect against bad relocations usage.
2100 (do_t_mov_cmp): Likewise.
2101 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2102 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2103 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2104 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
2105
2106 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2107
2108 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2109 do_alignment.
2110 (do_neon_ld_st_lane): Likewise.
2111 (do_neon_ld_dup): Likewise.
2112
2113 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2114
2115 * testsuite/gas/arc/inline-data-1.d: New file.
2116 * testsuite/gas/arc/inline-data-1.s: New file.
2117
2118 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2119
2120 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2121 * doc/c-arm.texi: Add cortex-r8.
2122
2123 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2124
2125 * config/tc-arc.c: Add const qualifiers.
2126 * config/tc-h8300.c (md_begin): Likewise.
2127 * config/tc-ia64.c (print_prmask): Likewise.
2128 * config/tc-msp430.c (msp430_operands): Likewise.
2129 * config/tc-nds32.c (struct suffix_name): Likewise.
2130 (struct nds32_parse_option_table): Likewise.
2131 (struct nds32_set_option_table): Likewise.
2132 (do_pseudo_pushpopm): Likewise.
2133 (do_pseudo_pushpop_stack): Likewise.
2134 (nds32_relax_relocs): Likewise.
2135 (nds32_flag): Likewise.
2136 (struct nds32_hint_map): Likewise.
2137 (nds32_find_reloc_table): Likewise.
2138 (nds32_match_hint_insn): Likewise.
2139 * config/tc-s390.c: Likewise.
2140 * config/tc-sh.c (get_specific): Likewise.
2141 * config/tc-tic30.c: Likewise.
2142 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2143 (tic4x_indirect_parse): Likewise.
2144 * config/tc-vax.c (vax_cons): Likewise.
2145 * config/tc-z80.c (struct reg_entry): Likewise.
2146 * config/tc-epiphany.c (md_assemble): Adjust.
2147 (epiphany_assemble): New function.
2148 (epiphany_elf_section_rtn): Call do_align directly.
2149 (epiphany_elf_section_text): Likewise.
2150 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2151 (ip2k_elf_section_text): Likewise.
2152 * read.c (do_align): Make it not static.
2153 * read.h (do_align): New prototype.
2154
2155 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2156
2157 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2158 for ARMv8.1 AdvSIMD use.
2159 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2160 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2161
2162 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2163
2164 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2165 feature.
2166 (record_feature_use): New.
2167 (mark_feature_used): Use record_feature_use.
2168 (do_neon_qrdmlah): New.
2169 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2170 variants.
2171 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2172 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2173 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2174 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2175 Make source file explicit.
2176 * testsuite/gas/arm/armv8-a+rdma.l: New.
2177 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2178 directives. Fix white-space.
2179 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2180
2181 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2182
2183 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2184
2185 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2186 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2187
2188 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2189 (tc_arc_fix_adjustable): Changed default return value to 1.
2190 * testsuite/gas/arc/j.d: Updated expected symbol
2191 * testsuite/gas/arc/jl.d: Likewise
2192 * testsuite/gas/arc/relax-avoid1.d: Likewise
2193 * testsuite/gas/arc/st.d: Likewise
2194
2195 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2196
2197 * config/tc-arc.c: Enable code density instructions for ARC EM.
2198
2199 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2200
2201 PR ld/19645
2202 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2203 for ELF assemblers.
2204 * as.c (flag_use_elf_stt_common): New.
2205 (show_usage): Add --elf-stt-common=.
2206 (option_values): Add OPTION_ELF_STT_COMMON.
2207 (std_longopts): Add --elf-stt-common=.
2208 (parse_args): Handle --elf-stt-common=.
2209 * as.h (flag_use_elf_stt_common): New.
2210 * config.in: Regenerated.
2211 * configure: Likewise.
2212 * configure.ac: Add --enable-elf-stt-common and define
2213 DEFAULT_GENERATE_ELF_STT_COMMON.
2214 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2215 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2216 * doc/as.texinfo: Document --elf-stt-common=.
2217 * testsuite/gas/elf/common3.s: New file.
2218 * testsuite/gas/elf/common3a.d: Likewise.
2219 * testsuite/gas/elf/common3b.d: Likewise.
2220 * testsuite/gas/elf/common4.s: Likewise.
2221 * testsuite/gas/elf/common4a.d: Likewise.
2222 * testsuite/gas/elf/common4b.d: Likewise.
2223 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2224 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2225 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2226 and common4b.
2227 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2228 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2229 --elf-stt-common=no to as.
2230 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2231 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2232 --elf-stt-common=no to as.
2233 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2234 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2235 of dw2-compress-3 and dw2-compressed-3.
2236
2237 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2238
2239 * as.c (select_emulation_mode): Add const qualifiers.
2240 * as.h: Likewise.
2241 * config/bfin-defs.h: Likewise.
2242 * config/bfin-parse.y: Likewise.
2243 * config/rx-parse.y: Likewise.
2244 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2245 (struct aarch64_cpu_option_table): Likewise.
2246 (struct aarch64_arch_option_table): Likewise.
2247 (struct aarch64_option_cpu_value_table): Likewise.
2248 (struct aarch64_long_option_table): Likewise.
2249 (struct aarch64_option_abi_value_table): Likewise.
2250 * config/tc-arm.c (struct reloc_entry): Likewise.
2251 (tc_gen_reloc): Likewise.
2252 (struct arm_option_table): Likewise.
2253 (struct arm_legacy_option_table): Likewise.
2254 (struct arm_cpu_option_table): Likewise.
2255 (struct arm_arch_option_table): Likewise.
2256 (struct arm_option_extension_value_table): Likewise.
2257 (struct arm_option_fpu_value_table): Likewise.
2258 (struct arm_option_value_table): Likewise.
2259 (struct arm_long_option_table): Likewise.
2260 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2261 (struct mcu_type_s): Likewise.
2262 (struct exp_mod_s): Likewise.
2263 (avr_operand): Likewise.
2264 (avr_operands): Likewise.
2265 * config/tc-d10v.c (md_begin): Likewise.
2266 * config/tc-dlx.c: Likewise.
2267 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2268 * config/tc-ft32.c (parse_condition): Likewise.
2269 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2270 * config/tc-hppa.c (pa_ip): Likewise.
2271 (hppa_regname_to_dw2regnum): Likewise.
2272 * config/tc-i370.c (i370_elf_suffix): Likewise.
2273 * config/tc-i960.c (struct tabentry): Likewise.
2274 * config/tc-m32r.c: Likewise.
2275 * config/tc-m68k.c: Likewise.
2276 * config/tc-m68k.h: Likewise.
2277 * config/tc-mcore.c (parse_psrmod): Likewise.
2278 * config/tc-metag.c (struct metag_core_option): Likewise.
2279 (struct metag_long_option): Likewise.
2280 * config/tc-microblaze.c: Likewise.
2281 * config/tc-mips.c (macro): Likewise.
2282 * config/tc-mn10200.c: Likewise.
2283 * config/tc-mn10300.c: Likewise.
2284 * config/tc-msp430.c (struct rcodes_s): Likewise.
2285 (struct hcodes_s): Likewise.
2286 (md_parse_option): Likewise.
2287 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2288 (optlist): Likewise.
2289 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2290 (tc_ppc_regname_to_dw2regnum): Likewise.
2291 * config/tc-ppc.h: Likewise.
2292 * config/tc-rl78.c: Likewise.
2293 * config/tc-rx.c (struct cpu_type): Likewise.
2294 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2295 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2296 (sparc_ip): Likewise.
2297 * config/tc-spu.c (insn_fmt_string): Likewise.
2298 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2299 * config/tc-v850.c: Likewise.
2300 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2301 (struct visium_long_option_table): Likewise.
2302 * config/tc-xgate.c: Likewise.
2303 * config/tc-z8k.c: Likewise.
2304 * read.c (add_include_dir): Likewise.
2305 * read.h: Likewise.
2306
2307 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2308
2309 * testsuite/gas/all/gas.exp: Change target pattern to cover
2310 arceb-*.
2311 * testsuite/gas/all/redef3.d: Likewise.
2312 * testsuite/gas/elf/elf.exp: Likewise.
2313
2314 2016-02-24 Renlin Li <renlin.li@arm.com>
2315
2316 * config/tc-arm.c (BAD_FP16): New error message macro.
2317 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2318 fp16 scalar instructions.
2319 (neon_check_type): Allow different size from key.
2320 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2321 (try_vfp_nsyn): Likewise.
2322 (do_vfp_nsyn_mla_mls): Likewise.
2323 (do_vfp_nsyn_fma_fms): Likewise.
2324 (do_vfp_nsyn_ldm_stm): Likewise
2325 (do_vfp_nsyn_sqrt): Likewise
2326 (do_vfp_nsyn_div): Likewise
2327 (do_vfp_nsyn_nmul): Likewise.
2328 (do_vfp_nsyn_cmp): Likewise.
2329 (do_neon_shll): Likewise.
2330 (do_vfp_nsyn_cvt_fpv8): Likewise.
2331 (do_neon_cvttb_2): Likewise.
2332 (do_neon_mov): Likewise.
2333 (do_neon_rshift_round_imm): Likewise.
2334 (do_neon_ldr_str): Likewise.
2335 (do_vfp_nsyn_fpv8): Likewise.
2336 (do_vmaxnm): Likewise.
2337 (do_vrint_1): Likewise.
2338 (insns): New entry for vins, vmovx.
2339 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2340 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2341 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2342 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2343 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2344 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2345 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2346
2347 2016-02-24 Renlin Li <renlin.li@arm.com>
2348
2349 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2350 (neon_shape_class): New SC_HALF.
2351 (neon_shape_el): New SE_H.
2352 (neon_shape_el_size): New size for SE_H.
2353 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2354 (neon_select_shape): Add SE_H support code.
2355 (el_type_of_type_chk): Use N_F_ALL.
2356 (do_vfp_nsyn_cvt): Add SE_H shape support.
2357 (do_neon_cvtz): Likewise.
2358 (do_neon_cvt_1): Likewise.
2359 (do_neon_cvttb_1): Likewise.
2360
2361 2016-02-24 Renlin Li <renlin.li@arm.com>
2362
2363 * testsuite/gas/arm/copro.d: Adjust output.
2364 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2365
2366 2016-02-24 Renlin Li <renlin.li@arm.com>
2367
2368 * testsuite/gas/arm/mask_1.d: New.
2369 * testsuite/gas/arm/mask_1.s: New.
2370
2371 2016-02-24 Renlin Li <renlin.li@arm.com>
2372
2373 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2374 * testsuite/gas/arm/copro.d: Update.
2375
2376 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2377
2378 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2379 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2380
2381 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2382
2383 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2384
2385 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2386
2387 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2388 hpux.
2389
2390 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2391
2392 * output-file.c (output_file_create): Make file name argument const.
2393 (output_file_close): Likewise.
2394 * output-file.h (output_file_create): Adjust.
2395 (output_file_close): Likewise.
2396 * depend.c (quote_string_for_make): Make src argument const char *.
2397 (register_dependency): Likewise.
2398 (wrap_output): Likewise.
2399 * as.h (register_dependency): Adjust.
2400 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2401 as_where ();
2402 * symbols.c (S_SET_EXTERNAL): Likewise.
2403 * input-scrub.c (as_where): Return the file name.
2404 * as.h (as_where): Adjust prototype.
2405 * app.c (do_scrub_chars): Adjust.
2406 * cond.c (s_elseif): Likewise.
2407 (s_else): Likewise.
2408 (initialize_cframe): Likewise.
2409 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2410 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2411 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2412 * config/tc-aarch64.c (output_info): Likewise.
2413 * config/tc-ia64.c (md_assemble): Likewise.
2414 (dot_alias): Likewise.
2415 * config/tc-m68k.c (m68k_frob_label): Likewise.
2416 * config/tc-mmix.c (s_bspec): Likewise.
2417 (mmix_handle_mmixal): Likewise.
2418 * config/tc-rx.c (rx_include): Likewise.
2419 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2420 (tic54x_adjust_symtab): Likewise.
2421 * config/tc-xtensa.c (directive_push): Likewise.
2422 (xtensa_sanity_check): Likewise.
2423 (xtensa_relax_frag): Likewise.
2424 (md_convert_frag): Likewise.
2425 (tinsn_to_slotbuf): Likewise.
2426 * dwarf2dbg.c (dwarf2_where): Likewise.
2427 * ecoff.c (add_file): Likewise.
2428 (ecoff_generate_asm_lineno): Likewise.
2429 * expr.c (make_expr_symbol): Likewise.
2430 * frags.c (frag_new): Likewise.
2431 (frag_var_init): Likewise.
2432 * listing.c (listing_newline): Likewise.
2433 * messages.c (identify): Likewise.
2434 (as_show_where): Likewise.
2435 (as_warn_internal): Likewise.
2436 (as_bad_internal): Likewise.
2437 * read.c (s_irp): Likewise.
2438 (s_macro): Likewise.
2439 (s_reloc): Likewise.
2440 * stabs.c (stabs_generate_asm_file): Likewise.
2441 (stabs_generate_asm_lineno): Likewise.
2442 (stabs_generate_asm_func): Likewise.
2443 * write.c (fix_new_internal): Likewise.
2444 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2445 (as_warn_value_out_of_range): Adjust prototype.
2446 (as_bad_value_out_of_range): Adjust prototype.
2447 * messages.c (identify): Make file name argument const char *.
2448 (as_warn_internal): Likewise.
2449 (as_warn_where): Likewise.
2450 (as_bad_internal): Likewise.
2451 (as_bad_where): Likewise.
2452 (as_internal_value_out_of_range): Likewise.
2453 (as_warn_value_out_of_range): Likewise.
2454 (as_bad_value_out_of_range): Likewise.
2455 * as.h (found_comment_file): Change type to const char *.
2456 * cond.c (file_line::file): Likewise.
2457 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2458 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2459 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2460 * config/tc-aarch64.c (output_info): Likewise.
2461 * config/tc-alpha.c (insert_operand): Likewise.
2462 * config/tc-arc.c (insert_operand): Likewise.
2463 * config/tc-d30v.c (check_size): Likewise.
2464 * config/tc-ia64.c (struct alias): Likewise.
2465 * config/tc-m68k.c (struct label_line): Likewise.
2466 * config/tc-mcore.c (md_apply_fix): Likewise.
2467 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2468 * config/tc-mips.c (mips16_immed): Likewise.
2469 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2470 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2471 * config/tc-rx.c (rx_include): Likewise.
2472 * config/tc-s390.c (s390_insert_operand): Likewise.
2473 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2474 (tic54x_adjust_symtab): Likewise.
2475 * config/tc-tilegx.c (insert_operand): Likewise.
2476 (apply_special_operator): Likewise.
2477 * config/tc-tilepro.c (insert_operand): Likewise.
2478 * config/tc-xtensa.c (directive_push): Likewise.
2479 * ecoff.c (add_file): Likewise.
2480 (ecoff_generate_asm_lineno): Likewise.
2481 * listing.c (listing_newline): Likewise.
2482 * read.c (s_irp): Likewise.
2483 * write.c (install_reloc): Likewise.
2484 * write.h (struct fix): Likewise.
2485 * input-file.c (file_name): Change type to const char *.
2486 (saved_file::file_name): Likewise.
2487 (input_file_open): Change type of argument to const char *.
2488 * input-file.h (input_file_open): Adjust.
2489 * input-scrub.c (logical_input_file): change type to const char *.
2490 (physical_input_file): Likewise.
2491 (struct input_save): Adjust.
2492 (input_scrub_push): Adjust.
2493 (input_scrub_begin): Adjust.
2494 (as_where): Adjust.
2495 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2496 (input_scrub_include_file): Likewise.
2497 (new_logical_line_flags): Likewise.
2498 (new_logical_line): Likewise.
2499 * as.h: Adjust.
2500 * frags.h (struct frag): Change type of fr_file to const char *.
2501 * expr.c (expr_symbol_where): Change type of file argument to
2502 const char **.
2503 * expr.h (expr_symbol_where): Likewise.
2504 * config/tc-i370.c (md_apply_fix): adjust.
2505 * config/tc-mmix.c (mmix_md_end): Likewise.
2506 * config/tc-ppc.c (md_apply_fix): Likewise.
2507 * config/tc-s390.c (md_apply_fix): Likewise.
2508 * symbols.c (report_op_error): Likewise.
2509 (resolve_symbol_value): Likewise.
2510 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2511 (rsrc::file): Likewise.
2512 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2513 const char *.
2514 (xtensa_relax_frag): Likewise.
2515 (md_convert_frag): Likewise.
2516 (tinsn_to_slotbuf): Likewise.
2517 * expr.c (expr_symbol_line): Likewise.
2518 * macro.c (define_macro): Likewise.
2519 * macro.h (macro_struct): Likewise.
2520 * messages.c (as_show_where): Likewise.
2521 * read.c (s_macro): Likewise.
2522 * stabs.c (stabs_generate_asm_file): Likewise.
2523 (generate_asm_file): Likewise.
2524 (stabs_generate_asm_lineno): Likewise.
2525 * write.h (struct reloc_list): Likewise.
2526 * input-scrub.c (as_where): Change return type to const char *.
2527 * as.h (as_wheree): Adjust.
2528
2529 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2530
2531 * write.c (compress_debug): Move BFD compression bits setting
2532 to ...
2533 (write_object_file): Here.
2534
2535 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2536
2537 * config/tc-i386.c (register_number): Check RegVRex.
2538 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2539 with %zmm19 and %zmm3.
2540 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2541 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2542
2543 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2544 Jiong Wang <jiong.wang@arm.com>
2545
2546 * config/tc-arm.c (arm_ext_fp16): New.
2547 (arm_extensions): New entry for "fp16".
2548
2549 2016-02-19 Nick Clifton <nickc@redhat.com>
2550
2551 PR 19630
2552 * read.c (read_a_source_file): Check for assemble_one returning
2553 with input_line_pointer set to NULL.
2554
2555 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2556
2557 * listing.c (rebuffer_line): Change return type to void.
2558
2559 * symbols.c (decode_local_label_name): Make type a const char *.
2560 * listing.c (print_source): Make type of p const char *.
2561 (print_line): Make type of string const char *.
2562 (buffer_line): Return const char *.
2563 (title): Make type const char *.
2564 (subtitle): Likewise.
2565 (listing_listing): Make type of p const char *.
2566 * messages.c (as_internal_value_out_of_range): Make type of prefix
2567 const char *.
2568 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2569 and string const char *.
2570 * read.c (_bfd_rel): Make type of name const char *.
2571 * app.c (out_string): Change type to const char *.
2572 (struct app_save::out_string): Likewise.
2573
2574 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2575 Nick Clifton <nickc@redhat.com>
2576
2577 * read.c (finish_bundle): Avoid recording a negative alignment.
2578 (do_align): Use unsigned values for n, len and max. Only create
2579 a frag if the alignment requirement is greater than the minimum
2580 byte alignment. Avoid recording a negative alignment.
2581 (s_align): Use unsigned values where appropriate.
2582 (bss_alloc): Use an unsigned value for the alignment.
2583 (sizeof_sleb128): Add a comment noting that we encode one octet
2584 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2585 (emit_leb129_expr): Abort if the emitted encoding was longer than
2586 expected.
2587 * read.h (output_leb128): Update prototype.
2588 (sizeof_leb128): Update prototype.
2589 (bss_alloc): Update prototype.
2590 * write.c (record_alignment): Use an unsigned value for the
2591 alignment. Do not record alignments less than the minimum
2592 alignment for a byte.
2593 * write.h (record_alignment): Update prototype.
2594
2595 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2596
2597 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2598 .init.literal/.fini.literal section name.
2599 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2600 list of xtensa tests.
2601 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2602 init-fini-literals test result patterns.
2603 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2604 init-fini-literals test.
2605
2606 2016-02-17 Nick Clifton <nickc@redhat.com>
2607
2608 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2609 devices.csv file as of March 2016.
2610
2611 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2612
2613 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2614 function.
2615 (tc_arc_regname_to_dw2regnum): Likewise.
2616 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2617 (tc_cfi_frame_initial_instructions): Likewise.
2618 (tc_regname_to_dw2regnum): Likewise.
2619 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2620 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2621 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2622
2623 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2624
2625 * doc/internals.texi (S_IS_EXTERN): Remove.
2626
2627 2016-02-16 Nick Clifton <nickc@redhat.com>
2628
2629 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2630 update.
2631
2632 2016-02-16 Renlin Li <renlin.li@arm.com>
2633
2634 PR gas/19620
2635 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2636 * testsuite/gas/aarch64/movw_label.d: New.
2637 * testsuite/gas/aarch64/movw_label.s: New.
2638
2639 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2640
2641 PR gas/19556
2642 * config/rx-parse.y (MOV): Opcode generation for index
2643 register addressing mode.
2644 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2645 * testsuite/gas/rx/pr19665.s: New file.
2646 * testsuite/gas/rx/pr19665.s: New file.
2647 * testsuite/gas/rx/mov.d: Update expected output.
2648
2649 2016-02-15 Nick Clifton <nickc@redhat.com>
2650
2651 * doc/as.texinfo (.section): Document that numeric values can now
2652 be used for the flags and type fields of the ELF target's .section
2653 directive. Add notes about the restrictions on setting flags and
2654 types.
2655 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2656 to be given processor specific section types. Allow processor and
2657 application specific flags of a section to be set after
2658 definition.
2659 (obj_elf_parse_section_letters): Handle parsing numeric values.
2660 (obj_elf_section_type): Handle parsing numeric values.
2661 (obj_elf_section): Allow numeric type values.
2662 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2663 * testsuite/gas/elf/section10.d: New test.
2664 * testsuite/gas/elf/section10.s: Source file for new test.
2665 * testsuite/gas/elf/elf.exp: Run the new test.
2666 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2667 the description of the flags produced by readelf.
2668 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2669 * NEWS: Mention the new feature.
2670
2671 2016-02-11 Nick Clifton <nickc@redhat.com>
2672
2673 PR gas/19614
2674 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2675 until it is actually used.
2676 (cfi_set_sections): Set cfi_sections_set to true.
2677 (dot_cfi_startproc): Likewise.
2678 (dot_cfi_endproc): Likewise.
2679 (dot_cfi_fde_data): Likewise.
2680 (cfi_finish): Likewise.
2681 (dot_cfi_sections): Do not set cfi_sections_set.
2682 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2683 their own cfi section name. Also note that the directive can be
2684 reissued provided that CFI generation has not started.
2685 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2686 .cfi_endproc directives so that the redefinition of .cfi_sections
2687 will trigger the generation of the error message.
2688 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2689 number of error message.
2690
2691 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2692 Janek van Oirschot <jvanoirs@synopsys.com>
2693
2694 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2695 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2696 Define.
2697 (arc_flags, arc_relax_type): New structure.
2698 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2699 (RELAX_TABLE_ENTRY_MAX): New define.
2700 (relaxation_state, md_relax_table, arc_relaxable_insns)
2701 (arc_num_relaxable_ins): New variable.
2702 (rlx_operand_type, arc_rlx_types): New enums.
2703 (arc_relaxable_ins): New structure.
2704 (OPTION_RELAX): New option.
2705 (arc_insn): New relax member.
2706 (arc_flags): Remove.
2707 (relax_insn_p): New function.
2708 (apply_fixups): Likewise.
2709 (relaxable_operand): Likewise.
2710 (may_relax_expr): Likewise.
2711 (relaxable_flag): Likewise.
2712 (arc_pcrel_adjust): Likewise.
2713 (md_estimate_size_before_relax): Implement.
2714 (md_convert_frag): Likewise.
2715 (md_parse_option): Handle new mrelax option.
2716 (md_show_usage): Likewise.
2717 (assemble_insn): Set relax member.
2718 (emit_insn0): New function.
2719 (emit_insn1): Likewise.
2720 (emit_insn): Handle relaxation case.
2721 * NEWS: Mention the new relaxation option.
2722 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2723 * doc/as.texinfo (Target ARC Options): Likewise.
2724 * testsuite/gas/arc/relax-avoid1.d: New file.
2725 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2726 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2727 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2728 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2729 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2730 * testsuite/gas/arc/relax-b.d: Likewise.
2731 * testsuite/gas/arc/relax-b.s: Likewise.
2732
2733 2016-02-08 Nick Clifton <nickc@redhat.com>
2734
2735 * config/tc-ia64.c (dot_prologue): Fix formatting.
2736
2737 2016-02-04 Nick Clifton <nickc@redhat.com>
2738
2739 * config/obj-elf.c (obj_elf_change_section): Remove support for
2740 ARM NOREAD sections.
2741 * config/tc-arm.c (arm_elf_section_letter): Delete.
2742 * config/tc-arm.h (md_elf_section_letter): Delete.
2743 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2744 * testsuite/gas/arm/section-execute-only.d: Delete.
2745 * testsuite/gas/arm/section-execute-only.s: Delete.
2746
2747 2016-02-04 Nick Clifton <nickc@redhat.com>
2748
2749 PR target/19561
2750 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2751 to handle encoding of RRUX instruction.
2752 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2753 shift instructions.
2754 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2755
2756 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2757
2758 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2759 substitutions for BFD_RELOC_* as unsigned.
2760 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2761 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2762 * testsuite/gas/xtensa/loc.s: New file: loc test.
2763
2764 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2765
2766 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2767
2768 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2769
2770 PR gas/19520
2771 * NEWS: Mention new command line option -mrelax-relocations and
2772 new configure option --enable-x86-relax-relocations for x86
2773 target.
2774 * config.in: Regenerated.
2775 * configure.ac: Add --enable-x86-relax-relocations.
2776 (ac_default_x86_relax_relocations): New. Default to 1 except
2777 for x86 Solaris targets older than Solaris 12.
2778 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2779 * configure: Likewise.
2780 * config/tc-i386.c (generate_relax_relocations): New.
2781 (OPTION_MRELAX_RELOCATIONS): Likewise.
2782 (output_disp): Don't generate relax relocations if
2783 generate_relax_relocations is 0.
2784 (md_longopts): Add -mrelax-relocations.
2785 (md_show_usage): Likewise.
2786 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2787 * doc/c-i386.texi: Document -mrelax-relocations=.
2788 * testsuite/gas/i386/got-no-relax.d: New file.
2789 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2790 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2791 * testsuite/gas/i386/localpic.d: Likewise.
2792 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2793 * testsuite/gas/i386/reloc32.d: Likewise.
2794 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2795 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2796 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2797 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2798 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2799 x86-64-gotpcrel-no-relax.
2800
2801 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2802
2803 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2804 for x86 target.
2805
2806 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2807
2808 * NEWS: Remove duplicated marker for 2.26.
2809
2810 2016-02-02 Renlin Li <renlin.li@arm.com>
2811
2812 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2813
2814 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2815
2816 * testsuite/gas/ip2k/allinsn.d: New file.
2817 * testsuite/gas/ip2k/allinsn.s: New file.
2818 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2819
2820 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2821
2822 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2823 some load instructions.
2824 * testsuite/gas/epiphany/allinsn.d: Likewise.
2825 * testsuite/gas/epiphany/regression.d: Likewise.
2826
2827 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2828
2829 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2830 suffixes from instruction mnemonics in expected output.
2831 * testsuite/gas/epiphany/allinsn.d: Likewise.
2832 * testsuite/gas/epiphany/regression.d: Likewise.
2833 * testsuite/gas/epiphany/sample.d: Likewise.
2834
2835 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2836
2837 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2838 names.
2839 * testsuite/gas/epiphany/allinsn.d: Likewise.
2840 * testsuite/gas/epiphany/sample.d: Likewise.
2841
2842 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2843
2844 * testsuite/gas/epiphany/sample.d: Update expected output.
2845
2846 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2847
2848 * config/tc-arc.c (md_apply_fix): Allow addendum.
2849 (arc_reloc_op): Allow complex expressions for tpoff.
2850 (md_apply_fix): Handle resolved TLS local symbol.
2851 * testsuite/gas/arc/tls-relocs1.d: New file.
2852 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2853
2854 2016-02-01 Loria <Loria@phantasia.org>
2855
2856 PR target/19311
2857 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2858 efficiency and avoid an LLVM loop optimization bug.
2859
2860 2016-02-01 Nick Clifton <nickc@redhat.com>
2861
2862 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2863 message extending a negative 32-bit value into a larger signed
2864 value on a 32-bit host.
2865
2866 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2867
2868 PR gas/19532
2869 * configure.ac (compressed_debug_sections): Replace == with =.
2870 * configure: Regenerated.
2871
2872 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2873 H.J. Lu <hongjiu.lu@intel.com>
2874
2875 * config/tc-i386.c (avoid_fence): New.
2876 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2877 is true.
2878 (OPTION_FENCE_AS_LOCK_ADD): New.
2879 (md_longopts): Add -mfence-as-lock-add.
2880 (md_parse_option): Handle -mfence-as-lock-add.
2881 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2882 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2883 * testsuite/gas/i386/i386.exp: Run new tests.
2884 * testsuite/gas/i386/fence-as-lock-add.s: New.
2885 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2886 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2887 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2888 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2889
2890 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2893 * configure: Regenerated.
2894
2895 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2896
2897 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2898 (OPTION_MOMIT_LOCK_PREFIX): This.
2899 (md_longopts): Updated.
2900 (md_parse_option): Likewise.
2901
2902 2016-01-25 Catherine Moore <clm@codesourcery.com>
2903
2904 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2905 if abicalls are in effect.
2906 * testsuite/gas/mips/sdata-gp.s: New test.
2907 * testsuite/gas/mips/sdata-gp.d: New expected output
2908 * testsuite/gas/mips/mips.exp: Run new test.
2909
2910 2016-01-25 Renlin Li <renlin.li@arm.com>
2911
2912 * testsuite/gas/arm/thumb2_it_search.d: New.
2913 * testsuite/gas/arm/thumb2_it_search.s: New.
2914
2915 2016-01-21 Nick Clifton <nickc@redhat.com>
2916
2917 PR gas/19454
2918 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2919 with arm-netbsdelf target.
2920 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2921
2922 2016-01-20 Nick Clifton <nickc@redhat.com>
2923
2924 PR 19456
2925 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2926 * testsuite/gas/arm/blx-bl-convert.d
2927 * testsuite/gas/arm/plt-1.d: Likewise.
2928 * testsuite/gas/arm/reloc-bad.d: Likewise.
2929 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2930 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2931 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2932 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2933
2934 PR 19499
2935 * doc/as.texinfo (Errors): Correct documentation describing the
2936 interaction of .file and .line with warning and error messages.
2937
2938 PR 19458
2939 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2940 * testsuite/gas/arm/archv8m-main.d: Likewise.
2941 * testsuite/gas/arm/archv8m-base.d: Likewise.
2942
2943 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2944
2945 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2946 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2947 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2948
2949 2016-01-20 Mickael Guene <mickael.guene@st.com>
2950 Terry Guo <terry.guo@arm.com>
2951
2952 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2953 SHF_ARM_NOREAD section flag.
2954 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2955 handle letter 'y'.
2956 (arm_elf_section_letter) : Declare it.
2957 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2958 SHF_ARM_NOREAD section flag.
2959 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2960
2961 * testsuite/gas/arm/section-execute-only.s: New test case.
2962 * testsuite/gas/arm/section-execute-only.d: Expected output.
2963
2964 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2965
2966 * config/tc-mips.c (micromips_insn_length): Remove the mention
2967 of 48-bit microMIPS instructions.
2968
2969 2016-01-18 Alan Modra <amodra@gmail.com>
2970
2971 * configure: Regenerate.
2972
2973 2016-01-17 Alan Modra <amodra@gmail.com>
2974
2975 * configure: Regenerate.
2976
2977 2016-01-17 Alan Modra <amodra@gmail.com>
2978
2979 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2980
2981 2016-01-14 Nick Clifton <nickc@redhat.com>
2982
2983 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2984 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2985 * testsuite/gas/rl78/rl78.exp: Run the new test.
2986
2987 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2988
2989 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2990 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2991
2992 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2993
2994 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2995
2996 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2997
2998 * config/tc-h8300.c (get_operand): Remove spurious condition in
2999 test for closing parenthesis.
3000
3001 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3002
3003 * config/tc-arm.c (arm_ext_v8_2): New.
3004 (insns): Add "esb".
3005 * testsuite/gas/arm/armv8_2-a.d: New.
3006 * testsuite/gas/arm/armv8_2-a.s: New.
3007
3008 2016-01-12 Alan Modra <amodra@gmail.com>
3009
3010 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3011
3012 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3013
3014 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3015 xvcmpnesp, xvcmpnesp.>: Delete tests.
3016 * testsuite/gas/ppc/power9.s: Likewise.
3017 * testsuite/gas/ppc/vsx3.d: Likewise.
3018 * testsuite/gas/ppc/vsx3.s: Likewise.
3019
3020 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3021
3022 PR gas/13050
3023 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3024 * testsuite/gas/m68k/p13050-1.s: New file.
3025 * testsuite/gas/m68k/p13050-2.d: New file.
3026 * testsuite/gas/m68k/p13050-2.s: New file.
3027
3028 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3029
3030 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3031 * testsuite/gas/arc/add.d: Likewise.
3032 * testsuite/gas/arc/and.d: Likewise.
3033 * testsuite/gas/arc/asl.d: Likewise.
3034 * testsuite/gas/arc/asr.d: Likewise.
3035 * testsuite/gas/arc/bic.d: Likewise.
3036 * testsuite/gas/arc/extb.d: Likewise.
3037 * testsuite/gas/arc/extw.d: Likewise.
3038 * testsuite/gas/arc/j.d: Likewise.
3039 * testsuite/gas/arc/jl.d: Likewise.
3040 * testsuite/gas/arc/ld2.d: Likewise.
3041 * testsuite/gas/arc/lsr.d: Likewise.
3042 * testsuite/gas/arc/mov.d: Likewise.
3043 * testsuite/gas/arc/or.d: Likewise.
3044 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3045 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3046 * testsuite/gas/arc/pic-relocs.d: Likewise.
3047 * testsuite/gas/arc/plt-relocs.d: Likewise.
3048 * testsuite/gas/arc/rlc.d: Likewise.
3049 * testsuite/gas/arc/ror.d: Likewise.
3050 * testsuite/gas/arc/rrc.d: Likewise.
3051 * testsuite/gas/arc/sbc.d: Likewise.
3052 * testsuite/gas/arc/sda-relocs.d: Likewise.
3053 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3054 * testsuite/gas/arc/sexb.d: Likewise.
3055 * testsuite/gas/arc/sexw.d: Likewise.
3056 * testsuite/gas/arc/st.d: Likewise.
3057 * testsuite/gas/arc/sub.d: Likewise.
3058 * testsuite/gas/arc/tls-relocs.d: Likewise.
3059 * testsuite/gas/arc/xor.d: Likewise.
3060
3061 2016-01-01 Alan Modra <amodra@gmail.com>
3062
3063 Update year range in copyright notice of all files.
3064
3065 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3066 \f
3067 Copyright (C) 2016 Free Software Foundation, Inc.
3068
3069 Copying and distribution of this file, with or without modification,
3070 are permitted in any medium without royalty provided the copyright
3071 notice and this notice are preserved.
3072
3073 Local Variables:
3074 mode: change-log
3075 left-margin: 8
3076 fill-column: 74
3077 version-control: never
3078 End:
This page took 0.096664 seconds and 4 git commands to generate.