1 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
4 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
5 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
6 shared with a non M profile architecture.
8 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
10 (v7m_psrs): Add ARMv8-M security extensions new special registers.
11 (insns): Add ARMv8-M Security Extensions instructions.
12 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
13 arm_ext_v8m_m to decide the profile and the Thumb ISA.
14 * testsuite/gas/arm/archv8m-cmse.s: New file.
15 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
16 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
17 * testsuite/gas/arm/any-cmse.d: Likewise.
18 * testsuite/gas/arm/any-cmse-main.d: Likewise.
19 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
20 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
21 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
22 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
23 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
25 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
27 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
28 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
30 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
32 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
33 (fpu_arch_vfp_v3): Likewise.
34 (fpu_arch_neon_v1): Likewise.
35 (arm_arch_full): Likewise.
36 (parse_neon_el_struct_list): Initialize fields of firsttype.
38 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
40 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
41 (arc_extinsn): Handle new introduced syntax.
42 * testsuite/gas/arc/textinsn1op.d: New file.
43 * testsuite/gas/arc/textinsn1op.s: Likewise.
44 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
46 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
48 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
49 DW_LNS_fixed_advance_pc.
51 2016-04-27 Alan Modra <amodra@gmail.com>
53 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
54 (xmemdup0): New inline function.
56 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
58 * config/tc-mips.c (code_option_type): New enum.
59 (parse_code_option): Return status indicating option type.
60 (s_mipsset): Update `parse_code_option' call site accordingly.
61 Always set register sizes from the ISA with ISA overrides.
62 (s_module): Update `parse_code_option' call site.
63 * testsuite/gas/mips/isa-override-1.d: New test.
64 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
65 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
66 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
67 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
68 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
69 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
70 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
71 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
72 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
73 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
74 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
75 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
76 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
77 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
78 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
79 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
80 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
81 * testsuite/gas/mips/isa-override-2.l: New list test.
82 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
83 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
84 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
85 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
86 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
87 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
88 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
89 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
90 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
91 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
92 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
94 * testsuite/gas/mips/isa-override-1.s: New test source.
95 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
96 * testsuite/gas/mips/isa-override-2.s: New test source.
97 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
98 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
99 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
100 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
101 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
102 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
103 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
104 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
105 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
106 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
107 * testsuite/gas/mips/mips.exp: Run the new tests.
109 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
112 * config/tc-bfin.c: Likewise.
113 * config/tc-ia64.c: Likewise.
114 * config/tc-mep.c: Likewise.
115 * config/tc-metag.c: Likewise.
116 * config/tc-nios2.c: Likewise.
117 * config/tc-rl78.c: Likewise.
119 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
121 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
122 -mcpu. Add cross reference to .cpu directive from -mcpu option.
123 (ARC Directives): Add NPS400 to .cpu directive list.
125 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
127 * config/tc-aarch64.c (aarch64_features): Add "ras".
128 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
129 * testsuite/gas/aarch64/armv8-ras-1.d: New.
130 * testsuite/gas/aarch64/armv8-ras-1.s: New.
131 * testsuite/gas/aarch64/illegal-ras-1.d: New.
132 * testsuite/gas/aarch64/illegal-ras-1.s: New.
134 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
136 * testsuite/gas/arc/nps400-6.d: New file.
137 * testsuite/gas/arc/nps400-6.s: New file.
139 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
141 * testsuite/gas/arc/nps400-4.d: New file.
142 * testsuite/gas/arc/nps400-4.s: New file.
143 * testsuite/gas/arc/nps400-5.d: New file.
144 * testsuite/gas/arc/nps400-5.s: New file.
146 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
148 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
151 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
153 Revert prevous change.
154 * config/tc-arc.c (arc_option): Make .cpu directive
155 case-sensitive again.
157 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
159 * config/tc-arc.c (arc_option): Make .cpu directive
162 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
164 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
166 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
168 * config/tc-mips.c (md_begin): Remove useless assignment.
170 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
172 * Makefile.in: Regenerated with automake 1.11.6.
173 * aclocal.m4: Likewise.
174 * doc/Makefile.in: Likewise.
176 2016-04-15 Alan Modra <amodra@gmail.com>
178 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
180 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
182 * config/tc-nios2.c (nios2_as_options): Make file static.
183 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
184 * config/tc-sparc.c (native_op_table): Likewise.
186 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
188 * config/tc-m32c.c (M32C_Macros): Remove.
189 * config/tc-msp430.c (option_numbers): Likewise.
191 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
193 * testsuite/gas/arc/nps400-3.d: New file.
194 * testsuite/gas/arc/nps400-3.s: New file.
196 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
198 * testsuite/gas/arc/add_s-err.s: Update target pattern.
199 * testsuite/gas/arc/warn.s: Likewise.
200 * testsuite/gas/elf/elf.exp: Run test for arc.
202 2016-04-14 Nick Clifton <nickc@redhat.com>
205 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
206 sections possibly having the SHF_STRINGS flag bit set.
207 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
209 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
211 * config/tc-arc.c (mach_type_specified_p): Change type to
213 (arc_option): Set private flags when parsing cpu pseudo-op.
214 (md_parse_option): Set mach_type_specified_p to TRUE.
216 2016-04-13 Nick Clifton <nickc@redhat.com>
219 * testsuite/gas/v850/pr19937.s: New test.
220 * testsuite/gas/v850/pr19937.d: New test control file.
221 * testsuite/gas/v850/basic.exp: Run the new test.
223 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
224 Andrew Bennett <andrew.bennett@imgtec.com>
226 * config/tc-mips.c (relaxed_branch_length): Use the long
227 sequence where the target is a weak symbol.
228 (relaxed_micromips_32bit_branch_length): Likewise.
229 (relaxed_micromips_16bit_branch_length): Likewise.
230 * testsuite/gas/mips/branch-weak-1.d: New test.
231 * testsuite/gas/mips/branch-weak-2.d: New test.
232 * testsuite/gas/mips/branch-weak-3.d: New test.
233 * testsuite/gas/mips/branch-weak-4.d: New test.
234 * testsuite/gas/mips/branch-weak-5.d: New test.
235 * testsuite/gas/mips/branch-weak.l: New stderr output.
236 * testsuite/gas/mips/branch-weak.s: New test source.
237 * testsuite/gas/mips/mips.exp: Run the new tests.
239 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
241 * config/tc-mips.c (relaxed_branch_length): Use the long
242 sequence where the distance cannot be determined.
243 (relaxed_micromips_32bit_branch_length): Likewise.
244 * testsuite/gas/mips/branch-extern-1.d: New test.
245 * testsuite/gas/mips/branch-extern-2.d: New test.
246 * testsuite/gas/mips/branch-extern-3.d: New test.
247 * testsuite/gas/mips/branch-extern-4.d: New test.
248 * testsuite/gas/mips/branch-extern.l: New stderr output.
249 * testsuite/gas/mips/branch-extern.s: New test source.
250 * testsuite/gas/mips/branch-section-1.d: New test.
251 * testsuite/gas/mips/branch-section-2.d: New test.
252 * testsuite/gas/mips/branch-section-3.d: New test.
253 * testsuite/gas/mips/branch-section-4.d: New test.
254 * testsuite/gas/mips/branch-section.l: New stderr output.
255 * testsuite/gas/mips/branch-section.s: New test source.
256 * testsuite/gas/mips/mips.exp: Run the new tests.
258 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
260 * testsuite/gas/arc/textauxregister.d: New file.
261 * testsuite/gas/arc/textauxregister.s: Likewise.
262 * testsuite/gas/arc/textcondcode.d: Likewise.
263 * testsuite/gas/arc/textcondcode.s: Likewise.
264 * testsuite/gas/arc/textcoreregister.d: Likewise.
265 * testsuite/gas/arc/textcoreregister.s: Likewise.
266 * testsuite/gas/arc/textpseudoop.d: Likewise.
267 * testsuite/gas/arc/textpseudoop.s: Likewise.
268 * testsuite/gas/arc/ld2.d: Update test.
269 * testsuite/gas/arc/st.d: Likewise.
270 * testsuite/gas/arc/taux.d: Likewise.
271 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
272 .extCoreRegister and .extAuxRegister documentation.
273 * config/tc-arc.c (arc_extcorereg): New function.
274 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
275 .extAuxRegister pseudo-ops.
276 (extRegister_t): New type.
277 (ext_condcode, arc_aux_hash): New global variable.
278 (find_opcode_match): Check for extensions.
279 (preprocess_operands): Likewise.
280 (md_begin): Add aux registers in a hash.
281 (assemble_insn): Update use arc_flags member.
282 (tokenize_extregister): New function.
283 (create_extcore_section): Likewise.
284 * config/tc-arc.h (arc_flags): Delete code, add flgp.
286 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
288 * testsuite/gas/arc/noargs_a7.d: New file.
289 * testsuite/gas/arc/noargs_a7.s: Likewise.
290 * testsuite/gas/arc/noargs_hs.d: Likewise.
291 * testsuite/gas/arc/noargs_hs.s: Likewise.
293 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
295 * testsuite/gas/arc/textinsn-errors.d: New File.
296 * testsuite/gas/arc/textinsn-errors.err: Likewise.
297 * testsuite/gas/arc/textinsn-errors.s: Likewise.
298 * testsuite/gas/arc/textinsn2op.d: Likewise.
299 * testsuite/gas/arc/textinsn2op.s: Likewise.
300 * testsuite/gas/arc/textinsn2op01.d: Likewise.
301 * testsuite/gas/arc/textinsn2op01.s: Likewise.
302 * testsuite/gas/arc/textinsn3op.d: Likewise.
303 * testsuite/gas/arc/textinsn3op.s: Likewise.
304 * doc/c-arc.texi (ARC Directives): Add .extInstruction
306 * config/tc-arc.c (arcext_section): New variable.
307 (arc_extinsn): New function.
308 (md_pseudo_table): Add .extInstruction pseudo op.
309 (attributes_t): New type.
310 (suffixclass, syntaxclass, syntaxclassmod): New constant
312 (find_opcode_match): Remove arc_num_opcodes.
313 (md_begin): Likewise.
314 (tokenize_extinsn): New function.
315 (arc_set_ext_seg): Likewise.
316 (create_extinst_section): Likewise.
318 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
320 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
321 (arc_adjust_symtab): New function.
322 * config/tc-arc.h (ARC_FLAG_AUX): Define.
323 (obj_adjust_symtab): Likewise.
324 * testsuite/gas/arc/taux.d: New file.
325 * testsuite/gas/arc/taux.s: Likewise.
327 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
329 * config/tc-mips.c (s_option): Sanitize `.option picX'
331 * testsuite/gas/mips/option-pic-1.d: New test.
332 * testsuite/gas/mips/option-pic-2.l: New list test.
333 * testsuite/gas/mips/option-pic-1.s: New test source.
334 * testsuite/gas/mips/option-pic-2.s: New test source.
335 * testsuite/gas/mips/mips.exp: Run the new tests.
337 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
339 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
341 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
342 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
343 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
344 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
345 * testsuite/gas/mips/mips.exp: Run the new tests.
347 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
349 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
351 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
353 * messages.c (as_bad): Fix a typo in description.
355 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
357 * config/tc-mips.c (mips_check_options): Unify messages.
359 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
361 * config/tc-mips.c (mips_check_options): Use `opts->isa'
364 2016-04-08 Nick Clifton <nickc@redhat.com>
367 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
368 COFF and AOUT sparc targets.
370 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
372 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
373 * testsuite/gas/arc/nps400-2.d: New file.
374 * testsuite/gas/arc/nps400-2.s: New file.
376 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
378 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
380 (arc_opcode_hash_entry_iterator_init): New function.
381 (arc_opcode_hash_entry_iterator_next): New function.
382 (find_opcode_match): Iterate over all arc_opcode entries
383 referenced by the arc_opcode_hash_entry passed in as a parameter.
385 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
387 * config/tc-arc.c (arc_find_opcode): Now returns
388 arc_opcode_hash_entry pointer.
389 (find_opcode_match): Update argument type, extract arc_opcode from
390 incoming arc_opcode_hash_entry.
391 (find_special_case_pseudo): Update return type.
392 (find_special_case_flag): Update return type.
393 (find_special_case): Update return type.
394 (assemble_tokens): Lookup arc_opcode_hash_entry based on
395 instruction mnemonic, then use find_opcode_match to identify
398 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
400 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
401 (arc_find_opcode): New function.
402 (find_special_case_pseudo): Use arc_find_opcode.
403 (find_special_case_flag): Likewise.
404 (assemble_tokens): Likewise.
405 (md_begin): Build hash using struct arc_opcode_hash_entry.
407 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
409 * config/tc-arc.c (arc_option): Prepare string for automatic
411 (declare_register): Likewise.
413 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
415 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
416 Correct entry for RDMA. Alpha sort entries.
418 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
420 * config/tc-arc.c (tokenize_flags): Allow greater range of
421 characters into flag names.
423 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
425 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
427 (preprocess_operands): Delete.
428 (assemble_tokens): Remove call to preprocess_operands.
430 2016-04-07 Nick Clifton <nickc@redhat.com>
433 * config/tc-sparc.c (sparc_ip): Report an error if the expression
434 inside a %-macro could not be fully parsed.
435 * expr.c (integer_constant): Accept and ignore U suffixes to
437 (operand): When a missing closing parenthesis is encountered,
438 report the character that was found instead.
439 * testsuite/gas/mips/tls-ill.l: Update expected error message.
440 * testsuite/gas/sparc/pr19910-1.d: New test driver.
441 * testsuite/gas/sparc/pr19910-1.s: New test.
442 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
443 * testsuite/gas/sparc/pr19910-2.s: New test.
444 * testsuite/gas/sparc/sparc.exp: Run the new tests.
446 2016-04-06 Nick Clifton <nickc@redhat.com>
448 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
449 an EINT instruction. Warn/fix as necessary.
450 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
451 * testsuite/gas/msp430/bad.l: Update expected messages.
453 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
455 * testsuite/gas/arc/nps400-1.d: Update expected results.
456 * testsuite/gas/arc/nps400-1.s: Additional test cases.
458 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
460 * config/tc-arc.c (is_code_density_p): Compare directly the
462 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
463 (check_cpu_feature): New function.
464 (find_opcode_match): Use check_cpu_feature function.
465 (preprocess_operands): Likewise.
466 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
467 * testsuite/gas/arc/tdpfp.d: New file.
468 * testsuite/gas/arc/tfpuda.d: Likewise.
469 * testsuite/gas/arc/tfpx.s: Likewise.
471 2016-04-05 Jiong Wang <jiong.wang@arm.com>
473 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
474 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
475 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
476 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
477 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
478 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
479 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
480 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
482 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
484 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
486 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
487 JUMP instructions type.
488 * testsuite/gas/arc/relocs-errors.d: New file.
489 * testsuite/gas/arc/relocs-errors.err: Likewise.
490 * testsuite/gas/arc/relocs-errors.s: Likewise.
492 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
495 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
496 only if i.disp_encoding != disp_encoding_32bit.
497 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
498 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
499 * gas/testsuite/gas/i386/disp32.d: Updated.
500 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
502 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
505 * testsuite/gas/i386/i386.exp: Run pr19498.
506 * testsuite/gas/i386/pr19498.d: New file.
507 * testsuite/gas/i386/pr19498.s: Likewise.
509 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
511 * config/tc-arc.h: Include 'opcode/arc.h'.
512 (MAX_INSN_ARGS): Delete.
513 (MAX_INSN_FLGS): Delete.
515 2016-04-04 Alan Modra <amodra@gmail.com>
518 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
519 from function on all paths that set sy_resolving.
521 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
523 * app.c (app_push): use XNEW macro.
525 * config/obj-elf.c (obj_elf_change_section): Likewise.
526 (elf_copy_symbol_attributes): Likewise.
527 (obj_elf_size): Likewise.
528 (build_group_lists): Likewise.
529 * config/tc-aarch64.c (add_operand_error_record): Likewise.
530 (md_assemble): Likewise.
531 (tc_gen_reloc): Likewise.
532 (get_upper_str): Likewise.
533 (aarch64_parse_features): Likewise.
534 * config/tc-arm.c (insert_reg_alias): Likewise.
535 (insert_neon_reg_alias): Likewise.
536 (find_or_make_literal_pool): Likewise.
537 (s_arm_elf_cons): Likewise.
538 (add_unwind_opcode): Likewise.
539 (arm_parse_extension): Likewise.
540 * config/tc-avr.c (create_record_for_frag): Likewise.
541 * config/tc-crx.c: Likewise.
542 * config/tc-d30v.c: Likewise.
543 * config/tc-dlx.c (s_proc): Likewise.
544 * config/tc-ft32.c: Likewise.
545 * config/tc-h8300.c: Likewise.
546 * config/tc-hppa.c (pa_proc): Likewise.
547 (create_new_space): Likewise.
548 (create_new_subspace): Likewise.
549 * config/tc-i860.c: Likewise.
550 * config/tc-i960.c: Likewise.
551 * config/tc-ia64.c: Likewise.
552 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
553 (iq2000_record_hi16): Likewise.
554 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
555 * config/tc-m32r.c (debug_sym): Likewise.
556 (m32r_record_hi16): Likewise.
557 * config/tc-m68k.c (m68k_ip): Likewise.
558 (md_begin): Likewise.
559 * config/tc-mcore.c: Likewise.
560 * config/tc-microblaze.c (check_got): Likewise.
561 * config/tc-mips.c (append_insn): Likewise.
562 (s_mipsset): Likewise.
563 (mips_record_label): Likewise.
564 (s_mips_end): Likewise.
565 * config/tc-mmix.c (mmix_frob_file): Likewise.
566 * config/tc-mn10200.c: Likewise.
567 * config/tc-mn10300.c: Likewise.
568 * config/tc-moxie.c: Likewise.
569 * config/tc-msp430.c: Likewise.
570 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
571 * config/tc-ns32k.c: Likewise.
572 * config/tc-or1k.c: Likewise.
573 * config/tc-pdp11.c: Likewise.
574 * config/tc-pj.c (fake_opcode): Likewise.
575 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
576 (ppc_macro): Likewise.
577 (ppc_dwsect): Likewise.
578 (ppc_machine): Likewise.
579 * config/tc-rl78.c (rl78_frag_init): Likewise.
580 * config/tc-rx.c (rx_frag_init): Likewise.
581 * config/tc-s390.c (s390_lit_suffix): Likewise.
582 (s390_machine): Likewise.
583 (s390_machinemode): Likewise.
584 * config/tc-score.c (s3_insert_reg): Likewise.
585 (s3_gen_reloc): Likewise.
586 * config/tc-score7.c (s7_insert_reg): Likewise.
587 (s7_gen_reloc): Likewise.
588 * config/tc-tic30.c (tic30_operand): Likewise.
589 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
590 * config/tc-tic54x.c (stag_add_field): Likewise.
591 (tic54x_struct): Likewise.
592 (tic54x_space): Likewise.
593 (tic54x_field): Likewise.
594 (tic54x_mlib): Likewise.
595 (subsym_substitute): Likewise.
596 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
597 * config/tc-vax.c: Likewise.
598 * config/tc-xc16x.c: Likewise.
599 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
600 (directive_push): Likewise.
601 (xtensa_begin_directive): Likewise.
602 (tokenize_arguments): Likewise.
603 (xtensa_add_literal_sym): Likewise.
604 (new_resource_table): Likewise.
605 (resize_resource_table): Likewise.
606 (emit_single_op): Likewise.
607 (xtensa_create_trampoline_frag): Likewise.
608 (xtensa_maybe_create_literal_pool_frag): Likewise.
609 (xtensa_add_config_info): Likewise.
610 (xtensa_realloc_fixup_cache): Likewise.
611 (add_subseg_info): Likewise.
612 (cache_literal_section): Likewise.
613 (add_xt_block_frags): Likewise.
614 (add_xt_prop_frags): Likewise.
615 (init_op_placement_info_table): Likewise.
616 (build_section_rename): Likewise.
617 * config/tc-z80.c: Likewise.
618 * config/tc-z8k.c: Likewise.
619 * depend.c (register_dependency): Likewise.
620 * dwarf2dbg.c (get_line_subseg): Likewise.
621 (dwarf2_gen_line_info_1): Likewise.
622 (get_filenum): Likewise.
623 * ecoff.c (allocate_scope): Likewise.
624 (allocate_vlinks): Likewise.
625 (allocate_shash): Likewise.
626 (allocate_thash): Likewise.
627 (allocate_tag): Likewise.
628 (allocate_forward): Likewise.
629 (allocate_thead): Likewise.
630 (allocate_lineno_list): Likewise.
631 * expr.c (make_expr_symbol): Likewise.
632 * hash.c (hash_new_sized): Likewise.
633 * input-file.c (input_file_push): Likewise.
634 * listing.c (file_info): Likewise.
635 (listing_newline): Likewise.
636 * macro.c (new_formal): Likewise.
637 (define_macro): Likewise.
638 * remap.c (add_debug_prefix_map): Likewise.
639 * symbols.c (symbol_find_noref): Likewise.
640 (define_dollar_label): Likewise.
641 (fb_label_instance_inc): Likewise.
642 (symbol_relc_make_value): Likewise.
644 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
646 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
647 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
648 (ppc_znop): Likewise.
649 (ppc_pe_section): Likewise.
650 (ppc_frob_symbol): Likewise.
651 * config/tc-tic30.c (tic30_operand): Likewise.
652 * config/tc-tic4x.c (tic4x_sect): Likewise.
653 (tic4x_usect): Likewise.
655 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
657 * config/tc-alpha.c: Const qualify FLT_CHARS.
658 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
659 * config/tc-cris.h: Likewise.
661 * config/tc-mmix.c (md_atof): Adjust comment.
662 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
663 * tc.h: Declare FLT_CHARS and EXP_CHARS.
665 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
667 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
668 * config/tc-score7.c (s7_gen_reloc): Likewise.
670 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
672 * config/tc-arm.c (do_t_branch): Change the type of reloc to
673 bfd_reloc_code_real_type.
675 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
677 * config/bfin-parse.y (current_inputline): Remove definition.
678 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
680 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
682 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
685 2016-04-02 Alan Modra <amodra@gmail.com>
688 * read.c (assign_symbol): Consume rest of line after an error
689 rather than continuing to process the line.
691 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
693 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
694 (MAX_FLAG_NAME_LENGTH): ...this.
695 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
696 * config/tc-arc.c (tokenize_flags): Likewise.
698 2016-04-01 Alan Modra <amodra@gmail.com>
700 * cgen.c (weak_operand_overflow_check): Return const char*.
701 * messages.c (as_internal_value_out_of_range): Formatting.
702 (as_warn_value_out_of_range): Consify prefix param.
703 (as_bad_value_out_of_range): Likewise.
704 * read.c (s_errwarn): Constify msg..
705 (s_float_space, float_cons): ..and err.
706 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
707 ieee_md_atof, vax_md_atof): Update prototypes.
708 * tc.h (md_atof): Update prototype.
709 * config/atof-ieee.c (ieee_md_atof): Return const char*.
710 * config/atof-vax.c (vax_md_atof): Likewise.
711 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
712 * config/tc-aarch64.c (md_atof): Return const char*.
713 * config/tc-alpha.c (s_alpha_section_name): Likewise.
714 (s_alpha_comm): Constify sec_name.
715 (section_name): Constify.
716 (s_alpha_section): Consify name..
717 (alpha_elf_section_letter): ..and ptr_msg param..
718 (md_atof): ..and return.
719 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
720 * config/tc-arc.c (md_atof): Return const char*.
721 * config/tc-arm.c (md_atof): Likewise.
722 * config/tc-avr.c (md_atof): Likewise.
723 * config/tc-bfin.c (md_atof): Likewise.
724 * config/tc-cr16.c (md_atof): Likewise.
725 * config/tc-cris.c (md_atof): Likewise.
726 * config/tc-crx.c (md_atof): Likewise.
727 * config/tc-d10v.c (md_atof): Likewise.
728 * config/tc-d30v.c (md_atof): Likewise.
729 * config/tc-dlx.c (md_atof): Likewise.
730 * config/tc-epiphany.c (md_atof): Likewise.
731 * config/tc-fr30.c (md_atof): Likewise.
732 * config/tc-frv.c (md_atof): Likewise.
733 * config/tc-ft32.c (md_atof): Likewise.
734 * config/tc-h8300.c (md_atof): Likewise.
735 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
736 (struct default_space_dict): Likewise.
737 (create_new_space): Constify name param.
738 (create_new_subspace): Likewise.
739 (is_defined_space, is_defined_subspace): Likewise.
740 (pa_parse_space_stmt): Constify space_name param.
741 (md_atof): Return const char*.
742 (pa_spaces_begin): Constify name.
743 * config/tc-i370.c (md_atof): Return const char*.
744 * config/tc-i386.c (md_atof): Likewise.
745 (x86_64_section_letter): Constify ptr_msg param.
746 * config/tc-i386.h (x86_64_section_letter): Update prototype.
747 * config/tc-i860.c (struct i860_it): Constify error.
748 (md_atof): Return const char*.
749 * config/tc-i960.c (md_atof): Likewise.
750 * config/tc-ia64.c (md_atof): Likewise.
751 (ia64_elf_section_letter): Constify ptr_msg param.
752 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
753 * config/tc-ip2k.c (md_atof): Return const char*.
754 * config/tc-iq2000.c (md_atof): Likewise.
755 * config/tc-lm32.c (md_atof): Likewise.
756 * config/tc-m32c.c (md_atof): Likewise.
757 * config/tc-m32r.c (md_atof): Likewise.
758 * config/tc-m68hc11.c (md_atof): Likewise.
759 * config/tc-m68k.c (md_atof): Likewise.
760 * config/tc-mcore.c (md_atof): Likewise.
761 * config/tc-mep.c (md_atof): Likewise.
762 (mep_elf_section_letter): Constify ptr_msg param.
763 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
764 * config/tc-metag.c (md_atof): Return const char*.
765 * config/tc-microblaze.c (md_atof): Likewise.
766 * config/tc-microblaze.h (md_atof): Delete prototype.
767 * config/tc-mips.c (mips_parse_argument_token): Constify err.
768 (md_atof): Return const char*.
769 * config/tc-mmix.c (md_atof): Likewise.
770 * config/tc-mn10200.c (md_atof): Likewise.
771 * config/tc-mn10300.c (md_atof): Likewise.
772 * config/tc-moxie.c (md_atof): Likewise.
773 * config/tc-msp430.c (md_atof): Likewise.
774 * config/tc-mt.c (md_atof): Likewise.
775 * config/tc-nds32.c (md_atof): Likewise.
776 * config/tc-nios2.c (md_atof): Likewise.
777 (nios2_elf_section_letter): Constify ptr_msg param.
778 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
779 * config/tc-ns32k.c (md_atof): Return const char*.
780 * config/tc-or1k.c (md_atof): Likewise.
781 * config/tc-pdp11.c (struct pdp11_code): Constify error.
782 (md_atof): Return const char*.
783 * config/tc-pj.c (md_atof): Likewise.
784 * config/tc-ppc.c (md_atof): Likewise.
785 * config/tc-rl78.c (md_atof): Likewise.
786 * config/tc-rx.c (md_atof): Likewise.
787 * config/tc-s390.c (md_atof): Likewise.
788 * config/tc-score.c (s3_atof, md_atof): Likewise.
789 * config/tc-sh.c (md_atof): Likewise.
790 * config/tc-sparc.c (struct sparc_it): Constify error.
791 (md_atof): Return const char*.
792 * config/tc-spu.c (md_atof): Likewise.
793 * config/tc-tic30.c (md_atof): Likewise.
794 * config/tc-tic4x.c (md_atof): Likewise.
795 * config/tc-tic54x.c (md_atof): Likewise.
796 * config/tc-tic6x.c (md_atof): Likewise.
797 * config/tc-tilegx.c (md_atof): Likewise.
798 * config/tc-tilepro.c (md_atof): Likewise.
799 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
800 * config/tc-vax.c (md_atof): Likewise.
801 * config/tc-visium.c (md_atof): Likewise.
802 * config/tc-xc16x.c (md_atof): Likewise.
803 * config/tc-xgate.c (md_atof): Likewise.
804 * config/tc-xstormy16.c (md_atof): Likewise.
805 * config/tc-xtensa.c (md_atof): Likewise.
806 * config/tc-z80.c (md_atof): Likewise.
807 * config/tc-z8k.c (md_atof): Likewise.
809 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
811 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
813 (xtensa_section_rename): Make argument type const char *.
814 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
816 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
818 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
821 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
823 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
825 (m32c_indirect_operand): Likewise.
826 * config/tc-nds32.c (do_pseudo_b): Likewise.
827 (do_pseudo_bal): Likewise.
828 (do_pseudo_ls_bhw): Likewise.
830 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
832 * as.c (parse_args): Cast literal to char * when assigning to optarg.
834 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
836 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
838 * config/tc-sparc.c (s_register): Cast a literal to char * in
841 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
843 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
845 * config/tc-m32r.c (expand_debug_syms): Likewise.
846 * config/tc-msp430.c (msp430_dstoperand): Likewise.
847 * config/tc-z80.c (md_begin): Likewise.
848 * stabs.c (stabs_generate_asm_func): Likewise.
850 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
852 * cgen.c: Modernize the way functions declare arguments.
853 * config/tc-bfin.c: Likewise.
854 * config/tc-pdp11.c: Likewise.
855 * literal.c: Likewise.
859 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
861 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
862 variables unsigned char[].
863 * config/tc-alpha.c (alpha_handle_align): Likewise.
864 * config/tc-arm.c (arm_handle_align): Likewise.
865 * config/tc-z80.c: Likewise.
867 2016-03-30 Nick Clifton <nickc@redhat.com>
870 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
873 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
875 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
876 * testsuite/gas/elf/elf.exp: Likewise.
877 * testsuite/gas/all/redef3.d: Allow execution for ARC.
879 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
881 * testsuite/gas/arc/warn.exp: Fix matching pattern.
883 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
885 * testsuite/gas/arc/ext2op.d: New file.
886 * testsuite/gas/arc/ext2op.s: Likewise.
887 * testsuite/gas/arc/ext3op.d: Likewise.
888 * testsuite/gas/arc/ext3op.s: Likewise.
890 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
892 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
894 * config/tc-alpha.c (md_parse_option): Likewise.
895 * config/tc-arc.c (md_parse_option): Likewise.
896 * config/tc-arm.c (struct arm_long_option_table): Likewise.
897 (md_parse_option): Likewise.
898 * config/tc-avr.c (md_parse_option): Likewise.
899 * config/tc-bfin.c (md_parse_option): Likewise.
900 * config/tc-cr16.c (md_parse_option): Likewise.
901 * config/tc-cris.c (s_cris_arch): Likewise.
902 (md_parse_option): Likewise.
903 * config/tc-crx.c (md_parse_option): Likewise.
904 * config/tc-d10v.c (md_parse_option): Likewise.
905 * config/tc-d30v.c (md_parse_option): Likewise.
906 * config/tc-dlx.c (md_parse_option): Likewise.
907 * config/tc-epiphany.c (md_parse_option): Likewise.
908 * config/tc-fr30.c (md_parse_option): Likewise.
909 * config/tc-frv.c (md_parse_option): Likewise.
910 * config/tc-ft32.c (md_parse_option): Likewise.
911 * config/tc-h8300.c (md_parse_option): Likewise.
912 * config/tc-hppa.c (md_parse_option): Likewise.
913 * config/tc-i370.c (md_parse_option): Likewise.
914 * config/tc-i386.c (md_parse_option): Likewise.
915 * config/tc-i860.c (md_parse_option): Likewise.
916 * config/tc-i960.c (md_parse_option): Likewise.
917 * config/tc-ia64.c (md_parse_option): Likewise.
918 * config/tc-ip2k.c (md_parse_option): Likewise.
919 * config/tc-iq2000.c (md_parse_option): Likewise.
920 * config/tc-lm32.c (md_parse_option): Likewise.
921 * config/tc-m32c.c (md_parse_option): Likewise.
922 * config/tc-m32r.c (md_parse_option): Likewise.
923 * config/tc-m68hc11.c (md_parse_option): Likewise.
924 * config/tc-m68k.c (md_parse_option): Likewise.
925 * config/tc-mcore.c (md_parse_option): Likewise.
926 * config/tc-mep.c (md_parse_option): Likewise.
927 * config/tc-metag.c (struct metag_long_option): Likewise.
928 (md_parse_option): Likewise.
929 * config/tc-microblaze.c (md_parse_option): Likewise.
930 * config/tc-microblaze.h (md_parse_option): Remove prototype.
931 * config/tc-mips.c (md_parse_option): Adjust.
932 * config/tc-mmix.c (md_parse_option): Likewise.
933 * config/tc-mn10200.c (md_parse_option): Likewise.
934 * config/tc-mn10300.c (md_parse_option): Likewise.
935 * config/tc-moxie.c (md_parse_option): Likewise.
936 * config/tc-msp430.c (md_parse_option): Likewise.
937 * config/tc-mt.c (md_parse_option): Likewise.
938 * config/tc-nds32.c (md_parse_option): Likewise.
939 * config/tc-nds32.h (nds32_parse_option): Likewise.
940 * config/tc-nios2.c (md_parse_option): Likewise.
941 * config/tc-ns32k.c (md_parse_option): Likewise.
942 * config/tc-or1k.c (md_parse_option): Likewise.
943 * config/tc-pdp11.c (md_parse_option): Likewise.
944 * config/tc-pj.c (md_parse_option): Likewise.
945 * config/tc-ppc.c (md_parse_option): Likewise.
946 * config/tc-rl78.c (md_parse_option): Likewise.
947 * config/tc-rx.c (md_parse_option): Likewise.
948 * config/tc-s390.c (s390_parse_cpu): Likewise.
949 * config/tc-score.c (md_parse_option): Likewise.
950 * config/tc-sh.c (md_parse_option): Likewise.
951 * config/tc-sparc.c (md_parse_option): Likewise.
952 * config/tc-spu.c (md_parse_option): Likewise.
953 * config/tc-tic30.c (md_parse_option): Likewise.
954 * config/tc-tic4x.c (md_parse_option): Likewise.
955 * config/tc-tic54x.c (md_parse_option): Likewise.
956 * config/tc-tic6x.c (md_parse_option): Likewise.
957 * config/tc-tilegx.c (md_parse_option): Likewise.
958 * config/tc-tilepro.c (md_parse_option): Likewise.
959 * config/tc-v850.c (md_parse_option): Likewise.
960 * config/tc-vax.c (md_parse_option): Likewise.
961 * config/tc-visium.c (struct visium_long_option_table): Likewise.
962 * config/tc-xc16x.c (md_parse_option): Likewise.
963 * config/tc-xgate.c (md_parse_option): Likewise.
964 * config/tc-xstormy16.c (md_parse_option): Likewise.
965 * config/tc-xtensa.c (md_parse_option): Likewise.
966 * config/tc-z80.c (md_parse_option): Likewise.
967 * config/tc-z8k.c (md_parse_option): Likewise.
968 * tc.h (md_parse_option): Likewise.
970 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
972 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
973 * config/tc-hppa.c (fix_new_hppa): Likewise.
974 (pa_vtable_entry): Likewise.
975 (pa_vtable_inherit): Likewise.
976 * config/tc-m68k.c (md_begin): Likewise.
978 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
980 * config/obj-elf.c (obj_elf_section_name): Return const char *.
981 * config/obj-elf.h (obj_elf_section_name): Adjust.
982 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
983 (aarch64_parse_cpu): Likewise.
984 (aarch64_parse_arch): Likewise.
985 * config/tc-arm.c (arm_parse_extension): Likewise.
986 (arm_parse_cpu): Likewise.
987 (arm_parse_arch): Likewise.
988 * config/tc-nds32.c: Likewise.
989 * config/xtensa-relax.c (parse_special_fn): Likewise.
990 * stabs.c (generate_asm_file): Likewise.
992 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
994 * config/tc-cr16.c (cr16_assemble): New function.
995 (md_assemble): Call cr16_assemble.
997 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
999 * as.c (parse_args): Adjust.
1000 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1001 * config/obj-elf.c (elf_frob_symbol): Adjust.
1003 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1005 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1006 registers to be in the 16..31 range.
1008 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1010 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1013 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1015 * config/tc-visium.c (md_atof): Localize the string returned on
1018 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1020 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1021 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1022 * config/tc-m68hc11.c (md_begin): Likewise.
1023 (print_opcode_list): Likewise.
1024 * config/tc-msp430.c (msp430_section): Likewise.
1025 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1026 (s3_build_dependency_insn_hsh): Likewise.
1027 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1028 (s7_build_dependency_insn_hsh): Likewise.
1029 * config/tc-tic4x.c: Likewise.
1030 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1031 (subsym_get_arg): Likewise.
1032 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1033 (get_directive): Likewise.
1034 (cache_literal_section): Likewise.
1035 * config/xtensa-relax.c: Likewise.
1036 * symbols.c (symbol_create): Likewise.
1037 (local_symbol_make): Likewise.
1038 (symbol_relc_make_expr): Likewise.
1040 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1042 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1045 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1047 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1050 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1052 * config/tc-ia64.c (ia64_do_align): Remove.
1053 (ia64_cons_align): Call do_align () directly.
1054 (dot_proc): Likewise.
1055 (stmt_float_cons): Likewise.
1057 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1059 * listing.c (listing_message): Use XNEW style allocation macros.
1060 * read.c (read_a_source_file): Likewise.
1061 (read_symbol_name): Likewise.
1062 (s_mri_common): Likewise.
1063 (assign_symbol): Likewise.
1064 (s_reloc): Likewise.
1065 (emit_expr_with_reloc): Likewise.
1066 (s_incbin): Likewise.
1067 (s_include): Likewise.
1068 * sb.c (sb_build): Likewise.
1069 (sb_check): Likewise.
1071 2016-03-22 Alan Modra <amodra@gmail.com>
1073 * write.c (record_alignment): Revert 2016-02-18 change.
1075 2016-03-22 Alan Modra <amodra@gmail.com>
1077 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1078 (emit_jsrjmp, tc_gen_reloc): Likewise.
1079 * config/tc-i370.c (i370_macro): Likewise.
1081 2016-03-22 Nick Clifton <nickc@redhat.com>
1083 * configure: Regenerate.
1085 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1087 * testsuite/gas/arc/nps400-0.d: New file.
1088 * testsuite/gas/arc/nps400-0.s: New file.
1089 * testsuite/gas/arc/nps400-1.d: New file.
1090 * testsuite/gas/arc/nps400-1.s: New file.
1092 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1094 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1095 declarations to start of block. Reset code on all flags before
1096 attempting to match them. Handle multiple hits on the same flag.
1098 * testsuite/gas/arc/asm-errors.d: New file.
1099 * testsuite/gas/arc/asm-errors.err: New file.
1100 * testsuite/gas/arc/asm-errors.s: New file.
1102 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1104 * config/tc-arc.c (cpu_types): Add nps400 entry.
1105 (check_zol): Handle nps400.
1107 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1109 * config/tc-arc.c (arc_select_cpu): Remove use of
1112 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1114 * config/tc-arc.c (arc_target): Delay initialisation until
1116 (arc_target_name): Likewise.
1117 (arc_features): Likewise.
1118 (arc_mach_type): Likewise.
1119 (cpu_types): Remove "all" entry.
1120 (arc_select_cpu): New function, most of the content is from...
1121 (md_parse_option): ... here. Call new arc_select_cpu.
1122 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1124 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1126 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1127 * testsuite/gas/arc/inline-data-2.d: New file.
1129 2016-03-21 Nick Clifton <nickc@redhat.com>
1131 * atof-generic.c: Replace use of alloca with call to xmalloc.
1133 * dwarf2dbg.c: Likewise.
1134 * macro.c: Likewise.
1135 * remap.c: Likewise.
1136 * stabs.c: Likewise.
1137 * symbols.c: Likewise.
1138 * config/obj-elf.c: Likewise.
1139 * config/tc-aarch64.c: Likewise.
1140 * config/tc-arc.c: Likewise.
1141 * config/tc-arm.c: Likewise.
1142 * config/tc-avr.c: Likewise.
1143 * config/tc-ia64.c: Likewise.
1144 * config/tc-mips.c: Likewise.
1145 * config/tc-msp430.c: Likewise.
1146 * config/tc-nds32.c: Likewise.
1147 * config/tc-ppc.c: Likewise.
1148 * config/tc-sh.c: Likewise.
1149 * config/tc-tic30.c: Likewise.
1150 * config/tc-tic54x.c: Likewise.
1151 * config/tc-xstormy16.c: Likewise.
1152 * config/te-vms.c: Likewise.
1153 * configure: Regenerate.
1155 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1157 * tc-i386.c (f32_1): Change type to unsigned char[].
1177 (jump_31): Likewise.
1178 (f32_patt): Likewise.
1179 (f16_patt): Likewise.
1188 (alt_patt): Likewise.
1190 2016-03-18 Nick Clifton <nickc@redhat.com>
1192 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1193 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1194 .tlsdescldr and .xword directives.
1197 * testsuite/gas/aarch64/pr19721.s: New test source file.
1198 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1200 * doc/as.texinfo: Place the target specific command line options
1201 into their own man page section.
1203 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1205 * config/tc-arm.c (N_S_32): New.
1206 (N_F_16_32): Likewise.
1207 (N_SUF_32): Support N_F16.
1208 (N_IF_32): Likewise.
1209 (neon_dyadic_misc): Likewise.
1210 (do_neon_cmp): Likewise.
1211 (do_neon_cmp_inv): Likewise.
1212 (do_neon_mul): Likewise.
1213 (do_neon_fcmp_absolute): Likewise.
1214 (do_neon_step): Likewise.
1215 (do_neon_abs_neg): Likewise.
1216 (CVT_FLAVOR_VAR): Likewise.
1217 (do_neon_cvt_1): Likewise.
1218 (do_neon_recip_est): Likewise.
1219 (do_vmaxnm): Likewise.
1220 (do_vrint_1): Likewise.
1221 (neon_check_type): Check architecture support for FP16 extension.
1222 (insns): Update comments.
1223 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1224 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1225 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1226 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1228 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1230 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1233 2016-03-16 Nick Clifton <nickc@redhat.com>
1235 * read.c (emit_expr_with_reloc): Add code check a bignum with
1237 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1239 * testsuite/gas/elf/bignum.s: New test source file.
1240 * testsuite/gas/elf/bignum.d: New test driver file.
1241 * testsuite/gas/elf/elf.exp: Run the new test.
1243 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1245 * doc/c-i386.texi (Register Naming): Update to details of the
1246 latest architecture version.
1248 2016-03-10 Mickael Guene <mickael.guene@st.com>
1251 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1253 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1254 (do_t_mov_cmp): Likewise.
1255 (do_t_add_sub): Protect against bad relocations usage.
1256 (do_t_mov_cmp): Likewise.
1257 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1258 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1259 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1260 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1262 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1264 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1266 (do_neon_ld_st_lane): Likewise.
1267 (do_neon_ld_dup): Likewise.
1269 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1271 * testsuite/gas/arc/inline-data-1.d: New file.
1272 * testsuite/gas/arc/inline-data-1.s: New file.
1274 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1276 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1277 * doc/c-arm.texi: Add cortex-r8.
1279 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1281 * config/tc-arc.c: Add const qualifiers.
1282 * config/tc-h8300.c (md_begin): Likewise.
1283 * config/tc-ia64.c (print_prmask): Likewise.
1284 * config/tc-msp430.c (msp430_operands): Likewise.
1285 * config/tc-nds32.c (struct suffix_name): Likewise.
1286 (struct nds32_parse_option_table): Likewise.
1287 (struct nds32_set_option_table): Likewise.
1288 (do_pseudo_pushpopm): Likewise.
1289 (do_pseudo_pushpop_stack): Likewise.
1290 (nds32_relax_relocs): Likewise.
1291 (nds32_flag): Likewise.
1292 (struct nds32_hint_map): Likewise.
1293 (nds32_find_reloc_table): Likewise.
1294 (nds32_match_hint_insn): Likewise.
1295 * config/tc-s390.c: Likewise.
1296 * config/tc-sh.c (get_specific): Likewise.
1297 * config/tc-tic30.c: Likewise.
1298 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1299 (tic4x_indirect_parse): Likewise.
1300 * config/tc-vax.c (vax_cons): Likewise.
1301 * config/tc-z80.c (struct reg_entry): Likewise.
1302 * config/tc-epiphany.c (md_assemble): Adjust.
1303 (epiphany_assemble): New function.
1304 (epiphany_elf_section_rtn): Call do_align directly.
1305 (epiphany_elf_section_text): Likewise.
1306 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1307 (ip2k_elf_section_text): Likewise.
1308 * read.c (do_align): Make it not static.
1309 * read.h (do_align): New prototype.
1311 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1313 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1314 for ARMv8.1 AdvSIMD use.
1315 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1316 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1318 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1320 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1322 (record_feature_use): New.
1323 (mark_feature_used): Use record_feature_use.
1324 (do_neon_qrdmlah): New.
1325 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1327 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1328 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1329 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1330 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1331 Make source file explicit.
1332 * testsuite/gas/arm/armv8-a+rdma.l: New.
1333 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1334 directives. Fix white-space.
1335 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1337 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1339 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1341 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1342 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1344 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1345 (tc_arc_fix_adjustable): Changed default return value to 1.
1346 * testsuite/gas/arc/j.d: Updated expected symbol
1347 * testsuite/gas/arc/jl.d: Likewise
1348 * testsuite/gas/arc/relax-avoid1.d: Likewise
1349 * testsuite/gas/arc/st.d: Likewise
1351 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1353 * config/tc-arc.c: Enable code density instructions for ARC EM.
1355 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1358 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1360 * as.c (flag_use_elf_stt_common): New.
1361 (show_usage): Add --elf-stt-common=.
1362 (option_values): Add OPTION_ELF_STT_COMMON.
1363 (std_longopts): Add --elf-stt-common=.
1364 (parse_args): Handle --elf-stt-common=.
1365 * as.h (flag_use_elf_stt_common): New.
1366 * config.in: Regenerated.
1367 * configure: Likewise.
1368 * configure.ac: Add --enable-elf-stt-common and define
1369 DEFAULT_GENERATE_ELF_STT_COMMON.
1370 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1371 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1372 * doc/as.texinfo: Document --elf-stt-common=.
1373 * testsuite/gas/elf/common3.s: New file.
1374 * testsuite/gas/elf/common3a.d: Likewise.
1375 * testsuite/gas/elf/common3b.d: Likewise.
1376 * testsuite/gas/elf/common4.s: Likewise.
1377 * testsuite/gas/elf/common4a.d: Likewise.
1378 * testsuite/gas/elf/common4b.d: Likewise.
1379 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1380 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1381 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1383 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1384 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1385 --elf-stt-common=no to as.
1386 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1387 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1388 --elf-stt-common=no to as.
1389 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1390 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1391 of dw2-compress-3 and dw2-compressed-3.
1393 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1395 * as.c (select_emulation_mode): Add const qualifiers.
1397 * config/bfin-defs.h: Likewise.
1398 * config/bfin-parse.y: Likewise.
1399 * config/rx-parse.y: Likewise.
1400 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1401 (struct aarch64_cpu_option_table): Likewise.
1402 (struct aarch64_arch_option_table): Likewise.
1403 (struct aarch64_option_cpu_value_table): Likewise.
1404 (struct aarch64_long_option_table): Likewise.
1405 (struct aarch64_option_abi_value_table): Likewise.
1406 * config/tc-arm.c (struct reloc_entry): Likewise.
1407 (tc_gen_reloc): Likewise.
1408 (struct arm_option_table): Likewise.
1409 (struct arm_legacy_option_table): Likewise.
1410 (struct arm_cpu_option_table): Likewise.
1411 (struct arm_arch_option_table): Likewise.
1412 (struct arm_option_extension_value_table): Likewise.
1413 (struct arm_option_fpu_value_table): Likewise.
1414 (struct arm_option_value_table): Likewise.
1415 (struct arm_long_option_table): Likewise.
1416 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1417 (struct mcu_type_s): Likewise.
1418 (struct exp_mod_s): Likewise.
1419 (avr_operand): Likewise.
1420 (avr_operands): Likewise.
1421 * config/tc-d10v.c (md_begin): Likewise.
1422 * config/tc-dlx.c: Likewise.
1423 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1424 * config/tc-ft32.c (parse_condition): Likewise.
1425 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1426 * config/tc-hppa.c (pa_ip): Likewise.
1427 (hppa_regname_to_dw2regnum): Likewise.
1428 * config/tc-i370.c (i370_elf_suffix): Likewise.
1429 * config/tc-i960.c (struct tabentry): Likewise.
1430 * config/tc-m32r.c: Likewise.
1431 * config/tc-m68k.c: Likewise.
1432 * config/tc-m68k.h: Likewise.
1433 * config/tc-mcore.c (parse_psrmod): Likewise.
1434 * config/tc-metag.c (struct metag_core_option): Likewise.
1435 (struct metag_long_option): Likewise.
1436 * config/tc-microblaze.c: Likewise.
1437 * config/tc-mips.c (macro): Likewise.
1438 * config/tc-mn10200.c: Likewise.
1439 * config/tc-mn10300.c: Likewise.
1440 * config/tc-msp430.c (struct rcodes_s): Likewise.
1441 (struct hcodes_s): Likewise.
1442 (md_parse_option): Likewise.
1443 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1444 (optlist): Likewise.
1445 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1446 (tc_ppc_regname_to_dw2regnum): Likewise.
1447 * config/tc-ppc.h: Likewise.
1448 * config/tc-rl78.c: Likewise.
1449 * config/tc-rx.c (struct cpu_type): Likewise.
1450 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1451 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1452 (sparc_ip): Likewise.
1453 * config/tc-spu.c (insn_fmt_string): Likewise.
1454 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1455 * config/tc-v850.c: Likewise.
1456 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1457 (struct visium_long_option_table): Likewise.
1458 * config/tc-xgate.c: Likewise.
1459 * config/tc-z8k.c: Likewise.
1460 * read.c (add_include_dir): Likewise.
1463 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1465 * testsuite/gas/all/gas.exp: Change target pattern to cover
1467 * testsuite/gas/all/redef3.d: Likewise.
1468 * testsuite/gas/elf/elf.exp: Likewise.
1470 2016-02-24 Renlin Li <renlin.li@arm.com>
1472 * config/tc-arm.c (BAD_FP16): New error message macro.
1473 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1474 fp16 scalar instructions.
1475 (neon_check_type): Allow different size from key.
1476 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1477 (try_vfp_nsyn): Likewise.
1478 (do_vfp_nsyn_mla_mls): Likewise.
1479 (do_vfp_nsyn_fma_fms): Likewise.
1480 (do_vfp_nsyn_ldm_stm): Likewise
1481 (do_vfp_nsyn_sqrt): Likewise
1482 (do_vfp_nsyn_div): Likewise
1483 (do_vfp_nsyn_nmul): Likewise.
1484 (do_vfp_nsyn_cmp): Likewise.
1485 (do_neon_shll): Likewise.
1486 (do_vfp_nsyn_cvt_fpv8): Likewise.
1487 (do_neon_cvttb_2): Likewise.
1488 (do_neon_mov): Likewise.
1489 (do_neon_rshift_round_imm): Likewise.
1490 (do_neon_ldr_str): Likewise.
1491 (do_vfp_nsyn_fpv8): Likewise.
1492 (do_vmaxnm): Likewise.
1493 (do_vrint_1): Likewise.
1494 (insns): New entry for vins, vmovx.
1495 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1496 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1497 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1498 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1499 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1500 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1501 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1503 2016-02-24 Renlin Li <renlin.li@arm.com>
1505 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1506 (neon_shape_class): New SC_HALF.
1507 (neon_shape_el): New SE_H.
1508 (neon_shape_el_size): New size for SE_H.
1509 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1510 (neon_select_shape): Add SE_H support code.
1511 (el_type_of_type_chk): Use N_F_ALL.
1512 (do_vfp_nsyn_cvt): Add SE_H shape support.
1513 (do_neon_cvtz): Likewise.
1514 (do_neon_cvt_1): Likewise.
1515 (do_neon_cvttb_1): Likewise.
1517 2016-02-24 Renlin Li <renlin.li@arm.com>
1519 * testsuite/gas/arm/copro.d: Adjust output.
1520 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1522 2016-02-24 Renlin Li <renlin.li@arm.com>
1524 * testsuite/gas/arm/mask_1.d: New.
1525 * testsuite/gas/arm/mask_1.s: New.
1527 2016-02-24 Renlin Li <renlin.li@arm.com>
1529 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1530 * testsuite/gas/arm/copro.d: Update.
1532 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1534 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1535 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1537 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1539 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1541 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1543 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1546 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1548 * output-file.c (output_file_create): Make file name argument const.
1549 (output_file_close): Likewise.
1550 * output-file.h (output_file_create): Adjust.
1551 (output_file_close): Likewise.
1552 * depend.c (quote_string_for_make): Make src argument const char *.
1553 (register_dependency): Likewise.
1554 (wrap_output): Likewise.
1555 * as.h (register_dependency): Adjust.
1556 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1558 * symbols.c (S_SET_EXTERNAL): Likewise.
1559 * input-scrub.c (as_where): Return the file name.
1560 * as.h (as_where): Adjust prototype.
1561 * app.c (do_scrub_chars): Adjust.
1562 * cond.c (s_elseif): Likewise.
1564 (initialize_cframe): Likewise.
1565 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1566 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1567 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1568 * config/tc-aarch64.c (output_info): Likewise.
1569 * config/tc-ia64.c (md_assemble): Likewise.
1570 (dot_alias): Likewise.
1571 * config/tc-m68k.c (m68k_frob_label): Likewise.
1572 * config/tc-mmix.c (s_bspec): Likewise.
1573 (mmix_handle_mmixal): Likewise.
1574 * config/tc-rx.c (rx_include): Likewise.
1575 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1576 (tic54x_adjust_symtab): Likewise.
1577 * config/tc-xtensa.c (directive_push): Likewise.
1578 (xtensa_sanity_check): Likewise.
1579 (xtensa_relax_frag): Likewise.
1580 (md_convert_frag): Likewise.
1581 (tinsn_to_slotbuf): Likewise.
1582 * dwarf2dbg.c (dwarf2_where): Likewise.
1583 * ecoff.c (add_file): Likewise.
1584 (ecoff_generate_asm_lineno): Likewise.
1585 * expr.c (make_expr_symbol): Likewise.
1586 * frags.c (frag_new): Likewise.
1587 (frag_var_init): Likewise.
1588 * listing.c (listing_newline): Likewise.
1589 * messages.c (identify): Likewise.
1590 (as_show_where): Likewise.
1591 (as_warn_internal): Likewise.
1592 (as_bad_internal): Likewise.
1593 * read.c (s_irp): Likewise.
1594 (s_macro): Likewise.
1595 (s_reloc): Likewise.
1596 * stabs.c (stabs_generate_asm_file): Likewise.
1597 (stabs_generate_asm_lineno): Likewise.
1598 (stabs_generate_asm_func): Likewise.
1599 * write.c (fix_new_internal): Likewise.
1600 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1601 (as_warn_value_out_of_range): Adjust prototype.
1602 (as_bad_value_out_of_range): Adjust prototype.
1603 * messages.c (identify): Make file name argument const char *.
1604 (as_warn_internal): Likewise.
1605 (as_warn_where): Likewise.
1606 (as_bad_internal): Likewise.
1607 (as_bad_where): Likewise.
1608 (as_internal_value_out_of_range): Likewise.
1609 (as_warn_value_out_of_range): Likewise.
1610 (as_bad_value_out_of_range): Likewise.
1611 * as.h (found_comment_file): Change type to const char *.
1612 * cond.c (file_line::file): Likewise.
1613 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1614 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1615 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1616 * config/tc-aarch64.c (output_info): Likewise.
1617 * config/tc-alpha.c (insert_operand): Likewise.
1618 * config/tc-arc.c (insert_operand): Likewise.
1619 * config/tc-d30v.c (check_size): Likewise.
1620 * config/tc-ia64.c (struct alias): Likewise.
1621 * config/tc-m68k.c (struct label_line): Likewise.
1622 * config/tc-mcore.c (md_apply_fix): Likewise.
1623 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1624 * config/tc-mips.c (mips16_immed): Likewise.
1625 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1626 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1627 * config/tc-rx.c (rx_include): Likewise.
1628 * config/tc-s390.c (s390_insert_operand): Likewise.
1629 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1630 (tic54x_adjust_symtab): Likewise.
1631 * config/tc-tilegx.c (insert_operand): Likewise.
1632 (apply_special_operator): Likewise.
1633 * config/tc-tilepro.c (insert_operand): Likewise.
1634 * config/tc-xtensa.c (directive_push): Likewise.
1635 * ecoff.c (add_file): Likewise.
1636 (ecoff_generate_asm_lineno): Likewise.
1637 * listing.c (listing_newline): Likewise.
1638 * read.c (s_irp): Likewise.
1639 * write.c (install_reloc): Likewise.
1640 * write.h (struct fix): Likewise.
1641 * input-file.c (file_name): Change type to const char *.
1642 (saved_file::file_name): Likewise.
1643 (input_file_open): Change type of argument to const char *.
1644 * input-file.h (input_file_open): Adjust.
1645 * input-scrub.c (logical_input_file): change type to const char *.
1646 (physical_input_file): Likewise.
1647 (struct input_save): Adjust.
1648 (input_scrub_push): Adjust.
1649 (input_scrub_begin): Adjust.
1651 * input-scrub.c (input_scrub_new_file): Make file name argument const.
1652 (input_scrub_include_file): Likewise.
1653 (new_logical_line_flags): Likewise.
1654 (new_logical_line): Likewise.
1656 * frags.h (struct frag): Change type of fr_file to const char *.
1657 * expr.c (expr_symbol_where): Change type of file argument to
1659 * expr.h (expr_symbol_where): Likewise.
1660 * config/tc-i370.c (md_apply_fix): adjust.
1661 * config/tc-mmix.c (mmix_md_end): Likewise.
1662 * config/tc-ppc.c (md_apply_fix): Likewise.
1663 * config/tc-s390.c (md_apply_fix): Likewise.
1664 * symbols.c (report_op_error): Likewise.
1665 (resolve_symbol_value): Likewise.
1666 * config/tc-ia64.c (slot::src_file): Change type to const char *.
1667 (rsrc::file): Likewise.
1668 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1670 (xtensa_relax_frag): Likewise.
1671 (md_convert_frag): Likewise.
1672 (tinsn_to_slotbuf): Likewise.
1673 * expr.c (expr_symbol_line): Likewise.
1674 * macro.c (define_macro): Likewise.
1675 * macro.h (macro_struct): Likewise.
1676 * messages.c (as_show_where): Likewise.
1677 * read.c (s_macro): Likewise.
1678 * stabs.c (stabs_generate_asm_file): Likewise.
1679 (generate_asm_file): Likewise.
1680 (stabs_generate_asm_lineno): Likewise.
1681 * write.h (struct reloc_list): Likewise.
1682 * input-scrub.c (as_where): Change return type to const char *.
1683 * as.h (as_wheree): Adjust.
1685 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
1687 * write.c (compress_debug): Move BFD compression bits setting
1689 (write_object_file): Here.
1691 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1693 * config/tc-i386.c (register_number): Check RegVRex.
1694 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1695 with %zmm19 and %zmm3.
1696 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1697 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1699 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
1700 Jiong Wang <jiong.wang@arm.com>
1702 * config/tc-arm.c (arm_ext_fp16): New.
1703 (arm_extensions): New entry for "fp16".
1705 2016-02-19 Nick Clifton <nickc@redhat.com>
1708 * read.c (read_a_source_file): Check for assemble_one returning
1709 with input_line_pointer set to NULL.
1711 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1713 * listing.c (rebuffer_line): Change return type to void.
1715 * symbols.c (decode_local_label_name): Make type a const char *.
1716 * listing.c (print_source): Make type of p const char *.
1717 (print_line): Make type of string const char *.
1718 (buffer_line): Return const char *.
1719 (title): Make type const char *.
1720 (subtitle): Likewise.
1721 (listing_listing): Make type of p const char *.
1722 * messages.c (as_internal_value_out_of_range): Make type of prefix
1724 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1725 and string const char *.
1726 * read.c (_bfd_rel): Make type of name const char *.
1727 * app.c (out_string): Change type to const char *.
1728 (struct app_save::out_string): Likewise.
1730 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
1731 Nick Clifton <nickc@redhat.com>
1733 * read.c (finish_bundle): Avoid recording a negative alignment.
1734 (do_align): Use unsigned values for n, len and max. Only create
1735 a frag if the alignment requirement is greater than the minimum
1736 byte alignment. Avoid recording a negative alignment.
1737 (s_align): Use unsigned values where appropriate.
1738 (bss_alloc): Use an unsigned value for the alignment.
1739 (sizeof_sleb128): Add a comment noting that we encode one octet
1740 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1741 (emit_leb129_expr): Abort if the emitted encoding was longer than
1743 * read.h (output_leb128): Update prototype.
1744 (sizeof_leb128): Update prototype.
1745 (bss_alloc): Update prototype.
1746 * write.c (record_alignment): Use an unsigned value for the
1747 alignment. Do not record alignments less than the minimum
1748 alignment for a byte.
1749 * write.h (record_alignment): Update prototype.
1751 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1753 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1754 .init.literal/.fini.literal section name.
1755 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1756 list of xtensa tests.
1757 * testsuite/gas/xtensa/init-fini-literals.d: New file:
1758 init-fini-literals test result patterns.
1759 * testsuite/gas/xtensa/init-fini-literals.s: New file:
1760 init-fini-literals test.
1762 2016-02-17 Nick Clifton <nickc@redhat.com>
1764 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1765 devices.csv file as of March 2016.
1767 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
1769 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1771 (tc_arc_regname_to_dw2regnum): Likewise.
1772 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1773 (tc_cfi_frame_initial_instructions): Likewise.
1774 (tc_regname_to_dw2regnum): Likewise.
1775 * testsuite/gas/cfi/cfi-arc-1.d: New file.
1776 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1777 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1779 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
1781 * doc/internals.texi (S_IS_EXTERN): Remove.
1783 2016-02-16 Nick Clifton <nickc@redhat.com>
1785 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1788 2016-02-16 Renlin Li <renlin.li@arm.com>
1791 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1792 * testsuite/gas/aarch64/movw_label.d: New.
1793 * testsuite/gas/aarch64/movw_label.s: New.
1795 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
1798 * config/rx-parse.y (MOV): Opcode generation for index
1799 register addressing mode.
1800 * testsuite/gas/rx/rx.exp: Updated for new testcase.
1801 * testsuite/gas/rx/pr19665.s: New file.
1802 * testsuite/gas/rx/pr19665.s: New file.
1803 * testsuite/gas/rx/mov.d: Update expected output.
1805 2016-02-15 Nick Clifton <nickc@redhat.com>
1807 * doc/as.texinfo (.section): Document that numeric values can now
1808 be used for the flags and type fields of the ELF target's .section
1809 directive. Add notes about the restrictions on setting flags and
1811 * config/obj-elf.c (obj_elf_change_section): Allow known sections
1812 to be given processor specific section types. Allow processor and
1813 application specific flags of a section to be set after
1815 (obj_elf_parse_section_letters): Handle parsing numeric values.
1816 (obj_elf_section_type): Handle parsing numeric values.
1817 (obj_elf_section): Allow numeric type values.
1818 * config/obj-elf.h (obj_elf_change_section): Update prototype.
1819 * testsuite/gas/elf/section10.d: New test.
1820 * testsuite/gas/elf/section10.s: Source file for new test.
1821 * testsuite/gas/elf/elf.exp: Run the new test.
1822 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1823 the description of the flags produced by readelf.
1824 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1825 * NEWS: Mention the new feature.
1827 2016-02-11 Nick Clifton <nickc@redhat.com>
1830 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1831 until it is actually used.
1832 (cfi_set_sections): Set cfi_sections_set to true.
1833 (dot_cfi_startproc): Likewise.
1834 (dot_cfi_endproc): Likewise.
1835 (dot_cfi_fde_data): Likewise.
1836 (cfi_finish): Likewise.
1837 (dot_cfi_sections): Do not set cfi_sections_set.
1838 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1839 their own cfi section name. Also note that the directive can be
1840 reissued provided that CFI generation has not started.
1841 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1842 .cfi_endproc directives so that the redefinition of .cfi_sections
1843 will trigger the generation of the error message.
1844 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1845 number of error message.
1847 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
1848 Janek van Oirschot <jvanoirs@synopsys.com>
1850 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1851 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1853 (arc_flags, arc_relax_type): New structure.
1854 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1855 (RELAX_TABLE_ENTRY_MAX): New define.
1856 (relaxation_state, md_relax_table, arc_relaxable_insns)
1857 (arc_num_relaxable_ins): New variable.
1858 (rlx_operand_type, arc_rlx_types): New enums.
1859 (arc_relaxable_ins): New structure.
1860 (OPTION_RELAX): New option.
1861 (arc_insn): New relax member.
1862 (arc_flags): Remove.
1863 (relax_insn_p): New function.
1864 (apply_fixups): Likewise.
1865 (relaxable_operand): Likewise.
1866 (may_relax_expr): Likewise.
1867 (relaxable_flag): Likewise.
1868 (arc_pcrel_adjust): Likewise.
1869 (md_estimate_size_before_relax): Implement.
1870 (md_convert_frag): Likewise.
1871 (md_parse_option): Handle new mrelax option.
1872 (md_show_usage): Likewise.
1873 (assemble_insn): Set relax member.
1874 (emit_insn0): New function.
1875 (emit_insn1): Likewise.
1876 (emit_insn): Handle relaxation case.
1877 * NEWS: Mention the new relaxation option.
1878 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1879 * doc/as.texinfo (Target ARC Options): Likewise.
1880 * testsuite/gas/arc/relax-avoid1.d: New file.
1881 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1882 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1883 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1884 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1885 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1886 * testsuite/gas/arc/relax-b.d: Likewise.
1887 * testsuite/gas/arc/relax-b.s: Likewise.
1889 2016-02-08 Nick Clifton <nickc@redhat.com>
1891 * config/tc-ia64.c (dot_prologue): Fix formatting.
1893 2016-02-04 Nick Clifton <nickc@redhat.com>
1895 * config/obj-elf.c (obj_elf_change_section): Remove support for
1896 ARM NOREAD sections.
1897 * config/tc-arm.c (arm_elf_section_letter): Delete.
1898 * config/tc-arm.h (md_elf_section_letter): Delete.
1899 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1900 * testsuite/gas/arm/section-execute-only.d: Delete.
1901 * testsuite/gas/arm/section-execute-only.s: Delete.
1903 2016-02-04 Nick Clifton <nickc@redhat.com>
1906 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
1907 to handle encoding of RRUX instruction.
1908 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1910 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1912 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
1914 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1915 substitutions for BFD_RELOC_* as unsigned.
1916 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1917 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1918 * testsuite/gas/xtensa/loc.s: New file: loc test.
1920 2016-02-03 Kevin Buettner <kevinb@redhat.com>
1922 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1924 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1927 * NEWS: Mention new command line option -mrelax-relocations and
1928 new configure option --enable-x86-relax-relocations for x86
1930 * config.in: Regenerated.
1931 * configure.ac: Add --enable-x86-relax-relocations.
1932 (ac_default_x86_relax_relocations): New. Default to 1 except
1933 for x86 Solaris targets older than Solaris 12.
1934 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
1935 * configure: Likewise.
1936 * config/tc-i386.c (generate_relax_relocations): New.
1937 (OPTION_MRELAX_RELOCATIONS): Likewise.
1938 (output_disp): Don't generate relax relocations if
1939 generate_relax_relocations is 0.
1940 (md_longopts): Add -mrelax-relocations.
1941 (md_show_usage): Likewise.
1942 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
1943 * doc/c-i386.texi: Document -mrelax-relocations=.
1944 * testsuite/gas/i386/got-no-relax.d: New file.
1945 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
1946 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
1947 * testsuite/gas/i386/localpic.d: Likewise.
1948 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
1949 * testsuite/gas/i386/reloc32.d: Likewise.
1950 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
1951 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
1952 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
1953 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
1954 * testsuite/gas/i386/i386.exp: Run got-no-relax and
1955 x86-64-gotpcrel-no-relax.
1957 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1959 * NEWS: Mention new command line option -mfence-as-lock-add=yes
1962 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1964 * NEWS: Remove duplicated marker for 2.26.
1966 2016-02-02 Renlin Li <renlin.li@arm.com>
1968 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1970 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1972 * testsuite/gas/ip2k/allinsn.d: New file.
1973 * testsuite/gas/ip2k/allinsn.s: New file.
1974 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1976 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1978 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1979 some load instructions.
1980 * testsuite/gas/epiphany/allinsn.d: Likewise.
1981 * testsuite/gas/epiphany/regression.d: Likewise.
1983 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1985 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1986 suffixes from instruction mnemonics in expected output.
1987 * testsuite/gas/epiphany/allinsn.d: Likewise.
1988 * testsuite/gas/epiphany/regression.d: Likewise.
1989 * testsuite/gas/epiphany/sample.d: Likewise.
1991 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1993 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1995 * testsuite/gas/epiphany/allinsn.d: Likewise.
1996 * testsuite/gas/epiphany/sample.d: Likewise.
1998 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2000 * testsuite/gas/epiphany/sample.d: Update expected output.
2002 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2004 * config/tc-arc.c (md_apply_fix): Allow addendum.
2005 (arc_reloc_op): Allow complex expressions for tpoff.
2006 (md_apply_fix): Handle resolved TLS local symbol.
2007 * testsuite/gas/arc/tls-relocs1.d: New file.
2008 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2010 2016-02-01 Loria <Loria@phantasia.org>
2013 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2014 efficiency and avoid an LLVM loop optimization bug.
2016 2016-02-01 Nick Clifton <nickc@redhat.com>
2018 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2019 message extending a negative 32-bit value into a larger signed
2020 value on a 32-bit host.
2022 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2025 * configure.ac (compressed_debug_sections): Replace == with =.
2026 * configure: Regenerated.
2028 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2029 H.J. Lu <hongjiu.lu@intel.com>
2031 * config/tc-i386.c (avoid_fence): New.
2032 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2034 (OPTION_FENCE_AS_LOCK_ADD): New.
2035 (md_longopts): Add -mfence-as-lock-add.
2036 (md_parse_option): Handle -mfence-as-lock-add.
2037 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2038 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2039 * testsuite/gas/i386/i386.exp: Run new tests.
2040 * testsuite/gas/i386/fence-as-lock-add.s: New.
2041 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2042 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2043 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2044 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2046 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2048 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2049 * configure: Regenerated.
2051 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2053 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2054 (OPTION_MOMIT_LOCK_PREFIX): This.
2055 (md_longopts): Updated.
2056 (md_parse_option): Likewise.
2058 2016-01-25 Catherine Moore <clm@codesourcery.com>
2060 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2061 if abicalls are in effect.
2062 * testsuite/gas/mips/sdata-gp.s: New test.
2063 * testsuite/gas/mips/sdata-gp.d: New expected output
2064 * testsuite/gas/mips/mips.exp: Run new test.
2066 2016-01-25 Renlin Li <renlin.li@arm.com>
2068 * testsuite/gas/arm/thumb2_it_search.d: New.
2069 * testsuite/gas/arm/thumb2_it_search.s: New.
2071 2016-01-21 Nick Clifton <nickc@redhat.com>
2074 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2075 with arm-netbsdelf target.
2076 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2078 2016-01-20 Nick Clifton <nickc@redhat.com>
2081 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2082 * testsuite/gas/arm/blx-bl-convert.d
2083 * testsuite/gas/arm/plt-1.d: Likewise.
2084 * testsuite/gas/arm/reloc-bad.d: Likewise.
2085 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2086 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2087 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2088 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2091 * doc/as.texinfo (Errors): Correct documentation describing the
2092 interaction of .file and .line with warning and error messages.
2095 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2096 * testsuite/gas/arm/archv8m-main.d: Likewise.
2097 * testsuite/gas/arm/archv8m-base.d: Likewise.
2099 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2101 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2102 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2103 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2105 2016-01-20 Mickael Guene <mickael.guene@st.com>
2106 Terry Guo <terry.guo@arm.com>
2108 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2109 SHF_ARM_NOREAD section flag.
2110 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2112 (arm_elf_section_letter) : Declare it.
2113 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2114 SHF_ARM_NOREAD section flag.
2115 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2117 * testsuite/gas/arm/section-execute-only.s: New test case.
2118 * testsuite/gas/arm/section-execute-only.d: Expected output.
2120 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2122 * config/tc-mips.c (micromips_insn_length): Remove the mention
2123 of 48-bit microMIPS instructions.
2125 2016-01-18 Alan Modra <amodra@gmail.com>
2127 * configure: Regenerate.
2129 2016-01-17 Alan Modra <amodra@gmail.com>
2131 * configure: Regenerate.
2133 2016-01-17 Alan Modra <amodra@gmail.com>
2135 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2137 2016-01-14 Nick Clifton <nickc@redhat.com>
2139 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2140 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2141 * testsuite/gas/rl78/rl78.exp: Run the new test.
2143 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2145 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2146 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2148 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2150 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2152 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2154 * config/tc-h8300.c (get_operand): Remove spurious condition in
2155 test for closing parenthesis.
2157 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2159 * config/tc-arm.c (arm_ext_v8_2): New.
2161 * testsuite/gas/arm/armv8_2-a.d: New.
2162 * testsuite/gas/arm/armv8_2-a.s: New.
2164 2016-01-12 Alan Modra <amodra@gmail.com>
2166 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2168 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2170 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2171 xvcmpnesp, xvcmpnesp.>: Delete tests.
2172 * testsuite/gas/ppc/power9.s: Likewise.
2173 * testsuite/gas/ppc/vsx3.d: Likewise.
2174 * testsuite/gas/ppc/vsx3.s: Likewise.
2176 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2179 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2180 * testsuite/gas/m68k/p13050-1.s: New file.
2181 * testsuite/gas/m68k/p13050-2.d: New file.
2182 * testsuite/gas/m68k/p13050-2.s: New file.
2184 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2186 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2187 * testsuite/gas/arc/add.d: Likewise.
2188 * testsuite/gas/arc/and.d: Likewise.
2189 * testsuite/gas/arc/asl.d: Likewise.
2190 * testsuite/gas/arc/asr.d: Likewise.
2191 * testsuite/gas/arc/bic.d: Likewise.
2192 * testsuite/gas/arc/extb.d: Likewise.
2193 * testsuite/gas/arc/extw.d: Likewise.
2194 * testsuite/gas/arc/j.d: Likewise.
2195 * testsuite/gas/arc/jl.d: Likewise.
2196 * testsuite/gas/arc/ld2.d: Likewise.
2197 * testsuite/gas/arc/lsr.d: Likewise.
2198 * testsuite/gas/arc/mov.d: Likewise.
2199 * testsuite/gas/arc/or.d: Likewise.
2200 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2201 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2202 * testsuite/gas/arc/pic-relocs.d: Likewise.
2203 * testsuite/gas/arc/plt-relocs.d: Likewise.
2204 * testsuite/gas/arc/rlc.d: Likewise.
2205 * testsuite/gas/arc/ror.d: Likewise.
2206 * testsuite/gas/arc/rrc.d: Likewise.
2207 * testsuite/gas/arc/sbc.d: Likewise.
2208 * testsuite/gas/arc/sda-relocs.d: Likewise.
2209 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2210 * testsuite/gas/arc/sexb.d: Likewise.
2211 * testsuite/gas/arc/sexw.d: Likewise.
2212 * testsuite/gas/arc/st.d: Likewise.
2213 * testsuite/gas/arc/sub.d: Likewise.
2214 * testsuite/gas/arc/tls-relocs.d: Likewise.
2215 * testsuite/gas/arc/xor.d: Likewise.
2217 2016-01-01 Alan Modra <amodra@gmail.com>
2219 Update year range in copyright notice of all files.
2221 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2223 Copyright (C) 2016 Free Software Foundation, Inc.
2225 Copying and distribution of this file, with or without modification,
2226 are permitted in any medium without royalty provided the copyright
2227 notice and this notice are preserved.
2233 version-control: never