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