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