1 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
4 (fpu_arch_vfp_v3): Likewise.
5 (fpu_arch_neon_v1): Likewise.
6 (arm_arch_full): Likewise.
7 (parse_neon_el_struct_list): Initialize fields of firsttype.
9 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
11 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
12 (arc_extinsn): Handle new introduced syntax.
13 * testsuite/gas/arc/textinsn1op.d: New file.
14 * testsuite/gas/arc/textinsn1op.s: Likewise.
15 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
17 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
19 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
20 DW_LNS_fixed_advance_pc.
22 2016-04-27 Alan Modra <amodra@gmail.com>
24 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
25 (xmemdup0): New inline function.
27 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
29 * config/tc-mips.c (code_option_type): New enum.
30 (parse_code_option): Return status indicating option type.
31 (s_mipsset): Update `parse_code_option' call site accordingly.
32 Always set register sizes from the ISA with ISA overrides.
33 (s_module): Update `parse_code_option' call site.
34 * testsuite/gas/mips/isa-override-1.d: New test.
35 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
36 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
37 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
38 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
39 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
40 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
41 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
42 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
43 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
44 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
45 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
46 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
47 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
48 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
49 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
50 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
51 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
52 * testsuite/gas/mips/isa-override-2.l: New list test.
53 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
54 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
55 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
56 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
57 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
58 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
59 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
60 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
61 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
62 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
63 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
65 * testsuite/gas/mips/isa-override-1.s: New test source.
66 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
67 * testsuite/gas/mips/isa-override-2.s: New test source.
68 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
69 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
70 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
71 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
72 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
73 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
74 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
75 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
76 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
77 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
78 * testsuite/gas/mips/mips.exp: Run the new tests.
80 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
83 * config/tc-bfin.c: Likewise.
84 * config/tc-ia64.c: Likewise.
85 * config/tc-mep.c: Likewise.
86 * config/tc-metag.c: Likewise.
87 * config/tc-nios2.c: Likewise.
88 * config/tc-rl78.c: Likewise.
90 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
92 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
93 -mcpu. Add cross reference to .cpu directive from -mcpu option.
94 (ARC Directives): Add NPS400 to .cpu directive list.
96 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
98 * config/tc-aarch64.c (aarch64_features): Add "ras".
99 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
100 * testsuite/gas/aarch64/armv8-ras-1.d: New.
101 * testsuite/gas/aarch64/armv8-ras-1.s: New.
102 * testsuite/gas/aarch64/illegal-ras-1.d: New.
103 * testsuite/gas/aarch64/illegal-ras-1.s: New.
105 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
107 * testsuite/gas/arc/nps400-6.d: New file.
108 * testsuite/gas/arc/nps400-6.s: New file.
110 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
112 * testsuite/gas/arc/nps400-4.d: New file.
113 * testsuite/gas/arc/nps400-4.s: New file.
114 * testsuite/gas/arc/nps400-5.d: New file.
115 * testsuite/gas/arc/nps400-5.s: New file.
117 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
119 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
122 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
124 Revert prevous change.
125 * config/tc-arc.c (arc_option): Make .cpu directive
126 case-sensitive again.
128 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
130 * config/tc-arc.c (arc_option): Make .cpu directive
133 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
135 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
137 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
139 * config/tc-mips.c (md_begin): Remove useless assignment.
141 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
143 * Makefile.in: Regenerated with automake 1.11.6.
144 * aclocal.m4: Likewise.
145 * doc/Makefile.in: Likewise.
147 2016-04-15 Alan Modra <amodra@gmail.com>
149 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
151 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
153 * config/tc-nios2.c (nios2_as_options): Make file static.
154 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
155 * config/tc-sparc.c (native_op_table): Likewise.
157 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
159 * config/tc-m32c.c (M32C_Macros): Remove.
160 * config/tc-msp430.c (option_numbers): Likewise.
162 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
164 * testsuite/gas/arc/nps400-3.d: New file.
165 * testsuite/gas/arc/nps400-3.s: New file.
167 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
169 * testsuite/gas/arc/add_s-err.s: Update target pattern.
170 * testsuite/gas/arc/warn.s: Likewise.
171 * testsuite/gas/elf/elf.exp: Run test for arc.
173 2016-04-14 Nick Clifton <nickc@redhat.com>
176 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
177 sections possibly having the SHF_STRINGS flag bit set.
178 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
180 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
182 * config/tc-arc.c (mach_type_specified_p): Change type to
184 (arc_option): Set private flags when parsing cpu pseudo-op.
185 (md_parse_option): Set mach_type_specified_p to TRUE.
187 2016-04-13 Nick Clifton <nickc@redhat.com>
190 * testsuite/gas/v850/pr19937.s: New test.
191 * testsuite/gas/v850/pr19937.d: New test control file.
192 * testsuite/gas/v850/basic.exp: Run the new test.
194 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
195 Andrew Bennett <andrew.bennett@imgtec.com>
197 * config/tc-mips.c (relaxed_branch_length): Use the long
198 sequence where the target is a weak symbol.
199 (relaxed_micromips_32bit_branch_length): Likewise.
200 (relaxed_micromips_16bit_branch_length): Likewise.
201 * testsuite/gas/mips/branch-weak-1.d: New test.
202 * testsuite/gas/mips/branch-weak-2.d: New test.
203 * testsuite/gas/mips/branch-weak-3.d: New test.
204 * testsuite/gas/mips/branch-weak-4.d: New test.
205 * testsuite/gas/mips/branch-weak-5.d: New test.
206 * testsuite/gas/mips/branch-weak.l: New stderr output.
207 * testsuite/gas/mips/branch-weak.s: New test source.
208 * testsuite/gas/mips/mips.exp: Run the new tests.
210 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
212 * config/tc-mips.c (relaxed_branch_length): Use the long
213 sequence where the distance cannot be determined.
214 (relaxed_micromips_32bit_branch_length): Likewise.
215 * testsuite/gas/mips/branch-extern-1.d: New test.
216 * testsuite/gas/mips/branch-extern-2.d: New test.
217 * testsuite/gas/mips/branch-extern-3.d: New test.
218 * testsuite/gas/mips/branch-extern-4.d: New test.
219 * testsuite/gas/mips/branch-extern.l: New stderr output.
220 * testsuite/gas/mips/branch-extern.s: New test source.
221 * testsuite/gas/mips/branch-section-1.d: New test.
222 * testsuite/gas/mips/branch-section-2.d: New test.
223 * testsuite/gas/mips/branch-section-3.d: New test.
224 * testsuite/gas/mips/branch-section-4.d: New test.
225 * testsuite/gas/mips/branch-section.l: New stderr output.
226 * testsuite/gas/mips/branch-section.s: New test source.
227 * testsuite/gas/mips/mips.exp: Run the new tests.
229 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
231 * testsuite/gas/arc/textauxregister.d: New file.
232 * testsuite/gas/arc/textauxregister.s: Likewise.
233 * testsuite/gas/arc/textcondcode.d: Likewise.
234 * testsuite/gas/arc/textcondcode.s: Likewise.
235 * testsuite/gas/arc/textcoreregister.d: Likewise.
236 * testsuite/gas/arc/textcoreregister.s: Likewise.
237 * testsuite/gas/arc/textpseudoop.d: Likewise.
238 * testsuite/gas/arc/textpseudoop.s: Likewise.
239 * testsuite/gas/arc/ld2.d: Update test.
240 * testsuite/gas/arc/st.d: Likewise.
241 * testsuite/gas/arc/taux.d: Likewise.
242 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
243 .extCoreRegister and .extAuxRegister documentation.
244 * config/tc-arc.c (arc_extcorereg): New function.
245 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
246 .extAuxRegister pseudo-ops.
247 (extRegister_t): New type.
248 (ext_condcode, arc_aux_hash): New global variable.
249 (find_opcode_match): Check for extensions.
250 (preprocess_operands): Likewise.
251 (md_begin): Add aux registers in a hash.
252 (assemble_insn): Update use arc_flags member.
253 (tokenize_extregister): New function.
254 (create_extcore_section): Likewise.
255 * config/tc-arc.h (arc_flags): Delete code, add flgp.
257 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
259 * testsuite/gas/arc/noargs_a7.d: New file.
260 * testsuite/gas/arc/noargs_a7.s: Likewise.
261 * testsuite/gas/arc/noargs_hs.d: Likewise.
262 * testsuite/gas/arc/noargs_hs.s: Likewise.
264 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
266 * testsuite/gas/arc/textinsn-errors.d: New File.
267 * testsuite/gas/arc/textinsn-errors.err: Likewise.
268 * testsuite/gas/arc/textinsn-errors.s: Likewise.
269 * testsuite/gas/arc/textinsn2op.d: Likewise.
270 * testsuite/gas/arc/textinsn2op.s: Likewise.
271 * testsuite/gas/arc/textinsn2op01.d: Likewise.
272 * testsuite/gas/arc/textinsn2op01.s: Likewise.
273 * testsuite/gas/arc/textinsn3op.d: Likewise.
274 * testsuite/gas/arc/textinsn3op.s: Likewise.
275 * doc/c-arc.texi (ARC Directives): Add .extInstruction
277 * config/tc-arc.c (arcext_section): New variable.
278 (arc_extinsn): New function.
279 (md_pseudo_table): Add .extInstruction pseudo op.
280 (attributes_t): New type.
281 (suffixclass, syntaxclass, syntaxclassmod): New constant
283 (find_opcode_match): Remove arc_num_opcodes.
284 (md_begin): Likewise.
285 (tokenize_extinsn): New function.
286 (arc_set_ext_seg): Likewise.
287 (create_extinst_section): Likewise.
289 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
291 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
292 (arc_adjust_symtab): New function.
293 * config/tc-arc.h (ARC_FLAG_AUX): Define.
294 (obj_adjust_symtab): Likewise.
295 * testsuite/gas/arc/taux.d: New file.
296 * testsuite/gas/arc/taux.s: Likewise.
298 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
300 * config/tc-mips.c (s_option): Sanitize `.option picX'
302 * testsuite/gas/mips/option-pic-1.d: New test.
303 * testsuite/gas/mips/option-pic-2.l: New list test.
304 * testsuite/gas/mips/option-pic-1.s: New test source.
305 * testsuite/gas/mips/option-pic-2.s: New test source.
306 * testsuite/gas/mips/mips.exp: Run the new tests.
308 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
310 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
312 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
313 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
314 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
315 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
316 * testsuite/gas/mips/mips.exp: Run the new tests.
318 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
320 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
322 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
324 * messages.c (as_bad): Fix a typo in description.
326 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
328 * config/tc-mips.c (mips_check_options): Unify messages.
330 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
332 * config/tc-mips.c (mips_check_options): Use `opts->isa'
335 2016-04-08 Nick Clifton <nickc@redhat.com>
338 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
339 COFF and AOUT sparc targets.
341 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
343 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
344 * testsuite/gas/arc/nps400-2.d: New file.
345 * testsuite/gas/arc/nps400-2.s: New file.
347 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
349 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
351 (arc_opcode_hash_entry_iterator_init): New function.
352 (arc_opcode_hash_entry_iterator_next): New function.
353 (find_opcode_match): Iterate over all arc_opcode entries
354 referenced by the arc_opcode_hash_entry passed in as a parameter.
356 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
358 * config/tc-arc.c (arc_find_opcode): Now returns
359 arc_opcode_hash_entry pointer.
360 (find_opcode_match): Update argument type, extract arc_opcode from
361 incoming arc_opcode_hash_entry.
362 (find_special_case_pseudo): Update return type.
363 (find_special_case_flag): Update return type.
364 (find_special_case): Update return type.
365 (assemble_tokens): Lookup arc_opcode_hash_entry based on
366 instruction mnemonic, then use find_opcode_match to identify
369 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
371 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
372 (arc_find_opcode): New function.
373 (find_special_case_pseudo): Use arc_find_opcode.
374 (find_special_case_flag): Likewise.
375 (assemble_tokens): Likewise.
376 (md_begin): Build hash using struct arc_opcode_hash_entry.
378 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
380 * config/tc-arc.c (arc_option): Prepare string for automatic
382 (declare_register): Likewise.
384 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
386 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
387 Correct entry for RDMA. Alpha sort entries.
389 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
391 * config/tc-arc.c (tokenize_flags): Allow greater range of
392 characters into flag names.
394 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
396 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
398 (preprocess_operands): Delete.
399 (assemble_tokens): Remove call to preprocess_operands.
401 2016-04-07 Nick Clifton <nickc@redhat.com>
404 * config/tc-sparc.c (sparc_ip): Report an error if the expression
405 inside a %-macro could not be fully parsed.
406 * expr.c (integer_constant): Accept and ignore U suffixes to
408 (operand): When a missing closing parenthesis is encountered,
409 report the character that was found instead.
410 * testsuite/gas/mips/tls-ill.l: Update expected error message.
411 * testsuite/gas/sparc/pr19910-1.d: New test driver.
412 * testsuite/gas/sparc/pr19910-1.s: New test.
413 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
414 * testsuite/gas/sparc/pr19910-2.s: New test.
415 * testsuite/gas/sparc/sparc.exp: Run the new tests.
417 2016-04-06 Nick Clifton <nickc@redhat.com>
419 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
420 an EINT instruction. Warn/fix as necessary.
421 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
422 * testsuite/gas/msp430/bad.l: Update expected messages.
424 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
426 * testsuite/gas/arc/nps400-1.d: Update expected results.
427 * testsuite/gas/arc/nps400-1.s: Additional test cases.
429 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
431 * config/tc-arc.c (is_code_density_p): Compare directly the
433 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
434 (check_cpu_feature): New function.
435 (find_opcode_match): Use check_cpu_feature function.
436 (preprocess_operands): Likewise.
437 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
438 * testsuite/gas/arc/tdpfp.d: New file.
439 * testsuite/gas/arc/tfpuda.d: Likewise.
440 * testsuite/gas/arc/tfpx.s: Likewise.
442 2016-04-05 Jiong Wang <jiong.wang@arm.com>
444 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
445 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
446 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
447 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
448 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
449 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
450 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
451 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
453 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
455 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
457 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
458 JUMP instructions type.
459 * testsuite/gas/arc/relocs-errors.d: New file.
460 * testsuite/gas/arc/relocs-errors.err: Likewise.
461 * testsuite/gas/arc/relocs-errors.s: Likewise.
463 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
466 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
467 only if i.disp_encoding != disp_encoding_32bit.
468 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
469 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
470 * gas/testsuite/gas/i386/disp32.d: Updated.
471 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
473 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
476 * testsuite/gas/i386/i386.exp: Run pr19498.
477 * testsuite/gas/i386/pr19498.d: New file.
478 * testsuite/gas/i386/pr19498.s: Likewise.
480 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
482 * config/tc-arc.h: Include 'opcode/arc.h'.
483 (MAX_INSN_ARGS): Delete.
484 (MAX_INSN_FLGS): Delete.
486 2016-04-04 Alan Modra <amodra@gmail.com>
489 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
490 from function on all paths that set sy_resolving.
492 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
494 * app.c (app_push): use XNEW macro.
496 * config/obj-elf.c (obj_elf_change_section): Likewise.
497 (elf_copy_symbol_attributes): Likewise.
498 (obj_elf_size): Likewise.
499 (build_group_lists): Likewise.
500 * config/tc-aarch64.c (add_operand_error_record): Likewise.
501 (md_assemble): Likewise.
502 (tc_gen_reloc): Likewise.
503 (get_upper_str): Likewise.
504 (aarch64_parse_features): Likewise.
505 * config/tc-arm.c (insert_reg_alias): Likewise.
506 (insert_neon_reg_alias): Likewise.
507 (find_or_make_literal_pool): Likewise.
508 (s_arm_elf_cons): Likewise.
509 (add_unwind_opcode): Likewise.
510 (arm_parse_extension): Likewise.
511 * config/tc-avr.c (create_record_for_frag): Likewise.
512 * config/tc-crx.c: Likewise.
513 * config/tc-d30v.c: Likewise.
514 * config/tc-dlx.c (s_proc): Likewise.
515 * config/tc-ft32.c: Likewise.
516 * config/tc-h8300.c: Likewise.
517 * config/tc-hppa.c (pa_proc): Likewise.
518 (create_new_space): Likewise.
519 (create_new_subspace): Likewise.
520 * config/tc-i860.c: Likewise.
521 * config/tc-i960.c: Likewise.
522 * config/tc-ia64.c: Likewise.
523 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
524 (iq2000_record_hi16): Likewise.
525 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
526 * config/tc-m32r.c (debug_sym): Likewise.
527 (m32r_record_hi16): Likewise.
528 * config/tc-m68k.c (m68k_ip): Likewise.
529 (md_begin): Likewise.
530 * config/tc-mcore.c: Likewise.
531 * config/tc-microblaze.c (check_got): Likewise.
532 * config/tc-mips.c (append_insn): Likewise.
533 (s_mipsset): Likewise.
534 (mips_record_label): Likewise.
535 (s_mips_end): Likewise.
536 * config/tc-mmix.c (mmix_frob_file): Likewise.
537 * config/tc-mn10200.c: Likewise.
538 * config/tc-mn10300.c: Likewise.
539 * config/tc-moxie.c: Likewise.
540 * config/tc-msp430.c: Likewise.
541 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
542 * config/tc-ns32k.c: Likewise.
543 * config/tc-or1k.c: Likewise.
544 * config/tc-pdp11.c: Likewise.
545 * config/tc-pj.c (fake_opcode): Likewise.
546 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
547 (ppc_macro): Likewise.
548 (ppc_dwsect): Likewise.
549 (ppc_machine): Likewise.
550 * config/tc-rl78.c (rl78_frag_init): Likewise.
551 * config/tc-rx.c (rx_frag_init): Likewise.
552 * config/tc-s390.c (s390_lit_suffix): Likewise.
553 (s390_machine): Likewise.
554 (s390_machinemode): Likewise.
555 * config/tc-score.c (s3_insert_reg): Likewise.
556 (s3_gen_reloc): Likewise.
557 * config/tc-score7.c (s7_insert_reg): Likewise.
558 (s7_gen_reloc): Likewise.
559 * config/tc-tic30.c (tic30_operand): Likewise.
560 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
561 * config/tc-tic54x.c (stag_add_field): Likewise.
562 (tic54x_struct): Likewise.
563 (tic54x_space): Likewise.
564 (tic54x_field): Likewise.
565 (tic54x_mlib): Likewise.
566 (subsym_substitute): Likewise.
567 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
568 * config/tc-vax.c: Likewise.
569 * config/tc-xc16x.c: Likewise.
570 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
571 (directive_push): Likewise.
572 (xtensa_begin_directive): Likewise.
573 (tokenize_arguments): Likewise.
574 (xtensa_add_literal_sym): Likewise.
575 (new_resource_table): Likewise.
576 (resize_resource_table): Likewise.
577 (emit_single_op): Likewise.
578 (xtensa_create_trampoline_frag): Likewise.
579 (xtensa_maybe_create_literal_pool_frag): Likewise.
580 (xtensa_add_config_info): Likewise.
581 (xtensa_realloc_fixup_cache): Likewise.
582 (add_subseg_info): Likewise.
583 (cache_literal_section): Likewise.
584 (add_xt_block_frags): Likewise.
585 (add_xt_prop_frags): Likewise.
586 (init_op_placement_info_table): Likewise.
587 (build_section_rename): Likewise.
588 * config/tc-z80.c: Likewise.
589 * config/tc-z8k.c: Likewise.
590 * depend.c (register_dependency): Likewise.
591 * dwarf2dbg.c (get_line_subseg): Likewise.
592 (dwarf2_gen_line_info_1): Likewise.
593 (get_filenum): Likewise.
594 * ecoff.c (allocate_scope): Likewise.
595 (allocate_vlinks): Likewise.
596 (allocate_shash): Likewise.
597 (allocate_thash): Likewise.
598 (allocate_tag): Likewise.
599 (allocate_forward): Likewise.
600 (allocate_thead): Likewise.
601 (allocate_lineno_list): Likewise.
602 * expr.c (make_expr_symbol): Likewise.
603 * hash.c (hash_new_sized): Likewise.
604 * input-file.c (input_file_push): Likewise.
605 * listing.c (file_info): Likewise.
606 (listing_newline): Likewise.
607 * macro.c (new_formal): Likewise.
608 (define_macro): Likewise.
609 * remap.c (add_debug_prefix_map): Likewise.
610 * symbols.c (symbol_find_noref): Likewise.
611 (define_dollar_label): Likewise.
612 (fb_label_instance_inc): Likewise.
613 (symbol_relc_make_value): Likewise.
615 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
617 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
618 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
619 (ppc_znop): Likewise.
620 (ppc_pe_section): Likewise.
621 (ppc_frob_symbol): Likewise.
622 * config/tc-tic30.c (tic30_operand): Likewise.
623 * config/tc-tic4x.c (tic4x_sect): Likewise.
624 (tic4x_usect): Likewise.
626 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
628 * config/tc-alpha.c: Const qualify FLT_CHARS.
629 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
630 * config/tc-cris.h: Likewise.
632 * config/tc-mmix.c (md_atof): Adjust comment.
633 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
634 * tc.h: Declare FLT_CHARS and EXP_CHARS.
636 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
638 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
639 * config/tc-score7.c (s7_gen_reloc): Likewise.
641 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
643 * config/tc-arm.c (do_t_branch): Change the type of reloc to
644 bfd_reloc_code_real_type.
646 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
648 * config/bfin-parse.y (current_inputline): Remove definition.
649 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
651 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
653 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
656 2016-04-02 Alan Modra <amodra@gmail.com>
659 * read.c (assign_symbol): Consume rest of line after an error
660 rather than continuing to process the line.
662 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
664 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
665 (MAX_FLAG_NAME_LENGTH): ...this.
666 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
667 * config/tc-arc.c (tokenize_flags): Likewise.
669 2016-04-01 Alan Modra <amodra@gmail.com>
671 * cgen.c (weak_operand_overflow_check): Return const char*.
672 * messages.c (as_internal_value_out_of_range): Formatting.
673 (as_warn_value_out_of_range): Consify prefix param.
674 (as_bad_value_out_of_range): Likewise.
675 * read.c (s_errwarn): Constify msg..
676 (s_float_space, float_cons): ..and err.
677 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
678 ieee_md_atof, vax_md_atof): Update prototypes.
679 * tc.h (md_atof): Update prototype.
680 * config/atof-ieee.c (ieee_md_atof): Return const char*.
681 * config/atof-vax.c (vax_md_atof): Likewise.
682 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
683 * config/tc-aarch64.c (md_atof): Return const char*.
684 * config/tc-alpha.c (s_alpha_section_name): Likewise.
685 (s_alpha_comm): Constify sec_name.
686 (section_name): Constify.
687 (s_alpha_section): Consify name..
688 (alpha_elf_section_letter): ..and ptr_msg param..
689 (md_atof): ..and return.
690 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
691 * config/tc-arc.c (md_atof): Return const char*.
692 * config/tc-arm.c (md_atof): Likewise.
693 * config/tc-avr.c (md_atof): Likewise.
694 * config/tc-bfin.c (md_atof): Likewise.
695 * config/tc-cr16.c (md_atof): Likewise.
696 * config/tc-cris.c (md_atof): Likewise.
697 * config/tc-crx.c (md_atof): Likewise.
698 * config/tc-d10v.c (md_atof): Likewise.
699 * config/tc-d30v.c (md_atof): Likewise.
700 * config/tc-dlx.c (md_atof): Likewise.
701 * config/tc-epiphany.c (md_atof): Likewise.
702 * config/tc-fr30.c (md_atof): Likewise.
703 * config/tc-frv.c (md_atof): Likewise.
704 * config/tc-ft32.c (md_atof): Likewise.
705 * config/tc-h8300.c (md_atof): Likewise.
706 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
707 (struct default_space_dict): Likewise.
708 (create_new_space): Constify name param.
709 (create_new_subspace): Likewise.
710 (is_defined_space, is_defined_subspace): Likewise.
711 (pa_parse_space_stmt): Constify space_name param.
712 (md_atof): Return const char*.
713 (pa_spaces_begin): Constify name.
714 * config/tc-i370.c (md_atof): Return const char*.
715 * config/tc-i386.c (md_atof): Likewise.
716 (x86_64_section_letter): Constify ptr_msg param.
717 * config/tc-i386.h (x86_64_section_letter): Update prototype.
718 * config/tc-i860.c (struct i860_it): Constify error.
719 (md_atof): Return const char*.
720 * config/tc-i960.c (md_atof): Likewise.
721 * config/tc-ia64.c (md_atof): Likewise.
722 (ia64_elf_section_letter): Constify ptr_msg param.
723 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
724 * config/tc-ip2k.c (md_atof): Return const char*.
725 * config/tc-iq2000.c (md_atof): Likewise.
726 * config/tc-lm32.c (md_atof): Likewise.
727 * config/tc-m32c.c (md_atof): Likewise.
728 * config/tc-m32r.c (md_atof): Likewise.
729 * config/tc-m68hc11.c (md_atof): Likewise.
730 * config/tc-m68k.c (md_atof): Likewise.
731 * config/tc-mcore.c (md_atof): Likewise.
732 * config/tc-mep.c (md_atof): Likewise.
733 (mep_elf_section_letter): Constify ptr_msg param.
734 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
735 * config/tc-metag.c (md_atof): Return const char*.
736 * config/tc-microblaze.c (md_atof): Likewise.
737 * config/tc-microblaze.h (md_atof): Delete prototype.
738 * config/tc-mips.c (mips_parse_argument_token): Constify err.
739 (md_atof): Return const char*.
740 * config/tc-mmix.c (md_atof): Likewise.
741 * config/tc-mn10200.c (md_atof): Likewise.
742 * config/tc-mn10300.c (md_atof): Likewise.
743 * config/tc-moxie.c (md_atof): Likewise.
744 * config/tc-msp430.c (md_atof): Likewise.
745 * config/tc-mt.c (md_atof): Likewise.
746 * config/tc-nds32.c (md_atof): Likewise.
747 * config/tc-nios2.c (md_atof): Likewise.
748 (nios2_elf_section_letter): Constify ptr_msg param.
749 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
750 * config/tc-ns32k.c (md_atof): Return const char*.
751 * config/tc-or1k.c (md_atof): Likewise.
752 * config/tc-pdp11.c (struct pdp11_code): Constify error.
753 (md_atof): Return const char*.
754 * config/tc-pj.c (md_atof): Likewise.
755 * config/tc-ppc.c (md_atof): Likewise.
756 * config/tc-rl78.c (md_atof): Likewise.
757 * config/tc-rx.c (md_atof): Likewise.
758 * config/tc-s390.c (md_atof): Likewise.
759 * config/tc-score.c (s3_atof, md_atof): Likewise.
760 * config/tc-sh.c (md_atof): Likewise.
761 * config/tc-sparc.c (struct sparc_it): Constify error.
762 (md_atof): Return const char*.
763 * config/tc-spu.c (md_atof): Likewise.
764 * config/tc-tic30.c (md_atof): Likewise.
765 * config/tc-tic4x.c (md_atof): Likewise.
766 * config/tc-tic54x.c (md_atof): Likewise.
767 * config/tc-tic6x.c (md_atof): Likewise.
768 * config/tc-tilegx.c (md_atof): Likewise.
769 * config/tc-tilepro.c (md_atof): Likewise.
770 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
771 * config/tc-vax.c (md_atof): Likewise.
772 * config/tc-visium.c (md_atof): Likewise.
773 * config/tc-xc16x.c (md_atof): Likewise.
774 * config/tc-xgate.c (md_atof): Likewise.
775 * config/tc-xstormy16.c (md_atof): Likewise.
776 * config/tc-xtensa.c (md_atof): Likewise.
777 * config/tc-z80.c (md_atof): Likewise.
778 * config/tc-z8k.c (md_atof): Likewise.
780 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
782 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
784 (xtensa_section_rename): Make argument type const char *.
785 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
787 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
789 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
792 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
794 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
796 (m32c_indirect_operand): Likewise.
797 * config/tc-nds32.c (do_pseudo_b): Likewise.
798 (do_pseudo_bal): Likewise.
799 (do_pseudo_ls_bhw): Likewise.
801 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
803 * as.c (parse_args): Cast literal to char * when assigning to optarg.
805 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
807 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
809 * config/tc-sparc.c (s_register): Cast a literal to char * in
812 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
814 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
816 * config/tc-m32r.c (expand_debug_syms): Likewise.
817 * config/tc-msp430.c (msp430_dstoperand): Likewise.
818 * config/tc-z80.c (md_begin): Likewise.
819 * stabs.c (stabs_generate_asm_func): Likewise.
821 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
823 * cgen.c: Modernize the way functions declare arguments.
824 * config/tc-bfin.c: Likewise.
825 * config/tc-pdp11.c: Likewise.
826 * literal.c: Likewise.
830 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
832 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
833 variables unsigned char[].
834 * config/tc-alpha.c (alpha_handle_align): Likewise.
835 * config/tc-arm.c (arm_handle_align): Likewise.
836 * config/tc-z80.c: Likewise.
838 2016-03-30 Nick Clifton <nickc@redhat.com>
841 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
844 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
846 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
847 * testsuite/gas/elf/elf.exp: Likewise.
848 * testsuite/gas/all/redef3.d: Allow execution for ARC.
850 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
852 * testsuite/gas/arc/warn.exp: Fix matching pattern.
854 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
856 * testsuite/gas/arc/ext2op.d: New file.
857 * testsuite/gas/arc/ext2op.s: Likewise.
858 * testsuite/gas/arc/ext3op.d: Likewise.
859 * testsuite/gas/arc/ext3op.s: Likewise.
861 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
863 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
865 * config/tc-alpha.c (md_parse_option): Likewise.
866 * config/tc-arc.c (md_parse_option): Likewise.
867 * config/tc-arm.c (struct arm_long_option_table): Likewise.
868 (md_parse_option): Likewise.
869 * config/tc-avr.c (md_parse_option): Likewise.
870 * config/tc-bfin.c (md_parse_option): Likewise.
871 * config/tc-cr16.c (md_parse_option): Likewise.
872 * config/tc-cris.c (s_cris_arch): Likewise.
873 (md_parse_option): Likewise.
874 * config/tc-crx.c (md_parse_option): Likewise.
875 * config/tc-d10v.c (md_parse_option): Likewise.
876 * config/tc-d30v.c (md_parse_option): Likewise.
877 * config/tc-dlx.c (md_parse_option): Likewise.
878 * config/tc-epiphany.c (md_parse_option): Likewise.
879 * config/tc-fr30.c (md_parse_option): Likewise.
880 * config/tc-frv.c (md_parse_option): Likewise.
881 * config/tc-ft32.c (md_parse_option): Likewise.
882 * config/tc-h8300.c (md_parse_option): Likewise.
883 * config/tc-hppa.c (md_parse_option): Likewise.
884 * config/tc-i370.c (md_parse_option): Likewise.
885 * config/tc-i386.c (md_parse_option): Likewise.
886 * config/tc-i860.c (md_parse_option): Likewise.
887 * config/tc-i960.c (md_parse_option): Likewise.
888 * config/tc-ia64.c (md_parse_option): Likewise.
889 * config/tc-ip2k.c (md_parse_option): Likewise.
890 * config/tc-iq2000.c (md_parse_option): Likewise.
891 * config/tc-lm32.c (md_parse_option): Likewise.
892 * config/tc-m32c.c (md_parse_option): Likewise.
893 * config/tc-m32r.c (md_parse_option): Likewise.
894 * config/tc-m68hc11.c (md_parse_option): Likewise.
895 * config/tc-m68k.c (md_parse_option): Likewise.
896 * config/tc-mcore.c (md_parse_option): Likewise.
897 * config/tc-mep.c (md_parse_option): Likewise.
898 * config/tc-metag.c (struct metag_long_option): Likewise.
899 (md_parse_option): Likewise.
900 * config/tc-microblaze.c (md_parse_option): Likewise.
901 * config/tc-microblaze.h (md_parse_option): Remove prototype.
902 * config/tc-mips.c (md_parse_option): Adjust.
903 * config/tc-mmix.c (md_parse_option): Likewise.
904 * config/tc-mn10200.c (md_parse_option): Likewise.
905 * config/tc-mn10300.c (md_parse_option): Likewise.
906 * config/tc-moxie.c (md_parse_option): Likewise.
907 * config/tc-msp430.c (md_parse_option): Likewise.
908 * config/tc-mt.c (md_parse_option): Likewise.
909 * config/tc-nds32.c (md_parse_option): Likewise.
910 * config/tc-nds32.h (nds32_parse_option): Likewise.
911 * config/tc-nios2.c (md_parse_option): Likewise.
912 * config/tc-ns32k.c (md_parse_option): Likewise.
913 * config/tc-or1k.c (md_parse_option): Likewise.
914 * config/tc-pdp11.c (md_parse_option): Likewise.
915 * config/tc-pj.c (md_parse_option): Likewise.
916 * config/tc-ppc.c (md_parse_option): Likewise.
917 * config/tc-rl78.c (md_parse_option): Likewise.
918 * config/tc-rx.c (md_parse_option): Likewise.
919 * config/tc-s390.c (s390_parse_cpu): Likewise.
920 * config/tc-score.c (md_parse_option): Likewise.
921 * config/tc-sh.c (md_parse_option): Likewise.
922 * config/tc-sparc.c (md_parse_option): Likewise.
923 * config/tc-spu.c (md_parse_option): Likewise.
924 * config/tc-tic30.c (md_parse_option): Likewise.
925 * config/tc-tic4x.c (md_parse_option): Likewise.
926 * config/tc-tic54x.c (md_parse_option): Likewise.
927 * config/tc-tic6x.c (md_parse_option): Likewise.
928 * config/tc-tilegx.c (md_parse_option): Likewise.
929 * config/tc-tilepro.c (md_parse_option): Likewise.
930 * config/tc-v850.c (md_parse_option): Likewise.
931 * config/tc-vax.c (md_parse_option): Likewise.
932 * config/tc-visium.c (struct visium_long_option_table): Likewise.
933 * config/tc-xc16x.c (md_parse_option): Likewise.
934 * config/tc-xgate.c (md_parse_option): Likewise.
935 * config/tc-xstormy16.c (md_parse_option): Likewise.
936 * config/tc-xtensa.c (md_parse_option): Likewise.
937 * config/tc-z80.c (md_parse_option): Likewise.
938 * config/tc-z8k.c (md_parse_option): Likewise.
939 * tc.h (md_parse_option): Likewise.
941 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
943 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
944 * config/tc-hppa.c (fix_new_hppa): Likewise.
945 (pa_vtable_entry): Likewise.
946 (pa_vtable_inherit): Likewise.
947 * config/tc-m68k.c (md_begin): Likewise.
949 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
951 * config/obj-elf.c (obj_elf_section_name): Return const char *.
952 * config/obj-elf.h (obj_elf_section_name): Adjust.
953 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
954 (aarch64_parse_cpu): Likewise.
955 (aarch64_parse_arch): Likewise.
956 * config/tc-arm.c (arm_parse_extension): Likewise.
957 (arm_parse_cpu): Likewise.
958 (arm_parse_arch): Likewise.
959 * config/tc-nds32.c: Likewise.
960 * config/xtensa-relax.c (parse_special_fn): Likewise.
961 * stabs.c (generate_asm_file): Likewise.
963 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
965 * config/tc-cr16.c (cr16_assemble): New function.
966 (md_assemble): Call cr16_assemble.
968 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
970 * as.c (parse_args): Adjust.
971 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
972 * config/obj-elf.c (elf_frob_symbol): Adjust.
974 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
976 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
977 registers to be in the 16..31 range.
979 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
981 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
984 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
986 * config/tc-visium.c (md_atof): Localize the string returned on
989 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
991 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
992 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
993 * config/tc-m68hc11.c (md_begin): Likewise.
994 (print_opcode_list): Likewise.
995 * config/tc-msp430.c (msp430_section): Likewise.
996 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
997 (s3_build_dependency_insn_hsh): Likewise.
998 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
999 (s7_build_dependency_insn_hsh): Likewise.
1000 * config/tc-tic4x.c: Likewise.
1001 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1002 (subsym_get_arg): Likewise.
1003 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1004 (get_directive): Likewise.
1005 (cache_literal_section): Likewise.
1006 * config/xtensa-relax.c: Likewise.
1007 * symbols.c (symbol_create): Likewise.
1008 (local_symbol_make): Likewise.
1009 (symbol_relc_make_expr): Likewise.
1011 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1013 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1016 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1018 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1021 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1023 * config/tc-ia64.c (ia64_do_align): Remove.
1024 (ia64_cons_align): Call do_align () directly.
1025 (dot_proc): Likewise.
1026 (stmt_float_cons): Likewise.
1028 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1030 * listing.c (listing_message): Use XNEW style allocation macros.
1031 * read.c (read_a_source_file): Likewise.
1032 (read_symbol_name): Likewise.
1033 (s_mri_common): Likewise.
1034 (assign_symbol): Likewise.
1035 (s_reloc): Likewise.
1036 (emit_expr_with_reloc): Likewise.
1037 (s_incbin): Likewise.
1038 (s_include): Likewise.
1039 * sb.c (sb_build): Likewise.
1040 (sb_check): Likewise.
1042 2016-03-22 Alan Modra <amodra@gmail.com>
1044 * write.c (record_alignment): Revert 2016-02-18 change.
1046 2016-03-22 Alan Modra <amodra@gmail.com>
1048 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1049 (emit_jsrjmp, tc_gen_reloc): Likewise.
1050 * config/tc-i370.c (i370_macro): Likewise.
1052 2016-03-22 Nick Clifton <nickc@redhat.com>
1054 * configure: Regenerate.
1056 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1058 * testsuite/gas/arc/nps400-0.d: New file.
1059 * testsuite/gas/arc/nps400-0.s: New file.
1060 * testsuite/gas/arc/nps400-1.d: New file.
1061 * testsuite/gas/arc/nps400-1.s: New file.
1063 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1065 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1066 declarations to start of block. Reset code on all flags before
1067 attempting to match them. Handle multiple hits on the same flag.
1069 * testsuite/gas/arc/asm-errors.d: New file.
1070 * testsuite/gas/arc/asm-errors.err: New file.
1071 * testsuite/gas/arc/asm-errors.s: New file.
1073 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1075 * config/tc-arc.c (cpu_types): Add nps400 entry.
1076 (check_zol): Handle nps400.
1078 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1080 * config/tc-arc.c (arc_select_cpu): Remove use of
1083 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1085 * config/tc-arc.c (arc_target): Delay initialisation until
1087 (arc_target_name): Likewise.
1088 (arc_features): Likewise.
1089 (arc_mach_type): Likewise.
1090 (cpu_types): Remove "all" entry.
1091 (arc_select_cpu): New function, most of the content is from...
1092 (md_parse_option): ... here. Call new arc_select_cpu.
1093 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1095 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1097 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1098 * testsuite/gas/arc/inline-data-2.d: New file.
1100 2016-03-21 Nick Clifton <nickc@redhat.com>
1102 * atof-generic.c: Replace use of alloca with call to xmalloc.
1104 * dwarf2dbg.c: Likewise.
1105 * macro.c: Likewise.
1106 * remap.c: Likewise.
1107 * stabs.c: Likewise.
1108 * symbols.c: Likewise.
1109 * config/obj-elf.c: Likewise.
1110 * config/tc-aarch64.c: Likewise.
1111 * config/tc-arc.c: Likewise.
1112 * config/tc-arm.c: Likewise.
1113 * config/tc-avr.c: Likewise.
1114 * config/tc-ia64.c: Likewise.
1115 * config/tc-mips.c: Likewise.
1116 * config/tc-msp430.c: Likewise.
1117 * config/tc-nds32.c: Likewise.
1118 * config/tc-ppc.c: Likewise.
1119 * config/tc-sh.c: Likewise.
1120 * config/tc-tic30.c: Likewise.
1121 * config/tc-tic54x.c: Likewise.
1122 * config/tc-xstormy16.c: Likewise.
1123 * config/te-vms.c: Likewise.
1124 * configure: Regenerate.
1126 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1128 * tc-i386.c (f32_1): Change type to unsigned char[].
1148 (jump_31): Likewise.
1149 (f32_patt): Likewise.
1150 (f16_patt): Likewise.
1159 (alt_patt): Likewise.
1161 2016-03-18 Nick Clifton <nickc@redhat.com>
1163 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1164 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1165 .tlsdescldr and .xword directives.
1168 * testsuite/gas/aarch64/pr19721.s: New test source file.
1169 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1171 * doc/as.texinfo: Place the target specific command line options
1172 into their own man page section.
1174 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1176 * config/tc-arm.c (N_S_32): New.
1177 (N_F_16_32): Likewise.
1178 (N_SUF_32): Support N_F16.
1179 (N_IF_32): Likewise.
1180 (neon_dyadic_misc): Likewise.
1181 (do_neon_cmp): Likewise.
1182 (do_neon_cmp_inv): Likewise.
1183 (do_neon_mul): Likewise.
1184 (do_neon_fcmp_absolute): Likewise.
1185 (do_neon_step): Likewise.
1186 (do_neon_abs_neg): Likewise.
1187 (CVT_FLAVOR_VAR): Likewise.
1188 (do_neon_cvt_1): Likewise.
1189 (do_neon_recip_est): Likewise.
1190 (do_vmaxnm): Likewise.
1191 (do_vrint_1): Likewise.
1192 (neon_check_type): Check architecture support for FP16 extension.
1193 (insns): Update comments.
1194 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1195 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1196 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1197 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1199 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1201 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1204 2016-03-16 Nick Clifton <nickc@redhat.com>
1206 * read.c (emit_expr_with_reloc): Add code check a bignum with
1208 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1210 * testsuite/gas/elf/bignum.s: New test source file.
1211 * testsuite/gas/elf/bignum.d: New test driver file.
1212 * testsuite/gas/elf/elf.exp: Run the new test.
1214 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1216 * doc/c-i386.texi (Register Naming): Update to details of the
1217 latest architecture version.
1219 2016-03-10 Mickael Guene <mickael.guene@st.com>
1222 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1224 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1225 (do_t_mov_cmp): Likewise.
1226 (do_t_add_sub): Protect against bad relocations usage.
1227 (do_t_mov_cmp): Likewise.
1228 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1229 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1230 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1231 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1233 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1235 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1237 (do_neon_ld_st_lane): Likewise.
1238 (do_neon_ld_dup): Likewise.
1240 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1242 * testsuite/gas/arc/inline-data-1.d: New file.
1243 * testsuite/gas/arc/inline-data-1.s: New file.
1245 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1247 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1248 * doc/c-arm.texi: Add cortex-r8.
1250 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1252 * config/tc-arc.c: Add const qualifiers.
1253 * config/tc-h8300.c (md_begin): Likewise.
1254 * config/tc-ia64.c (print_prmask): Likewise.
1255 * config/tc-msp430.c (msp430_operands): Likewise.
1256 * config/tc-nds32.c (struct suffix_name): Likewise.
1257 (struct nds32_parse_option_table): Likewise.
1258 (struct nds32_set_option_table): Likewise.
1259 (do_pseudo_pushpopm): Likewise.
1260 (do_pseudo_pushpop_stack): Likewise.
1261 (nds32_relax_relocs): Likewise.
1262 (nds32_flag): Likewise.
1263 (struct nds32_hint_map): Likewise.
1264 (nds32_find_reloc_table): Likewise.
1265 (nds32_match_hint_insn): Likewise.
1266 * config/tc-s390.c: Likewise.
1267 * config/tc-sh.c (get_specific): Likewise.
1268 * config/tc-tic30.c: Likewise.
1269 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1270 (tic4x_indirect_parse): Likewise.
1271 * config/tc-vax.c (vax_cons): Likewise.
1272 * config/tc-z80.c (struct reg_entry): Likewise.
1273 * config/tc-epiphany.c (md_assemble): Adjust.
1274 (epiphany_assemble): New function.
1275 (epiphany_elf_section_rtn): Call do_align directly.
1276 (epiphany_elf_section_text): Likewise.
1277 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1278 (ip2k_elf_section_text): Likewise.
1279 * read.c (do_align): Make it not static.
1280 * read.h (do_align): New prototype.
1282 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1284 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1285 for ARMv8.1 AdvSIMD use.
1286 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1287 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1289 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1291 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1293 (record_feature_use): New.
1294 (mark_feature_used): Use record_feature_use.
1295 (do_neon_qrdmlah): New.
1296 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1298 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1299 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1300 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1301 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1302 Make source file explicit.
1303 * testsuite/gas/arm/armv8-a+rdma.l: New.
1304 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1305 directives. Fix white-space.
1306 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1308 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1310 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1312 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1313 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1315 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1316 (tc_arc_fix_adjustable): Changed default return value to 1.
1317 * testsuite/gas/arc/j.d: Updated expected symbol
1318 * testsuite/gas/arc/jl.d: Likewise
1319 * testsuite/gas/arc/relax-avoid1.d: Likewise
1320 * testsuite/gas/arc/st.d: Likewise
1322 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1324 * config/tc-arc.c: Enable code density instructions for ARC EM.
1326 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1329 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1331 * as.c (flag_use_elf_stt_common): New.
1332 (show_usage): Add --elf-stt-common=.
1333 (option_values): Add OPTION_ELF_STT_COMMON.
1334 (std_longopts): Add --elf-stt-common=.
1335 (parse_args): Handle --elf-stt-common=.
1336 * as.h (flag_use_elf_stt_common): New.
1337 * config.in: Regenerated.
1338 * configure: Likewise.
1339 * configure.ac: Add --enable-elf-stt-common and define
1340 DEFAULT_GENERATE_ELF_STT_COMMON.
1341 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1342 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1343 * doc/as.texinfo: Document --elf-stt-common=.
1344 * testsuite/gas/elf/common3.s: New file.
1345 * testsuite/gas/elf/common3a.d: Likewise.
1346 * testsuite/gas/elf/common3b.d: Likewise.
1347 * testsuite/gas/elf/common4.s: Likewise.
1348 * testsuite/gas/elf/common4a.d: Likewise.
1349 * testsuite/gas/elf/common4b.d: Likewise.
1350 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1351 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1352 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1354 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1355 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1356 --elf-stt-common=no to as.
1357 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1358 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1359 --elf-stt-common=no to as.
1360 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1361 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1362 of dw2-compress-3 and dw2-compressed-3.
1364 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1366 * as.c (select_emulation_mode): Add const qualifiers.
1368 * config/bfin-defs.h: Likewise.
1369 * config/bfin-parse.y: Likewise.
1370 * config/rx-parse.y: Likewise.
1371 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1372 (struct aarch64_cpu_option_table): Likewise.
1373 (struct aarch64_arch_option_table): Likewise.
1374 (struct aarch64_option_cpu_value_table): Likewise.
1375 (struct aarch64_long_option_table): Likewise.
1376 (struct aarch64_option_abi_value_table): Likewise.
1377 * config/tc-arm.c (struct reloc_entry): Likewise.
1378 (tc_gen_reloc): Likewise.
1379 (struct arm_option_table): Likewise.
1380 (struct arm_legacy_option_table): Likewise.
1381 (struct arm_cpu_option_table): Likewise.
1382 (struct arm_arch_option_table): Likewise.
1383 (struct arm_option_extension_value_table): Likewise.
1384 (struct arm_option_fpu_value_table): Likewise.
1385 (struct arm_option_value_table): Likewise.
1386 (struct arm_long_option_table): Likewise.
1387 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1388 (struct mcu_type_s): Likewise.
1389 (struct exp_mod_s): Likewise.
1390 (avr_operand): Likewise.
1391 (avr_operands): Likewise.
1392 * config/tc-d10v.c (md_begin): Likewise.
1393 * config/tc-dlx.c: Likewise.
1394 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1395 * config/tc-ft32.c (parse_condition): Likewise.
1396 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1397 * config/tc-hppa.c (pa_ip): Likewise.
1398 (hppa_regname_to_dw2regnum): Likewise.
1399 * config/tc-i370.c (i370_elf_suffix): Likewise.
1400 * config/tc-i960.c (struct tabentry): Likewise.
1401 * config/tc-m32r.c: Likewise.
1402 * config/tc-m68k.c: Likewise.
1403 * config/tc-m68k.h: Likewise.
1404 * config/tc-mcore.c (parse_psrmod): Likewise.
1405 * config/tc-metag.c (struct metag_core_option): Likewise.
1406 (struct metag_long_option): Likewise.
1407 * config/tc-microblaze.c: Likewise.
1408 * config/tc-mips.c (macro): Likewise.
1409 * config/tc-mn10200.c: Likewise.
1410 * config/tc-mn10300.c: Likewise.
1411 * config/tc-msp430.c (struct rcodes_s): Likewise.
1412 (struct hcodes_s): Likewise.
1413 (md_parse_option): Likewise.
1414 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1415 (optlist): Likewise.
1416 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1417 (tc_ppc_regname_to_dw2regnum): Likewise.
1418 * config/tc-ppc.h: Likewise.
1419 * config/tc-rl78.c: Likewise.
1420 * config/tc-rx.c (struct cpu_type): Likewise.
1421 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1422 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1423 (sparc_ip): Likewise.
1424 * config/tc-spu.c (insn_fmt_string): Likewise.
1425 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1426 * config/tc-v850.c: Likewise.
1427 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1428 (struct visium_long_option_table): Likewise.
1429 * config/tc-xgate.c: Likewise.
1430 * config/tc-z8k.c: Likewise.
1431 * read.c (add_include_dir): Likewise.
1434 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1436 * testsuite/gas/all/gas.exp: Change target pattern to cover
1438 * testsuite/gas/all/redef3.d: Likewise.
1439 * testsuite/gas/elf/elf.exp: Likewise.
1441 2016-02-24 Renlin Li <renlin.li@arm.com>
1443 * config/tc-arm.c (BAD_FP16): New error message macro.
1444 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1445 fp16 scalar instructions.
1446 (neon_check_type): Allow different size from key.
1447 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1448 (try_vfp_nsyn): Likewise.
1449 (do_vfp_nsyn_mla_mls): Likewise.
1450 (do_vfp_nsyn_fma_fms): Likewise.
1451 (do_vfp_nsyn_ldm_stm): Likewise
1452 (do_vfp_nsyn_sqrt): Likewise
1453 (do_vfp_nsyn_div): Likewise
1454 (do_vfp_nsyn_nmul): Likewise.
1455 (do_vfp_nsyn_cmp): Likewise.
1456 (do_neon_shll): Likewise.
1457 (do_vfp_nsyn_cvt_fpv8): Likewise.
1458 (do_neon_cvttb_2): Likewise.
1459 (do_neon_mov): Likewise.
1460 (do_neon_rshift_round_imm): Likewise.
1461 (do_neon_ldr_str): Likewise.
1462 (do_vfp_nsyn_fpv8): Likewise.
1463 (do_vmaxnm): Likewise.
1464 (do_vrint_1): Likewise.
1465 (insns): New entry for vins, vmovx.
1466 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1467 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1468 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1469 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1470 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1471 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1472 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1474 2016-02-24 Renlin Li <renlin.li@arm.com>
1476 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1477 (neon_shape_class): New SC_HALF.
1478 (neon_shape_el): New SE_H.
1479 (neon_shape_el_size): New size for SE_H.
1480 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1481 (neon_select_shape): Add SE_H support code.
1482 (el_type_of_type_chk): Use N_F_ALL.
1483 (do_vfp_nsyn_cvt): Add SE_H shape support.
1484 (do_neon_cvtz): Likewise.
1485 (do_neon_cvt_1): Likewise.
1486 (do_neon_cvttb_1): Likewise.
1488 2016-02-24 Renlin Li <renlin.li@arm.com>
1490 * testsuite/gas/arm/copro.d: Adjust output.
1491 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1493 2016-02-24 Renlin Li <renlin.li@arm.com>
1495 * testsuite/gas/arm/mask_1.d: New.
1496 * testsuite/gas/arm/mask_1.s: New.
1498 2016-02-24 Renlin Li <renlin.li@arm.com>
1500 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1501 * testsuite/gas/arm/copro.d: Update.
1503 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1505 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1506 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1508 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1510 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1512 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1514 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1517 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1519 * output-file.c (output_file_create): Make file name argument const.
1520 (output_file_close): Likewise.
1521 * output-file.h (output_file_create): Adjust.
1522 (output_file_close): Likewise.
1523 * depend.c (quote_string_for_make): Make src argument const char *.
1524 (register_dependency): Likewise.
1525 (wrap_output): Likewise.
1526 * as.h (register_dependency): Adjust.
1527 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1529 * symbols.c (S_SET_EXTERNAL): Likewise.
1530 * input-scrub.c (as_where): Return the file name.
1531 * as.h (as_where): Adjust prototype.
1532 * app.c (do_scrub_chars): Adjust.
1533 * cond.c (s_elseif): Likewise.
1535 (initialize_cframe): Likewise.
1536 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1537 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1538 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1539 * config/tc-aarch64.c (output_info): Likewise.
1540 * config/tc-ia64.c (md_assemble): Likewise.
1541 (dot_alias): Likewise.
1542 * config/tc-m68k.c (m68k_frob_label): Likewise.
1543 * config/tc-mmix.c (s_bspec): Likewise.
1544 (mmix_handle_mmixal): Likewise.
1545 * config/tc-rx.c (rx_include): Likewise.
1546 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1547 (tic54x_adjust_symtab): Likewise.
1548 * config/tc-xtensa.c (directive_push): Likewise.
1549 (xtensa_sanity_check): Likewise.
1550 (xtensa_relax_frag): Likewise.
1551 (md_convert_frag): Likewise.
1552 (tinsn_to_slotbuf): Likewise.
1553 * dwarf2dbg.c (dwarf2_where): Likewise.
1554 * ecoff.c (add_file): Likewise.
1555 (ecoff_generate_asm_lineno): Likewise.
1556 * expr.c (make_expr_symbol): Likewise.
1557 * frags.c (frag_new): Likewise.
1558 (frag_var_init): Likewise.
1559 * listing.c (listing_newline): Likewise.
1560 * messages.c (identify): Likewise.
1561 (as_show_where): Likewise.
1562 (as_warn_internal): Likewise.
1563 (as_bad_internal): Likewise.
1564 * read.c (s_irp): Likewise.
1565 (s_macro): Likewise.
1566 (s_reloc): Likewise.
1567 * stabs.c (stabs_generate_asm_file): Likewise.
1568 (stabs_generate_asm_lineno): Likewise.
1569 (stabs_generate_asm_func): Likewise.
1570 * write.c (fix_new_internal): Likewise.
1571 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1572 (as_warn_value_out_of_range): Adjust prototype.
1573 (as_bad_value_out_of_range): Adjust prototype.
1574 * messages.c (identify): Make file name argument const char *.
1575 (as_warn_internal): Likewise.
1576 (as_warn_where): Likewise.
1577 (as_bad_internal): Likewise.
1578 (as_bad_where): Likewise.
1579 (as_internal_value_out_of_range): Likewise.
1580 (as_warn_value_out_of_range): Likewise.
1581 (as_bad_value_out_of_range): Likewise.
1582 * as.h (found_comment_file): Change type to const char *.
1583 * cond.c (file_line::file): Likewise.
1584 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1585 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1586 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1587 * config/tc-aarch64.c (output_info): Likewise.
1588 * config/tc-alpha.c (insert_operand): Likewise.
1589 * config/tc-arc.c (insert_operand): Likewise.
1590 * config/tc-d30v.c (check_size): Likewise.
1591 * config/tc-ia64.c (struct alias): Likewise.
1592 * config/tc-m68k.c (struct label_line): Likewise.
1593 * config/tc-mcore.c (md_apply_fix): Likewise.
1594 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1595 * config/tc-mips.c (mips16_immed): Likewise.
1596 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1597 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1598 * config/tc-rx.c (rx_include): Likewise.
1599 * config/tc-s390.c (s390_insert_operand): Likewise.
1600 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1601 (tic54x_adjust_symtab): Likewise.
1602 * config/tc-tilegx.c (insert_operand): Likewise.
1603 (apply_special_operator): Likewise.
1604 * config/tc-tilepro.c (insert_operand): Likewise.
1605 * config/tc-xtensa.c (directive_push): Likewise.
1606 * ecoff.c (add_file): Likewise.
1607 (ecoff_generate_asm_lineno): Likewise.
1608 * listing.c (listing_newline): Likewise.
1609 * read.c (s_irp): Likewise.
1610 * write.c (install_reloc): Likewise.
1611 * write.h (struct fix): Likewise.
1612 * input-file.c (file_name): Change type to const char *.
1613 (saved_file::file_name): Likewise.
1614 (input_file_open): Change type of argument to const char *.
1615 * input-file.h (input_file_open): Adjust.
1616 * input-scrub.c (logical_input_file): change type to const char *.
1617 (physical_input_file): Likewise.
1618 (struct input_save): Adjust.
1619 (input_scrub_push): Adjust.
1620 (input_scrub_begin): Adjust.
1622 * input-scrub.c (input_scrub_new_file): Make file name argument const.
1623 (input_scrub_include_file): Likewise.
1624 (new_logical_line_flags): Likewise.
1625 (new_logical_line): Likewise.
1627 * frags.h (struct frag): Change type of fr_file to const char *.
1628 * expr.c (expr_symbol_where): Change type of file argument to
1630 * expr.h (expr_symbol_where): Likewise.
1631 * config/tc-i370.c (md_apply_fix): adjust.
1632 * config/tc-mmix.c (mmix_md_end): Likewise.
1633 * config/tc-ppc.c (md_apply_fix): Likewise.
1634 * config/tc-s390.c (md_apply_fix): Likewise.
1635 * symbols.c (report_op_error): Likewise.
1636 (resolve_symbol_value): Likewise.
1637 * config/tc-ia64.c (slot::src_file): Change type to const char *.
1638 (rsrc::file): Likewise.
1639 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1641 (xtensa_relax_frag): Likewise.
1642 (md_convert_frag): Likewise.
1643 (tinsn_to_slotbuf): Likewise.
1644 * expr.c (expr_symbol_line): Likewise.
1645 * macro.c (define_macro): Likewise.
1646 * macro.h (macro_struct): Likewise.
1647 * messages.c (as_show_where): Likewise.
1648 * read.c (s_macro): Likewise.
1649 * stabs.c (stabs_generate_asm_file): Likewise.
1650 (generate_asm_file): Likewise.
1651 (stabs_generate_asm_lineno): Likewise.
1652 * write.h (struct reloc_list): Likewise.
1653 * input-scrub.c (as_where): Change return type to const char *.
1654 * as.h (as_wheree): Adjust.
1656 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
1658 * write.c (compress_debug): Move BFD compression bits setting
1660 (write_object_file): Here.
1662 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1664 * config/tc-i386.c (register_number): Check RegVRex.
1665 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1666 with %zmm19 and %zmm3.
1667 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1668 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1670 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
1671 Jiong Wang <jiong.wang@arm.com>
1673 * config/tc-arm.c (arm_ext_fp16): New.
1674 (arm_extensions): New entry for "fp16".
1676 2016-02-19 Nick Clifton <nickc@redhat.com>
1679 * read.c (read_a_source_file): Check for assemble_one returning
1680 with input_line_pointer set to NULL.
1682 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1684 * listing.c (rebuffer_line): Change return type to void.
1686 * symbols.c (decode_local_label_name): Make type a const char *.
1687 * listing.c (print_source): Make type of p const char *.
1688 (print_line): Make type of string const char *.
1689 (buffer_line): Return const char *.
1690 (title): Make type const char *.
1691 (subtitle): Likewise.
1692 (listing_listing): Make type of p const char *.
1693 * messages.c (as_internal_value_out_of_range): Make type of prefix
1695 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1696 and string const char *.
1697 * read.c (_bfd_rel): Make type of name const char *.
1698 * app.c (out_string): Change type to const char *.
1699 (struct app_save::out_string): Likewise.
1701 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
1702 Nick Clifton <nickc@redhat.com>
1704 * read.c (finish_bundle): Avoid recording a negative alignment.
1705 (do_align): Use unsigned values for n, len and max. Only create
1706 a frag if the alignment requirement is greater than the minimum
1707 byte alignment. Avoid recording a negative alignment.
1708 (s_align): Use unsigned values where appropriate.
1709 (bss_alloc): Use an unsigned value for the alignment.
1710 (sizeof_sleb128): Add a comment noting that we encode one octet
1711 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1712 (emit_leb129_expr): Abort if the emitted encoding was longer than
1714 * read.h (output_leb128): Update prototype.
1715 (sizeof_leb128): Update prototype.
1716 (bss_alloc): Update prototype.
1717 * write.c (record_alignment): Use an unsigned value for the
1718 alignment. Do not record alignments less than the minimum
1719 alignment for a byte.
1720 * write.h (record_alignment): Update prototype.
1722 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1724 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1725 .init.literal/.fini.literal section name.
1726 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1727 list of xtensa tests.
1728 * testsuite/gas/xtensa/init-fini-literals.d: New file:
1729 init-fini-literals test result patterns.
1730 * testsuite/gas/xtensa/init-fini-literals.s: New file:
1731 init-fini-literals test.
1733 2016-02-17 Nick Clifton <nickc@redhat.com>
1735 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1736 devices.csv file as of March 2016.
1738 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
1740 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1742 (tc_arc_regname_to_dw2regnum): Likewise.
1743 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1744 (tc_cfi_frame_initial_instructions): Likewise.
1745 (tc_regname_to_dw2regnum): Likewise.
1746 * testsuite/gas/cfi/cfi-arc-1.d: New file.
1747 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1748 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1750 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
1752 * doc/internals.texi (S_IS_EXTERN): Remove.
1754 2016-02-16 Nick Clifton <nickc@redhat.com>
1756 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1759 2016-02-16 Renlin Li <renlin.li@arm.com>
1762 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1763 * testsuite/gas/aarch64/movw_label.d: New.
1764 * testsuite/gas/aarch64/movw_label.s: New.
1766 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
1769 * config/rx-parse.y (MOV): Opcode generation for index
1770 register addressing mode.
1771 * testsuite/gas/rx/rx.exp: Updated for new testcase.
1772 * testsuite/gas/rx/pr19665.s: New file.
1773 * testsuite/gas/rx/pr19665.s: New file.
1774 * testsuite/gas/rx/mov.d: Update expected output.
1776 2016-02-15 Nick Clifton <nickc@redhat.com>
1778 * doc/as.texinfo (.section): Document that numeric values can now
1779 be used for the flags and type fields of the ELF target's .section
1780 directive. Add notes about the restrictions on setting flags and
1782 * config/obj-elf.c (obj_elf_change_section): Allow known sections
1783 to be given processor specific section types. Allow processor and
1784 application specific flags of a section to be set after
1786 (obj_elf_parse_section_letters): Handle parsing numeric values.
1787 (obj_elf_section_type): Handle parsing numeric values.
1788 (obj_elf_section): Allow numeric type values.
1789 * config/obj-elf.h (obj_elf_change_section): Update prototype.
1790 * testsuite/gas/elf/section10.d: New test.
1791 * testsuite/gas/elf/section10.s: Source file for new test.
1792 * testsuite/gas/elf/elf.exp: Run the new test.
1793 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1794 the description of the flags produced by readelf.
1795 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1796 * NEWS: Mention the new feature.
1798 2016-02-11 Nick Clifton <nickc@redhat.com>
1801 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1802 until it is actually used.
1803 (cfi_set_sections): Set cfi_sections_set to true.
1804 (dot_cfi_startproc): Likewise.
1805 (dot_cfi_endproc): Likewise.
1806 (dot_cfi_fde_data): Likewise.
1807 (cfi_finish): Likewise.
1808 (dot_cfi_sections): Do not set cfi_sections_set.
1809 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1810 their own cfi section name. Also note that the directive can be
1811 reissued provided that CFI generation has not started.
1812 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1813 .cfi_endproc directives so that the redefinition of .cfi_sections
1814 will trigger the generation of the error message.
1815 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1816 number of error message.
1818 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
1819 Janek van Oirschot <jvanoirs@synopsys.com>
1821 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1822 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1824 (arc_flags, arc_relax_type): New structure.
1825 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1826 (RELAX_TABLE_ENTRY_MAX): New define.
1827 (relaxation_state, md_relax_table, arc_relaxable_insns)
1828 (arc_num_relaxable_ins): New variable.
1829 (rlx_operand_type, arc_rlx_types): New enums.
1830 (arc_relaxable_ins): New structure.
1831 (OPTION_RELAX): New option.
1832 (arc_insn): New relax member.
1833 (arc_flags): Remove.
1834 (relax_insn_p): New function.
1835 (apply_fixups): Likewise.
1836 (relaxable_operand): Likewise.
1837 (may_relax_expr): Likewise.
1838 (relaxable_flag): Likewise.
1839 (arc_pcrel_adjust): Likewise.
1840 (md_estimate_size_before_relax): Implement.
1841 (md_convert_frag): Likewise.
1842 (md_parse_option): Handle new mrelax option.
1843 (md_show_usage): Likewise.
1844 (assemble_insn): Set relax member.
1845 (emit_insn0): New function.
1846 (emit_insn1): Likewise.
1847 (emit_insn): Handle relaxation case.
1848 * NEWS: Mention the new relaxation option.
1849 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1850 * doc/as.texinfo (Target ARC Options): Likewise.
1851 * testsuite/gas/arc/relax-avoid1.d: New file.
1852 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1853 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1854 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1855 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1856 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1857 * testsuite/gas/arc/relax-b.d: Likewise.
1858 * testsuite/gas/arc/relax-b.s: Likewise.
1860 2016-02-08 Nick Clifton <nickc@redhat.com>
1862 * config/tc-ia64.c (dot_prologue): Fix formatting.
1864 2016-02-04 Nick Clifton <nickc@redhat.com>
1866 * config/obj-elf.c (obj_elf_change_section): Remove support for
1867 ARM NOREAD sections.
1868 * config/tc-arm.c (arm_elf_section_letter): Delete.
1869 * config/tc-arm.h (md_elf_section_letter): Delete.
1870 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1871 * testsuite/gas/arm/section-execute-only.d: Delete.
1872 * testsuite/gas/arm/section-execute-only.s: Delete.
1874 2016-02-04 Nick Clifton <nickc@redhat.com>
1877 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
1878 to handle encoding of RRUX instruction.
1879 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1881 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1883 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
1885 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1886 substitutions for BFD_RELOC_* as unsigned.
1887 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1888 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1889 * testsuite/gas/xtensa/loc.s: New file: loc test.
1891 2016-02-03 Kevin Buettner <kevinb@redhat.com>
1893 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1895 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1898 * NEWS: Mention new command line option -mrelax-relocations and
1899 new configure option --enable-x86-relax-relocations for x86
1901 * config.in: Regenerated.
1902 * configure.ac: Add --enable-x86-relax-relocations.
1903 (ac_default_x86_relax_relocations): New. Default to 1 except
1904 for x86 Solaris targets older than Solaris 12.
1905 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
1906 * configure: Likewise.
1907 * config/tc-i386.c (generate_relax_relocations): New.
1908 (OPTION_MRELAX_RELOCATIONS): Likewise.
1909 (output_disp): Don't generate relax relocations if
1910 generate_relax_relocations is 0.
1911 (md_longopts): Add -mrelax-relocations.
1912 (md_show_usage): Likewise.
1913 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
1914 * doc/c-i386.texi: Document -mrelax-relocations=.
1915 * testsuite/gas/i386/got-no-relax.d: New file.
1916 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
1917 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
1918 * testsuite/gas/i386/localpic.d: Likewise.
1919 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
1920 * testsuite/gas/i386/reloc32.d: Likewise.
1921 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
1922 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
1923 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
1924 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
1925 * testsuite/gas/i386/i386.exp: Run got-no-relax and
1926 x86-64-gotpcrel-no-relax.
1928 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1930 * NEWS: Mention new command line option -mfence-as-lock-add=yes
1933 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1935 * NEWS: Remove duplicated marker for 2.26.
1937 2016-02-02 Renlin Li <renlin.li@arm.com>
1939 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1941 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1943 * testsuite/gas/ip2k/allinsn.d: New file.
1944 * testsuite/gas/ip2k/allinsn.s: New file.
1945 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1947 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1949 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1950 some load instructions.
1951 * testsuite/gas/epiphany/allinsn.d: Likewise.
1952 * testsuite/gas/epiphany/regression.d: Likewise.
1954 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1956 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1957 suffixes from instruction mnemonics in expected output.
1958 * testsuite/gas/epiphany/allinsn.d: Likewise.
1959 * testsuite/gas/epiphany/regression.d: Likewise.
1960 * testsuite/gas/epiphany/sample.d: Likewise.
1962 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1964 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1966 * testsuite/gas/epiphany/allinsn.d: Likewise.
1967 * testsuite/gas/epiphany/sample.d: Likewise.
1969 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1971 * testsuite/gas/epiphany/sample.d: Update expected output.
1973 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1975 * config/tc-arc.c (md_apply_fix): Allow addendum.
1976 (arc_reloc_op): Allow complex expressions for tpoff.
1977 (md_apply_fix): Handle resolved TLS local symbol.
1978 * testsuite/gas/arc/tls-relocs1.d: New file.
1979 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1981 2016-02-01 Loria <Loria@phantasia.org>
1984 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1985 efficiency and avoid an LLVM loop optimization bug.
1987 2016-02-01 Nick Clifton <nickc@redhat.com>
1989 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1990 message extending a negative 32-bit value into a larger signed
1991 value on a 32-bit host.
1993 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1996 * configure.ac (compressed_debug_sections): Replace == with =.
1997 * configure: Regenerated.
1999 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2000 H.J. Lu <hongjiu.lu@intel.com>
2002 * config/tc-i386.c (avoid_fence): New.
2003 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2005 (OPTION_FENCE_AS_LOCK_ADD): New.
2006 (md_longopts): Add -mfence-as-lock-add.
2007 (md_parse_option): Handle -mfence-as-lock-add.
2008 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2009 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2010 * testsuite/gas/i386/i386.exp: Run new tests.
2011 * testsuite/gas/i386/fence-as-lock-add.s: New.
2012 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2013 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2014 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2015 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2017 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2019 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2020 * configure: Regenerated.
2022 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2024 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2025 (OPTION_MOMIT_LOCK_PREFIX): This.
2026 (md_longopts): Updated.
2027 (md_parse_option): Likewise.
2029 2016-01-25 Catherine Moore <clm@codesourcery.com>
2031 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2032 if abicalls are in effect.
2033 * testsuite/gas/mips/sdata-gp.s: New test.
2034 * testsuite/gas/mips/sdata-gp.d: New expected output
2035 * testsuite/gas/mips/mips.exp: Run new test.
2037 2016-01-25 Renlin Li <renlin.li@arm.com>
2039 * testsuite/gas/arm/thumb2_it_search.d: New.
2040 * testsuite/gas/arm/thumb2_it_search.s: New.
2042 2016-01-21 Nick Clifton <nickc@redhat.com>
2045 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2046 with arm-netbsdelf target.
2047 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2049 2016-01-20 Nick Clifton <nickc@redhat.com>
2052 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2053 * testsuite/gas/arm/blx-bl-convert.d
2054 * testsuite/gas/arm/plt-1.d: Likewise.
2055 * testsuite/gas/arm/reloc-bad.d: Likewise.
2056 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2057 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2058 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2059 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2062 * doc/as.texinfo (Errors): Correct documentation describing the
2063 interaction of .file and .line with warning and error messages.
2066 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2067 * testsuite/gas/arm/archv8m-main.d: Likewise.
2068 * testsuite/gas/arm/archv8m-base.d: Likewise.
2070 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2072 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2073 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2074 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2076 2016-01-20 Mickael Guene <mickael.guene@st.com>
2077 Terry Guo <terry.guo@arm.com>
2079 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2080 SHF_ARM_NOREAD section flag.
2081 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2083 (arm_elf_section_letter) : Declare it.
2084 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2085 SHF_ARM_NOREAD section flag.
2086 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2088 * testsuite/gas/arm/section-execute-only.s: New test case.
2089 * testsuite/gas/arm/section-execute-only.d: Expected output.
2091 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2093 * config/tc-mips.c (micromips_insn_length): Remove the mention
2094 of 48-bit microMIPS instructions.
2096 2016-01-18 Alan Modra <amodra@gmail.com>
2098 * configure: Regenerate.
2100 2016-01-17 Alan Modra <amodra@gmail.com>
2102 * configure: Regenerate.
2104 2016-01-17 Alan Modra <amodra@gmail.com>
2106 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2108 2016-01-14 Nick Clifton <nickc@redhat.com>
2110 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2111 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2112 * testsuite/gas/rl78/rl78.exp: Run the new test.
2114 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2116 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2117 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2119 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2121 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2123 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2125 * config/tc-h8300.c (get_operand): Remove spurious condition in
2126 test for closing parenthesis.
2128 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2130 * config/tc-arm.c (arm_ext_v8_2): New.
2132 * testsuite/gas/arm/armv8_2-a.d: New.
2133 * testsuite/gas/arm/armv8_2-a.s: New.
2135 2016-01-12 Alan Modra <amodra@gmail.com>
2137 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2139 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2141 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2142 xvcmpnesp, xvcmpnesp.>: Delete tests.
2143 * testsuite/gas/ppc/power9.s: Likewise.
2144 * testsuite/gas/ppc/vsx3.d: Likewise.
2145 * testsuite/gas/ppc/vsx3.s: Likewise.
2147 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2150 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2151 * testsuite/gas/m68k/p13050-1.s: New file.
2152 * testsuite/gas/m68k/p13050-2.d: New file.
2153 * testsuite/gas/m68k/p13050-2.s: New file.
2155 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2157 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2158 * testsuite/gas/arc/add.d: Likewise.
2159 * testsuite/gas/arc/and.d: Likewise.
2160 * testsuite/gas/arc/asl.d: Likewise.
2161 * testsuite/gas/arc/asr.d: Likewise.
2162 * testsuite/gas/arc/bic.d: Likewise.
2163 * testsuite/gas/arc/extb.d: Likewise.
2164 * testsuite/gas/arc/extw.d: Likewise.
2165 * testsuite/gas/arc/j.d: Likewise.
2166 * testsuite/gas/arc/jl.d: Likewise.
2167 * testsuite/gas/arc/ld2.d: Likewise.
2168 * testsuite/gas/arc/lsr.d: Likewise.
2169 * testsuite/gas/arc/mov.d: Likewise.
2170 * testsuite/gas/arc/or.d: Likewise.
2171 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2172 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2173 * testsuite/gas/arc/pic-relocs.d: Likewise.
2174 * testsuite/gas/arc/plt-relocs.d: Likewise.
2175 * testsuite/gas/arc/rlc.d: Likewise.
2176 * testsuite/gas/arc/ror.d: Likewise.
2177 * testsuite/gas/arc/rrc.d: Likewise.
2178 * testsuite/gas/arc/sbc.d: Likewise.
2179 * testsuite/gas/arc/sda-relocs.d: Likewise.
2180 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2181 * testsuite/gas/arc/sexb.d: Likewise.
2182 * testsuite/gas/arc/sexw.d: Likewise.
2183 * testsuite/gas/arc/st.d: Likewise.
2184 * testsuite/gas/arc/sub.d: Likewise.
2185 * testsuite/gas/arc/tls-relocs.d: Likewise.
2186 * testsuite/gas/arc/xor.d: Likewise.
2188 2016-01-01 Alan Modra <amodra@gmail.com>
2190 Update year range in copyright notice of all files.
2192 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2194 Copyright (C) 2016 Free Software Foundation, Inc.
2196 Copying and distribution of this file, with or without modification,
2197 are permitted in any medium without royalty provided the copyright
2198 notice and this notice are preserved.
2204 version-control: never