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