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