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