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