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