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