1 2016-05-11 Nick Clifton <nickc@redhat.com>
4 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
5 big endian ARM configurations.
7 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
8 Matthew Fortune <matthew.fortune@imgtec.com>
10 * config/tc-mips.c (options): Add OPTION_DSPR3 and
12 (md_longopts): Likewise.
13 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
14 (mips_ases): Define availability for DSPr3.
15 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
16 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
17 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
19 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
20 .set nodspr3. Fix -mdspr2 formatting.
21 * testsuite/gas/mips/mips32-dspr3.d: New file.
22 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
23 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
25 2016-05-11 Nick Clifton <nickc@redhat.com>
28 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
29 to the pool uses O_constant.
30 * testsuite/gas/arm/pr20068.s: New test.
31 * testsuite/gas/arm/pr20068.d: Test driver.
33 2016-05-11 Nick Clifton <nickc@redhat.com>
35 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
36 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
37 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
38 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
39 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
40 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
41 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
42 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
43 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
45 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
47 * testsuite/gas/i386/i386.exp: Run RDPID tests.
48 * testsuite/gas/i386/prefix.d: Adjust.
49 * testsuite/gas/i386/rdpid.s: New test.
50 * testsuite/gas/i386/rdpid.d: Ditto.
51 * testsuite/gas/i386/rdpid-intel.d: Ditto.
52 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
53 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
54 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
56 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
58 * config/tc-i386.c (cpu_arch): Add RDPID.
59 * doc/c-i386.texi: Document RDPID.
61 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
63 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
64 set branch type of a symbol.
66 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
68 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
69 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
71 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
72 (aeabi_set_public_attributes): Memorize the feature bits of the
73 architecture selected for Tag_CPU_arch. Use it to set
74 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
75 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
76 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
77 * testsuite/gas/arm/arch7em-bad-1.d: This.
78 * testsuite/gas/arm/arch7em-bad-2.d: New file.
79 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
80 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
81 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
82 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
83 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
84 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
85 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
87 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
89 * config/tc-arm.c (struct arm_option_extension_value_table): Make
90 allowed_archs an array with 2 entries.
91 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
92 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
93 (arm_extensions): Use separate entries in allowed_archs when several
94 archs are allowed to use an extension and change ARCH_ANY in
95 ARM_ARCH_NONE in allowed_archs.
96 (arm_parse_extension): Check that, for each allowed_archs entry, all
97 bits are set in the current architecture, ignoring ARM_ANY entries.
98 (s_arm_arch_extension): Likewise.
100 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
102 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
103 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
104 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
105 shared with a non M profile architecture.
106 (do_rn): New function.
107 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
109 (v7m_psrs): Add ARMv8-M security extensions new special registers.
110 (insns): Add ARMv8-M Security Extensions instructions.
111 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
112 arm_ext_v8m_m to decide the profile and the Thumb ISA.
113 * testsuite/gas/arm/archv8m-cmse.s: New file.
114 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
115 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
116 * testsuite/gas/arm/any-cmse.d: Likewise.
117 * testsuite/gas/arm/any-cmse-main.d: Likewise.
118 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
119 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
120 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
121 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
122 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
124 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
126 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
127 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
129 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
131 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
132 (fpu_arch_vfp_v3): Likewise.
133 (fpu_arch_neon_v1): Likewise.
134 (arm_arch_full): Likewise.
135 (parse_neon_el_struct_list): Initialize fields of firsttype.
137 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
139 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
140 (arc_extinsn): Handle new introduced syntax.
141 * testsuite/gas/arc/textinsn1op.d: New file.
142 * testsuite/gas/arc/textinsn1op.s: Likewise.
143 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
145 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
147 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
148 DW_LNS_fixed_advance_pc.
150 2016-04-27 Alan Modra <amodra@gmail.com>
152 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
153 (xmemdup0): New inline function.
155 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
157 * config/tc-mips.c (code_option_type): New enum.
158 (parse_code_option): Return status indicating option type.
159 (s_mipsset): Update `parse_code_option' call site accordingly.
160 Always set register sizes from the ISA with ISA overrides.
161 (s_module): Update `parse_code_option' call site.
162 * testsuite/gas/mips/isa-override-1.d: New test.
163 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
164 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
165 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
166 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
167 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
168 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
169 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
170 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
171 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
172 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
173 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
174 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
175 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
176 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
177 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
178 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
179 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
180 * testsuite/gas/mips/isa-override-2.l: New list test.
181 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
182 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
183 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
184 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
185 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
186 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
187 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
188 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
189 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
190 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
191 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
193 * testsuite/gas/mips/isa-override-1.s: New test source.
194 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
195 * testsuite/gas/mips/isa-override-2.s: New test source.
196 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
197 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
198 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
199 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
200 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
201 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
202 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
203 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
204 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
205 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
206 * testsuite/gas/mips/mips.exp: Run the new tests.
208 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
211 * config/tc-bfin.c: Likewise.
212 * config/tc-ia64.c: Likewise.
213 * config/tc-mep.c: Likewise.
214 * config/tc-metag.c: Likewise.
215 * config/tc-nios2.c: Likewise.
216 * config/tc-rl78.c: Likewise.
218 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
220 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
221 -mcpu. Add cross reference to .cpu directive from -mcpu option.
222 (ARC Directives): Add NPS400 to .cpu directive list.
224 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
226 * config/tc-aarch64.c (aarch64_features): Add "ras".
227 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
228 * testsuite/gas/aarch64/armv8-ras-1.d: New.
229 * testsuite/gas/aarch64/armv8-ras-1.s: New.
230 * testsuite/gas/aarch64/illegal-ras-1.d: New.
231 * testsuite/gas/aarch64/illegal-ras-1.s: New.
233 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
235 * testsuite/gas/arc/nps400-6.d: New file.
236 * testsuite/gas/arc/nps400-6.s: New file.
238 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
240 * testsuite/gas/arc/nps400-4.d: New file.
241 * testsuite/gas/arc/nps400-4.s: New file.
242 * testsuite/gas/arc/nps400-5.d: New file.
243 * testsuite/gas/arc/nps400-5.s: New file.
245 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
247 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
250 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
252 Revert prevous change.
253 * config/tc-arc.c (arc_option): Make .cpu directive
254 case-sensitive again.
256 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
258 * config/tc-arc.c (arc_option): Make .cpu directive
261 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
263 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
265 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
267 * config/tc-mips.c (md_begin): Remove useless assignment.
269 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
271 * Makefile.in: Regenerated with automake 1.11.6.
272 * aclocal.m4: Likewise.
273 * doc/Makefile.in: Likewise.
275 2016-04-15 Alan Modra <amodra@gmail.com>
277 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
279 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
281 * config/tc-nios2.c (nios2_as_options): Make file static.
282 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
283 * config/tc-sparc.c (native_op_table): Likewise.
285 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
287 * config/tc-m32c.c (M32C_Macros): Remove.
288 * config/tc-msp430.c (option_numbers): Likewise.
290 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
292 * testsuite/gas/arc/nps400-3.d: New file.
293 * testsuite/gas/arc/nps400-3.s: New file.
295 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
297 * testsuite/gas/arc/add_s-err.s: Update target pattern.
298 * testsuite/gas/arc/warn.s: Likewise.
299 * testsuite/gas/elf/elf.exp: Run test for arc.
301 2016-04-14 Nick Clifton <nickc@redhat.com>
304 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
305 sections possibly having the SHF_STRINGS flag bit set.
306 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
308 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
310 * config/tc-arc.c (mach_type_specified_p): Change type to
312 (arc_option): Set private flags when parsing cpu pseudo-op.
313 (md_parse_option): Set mach_type_specified_p to TRUE.
315 2016-04-13 Nick Clifton <nickc@redhat.com>
318 * testsuite/gas/v850/pr19937.s: New test.
319 * testsuite/gas/v850/pr19937.d: New test control file.
320 * testsuite/gas/v850/basic.exp: Run the new test.
322 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
323 Andrew Bennett <andrew.bennett@imgtec.com>
325 * config/tc-mips.c (relaxed_branch_length): Use the long
326 sequence where the target is a weak symbol.
327 (relaxed_micromips_32bit_branch_length): Likewise.
328 (relaxed_micromips_16bit_branch_length): Likewise.
329 * testsuite/gas/mips/branch-weak-1.d: New test.
330 * testsuite/gas/mips/branch-weak-2.d: New test.
331 * testsuite/gas/mips/branch-weak-3.d: New test.
332 * testsuite/gas/mips/branch-weak-4.d: New test.
333 * testsuite/gas/mips/branch-weak-5.d: New test.
334 * testsuite/gas/mips/branch-weak.l: New stderr output.
335 * testsuite/gas/mips/branch-weak.s: New test source.
336 * testsuite/gas/mips/mips.exp: Run the new tests.
338 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
340 * config/tc-mips.c (relaxed_branch_length): Use the long
341 sequence where the distance cannot be determined.
342 (relaxed_micromips_32bit_branch_length): Likewise.
343 * testsuite/gas/mips/branch-extern-1.d: New test.
344 * testsuite/gas/mips/branch-extern-2.d: New test.
345 * testsuite/gas/mips/branch-extern-3.d: New test.
346 * testsuite/gas/mips/branch-extern-4.d: New test.
347 * testsuite/gas/mips/branch-extern.l: New stderr output.
348 * testsuite/gas/mips/branch-extern.s: New test source.
349 * testsuite/gas/mips/branch-section-1.d: New test.
350 * testsuite/gas/mips/branch-section-2.d: New test.
351 * testsuite/gas/mips/branch-section-3.d: New test.
352 * testsuite/gas/mips/branch-section-4.d: New test.
353 * testsuite/gas/mips/branch-section.l: New stderr output.
354 * testsuite/gas/mips/branch-section.s: New test source.
355 * testsuite/gas/mips/mips.exp: Run the new tests.
357 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
359 * testsuite/gas/arc/textauxregister.d: New file.
360 * testsuite/gas/arc/textauxregister.s: Likewise.
361 * testsuite/gas/arc/textcondcode.d: Likewise.
362 * testsuite/gas/arc/textcondcode.s: Likewise.
363 * testsuite/gas/arc/textcoreregister.d: Likewise.
364 * testsuite/gas/arc/textcoreregister.s: Likewise.
365 * testsuite/gas/arc/textpseudoop.d: Likewise.
366 * testsuite/gas/arc/textpseudoop.s: Likewise.
367 * testsuite/gas/arc/ld2.d: Update test.
368 * testsuite/gas/arc/st.d: Likewise.
369 * testsuite/gas/arc/taux.d: Likewise.
370 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
371 .extCoreRegister and .extAuxRegister documentation.
372 * config/tc-arc.c (arc_extcorereg): New function.
373 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
374 .extAuxRegister pseudo-ops.
375 (extRegister_t): New type.
376 (ext_condcode, arc_aux_hash): New global variable.
377 (find_opcode_match): Check for extensions.
378 (preprocess_operands): Likewise.
379 (md_begin): Add aux registers in a hash.
380 (assemble_insn): Update use arc_flags member.
381 (tokenize_extregister): New function.
382 (create_extcore_section): Likewise.
383 * config/tc-arc.h (arc_flags): Delete code, add flgp.
385 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
387 * testsuite/gas/arc/noargs_a7.d: New file.
388 * testsuite/gas/arc/noargs_a7.s: Likewise.
389 * testsuite/gas/arc/noargs_hs.d: Likewise.
390 * testsuite/gas/arc/noargs_hs.s: Likewise.
392 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
394 * testsuite/gas/arc/textinsn-errors.d: New File.
395 * testsuite/gas/arc/textinsn-errors.err: Likewise.
396 * testsuite/gas/arc/textinsn-errors.s: Likewise.
397 * testsuite/gas/arc/textinsn2op.d: Likewise.
398 * testsuite/gas/arc/textinsn2op.s: Likewise.
399 * testsuite/gas/arc/textinsn2op01.d: Likewise.
400 * testsuite/gas/arc/textinsn2op01.s: Likewise.
401 * testsuite/gas/arc/textinsn3op.d: Likewise.
402 * testsuite/gas/arc/textinsn3op.s: Likewise.
403 * doc/c-arc.texi (ARC Directives): Add .extInstruction
405 * config/tc-arc.c (arcext_section): New variable.
406 (arc_extinsn): New function.
407 (md_pseudo_table): Add .extInstruction pseudo op.
408 (attributes_t): New type.
409 (suffixclass, syntaxclass, syntaxclassmod): New constant
411 (find_opcode_match): Remove arc_num_opcodes.
412 (md_begin): Likewise.
413 (tokenize_extinsn): New function.
414 (arc_set_ext_seg): Likewise.
415 (create_extinst_section): Likewise.
417 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
419 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
420 (arc_adjust_symtab): New function.
421 * config/tc-arc.h (ARC_FLAG_AUX): Define.
422 (obj_adjust_symtab): Likewise.
423 * testsuite/gas/arc/taux.d: New file.
424 * testsuite/gas/arc/taux.s: Likewise.
426 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
428 * config/tc-mips.c (s_option): Sanitize `.option picX'
430 * testsuite/gas/mips/option-pic-1.d: New test.
431 * testsuite/gas/mips/option-pic-2.l: New list test.
432 * testsuite/gas/mips/option-pic-1.s: New test source.
433 * testsuite/gas/mips/option-pic-2.s: New test source.
434 * testsuite/gas/mips/mips.exp: Run the new tests.
436 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
438 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
440 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
441 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
442 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
443 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
444 * testsuite/gas/mips/mips.exp: Run the new tests.
446 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
448 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
450 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
452 * messages.c (as_bad): Fix a typo in description.
454 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
456 * config/tc-mips.c (mips_check_options): Unify messages.
458 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
460 * config/tc-mips.c (mips_check_options): Use `opts->isa'
463 2016-04-08 Nick Clifton <nickc@redhat.com>
466 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
467 COFF and AOUT sparc targets.
469 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
471 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
472 * testsuite/gas/arc/nps400-2.d: New file.
473 * testsuite/gas/arc/nps400-2.s: New file.
475 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
477 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
479 (arc_opcode_hash_entry_iterator_init): New function.
480 (arc_opcode_hash_entry_iterator_next): New function.
481 (find_opcode_match): Iterate over all arc_opcode entries
482 referenced by the arc_opcode_hash_entry passed in as a parameter.
484 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
486 * config/tc-arc.c (arc_find_opcode): Now returns
487 arc_opcode_hash_entry pointer.
488 (find_opcode_match): Update argument type, extract arc_opcode from
489 incoming arc_opcode_hash_entry.
490 (find_special_case_pseudo): Update return type.
491 (find_special_case_flag): Update return type.
492 (find_special_case): Update return type.
493 (assemble_tokens): Lookup arc_opcode_hash_entry based on
494 instruction mnemonic, then use find_opcode_match to identify
497 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
499 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
500 (arc_find_opcode): New function.
501 (find_special_case_pseudo): Use arc_find_opcode.
502 (find_special_case_flag): Likewise.
503 (assemble_tokens): Likewise.
504 (md_begin): Build hash using struct arc_opcode_hash_entry.
506 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
508 * config/tc-arc.c (arc_option): Prepare string for automatic
510 (declare_register): Likewise.
512 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
514 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
515 Correct entry for RDMA. Alpha sort entries.
517 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
519 * config/tc-arc.c (tokenize_flags): Allow greater range of
520 characters into flag names.
522 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
524 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
526 (preprocess_operands): Delete.
527 (assemble_tokens): Remove call to preprocess_operands.
529 2016-04-07 Nick Clifton <nickc@redhat.com>
532 * config/tc-sparc.c (sparc_ip): Report an error if the expression
533 inside a %-macro could not be fully parsed.
534 * expr.c (integer_constant): Accept and ignore U suffixes to
536 (operand): When a missing closing parenthesis is encountered,
537 report the character that was found instead.
538 * testsuite/gas/mips/tls-ill.l: Update expected error message.
539 * testsuite/gas/sparc/pr19910-1.d: New test driver.
540 * testsuite/gas/sparc/pr19910-1.s: New test.
541 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
542 * testsuite/gas/sparc/pr19910-2.s: New test.
543 * testsuite/gas/sparc/sparc.exp: Run the new tests.
545 2016-04-06 Nick Clifton <nickc@redhat.com>
547 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
548 an EINT instruction. Warn/fix as necessary.
549 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
550 * testsuite/gas/msp430/bad.l: Update expected messages.
552 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
554 * testsuite/gas/arc/nps400-1.d: Update expected results.
555 * testsuite/gas/arc/nps400-1.s: Additional test cases.
557 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
559 * config/tc-arc.c (is_code_density_p): Compare directly the
561 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
562 (check_cpu_feature): New function.
563 (find_opcode_match): Use check_cpu_feature function.
564 (preprocess_operands): Likewise.
565 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
566 * testsuite/gas/arc/tdpfp.d: New file.
567 * testsuite/gas/arc/tfpuda.d: Likewise.
568 * testsuite/gas/arc/tfpx.s: Likewise.
570 2016-04-05 Jiong Wang <jiong.wang@arm.com>
572 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
573 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
574 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
575 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
576 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
577 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
578 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
579 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
581 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
583 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
585 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
586 JUMP instructions type.
587 * testsuite/gas/arc/relocs-errors.d: New file.
588 * testsuite/gas/arc/relocs-errors.err: Likewise.
589 * testsuite/gas/arc/relocs-errors.s: Likewise.
591 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
594 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
595 only if i.disp_encoding != disp_encoding_32bit.
596 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
597 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
598 * gas/testsuite/gas/i386/disp32.d: Updated.
599 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
601 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
604 * testsuite/gas/i386/i386.exp: Run pr19498.
605 * testsuite/gas/i386/pr19498.d: New file.
606 * testsuite/gas/i386/pr19498.s: Likewise.
608 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
610 * config/tc-arc.h: Include 'opcode/arc.h'.
611 (MAX_INSN_ARGS): Delete.
612 (MAX_INSN_FLGS): Delete.
614 2016-04-04 Alan Modra <amodra@gmail.com>
617 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
618 from function on all paths that set sy_resolving.
620 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
622 * app.c (app_push): use XNEW macro.
624 * config/obj-elf.c (obj_elf_change_section): Likewise.
625 (elf_copy_symbol_attributes): Likewise.
626 (obj_elf_size): Likewise.
627 (build_group_lists): Likewise.
628 * config/tc-aarch64.c (add_operand_error_record): Likewise.
629 (md_assemble): Likewise.
630 (tc_gen_reloc): Likewise.
631 (get_upper_str): Likewise.
632 (aarch64_parse_features): Likewise.
633 * config/tc-arm.c (insert_reg_alias): Likewise.
634 (insert_neon_reg_alias): Likewise.
635 (find_or_make_literal_pool): Likewise.
636 (s_arm_elf_cons): Likewise.
637 (add_unwind_opcode): Likewise.
638 (arm_parse_extension): Likewise.
639 * config/tc-avr.c (create_record_for_frag): Likewise.
640 * config/tc-crx.c: Likewise.
641 * config/tc-d30v.c: Likewise.
642 * config/tc-dlx.c (s_proc): Likewise.
643 * config/tc-ft32.c: Likewise.
644 * config/tc-h8300.c: Likewise.
645 * config/tc-hppa.c (pa_proc): Likewise.
646 (create_new_space): Likewise.
647 (create_new_subspace): Likewise.
648 * config/tc-i860.c: Likewise.
649 * config/tc-i960.c: Likewise.
650 * config/tc-ia64.c: Likewise.
651 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
652 (iq2000_record_hi16): Likewise.
653 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
654 * config/tc-m32r.c (debug_sym): Likewise.
655 (m32r_record_hi16): Likewise.
656 * config/tc-m68k.c (m68k_ip): Likewise.
657 (md_begin): Likewise.
658 * config/tc-mcore.c: Likewise.
659 * config/tc-microblaze.c (check_got): Likewise.
660 * config/tc-mips.c (append_insn): Likewise.
661 (s_mipsset): Likewise.
662 (mips_record_label): Likewise.
663 (s_mips_end): Likewise.
664 * config/tc-mmix.c (mmix_frob_file): Likewise.
665 * config/tc-mn10200.c: Likewise.
666 * config/tc-mn10300.c: Likewise.
667 * config/tc-moxie.c: Likewise.
668 * config/tc-msp430.c: Likewise.
669 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
670 * config/tc-ns32k.c: Likewise.
671 * config/tc-or1k.c: Likewise.
672 * config/tc-pdp11.c: Likewise.
673 * config/tc-pj.c (fake_opcode): Likewise.
674 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
675 (ppc_macro): Likewise.
676 (ppc_dwsect): Likewise.
677 (ppc_machine): Likewise.
678 * config/tc-rl78.c (rl78_frag_init): Likewise.
679 * config/tc-rx.c (rx_frag_init): Likewise.
680 * config/tc-s390.c (s390_lit_suffix): Likewise.
681 (s390_machine): Likewise.
682 (s390_machinemode): Likewise.
683 * config/tc-score.c (s3_insert_reg): Likewise.
684 (s3_gen_reloc): Likewise.
685 * config/tc-score7.c (s7_insert_reg): Likewise.
686 (s7_gen_reloc): Likewise.
687 * config/tc-tic30.c (tic30_operand): Likewise.
688 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
689 * config/tc-tic54x.c (stag_add_field): Likewise.
690 (tic54x_struct): Likewise.
691 (tic54x_space): Likewise.
692 (tic54x_field): Likewise.
693 (tic54x_mlib): Likewise.
694 (subsym_substitute): Likewise.
695 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
696 * config/tc-vax.c: Likewise.
697 * config/tc-xc16x.c: Likewise.
698 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
699 (directive_push): Likewise.
700 (xtensa_begin_directive): Likewise.
701 (tokenize_arguments): Likewise.
702 (xtensa_add_literal_sym): Likewise.
703 (new_resource_table): Likewise.
704 (resize_resource_table): Likewise.
705 (emit_single_op): Likewise.
706 (xtensa_create_trampoline_frag): Likewise.
707 (xtensa_maybe_create_literal_pool_frag): Likewise.
708 (xtensa_add_config_info): Likewise.
709 (xtensa_realloc_fixup_cache): Likewise.
710 (add_subseg_info): Likewise.
711 (cache_literal_section): Likewise.
712 (add_xt_block_frags): Likewise.
713 (add_xt_prop_frags): Likewise.
714 (init_op_placement_info_table): Likewise.
715 (build_section_rename): Likewise.
716 * config/tc-z80.c: Likewise.
717 * config/tc-z8k.c: Likewise.
718 * depend.c (register_dependency): Likewise.
719 * dwarf2dbg.c (get_line_subseg): Likewise.
720 (dwarf2_gen_line_info_1): Likewise.
721 (get_filenum): Likewise.
722 * ecoff.c (allocate_scope): Likewise.
723 (allocate_vlinks): Likewise.
724 (allocate_shash): Likewise.
725 (allocate_thash): Likewise.
726 (allocate_tag): Likewise.
727 (allocate_forward): Likewise.
728 (allocate_thead): Likewise.
729 (allocate_lineno_list): Likewise.
730 * expr.c (make_expr_symbol): Likewise.
731 * hash.c (hash_new_sized): Likewise.
732 * input-file.c (input_file_push): Likewise.
733 * listing.c (file_info): Likewise.
734 (listing_newline): Likewise.
735 * macro.c (new_formal): Likewise.
736 (define_macro): Likewise.
737 * remap.c (add_debug_prefix_map): Likewise.
738 * symbols.c (symbol_find_noref): Likewise.
739 (define_dollar_label): Likewise.
740 (fb_label_instance_inc): Likewise.
741 (symbol_relc_make_value): Likewise.
743 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
745 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
746 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
747 (ppc_znop): Likewise.
748 (ppc_pe_section): Likewise.
749 (ppc_frob_symbol): Likewise.
750 * config/tc-tic30.c (tic30_operand): Likewise.
751 * config/tc-tic4x.c (tic4x_sect): Likewise.
752 (tic4x_usect): Likewise.
754 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
756 * config/tc-alpha.c: Const qualify FLT_CHARS.
757 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
758 * config/tc-cris.h: Likewise.
760 * config/tc-mmix.c (md_atof): Adjust comment.
761 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
762 * tc.h: Declare FLT_CHARS and EXP_CHARS.
764 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
766 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
767 * config/tc-score7.c (s7_gen_reloc): Likewise.
769 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
771 * config/tc-arm.c (do_t_branch): Change the type of reloc to
772 bfd_reloc_code_real_type.
774 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
776 * config/bfin-parse.y (current_inputline): Remove definition.
777 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
779 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
781 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
784 2016-04-02 Alan Modra <amodra@gmail.com>
787 * read.c (assign_symbol): Consume rest of line after an error
788 rather than continuing to process the line.
790 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
792 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
793 (MAX_FLAG_NAME_LENGTH): ...this.
794 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
795 * config/tc-arc.c (tokenize_flags): Likewise.
797 2016-04-01 Alan Modra <amodra@gmail.com>
799 * cgen.c (weak_operand_overflow_check): Return const char*.
800 * messages.c (as_internal_value_out_of_range): Formatting.
801 (as_warn_value_out_of_range): Consify prefix param.
802 (as_bad_value_out_of_range): Likewise.
803 * read.c (s_errwarn): Constify msg..
804 (s_float_space, float_cons): ..and err.
805 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
806 ieee_md_atof, vax_md_atof): Update prototypes.
807 * tc.h (md_atof): Update prototype.
808 * config/atof-ieee.c (ieee_md_atof): Return const char*.
809 * config/atof-vax.c (vax_md_atof): Likewise.
810 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
811 * config/tc-aarch64.c (md_atof): Return const char*.
812 * config/tc-alpha.c (s_alpha_section_name): Likewise.
813 (s_alpha_comm): Constify sec_name.
814 (section_name): Constify.
815 (s_alpha_section): Consify name..
816 (alpha_elf_section_letter): ..and ptr_msg param..
817 (md_atof): ..and return.
818 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
819 * config/tc-arc.c (md_atof): Return const char*.
820 * config/tc-arm.c (md_atof): Likewise.
821 * config/tc-avr.c (md_atof): Likewise.
822 * config/tc-bfin.c (md_atof): Likewise.
823 * config/tc-cr16.c (md_atof): Likewise.
824 * config/tc-cris.c (md_atof): Likewise.
825 * config/tc-crx.c (md_atof): Likewise.
826 * config/tc-d10v.c (md_atof): Likewise.
827 * config/tc-d30v.c (md_atof): Likewise.
828 * config/tc-dlx.c (md_atof): Likewise.
829 * config/tc-epiphany.c (md_atof): Likewise.
830 * config/tc-fr30.c (md_atof): Likewise.
831 * config/tc-frv.c (md_atof): Likewise.
832 * config/tc-ft32.c (md_atof): Likewise.
833 * config/tc-h8300.c (md_atof): Likewise.
834 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
835 (struct default_space_dict): Likewise.
836 (create_new_space): Constify name param.
837 (create_new_subspace): Likewise.
838 (is_defined_space, is_defined_subspace): Likewise.
839 (pa_parse_space_stmt): Constify space_name param.
840 (md_atof): Return const char*.
841 (pa_spaces_begin): Constify name.
842 * config/tc-i370.c (md_atof): Return const char*.
843 * config/tc-i386.c (md_atof): Likewise.
844 (x86_64_section_letter): Constify ptr_msg param.
845 * config/tc-i386.h (x86_64_section_letter): Update prototype.
846 * config/tc-i860.c (struct i860_it): Constify error.
847 (md_atof): Return const char*.
848 * config/tc-i960.c (md_atof): Likewise.
849 * config/tc-ia64.c (md_atof): Likewise.
850 (ia64_elf_section_letter): Constify ptr_msg param.
851 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
852 * config/tc-ip2k.c (md_atof): Return const char*.
853 * config/tc-iq2000.c (md_atof): Likewise.
854 * config/tc-lm32.c (md_atof): Likewise.
855 * config/tc-m32c.c (md_atof): Likewise.
856 * config/tc-m32r.c (md_atof): Likewise.
857 * config/tc-m68hc11.c (md_atof): Likewise.
858 * config/tc-m68k.c (md_atof): Likewise.
859 * config/tc-mcore.c (md_atof): Likewise.
860 * config/tc-mep.c (md_atof): Likewise.
861 (mep_elf_section_letter): Constify ptr_msg param.
862 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
863 * config/tc-metag.c (md_atof): Return const char*.
864 * config/tc-microblaze.c (md_atof): Likewise.
865 * config/tc-microblaze.h (md_atof): Delete prototype.
866 * config/tc-mips.c (mips_parse_argument_token): Constify err.
867 (md_atof): Return const char*.
868 * config/tc-mmix.c (md_atof): Likewise.
869 * config/tc-mn10200.c (md_atof): Likewise.
870 * config/tc-mn10300.c (md_atof): Likewise.
871 * config/tc-moxie.c (md_atof): Likewise.
872 * config/tc-msp430.c (md_atof): Likewise.
873 * config/tc-mt.c (md_atof): Likewise.
874 * config/tc-nds32.c (md_atof): Likewise.
875 * config/tc-nios2.c (md_atof): Likewise.
876 (nios2_elf_section_letter): Constify ptr_msg param.
877 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
878 * config/tc-ns32k.c (md_atof): Return const char*.
879 * config/tc-or1k.c (md_atof): Likewise.
880 * config/tc-pdp11.c (struct pdp11_code): Constify error.
881 (md_atof): Return const char*.
882 * config/tc-pj.c (md_atof): Likewise.
883 * config/tc-ppc.c (md_atof): Likewise.
884 * config/tc-rl78.c (md_atof): Likewise.
885 * config/tc-rx.c (md_atof): Likewise.
886 * config/tc-s390.c (md_atof): Likewise.
887 * config/tc-score.c (s3_atof, md_atof): Likewise.
888 * config/tc-sh.c (md_atof): Likewise.
889 * config/tc-sparc.c (struct sparc_it): Constify error.
890 (md_atof): Return const char*.
891 * config/tc-spu.c (md_atof): Likewise.
892 * config/tc-tic30.c (md_atof): Likewise.
893 * config/tc-tic4x.c (md_atof): Likewise.
894 * config/tc-tic54x.c (md_atof): Likewise.
895 * config/tc-tic6x.c (md_atof): Likewise.
896 * config/tc-tilegx.c (md_atof): Likewise.
897 * config/tc-tilepro.c (md_atof): Likewise.
898 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
899 * config/tc-vax.c (md_atof): Likewise.
900 * config/tc-visium.c (md_atof): Likewise.
901 * config/tc-xc16x.c (md_atof): Likewise.
902 * config/tc-xgate.c (md_atof): Likewise.
903 * config/tc-xstormy16.c (md_atof): Likewise.
904 * config/tc-xtensa.c (md_atof): Likewise.
905 * config/tc-z80.c (md_atof): Likewise.
906 * config/tc-z8k.c (md_atof): Likewise.
908 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
910 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
912 (xtensa_section_rename): Make argument type const char *.
913 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
915 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
917 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
920 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
922 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
924 (m32c_indirect_operand): Likewise.
925 * config/tc-nds32.c (do_pseudo_b): Likewise.
926 (do_pseudo_bal): Likewise.
927 (do_pseudo_ls_bhw): Likewise.
929 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
931 * as.c (parse_args): Cast literal to char * when assigning to optarg.
933 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
935 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
937 * config/tc-sparc.c (s_register): Cast a literal to char * in
940 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
942 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
944 * config/tc-m32r.c (expand_debug_syms): Likewise.
945 * config/tc-msp430.c (msp430_dstoperand): Likewise.
946 * config/tc-z80.c (md_begin): Likewise.
947 * stabs.c (stabs_generate_asm_func): Likewise.
949 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
951 * cgen.c: Modernize the way functions declare arguments.
952 * config/tc-bfin.c: Likewise.
953 * config/tc-pdp11.c: Likewise.
954 * literal.c: Likewise.
958 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
960 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
961 variables unsigned char[].
962 * config/tc-alpha.c (alpha_handle_align): Likewise.
963 * config/tc-arm.c (arm_handle_align): Likewise.
964 * config/tc-z80.c: Likewise.
966 2016-03-30 Nick Clifton <nickc@redhat.com>
969 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
972 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
974 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
975 * testsuite/gas/elf/elf.exp: Likewise.
976 * testsuite/gas/all/redef3.d: Allow execution for ARC.
978 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
980 * testsuite/gas/arc/warn.exp: Fix matching pattern.
982 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
984 * testsuite/gas/arc/ext2op.d: New file.
985 * testsuite/gas/arc/ext2op.s: Likewise.
986 * testsuite/gas/arc/ext3op.d: Likewise.
987 * testsuite/gas/arc/ext3op.s: Likewise.
989 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
991 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
993 * config/tc-alpha.c (md_parse_option): Likewise.
994 * config/tc-arc.c (md_parse_option): Likewise.
995 * config/tc-arm.c (struct arm_long_option_table): Likewise.
996 (md_parse_option): Likewise.
997 * config/tc-avr.c (md_parse_option): Likewise.
998 * config/tc-bfin.c (md_parse_option): Likewise.
999 * config/tc-cr16.c (md_parse_option): Likewise.
1000 * config/tc-cris.c (s_cris_arch): Likewise.
1001 (md_parse_option): Likewise.
1002 * config/tc-crx.c (md_parse_option): Likewise.
1003 * config/tc-d10v.c (md_parse_option): Likewise.
1004 * config/tc-d30v.c (md_parse_option): Likewise.
1005 * config/tc-dlx.c (md_parse_option): Likewise.
1006 * config/tc-epiphany.c (md_parse_option): Likewise.
1007 * config/tc-fr30.c (md_parse_option): Likewise.
1008 * config/tc-frv.c (md_parse_option): Likewise.
1009 * config/tc-ft32.c (md_parse_option): Likewise.
1010 * config/tc-h8300.c (md_parse_option): Likewise.
1011 * config/tc-hppa.c (md_parse_option): Likewise.
1012 * config/tc-i370.c (md_parse_option): Likewise.
1013 * config/tc-i386.c (md_parse_option): Likewise.
1014 * config/tc-i860.c (md_parse_option): Likewise.
1015 * config/tc-i960.c (md_parse_option): Likewise.
1016 * config/tc-ia64.c (md_parse_option): Likewise.
1017 * config/tc-ip2k.c (md_parse_option): Likewise.
1018 * config/tc-iq2000.c (md_parse_option): Likewise.
1019 * config/tc-lm32.c (md_parse_option): Likewise.
1020 * config/tc-m32c.c (md_parse_option): Likewise.
1021 * config/tc-m32r.c (md_parse_option): Likewise.
1022 * config/tc-m68hc11.c (md_parse_option): Likewise.
1023 * config/tc-m68k.c (md_parse_option): Likewise.
1024 * config/tc-mcore.c (md_parse_option): Likewise.
1025 * config/tc-mep.c (md_parse_option): Likewise.
1026 * config/tc-metag.c (struct metag_long_option): Likewise.
1027 (md_parse_option): Likewise.
1028 * config/tc-microblaze.c (md_parse_option): Likewise.
1029 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1030 * config/tc-mips.c (md_parse_option): Adjust.
1031 * config/tc-mmix.c (md_parse_option): Likewise.
1032 * config/tc-mn10200.c (md_parse_option): Likewise.
1033 * config/tc-mn10300.c (md_parse_option): Likewise.
1034 * config/tc-moxie.c (md_parse_option): Likewise.
1035 * config/tc-msp430.c (md_parse_option): Likewise.
1036 * config/tc-mt.c (md_parse_option): Likewise.
1037 * config/tc-nds32.c (md_parse_option): Likewise.
1038 * config/tc-nds32.h (nds32_parse_option): Likewise.
1039 * config/tc-nios2.c (md_parse_option): Likewise.
1040 * config/tc-ns32k.c (md_parse_option): Likewise.
1041 * config/tc-or1k.c (md_parse_option): Likewise.
1042 * config/tc-pdp11.c (md_parse_option): Likewise.
1043 * config/tc-pj.c (md_parse_option): Likewise.
1044 * config/tc-ppc.c (md_parse_option): Likewise.
1045 * config/tc-rl78.c (md_parse_option): Likewise.
1046 * config/tc-rx.c (md_parse_option): Likewise.
1047 * config/tc-s390.c (s390_parse_cpu): Likewise.
1048 * config/tc-score.c (md_parse_option): Likewise.
1049 * config/tc-sh.c (md_parse_option): Likewise.
1050 * config/tc-sparc.c (md_parse_option): Likewise.
1051 * config/tc-spu.c (md_parse_option): Likewise.
1052 * config/tc-tic30.c (md_parse_option): Likewise.
1053 * config/tc-tic4x.c (md_parse_option): Likewise.
1054 * config/tc-tic54x.c (md_parse_option): Likewise.
1055 * config/tc-tic6x.c (md_parse_option): Likewise.
1056 * config/tc-tilegx.c (md_parse_option): Likewise.
1057 * config/tc-tilepro.c (md_parse_option): Likewise.
1058 * config/tc-v850.c (md_parse_option): Likewise.
1059 * config/tc-vax.c (md_parse_option): Likewise.
1060 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1061 * config/tc-xc16x.c (md_parse_option): Likewise.
1062 * config/tc-xgate.c (md_parse_option): Likewise.
1063 * config/tc-xstormy16.c (md_parse_option): Likewise.
1064 * config/tc-xtensa.c (md_parse_option): Likewise.
1065 * config/tc-z80.c (md_parse_option): Likewise.
1066 * config/tc-z8k.c (md_parse_option): Likewise.
1067 * tc.h (md_parse_option): Likewise.
1069 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1071 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1072 * config/tc-hppa.c (fix_new_hppa): Likewise.
1073 (pa_vtable_entry): Likewise.
1074 (pa_vtable_inherit): Likewise.
1075 * config/tc-m68k.c (md_begin): Likewise.
1077 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1079 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1080 * config/obj-elf.h (obj_elf_section_name): Adjust.
1081 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1082 (aarch64_parse_cpu): Likewise.
1083 (aarch64_parse_arch): Likewise.
1084 * config/tc-arm.c (arm_parse_extension): Likewise.
1085 (arm_parse_cpu): Likewise.
1086 (arm_parse_arch): Likewise.
1087 * config/tc-nds32.c: Likewise.
1088 * config/xtensa-relax.c (parse_special_fn): Likewise.
1089 * stabs.c (generate_asm_file): Likewise.
1091 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1093 * config/tc-cr16.c (cr16_assemble): New function.
1094 (md_assemble): Call cr16_assemble.
1096 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1098 * as.c (parse_args): Adjust.
1099 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1100 * config/obj-elf.c (elf_frob_symbol): Adjust.
1102 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1104 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1105 registers to be in the 16..31 range.
1107 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1109 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1112 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1114 * config/tc-visium.c (md_atof): Localize the string returned on
1117 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1119 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1120 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1121 * config/tc-m68hc11.c (md_begin): Likewise.
1122 (print_opcode_list): Likewise.
1123 * config/tc-msp430.c (msp430_section): Likewise.
1124 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1125 (s3_build_dependency_insn_hsh): Likewise.
1126 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1127 (s7_build_dependency_insn_hsh): Likewise.
1128 * config/tc-tic4x.c: Likewise.
1129 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1130 (subsym_get_arg): Likewise.
1131 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1132 (get_directive): Likewise.
1133 (cache_literal_section): Likewise.
1134 * config/xtensa-relax.c: Likewise.
1135 * symbols.c (symbol_create): Likewise.
1136 (local_symbol_make): Likewise.
1137 (symbol_relc_make_expr): Likewise.
1139 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1141 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1144 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1146 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1149 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1151 * config/tc-ia64.c (ia64_do_align): Remove.
1152 (ia64_cons_align): Call do_align () directly.
1153 (dot_proc): Likewise.
1154 (stmt_float_cons): Likewise.
1156 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1158 * listing.c (listing_message): Use XNEW style allocation macros.
1159 * read.c (read_a_source_file): Likewise.
1160 (read_symbol_name): Likewise.
1161 (s_mri_common): Likewise.
1162 (assign_symbol): Likewise.
1163 (s_reloc): Likewise.
1164 (emit_expr_with_reloc): Likewise.
1165 (s_incbin): Likewise.
1166 (s_include): Likewise.
1167 * sb.c (sb_build): Likewise.
1168 (sb_check): Likewise.
1170 2016-03-22 Alan Modra <amodra@gmail.com>
1172 * write.c (record_alignment): Revert 2016-02-18 change.
1174 2016-03-22 Alan Modra <amodra@gmail.com>
1176 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1177 (emit_jsrjmp, tc_gen_reloc): Likewise.
1178 * config/tc-i370.c (i370_macro): Likewise.
1180 2016-03-22 Nick Clifton <nickc@redhat.com>
1182 * configure: Regenerate.
1184 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1186 * testsuite/gas/arc/nps400-0.d: New file.
1187 * testsuite/gas/arc/nps400-0.s: New file.
1188 * testsuite/gas/arc/nps400-1.d: New file.
1189 * testsuite/gas/arc/nps400-1.s: New file.
1191 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1193 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1194 declarations to start of block. Reset code on all flags before
1195 attempting to match them. Handle multiple hits on the same flag.
1197 * testsuite/gas/arc/asm-errors.d: New file.
1198 * testsuite/gas/arc/asm-errors.err: New file.
1199 * testsuite/gas/arc/asm-errors.s: New file.
1201 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1203 * config/tc-arc.c (cpu_types): Add nps400 entry.
1204 (check_zol): Handle nps400.
1206 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1208 * config/tc-arc.c (arc_select_cpu): Remove use of
1211 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1213 * config/tc-arc.c (arc_target): Delay initialisation until
1215 (arc_target_name): Likewise.
1216 (arc_features): Likewise.
1217 (arc_mach_type): Likewise.
1218 (cpu_types): Remove "all" entry.
1219 (arc_select_cpu): New function, most of the content is from...
1220 (md_parse_option): ... here. Call new arc_select_cpu.
1221 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1223 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1225 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1226 * testsuite/gas/arc/inline-data-2.d: New file.
1228 2016-03-21 Nick Clifton <nickc@redhat.com>
1230 * atof-generic.c: Replace use of alloca with call to xmalloc.
1232 * dwarf2dbg.c: Likewise.
1233 * macro.c: Likewise.
1234 * remap.c: Likewise.
1235 * stabs.c: Likewise.
1236 * symbols.c: Likewise.
1237 * config/obj-elf.c: Likewise.
1238 * config/tc-aarch64.c: Likewise.
1239 * config/tc-arc.c: Likewise.
1240 * config/tc-arm.c: Likewise.
1241 * config/tc-avr.c: Likewise.
1242 * config/tc-ia64.c: Likewise.
1243 * config/tc-mips.c: Likewise.
1244 * config/tc-msp430.c: Likewise.
1245 * config/tc-nds32.c: Likewise.
1246 * config/tc-ppc.c: Likewise.
1247 * config/tc-sh.c: Likewise.
1248 * config/tc-tic30.c: Likewise.
1249 * config/tc-tic54x.c: Likewise.
1250 * config/tc-xstormy16.c: Likewise.
1251 * config/te-vms.c: Likewise.
1252 * configure: Regenerate.
1254 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1256 * tc-i386.c (f32_1): Change type to unsigned char[].
1276 (jump_31): Likewise.
1277 (f32_patt): Likewise.
1278 (f16_patt): Likewise.
1287 (alt_patt): Likewise.
1289 2016-03-18 Nick Clifton <nickc@redhat.com>
1291 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1292 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1293 .tlsdescldr and .xword directives.
1296 * testsuite/gas/aarch64/pr19721.s: New test source file.
1297 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1299 * doc/as.texinfo: Place the target specific command line options
1300 into their own man page section.
1302 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1304 * config/tc-arm.c (N_S_32): New.
1305 (N_F_16_32): Likewise.
1306 (N_SUF_32): Support N_F16.
1307 (N_IF_32): Likewise.
1308 (neon_dyadic_misc): Likewise.
1309 (do_neon_cmp): Likewise.
1310 (do_neon_cmp_inv): Likewise.
1311 (do_neon_mul): Likewise.
1312 (do_neon_fcmp_absolute): Likewise.
1313 (do_neon_step): Likewise.
1314 (do_neon_abs_neg): Likewise.
1315 (CVT_FLAVOR_VAR): Likewise.
1316 (do_neon_cvt_1): Likewise.
1317 (do_neon_recip_est): Likewise.
1318 (do_vmaxnm): Likewise.
1319 (do_vrint_1): Likewise.
1320 (neon_check_type): Check architecture support for FP16 extension.
1321 (insns): Update comments.
1322 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1323 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1324 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1325 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1327 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1329 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1332 2016-03-16 Nick Clifton <nickc@redhat.com>
1334 * read.c (emit_expr_with_reloc): Add code check a bignum with
1336 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1338 * testsuite/gas/elf/bignum.s: New test source file.
1339 * testsuite/gas/elf/bignum.d: New test driver file.
1340 * testsuite/gas/elf/elf.exp: Run the new test.
1342 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1344 * doc/c-i386.texi (Register Naming): Update to details of the
1345 latest architecture version.
1347 2016-03-10 Mickael Guene <mickael.guene@st.com>
1350 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1352 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1353 (do_t_mov_cmp): Likewise.
1354 (do_t_add_sub): Protect against bad relocations usage.
1355 (do_t_mov_cmp): Likewise.
1356 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1357 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1358 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1359 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1361 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1363 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1365 (do_neon_ld_st_lane): Likewise.
1366 (do_neon_ld_dup): Likewise.
1368 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1370 * testsuite/gas/arc/inline-data-1.d: New file.
1371 * testsuite/gas/arc/inline-data-1.s: New file.
1373 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1375 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1376 * doc/c-arm.texi: Add cortex-r8.
1378 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1380 * config/tc-arc.c: Add const qualifiers.
1381 * config/tc-h8300.c (md_begin): Likewise.
1382 * config/tc-ia64.c (print_prmask): Likewise.
1383 * config/tc-msp430.c (msp430_operands): Likewise.
1384 * config/tc-nds32.c (struct suffix_name): Likewise.
1385 (struct nds32_parse_option_table): Likewise.
1386 (struct nds32_set_option_table): Likewise.
1387 (do_pseudo_pushpopm): Likewise.
1388 (do_pseudo_pushpop_stack): Likewise.
1389 (nds32_relax_relocs): Likewise.
1390 (nds32_flag): Likewise.
1391 (struct nds32_hint_map): Likewise.
1392 (nds32_find_reloc_table): Likewise.
1393 (nds32_match_hint_insn): Likewise.
1394 * config/tc-s390.c: Likewise.
1395 * config/tc-sh.c (get_specific): Likewise.
1396 * config/tc-tic30.c: Likewise.
1397 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1398 (tic4x_indirect_parse): Likewise.
1399 * config/tc-vax.c (vax_cons): Likewise.
1400 * config/tc-z80.c (struct reg_entry): Likewise.
1401 * config/tc-epiphany.c (md_assemble): Adjust.
1402 (epiphany_assemble): New function.
1403 (epiphany_elf_section_rtn): Call do_align directly.
1404 (epiphany_elf_section_text): Likewise.
1405 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1406 (ip2k_elf_section_text): Likewise.
1407 * read.c (do_align): Make it not static.
1408 * read.h (do_align): New prototype.
1410 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1412 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1413 for ARMv8.1 AdvSIMD use.
1414 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1415 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1417 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1419 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1421 (record_feature_use): New.
1422 (mark_feature_used): Use record_feature_use.
1423 (do_neon_qrdmlah): New.
1424 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1426 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1427 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1428 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1429 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1430 Make source file explicit.
1431 * testsuite/gas/arm/armv8-a+rdma.l: New.
1432 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1433 directives. Fix white-space.
1434 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1436 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1438 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1440 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1441 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1443 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1444 (tc_arc_fix_adjustable): Changed default return value to 1.
1445 * testsuite/gas/arc/j.d: Updated expected symbol
1446 * testsuite/gas/arc/jl.d: Likewise
1447 * testsuite/gas/arc/relax-avoid1.d: Likewise
1448 * testsuite/gas/arc/st.d: Likewise
1450 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1452 * config/tc-arc.c: Enable code density instructions for ARC EM.
1454 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1457 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1459 * as.c (flag_use_elf_stt_common): New.
1460 (show_usage): Add --elf-stt-common=.
1461 (option_values): Add OPTION_ELF_STT_COMMON.
1462 (std_longopts): Add --elf-stt-common=.
1463 (parse_args): Handle --elf-stt-common=.
1464 * as.h (flag_use_elf_stt_common): New.
1465 * config.in: Regenerated.
1466 * configure: Likewise.
1467 * configure.ac: Add --enable-elf-stt-common and define
1468 DEFAULT_GENERATE_ELF_STT_COMMON.
1469 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1470 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1471 * doc/as.texinfo: Document --elf-stt-common=.
1472 * testsuite/gas/elf/common3.s: New file.
1473 * testsuite/gas/elf/common3a.d: Likewise.
1474 * testsuite/gas/elf/common3b.d: Likewise.
1475 * testsuite/gas/elf/common4.s: Likewise.
1476 * testsuite/gas/elf/common4a.d: Likewise.
1477 * testsuite/gas/elf/common4b.d: Likewise.
1478 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1479 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1480 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1482 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1483 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1484 --elf-stt-common=no to as.
1485 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1486 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1487 --elf-stt-common=no to as.
1488 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1489 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1490 of dw2-compress-3 and dw2-compressed-3.
1492 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1494 * as.c (select_emulation_mode): Add const qualifiers.
1496 * config/bfin-defs.h: Likewise.
1497 * config/bfin-parse.y: Likewise.
1498 * config/rx-parse.y: Likewise.
1499 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1500 (struct aarch64_cpu_option_table): Likewise.
1501 (struct aarch64_arch_option_table): Likewise.
1502 (struct aarch64_option_cpu_value_table): Likewise.
1503 (struct aarch64_long_option_table): Likewise.
1504 (struct aarch64_option_abi_value_table): Likewise.
1505 * config/tc-arm.c (struct reloc_entry): Likewise.
1506 (tc_gen_reloc): Likewise.
1507 (struct arm_option_table): Likewise.
1508 (struct arm_legacy_option_table): Likewise.
1509 (struct arm_cpu_option_table): Likewise.
1510 (struct arm_arch_option_table): Likewise.
1511 (struct arm_option_extension_value_table): Likewise.
1512 (struct arm_option_fpu_value_table): Likewise.
1513 (struct arm_option_value_table): Likewise.
1514 (struct arm_long_option_table): Likewise.
1515 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1516 (struct mcu_type_s): Likewise.
1517 (struct exp_mod_s): Likewise.
1518 (avr_operand): Likewise.
1519 (avr_operands): Likewise.
1520 * config/tc-d10v.c (md_begin): Likewise.
1521 * config/tc-dlx.c: Likewise.
1522 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1523 * config/tc-ft32.c (parse_condition): Likewise.
1524 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1525 * config/tc-hppa.c (pa_ip): Likewise.
1526 (hppa_regname_to_dw2regnum): Likewise.
1527 * config/tc-i370.c (i370_elf_suffix): Likewise.
1528 * config/tc-i960.c (struct tabentry): Likewise.
1529 * config/tc-m32r.c: Likewise.
1530 * config/tc-m68k.c: Likewise.
1531 * config/tc-m68k.h: Likewise.
1532 * config/tc-mcore.c (parse_psrmod): Likewise.
1533 * config/tc-metag.c (struct metag_core_option): Likewise.
1534 (struct metag_long_option): Likewise.
1535 * config/tc-microblaze.c: Likewise.
1536 * config/tc-mips.c (macro): Likewise.
1537 * config/tc-mn10200.c: Likewise.
1538 * config/tc-mn10300.c: Likewise.
1539 * config/tc-msp430.c (struct rcodes_s): Likewise.
1540 (struct hcodes_s): Likewise.
1541 (md_parse_option): Likewise.
1542 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1543 (optlist): Likewise.
1544 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1545 (tc_ppc_regname_to_dw2regnum): Likewise.
1546 * config/tc-ppc.h: Likewise.
1547 * config/tc-rl78.c: Likewise.
1548 * config/tc-rx.c (struct cpu_type): Likewise.
1549 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1550 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1551 (sparc_ip): Likewise.
1552 * config/tc-spu.c (insn_fmt_string): Likewise.
1553 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1554 * config/tc-v850.c: Likewise.
1555 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1556 (struct visium_long_option_table): Likewise.
1557 * config/tc-xgate.c: Likewise.
1558 * config/tc-z8k.c: Likewise.
1559 * read.c (add_include_dir): Likewise.
1562 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1564 * testsuite/gas/all/gas.exp: Change target pattern to cover
1566 * testsuite/gas/all/redef3.d: Likewise.
1567 * testsuite/gas/elf/elf.exp: Likewise.
1569 2016-02-24 Renlin Li <renlin.li@arm.com>
1571 * config/tc-arm.c (BAD_FP16): New error message macro.
1572 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1573 fp16 scalar instructions.
1574 (neon_check_type): Allow different size from key.
1575 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1576 (try_vfp_nsyn): Likewise.
1577 (do_vfp_nsyn_mla_mls): Likewise.
1578 (do_vfp_nsyn_fma_fms): Likewise.
1579 (do_vfp_nsyn_ldm_stm): Likewise
1580 (do_vfp_nsyn_sqrt): Likewise
1581 (do_vfp_nsyn_div): Likewise
1582 (do_vfp_nsyn_nmul): Likewise.
1583 (do_vfp_nsyn_cmp): Likewise.
1584 (do_neon_shll): Likewise.
1585 (do_vfp_nsyn_cvt_fpv8): Likewise.
1586 (do_neon_cvttb_2): Likewise.
1587 (do_neon_mov): Likewise.
1588 (do_neon_rshift_round_imm): Likewise.
1589 (do_neon_ldr_str): Likewise.
1590 (do_vfp_nsyn_fpv8): Likewise.
1591 (do_vmaxnm): Likewise.
1592 (do_vrint_1): Likewise.
1593 (insns): New entry for vins, vmovx.
1594 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1595 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1596 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1597 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1598 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1599 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1600 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1602 2016-02-24 Renlin Li <renlin.li@arm.com>
1604 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1605 (neon_shape_class): New SC_HALF.
1606 (neon_shape_el): New SE_H.
1607 (neon_shape_el_size): New size for SE_H.
1608 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1609 (neon_select_shape): Add SE_H support code.
1610 (el_type_of_type_chk): Use N_F_ALL.
1611 (do_vfp_nsyn_cvt): Add SE_H shape support.
1612 (do_neon_cvtz): Likewise.
1613 (do_neon_cvt_1): Likewise.
1614 (do_neon_cvttb_1): Likewise.
1616 2016-02-24 Renlin Li <renlin.li@arm.com>
1618 * testsuite/gas/arm/copro.d: Adjust output.
1619 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1621 2016-02-24 Renlin Li <renlin.li@arm.com>
1623 * testsuite/gas/arm/mask_1.d: New.
1624 * testsuite/gas/arm/mask_1.s: New.
1626 2016-02-24 Renlin Li <renlin.li@arm.com>
1628 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1629 * testsuite/gas/arm/copro.d: Update.
1631 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1633 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1634 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1636 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1638 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1640 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1642 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1645 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1647 * output-file.c (output_file_create): Make file name argument const.
1648 (output_file_close): Likewise.
1649 * output-file.h (output_file_create): Adjust.
1650 (output_file_close): Likewise.
1651 * depend.c (quote_string_for_make): Make src argument const char *.
1652 (register_dependency): Likewise.
1653 (wrap_output): Likewise.
1654 * as.h (register_dependency): Adjust.
1655 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1657 * symbols.c (S_SET_EXTERNAL): Likewise.
1658 * input-scrub.c (as_where): Return the file name.
1659 * as.h (as_where): Adjust prototype.
1660 * app.c (do_scrub_chars): Adjust.
1661 * cond.c (s_elseif): Likewise.
1663 (initialize_cframe): Likewise.
1664 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1665 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1666 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1667 * config/tc-aarch64.c (output_info): Likewise.
1668 * config/tc-ia64.c (md_assemble): Likewise.
1669 (dot_alias): Likewise.
1670 * config/tc-m68k.c (m68k_frob_label): Likewise.
1671 * config/tc-mmix.c (s_bspec): Likewise.
1672 (mmix_handle_mmixal): Likewise.
1673 * config/tc-rx.c (rx_include): Likewise.
1674 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1675 (tic54x_adjust_symtab): Likewise.
1676 * config/tc-xtensa.c (directive_push): Likewise.
1677 (xtensa_sanity_check): Likewise.
1678 (xtensa_relax_frag): Likewise.
1679 (md_convert_frag): Likewise.
1680 (tinsn_to_slotbuf): Likewise.
1681 * dwarf2dbg.c (dwarf2_where): Likewise.
1682 * ecoff.c (add_file): Likewise.
1683 (ecoff_generate_asm_lineno): Likewise.
1684 * expr.c (make_expr_symbol): Likewise.
1685 * frags.c (frag_new): Likewise.
1686 (frag_var_init): Likewise.
1687 * listing.c (listing_newline): Likewise.
1688 * messages.c (identify): Likewise.
1689 (as_show_where): Likewise.
1690 (as_warn_internal): Likewise.
1691 (as_bad_internal): Likewise.
1692 * read.c (s_irp): Likewise.
1693 (s_macro): Likewise.
1694 (s_reloc): Likewise.
1695 * stabs.c (stabs_generate_asm_file): Likewise.
1696 (stabs_generate_asm_lineno): Likewise.
1697 (stabs_generate_asm_func): Likewise.
1698 * write.c (fix_new_internal): Likewise.
1699 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1700 (as_warn_value_out_of_range): Adjust prototype.
1701 (as_bad_value_out_of_range): Adjust prototype.
1702 * messages.c (identify): Make file name argument const char *.
1703 (as_warn_internal): Likewise.
1704 (as_warn_where): Likewise.
1705 (as_bad_internal): Likewise.
1706 (as_bad_where): Likewise.
1707 (as_internal_value_out_of_range): Likewise.
1708 (as_warn_value_out_of_range): Likewise.
1709 (as_bad_value_out_of_range): Likewise.
1710 * as.h (found_comment_file): Change type to const char *.
1711 * cond.c (file_line::file): Likewise.
1712 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1713 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1714 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1715 * config/tc-aarch64.c (output_info): Likewise.
1716 * config/tc-alpha.c (insert_operand): Likewise.
1717 * config/tc-arc.c (insert_operand): Likewise.
1718 * config/tc-d30v.c (check_size): Likewise.
1719 * config/tc-ia64.c (struct alias): Likewise.
1720 * config/tc-m68k.c (struct label_line): Likewise.
1721 * config/tc-mcore.c (md_apply_fix): Likewise.
1722 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1723 * config/tc-mips.c (mips16_immed): Likewise.
1724 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1725 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1726 * config/tc-rx.c (rx_include): Likewise.
1727 * config/tc-s390.c (s390_insert_operand): Likewise.
1728 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1729 (tic54x_adjust_symtab): Likewise.
1730 * config/tc-tilegx.c (insert_operand): Likewise.
1731 (apply_special_operator): Likewise.
1732 * config/tc-tilepro.c (insert_operand): Likewise.
1733 * config/tc-xtensa.c (directive_push): Likewise.
1734 * ecoff.c (add_file): Likewise.
1735 (ecoff_generate_asm_lineno): Likewise.
1736 * listing.c (listing_newline): Likewise.
1737 * read.c (s_irp): Likewise.
1738 * write.c (install_reloc): Likewise.
1739 * write.h (struct fix): Likewise.
1740 * input-file.c (file_name): Change type to const char *.
1741 (saved_file::file_name): Likewise.
1742 (input_file_open): Change type of argument to const char *.
1743 * input-file.h (input_file_open): Adjust.
1744 * input-scrub.c (logical_input_file): change type to const char *.
1745 (physical_input_file): Likewise.
1746 (struct input_save): Adjust.
1747 (input_scrub_push): Adjust.
1748 (input_scrub_begin): Adjust.
1750 * input-scrub.c (input_scrub_new_file): Make file name argument const.
1751 (input_scrub_include_file): Likewise.
1752 (new_logical_line_flags): Likewise.
1753 (new_logical_line): Likewise.
1755 * frags.h (struct frag): Change type of fr_file to const char *.
1756 * expr.c (expr_symbol_where): Change type of file argument to
1758 * expr.h (expr_symbol_where): Likewise.
1759 * config/tc-i370.c (md_apply_fix): adjust.
1760 * config/tc-mmix.c (mmix_md_end): Likewise.
1761 * config/tc-ppc.c (md_apply_fix): Likewise.
1762 * config/tc-s390.c (md_apply_fix): Likewise.
1763 * symbols.c (report_op_error): Likewise.
1764 (resolve_symbol_value): Likewise.
1765 * config/tc-ia64.c (slot::src_file): Change type to const char *.
1766 (rsrc::file): Likewise.
1767 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1769 (xtensa_relax_frag): Likewise.
1770 (md_convert_frag): Likewise.
1771 (tinsn_to_slotbuf): Likewise.
1772 * expr.c (expr_symbol_line): Likewise.
1773 * macro.c (define_macro): Likewise.
1774 * macro.h (macro_struct): Likewise.
1775 * messages.c (as_show_where): Likewise.
1776 * read.c (s_macro): Likewise.
1777 * stabs.c (stabs_generate_asm_file): Likewise.
1778 (generate_asm_file): Likewise.
1779 (stabs_generate_asm_lineno): Likewise.
1780 * write.h (struct reloc_list): Likewise.
1781 * input-scrub.c (as_where): Change return type to const char *.
1782 * as.h (as_wheree): Adjust.
1784 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
1786 * write.c (compress_debug): Move BFD compression bits setting
1788 (write_object_file): Here.
1790 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1792 * config/tc-i386.c (register_number): Check RegVRex.
1793 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1794 with %zmm19 and %zmm3.
1795 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1796 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1798 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
1799 Jiong Wang <jiong.wang@arm.com>
1801 * config/tc-arm.c (arm_ext_fp16): New.
1802 (arm_extensions): New entry for "fp16".
1804 2016-02-19 Nick Clifton <nickc@redhat.com>
1807 * read.c (read_a_source_file): Check for assemble_one returning
1808 with input_line_pointer set to NULL.
1810 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1812 * listing.c (rebuffer_line): Change return type to void.
1814 * symbols.c (decode_local_label_name): Make type a const char *.
1815 * listing.c (print_source): Make type of p const char *.
1816 (print_line): Make type of string const char *.
1817 (buffer_line): Return const char *.
1818 (title): Make type const char *.
1819 (subtitle): Likewise.
1820 (listing_listing): Make type of p const char *.
1821 * messages.c (as_internal_value_out_of_range): Make type of prefix
1823 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1824 and string const char *.
1825 * read.c (_bfd_rel): Make type of name const char *.
1826 * app.c (out_string): Change type to const char *.
1827 (struct app_save::out_string): Likewise.
1829 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
1830 Nick Clifton <nickc@redhat.com>
1832 * read.c (finish_bundle): Avoid recording a negative alignment.
1833 (do_align): Use unsigned values for n, len and max. Only create
1834 a frag if the alignment requirement is greater than the minimum
1835 byte alignment. Avoid recording a negative alignment.
1836 (s_align): Use unsigned values where appropriate.
1837 (bss_alloc): Use an unsigned value for the alignment.
1838 (sizeof_sleb128): Add a comment noting that we encode one octet
1839 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1840 (emit_leb129_expr): Abort if the emitted encoding was longer than
1842 * read.h (output_leb128): Update prototype.
1843 (sizeof_leb128): Update prototype.
1844 (bss_alloc): Update prototype.
1845 * write.c (record_alignment): Use an unsigned value for the
1846 alignment. Do not record alignments less than the minimum
1847 alignment for a byte.
1848 * write.h (record_alignment): Update prototype.
1850 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1852 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1853 .init.literal/.fini.literal section name.
1854 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1855 list of xtensa tests.
1856 * testsuite/gas/xtensa/init-fini-literals.d: New file:
1857 init-fini-literals test result patterns.
1858 * testsuite/gas/xtensa/init-fini-literals.s: New file:
1859 init-fini-literals test.
1861 2016-02-17 Nick Clifton <nickc@redhat.com>
1863 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1864 devices.csv file as of March 2016.
1866 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
1868 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1870 (tc_arc_regname_to_dw2regnum): Likewise.
1871 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1872 (tc_cfi_frame_initial_instructions): Likewise.
1873 (tc_regname_to_dw2regnum): Likewise.
1874 * testsuite/gas/cfi/cfi-arc-1.d: New file.
1875 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1876 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1878 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
1880 * doc/internals.texi (S_IS_EXTERN): Remove.
1882 2016-02-16 Nick Clifton <nickc@redhat.com>
1884 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1887 2016-02-16 Renlin Li <renlin.li@arm.com>
1890 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1891 * testsuite/gas/aarch64/movw_label.d: New.
1892 * testsuite/gas/aarch64/movw_label.s: New.
1894 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
1897 * config/rx-parse.y (MOV): Opcode generation for index
1898 register addressing mode.
1899 * testsuite/gas/rx/rx.exp: Updated for new testcase.
1900 * testsuite/gas/rx/pr19665.s: New file.
1901 * testsuite/gas/rx/pr19665.s: New file.
1902 * testsuite/gas/rx/mov.d: Update expected output.
1904 2016-02-15 Nick Clifton <nickc@redhat.com>
1906 * doc/as.texinfo (.section): Document that numeric values can now
1907 be used for the flags and type fields of the ELF target's .section
1908 directive. Add notes about the restrictions on setting flags and
1910 * config/obj-elf.c (obj_elf_change_section): Allow known sections
1911 to be given processor specific section types. Allow processor and
1912 application specific flags of a section to be set after
1914 (obj_elf_parse_section_letters): Handle parsing numeric values.
1915 (obj_elf_section_type): Handle parsing numeric values.
1916 (obj_elf_section): Allow numeric type values.
1917 * config/obj-elf.h (obj_elf_change_section): Update prototype.
1918 * testsuite/gas/elf/section10.d: New test.
1919 * testsuite/gas/elf/section10.s: Source file for new test.
1920 * testsuite/gas/elf/elf.exp: Run the new test.
1921 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1922 the description of the flags produced by readelf.
1923 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1924 * NEWS: Mention the new feature.
1926 2016-02-11 Nick Clifton <nickc@redhat.com>
1929 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1930 until it is actually used.
1931 (cfi_set_sections): Set cfi_sections_set to true.
1932 (dot_cfi_startproc): Likewise.
1933 (dot_cfi_endproc): Likewise.
1934 (dot_cfi_fde_data): Likewise.
1935 (cfi_finish): Likewise.
1936 (dot_cfi_sections): Do not set cfi_sections_set.
1937 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1938 their own cfi section name. Also note that the directive can be
1939 reissued provided that CFI generation has not started.
1940 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1941 .cfi_endproc directives so that the redefinition of .cfi_sections
1942 will trigger the generation of the error message.
1943 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1944 number of error message.
1946 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
1947 Janek van Oirschot <jvanoirs@synopsys.com>
1949 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1950 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1952 (arc_flags, arc_relax_type): New structure.
1953 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1954 (RELAX_TABLE_ENTRY_MAX): New define.
1955 (relaxation_state, md_relax_table, arc_relaxable_insns)
1956 (arc_num_relaxable_ins): New variable.
1957 (rlx_operand_type, arc_rlx_types): New enums.
1958 (arc_relaxable_ins): New structure.
1959 (OPTION_RELAX): New option.
1960 (arc_insn): New relax member.
1961 (arc_flags): Remove.
1962 (relax_insn_p): New function.
1963 (apply_fixups): Likewise.
1964 (relaxable_operand): Likewise.
1965 (may_relax_expr): Likewise.
1966 (relaxable_flag): Likewise.
1967 (arc_pcrel_adjust): Likewise.
1968 (md_estimate_size_before_relax): Implement.
1969 (md_convert_frag): Likewise.
1970 (md_parse_option): Handle new mrelax option.
1971 (md_show_usage): Likewise.
1972 (assemble_insn): Set relax member.
1973 (emit_insn0): New function.
1974 (emit_insn1): Likewise.
1975 (emit_insn): Handle relaxation case.
1976 * NEWS: Mention the new relaxation option.
1977 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1978 * doc/as.texinfo (Target ARC Options): Likewise.
1979 * testsuite/gas/arc/relax-avoid1.d: New file.
1980 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1981 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1982 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1983 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1984 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1985 * testsuite/gas/arc/relax-b.d: Likewise.
1986 * testsuite/gas/arc/relax-b.s: Likewise.
1988 2016-02-08 Nick Clifton <nickc@redhat.com>
1990 * config/tc-ia64.c (dot_prologue): Fix formatting.
1992 2016-02-04 Nick Clifton <nickc@redhat.com>
1994 * config/obj-elf.c (obj_elf_change_section): Remove support for
1995 ARM NOREAD sections.
1996 * config/tc-arm.c (arm_elf_section_letter): Delete.
1997 * config/tc-arm.h (md_elf_section_letter): Delete.
1998 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1999 * testsuite/gas/arm/section-execute-only.d: Delete.
2000 * testsuite/gas/arm/section-execute-only.s: Delete.
2002 2016-02-04 Nick Clifton <nickc@redhat.com>
2005 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2006 to handle encoding of RRUX instruction.
2007 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2009 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2011 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2013 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2014 substitutions for BFD_RELOC_* as unsigned.
2015 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2016 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2017 * testsuite/gas/xtensa/loc.s: New file: loc test.
2019 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2021 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2023 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2026 * NEWS: Mention new command line option -mrelax-relocations and
2027 new configure option --enable-x86-relax-relocations for x86
2029 * config.in: Regenerated.
2030 * configure.ac: Add --enable-x86-relax-relocations.
2031 (ac_default_x86_relax_relocations): New. Default to 1 except
2032 for x86 Solaris targets older than Solaris 12.
2033 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2034 * configure: Likewise.
2035 * config/tc-i386.c (generate_relax_relocations): New.
2036 (OPTION_MRELAX_RELOCATIONS): Likewise.
2037 (output_disp): Don't generate relax relocations if
2038 generate_relax_relocations is 0.
2039 (md_longopts): Add -mrelax-relocations.
2040 (md_show_usage): Likewise.
2041 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2042 * doc/c-i386.texi: Document -mrelax-relocations=.
2043 * testsuite/gas/i386/got-no-relax.d: New file.
2044 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2045 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2046 * testsuite/gas/i386/localpic.d: Likewise.
2047 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2048 * testsuite/gas/i386/reloc32.d: Likewise.
2049 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2050 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2051 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2052 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2053 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2054 x86-64-gotpcrel-no-relax.
2056 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2058 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2061 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2063 * NEWS: Remove duplicated marker for 2.26.
2065 2016-02-02 Renlin Li <renlin.li@arm.com>
2067 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2069 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2071 * testsuite/gas/ip2k/allinsn.d: New file.
2072 * testsuite/gas/ip2k/allinsn.s: New file.
2073 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2075 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2077 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2078 some load instructions.
2079 * testsuite/gas/epiphany/allinsn.d: Likewise.
2080 * testsuite/gas/epiphany/regression.d: Likewise.
2082 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2084 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2085 suffixes from instruction mnemonics in expected output.
2086 * testsuite/gas/epiphany/allinsn.d: Likewise.
2087 * testsuite/gas/epiphany/regression.d: Likewise.
2088 * testsuite/gas/epiphany/sample.d: Likewise.
2090 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2092 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2094 * testsuite/gas/epiphany/allinsn.d: Likewise.
2095 * testsuite/gas/epiphany/sample.d: Likewise.
2097 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2099 * testsuite/gas/epiphany/sample.d: Update expected output.
2101 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2103 * config/tc-arc.c (md_apply_fix): Allow addendum.
2104 (arc_reloc_op): Allow complex expressions for tpoff.
2105 (md_apply_fix): Handle resolved TLS local symbol.
2106 * testsuite/gas/arc/tls-relocs1.d: New file.
2107 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2109 2016-02-01 Loria <Loria@phantasia.org>
2112 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2113 efficiency and avoid an LLVM loop optimization bug.
2115 2016-02-01 Nick Clifton <nickc@redhat.com>
2117 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2118 message extending a negative 32-bit value into a larger signed
2119 value on a 32-bit host.
2121 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2124 * configure.ac (compressed_debug_sections): Replace == with =.
2125 * configure: Regenerated.
2127 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2128 H.J. Lu <hongjiu.lu@intel.com>
2130 * config/tc-i386.c (avoid_fence): New.
2131 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2133 (OPTION_FENCE_AS_LOCK_ADD): New.
2134 (md_longopts): Add -mfence-as-lock-add.
2135 (md_parse_option): Handle -mfence-as-lock-add.
2136 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2137 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2138 * testsuite/gas/i386/i386.exp: Run new tests.
2139 * testsuite/gas/i386/fence-as-lock-add.s: New.
2140 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2141 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2142 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2143 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2145 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2147 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2148 * configure: Regenerated.
2150 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2152 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2153 (OPTION_MOMIT_LOCK_PREFIX): This.
2154 (md_longopts): Updated.
2155 (md_parse_option): Likewise.
2157 2016-01-25 Catherine Moore <clm@codesourcery.com>
2159 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2160 if abicalls are in effect.
2161 * testsuite/gas/mips/sdata-gp.s: New test.
2162 * testsuite/gas/mips/sdata-gp.d: New expected output
2163 * testsuite/gas/mips/mips.exp: Run new test.
2165 2016-01-25 Renlin Li <renlin.li@arm.com>
2167 * testsuite/gas/arm/thumb2_it_search.d: New.
2168 * testsuite/gas/arm/thumb2_it_search.s: New.
2170 2016-01-21 Nick Clifton <nickc@redhat.com>
2173 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2174 with arm-netbsdelf target.
2175 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2177 2016-01-20 Nick Clifton <nickc@redhat.com>
2180 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2181 * testsuite/gas/arm/blx-bl-convert.d
2182 * testsuite/gas/arm/plt-1.d: Likewise.
2183 * testsuite/gas/arm/reloc-bad.d: Likewise.
2184 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2185 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2186 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2187 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2190 * doc/as.texinfo (Errors): Correct documentation describing the
2191 interaction of .file and .line with warning and error messages.
2194 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2195 * testsuite/gas/arm/archv8m-main.d: Likewise.
2196 * testsuite/gas/arm/archv8m-base.d: Likewise.
2198 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2200 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2201 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2202 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2204 2016-01-20 Mickael Guene <mickael.guene@st.com>
2205 Terry Guo <terry.guo@arm.com>
2207 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2208 SHF_ARM_NOREAD section flag.
2209 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2211 (arm_elf_section_letter) : Declare it.
2212 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2213 SHF_ARM_NOREAD section flag.
2214 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2216 * testsuite/gas/arm/section-execute-only.s: New test case.
2217 * testsuite/gas/arm/section-execute-only.d: Expected output.
2219 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2221 * config/tc-mips.c (micromips_insn_length): Remove the mention
2222 of 48-bit microMIPS instructions.
2224 2016-01-18 Alan Modra <amodra@gmail.com>
2226 * configure: Regenerate.
2228 2016-01-17 Alan Modra <amodra@gmail.com>
2230 * configure: Regenerate.
2232 2016-01-17 Alan Modra <amodra@gmail.com>
2234 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2236 2016-01-14 Nick Clifton <nickc@redhat.com>
2238 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2239 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2240 * testsuite/gas/rl78/rl78.exp: Run the new test.
2242 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2244 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2245 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2247 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2249 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2251 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2253 * config/tc-h8300.c (get_operand): Remove spurious condition in
2254 test for closing parenthesis.
2256 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2258 * config/tc-arm.c (arm_ext_v8_2): New.
2260 * testsuite/gas/arm/armv8_2-a.d: New.
2261 * testsuite/gas/arm/armv8_2-a.s: New.
2263 2016-01-12 Alan Modra <amodra@gmail.com>
2265 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2267 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2269 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2270 xvcmpnesp, xvcmpnesp.>: Delete tests.
2271 * testsuite/gas/ppc/power9.s: Likewise.
2272 * testsuite/gas/ppc/vsx3.d: Likewise.
2273 * testsuite/gas/ppc/vsx3.s: Likewise.
2275 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2278 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2279 * testsuite/gas/m68k/p13050-1.s: New file.
2280 * testsuite/gas/m68k/p13050-2.d: New file.
2281 * testsuite/gas/m68k/p13050-2.s: New file.
2283 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2285 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2286 * testsuite/gas/arc/add.d: Likewise.
2287 * testsuite/gas/arc/and.d: Likewise.
2288 * testsuite/gas/arc/asl.d: Likewise.
2289 * testsuite/gas/arc/asr.d: Likewise.
2290 * testsuite/gas/arc/bic.d: Likewise.
2291 * testsuite/gas/arc/extb.d: Likewise.
2292 * testsuite/gas/arc/extw.d: Likewise.
2293 * testsuite/gas/arc/j.d: Likewise.
2294 * testsuite/gas/arc/jl.d: Likewise.
2295 * testsuite/gas/arc/ld2.d: Likewise.
2296 * testsuite/gas/arc/lsr.d: Likewise.
2297 * testsuite/gas/arc/mov.d: Likewise.
2298 * testsuite/gas/arc/or.d: Likewise.
2299 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2300 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2301 * testsuite/gas/arc/pic-relocs.d: Likewise.
2302 * testsuite/gas/arc/plt-relocs.d: Likewise.
2303 * testsuite/gas/arc/rlc.d: Likewise.
2304 * testsuite/gas/arc/ror.d: Likewise.
2305 * testsuite/gas/arc/rrc.d: Likewise.
2306 * testsuite/gas/arc/sbc.d: Likewise.
2307 * testsuite/gas/arc/sda-relocs.d: Likewise.
2308 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2309 * testsuite/gas/arc/sexb.d: Likewise.
2310 * testsuite/gas/arc/sexw.d: Likewise.
2311 * testsuite/gas/arc/st.d: Likewise.
2312 * testsuite/gas/arc/sub.d: Likewise.
2313 * testsuite/gas/arc/tls-relocs.d: Likewise.
2314 * testsuite/gas/arc/xor.d: Likewise.
2316 2016-01-01 Alan Modra <amodra@gmail.com>
2318 Update year range in copyright notice of all files.
2320 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2322 Copyright (C) 2016 Free Software Foundation, Inc.
2324 Copying and distribution of this file, with or without modification,
2325 are permitted in any medium without royalty provided the copyright
2326 notice and this notice are preserved.
2332 version-control: never