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