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