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