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