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