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