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