1 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3 * config/obj-coff.c (obj_coff_def): Simplify string copying.
4 (weak_name2altname): Likewise.
5 (weak_uniquify): Likewise.
6 (obj_coff_section): Likewise.
7 (obj_coff_init_stab_section): Likewise.
8 * config/obj-elf.c (obj_elf_section_name): Likewise.
9 (obj_elf_init_stab_section): Likewise.
10 * config/obj-evax.c (evax_shorten_name): Likewise.
11 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
12 * config/tc-aarch64.c (create_register_alias): Likewise.
13 * config/tc-alpha.c (load_expression): Likewise.
14 (s_alpha_file): Likewise.
15 (s_alpha_section_name): Likewise.
16 (tc_gen_reloc): Likewise.
17 * config/tc-arc.c (md_assemble): Likewise.
18 * config/tc-arm.c (create_neon_reg_alias): Likewise.
19 (start_unwind_section): Likewise.
20 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
21 (hppa_elf_mark_end_of_function): Likewise.
22 * config/tc-nios2.c (nios2_modify_arg): Likewise.
23 (nios2_negate_arg): Likewise.
24 * config/tc-rx.c (rx_section): Likewise.
25 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
26 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
27 * config/tc-tic54x.c (tic54x_include): Likewise.
28 (tic54x_macro_info): Likewise.
29 (subsym_get_arg): Likewise.
30 (subsym_substitute): Likewise.
31 (tic54x_start_line_hook): Likewise.
32 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
33 (xg_reverse_shift_count): Likewise.
34 * config/xtensa-relax.c (enter_opname_n): Likewise.
35 (split_string): Likewise.
36 * dwarf2dbg.c (get_filenum): Likewise.
37 (process_entries): Likewise.
38 * expr.c (operand): Likewise.
39 * itbl-ops.c (alloc_entry): Likewise.
40 * listing.c (listing_message): Likewise.
41 (listing_title): Likewise.
42 * macro.c (check_macro): Likewise.
43 * stabs.c (s_xstab): Likewise.
44 * symbols.c (symbol_relc_make_expr): Likewise.
45 * write.c (compress_debug): Likewise.
47 2016-05-12 Nick Clifton <nickc@redhat.com>
50 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
52 2016-05-11 Nick Clifton <nickc@redhat.com>
55 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
56 big endian ARM configurations.
58 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
59 Matthew Fortune <matthew.fortune@imgtec.com>
61 * config/tc-mips.c (options): Add OPTION_DSPR3 and
63 (md_longopts): Likewise.
64 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
65 (mips_ases): Define availability for DSPr3.
66 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
67 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
68 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
70 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
71 .set nodspr3. Fix -mdspr2 formatting.
72 * testsuite/gas/mips/mips32-dspr3.d: New file.
73 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
74 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
76 2016-05-11 Nick Clifton <nickc@redhat.com>
79 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
80 to the pool uses O_constant.
81 * testsuite/gas/arm/pr20068.s: New test.
82 * testsuite/gas/arm/pr20068.d: Test driver.
84 2016-05-11 Nick Clifton <nickc@redhat.com>
86 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
87 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
88 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
89 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
90 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
91 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
92 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
93 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
94 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
96 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
98 * testsuite/gas/i386/i386.exp: Run RDPID tests.
99 * testsuite/gas/i386/prefix.d: Adjust.
100 * testsuite/gas/i386/rdpid.s: New test.
101 * testsuite/gas/i386/rdpid.d: Ditto.
102 * testsuite/gas/i386/rdpid-intel.d: Ditto.
103 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
104 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
105 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
107 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
109 * config/tc-i386.c (cpu_arch): Add RDPID.
110 * doc/c-i386.texi: Document RDPID.
112 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
114 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
115 set branch type of a symbol.
117 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
119 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
120 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
122 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
123 (aeabi_set_public_attributes): Memorize the feature bits of the
124 architecture selected for Tag_CPU_arch. Use it to set
125 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
126 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
127 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
128 * testsuite/gas/arm/arch7em-bad-1.d: This.
129 * testsuite/gas/arm/arch7em-bad-2.d: New file.
130 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
131 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
132 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
133 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
134 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
135 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
136 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
138 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
140 * config/tc-arm.c (struct arm_option_extension_value_table): Make
141 allowed_archs an array with 2 entries.
142 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
143 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
144 (arm_extensions): Use separate entries in allowed_archs when several
145 archs are allowed to use an extension and change ARCH_ANY in
146 ARM_ARCH_NONE in allowed_archs.
147 (arm_parse_extension): Check that, for each allowed_archs entry, all
148 bits are set in the current architecture, ignoring ARM_ANY entries.
149 (s_arm_arch_extension): Likewise.
151 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
153 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
154 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
155 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
156 shared with a non M profile architecture.
157 (do_rn): New function.
158 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
160 (v7m_psrs): Add ARMv8-M security extensions new special registers.
161 (insns): Add ARMv8-M Security Extensions instructions.
162 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
163 arm_ext_v8m_m to decide the profile and the Thumb ISA.
164 * testsuite/gas/arm/archv8m-cmse.s: New file.
165 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
166 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
167 * testsuite/gas/arm/any-cmse.d: Likewise.
168 * testsuite/gas/arm/any-cmse-main.d: Likewise.
169 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
170 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
171 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
172 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
173 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
175 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
177 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
178 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
180 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
182 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
183 (fpu_arch_vfp_v3): Likewise.
184 (fpu_arch_neon_v1): Likewise.
185 (arm_arch_full): Likewise.
186 (parse_neon_el_struct_list): Initialize fields of firsttype.
188 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
190 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
191 (arc_extinsn): Handle new introduced syntax.
192 * testsuite/gas/arc/textinsn1op.d: New file.
193 * testsuite/gas/arc/textinsn1op.s: Likewise.
194 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
196 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
198 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
199 DW_LNS_fixed_advance_pc.
201 2016-04-27 Alan Modra <amodra@gmail.com>
203 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
204 (xmemdup0): New inline function.
206 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
208 * config/tc-mips.c (code_option_type): New enum.
209 (parse_code_option): Return status indicating option type.
210 (s_mipsset): Update `parse_code_option' call site accordingly.
211 Always set register sizes from the ISA with ISA overrides.
212 (s_module): Update `parse_code_option' call site.
213 * testsuite/gas/mips/isa-override-1.d: New test.
214 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
215 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
216 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
217 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
218 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
219 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
220 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
221 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
222 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
223 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
224 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
225 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
226 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
227 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
228 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
229 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
230 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
231 * testsuite/gas/mips/isa-override-2.l: New list test.
232 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
233 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
234 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
235 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
236 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
237 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
238 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
239 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
240 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
241 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
242 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
244 * testsuite/gas/mips/isa-override-1.s: New test source.
245 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
246 * testsuite/gas/mips/isa-override-2.s: New test source.
247 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
248 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
249 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
250 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
251 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
252 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
253 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
254 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
255 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
256 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
257 * testsuite/gas/mips/mips.exp: Run the new tests.
259 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
262 * config/tc-bfin.c: Likewise.
263 * config/tc-ia64.c: Likewise.
264 * config/tc-mep.c: Likewise.
265 * config/tc-metag.c: Likewise.
266 * config/tc-nios2.c: Likewise.
267 * config/tc-rl78.c: Likewise.
269 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
271 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
272 -mcpu. Add cross reference to .cpu directive from -mcpu option.
273 (ARC Directives): Add NPS400 to .cpu directive list.
275 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
277 * config/tc-aarch64.c (aarch64_features): Add "ras".
278 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
279 * testsuite/gas/aarch64/armv8-ras-1.d: New.
280 * testsuite/gas/aarch64/armv8-ras-1.s: New.
281 * testsuite/gas/aarch64/illegal-ras-1.d: New.
282 * testsuite/gas/aarch64/illegal-ras-1.s: New.
284 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
286 * testsuite/gas/arc/nps400-6.d: New file.
287 * testsuite/gas/arc/nps400-6.s: New file.
289 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
291 * testsuite/gas/arc/nps400-4.d: New file.
292 * testsuite/gas/arc/nps400-4.s: New file.
293 * testsuite/gas/arc/nps400-5.d: New file.
294 * testsuite/gas/arc/nps400-5.s: New file.
296 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
298 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
301 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
303 Revert prevous change.
304 * config/tc-arc.c (arc_option): Make .cpu directive
305 case-sensitive again.
307 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
309 * config/tc-arc.c (arc_option): Make .cpu directive
312 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
314 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
316 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
318 * config/tc-mips.c (md_begin): Remove useless assignment.
320 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
322 * Makefile.in: Regenerated with automake 1.11.6.
323 * aclocal.m4: Likewise.
324 * doc/Makefile.in: Likewise.
326 2016-04-15 Alan Modra <amodra@gmail.com>
328 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
330 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
332 * config/tc-nios2.c (nios2_as_options): Make file static.
333 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
334 * config/tc-sparc.c (native_op_table): Likewise.
336 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
338 * config/tc-m32c.c (M32C_Macros): Remove.
339 * config/tc-msp430.c (option_numbers): Likewise.
341 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
343 * testsuite/gas/arc/nps400-3.d: New file.
344 * testsuite/gas/arc/nps400-3.s: New file.
346 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
348 * testsuite/gas/arc/add_s-err.s: Update target pattern.
349 * testsuite/gas/arc/warn.s: Likewise.
350 * testsuite/gas/elf/elf.exp: Run test for arc.
352 2016-04-14 Nick Clifton <nickc@redhat.com>
355 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
356 sections possibly having the SHF_STRINGS flag bit set.
357 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
359 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
361 * config/tc-arc.c (mach_type_specified_p): Change type to
363 (arc_option): Set private flags when parsing cpu pseudo-op.
364 (md_parse_option): Set mach_type_specified_p to TRUE.
366 2016-04-13 Nick Clifton <nickc@redhat.com>
369 * testsuite/gas/v850/pr19937.s: New test.
370 * testsuite/gas/v850/pr19937.d: New test control file.
371 * testsuite/gas/v850/basic.exp: Run the new test.
373 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
374 Andrew Bennett <andrew.bennett@imgtec.com>
376 * config/tc-mips.c (relaxed_branch_length): Use the long
377 sequence where the target is a weak symbol.
378 (relaxed_micromips_32bit_branch_length): Likewise.
379 (relaxed_micromips_16bit_branch_length): Likewise.
380 * testsuite/gas/mips/branch-weak-1.d: New test.
381 * testsuite/gas/mips/branch-weak-2.d: New test.
382 * testsuite/gas/mips/branch-weak-3.d: New test.
383 * testsuite/gas/mips/branch-weak-4.d: New test.
384 * testsuite/gas/mips/branch-weak-5.d: New test.
385 * testsuite/gas/mips/branch-weak.l: New stderr output.
386 * testsuite/gas/mips/branch-weak.s: New test source.
387 * testsuite/gas/mips/mips.exp: Run the new tests.
389 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
391 * config/tc-mips.c (relaxed_branch_length): Use the long
392 sequence where the distance cannot be determined.
393 (relaxed_micromips_32bit_branch_length): Likewise.
394 * testsuite/gas/mips/branch-extern-1.d: New test.
395 * testsuite/gas/mips/branch-extern-2.d: New test.
396 * testsuite/gas/mips/branch-extern-3.d: New test.
397 * testsuite/gas/mips/branch-extern-4.d: New test.
398 * testsuite/gas/mips/branch-extern.l: New stderr output.
399 * testsuite/gas/mips/branch-extern.s: New test source.
400 * testsuite/gas/mips/branch-section-1.d: New test.
401 * testsuite/gas/mips/branch-section-2.d: New test.
402 * testsuite/gas/mips/branch-section-3.d: New test.
403 * testsuite/gas/mips/branch-section-4.d: New test.
404 * testsuite/gas/mips/branch-section.l: New stderr output.
405 * testsuite/gas/mips/branch-section.s: New test source.
406 * testsuite/gas/mips/mips.exp: Run the new tests.
408 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
410 * testsuite/gas/arc/textauxregister.d: New file.
411 * testsuite/gas/arc/textauxregister.s: Likewise.
412 * testsuite/gas/arc/textcondcode.d: Likewise.
413 * testsuite/gas/arc/textcondcode.s: Likewise.
414 * testsuite/gas/arc/textcoreregister.d: Likewise.
415 * testsuite/gas/arc/textcoreregister.s: Likewise.
416 * testsuite/gas/arc/textpseudoop.d: Likewise.
417 * testsuite/gas/arc/textpseudoop.s: Likewise.
418 * testsuite/gas/arc/ld2.d: Update test.
419 * testsuite/gas/arc/st.d: Likewise.
420 * testsuite/gas/arc/taux.d: Likewise.
421 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
422 .extCoreRegister and .extAuxRegister documentation.
423 * config/tc-arc.c (arc_extcorereg): New function.
424 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
425 .extAuxRegister pseudo-ops.
426 (extRegister_t): New type.
427 (ext_condcode, arc_aux_hash): New global variable.
428 (find_opcode_match): Check for extensions.
429 (preprocess_operands): Likewise.
430 (md_begin): Add aux registers in a hash.
431 (assemble_insn): Update use arc_flags member.
432 (tokenize_extregister): New function.
433 (create_extcore_section): Likewise.
434 * config/tc-arc.h (arc_flags): Delete code, add flgp.
436 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
438 * testsuite/gas/arc/noargs_a7.d: New file.
439 * testsuite/gas/arc/noargs_a7.s: Likewise.
440 * testsuite/gas/arc/noargs_hs.d: Likewise.
441 * testsuite/gas/arc/noargs_hs.s: Likewise.
443 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
445 * testsuite/gas/arc/textinsn-errors.d: New File.
446 * testsuite/gas/arc/textinsn-errors.err: Likewise.
447 * testsuite/gas/arc/textinsn-errors.s: Likewise.
448 * testsuite/gas/arc/textinsn2op.d: Likewise.
449 * testsuite/gas/arc/textinsn2op.s: Likewise.
450 * testsuite/gas/arc/textinsn2op01.d: Likewise.
451 * testsuite/gas/arc/textinsn2op01.s: Likewise.
452 * testsuite/gas/arc/textinsn3op.d: Likewise.
453 * testsuite/gas/arc/textinsn3op.s: Likewise.
454 * doc/c-arc.texi (ARC Directives): Add .extInstruction
456 * config/tc-arc.c (arcext_section): New variable.
457 (arc_extinsn): New function.
458 (md_pseudo_table): Add .extInstruction pseudo op.
459 (attributes_t): New type.
460 (suffixclass, syntaxclass, syntaxclassmod): New constant
462 (find_opcode_match): Remove arc_num_opcodes.
463 (md_begin): Likewise.
464 (tokenize_extinsn): New function.
465 (arc_set_ext_seg): Likewise.
466 (create_extinst_section): Likewise.
468 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
470 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
471 (arc_adjust_symtab): New function.
472 * config/tc-arc.h (ARC_FLAG_AUX): Define.
473 (obj_adjust_symtab): Likewise.
474 * testsuite/gas/arc/taux.d: New file.
475 * testsuite/gas/arc/taux.s: Likewise.
477 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
479 * config/tc-mips.c (s_option): Sanitize `.option picX'
481 * testsuite/gas/mips/option-pic-1.d: New test.
482 * testsuite/gas/mips/option-pic-2.l: New list test.
483 * testsuite/gas/mips/option-pic-1.s: New test source.
484 * testsuite/gas/mips/option-pic-2.s: New test source.
485 * testsuite/gas/mips/mips.exp: Run the new tests.
487 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
489 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
491 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
492 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
493 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
494 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
495 * testsuite/gas/mips/mips.exp: Run the new tests.
497 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
499 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
501 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
503 * messages.c (as_bad): Fix a typo in description.
505 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
507 * config/tc-mips.c (mips_check_options): Unify messages.
509 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
511 * config/tc-mips.c (mips_check_options): Use `opts->isa'
514 2016-04-08 Nick Clifton <nickc@redhat.com>
517 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
518 COFF and AOUT sparc targets.
520 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
522 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
523 * testsuite/gas/arc/nps400-2.d: New file.
524 * testsuite/gas/arc/nps400-2.s: New file.
526 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
528 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
530 (arc_opcode_hash_entry_iterator_init): New function.
531 (arc_opcode_hash_entry_iterator_next): New function.
532 (find_opcode_match): Iterate over all arc_opcode entries
533 referenced by the arc_opcode_hash_entry passed in as a parameter.
535 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
537 * config/tc-arc.c (arc_find_opcode): Now returns
538 arc_opcode_hash_entry pointer.
539 (find_opcode_match): Update argument type, extract arc_opcode from
540 incoming arc_opcode_hash_entry.
541 (find_special_case_pseudo): Update return type.
542 (find_special_case_flag): Update return type.
543 (find_special_case): Update return type.
544 (assemble_tokens): Lookup arc_opcode_hash_entry based on
545 instruction mnemonic, then use find_opcode_match to identify
548 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
550 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
551 (arc_find_opcode): New function.
552 (find_special_case_pseudo): Use arc_find_opcode.
553 (find_special_case_flag): Likewise.
554 (assemble_tokens): Likewise.
555 (md_begin): Build hash using struct arc_opcode_hash_entry.
557 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
559 * config/tc-arc.c (arc_option): Prepare string for automatic
561 (declare_register): Likewise.
563 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
565 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
566 Correct entry for RDMA. Alpha sort entries.
568 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
570 * config/tc-arc.c (tokenize_flags): Allow greater range of
571 characters into flag names.
573 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
575 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
577 (preprocess_operands): Delete.
578 (assemble_tokens): Remove call to preprocess_operands.
580 2016-04-07 Nick Clifton <nickc@redhat.com>
583 * config/tc-sparc.c (sparc_ip): Report an error if the expression
584 inside a %-macro could not be fully parsed.
585 * expr.c (integer_constant): Accept and ignore U suffixes to
587 (operand): When a missing closing parenthesis is encountered,
588 report the character that was found instead.
589 * testsuite/gas/mips/tls-ill.l: Update expected error message.
590 * testsuite/gas/sparc/pr19910-1.d: New test driver.
591 * testsuite/gas/sparc/pr19910-1.s: New test.
592 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
593 * testsuite/gas/sparc/pr19910-2.s: New test.
594 * testsuite/gas/sparc/sparc.exp: Run the new tests.
596 2016-04-06 Nick Clifton <nickc@redhat.com>
598 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
599 an EINT instruction. Warn/fix as necessary.
600 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
601 * testsuite/gas/msp430/bad.l: Update expected messages.
603 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
605 * testsuite/gas/arc/nps400-1.d: Update expected results.
606 * testsuite/gas/arc/nps400-1.s: Additional test cases.
608 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
610 * config/tc-arc.c (is_code_density_p): Compare directly the
612 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
613 (check_cpu_feature): New function.
614 (find_opcode_match): Use check_cpu_feature function.
615 (preprocess_operands): Likewise.
616 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
617 * testsuite/gas/arc/tdpfp.d: New file.
618 * testsuite/gas/arc/tfpuda.d: Likewise.
619 * testsuite/gas/arc/tfpx.s: Likewise.
621 2016-04-05 Jiong Wang <jiong.wang@arm.com>
623 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
624 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
625 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
626 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
627 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
628 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
629 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
630 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
632 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
634 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
636 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
637 JUMP instructions type.
638 * testsuite/gas/arc/relocs-errors.d: New file.
639 * testsuite/gas/arc/relocs-errors.err: Likewise.
640 * testsuite/gas/arc/relocs-errors.s: Likewise.
642 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
645 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
646 only if i.disp_encoding != disp_encoding_32bit.
647 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
648 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
649 * gas/testsuite/gas/i386/disp32.d: Updated.
650 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
652 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
655 * testsuite/gas/i386/i386.exp: Run pr19498.
656 * testsuite/gas/i386/pr19498.d: New file.
657 * testsuite/gas/i386/pr19498.s: Likewise.
659 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
661 * config/tc-arc.h: Include 'opcode/arc.h'.
662 (MAX_INSN_ARGS): Delete.
663 (MAX_INSN_FLGS): Delete.
665 2016-04-04 Alan Modra <amodra@gmail.com>
668 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
669 from function on all paths that set sy_resolving.
671 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
673 * app.c (app_push): use XNEW macro.
675 * config/obj-elf.c (obj_elf_change_section): Likewise.
676 (elf_copy_symbol_attributes): Likewise.
677 (obj_elf_size): Likewise.
678 (build_group_lists): Likewise.
679 * config/tc-aarch64.c (add_operand_error_record): Likewise.
680 (md_assemble): Likewise.
681 (tc_gen_reloc): Likewise.
682 (get_upper_str): Likewise.
683 (aarch64_parse_features): Likewise.
684 * config/tc-arm.c (insert_reg_alias): Likewise.
685 (insert_neon_reg_alias): Likewise.
686 (find_or_make_literal_pool): Likewise.
687 (s_arm_elf_cons): Likewise.
688 (add_unwind_opcode): Likewise.
689 (arm_parse_extension): Likewise.
690 * config/tc-avr.c (create_record_for_frag): Likewise.
691 * config/tc-crx.c: Likewise.
692 * config/tc-d30v.c: Likewise.
693 * config/tc-dlx.c (s_proc): Likewise.
694 * config/tc-ft32.c: Likewise.
695 * config/tc-h8300.c: Likewise.
696 * config/tc-hppa.c (pa_proc): Likewise.
697 (create_new_space): Likewise.
698 (create_new_subspace): Likewise.
699 * config/tc-i860.c: Likewise.
700 * config/tc-i960.c: Likewise.
701 * config/tc-ia64.c: Likewise.
702 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
703 (iq2000_record_hi16): Likewise.
704 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
705 * config/tc-m32r.c (debug_sym): Likewise.
706 (m32r_record_hi16): Likewise.
707 * config/tc-m68k.c (m68k_ip): Likewise.
708 (md_begin): Likewise.
709 * config/tc-mcore.c: Likewise.
710 * config/tc-microblaze.c (check_got): Likewise.
711 * config/tc-mips.c (append_insn): Likewise.
712 (s_mipsset): Likewise.
713 (mips_record_label): Likewise.
714 (s_mips_end): Likewise.
715 * config/tc-mmix.c (mmix_frob_file): Likewise.
716 * config/tc-mn10200.c: Likewise.
717 * config/tc-mn10300.c: Likewise.
718 * config/tc-moxie.c: Likewise.
719 * config/tc-msp430.c: Likewise.
720 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
721 * config/tc-ns32k.c: Likewise.
722 * config/tc-or1k.c: Likewise.
723 * config/tc-pdp11.c: Likewise.
724 * config/tc-pj.c (fake_opcode): Likewise.
725 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
726 (ppc_macro): Likewise.
727 (ppc_dwsect): Likewise.
728 (ppc_machine): Likewise.
729 * config/tc-rl78.c (rl78_frag_init): Likewise.
730 * config/tc-rx.c (rx_frag_init): Likewise.
731 * config/tc-s390.c (s390_lit_suffix): Likewise.
732 (s390_machine): Likewise.
733 (s390_machinemode): Likewise.
734 * config/tc-score.c (s3_insert_reg): Likewise.
735 (s3_gen_reloc): Likewise.
736 * config/tc-score7.c (s7_insert_reg): Likewise.
737 (s7_gen_reloc): Likewise.
738 * config/tc-tic30.c (tic30_operand): Likewise.
739 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
740 * config/tc-tic54x.c (stag_add_field): Likewise.
741 (tic54x_struct): Likewise.
742 (tic54x_space): Likewise.
743 (tic54x_field): Likewise.
744 (tic54x_mlib): Likewise.
745 (subsym_substitute): Likewise.
746 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
747 * config/tc-vax.c: Likewise.
748 * config/tc-xc16x.c: Likewise.
749 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
750 (directive_push): Likewise.
751 (xtensa_begin_directive): Likewise.
752 (tokenize_arguments): Likewise.
753 (xtensa_add_literal_sym): Likewise.
754 (new_resource_table): Likewise.
755 (resize_resource_table): Likewise.
756 (emit_single_op): Likewise.
757 (xtensa_create_trampoline_frag): Likewise.
758 (xtensa_maybe_create_literal_pool_frag): Likewise.
759 (xtensa_add_config_info): Likewise.
760 (xtensa_realloc_fixup_cache): Likewise.
761 (add_subseg_info): Likewise.
762 (cache_literal_section): Likewise.
763 (add_xt_block_frags): Likewise.
764 (add_xt_prop_frags): Likewise.
765 (init_op_placement_info_table): Likewise.
766 (build_section_rename): Likewise.
767 * config/tc-z80.c: Likewise.
768 * config/tc-z8k.c: Likewise.
769 * depend.c (register_dependency): Likewise.
770 * dwarf2dbg.c (get_line_subseg): Likewise.
771 (dwarf2_gen_line_info_1): Likewise.
772 (get_filenum): Likewise.
773 * ecoff.c (allocate_scope): Likewise.
774 (allocate_vlinks): Likewise.
775 (allocate_shash): Likewise.
776 (allocate_thash): Likewise.
777 (allocate_tag): Likewise.
778 (allocate_forward): Likewise.
779 (allocate_thead): Likewise.
780 (allocate_lineno_list): Likewise.
781 * expr.c (make_expr_symbol): Likewise.
782 * hash.c (hash_new_sized): Likewise.
783 * input-file.c (input_file_push): Likewise.
784 * listing.c (file_info): Likewise.
785 (listing_newline): Likewise.
786 * macro.c (new_formal): Likewise.
787 (define_macro): Likewise.
788 * remap.c (add_debug_prefix_map): Likewise.
789 * symbols.c (symbol_find_noref): Likewise.
790 (define_dollar_label): Likewise.
791 (fb_label_instance_inc): Likewise.
792 (symbol_relc_make_value): Likewise.
794 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
796 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
797 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
798 (ppc_znop): Likewise.
799 (ppc_pe_section): Likewise.
800 (ppc_frob_symbol): Likewise.
801 * config/tc-tic30.c (tic30_operand): Likewise.
802 * config/tc-tic4x.c (tic4x_sect): Likewise.
803 (tic4x_usect): Likewise.
805 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
807 * config/tc-alpha.c: Const qualify FLT_CHARS.
808 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
809 * config/tc-cris.h: Likewise.
811 * config/tc-mmix.c (md_atof): Adjust comment.
812 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
813 * tc.h: Declare FLT_CHARS and EXP_CHARS.
815 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
817 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
818 * config/tc-score7.c (s7_gen_reloc): Likewise.
820 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
822 * config/tc-arm.c (do_t_branch): Change the type of reloc to
823 bfd_reloc_code_real_type.
825 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
827 * config/bfin-parse.y (current_inputline): Remove definition.
828 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
830 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
832 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
835 2016-04-02 Alan Modra <amodra@gmail.com>
838 * read.c (assign_symbol): Consume rest of line after an error
839 rather than continuing to process the line.
841 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
843 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
844 (MAX_FLAG_NAME_LENGTH): ...this.
845 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
846 * config/tc-arc.c (tokenize_flags): Likewise.
848 2016-04-01 Alan Modra <amodra@gmail.com>
850 * cgen.c (weak_operand_overflow_check): Return const char*.
851 * messages.c (as_internal_value_out_of_range): Formatting.
852 (as_warn_value_out_of_range): Consify prefix param.
853 (as_bad_value_out_of_range): Likewise.
854 * read.c (s_errwarn): Constify msg..
855 (s_float_space, float_cons): ..and err.
856 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
857 ieee_md_atof, vax_md_atof): Update prototypes.
858 * tc.h (md_atof): Update prototype.
859 * config/atof-ieee.c (ieee_md_atof): Return const char*.
860 * config/atof-vax.c (vax_md_atof): Likewise.
861 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
862 * config/tc-aarch64.c (md_atof): Return const char*.
863 * config/tc-alpha.c (s_alpha_section_name): Likewise.
864 (s_alpha_comm): Constify sec_name.
865 (section_name): Constify.
866 (s_alpha_section): Consify name..
867 (alpha_elf_section_letter): ..and ptr_msg param..
868 (md_atof): ..and return.
869 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
870 * config/tc-arc.c (md_atof): Return const char*.
871 * config/tc-arm.c (md_atof): Likewise.
872 * config/tc-avr.c (md_atof): Likewise.
873 * config/tc-bfin.c (md_atof): Likewise.
874 * config/tc-cr16.c (md_atof): Likewise.
875 * config/tc-cris.c (md_atof): Likewise.
876 * config/tc-crx.c (md_atof): Likewise.
877 * config/tc-d10v.c (md_atof): Likewise.
878 * config/tc-d30v.c (md_atof): Likewise.
879 * config/tc-dlx.c (md_atof): Likewise.
880 * config/tc-epiphany.c (md_atof): Likewise.
881 * config/tc-fr30.c (md_atof): Likewise.
882 * config/tc-frv.c (md_atof): Likewise.
883 * config/tc-ft32.c (md_atof): Likewise.
884 * config/tc-h8300.c (md_atof): Likewise.
885 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
886 (struct default_space_dict): Likewise.
887 (create_new_space): Constify name param.
888 (create_new_subspace): Likewise.
889 (is_defined_space, is_defined_subspace): Likewise.
890 (pa_parse_space_stmt): Constify space_name param.
891 (md_atof): Return const char*.
892 (pa_spaces_begin): Constify name.
893 * config/tc-i370.c (md_atof): Return const char*.
894 * config/tc-i386.c (md_atof): Likewise.
895 (x86_64_section_letter): Constify ptr_msg param.
896 * config/tc-i386.h (x86_64_section_letter): Update prototype.
897 * config/tc-i860.c (struct i860_it): Constify error.
898 (md_atof): Return const char*.
899 * config/tc-i960.c (md_atof): Likewise.
900 * config/tc-ia64.c (md_atof): Likewise.
901 (ia64_elf_section_letter): Constify ptr_msg param.
902 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
903 * config/tc-ip2k.c (md_atof): Return const char*.
904 * config/tc-iq2000.c (md_atof): Likewise.
905 * config/tc-lm32.c (md_atof): Likewise.
906 * config/tc-m32c.c (md_atof): Likewise.
907 * config/tc-m32r.c (md_atof): Likewise.
908 * config/tc-m68hc11.c (md_atof): Likewise.
909 * config/tc-m68k.c (md_atof): Likewise.
910 * config/tc-mcore.c (md_atof): Likewise.
911 * config/tc-mep.c (md_atof): Likewise.
912 (mep_elf_section_letter): Constify ptr_msg param.
913 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
914 * config/tc-metag.c (md_atof): Return const char*.
915 * config/tc-microblaze.c (md_atof): Likewise.
916 * config/tc-microblaze.h (md_atof): Delete prototype.
917 * config/tc-mips.c (mips_parse_argument_token): Constify err.
918 (md_atof): Return const char*.
919 * config/tc-mmix.c (md_atof): Likewise.
920 * config/tc-mn10200.c (md_atof): Likewise.
921 * config/tc-mn10300.c (md_atof): Likewise.
922 * config/tc-moxie.c (md_atof): Likewise.
923 * config/tc-msp430.c (md_atof): Likewise.
924 * config/tc-mt.c (md_atof): Likewise.
925 * config/tc-nds32.c (md_atof): Likewise.
926 * config/tc-nios2.c (md_atof): Likewise.
927 (nios2_elf_section_letter): Constify ptr_msg param.
928 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
929 * config/tc-ns32k.c (md_atof): Return const char*.
930 * config/tc-or1k.c (md_atof): Likewise.
931 * config/tc-pdp11.c (struct pdp11_code): Constify error.
932 (md_atof): Return const char*.
933 * config/tc-pj.c (md_atof): Likewise.
934 * config/tc-ppc.c (md_atof): Likewise.
935 * config/tc-rl78.c (md_atof): Likewise.
936 * config/tc-rx.c (md_atof): Likewise.
937 * config/tc-s390.c (md_atof): Likewise.
938 * config/tc-score.c (s3_atof, md_atof): Likewise.
939 * config/tc-sh.c (md_atof): Likewise.
940 * config/tc-sparc.c (struct sparc_it): Constify error.
941 (md_atof): Return const char*.
942 * config/tc-spu.c (md_atof): Likewise.
943 * config/tc-tic30.c (md_atof): Likewise.
944 * config/tc-tic4x.c (md_atof): Likewise.
945 * config/tc-tic54x.c (md_atof): Likewise.
946 * config/tc-tic6x.c (md_atof): Likewise.
947 * config/tc-tilegx.c (md_atof): Likewise.
948 * config/tc-tilepro.c (md_atof): Likewise.
949 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
950 * config/tc-vax.c (md_atof): Likewise.
951 * config/tc-visium.c (md_atof): Likewise.
952 * config/tc-xc16x.c (md_atof): Likewise.
953 * config/tc-xgate.c (md_atof): Likewise.
954 * config/tc-xstormy16.c (md_atof): Likewise.
955 * config/tc-xtensa.c (md_atof): Likewise.
956 * config/tc-z80.c (md_atof): Likewise.
957 * config/tc-z8k.c (md_atof): Likewise.
959 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
961 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
963 (xtensa_section_rename): Make argument type const char *.
964 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
966 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
968 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
971 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
973 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
975 (m32c_indirect_operand): Likewise.
976 * config/tc-nds32.c (do_pseudo_b): Likewise.
977 (do_pseudo_bal): Likewise.
978 (do_pseudo_ls_bhw): Likewise.
980 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
982 * as.c (parse_args): Cast literal to char * when assigning to optarg.
984 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
986 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
988 * config/tc-sparc.c (s_register): Cast a literal to char * in
991 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
993 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
995 * config/tc-m32r.c (expand_debug_syms): Likewise.
996 * config/tc-msp430.c (msp430_dstoperand): Likewise.
997 * config/tc-z80.c (md_begin): Likewise.
998 * stabs.c (stabs_generate_asm_func): Likewise.
1000 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1002 * cgen.c: Modernize the way functions declare arguments.
1003 * config/tc-bfin.c: Likewise.
1004 * config/tc-pdp11.c: Likewise.
1005 * literal.c: Likewise.
1007 * stabs.c: Likewise.
1009 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1011 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1012 variables unsigned char[].
1013 * config/tc-alpha.c (alpha_handle_align): Likewise.
1014 * config/tc-arm.c (arm_handle_align): Likewise.
1015 * config/tc-z80.c: Likewise.
1017 2016-03-30 Nick Clifton <nickc@redhat.com>
1020 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1023 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1025 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1026 * testsuite/gas/elf/elf.exp: Likewise.
1027 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1029 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1031 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1033 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1035 * testsuite/gas/arc/ext2op.d: New file.
1036 * testsuite/gas/arc/ext2op.s: Likewise.
1037 * testsuite/gas/arc/ext3op.d: Likewise.
1038 * testsuite/gas/arc/ext3op.s: Likewise.
1040 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1042 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1044 * config/tc-alpha.c (md_parse_option): Likewise.
1045 * config/tc-arc.c (md_parse_option): Likewise.
1046 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1047 (md_parse_option): Likewise.
1048 * config/tc-avr.c (md_parse_option): Likewise.
1049 * config/tc-bfin.c (md_parse_option): Likewise.
1050 * config/tc-cr16.c (md_parse_option): Likewise.
1051 * config/tc-cris.c (s_cris_arch): Likewise.
1052 (md_parse_option): Likewise.
1053 * config/tc-crx.c (md_parse_option): Likewise.
1054 * config/tc-d10v.c (md_parse_option): Likewise.
1055 * config/tc-d30v.c (md_parse_option): Likewise.
1056 * config/tc-dlx.c (md_parse_option): Likewise.
1057 * config/tc-epiphany.c (md_parse_option): Likewise.
1058 * config/tc-fr30.c (md_parse_option): Likewise.
1059 * config/tc-frv.c (md_parse_option): Likewise.
1060 * config/tc-ft32.c (md_parse_option): Likewise.
1061 * config/tc-h8300.c (md_parse_option): Likewise.
1062 * config/tc-hppa.c (md_parse_option): Likewise.
1063 * config/tc-i370.c (md_parse_option): Likewise.
1064 * config/tc-i386.c (md_parse_option): Likewise.
1065 * config/tc-i860.c (md_parse_option): Likewise.
1066 * config/tc-i960.c (md_parse_option): Likewise.
1067 * config/tc-ia64.c (md_parse_option): Likewise.
1068 * config/tc-ip2k.c (md_parse_option): Likewise.
1069 * config/tc-iq2000.c (md_parse_option): Likewise.
1070 * config/tc-lm32.c (md_parse_option): Likewise.
1071 * config/tc-m32c.c (md_parse_option): Likewise.
1072 * config/tc-m32r.c (md_parse_option): Likewise.
1073 * config/tc-m68hc11.c (md_parse_option): Likewise.
1074 * config/tc-m68k.c (md_parse_option): Likewise.
1075 * config/tc-mcore.c (md_parse_option): Likewise.
1076 * config/tc-mep.c (md_parse_option): Likewise.
1077 * config/tc-metag.c (struct metag_long_option): Likewise.
1078 (md_parse_option): Likewise.
1079 * config/tc-microblaze.c (md_parse_option): Likewise.
1080 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1081 * config/tc-mips.c (md_parse_option): Adjust.
1082 * config/tc-mmix.c (md_parse_option): Likewise.
1083 * config/tc-mn10200.c (md_parse_option): Likewise.
1084 * config/tc-mn10300.c (md_parse_option): Likewise.
1085 * config/tc-moxie.c (md_parse_option): Likewise.
1086 * config/tc-msp430.c (md_parse_option): Likewise.
1087 * config/tc-mt.c (md_parse_option): Likewise.
1088 * config/tc-nds32.c (md_parse_option): Likewise.
1089 * config/tc-nds32.h (nds32_parse_option): Likewise.
1090 * config/tc-nios2.c (md_parse_option): Likewise.
1091 * config/tc-ns32k.c (md_parse_option): Likewise.
1092 * config/tc-or1k.c (md_parse_option): Likewise.
1093 * config/tc-pdp11.c (md_parse_option): Likewise.
1094 * config/tc-pj.c (md_parse_option): Likewise.
1095 * config/tc-ppc.c (md_parse_option): Likewise.
1096 * config/tc-rl78.c (md_parse_option): Likewise.
1097 * config/tc-rx.c (md_parse_option): Likewise.
1098 * config/tc-s390.c (s390_parse_cpu): Likewise.
1099 * config/tc-score.c (md_parse_option): Likewise.
1100 * config/tc-sh.c (md_parse_option): Likewise.
1101 * config/tc-sparc.c (md_parse_option): Likewise.
1102 * config/tc-spu.c (md_parse_option): Likewise.
1103 * config/tc-tic30.c (md_parse_option): Likewise.
1104 * config/tc-tic4x.c (md_parse_option): Likewise.
1105 * config/tc-tic54x.c (md_parse_option): Likewise.
1106 * config/tc-tic6x.c (md_parse_option): Likewise.
1107 * config/tc-tilegx.c (md_parse_option): Likewise.
1108 * config/tc-tilepro.c (md_parse_option): Likewise.
1109 * config/tc-v850.c (md_parse_option): Likewise.
1110 * config/tc-vax.c (md_parse_option): Likewise.
1111 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1112 * config/tc-xc16x.c (md_parse_option): Likewise.
1113 * config/tc-xgate.c (md_parse_option): Likewise.
1114 * config/tc-xstormy16.c (md_parse_option): Likewise.
1115 * config/tc-xtensa.c (md_parse_option): Likewise.
1116 * config/tc-z80.c (md_parse_option): Likewise.
1117 * config/tc-z8k.c (md_parse_option): Likewise.
1118 * tc.h (md_parse_option): Likewise.
1120 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1122 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1123 * config/tc-hppa.c (fix_new_hppa): Likewise.
1124 (pa_vtable_entry): Likewise.
1125 (pa_vtable_inherit): Likewise.
1126 * config/tc-m68k.c (md_begin): Likewise.
1128 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1130 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1131 * config/obj-elf.h (obj_elf_section_name): Adjust.
1132 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1133 (aarch64_parse_cpu): Likewise.
1134 (aarch64_parse_arch): Likewise.
1135 * config/tc-arm.c (arm_parse_extension): Likewise.
1136 (arm_parse_cpu): Likewise.
1137 (arm_parse_arch): Likewise.
1138 * config/tc-nds32.c: Likewise.
1139 * config/xtensa-relax.c (parse_special_fn): Likewise.
1140 * stabs.c (generate_asm_file): Likewise.
1142 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1144 * config/tc-cr16.c (cr16_assemble): New function.
1145 (md_assemble): Call cr16_assemble.
1147 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1149 * as.c (parse_args): Adjust.
1150 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1151 * config/obj-elf.c (elf_frob_symbol): Adjust.
1153 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1155 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1156 registers to be in the 16..31 range.
1158 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1160 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1163 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1165 * config/tc-visium.c (md_atof): Localize the string returned on
1168 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1170 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1171 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1172 * config/tc-m68hc11.c (md_begin): Likewise.
1173 (print_opcode_list): Likewise.
1174 * config/tc-msp430.c (msp430_section): Likewise.
1175 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1176 (s3_build_dependency_insn_hsh): Likewise.
1177 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1178 (s7_build_dependency_insn_hsh): Likewise.
1179 * config/tc-tic4x.c: Likewise.
1180 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1181 (subsym_get_arg): Likewise.
1182 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1183 (get_directive): Likewise.
1184 (cache_literal_section): Likewise.
1185 * config/xtensa-relax.c: Likewise.
1186 * symbols.c (symbol_create): Likewise.
1187 (local_symbol_make): Likewise.
1188 (symbol_relc_make_expr): Likewise.
1190 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1192 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1195 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1197 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1200 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1202 * config/tc-ia64.c (ia64_do_align): Remove.
1203 (ia64_cons_align): Call do_align () directly.
1204 (dot_proc): Likewise.
1205 (stmt_float_cons): Likewise.
1207 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1209 * listing.c (listing_message): Use XNEW style allocation macros.
1210 * read.c (read_a_source_file): Likewise.
1211 (read_symbol_name): Likewise.
1212 (s_mri_common): Likewise.
1213 (assign_symbol): Likewise.
1214 (s_reloc): Likewise.
1215 (emit_expr_with_reloc): Likewise.
1216 (s_incbin): Likewise.
1217 (s_include): Likewise.
1218 * sb.c (sb_build): Likewise.
1219 (sb_check): Likewise.
1221 2016-03-22 Alan Modra <amodra@gmail.com>
1223 * write.c (record_alignment): Revert 2016-02-18 change.
1225 2016-03-22 Alan Modra <amodra@gmail.com>
1227 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1228 (emit_jsrjmp, tc_gen_reloc): Likewise.
1229 * config/tc-i370.c (i370_macro): Likewise.
1231 2016-03-22 Nick Clifton <nickc@redhat.com>
1233 * configure: Regenerate.
1235 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1237 * testsuite/gas/arc/nps400-0.d: New file.
1238 * testsuite/gas/arc/nps400-0.s: New file.
1239 * testsuite/gas/arc/nps400-1.d: New file.
1240 * testsuite/gas/arc/nps400-1.s: New file.
1242 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1244 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1245 declarations to start of block. Reset code on all flags before
1246 attempting to match them. Handle multiple hits on the same flag.
1248 * testsuite/gas/arc/asm-errors.d: New file.
1249 * testsuite/gas/arc/asm-errors.err: New file.
1250 * testsuite/gas/arc/asm-errors.s: New file.
1252 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1254 * config/tc-arc.c (cpu_types): Add nps400 entry.
1255 (check_zol): Handle nps400.
1257 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1259 * config/tc-arc.c (arc_select_cpu): Remove use of
1262 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1264 * config/tc-arc.c (arc_target): Delay initialisation until
1266 (arc_target_name): Likewise.
1267 (arc_features): Likewise.
1268 (arc_mach_type): Likewise.
1269 (cpu_types): Remove "all" entry.
1270 (arc_select_cpu): New function, most of the content is from...
1271 (md_parse_option): ... here. Call new arc_select_cpu.
1272 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1274 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1276 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1277 * testsuite/gas/arc/inline-data-2.d: New file.
1279 2016-03-21 Nick Clifton <nickc@redhat.com>
1281 * atof-generic.c: Replace use of alloca with call to xmalloc.
1283 * dwarf2dbg.c: Likewise.
1284 * macro.c: Likewise.
1285 * remap.c: Likewise.
1286 * stabs.c: Likewise.
1287 * symbols.c: Likewise.
1288 * config/obj-elf.c: Likewise.
1289 * config/tc-aarch64.c: Likewise.
1290 * config/tc-arc.c: Likewise.
1291 * config/tc-arm.c: Likewise.
1292 * config/tc-avr.c: Likewise.
1293 * config/tc-ia64.c: Likewise.
1294 * config/tc-mips.c: Likewise.
1295 * config/tc-msp430.c: Likewise.
1296 * config/tc-nds32.c: Likewise.
1297 * config/tc-ppc.c: Likewise.
1298 * config/tc-sh.c: Likewise.
1299 * config/tc-tic30.c: Likewise.
1300 * config/tc-tic54x.c: Likewise.
1301 * config/tc-xstormy16.c: Likewise.
1302 * config/te-vms.c: Likewise.
1303 * configure: Regenerate.
1305 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1307 * tc-i386.c (f32_1): Change type to unsigned char[].
1327 (jump_31): Likewise.
1328 (f32_patt): Likewise.
1329 (f16_patt): Likewise.
1338 (alt_patt): Likewise.
1340 2016-03-18 Nick Clifton <nickc@redhat.com>
1342 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1343 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1344 .tlsdescldr and .xword directives.
1347 * testsuite/gas/aarch64/pr19721.s: New test source file.
1348 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1350 * doc/as.texinfo: Place the target specific command line options
1351 into their own man page section.
1353 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1355 * config/tc-arm.c (N_S_32): New.
1356 (N_F_16_32): Likewise.
1357 (N_SUF_32): Support N_F16.
1358 (N_IF_32): Likewise.
1359 (neon_dyadic_misc): Likewise.
1360 (do_neon_cmp): Likewise.
1361 (do_neon_cmp_inv): Likewise.
1362 (do_neon_mul): Likewise.
1363 (do_neon_fcmp_absolute): Likewise.
1364 (do_neon_step): Likewise.
1365 (do_neon_abs_neg): Likewise.
1366 (CVT_FLAVOR_VAR): Likewise.
1367 (do_neon_cvt_1): Likewise.
1368 (do_neon_recip_est): Likewise.
1369 (do_vmaxnm): Likewise.
1370 (do_vrint_1): Likewise.
1371 (neon_check_type): Check architecture support for FP16 extension.
1372 (insns): Update comments.
1373 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1374 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1375 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1376 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1378 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1380 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1383 2016-03-16 Nick Clifton <nickc@redhat.com>
1385 * read.c (emit_expr_with_reloc): Add code check a bignum with
1387 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1389 * testsuite/gas/elf/bignum.s: New test source file.
1390 * testsuite/gas/elf/bignum.d: New test driver file.
1391 * testsuite/gas/elf/elf.exp: Run the new test.
1393 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1395 * doc/c-i386.texi (Register Naming): Update to details of the
1396 latest architecture version.
1398 2016-03-10 Mickael Guene <mickael.guene@st.com>
1401 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1403 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1404 (do_t_mov_cmp): Likewise.
1405 (do_t_add_sub): Protect against bad relocations usage.
1406 (do_t_mov_cmp): Likewise.
1407 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1408 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1409 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1410 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1412 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1414 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1416 (do_neon_ld_st_lane): Likewise.
1417 (do_neon_ld_dup): Likewise.
1419 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1421 * testsuite/gas/arc/inline-data-1.d: New file.
1422 * testsuite/gas/arc/inline-data-1.s: New file.
1424 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1426 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1427 * doc/c-arm.texi: Add cortex-r8.
1429 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1431 * config/tc-arc.c: Add const qualifiers.
1432 * config/tc-h8300.c (md_begin): Likewise.
1433 * config/tc-ia64.c (print_prmask): Likewise.
1434 * config/tc-msp430.c (msp430_operands): Likewise.
1435 * config/tc-nds32.c (struct suffix_name): Likewise.
1436 (struct nds32_parse_option_table): Likewise.
1437 (struct nds32_set_option_table): Likewise.
1438 (do_pseudo_pushpopm): Likewise.
1439 (do_pseudo_pushpop_stack): Likewise.
1440 (nds32_relax_relocs): Likewise.
1441 (nds32_flag): Likewise.
1442 (struct nds32_hint_map): Likewise.
1443 (nds32_find_reloc_table): Likewise.
1444 (nds32_match_hint_insn): Likewise.
1445 * config/tc-s390.c: Likewise.
1446 * config/tc-sh.c (get_specific): Likewise.
1447 * config/tc-tic30.c: Likewise.
1448 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1449 (tic4x_indirect_parse): Likewise.
1450 * config/tc-vax.c (vax_cons): Likewise.
1451 * config/tc-z80.c (struct reg_entry): Likewise.
1452 * config/tc-epiphany.c (md_assemble): Adjust.
1453 (epiphany_assemble): New function.
1454 (epiphany_elf_section_rtn): Call do_align directly.
1455 (epiphany_elf_section_text): Likewise.
1456 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1457 (ip2k_elf_section_text): Likewise.
1458 * read.c (do_align): Make it not static.
1459 * read.h (do_align): New prototype.
1461 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1463 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1464 for ARMv8.1 AdvSIMD use.
1465 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1466 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1468 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1470 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1472 (record_feature_use): New.
1473 (mark_feature_used): Use record_feature_use.
1474 (do_neon_qrdmlah): New.
1475 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1477 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1478 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1479 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1480 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1481 Make source file explicit.
1482 * testsuite/gas/arm/armv8-a+rdma.l: New.
1483 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1484 directives. Fix white-space.
1485 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1487 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1489 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1491 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1492 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1494 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1495 (tc_arc_fix_adjustable): Changed default return value to 1.
1496 * testsuite/gas/arc/j.d: Updated expected symbol
1497 * testsuite/gas/arc/jl.d: Likewise
1498 * testsuite/gas/arc/relax-avoid1.d: Likewise
1499 * testsuite/gas/arc/st.d: Likewise
1501 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1503 * config/tc-arc.c: Enable code density instructions for ARC EM.
1505 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1508 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1510 * as.c (flag_use_elf_stt_common): New.
1511 (show_usage): Add --elf-stt-common=.
1512 (option_values): Add OPTION_ELF_STT_COMMON.
1513 (std_longopts): Add --elf-stt-common=.
1514 (parse_args): Handle --elf-stt-common=.
1515 * as.h (flag_use_elf_stt_common): New.
1516 * config.in: Regenerated.
1517 * configure: Likewise.
1518 * configure.ac: Add --enable-elf-stt-common and define
1519 DEFAULT_GENERATE_ELF_STT_COMMON.
1520 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1521 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1522 * doc/as.texinfo: Document --elf-stt-common=.
1523 * testsuite/gas/elf/common3.s: New file.
1524 * testsuite/gas/elf/common3a.d: Likewise.
1525 * testsuite/gas/elf/common3b.d: Likewise.
1526 * testsuite/gas/elf/common4.s: Likewise.
1527 * testsuite/gas/elf/common4a.d: Likewise.
1528 * testsuite/gas/elf/common4b.d: Likewise.
1529 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1530 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1531 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1533 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1534 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1535 --elf-stt-common=no to as.
1536 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1537 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1538 --elf-stt-common=no to as.
1539 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1540 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1541 of dw2-compress-3 and dw2-compressed-3.
1543 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1545 * as.c (select_emulation_mode): Add const qualifiers.
1547 * config/bfin-defs.h: Likewise.
1548 * config/bfin-parse.y: Likewise.
1549 * config/rx-parse.y: Likewise.
1550 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1551 (struct aarch64_cpu_option_table): Likewise.
1552 (struct aarch64_arch_option_table): Likewise.
1553 (struct aarch64_option_cpu_value_table): Likewise.
1554 (struct aarch64_long_option_table): Likewise.
1555 (struct aarch64_option_abi_value_table): Likewise.
1556 * config/tc-arm.c (struct reloc_entry): Likewise.
1557 (tc_gen_reloc): Likewise.
1558 (struct arm_option_table): Likewise.
1559 (struct arm_legacy_option_table): Likewise.
1560 (struct arm_cpu_option_table): Likewise.
1561 (struct arm_arch_option_table): Likewise.
1562 (struct arm_option_extension_value_table): Likewise.
1563 (struct arm_option_fpu_value_table): Likewise.
1564 (struct arm_option_value_table): Likewise.
1565 (struct arm_long_option_table): Likewise.
1566 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1567 (struct mcu_type_s): Likewise.
1568 (struct exp_mod_s): Likewise.
1569 (avr_operand): Likewise.
1570 (avr_operands): Likewise.
1571 * config/tc-d10v.c (md_begin): Likewise.
1572 * config/tc-dlx.c: Likewise.
1573 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1574 * config/tc-ft32.c (parse_condition): Likewise.
1575 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1576 * config/tc-hppa.c (pa_ip): Likewise.
1577 (hppa_regname_to_dw2regnum): Likewise.
1578 * config/tc-i370.c (i370_elf_suffix): Likewise.
1579 * config/tc-i960.c (struct tabentry): Likewise.
1580 * config/tc-m32r.c: Likewise.
1581 * config/tc-m68k.c: Likewise.
1582 * config/tc-m68k.h: Likewise.
1583 * config/tc-mcore.c (parse_psrmod): Likewise.
1584 * config/tc-metag.c (struct metag_core_option): Likewise.
1585 (struct metag_long_option): Likewise.
1586 * config/tc-microblaze.c: Likewise.
1587 * config/tc-mips.c (macro): Likewise.
1588 * config/tc-mn10200.c: Likewise.
1589 * config/tc-mn10300.c: Likewise.
1590 * config/tc-msp430.c (struct rcodes_s): Likewise.
1591 (struct hcodes_s): Likewise.
1592 (md_parse_option): Likewise.
1593 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1594 (optlist): Likewise.
1595 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1596 (tc_ppc_regname_to_dw2regnum): Likewise.
1597 * config/tc-ppc.h: Likewise.
1598 * config/tc-rl78.c: Likewise.
1599 * config/tc-rx.c (struct cpu_type): Likewise.
1600 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1601 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1602 (sparc_ip): Likewise.
1603 * config/tc-spu.c (insn_fmt_string): Likewise.
1604 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1605 * config/tc-v850.c: Likewise.
1606 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1607 (struct visium_long_option_table): Likewise.
1608 * config/tc-xgate.c: Likewise.
1609 * config/tc-z8k.c: Likewise.
1610 * read.c (add_include_dir): Likewise.
1613 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1615 * testsuite/gas/all/gas.exp: Change target pattern to cover
1617 * testsuite/gas/all/redef3.d: Likewise.
1618 * testsuite/gas/elf/elf.exp: Likewise.
1620 2016-02-24 Renlin Li <renlin.li@arm.com>
1622 * config/tc-arm.c (BAD_FP16): New error message macro.
1623 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1624 fp16 scalar instructions.
1625 (neon_check_type): Allow different size from key.
1626 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1627 (try_vfp_nsyn): Likewise.
1628 (do_vfp_nsyn_mla_mls): Likewise.
1629 (do_vfp_nsyn_fma_fms): Likewise.
1630 (do_vfp_nsyn_ldm_stm): Likewise
1631 (do_vfp_nsyn_sqrt): Likewise
1632 (do_vfp_nsyn_div): Likewise
1633 (do_vfp_nsyn_nmul): Likewise.
1634 (do_vfp_nsyn_cmp): Likewise.
1635 (do_neon_shll): Likewise.
1636 (do_vfp_nsyn_cvt_fpv8): Likewise.
1637 (do_neon_cvttb_2): Likewise.
1638 (do_neon_mov): Likewise.
1639 (do_neon_rshift_round_imm): Likewise.
1640 (do_neon_ldr_str): Likewise.
1641 (do_vfp_nsyn_fpv8): Likewise.
1642 (do_vmaxnm): Likewise.
1643 (do_vrint_1): Likewise.
1644 (insns): New entry for vins, vmovx.
1645 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1646 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1647 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1648 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1649 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1650 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1651 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1653 2016-02-24 Renlin Li <renlin.li@arm.com>
1655 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1656 (neon_shape_class): New SC_HALF.
1657 (neon_shape_el): New SE_H.
1658 (neon_shape_el_size): New size for SE_H.
1659 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1660 (neon_select_shape): Add SE_H support code.
1661 (el_type_of_type_chk): Use N_F_ALL.
1662 (do_vfp_nsyn_cvt): Add SE_H shape support.
1663 (do_neon_cvtz): Likewise.
1664 (do_neon_cvt_1): Likewise.
1665 (do_neon_cvttb_1): Likewise.
1667 2016-02-24 Renlin Li <renlin.li@arm.com>
1669 * testsuite/gas/arm/copro.d: Adjust output.
1670 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1672 2016-02-24 Renlin Li <renlin.li@arm.com>
1674 * testsuite/gas/arm/mask_1.d: New.
1675 * testsuite/gas/arm/mask_1.s: New.
1677 2016-02-24 Renlin Li <renlin.li@arm.com>
1679 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1680 * testsuite/gas/arm/copro.d: Update.
1682 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1684 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1685 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1687 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1689 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1691 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1693 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1696 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1698 * output-file.c (output_file_create): Make file name argument const.
1699 (output_file_close): Likewise.
1700 * output-file.h (output_file_create): Adjust.
1701 (output_file_close): Likewise.
1702 * depend.c (quote_string_for_make): Make src argument const char *.
1703 (register_dependency): Likewise.
1704 (wrap_output): Likewise.
1705 * as.h (register_dependency): Adjust.
1706 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1708 * symbols.c (S_SET_EXTERNAL): Likewise.
1709 * input-scrub.c (as_where): Return the file name.
1710 * as.h (as_where): Adjust prototype.
1711 * app.c (do_scrub_chars): Adjust.
1712 * cond.c (s_elseif): Likewise.
1714 (initialize_cframe): Likewise.
1715 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1716 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1717 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1718 * config/tc-aarch64.c (output_info): Likewise.
1719 * config/tc-ia64.c (md_assemble): Likewise.
1720 (dot_alias): Likewise.
1721 * config/tc-m68k.c (m68k_frob_label): Likewise.
1722 * config/tc-mmix.c (s_bspec): Likewise.
1723 (mmix_handle_mmixal): Likewise.
1724 * config/tc-rx.c (rx_include): Likewise.
1725 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1726 (tic54x_adjust_symtab): Likewise.
1727 * config/tc-xtensa.c (directive_push): Likewise.
1728 (xtensa_sanity_check): Likewise.
1729 (xtensa_relax_frag): Likewise.
1730 (md_convert_frag): Likewise.
1731 (tinsn_to_slotbuf): Likewise.
1732 * dwarf2dbg.c (dwarf2_where): Likewise.
1733 * ecoff.c (add_file): Likewise.
1734 (ecoff_generate_asm_lineno): Likewise.
1735 * expr.c (make_expr_symbol): Likewise.
1736 * frags.c (frag_new): Likewise.
1737 (frag_var_init): Likewise.
1738 * listing.c (listing_newline): Likewise.
1739 * messages.c (identify): Likewise.
1740 (as_show_where): Likewise.
1741 (as_warn_internal): Likewise.
1742 (as_bad_internal): Likewise.
1743 * read.c (s_irp): Likewise.
1744 (s_macro): Likewise.
1745 (s_reloc): Likewise.
1746 * stabs.c (stabs_generate_asm_file): Likewise.
1747 (stabs_generate_asm_lineno): Likewise.
1748 (stabs_generate_asm_func): Likewise.
1749 * write.c (fix_new_internal): Likewise.
1750 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1751 (as_warn_value_out_of_range): Adjust prototype.
1752 (as_bad_value_out_of_range): Adjust prototype.
1753 * messages.c (identify): Make file name argument const char *.
1754 (as_warn_internal): Likewise.
1755 (as_warn_where): Likewise.
1756 (as_bad_internal): Likewise.
1757 (as_bad_where): Likewise.
1758 (as_internal_value_out_of_range): Likewise.
1759 (as_warn_value_out_of_range): Likewise.
1760 (as_bad_value_out_of_range): Likewise.
1761 * as.h (found_comment_file): Change type to const char *.
1762 * cond.c (file_line::file): Likewise.
1763 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1764 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1765 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1766 * config/tc-aarch64.c (output_info): Likewise.
1767 * config/tc-alpha.c (insert_operand): Likewise.
1768 * config/tc-arc.c (insert_operand): Likewise.
1769 * config/tc-d30v.c (check_size): Likewise.
1770 * config/tc-ia64.c (struct alias): Likewise.
1771 * config/tc-m68k.c (struct label_line): Likewise.
1772 * config/tc-mcore.c (md_apply_fix): Likewise.
1773 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1774 * config/tc-mips.c (mips16_immed): Likewise.
1775 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1776 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1777 * config/tc-rx.c (rx_include): Likewise.
1778 * config/tc-s390.c (s390_insert_operand): Likewise.
1779 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1780 (tic54x_adjust_symtab): Likewise.
1781 * config/tc-tilegx.c (insert_operand): Likewise.
1782 (apply_special_operator): Likewise.
1783 * config/tc-tilepro.c (insert_operand): Likewise.
1784 * config/tc-xtensa.c (directive_push): Likewise.
1785 * ecoff.c (add_file): Likewise.
1786 (ecoff_generate_asm_lineno): Likewise.
1787 * listing.c (listing_newline): Likewise.
1788 * read.c (s_irp): Likewise.
1789 * write.c (install_reloc): Likewise.
1790 * write.h (struct fix): Likewise.
1791 * input-file.c (file_name): Change type to const char *.
1792 (saved_file::file_name): Likewise.
1793 (input_file_open): Change type of argument to const char *.
1794 * input-file.h (input_file_open): Adjust.
1795 * input-scrub.c (logical_input_file): change type to const char *.
1796 (physical_input_file): Likewise.
1797 (struct input_save): Adjust.
1798 (input_scrub_push): Adjust.
1799 (input_scrub_begin): Adjust.
1801 * input-scrub.c (input_scrub_new_file): Make file name argument const.
1802 (input_scrub_include_file): Likewise.
1803 (new_logical_line_flags): Likewise.
1804 (new_logical_line): Likewise.
1806 * frags.h (struct frag): Change type of fr_file to const char *.
1807 * expr.c (expr_symbol_where): Change type of file argument to
1809 * expr.h (expr_symbol_where): Likewise.
1810 * config/tc-i370.c (md_apply_fix): adjust.
1811 * config/tc-mmix.c (mmix_md_end): Likewise.
1812 * config/tc-ppc.c (md_apply_fix): Likewise.
1813 * config/tc-s390.c (md_apply_fix): Likewise.
1814 * symbols.c (report_op_error): Likewise.
1815 (resolve_symbol_value): Likewise.
1816 * config/tc-ia64.c (slot::src_file): Change type to const char *.
1817 (rsrc::file): Likewise.
1818 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1820 (xtensa_relax_frag): Likewise.
1821 (md_convert_frag): Likewise.
1822 (tinsn_to_slotbuf): Likewise.
1823 * expr.c (expr_symbol_line): Likewise.
1824 * macro.c (define_macro): Likewise.
1825 * macro.h (macro_struct): Likewise.
1826 * messages.c (as_show_where): Likewise.
1827 * read.c (s_macro): Likewise.
1828 * stabs.c (stabs_generate_asm_file): Likewise.
1829 (generate_asm_file): Likewise.
1830 (stabs_generate_asm_lineno): Likewise.
1831 * write.h (struct reloc_list): Likewise.
1832 * input-scrub.c (as_where): Change return type to const char *.
1833 * as.h (as_wheree): Adjust.
1835 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
1837 * write.c (compress_debug): Move BFD compression bits setting
1839 (write_object_file): Here.
1841 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1843 * config/tc-i386.c (register_number): Check RegVRex.
1844 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1845 with %zmm19 and %zmm3.
1846 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1847 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1849 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
1850 Jiong Wang <jiong.wang@arm.com>
1852 * config/tc-arm.c (arm_ext_fp16): New.
1853 (arm_extensions): New entry for "fp16".
1855 2016-02-19 Nick Clifton <nickc@redhat.com>
1858 * read.c (read_a_source_file): Check for assemble_one returning
1859 with input_line_pointer set to NULL.
1861 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1863 * listing.c (rebuffer_line): Change return type to void.
1865 * symbols.c (decode_local_label_name): Make type a const char *.
1866 * listing.c (print_source): Make type of p const char *.
1867 (print_line): Make type of string const char *.
1868 (buffer_line): Return const char *.
1869 (title): Make type const char *.
1870 (subtitle): Likewise.
1871 (listing_listing): Make type of p const char *.
1872 * messages.c (as_internal_value_out_of_range): Make type of prefix
1874 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1875 and string const char *.
1876 * read.c (_bfd_rel): Make type of name const char *.
1877 * app.c (out_string): Change type to const char *.
1878 (struct app_save::out_string): Likewise.
1880 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
1881 Nick Clifton <nickc@redhat.com>
1883 * read.c (finish_bundle): Avoid recording a negative alignment.
1884 (do_align): Use unsigned values for n, len and max. Only create
1885 a frag if the alignment requirement is greater than the minimum
1886 byte alignment. Avoid recording a negative alignment.
1887 (s_align): Use unsigned values where appropriate.
1888 (bss_alloc): Use an unsigned value for the alignment.
1889 (sizeof_sleb128): Add a comment noting that we encode one octet
1890 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1891 (emit_leb129_expr): Abort if the emitted encoding was longer than
1893 * read.h (output_leb128): Update prototype.
1894 (sizeof_leb128): Update prototype.
1895 (bss_alloc): Update prototype.
1896 * write.c (record_alignment): Use an unsigned value for the
1897 alignment. Do not record alignments less than the minimum
1898 alignment for a byte.
1899 * write.h (record_alignment): Update prototype.
1901 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1903 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1904 .init.literal/.fini.literal section name.
1905 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1906 list of xtensa tests.
1907 * testsuite/gas/xtensa/init-fini-literals.d: New file:
1908 init-fini-literals test result patterns.
1909 * testsuite/gas/xtensa/init-fini-literals.s: New file:
1910 init-fini-literals test.
1912 2016-02-17 Nick Clifton <nickc@redhat.com>
1914 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1915 devices.csv file as of March 2016.
1917 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
1919 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1921 (tc_arc_regname_to_dw2regnum): Likewise.
1922 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1923 (tc_cfi_frame_initial_instructions): Likewise.
1924 (tc_regname_to_dw2regnum): Likewise.
1925 * testsuite/gas/cfi/cfi-arc-1.d: New file.
1926 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1927 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1929 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
1931 * doc/internals.texi (S_IS_EXTERN): Remove.
1933 2016-02-16 Nick Clifton <nickc@redhat.com>
1935 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1938 2016-02-16 Renlin Li <renlin.li@arm.com>
1941 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1942 * testsuite/gas/aarch64/movw_label.d: New.
1943 * testsuite/gas/aarch64/movw_label.s: New.
1945 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
1948 * config/rx-parse.y (MOV): Opcode generation for index
1949 register addressing mode.
1950 * testsuite/gas/rx/rx.exp: Updated for new testcase.
1951 * testsuite/gas/rx/pr19665.s: New file.
1952 * testsuite/gas/rx/pr19665.s: New file.
1953 * testsuite/gas/rx/mov.d: Update expected output.
1955 2016-02-15 Nick Clifton <nickc@redhat.com>
1957 * doc/as.texinfo (.section): Document that numeric values can now
1958 be used for the flags and type fields of the ELF target's .section
1959 directive. Add notes about the restrictions on setting flags and
1961 * config/obj-elf.c (obj_elf_change_section): Allow known sections
1962 to be given processor specific section types. Allow processor and
1963 application specific flags of a section to be set after
1965 (obj_elf_parse_section_letters): Handle parsing numeric values.
1966 (obj_elf_section_type): Handle parsing numeric values.
1967 (obj_elf_section): Allow numeric type values.
1968 * config/obj-elf.h (obj_elf_change_section): Update prototype.
1969 * testsuite/gas/elf/section10.d: New test.
1970 * testsuite/gas/elf/section10.s: Source file for new test.
1971 * testsuite/gas/elf/elf.exp: Run the new test.
1972 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1973 the description of the flags produced by readelf.
1974 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1975 * NEWS: Mention the new feature.
1977 2016-02-11 Nick Clifton <nickc@redhat.com>
1980 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1981 until it is actually used.
1982 (cfi_set_sections): Set cfi_sections_set to true.
1983 (dot_cfi_startproc): Likewise.
1984 (dot_cfi_endproc): Likewise.
1985 (dot_cfi_fde_data): Likewise.
1986 (cfi_finish): Likewise.
1987 (dot_cfi_sections): Do not set cfi_sections_set.
1988 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1989 their own cfi section name. Also note that the directive can be
1990 reissued provided that CFI generation has not started.
1991 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1992 .cfi_endproc directives so that the redefinition of .cfi_sections
1993 will trigger the generation of the error message.
1994 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1995 number of error message.
1997 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
1998 Janek van Oirschot <jvanoirs@synopsys.com>
2000 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2001 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2003 (arc_flags, arc_relax_type): New structure.
2004 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2005 (RELAX_TABLE_ENTRY_MAX): New define.
2006 (relaxation_state, md_relax_table, arc_relaxable_insns)
2007 (arc_num_relaxable_ins): New variable.
2008 (rlx_operand_type, arc_rlx_types): New enums.
2009 (arc_relaxable_ins): New structure.
2010 (OPTION_RELAX): New option.
2011 (arc_insn): New relax member.
2012 (arc_flags): Remove.
2013 (relax_insn_p): New function.
2014 (apply_fixups): Likewise.
2015 (relaxable_operand): Likewise.
2016 (may_relax_expr): Likewise.
2017 (relaxable_flag): Likewise.
2018 (arc_pcrel_adjust): Likewise.
2019 (md_estimate_size_before_relax): Implement.
2020 (md_convert_frag): Likewise.
2021 (md_parse_option): Handle new mrelax option.
2022 (md_show_usage): Likewise.
2023 (assemble_insn): Set relax member.
2024 (emit_insn0): New function.
2025 (emit_insn1): Likewise.
2026 (emit_insn): Handle relaxation case.
2027 * NEWS: Mention the new relaxation option.
2028 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2029 * doc/as.texinfo (Target ARC Options): Likewise.
2030 * testsuite/gas/arc/relax-avoid1.d: New file.
2031 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2032 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2033 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2034 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2035 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2036 * testsuite/gas/arc/relax-b.d: Likewise.
2037 * testsuite/gas/arc/relax-b.s: Likewise.
2039 2016-02-08 Nick Clifton <nickc@redhat.com>
2041 * config/tc-ia64.c (dot_prologue): Fix formatting.
2043 2016-02-04 Nick Clifton <nickc@redhat.com>
2045 * config/obj-elf.c (obj_elf_change_section): Remove support for
2046 ARM NOREAD sections.
2047 * config/tc-arm.c (arm_elf_section_letter): Delete.
2048 * config/tc-arm.h (md_elf_section_letter): Delete.
2049 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2050 * testsuite/gas/arm/section-execute-only.d: Delete.
2051 * testsuite/gas/arm/section-execute-only.s: Delete.
2053 2016-02-04 Nick Clifton <nickc@redhat.com>
2056 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2057 to handle encoding of RRUX instruction.
2058 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2060 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2062 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2064 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2065 substitutions for BFD_RELOC_* as unsigned.
2066 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2067 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2068 * testsuite/gas/xtensa/loc.s: New file: loc test.
2070 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2072 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2074 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2077 * NEWS: Mention new command line option -mrelax-relocations and
2078 new configure option --enable-x86-relax-relocations for x86
2080 * config.in: Regenerated.
2081 * configure.ac: Add --enable-x86-relax-relocations.
2082 (ac_default_x86_relax_relocations): New. Default to 1 except
2083 for x86 Solaris targets older than Solaris 12.
2084 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2085 * configure: Likewise.
2086 * config/tc-i386.c (generate_relax_relocations): New.
2087 (OPTION_MRELAX_RELOCATIONS): Likewise.
2088 (output_disp): Don't generate relax relocations if
2089 generate_relax_relocations is 0.
2090 (md_longopts): Add -mrelax-relocations.
2091 (md_show_usage): Likewise.
2092 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2093 * doc/c-i386.texi: Document -mrelax-relocations=.
2094 * testsuite/gas/i386/got-no-relax.d: New file.
2095 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2096 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2097 * testsuite/gas/i386/localpic.d: Likewise.
2098 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2099 * testsuite/gas/i386/reloc32.d: Likewise.
2100 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2101 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2102 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2103 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2104 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2105 x86-64-gotpcrel-no-relax.
2107 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2109 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2112 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2114 * NEWS: Remove duplicated marker for 2.26.
2116 2016-02-02 Renlin Li <renlin.li@arm.com>
2118 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2120 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2122 * testsuite/gas/ip2k/allinsn.d: New file.
2123 * testsuite/gas/ip2k/allinsn.s: New file.
2124 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2126 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2128 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2129 some load instructions.
2130 * testsuite/gas/epiphany/allinsn.d: Likewise.
2131 * testsuite/gas/epiphany/regression.d: Likewise.
2133 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2135 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2136 suffixes from instruction mnemonics in expected output.
2137 * testsuite/gas/epiphany/allinsn.d: Likewise.
2138 * testsuite/gas/epiphany/regression.d: Likewise.
2139 * testsuite/gas/epiphany/sample.d: Likewise.
2141 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2143 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2145 * testsuite/gas/epiphany/allinsn.d: Likewise.
2146 * testsuite/gas/epiphany/sample.d: Likewise.
2148 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2150 * testsuite/gas/epiphany/sample.d: Update expected output.
2152 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2154 * config/tc-arc.c (md_apply_fix): Allow addendum.
2155 (arc_reloc_op): Allow complex expressions for tpoff.
2156 (md_apply_fix): Handle resolved TLS local symbol.
2157 * testsuite/gas/arc/tls-relocs1.d: New file.
2158 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2160 2016-02-01 Loria <Loria@phantasia.org>
2163 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2164 efficiency and avoid an LLVM loop optimization bug.
2166 2016-02-01 Nick Clifton <nickc@redhat.com>
2168 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2169 message extending a negative 32-bit value into a larger signed
2170 value on a 32-bit host.
2172 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2175 * configure.ac (compressed_debug_sections): Replace == with =.
2176 * configure: Regenerated.
2178 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2179 H.J. Lu <hongjiu.lu@intel.com>
2181 * config/tc-i386.c (avoid_fence): New.
2182 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2184 (OPTION_FENCE_AS_LOCK_ADD): New.
2185 (md_longopts): Add -mfence-as-lock-add.
2186 (md_parse_option): Handle -mfence-as-lock-add.
2187 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2188 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2189 * testsuite/gas/i386/i386.exp: Run new tests.
2190 * testsuite/gas/i386/fence-as-lock-add.s: New.
2191 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2192 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2193 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2194 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2196 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2198 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2199 * configure: Regenerated.
2201 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2203 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2204 (OPTION_MOMIT_LOCK_PREFIX): This.
2205 (md_longopts): Updated.
2206 (md_parse_option): Likewise.
2208 2016-01-25 Catherine Moore <clm@codesourcery.com>
2210 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2211 if abicalls are in effect.
2212 * testsuite/gas/mips/sdata-gp.s: New test.
2213 * testsuite/gas/mips/sdata-gp.d: New expected output
2214 * testsuite/gas/mips/mips.exp: Run new test.
2216 2016-01-25 Renlin Li <renlin.li@arm.com>
2218 * testsuite/gas/arm/thumb2_it_search.d: New.
2219 * testsuite/gas/arm/thumb2_it_search.s: New.
2221 2016-01-21 Nick Clifton <nickc@redhat.com>
2224 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2225 with arm-netbsdelf target.
2226 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2228 2016-01-20 Nick Clifton <nickc@redhat.com>
2231 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2232 * testsuite/gas/arm/blx-bl-convert.d
2233 * testsuite/gas/arm/plt-1.d: Likewise.
2234 * testsuite/gas/arm/reloc-bad.d: Likewise.
2235 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2236 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2237 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2238 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2241 * doc/as.texinfo (Errors): Correct documentation describing the
2242 interaction of .file and .line with warning and error messages.
2245 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2246 * testsuite/gas/arm/archv8m-main.d: Likewise.
2247 * testsuite/gas/arm/archv8m-base.d: Likewise.
2249 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2251 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2252 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2253 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2255 2016-01-20 Mickael Guene <mickael.guene@st.com>
2256 Terry Guo <terry.guo@arm.com>
2258 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2259 SHF_ARM_NOREAD section flag.
2260 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2262 (arm_elf_section_letter) : Declare it.
2263 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2264 SHF_ARM_NOREAD section flag.
2265 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2267 * testsuite/gas/arm/section-execute-only.s: New test case.
2268 * testsuite/gas/arm/section-execute-only.d: Expected output.
2270 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2272 * config/tc-mips.c (micromips_insn_length): Remove the mention
2273 of 48-bit microMIPS instructions.
2275 2016-01-18 Alan Modra <amodra@gmail.com>
2277 * configure: Regenerate.
2279 2016-01-17 Alan Modra <amodra@gmail.com>
2281 * configure: Regenerate.
2283 2016-01-17 Alan Modra <amodra@gmail.com>
2285 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2287 2016-01-14 Nick Clifton <nickc@redhat.com>
2289 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2290 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2291 * testsuite/gas/rl78/rl78.exp: Run the new test.
2293 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2295 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2296 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2298 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2300 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2302 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2304 * config/tc-h8300.c (get_operand): Remove spurious condition in
2305 test for closing parenthesis.
2307 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2309 * config/tc-arm.c (arm_ext_v8_2): New.
2311 * testsuite/gas/arm/armv8_2-a.d: New.
2312 * testsuite/gas/arm/armv8_2-a.s: New.
2314 2016-01-12 Alan Modra <amodra@gmail.com>
2316 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2318 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2320 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2321 xvcmpnesp, xvcmpnesp.>: Delete tests.
2322 * testsuite/gas/ppc/power9.s: Likewise.
2323 * testsuite/gas/ppc/vsx3.d: Likewise.
2324 * testsuite/gas/ppc/vsx3.s: Likewise.
2326 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2329 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2330 * testsuite/gas/m68k/p13050-1.s: New file.
2331 * testsuite/gas/m68k/p13050-2.d: New file.
2332 * testsuite/gas/m68k/p13050-2.s: New file.
2334 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2336 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2337 * testsuite/gas/arc/add.d: Likewise.
2338 * testsuite/gas/arc/and.d: Likewise.
2339 * testsuite/gas/arc/asl.d: Likewise.
2340 * testsuite/gas/arc/asr.d: Likewise.
2341 * testsuite/gas/arc/bic.d: Likewise.
2342 * testsuite/gas/arc/extb.d: Likewise.
2343 * testsuite/gas/arc/extw.d: Likewise.
2344 * testsuite/gas/arc/j.d: Likewise.
2345 * testsuite/gas/arc/jl.d: Likewise.
2346 * testsuite/gas/arc/ld2.d: Likewise.
2347 * testsuite/gas/arc/lsr.d: Likewise.
2348 * testsuite/gas/arc/mov.d: Likewise.
2349 * testsuite/gas/arc/or.d: Likewise.
2350 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2351 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2352 * testsuite/gas/arc/pic-relocs.d: Likewise.
2353 * testsuite/gas/arc/plt-relocs.d: Likewise.
2354 * testsuite/gas/arc/rlc.d: Likewise.
2355 * testsuite/gas/arc/ror.d: Likewise.
2356 * testsuite/gas/arc/rrc.d: Likewise.
2357 * testsuite/gas/arc/sbc.d: Likewise.
2358 * testsuite/gas/arc/sda-relocs.d: Likewise.
2359 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2360 * testsuite/gas/arc/sexb.d: Likewise.
2361 * testsuite/gas/arc/sexw.d: Likewise.
2362 * testsuite/gas/arc/st.d: Likewise.
2363 * testsuite/gas/arc/sub.d: Likewise.
2364 * testsuite/gas/arc/tls-relocs.d: Likewise.
2365 * testsuite/gas/arc/xor.d: Likewise.
2367 2016-01-01 Alan Modra <amodra@gmail.com>
2369 Update year range in copyright notice of all files.
2371 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2373 Copyright (C) 2016 Free Software Foundation, Inc.
2375 Copying and distribution of this file, with or without modification,
2376 are permitted in any medium without royalty provided the copyright
2377 notice and this notice are preserved.
2383 version-control: never