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