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