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