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