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