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