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