GAS: Fix `abort' expansion in write.c
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
2
3 * write.c: Remove "libbfd.h" inclusion.
4
5 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
6
7 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
8 `type' test.
9
10 2016-06-28 Alan Modra <amodra@gmail.com>
11
12 PR gas/20247
13 * testsuite/gas/elf/section11.s: Don't start directives in first column.
14
15 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
16
17 * testsuite/gas/aarch64/diagnostic.s,
18 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
19
20 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
21
22 * config/tc-mips.c (mips16_reloc_p): Handle
23 BFD_RELOC_MIPS16_16_PCREL_S1.
24 (b_reloc_p): Likewise.
25 (limited_pcrel_reloc_p): Likewise.
26 (md_pcrel_from): Likewise.
27 (md_apply_fix): Likewise.
28 (tc_gen_reloc): Likewise.
29 (md_convert_frag): Likewise.
30 (mips_fix_adjustable): Update comment.
31 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
32 output, add dump patterns.
33 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
34 output, add dump patterns.
35 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
36 output, add dump patterns.
37 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
38 output, add dump patterns.
39 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
40 output, add dump patterns.
41 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
42 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
43 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
44 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
45 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
46 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
47 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
48 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
49 * testsuite/gas/mips/branch-weak-6.d: New test.
50 * testsuite/gas/mips/branch-weak-7.d: New test.
51 * testsuite/gas/mips/mips.exp: Run the new tests.
52
53 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
54
55 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
56 cfi_add_CFA_def_cfa to generate default CFA with offset
57 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
58
59 2016-06-27 Nick Clifton <nickc@redhat.com>
60
61 PR gas/20247
62 * as.h (do_not_pad_sections_to_alignment): New global variable.
63 * as.c (show_usage): Add --no-pad-sections.
64 (parse_args): Likewise.
65 * write.c (size_seg): Skip padding the end of the section if
66 requested from the command line.
67 (SUB_SEGMENT_ALIGN): Likewise.
68 * doc/as.texinfo: Document the new option.
69 * NEWS: Mention the new feature.
70 * testsuite/gas/elf/section11.s: New test.
71 * testsuite/gas/elf/section11.d: New test driver.
72 * testsuite/gas/elf/elf.exp: Run the new test.
73
74 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
75
76 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
77 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
78
79 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
80
81 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
82 sentinal element.
83 (map_suffix_reloc_to_operator): Likewise.
84 (map_operator_to_reloc): Likewise.
85
86 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
87
88 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
89 element in relax_table.
90
91 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
92
93 * config/tc-aarch64.c: Make the type of reg_entry::type
94 aarch_reg_type.
95
96 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
97
98 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
99 (md_parse_option): Adjust.
100 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
101 with iteration from 0 to ARRAY_SIZE.
102 * config/tc-mcore.c (md_begin): Likewise.
103 * config/tc-visium.c (visium_parse_arch): Likewise.
104
105 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
106
107 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
108 and simplify accordingly.
109 (tic54x_include): Adjust.
110 (tic54x_mlib): Likewise.
111
112 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
113
114 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
115
116 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
117
118 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
119 unchanged with relaxed MIPS16 instructions.
120 (mips16_extended_frag): Adjust accordingly. Return 1 right
121 away if a relocation will be required for the symbol requested.
122 Remove dead first relaxation pass code.
123 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
124 (md_convert_frag): Adjust symbol value calculation. Raise an
125 error if a relocation is required for the symbol requested.
126 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
127 add error output.
128 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
129 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
130 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
131 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
132 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
133 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
134 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
135 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
136 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
137 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
138 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
139 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
140 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
141 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
142 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
143 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
144 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
145 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
146 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
147 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
148 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
149 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
150 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
151 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
152 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
153 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
154 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
155 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
156 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
157 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
158 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
159 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
160 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
161 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
162 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
163 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
164 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
165 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
166 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
167 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
168 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
169 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
170 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
171 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
172 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
173 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
174 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
175 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
176 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
177 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
178 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
179 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
180 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
181 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
182 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
183 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
184 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
185 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
186 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
187 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
188 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
189 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
190 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
191 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
192 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
193 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
194 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
195 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
196 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
197 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
198 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
199 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
200 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
201 * testsuite/gas/mips/mips.exp: Run the new tests.
202
203 2016-06-24 Alan Modra <amodra@gmail.com>
204
205 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
206
207 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
208
209 * config/tc-mips.c (b_reloc_p): New function.
210 (mips_fix_adjustable): Also keep the original microMIPS symbol
211 referred from branch relocations.
212 * testsuite/gas/mips/branch-local-1.d: New test.
213 * testsuite/gas/mips/branch-local-n32-1.d: New test.
214 * testsuite/gas/mips/branch-local-n64-1.d: New test.
215 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
216 relocations.
217 * testsuite/gas/mips/branch-local-1.s: New test source.
218 * testsuite/gas/mips/mips.exp: Run the new cases.
219
220 2016-06-23 Graham Markall <graham.markall@embecosm.com>
221
222 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
223 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
224 options. Correct erroneous enabling of SPFP instructions when
225 using -mnps400.
226
227 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
228
229 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
230 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
231 setbool, xor3>: New tests.
232 * testsuite/gas/ppc/power9.s: Likewise.
233
234 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
235
236 * config/tc-xtensa.c: Include elf/xtensa.h.
237
238 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
239
240 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
241 <BFD_RELOC_LO16_PCREL>: New switch cases.
242 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
243 Move switch cases along `BFD_RELOC_MIPS_JMP'.
244 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
245 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
246 the resolved case.
247 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
248 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
249 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
250 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
251 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
252 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
253 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
254 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
255 * testsuite/gas/mips/mips.exp: Run the new tests.
256
257 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
258
259 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
260 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
261 via `fixP->fx_addsy'.
262
263 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
264
265 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
266 Calculate relocation from the containing aligned doubleword.
267 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
268 addend from the containing aligned doubleword.
269
270 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
271
272 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
273 rather than `mips_opts' for the R6 ISA check.
274 (mips_fix_adjustable): Likewise.
275 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
276 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
277 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
278 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
279 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
280 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
281 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
282 * testsuite/gas/mips/mips.exp: Run the new tests.
283
284 2016-06-21 Graham Markall <graham.markall@embecosm.com>
285
286 * config/tc-arc.c (check_cpu_feature, md_parse_option):
287 Add nps400 option and feature. Add check for nps400
288 feature. Refactor existing checks to check subclass before
289 feature enablement.
290 (md_show_usage): Document flags for NPS-400 and add some other
291 undocumented flags.
292 (cpu_type): Remove nps400 CPU type entry
293 (check_zol): Remove bfd_mach_arc_nps400 case.
294 (md_show_usage): Add help on -mcpu=nps400.
295 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
296 set.
297 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
298 -fpuda flags. Document -mcpu=nps400.
299 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
300 expected flags to match ARC700 instead of NPS400.
301 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
302 * testsuite/gas/arc/nps-400-2.d: Likewise.
303 * testsuite/gas/arc/nps-400-3.d: Likewise.
304 * testsuite/gas/arc/nps-400-4.d: Likewise.
305 * testsuite/gas/arc/nps-400-5.d: Likewise.
306 * testsuite/gas/arc/nps-400-6.d: Likewise.
307 * testsuite/gas/arc/nps-400-7.d: Likewise.
308 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
309 avoid clash with cbba instruction.
310 * testsuite/gas/arc/textinsn2op01.d: Likewise.
311 * testsuite/gas/arc/textinsn3op.d: Likewise.
312 * testsuite/gas/arc/textinsn3op.s: Likewise.
313 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
314 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
315
316 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
317
318 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
319 * testsuite/gas/mips/r6-64-n64.d: Likewise.
320
321 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
322
323 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
324 reloc conversion.
325
326 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
327
328 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
329
330 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
331
332 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
333 %hmcddfr and %hva_mask_nz.
334 (sparc_ip): New handling of asr/privileged/hyperprivileged
335 registers, adapted to the new form of the sparc opcodes table.
336 * testsuite/gas/sparc/rdasr.s: New file.
337 * testsuite/gas/sparc/rdasr.d: Likewise.
338 * testsuite/gas/sparc/wrasr.s: Likewise.
339 * testsuite/gas/sparc/wrasr.d: Likewise.
340 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
341 wrasr tests.
342 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
343 registers require it.
344 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
345 registers and write instruction modalities.
346 * testsuite/gas/sparc/wrpr.d: Likewise.
347 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
348 registers.
349 * testsuite/gas/sparc/rdhpr.d: Likewise.
350 * testsuite/gas/sparc/wrhpr.s: Likewise.
351 * testsuite/gas/sparc/wrhpr.d: Likewise.
352
353 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
354
355 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
356 architectures to use the right opcode architecture.
357 (sparc_md_end): Handle v9{c,d,e,v,m}.
358 (sparc_ip): Fix some comments.
359 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
360 instruction, which is v9d.
361 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
362 instruction from the test, as %mwait is not readable.
363 * testsuite/gas/sparc/mwait.d: Likewise.
364 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
365 mismatch architecture errors.
366 * testsuite/gas/sparc/mism-2.s: New file.
367
368 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
369
370 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
371 empty string to mark the end of the array.
372 (hpriv_reg_table): Likewise.
373 (v9a_asr_table): Likewise.
374 (cmp_reg_entry): Handle entries with NULL names.
375 (F_POP_V9): Define.
376 (F_POP_PCREL): Likewise.
377 (F_POP_TLS_CALL): Likewise.
378 (F_POP_POSTFIX): Likewise.
379 (struct pop_entry): New type.
380 (pop_table): New variable.
381 (enum pop_entry_type): New type.
382 (struct perc_entry): Likewise.
383 (NUM_PERC_ENTRIES): Define.
384 (perc_table): New variable.
385 (cmp_perc_entry): New function.
386 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
387 perc_table.
388 (sparc_ip): Handle entries with NULL names in priv_reg_table,
389 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
390 %-pseudo-ops.
391
392 2016-06-15 Nick Clifton <nickc@redhat.com>
393
394 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
395 instruction size.
396 * config/tc-mcore.c (md_assemble): Likewise.
397 * config/tc-mn10200.c (md_assemble): Likewise.
398 * config/tc-moxie.c (md_assemble): Likewise.
399 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
400 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
401 exception targets. Add alpha, hppa, microblaze and rl78 to list
402 of exceptions.
403 (forward): Add microblaze to list of exceptions.
404 (fwdexp): Add alpha to list of exceptions.
405 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
406 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
407 (do_930509a): Alpha sort list of exception targets. Add h8300 and
408 mn10200 to list of exceptions.
409 (align2): Expect to fail for nds32.
410 (cond): Add alpha and rl78 to list of exceptions.
411 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
412 * testsuite/gas/all/string.d: Skip for tic4x.
413 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
414 target does not support ELF.
415 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
416 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
417 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
418 tests for sh-pe and sh-rtemscoff targets.
419 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
420 list of exceptions.
421 (type): Run the noifunc version for alpha-freebsd and visium.
422 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
423 mn10200 or moxie targets.
424 * testsuite/gas/ft32/insn.d: Update expected disassembly.
425 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
426 targets.
427 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
428 mcore and rx targets.
429 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
430 rl78 and vax.
431 (purge): Expect to fail on the ns32k and vax.
432 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
433 * testsuite/gas/nds32/ls.d: Likewise.
434 * testsuite/gas/nds32/sys-reg.d: Likewise.
435 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
436 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
437 * testsuite/gas/pe/section-align-3.d: Likewise.
438 * testsuite/gas/pe/section-exclude.d: Likewise.
439 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
440 data has been seen.
441 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
442 for variations in whitespace.
443 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
444 data has been seen.
445 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
446 Installs a 32-bit value without generating warnings on 64-bit
447 hosts.
448 Use the new macro to replace the .word directives.
449
450 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
451
452 * testsuite/gas/arc/add_s.d: New file.
453 * testsuite/gas/arc/add_s.s: New file.
454
455 2016-06-14 Graham Markall <graham.markall@embecosm.com>
456
457 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
458 * testsuite/gas/arc/nps400-6.d: Likewise.
459
460 2016-06-14 Graham Markall <graham.markall@embecosm.com>
461
462 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
463 addf.
464 * testsuite/gas/arc/nps400-6.d: Likewise.
465
466 2016-06-14 Graham Markall <graham.markall@embecosm.com>
467
468 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
469 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
470 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
471 * testsuite/gas/arc/nps400-6.d: Likewise.
472
473 2016-06-14 Nick Clifton <nickc@redhat.com>
474
475 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
476 signed constant.
477
478 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
479
480 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
481 JALR relocations on R6.
482 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
483 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
484 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
485 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
486 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
487 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
488 test.
489 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
490 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
491 test.
492 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
493 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
494 source.
495 * testsuite/gas/mips/mips.exp: Run the new tests.
496
497 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
498
499 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
500 * doc/c-aarch64.texi: Document that vulcan is a valid processor
501 name.
502
503 2016-06-13 Nick Clifton <nickc@redhat.com>
504
505 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
506 that are not supported.
507
508 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
509 constant.
510 * config/tc-cr16.c (check_range): Likewise.
511 * config/tc-nios2.c (nios2_check_overflow): Likewise.
512
513 2016-06-08 Renlin Li <renlin.li@arm.com>
514
515 * config/tc-aarch64.c (print_operands): Substitute size.
516 (output_operand_error_record): Likewise.
517
518 2016-06-07 Alan Modra <amodra@gmail.com>
519
520 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
521 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
522 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
523 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
524 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
525 add vle_opcodes twice.
526 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
527
528 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
529
530 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
531 (arm_ext_ras): Renamed from arm_ext_v8_2.
532 (insns): Update for arm_ext_v8_2 renaming.
533 (arm_extensions): Add "ras".
534 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
535 * testsuite/gas/arm/armv8-a+ras.d: New.
536 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
537 options.
538
539 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
540
541 * itbl-parse.y (yyerror): Use modern argument declaration style.
542
543 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
544
545 * config/tc-sh.c (parse_reg): Change type of mode argument to
546 sh_arg_type.
547 (get_operand): Adjust.
548 (insert): Change type of how to bfd_reloc_code_real_type.
549 (insert4): Likewise.
550 * config/tc-sh64.c (shmedia_get_operand): Adjust.
551 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
552
553 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
554
555 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
556 const char *.
557
558 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
559
560 PR binutils/20196
561 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
562 stbcx., sthcx., stwcx., stdcx.>: Add tests.
563 * gas/testsuite/gas/ppc/e6500.d: Likewise.
564 * gas/testsuite/gas/ppc/power8.s: Likewise.
565 * gas/testsuite/gas/ppc/power8.d: Likewise.
566 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
567 stdcx.>: Add tests.
568 * gas/testsuite/gas/ppc/power4.d: Likewise.
569
570 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
571
572 PR binutis/18386
573 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
574 * testsuite/gas/i386/x86-64-branch.d: Updated.
575 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
576 * testsuite/gas/i386/x86-64-branch-4.l: New file.
577 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
578
579 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
580
581 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
582 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
583
584 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
585
586 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
587 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
588
589 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
590
591 * configure.tgt: Replace -uclibc with *.
592
593 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
594
595 * config/tc-arc.c (parse_opcode_flags): New function.
596 (find_opcode_match): Move flag parsing code out to new function.
597 Ignore operands marked IGNORE.
598 (build_fake_opcode_hash_entry): New function.
599 (find_special_case_long_opcode): New function.
600 (find_special_case): Lookup long opcodes.
601 * testsuite/gas/arc/nps400-7.d: New file.
602 * testsuite/gas/arc/nps400-7.s: New file.
603
604 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
605
606 * config/tc-ns32k.c: Remove definition of input_line_pointer.
607
608 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
609
610 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
611 sentinal with iteration to array size.
612
613 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
614
615 * config/xtensa-relax.h: Move typedefs of enums to the enums
616 definition.
617
618 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
619
620 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
621 macro.
622
623 2016-06-01 Graham Markall <graham.markall@embecosm.com>
624
625 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
626 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
627 * testsuite/gas/arc/nps-400-1.d: Likewise.
628
629 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
630
631 PR gas/20145
632 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
633 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
634 noavx512ifma and noavx512vbmi.
635 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
636 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
637 and noavx512vbmi.
638 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
639 * testsuite/gas/i386/noavx512-1.l: New file.
640 * testsuite/gas/i386/noavx512-1.s: Likewise.
641 * testsuite/gas/i386/noavx512-2.l: Likewise.
642 * testsuite/gas/i386/noavx512-2.s: Likewise.
643
644 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
645
646 PR gas/20145
647 * config/tc-i386.c (cpu_arch): Add 687.
648 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
649 nosse4.1, nosse4.2, nosse4 and noavx2.
650 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
651 register. Check cpuregxmm instead of cpusse for XMM register.
652 Check cpuregymm instead of cpuavx for YMM register. Check
653 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
654 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
655 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
656 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
657 * testsuite/gas/i386/arch-10.d (as): Likewise.
658 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
659 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
660 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
661 and noavx-4.
662 * testsuite/gas/i386/no87-3.l: New file.
663 * testsuite/gas/i386/no87-3.s: Likewise.
664 * testsuite/gas/i386/noavx-3.l: Likewise.
665 * testsuite/gas/i386/noavx-3.s: Likewise.
666 * testsuite/gas/i386/noavx-4.d: Likewise.
667 * testsuite/gas/i386/noavx-4.s: Likewise.
668 * testsuite/gas/i386/nosse-4.l: Likewise.
669 * testsuite/gas/i386/nosse-4.s: Likewise.
670 * testsuite/gas/i386/nosse-5.d: Likewise.
671 * testsuite/gas/i386/nosse-5.s: Likewise.
672
673 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
674
675 PR gas/20154
676 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
677 cpuintel64.
678 (match_template): Check Intel64/AMD64 ISA.
679
680 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
681
682 PR gas/20154
683 * config/tc-i386.c (intel64): New.
684 (cpu_flags_match): Set cpuamd64 and cpuintel64.
685 (md_parse_option): Set intel64 instead of cpuamd64 and
686 cpuintel64.
687
688 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
689
690 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
691 cpuno64.
692
693 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
694
695 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
696 * testsuite/gas/ppc/altivec3.s: Likewise.
697 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
698 * testsuite/gas/ppc/power9.s: Likewise.
699
700 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
701
702 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
703 * testsuite/gas/i386/noavx-1.l: Likewise.
704 * testsuite/gas/i386/nommx-1.l: Likewise.
705 * testsuite/gas/i386/nosse-1.l: Likewise.
706 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
707 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
708 * testsuite/gas/i386/noavx-1.s: Likewise.
709 * testsuite/gas/i386/nommx-1.s: Likewise.
710 * testsuite/gas/i386/nosse-1.s: Likewise.
711 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
712
713 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
714
715 * config/tc-metag.c (metag_handle_align): Make the type of noop
716 unsigned char.
717
718 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
719
720 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
721 bfd_reloc_code_real_type.
722
723 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
724
725 PR gas/20140
726 * config/tc-i386.c (cpu_flags_match): Require another match
727 for AVX512VL.
728 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
729 x86-64-avx512vl-1 and x86-64-avx512vl-2.
730 * testsuite/gas/i386/avx512vl-1.l: New file.
731 * testsuite/gas/i386/avx512vl-1.s: Likewise.
732 * testsuite/gas/i386/avx512vl-2.l: Likewise.
733 * testsuite/gas/i386/avx512vl-2.s: Likewise.
734 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
735 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
736 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
737 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
738
739 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
740
741 PR gas/20141
742 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
743 * testsuite/gas/i386/x86-64-pr20141.d: New file.
744 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
745
746 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
747
748 * config/tc-i386.c (arch_entry): Remove negated.
749 (noarch_entry): New struct.
750 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
751 (cpu_noarch): New.
752 (set_cpu_arch): Check cpu_noarch after cpu_arch.
753 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
754 cpu_arch.
755 (output_message): New function.
756 (show_arch): Use it. Handle cpu_noarch.
757 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
758 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
759 * testsuite/gas/i386/noavx-1.l: New file.
760 * testsuite/gas/i386/noavx-1.s: Likewise.
761 * testsuite/gas/i386/noavx-2.s: Likewise.
762 * testsuite/gas/i386/noavx-2.l: Likewise.
763 * testsuite/gas/i386/nommx-1.s: Likewise.
764 * testsuite/gas/i386/nommx-1.l: Likewise.
765 * testsuite/gas/i386/nommx-2.s: Likewise.
766 * testsuite/gas/i386/nommx-2.l: Likewise.
767 * testsuite/gas/i386/nommx-3.s: Likewise.
768 * testsuite/gas/i386/nommx-3.l: Likewise.
769 * testsuite/gas/i386/nosse-1.s: Likewise.
770 * testsuite/gas/i386/nosse-1.l: Likewise.
771 * testsuite/gas/i386/nosse-2.s: Likewise.
772 * testsuite/gas/i386/nosse-2.l: Likewise.
773 * testsuite/gas/i386/nosse-3.s: Likewise.
774 * testsuite/gas/i386/nosse-3.l: Likewise.
775
776 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
777
778 PR target/20067
779 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
780 instruction if supported by the currently selected fpu variant.
781 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
782 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
783
784 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
785
786 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
787 jump relocations against MIPS16 or microMIPS symbols on RELA
788 targets.
789 * testsuite/gas/mips/jalx-local.d: New test.
790 * testsuite/gas/mips/jalx-local-n32.d: New test.
791 * testsuite/gas/mips/jalx-local-n64.d: New test.
792 * testsuite/gas/mips/jalx-local.s: New test source.
793 * testsuite/gas/mips/mips.exp: Run the new tests.
794
795 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
796
797 * config/tc-mips.c (md_apply_fix)
798 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
799 code accordingly.
800
801 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
802
803 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
804 operator to operatorT.
805 (map_suffix_reloc_to_operator): Change return type to operatorT.
806
807 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
808
809 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
810
811 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
812
813 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
814 handler_charp to const char *.
815
816 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
817
818 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
819 (ft32_target_format): Likewise.
820 (TARGET_FORMAT): Adjust.
821
822 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
823
824 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
825 (ia64_frob_label): Likewise.
826
827 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
828
829 * config/tc-cr16.c (check_range): Make type of retval op_err.
830 * config/tc-crx.c: Likewise.
831
832 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
833
834 * config/tc-arc.c (md_begin): Add XY registers.
835 (cpu_types): Code density is default off for ARC EM.
836
837 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
838
839 * config/tc-arc.c (attributes_t): Renamed attribute class to
840 attr_class.
841 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
842
843 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
844
845 * configuse.tgt: Add entry for arm-phoenix.
846
847 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
848
849 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
850
851 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
852
853 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
854
855 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
856
857 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
858 (md_begin): Likewise.
859 (encode_condition): Likewise.
860 (encode_cc3): Likewise.
861 (encode_cc2): Likewise.
862 (encode_operand): Likewise.
863 (tic54x_undefined_symbol): Likewise.
864
865 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
866
867 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
868 p6600 entry.
869 * doc/c-mips.texi: Document p6600 -march option.
870
871 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
872
873 PR gas/19600
874 * config/tc-i386.c (md_apply_fix): Preserve addend for
875 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
876 * testsuite/gas/i386/addend.d: New file.
877 * testsuite/gas/i386/addend.s: Likewise.
878 * testsuite/gas/i386/x86-64-addend.d: Likewise.
879 * testsuite/gas/i386/x86-64-addend.s: Likewise.
880 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
881 * testsuite/gas/i386/reloc32.d: Updated.
882
883 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
884
885 * config/tc-mips.c (append_insn): Correct the encoding of a
886 constant argument for microMIPS JALX.
887 (tc_gen_reloc): Correct the encoding of an in-place addend for
888 microMIPS JALX.
889 * testsuite/gas/mips/jalx-addend.d: New test.
890 * testsuite/gas/mips/jalx-addend-n32.d: New test.
891 * testsuite/gas/mips/jalx-addend-n64.d: New test.
892 * testsuite/gas/mips/jalx-imm.d: New test.
893 * testsuite/gas/mips/jalx-imm-n32.d: New test.
894 * testsuite/gas/mips/jalx-imm-n64.d: New test.
895 * testsuite/gas/mips/jalx-addend.s: New test source.
896 * testsuite/gas/mips/jalx-imm.s: New test source.
897 * testsuite/gas/mips/mips.exp: Run the new tests.
898
899 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
900
901 * config/tc-mips.c: Correct tab-after-space formatting mistakes
902 throughout.
903
904 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
905
906 * config/tc-arc.c (find_opcode_match): Remove casting away of
907 const.
908 * config/tc-arc.h (struct arc_flags): Make flgp field const.
909
910 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
911
912 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
913 appropriate.
914 (md_convert_frag): Likewise.
915
916 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
917
918 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
919 cached opcode to NULL when we reach a non-matching opcode.
920 * testsuite/gas/arc/asm-errors-2.d: New file.
921 * testsuite/gas/arc/asm-errors-2.err: New file.
922 * testsuite/gas/arc/asm-errors-2.s: New file.
923
924 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
925
926 * config/tc-arc.c (tokenize_arguments): Add checks for array
927 overflow.
928 * testsuite/gas/arc/asm-errors.s: Addition test line added.
929 * testsuite/gas/arc/asm-errors.err: Update expected results.
930
931 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
932
933 * config/tc-rx.c (struct cpu_type): Change the type of a field from
934 int to enum rx_cpu_types.
935
936 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
937
938 * config/tc-dlx.c (struct machine_it): change the type of a field from
939 int to bfd_reloc_code_real_type.
940 * config/tc-tic4x.c: Likewise.
941
942 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
943
944 * config/tc-v850.c (v850_target_arch): change type to enum
945 bfd_architecture.
946 * config/tc-v850.h (v850_target_arch): Likewise.
947
948 2016-05-18 Alan Modra <amodra@gmail.com>
949
950 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
951 allowed negative range.
952 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
953 * testsuite/gas/ppc/power9.d: Update.
954
955 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
956
957 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
958 disassembling and stop skipping targets.
959 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
960 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
961 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
962 instruction for targets that have stronger alignment requirement.
963 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
964 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
965 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
966 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
967 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
968 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
969 * testsuite/gas/arm/archv8m-main.d: Likewise.
970 * testsuite/gas/arm/archv8m.s: Add label.
971 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
972 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
973 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
974
975 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
976
977 * config/tc-m32r.c (mach_table): Make static and const.
978
979 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
980
981 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
982 definition.
983
984 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
985
986 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
987 defining it.
988 * config/tc-msp430.c (md_begin): Likewise.
989
990 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
991
992 * config/tc-m68hc11.c (fixup8): Change variables type from int to
993 bfd_reloc_code_real_type where appropriate.
994 (fixup16): Likewise.
995 (fixup8_xg): Likewise.
996
997 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
998
999 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1000
1001 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1002
1003 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1004 * testsuite/gas/ppc/power9.s: Likewise.
1005
1006 2016-05-13 Alan Modra <amodra@gmail.com>
1007
1008 * config/obj-coff.c (weak_uniquify): Delete unused var.
1009
1010 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1011
1012 * app.c (app_push): Use XNEW and related macros.
1013 * as.c (parse_args): Likewise.
1014 * cgen.c (make_right_shifted_expr): Likewise.
1015 (gas_cgen_tc_gen_reloc): Likewise.
1016 * config/bfin-defs.h: Likewise.
1017 * config/bfin-parse.y: Likewise.
1018 * config/obj-coff.c (stack_init): Likewise.
1019 (stack_push): Likewise.
1020 (coff_obj_symbol_new_hook): Likewise.
1021 (coff_obj_symbol_clone_hook): Likewise.
1022 (add_lineno): Likewise.
1023 (coff_frob_symbol): Likewise.
1024 * config/obj-elf.c (obj_elf_section_name): Likewise.
1025 (build_group_lists): Likewise.
1026 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1027 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1028 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1029 (find_or_make_literal_pool): Likewise.
1030 (add_to_lit_pool): Likewise.
1031 (fill_instruction_hash_table): Likewise.
1032 * config/tc-alpha.c (load_expression): Likewise.
1033 (emit_jsrjmp): Likewise.
1034 (s_alpha_ent): Likewise.
1035 (s_alpha_end): Likewise.
1036 (s_alpha_linkage): Likewise.
1037 (md_begin): Likewise.
1038 (tc_gen_reloc): Likewise.
1039 * config/tc-arc.c (arc_insert_opcode): Likewise.
1040 (arc_extcorereg): Likewise.
1041 * config/tc-bfin.c: Likewise.
1042 * config/tc-cr16.c: Likewise.
1043 * config/tc-cris.c: Likewise.
1044 * config/tc-crx.c (preprocess_reglist): Likewise.
1045 * config/tc-d10v.c: Likewise.
1046 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1047 (frv_tomcat_shuffle): Likewise.
1048 * config/tc-h8300.c: Likewise.
1049 * config/tc-i370.c (i370_macro): Likewise.
1050 * config/tc-i386.c (lex_got): Likewise.
1051 (md_parse_option): Likewise.
1052 * config/tc-ia64.c (alloc_record): Likewise.
1053 (set_imask): Likewise.
1054 (save_prologue_count): Likewise.
1055 (dot_proc): Likewise.
1056 (dot_endp): Likewise.
1057 (ia64_frob_label): Likewise.
1058 (add_qp_imply): Likewise.
1059 (add_qp_mutex): Likewise.
1060 (mark_resource): Likewise.
1061 (dot_alias): Likewise.
1062 * config/tc-m68hc11.c: Likewise.
1063 * config/tc-m68k.c (m68k_frob_label): Likewise.
1064 (s_save): Likewise.
1065 (mri_control_label): Likewise.
1066 (push_mri_control): Likewise.
1067 (build_mri_control_operand): Likewise.
1068 (s_mri_else): Likewise.
1069 (s_mri_break): Likewise.
1070 (s_mri_next): Likewise.
1071 (s_mri_for): Likewise.
1072 (s_mri_endw): Likewise.
1073 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1074 * config/tc-microblaze.c: Likewise.
1075 * config/tc-mmix.c (s_loc): Likewise.
1076 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1077 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1078 * config/tc-rl78.c: Likewise.
1079 * config/tc-rx.c (rx_include): Likewise.
1080 * config/tc-sh.c: Likewise.
1081 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1082 * config/tc-sparc.c: Likewise.
1083 * config/tc-spu.c: Likewise.
1084 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1085 (tic6x_start_unwind_section): Likewise.
1086 * config/tc-tilegx.c: Likewise.
1087 * config/tc-tilepro.c: Likewise.
1088 * config/tc-v850.c: Likewise.
1089 * config/tc-visium.c: Likewise.
1090 * config/tc-xgate.c: Likewise.
1091 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1092 (new_resource_table): Likewise.
1093 (resize_resource_table): Likewise.
1094 (xtensa_create_trampoline_frag): Likewise.
1095 (xtensa_maybe_create_literal_pool_frag): Likewise.
1096 (cache_literal_section): Likewise.
1097 * config/xtensa-relax.c (append_transition): Likewise.
1098 (append_condition): Likewise.
1099 (append_value_condition): Likewise.
1100 (append_constant_value_condition): Likewise.
1101 (append_literal_op): Likewise.
1102 (append_label_op): Likewise.
1103 (append_constant_op): Likewise.
1104 (append_field_op): Likewise.
1105 (append_user_fn_field_op): Likewise.
1106 (enter_opname_n): Likewise.
1107 (enter_opname): Likewise.
1108 (split_string): Likewise.
1109 (parse_insn_templ): Likewise.
1110 (clone_req_or_option_list): Likewise.
1111 (clone_req_option_list): Likewise.
1112 (parse_option_cond): Likewise.
1113 (parse_insn_pattern): Likewise.
1114 (parse_insn_repl): Likewise.
1115 (build_transition): Likewise.
1116 (build_transition_table): Likewise.
1117 * dw2gencfi.c (alloc_fde_entry): Likewise.
1118 (alloc_cfi_insn_data): Likewise.
1119 (cfi_add_CFA_remember_state): Likewise.
1120 (dot_cfi_escape): Likewise.
1121 (dot_cfi_fde_data): Likewise.
1122 (select_cie_for_fde): Likewise.
1123 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1124 * ecoff.c (ecoff_add_bytes): Likewise.
1125 (ecoff_build_debug): Likewise.
1126 * input-scrub.c (input_scrub_push): Likewise.
1127 (input_scrub_begin): Likewise.
1128 (input_scrub_next_buffer): Likewise.
1129 * itbl-ops.c (append_insns_as_macros): Likewise.
1130 (alloc_entry): Likewise.
1131 (alloc_field): Likewise.
1132 * listing.c (listing_newline): Likewise.
1133 (listing_listing): Likewise.
1134 * macro.c (get_any_string): Likewise.
1135 (delete_macro): Likewise.
1136 * stabs.c (generate_asm_file): Likewise.
1137 (stabs_generate_asm_lineno): Likewise.
1138 * subsegs.c (subseg_change): Likewise.
1139 (subseg_get): Likewise.
1140 * symbols.c (define_dollar_label): Likewise.
1141 (symbol_relc_make_sym): Likewise.
1142 * write.c (write_relocs): Likewise.
1143
1144 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1145
1146 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1147 (weak_name2altname): Likewise.
1148 (weak_uniquify): Likewise.
1149 (obj_coff_section): Likewise.
1150 (obj_coff_init_stab_section): Likewise.
1151 * config/obj-elf.c (obj_elf_section_name): Likewise.
1152 (obj_elf_init_stab_section): Likewise.
1153 * config/obj-evax.c (evax_shorten_name): Likewise.
1154 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1155 * config/tc-aarch64.c (create_register_alias): Likewise.
1156 * config/tc-alpha.c (load_expression): Likewise.
1157 (s_alpha_file): Likewise.
1158 (s_alpha_section_name): Likewise.
1159 (tc_gen_reloc): Likewise.
1160 * config/tc-arc.c (md_assemble): Likewise.
1161 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1162 (start_unwind_section): Likewise.
1163 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1164 (hppa_elf_mark_end_of_function): Likewise.
1165 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1166 (nios2_negate_arg): Likewise.
1167 * config/tc-rx.c (rx_section): Likewise.
1168 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1169 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1170 * config/tc-tic54x.c (tic54x_include): Likewise.
1171 (tic54x_macro_info): Likewise.
1172 (subsym_get_arg): Likewise.
1173 (subsym_substitute): Likewise.
1174 (tic54x_start_line_hook): Likewise.
1175 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1176 (xg_reverse_shift_count): Likewise.
1177 * config/xtensa-relax.c (enter_opname_n): Likewise.
1178 (split_string): Likewise.
1179 * dwarf2dbg.c (get_filenum): Likewise.
1180 (process_entries): Likewise.
1181 * expr.c (operand): Likewise.
1182 * itbl-ops.c (alloc_entry): Likewise.
1183 * listing.c (listing_message): Likewise.
1184 (listing_title): Likewise.
1185 * macro.c (check_macro): Likewise.
1186 * stabs.c (s_xstab): Likewise.
1187 * symbols.c (symbol_relc_make_expr): Likewise.
1188 * write.c (compress_debug): Likewise.
1189
1190 2016-05-12 Nick Clifton <nickc@redhat.com>
1191
1192 PR target/20068
1193 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1194
1195 2016-05-11 Nick Clifton <nickc@redhat.com>
1196
1197 PR target/20068
1198 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1199 big endian ARM configurations.
1200
1201 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1202 Matthew Fortune <matthew.fortune@imgtec.com>
1203
1204 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1205 OPTION_NO_DSPR3.
1206 (md_longopts): Likewise.
1207 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1208 (mips_ases): Define availability for DSPr3.
1209 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1210 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1211 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1212 formatting.
1213 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1214 .set nodspr3. Fix -mdspr2 formatting.
1215 * testsuite/gas/mips/mips32-dspr3.d: New file.
1216 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1217 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1218
1219 2016-05-11 Nick Clifton <nickc@redhat.com>
1220
1221 PR target/20068
1222 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1223 to the pool uses O_constant.
1224 * testsuite/gas/arm/pr20068.s: New test.
1225 * testsuite/gas/arm/pr20068.d: Test driver.
1226
1227 2016-05-11 Nick Clifton <nickc@redhat.com>
1228
1229 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1230 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1231 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1232 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1233 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1234 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1235 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1236 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1237 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1238
1239 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1240
1241 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1242 * testsuite/gas/i386/prefix.d: Adjust.
1243 * testsuite/gas/i386/rdpid.s: New test.
1244 * testsuite/gas/i386/rdpid.d: Ditto.
1245 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1246 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1247 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1248 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1249
1250 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1251
1252 * config/tc-i386.c (cpu_arch): Add RDPID.
1253 * doc/c-i386.texi: Document RDPID.
1254
1255 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1256
1257 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1258 set branch type of a symbol.
1259
1260 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1261
1262 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1263 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1264 instructions.
1265 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1266 (aeabi_set_public_attributes): Memorize the feature bits of the
1267 architecture selected for Tag_CPU_arch. Use it to set
1268 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1269 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1270 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1271 * testsuite/gas/arm/arch7em-bad-1.d: This.
1272 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1273 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1274 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1275 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1276 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1277 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1278 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1279 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1280
1281 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1282
1283 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1284 allowed_archs an array with 2 entries.
1285 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1286 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1287 (arm_extensions): Use separate entries in allowed_archs when several
1288 archs are allowed to use an extension and change ARCH_ANY in
1289 ARM_ARCH_NONE in allowed_archs.
1290 (arm_parse_extension): Check that, for each allowed_archs entry, all
1291 bits are set in the current architecture, ignoring ARM_ANY entries.
1292 (s_arm_arch_extension): Likewise.
1293
1294 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1295
1296 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1297 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1298 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1299 shared with a non M profile architecture.
1300 (do_rn): New function.
1301 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1302 than arm_ext_v8m.
1303 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1304 (insns): Add ARMv8-M Security Extensions instructions.
1305 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1306 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1307 * testsuite/gas/arm/archv8m-cmse.s: New file.
1308 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1309 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1310 * testsuite/gas/arm/any-cmse.d: Likewise.
1311 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1312 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1313 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1314 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1315 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1316 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1317
1318 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1319
1320 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1321 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1322
1323 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1324
1325 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1326 (fpu_arch_vfp_v3): Likewise.
1327 (fpu_arch_neon_v1): Likewise.
1328 (arm_arch_full): Likewise.
1329 (parse_neon_el_struct_list): Initialize fields of firsttype.
1330
1331 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1332
1333 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1334 (arc_extinsn): Handle new introduced syntax.
1335 * testsuite/gas/arc/textinsn1op.d: New file.
1336 * testsuite/gas/arc/textinsn1op.s: Likewise.
1337 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1338
1339 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1340
1341 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1342 DW_LNS_fixed_advance_pc.
1343
1344 2016-04-27 Alan Modra <amodra@gmail.com>
1345
1346 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1347 (xmemdup0): New inline function.
1348
1349 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1350
1351 * config/tc-mips.c (code_option_type): New enum.
1352 (parse_code_option): Return status indicating option type.
1353 (s_mipsset): Update `parse_code_option' call site accordingly.
1354 Always set register sizes from the ISA with ISA overrides.
1355 (s_module): Update `parse_code_option' call site.
1356 * testsuite/gas/mips/isa-override-1.d: New test.
1357 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1358 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1359 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1360 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1361 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1362 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1363 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1364 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1365 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1366 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1367 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1368 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1369 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1370 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1371 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1372 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1373 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1374 * testsuite/gas/mips/isa-override-2.l: New list test.
1375 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1376 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1377 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1378 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1379 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1380 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1381 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1382 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1383 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1384 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1385 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1386 output.
1387 * testsuite/gas/mips/isa-override-1.s: New test source.
1388 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1389 * testsuite/gas/mips/isa-override-2.s: New test source.
1390 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1391 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1392 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1393 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1394 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1395 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1396 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1397 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1398 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1399 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1400 * testsuite/gas/mips/mips.exp: Run the new tests.
1401
1402 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1403
1404 * cgen.c: Likewise.
1405 * config/tc-bfin.c: Likewise.
1406 * config/tc-ia64.c: Likewise.
1407 * config/tc-mep.c: Likewise.
1408 * config/tc-metag.c: Likewise.
1409 * config/tc-nios2.c: Likewise.
1410 * config/tc-rl78.c: Likewise.
1411
1412 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1413
1414 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1415 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1416 (ARC Directives): Add NPS400 to .cpu directive list.
1417
1418 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1419
1420 * config/tc-aarch64.c (aarch64_features): Add "ras".
1421 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1422 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1423 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1424 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1425 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1426
1427 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1428
1429 * testsuite/gas/arc/nps400-6.d: New file.
1430 * testsuite/gas/arc/nps400-6.s: New file.
1431
1432 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1433
1434 * testsuite/gas/arc/nps400-4.d: New file.
1435 * testsuite/gas/arc/nps400-4.s: New file.
1436 * testsuite/gas/arc/nps400-5.d: New file.
1437 * testsuite/gas/arc/nps400-5.s: New file.
1438
1439 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1440
1441 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1442 documentation.
1443
1444 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1445
1446 Revert prevous change.
1447 * config/tc-arc.c (arc_option): Make .cpu directive
1448 case-sensitive again.
1449
1450 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1451
1452 * config/tc-arc.c (arc_option): Make .cpu directive
1453 case-insensitive.
1454
1455 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1456
1457 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1458
1459 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1460
1461 * config/tc-mips.c (md_begin): Remove useless assignment.
1462
1463 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1464
1465 * Makefile.in: Regenerated with automake 1.11.6.
1466 * aclocal.m4: Likewise.
1467 * doc/Makefile.in: Likewise.
1468
1469 2016-04-15 Alan Modra <amodra@gmail.com>
1470
1471 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1472
1473 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1474
1475 * config/tc-nios2.c (nios2_as_options): Make file static.
1476 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1477 * config/tc-sparc.c (native_op_table): Likewise.
1478
1479 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1480
1481 * config/tc-m32c.c (M32C_Macros): Remove.
1482 * config/tc-msp430.c (option_numbers): Likewise.
1483
1484 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1485
1486 * testsuite/gas/arc/nps400-3.d: New file.
1487 * testsuite/gas/arc/nps400-3.s: New file.
1488
1489 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1490
1491 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1492 * testsuite/gas/arc/warn.s: Likewise.
1493 * testsuite/gas/elf/elf.exp: Run test for arc.
1494
1495 2016-04-14 Nick Clifton <nickc@redhat.com>
1496
1497 PR target/19938
1498 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1499 sections possibly having the SHF_STRINGS flag bit set.
1500 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1501
1502 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1503
1504 * config/tc-arc.c (mach_type_specified_p): Change type to
1505 bfd_boolean.
1506 (arc_option): Set private flags when parsing cpu pseudo-op.
1507 (md_parse_option): Set mach_type_specified_p to TRUE.
1508
1509 2016-04-13 Nick Clifton <nickc@redhat.com>
1510
1511 PR target/19937
1512 * testsuite/gas/v850/pr19937.s: New test.
1513 * testsuite/gas/v850/pr19937.d: New test control file.
1514 * testsuite/gas/v850/basic.exp: Run the new test.
1515
1516 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1517 Andrew Bennett <andrew.bennett@imgtec.com>
1518
1519 * config/tc-mips.c (relaxed_branch_length): Use the long
1520 sequence where the target is a weak symbol.
1521 (relaxed_micromips_32bit_branch_length): Likewise.
1522 (relaxed_micromips_16bit_branch_length): Likewise.
1523 * testsuite/gas/mips/branch-weak-1.d: New test.
1524 * testsuite/gas/mips/branch-weak-2.d: New test.
1525 * testsuite/gas/mips/branch-weak-3.d: New test.
1526 * testsuite/gas/mips/branch-weak-4.d: New test.
1527 * testsuite/gas/mips/branch-weak-5.d: New test.
1528 * testsuite/gas/mips/branch-weak.l: New stderr output.
1529 * testsuite/gas/mips/branch-weak.s: New test source.
1530 * testsuite/gas/mips/mips.exp: Run the new tests.
1531
1532 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1533
1534 * config/tc-mips.c (relaxed_branch_length): Use the long
1535 sequence where the distance cannot be determined.
1536 (relaxed_micromips_32bit_branch_length): Likewise.
1537 * testsuite/gas/mips/branch-extern-1.d: New test.
1538 * testsuite/gas/mips/branch-extern-2.d: New test.
1539 * testsuite/gas/mips/branch-extern-3.d: New test.
1540 * testsuite/gas/mips/branch-extern-4.d: New test.
1541 * testsuite/gas/mips/branch-extern.l: New stderr output.
1542 * testsuite/gas/mips/branch-extern.s: New test source.
1543 * testsuite/gas/mips/branch-section-1.d: New test.
1544 * testsuite/gas/mips/branch-section-2.d: New test.
1545 * testsuite/gas/mips/branch-section-3.d: New test.
1546 * testsuite/gas/mips/branch-section-4.d: New test.
1547 * testsuite/gas/mips/branch-section.l: New stderr output.
1548 * testsuite/gas/mips/branch-section.s: New test source.
1549 * testsuite/gas/mips/mips.exp: Run the new tests.
1550
1551 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1552
1553 * testsuite/gas/arc/textauxregister.d: New file.
1554 * testsuite/gas/arc/textauxregister.s: Likewise.
1555 * testsuite/gas/arc/textcondcode.d: Likewise.
1556 * testsuite/gas/arc/textcondcode.s: Likewise.
1557 * testsuite/gas/arc/textcoreregister.d: Likewise.
1558 * testsuite/gas/arc/textcoreregister.s: Likewise.
1559 * testsuite/gas/arc/textpseudoop.d: Likewise.
1560 * testsuite/gas/arc/textpseudoop.s: Likewise.
1561 * testsuite/gas/arc/ld2.d: Update test.
1562 * testsuite/gas/arc/st.d: Likewise.
1563 * testsuite/gas/arc/taux.d: Likewise.
1564 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1565 .extCoreRegister and .extAuxRegister documentation.
1566 * config/tc-arc.c (arc_extcorereg): New function.
1567 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1568 .extAuxRegister pseudo-ops.
1569 (extRegister_t): New type.
1570 (ext_condcode, arc_aux_hash): New global variable.
1571 (find_opcode_match): Check for extensions.
1572 (preprocess_operands): Likewise.
1573 (md_begin): Add aux registers in a hash.
1574 (assemble_insn): Update use arc_flags member.
1575 (tokenize_extregister): New function.
1576 (create_extcore_section): Likewise.
1577 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1578
1579 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1580
1581 * testsuite/gas/arc/noargs_a7.d: New file.
1582 * testsuite/gas/arc/noargs_a7.s: Likewise.
1583 * testsuite/gas/arc/noargs_hs.d: Likewise.
1584 * testsuite/gas/arc/noargs_hs.s: Likewise.
1585
1586 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1587
1588 * testsuite/gas/arc/textinsn-errors.d: New File.
1589 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1590 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1591 * testsuite/gas/arc/textinsn2op.d: Likewise.
1592 * testsuite/gas/arc/textinsn2op.s: Likewise.
1593 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1594 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1595 * testsuite/gas/arc/textinsn3op.d: Likewise.
1596 * testsuite/gas/arc/textinsn3op.s: Likewise.
1597 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1598 documentation.
1599 * config/tc-arc.c (arcext_section): New variable.
1600 (arc_extinsn): New function.
1601 (md_pseudo_table): Add .extInstruction pseudo op.
1602 (attributes_t): New type.
1603 (suffixclass, syntaxclass, syntaxclassmod): New constant
1604 structures.
1605 (find_opcode_match): Remove arc_num_opcodes.
1606 (md_begin): Likewise.
1607 (tokenize_extinsn): New function.
1608 (arc_set_ext_seg): Likewise.
1609 (create_extinst_section): Likewise.
1610
1611 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1612
1613 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1614 (arc_adjust_symtab): New function.
1615 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1616 (obj_adjust_symtab): Likewise.
1617 * testsuite/gas/arc/taux.d: New file.
1618 * testsuite/gas/arc/taux.s: Likewise.
1619
1620 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1621
1622 * config/tc-mips.c (s_option): Sanitize `.option picX'
1623 pseudo-op.
1624 * testsuite/gas/mips/option-pic-1.d: New test.
1625 * testsuite/gas/mips/option-pic-2.l: New list test.
1626 * testsuite/gas/mips/option-pic-1.s: New test source.
1627 * testsuite/gas/mips/option-pic-2.s: New test source.
1628 * testsuite/gas/mips/mips.exp: Run the new tests.
1629
1630 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1631
1632 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1633 PIC.
1634 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1635 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1636 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1637 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1638 * testsuite/gas/mips/mips.exp: Run the new tests.
1639
1640 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1641
1642 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1643
1644 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1645
1646 * messages.c (as_bad): Fix a typo in description.
1647
1648 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1649
1650 * config/tc-mips.c (mips_check_options): Unify messages.
1651
1652 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1653
1654 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1655 consistently.
1656
1657 2016-04-08 Nick Clifton <nickc@redhat.com>
1658
1659 PR target/19910
1660 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1661 COFF and AOUT sparc targets.
1662
1663 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1664
1665 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1666 * testsuite/gas/arc/nps400-2.d: New file.
1667 * testsuite/gas/arc/nps400-2.s: New file.
1668
1669 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1670
1671 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1672 structure.
1673 (arc_opcode_hash_entry_iterator_init): New function.
1674 (arc_opcode_hash_entry_iterator_next): New function.
1675 (find_opcode_match): Iterate over all arc_opcode entries
1676 referenced by the arc_opcode_hash_entry passed in as a parameter.
1677
1678 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1679
1680 * config/tc-arc.c (arc_find_opcode): Now returns
1681 arc_opcode_hash_entry pointer.
1682 (find_opcode_match): Update argument type, extract arc_opcode from
1683 incoming arc_opcode_hash_entry.
1684 (find_special_case_pseudo): Update return type.
1685 (find_special_case_flag): Update return type.
1686 (find_special_case): Update return type.
1687 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1688 instruction mnemonic, then use find_opcode_match to identify
1689 specific arc_opcode.
1690
1691 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1692
1693 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1694 (arc_find_opcode): New function.
1695 (find_special_case_pseudo): Use arc_find_opcode.
1696 (find_special_case_flag): Likewise.
1697 (assemble_tokens): Likewise.
1698 (md_begin): Build hash using struct arc_opcode_hash_entry.
1699
1700 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1701
1702 * config/tc-arc.c (arc_option): Prepare string for automatic
1703 translation.
1704 (declare_register): Likewise.
1705
1706 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1707
1708 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1709 Correct entry for RDMA. Alpha sort entries.
1710
1711 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1712
1713 * config/tc-arc.c (tokenize_flags): Allow greater range of
1714 characters into flag names.
1715
1716 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1717
1718 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1719 new de_fault label.
1720 (preprocess_operands): Delete.
1721 (assemble_tokens): Remove call to preprocess_operands.
1722
1723 2016-04-07 Nick Clifton <nickc@redhat.com>
1724
1725 PR gas/19910
1726 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1727 inside a %-macro could not be fully parsed.
1728 * expr.c (integer_constant): Accept and ignore U suffixes to
1729 integers.
1730 (operand): When a missing closing parenthesis is encountered,
1731 report the character that was found instead.
1732 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1733 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1734 * testsuite/gas/sparc/pr19910-1.s: New test.
1735 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1736 * testsuite/gas/sparc/pr19910-2.s: New test.
1737 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1738
1739 2016-04-06 Nick Clifton <nickc@redhat.com>
1740
1741 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1742 an EINT instruction. Warn/fix as necessary.
1743 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1744 * testsuite/gas/msp430/bad.l: Update expected messages.
1745
1746 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1747
1748 * testsuite/gas/arc/nps400-1.d: Update expected results.
1749 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1750
1751 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1752
1753 * config/tc-arc.c (is_code_density_p): Compare directly the
1754 subclass field.
1755 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1756 (check_cpu_feature): New function.
1757 (find_opcode_match): Use check_cpu_feature function.
1758 (preprocess_operands): Likewise.
1759 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1760 * testsuite/gas/arc/tdpfp.d: New file.
1761 * testsuite/gas/arc/tfpuda.d: Likewise.
1762 * testsuite/gas/arc/tfpx.s: Likewise.
1763
1764 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1765
1766 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1767 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1768 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1769 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1770 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1771 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1772 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1773 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1774 for Thumb.
1775 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1776
1777 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1778
1779 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1780 JUMP instructions type.
1781 * testsuite/gas/arc/relocs-errors.d: New file.
1782 * testsuite/gas/arc/relocs-errors.err: Likewise.
1783 * testsuite/gas/arc/relocs-errors.s: Likewise.
1784
1785 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 PR gas/19909
1788 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1789 only if i.disp_encoding != disp_encoding_32bit.
1790 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1791 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1792 * gas/testsuite/gas/i386/disp32.d: Updated.
1793 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1794
1795 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1796
1797 PR gas/19498
1798 * testsuite/gas/i386/i386.exp: Run pr19498.
1799 * testsuite/gas/i386/pr19498.d: New file.
1800 * testsuite/gas/i386/pr19498.s: Likewise.
1801
1802 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1803
1804 * config/tc-arc.h: Include 'opcode/arc.h'.
1805 (MAX_INSN_ARGS): Delete.
1806 (MAX_INSN_FLGS): Delete.
1807
1808 2016-04-04 Alan Modra <amodra@gmail.com>
1809
1810 PR 19498
1811 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1812 from function on all paths that set sy_resolving.
1813
1814 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1815
1816 * app.c (app_push): use XNEW macro.
1817 * as.c: Likewise.
1818 * config/obj-elf.c (obj_elf_change_section): Likewise.
1819 (elf_copy_symbol_attributes): Likewise.
1820 (obj_elf_size): Likewise.
1821 (build_group_lists): Likewise.
1822 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1823 (md_assemble): Likewise.
1824 (tc_gen_reloc): Likewise.
1825 (get_upper_str): Likewise.
1826 (aarch64_parse_features): Likewise.
1827 * config/tc-arm.c (insert_reg_alias): Likewise.
1828 (insert_neon_reg_alias): Likewise.
1829 (find_or_make_literal_pool): Likewise.
1830 (s_arm_elf_cons): Likewise.
1831 (add_unwind_opcode): Likewise.
1832 (arm_parse_extension): Likewise.
1833 * config/tc-avr.c (create_record_for_frag): Likewise.
1834 * config/tc-crx.c: Likewise.
1835 * config/tc-d30v.c: Likewise.
1836 * config/tc-dlx.c (s_proc): Likewise.
1837 * config/tc-ft32.c: Likewise.
1838 * config/tc-h8300.c: Likewise.
1839 * config/tc-hppa.c (pa_proc): Likewise.
1840 (create_new_space): Likewise.
1841 (create_new_subspace): Likewise.
1842 * config/tc-i860.c: Likewise.
1843 * config/tc-i960.c: Likewise.
1844 * config/tc-ia64.c: Likewise.
1845 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1846 (iq2000_record_hi16): Likewise.
1847 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1848 * config/tc-m32r.c (debug_sym): Likewise.
1849 (m32r_record_hi16): Likewise.
1850 * config/tc-m68k.c (m68k_ip): Likewise.
1851 (md_begin): Likewise.
1852 * config/tc-mcore.c: Likewise.
1853 * config/tc-microblaze.c (check_got): Likewise.
1854 * config/tc-mips.c (append_insn): Likewise.
1855 (s_mipsset): Likewise.
1856 (mips_record_label): Likewise.
1857 (s_mips_end): Likewise.
1858 * config/tc-mmix.c (mmix_frob_file): Likewise.
1859 * config/tc-mn10200.c: Likewise.
1860 * config/tc-mn10300.c: Likewise.
1861 * config/tc-moxie.c: Likewise.
1862 * config/tc-msp430.c: Likewise.
1863 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1864 * config/tc-ns32k.c: Likewise.
1865 * config/tc-or1k.c: Likewise.
1866 * config/tc-pdp11.c: Likewise.
1867 * config/tc-pj.c (fake_opcode): Likewise.
1868 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1869 (ppc_macro): Likewise.
1870 (ppc_dwsect): Likewise.
1871 (ppc_machine): Likewise.
1872 * config/tc-rl78.c (rl78_frag_init): Likewise.
1873 * config/tc-rx.c (rx_frag_init): Likewise.
1874 * config/tc-s390.c (s390_lit_suffix): Likewise.
1875 (s390_machine): Likewise.
1876 (s390_machinemode): Likewise.
1877 * config/tc-score.c (s3_insert_reg): Likewise.
1878 (s3_gen_reloc): Likewise.
1879 * config/tc-score7.c (s7_insert_reg): Likewise.
1880 (s7_gen_reloc): Likewise.
1881 * config/tc-tic30.c (tic30_operand): Likewise.
1882 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1883 * config/tc-tic54x.c (stag_add_field): Likewise.
1884 (tic54x_struct): Likewise.
1885 (tic54x_space): Likewise.
1886 (tic54x_field): Likewise.
1887 (tic54x_mlib): Likewise.
1888 (subsym_substitute): Likewise.
1889 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1890 * config/tc-vax.c: Likewise.
1891 * config/tc-xc16x.c: Likewise.
1892 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1893 (directive_push): Likewise.
1894 (xtensa_begin_directive): Likewise.
1895 (tokenize_arguments): Likewise.
1896 (xtensa_add_literal_sym): Likewise.
1897 (new_resource_table): Likewise.
1898 (resize_resource_table): Likewise.
1899 (emit_single_op): Likewise.
1900 (xtensa_create_trampoline_frag): Likewise.
1901 (xtensa_maybe_create_literal_pool_frag): Likewise.
1902 (xtensa_add_config_info): Likewise.
1903 (xtensa_realloc_fixup_cache): Likewise.
1904 (add_subseg_info): Likewise.
1905 (cache_literal_section): Likewise.
1906 (add_xt_block_frags): Likewise.
1907 (add_xt_prop_frags): Likewise.
1908 (init_op_placement_info_table): Likewise.
1909 (build_section_rename): Likewise.
1910 * config/tc-z80.c: Likewise.
1911 * config/tc-z8k.c: Likewise.
1912 * depend.c (register_dependency): Likewise.
1913 * dwarf2dbg.c (get_line_subseg): Likewise.
1914 (dwarf2_gen_line_info_1): Likewise.
1915 (get_filenum): Likewise.
1916 * ecoff.c (allocate_scope): Likewise.
1917 (allocate_vlinks): Likewise.
1918 (allocate_shash): Likewise.
1919 (allocate_thash): Likewise.
1920 (allocate_tag): Likewise.
1921 (allocate_forward): Likewise.
1922 (allocate_thead): Likewise.
1923 (allocate_lineno_list): Likewise.
1924 * expr.c (make_expr_symbol): Likewise.
1925 * hash.c (hash_new_sized): Likewise.
1926 * input-file.c (input_file_push): Likewise.
1927 * listing.c (file_info): Likewise.
1928 (listing_newline): Likewise.
1929 * macro.c (new_formal): Likewise.
1930 (define_macro): Likewise.
1931 * remap.c (add_debug_prefix_map): Likewise.
1932 * symbols.c (symbol_find_noref): Likewise.
1933 (define_dollar_label): Likewise.
1934 (fb_label_instance_inc): Likewise.
1935 (symbol_relc_make_value): Likewise.
1936
1937 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1938
1939 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1940 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1941 (ppc_znop): Likewise.
1942 (ppc_pe_section): Likewise.
1943 (ppc_frob_symbol): Likewise.
1944 * config/tc-tic30.c (tic30_operand): Likewise.
1945 * config/tc-tic4x.c (tic4x_sect): Likewise.
1946 (tic4x_usect): Likewise.
1947
1948 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1949
1950 * config/tc-alpha.c: Const qualify FLT_CHARS.
1951 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1952 * config/tc-cris.h: Likewise.
1953 * expr.c: Likewise.
1954 * config/tc-mmix.c (md_atof): Adjust comment.
1955 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1956 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1957
1958 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1959
1960 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1961 * config/tc-score7.c (s7_gen_reloc): Likewise.
1962
1963 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1964
1965 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1966 bfd_reloc_code_real_type.
1967
1968 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1969
1970 * config/bfin-parse.y (current_inputline): Remove definition.
1971 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1972
1973 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1974
1975 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1976 strings.
1977
1978 2016-04-02 Alan Modra <amodra@gmail.com>
1979
1980 PR 19896
1981 * read.c (assign_symbol): Consume rest of line after an error
1982 rather than continuing to process the line.
1983
1984 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1985
1986 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1987 (MAX_FLAG_NAME_LENGTH): ...this.
1988 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1989 * config/tc-arc.c (tokenize_flags): Likewise.
1990
1991 2016-04-01 Alan Modra <amodra@gmail.com>
1992
1993 * cgen.c (weak_operand_overflow_check): Return const char*.
1994 * messages.c (as_internal_value_out_of_range): Formatting.
1995 (as_warn_value_out_of_range): Consify prefix param.
1996 (as_bad_value_out_of_range): Likewise.
1997 * read.c (s_errwarn): Constify msg..
1998 (s_float_space, float_cons): ..and err.
1999 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2000 ieee_md_atof, vax_md_atof): Update prototypes.
2001 * tc.h (md_atof): Update prototype.
2002 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2003 * config/atof-vax.c (vax_md_atof): Likewise.
2004 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2005 * config/tc-aarch64.c (md_atof): Return const char*.
2006 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2007 (s_alpha_comm): Constify sec_name.
2008 (section_name): Constify.
2009 (s_alpha_section): Consify name..
2010 (alpha_elf_section_letter): ..and ptr_msg param..
2011 (md_atof): ..and return.
2012 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2013 * config/tc-arc.c (md_atof): Return const char*.
2014 * config/tc-arm.c (md_atof): Likewise.
2015 * config/tc-avr.c (md_atof): Likewise.
2016 * config/tc-bfin.c (md_atof): Likewise.
2017 * config/tc-cr16.c (md_atof): Likewise.
2018 * config/tc-cris.c (md_atof): Likewise.
2019 * config/tc-crx.c (md_atof): Likewise.
2020 * config/tc-d10v.c (md_atof): Likewise.
2021 * config/tc-d30v.c (md_atof): Likewise.
2022 * config/tc-dlx.c (md_atof): Likewise.
2023 * config/tc-epiphany.c (md_atof): Likewise.
2024 * config/tc-fr30.c (md_atof): Likewise.
2025 * config/tc-frv.c (md_atof): Likewise.
2026 * config/tc-ft32.c (md_atof): Likewise.
2027 * config/tc-h8300.c (md_atof): Likewise.
2028 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2029 (struct default_space_dict): Likewise.
2030 (create_new_space): Constify name param.
2031 (create_new_subspace): Likewise.
2032 (is_defined_space, is_defined_subspace): Likewise.
2033 (pa_parse_space_stmt): Constify space_name param.
2034 (md_atof): Return const char*.
2035 (pa_spaces_begin): Constify name.
2036 * config/tc-i370.c (md_atof): Return const char*.
2037 * config/tc-i386.c (md_atof): Likewise.
2038 (x86_64_section_letter): Constify ptr_msg param.
2039 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2040 * config/tc-i860.c (struct i860_it): Constify error.
2041 (md_atof): Return const char*.
2042 * config/tc-i960.c (md_atof): Likewise.
2043 * config/tc-ia64.c (md_atof): Likewise.
2044 (ia64_elf_section_letter): Constify ptr_msg param.
2045 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2046 * config/tc-ip2k.c (md_atof): Return const char*.
2047 * config/tc-iq2000.c (md_atof): Likewise.
2048 * config/tc-lm32.c (md_atof): Likewise.
2049 * config/tc-m32c.c (md_atof): Likewise.
2050 * config/tc-m32r.c (md_atof): Likewise.
2051 * config/tc-m68hc11.c (md_atof): Likewise.
2052 * config/tc-m68k.c (md_atof): Likewise.
2053 * config/tc-mcore.c (md_atof): Likewise.
2054 * config/tc-mep.c (md_atof): Likewise.
2055 (mep_elf_section_letter): Constify ptr_msg param.
2056 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2057 * config/tc-metag.c (md_atof): Return const char*.
2058 * config/tc-microblaze.c (md_atof): Likewise.
2059 * config/tc-microblaze.h (md_atof): Delete prototype.
2060 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2061 (md_atof): Return const char*.
2062 * config/tc-mmix.c (md_atof): Likewise.
2063 * config/tc-mn10200.c (md_atof): Likewise.
2064 * config/tc-mn10300.c (md_atof): Likewise.
2065 * config/tc-moxie.c (md_atof): Likewise.
2066 * config/tc-msp430.c (md_atof): Likewise.
2067 * config/tc-mt.c (md_atof): Likewise.
2068 * config/tc-nds32.c (md_atof): Likewise.
2069 * config/tc-nios2.c (md_atof): Likewise.
2070 (nios2_elf_section_letter): Constify ptr_msg param.
2071 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2072 * config/tc-ns32k.c (md_atof): Return const char*.
2073 * config/tc-or1k.c (md_atof): Likewise.
2074 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2075 (md_atof): Return const char*.
2076 * config/tc-pj.c (md_atof): Likewise.
2077 * config/tc-ppc.c (md_atof): Likewise.
2078 * config/tc-rl78.c (md_atof): Likewise.
2079 * config/tc-rx.c (md_atof): Likewise.
2080 * config/tc-s390.c (md_atof): Likewise.
2081 * config/tc-score.c (s3_atof, md_atof): Likewise.
2082 * config/tc-sh.c (md_atof): Likewise.
2083 * config/tc-sparc.c (struct sparc_it): Constify error.
2084 (md_atof): Return const char*.
2085 * config/tc-spu.c (md_atof): Likewise.
2086 * config/tc-tic30.c (md_atof): Likewise.
2087 * config/tc-tic4x.c (md_atof): Likewise.
2088 * config/tc-tic54x.c (md_atof): Likewise.
2089 * config/tc-tic6x.c (md_atof): Likewise.
2090 * config/tc-tilegx.c (md_atof): Likewise.
2091 * config/tc-tilepro.c (md_atof): Likewise.
2092 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2093 * config/tc-vax.c (md_atof): Likewise.
2094 * config/tc-visium.c (md_atof): Likewise.
2095 * config/tc-xc16x.c (md_atof): Likewise.
2096 * config/tc-xgate.c (md_atof): Likewise.
2097 * config/tc-xstormy16.c (md_atof): Likewise.
2098 * config/tc-xtensa.c (md_atof): Likewise.
2099 * config/tc-z80.c (md_atof): Likewise.
2100 * config/tc-z8k.c (md_atof): Likewise.
2101
2102 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2103
2104 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2105 const.
2106 (xtensa_section_rename): Make argument type const char *.
2107 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2108
2109 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2110
2111 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2112 args[0].
2113
2114 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2115
2116 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2117 char *.
2118 (m32c_indirect_operand): Likewise.
2119 * config/tc-nds32.c (do_pseudo_b): Likewise.
2120 (do_pseudo_bal): Likewise.
2121 (do_pseudo_ls_bhw): Likewise.
2122
2123 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2124
2125 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2126
2127 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2128
2129 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2130 get_symbol_name ().
2131 * config/tc-sparc.c (s_register): Cast a literal to char * in
2132 assignment.
2133
2134 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2135
2136 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2137 input_line_pointer.
2138 * config/tc-m32r.c (expand_debug_syms): Likewise.
2139 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2140 * config/tc-z80.c (md_begin): Likewise.
2141 * stabs.c (stabs_generate_asm_func): Likewise.
2142
2143 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2144
2145 * cgen.c: Modernize the way functions declare arguments.
2146 * config/tc-bfin.c: Likewise.
2147 * config/tc-pdp11.c: Likewise.
2148 * literal.c: Likewise.
2149 * read.c: Likewise.
2150 * stabs.c: Likewise.
2151
2152 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2153
2154 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2155 variables unsigned char[].
2156 * config/tc-alpha.c (alpha_handle_align): Likewise.
2157 * config/tc-arm.c (arm_handle_align): Likewise.
2158 * config/tc-z80.c: Likewise.
2159
2160 2016-03-30 Nick Clifton <nickc@redhat.com>
2161
2162 PR target/19880
2163 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2164 shifting.
2165
2166 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2167
2168 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2169 * testsuite/gas/elf/elf.exp: Likewise.
2170 * testsuite/gas/all/redef3.d: Allow execution for ARC.
2171
2172 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2173
2174 * testsuite/gas/arc/warn.exp: Fix matching pattern.
2175
2176 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2177
2178 * testsuite/gas/arc/ext2op.d: New file.
2179 * testsuite/gas/arc/ext2op.s: Likewise.
2180 * testsuite/gas/arc/ext3op.d: Likewise.
2181 * testsuite/gas/arc/ext3op.s: Likewise.
2182
2183 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2184
2185 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2186 qualifier.
2187 * config/tc-alpha.c (md_parse_option): Likewise.
2188 * config/tc-arc.c (md_parse_option): Likewise.
2189 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2190 (md_parse_option): Likewise.
2191 * config/tc-avr.c (md_parse_option): Likewise.
2192 * config/tc-bfin.c (md_parse_option): Likewise.
2193 * config/tc-cr16.c (md_parse_option): Likewise.
2194 * config/tc-cris.c (s_cris_arch): Likewise.
2195 (md_parse_option): Likewise.
2196 * config/tc-crx.c (md_parse_option): Likewise.
2197 * config/tc-d10v.c (md_parse_option): Likewise.
2198 * config/tc-d30v.c (md_parse_option): Likewise.
2199 * config/tc-dlx.c (md_parse_option): Likewise.
2200 * config/tc-epiphany.c (md_parse_option): Likewise.
2201 * config/tc-fr30.c (md_parse_option): Likewise.
2202 * config/tc-frv.c (md_parse_option): Likewise.
2203 * config/tc-ft32.c (md_parse_option): Likewise.
2204 * config/tc-h8300.c (md_parse_option): Likewise.
2205 * config/tc-hppa.c (md_parse_option): Likewise.
2206 * config/tc-i370.c (md_parse_option): Likewise.
2207 * config/tc-i386.c (md_parse_option): Likewise.
2208 * config/tc-i860.c (md_parse_option): Likewise.
2209 * config/tc-i960.c (md_parse_option): Likewise.
2210 * config/tc-ia64.c (md_parse_option): Likewise.
2211 * config/tc-ip2k.c (md_parse_option): Likewise.
2212 * config/tc-iq2000.c (md_parse_option): Likewise.
2213 * config/tc-lm32.c (md_parse_option): Likewise.
2214 * config/tc-m32c.c (md_parse_option): Likewise.
2215 * config/tc-m32r.c (md_parse_option): Likewise.
2216 * config/tc-m68hc11.c (md_parse_option): Likewise.
2217 * config/tc-m68k.c (md_parse_option): Likewise.
2218 * config/tc-mcore.c (md_parse_option): Likewise.
2219 * config/tc-mep.c (md_parse_option): Likewise.
2220 * config/tc-metag.c (struct metag_long_option): Likewise.
2221 (md_parse_option): Likewise.
2222 * config/tc-microblaze.c (md_parse_option): Likewise.
2223 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2224 * config/tc-mips.c (md_parse_option): Adjust.
2225 * config/tc-mmix.c (md_parse_option): Likewise.
2226 * config/tc-mn10200.c (md_parse_option): Likewise.
2227 * config/tc-mn10300.c (md_parse_option): Likewise.
2228 * config/tc-moxie.c (md_parse_option): Likewise.
2229 * config/tc-msp430.c (md_parse_option): Likewise.
2230 * config/tc-mt.c (md_parse_option): Likewise.
2231 * config/tc-nds32.c (md_parse_option): Likewise.
2232 * config/tc-nds32.h (nds32_parse_option): Likewise.
2233 * config/tc-nios2.c (md_parse_option): Likewise.
2234 * config/tc-ns32k.c (md_parse_option): Likewise.
2235 * config/tc-or1k.c (md_parse_option): Likewise.
2236 * config/tc-pdp11.c (md_parse_option): Likewise.
2237 * config/tc-pj.c (md_parse_option): Likewise.
2238 * config/tc-ppc.c (md_parse_option): Likewise.
2239 * config/tc-rl78.c (md_parse_option): Likewise.
2240 * config/tc-rx.c (md_parse_option): Likewise.
2241 * config/tc-s390.c (s390_parse_cpu): Likewise.
2242 * config/tc-score.c (md_parse_option): Likewise.
2243 * config/tc-sh.c (md_parse_option): Likewise.
2244 * config/tc-sparc.c (md_parse_option): Likewise.
2245 * config/tc-spu.c (md_parse_option): Likewise.
2246 * config/tc-tic30.c (md_parse_option): Likewise.
2247 * config/tc-tic4x.c (md_parse_option): Likewise.
2248 * config/tc-tic54x.c (md_parse_option): Likewise.
2249 * config/tc-tic6x.c (md_parse_option): Likewise.
2250 * config/tc-tilegx.c (md_parse_option): Likewise.
2251 * config/tc-tilepro.c (md_parse_option): Likewise.
2252 * config/tc-v850.c (md_parse_option): Likewise.
2253 * config/tc-vax.c (md_parse_option): Likewise.
2254 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2255 * config/tc-xc16x.c (md_parse_option): Likewise.
2256 * config/tc-xgate.c (md_parse_option): Likewise.
2257 * config/tc-xstormy16.c (md_parse_option): Likewise.
2258 * config/tc-xtensa.c (md_parse_option): Likewise.
2259 * config/tc-z80.c (md_parse_option): Likewise.
2260 * config/tc-z8k.c (md_parse_option): Likewise.
2261 * tc.h (md_parse_option): Likewise.
2262
2263 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2264
2265 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2266 * config/tc-hppa.c (fix_new_hppa): Likewise.
2267 (pa_vtable_entry): Likewise.
2268 (pa_vtable_inherit): Likewise.
2269 * config/tc-m68k.c (md_begin): Likewise.
2270
2271 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2272
2273 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2274 * config/obj-elf.h (obj_elf_section_name): Adjust.
2275 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2276 (aarch64_parse_cpu): Likewise.
2277 (aarch64_parse_arch): Likewise.
2278 * config/tc-arm.c (arm_parse_extension): Likewise.
2279 (arm_parse_cpu): Likewise.
2280 (arm_parse_arch): Likewise.
2281 * config/tc-nds32.c: Likewise.
2282 * config/xtensa-relax.c (parse_special_fn): Likewise.
2283 * stabs.c (generate_asm_file): Likewise.
2284
2285 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2286
2287 * config/tc-cr16.c (cr16_assemble): New function.
2288 (md_assemble): Call cr16_assemble.
2289
2290 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2291
2292 * as.c (parse_args): Adjust.
2293 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2294 * config/obj-elf.c (elf_frob_symbol): Adjust.
2295
2296 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2297
2298 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2299 registers to be in the 16..31 range.
2300
2301 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2302
2303 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2304 frag_var ().
2305
2306 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2307
2308 * config/tc-visium.c (md_atof): Localize the string returned on
2309 failure.
2310
2311 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2312
2313 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2314 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2315 * config/tc-m68hc11.c (md_begin): Likewise.
2316 (print_opcode_list): Likewise.
2317 * config/tc-msp430.c (msp430_section): Likewise.
2318 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2319 (s3_build_dependency_insn_hsh): Likewise.
2320 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2321 (s7_build_dependency_insn_hsh): Likewise.
2322 * config/tc-tic4x.c: Likewise.
2323 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2324 (subsym_get_arg): Likewise.
2325 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2326 (get_directive): Likewise.
2327 (cache_literal_section): Likewise.
2328 * config/xtensa-relax.c: Likewise.
2329 * symbols.c (symbol_create): Likewise.
2330 (local_symbol_make): Likewise.
2331 (symbol_relc_make_expr): Likewise.
2332
2333 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2334
2335 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2336 str.
2337
2338 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2339
2340 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2341 call with a switch.
2342
2343 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2344
2345 * config/tc-ia64.c (ia64_do_align): Remove.
2346 (ia64_cons_align): Call do_align () directly.
2347 (dot_proc): Likewise.
2348 (stmt_float_cons): Likewise.
2349
2350 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2351
2352 * listing.c (listing_message): Use XNEW style allocation macros.
2353 * read.c (read_a_source_file): Likewise.
2354 (read_symbol_name): Likewise.
2355 (s_mri_common): Likewise.
2356 (assign_symbol): Likewise.
2357 (s_reloc): Likewise.
2358 (emit_expr_with_reloc): Likewise.
2359 (s_incbin): Likewise.
2360 (s_include): Likewise.
2361 * sb.c (sb_build): Likewise.
2362 (sb_check): Likewise.
2363
2364 2016-03-22 Alan Modra <amodra@gmail.com>
2365
2366 * write.c (record_alignment): Revert 2016-02-18 change.
2367
2368 2016-03-22 Alan Modra <amodra@gmail.com>
2369
2370 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2371 (emit_jsrjmp, tc_gen_reloc): Likewise.
2372 * config/tc-i370.c (i370_macro): Likewise.
2373
2374 2016-03-22 Nick Clifton <nickc@redhat.com>
2375
2376 * configure: Regenerate.
2377
2378 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2379
2380 * testsuite/gas/arc/nps400-0.d: New file.
2381 * testsuite/gas/arc/nps400-0.s: New file.
2382 * testsuite/gas/arc/nps400-1.d: New file.
2383 * testsuite/gas/arc/nps400-1.s: New file.
2384
2385 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2386
2387 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2388 declarations to start of block. Reset code on all flags before
2389 attempting to match them. Handle multiple hits on the same flag.
2390 Handle flag class.
2391 * testsuite/gas/arc/asm-errors.d: New file.
2392 * testsuite/gas/arc/asm-errors.err: New file.
2393 * testsuite/gas/arc/asm-errors.s: New file.
2394
2395 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2396
2397 * config/tc-arc.c (cpu_types): Add nps400 entry.
2398 (check_zol): Handle nps400.
2399
2400 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2401
2402 * config/tc-arc.c (arc_select_cpu): Remove use of
2403 EF_ARC_CPU_GENERIC.
2404
2405 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2406
2407 * config/tc-arc.c (arc_target): Delay initialisation until
2408 arc_select_cpu.
2409 (arc_target_name): Likewise.
2410 (arc_features): Likewise.
2411 (arc_mach_type): Likewise.
2412 (cpu_types): Remove "all" entry.
2413 (arc_select_cpu): New function, most of the content is from...
2414 (md_parse_option): ... here. Call new arc_select_cpu.
2415 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2416
2417 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2418
2419 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2420 * testsuite/gas/arc/inline-data-2.d: New file.
2421
2422 2016-03-21 Nick Clifton <nickc@redhat.com>
2423
2424 * atof-generic.c: Replace use of alloca with call to xmalloc.
2425 * cgen.c: Likewise.
2426 * dwarf2dbg.c: Likewise.
2427 * macro.c: Likewise.
2428 * remap.c: Likewise.
2429 * stabs.c: Likewise.
2430 * symbols.c: Likewise.
2431 * config/obj-elf.c: Likewise.
2432 * config/tc-aarch64.c: Likewise.
2433 * config/tc-arc.c: Likewise.
2434 * config/tc-arm.c: Likewise.
2435 * config/tc-avr.c: Likewise.
2436 * config/tc-ia64.c: Likewise.
2437 * config/tc-mips.c: Likewise.
2438 * config/tc-msp430.c: Likewise.
2439 * config/tc-nds32.c: Likewise.
2440 * config/tc-ppc.c: Likewise.
2441 * config/tc-sh.c: Likewise.
2442 * config/tc-tic30.c: Likewise.
2443 * config/tc-tic54x.c: Likewise.
2444 * config/tc-xstormy16.c: Likewise.
2445 * config/te-vms.c: Likewise.
2446 * configure: Regenerate.
2447
2448 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2449
2450 * tc-i386.c (f32_1): Change type to unsigned char[].
2451 (f32_2): Likewise.
2452 (f32_3): Likewise.
2453 (f32_4): Likewise.
2454 (f32_5): Likewise.
2455 (f32_6): Likewise.
2456 (f32_7): Likewise.
2457 (f32_8): Likewise.
2458 (f32_9): Likewise.
2459 (f32_10): Likewise.
2460 (f32_11): Likewise.
2461 (f32_12): Likewise.
2462 (f32_13): Likewise.
2463 (f32_14): Likewise.
2464 (f16_3): Likewise.
2465 (f16_4): Likewise.
2466 (f16_5): Likewise.
2467 (f16_6): Likewise.
2468 (f16_7): Likewise.
2469 (f16_8): Likewise.
2470 (jump_31): Likewise.
2471 (f32_patt): Likewise.
2472 (f16_patt): Likewise.
2473 (alt_3): Likewise.
2474 (alt_4): Likewise.
2475 (alt_5): Likewise.
2476 (alt_6): Likewise.
2477 (alt_7): Likewise.
2478 (alt_8): Likewise.
2479 (alt_9): Likewise.
2480 (alt_10): Likewise.
2481 (alt_patt): Likewise.
2482
2483 2016-03-18 Nick Clifton <nickc@redhat.com>
2484
2485 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2486 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2487 .tlsdescldr and .xword directives.
2488
2489 PR target/19721
2490 * testsuite/gas/aarch64/pr19721.s: New test source file.
2491 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2492
2493 * doc/as.texinfo: Place the target specific command line options
2494 into their own man page section.
2495
2496 2016-03-16 Jiong Wang <jiong.wang@arm.com>
2497
2498 * config/tc-arm.c (N_S_32): New.
2499 (N_F_16_32): Likewise.
2500 (N_SUF_32): Support N_F16.
2501 (N_IF_32): Likewise.
2502 (neon_dyadic_misc): Likewise.
2503 (do_neon_cmp): Likewise.
2504 (do_neon_cmp_inv): Likewise.
2505 (do_neon_mul): Likewise.
2506 (do_neon_fcmp_absolute): Likewise.
2507 (do_neon_step): Likewise.
2508 (do_neon_abs_neg): Likewise.
2509 (CVT_FLAVOR_VAR): Likewise.
2510 (do_neon_cvt_1): Likewise.
2511 (do_neon_recip_est): Likewise.
2512 (do_vmaxnm): Likewise.
2513 (do_vrint_1): Likewise.
2514 (neon_check_type): Check architecture support for FP16 extension.
2515 (insns): Update comments.
2516 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2517 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2518 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2519 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2520 arm mode.
2521 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2522 thumb mode.
2523 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2524 error file.
2525
2526 2016-03-16 Nick Clifton <nickc@redhat.com>
2527
2528 * read.c (emit_expr_with_reloc): Add code check a bignum with
2529 nbytes == 1.
2530 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2531 other than 32-bits.
2532 * testsuite/gas/elf/bignum.s: New test source file.
2533 * testsuite/gas/elf/bignum.d: New test driver file.
2534 * testsuite/gas/elf/elf.exp: Run the new test.
2535
2536 2016-03-15 Ulrich Drepper <drepper@gmail.com>
2537
2538 * doc/c-i386.texi (Register Naming): Update to details of the
2539 latest architecture version.
2540
2541 2016-03-10 Mickael Guene <mickael.guene@st.com>
2542
2543 PR gas/19744
2544 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2545 (do_mov): Likewise.
2546 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2547 (do_t_mov_cmp): Likewise.
2548 (do_t_add_sub): Protect against bad relocations usage.
2549 (do_t_mov_cmp): Likewise.
2550 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2551 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2552 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2553 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
2554
2555 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2556
2557 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2558 do_alignment.
2559 (do_neon_ld_st_lane): Likewise.
2560 (do_neon_ld_dup): Likewise.
2561
2562 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2563
2564 * testsuite/gas/arc/inline-data-1.d: New file.
2565 * testsuite/gas/arc/inline-data-1.s: New file.
2566
2567 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2568
2569 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2570 * doc/c-arm.texi: Add cortex-r8.
2571
2572 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2573
2574 * config/tc-arc.c: Add const qualifiers.
2575 * config/tc-h8300.c (md_begin): Likewise.
2576 * config/tc-ia64.c (print_prmask): Likewise.
2577 * config/tc-msp430.c (msp430_operands): Likewise.
2578 * config/tc-nds32.c (struct suffix_name): Likewise.
2579 (struct nds32_parse_option_table): Likewise.
2580 (struct nds32_set_option_table): Likewise.
2581 (do_pseudo_pushpopm): Likewise.
2582 (do_pseudo_pushpop_stack): Likewise.
2583 (nds32_relax_relocs): Likewise.
2584 (nds32_flag): Likewise.
2585 (struct nds32_hint_map): Likewise.
2586 (nds32_find_reloc_table): Likewise.
2587 (nds32_match_hint_insn): Likewise.
2588 * config/tc-s390.c: Likewise.
2589 * config/tc-sh.c (get_specific): Likewise.
2590 * config/tc-tic30.c: Likewise.
2591 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2592 (tic4x_indirect_parse): Likewise.
2593 * config/tc-vax.c (vax_cons): Likewise.
2594 * config/tc-z80.c (struct reg_entry): Likewise.
2595 * config/tc-epiphany.c (md_assemble): Adjust.
2596 (epiphany_assemble): New function.
2597 (epiphany_elf_section_rtn): Call do_align directly.
2598 (epiphany_elf_section_text): Likewise.
2599 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2600 (ip2k_elf_section_text): Likewise.
2601 * read.c (do_align): Make it not static.
2602 * read.h (do_align): New prototype.
2603
2604 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2605
2606 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2607 for ARMv8.1 AdvSIMD use.
2608 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2609 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2610
2611 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2612
2613 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2614 feature.
2615 (record_feature_use): New.
2616 (mark_feature_used): Use record_feature_use.
2617 (do_neon_qrdmlah): New.
2618 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2619 variants.
2620 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2621 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2622 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2623 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2624 Make source file explicit.
2625 * testsuite/gas/arm/armv8-a+rdma.l: New.
2626 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2627 directives. Fix white-space.
2628 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2629
2630 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2631
2632 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2633
2634 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2635 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2636
2637 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2638 (tc_arc_fix_adjustable): Changed default return value to 1.
2639 * testsuite/gas/arc/j.d: Updated expected symbol
2640 * testsuite/gas/arc/jl.d: Likewise
2641 * testsuite/gas/arc/relax-avoid1.d: Likewise
2642 * testsuite/gas/arc/st.d: Likewise
2643
2644 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2645
2646 * config/tc-arc.c: Enable code density instructions for ARC EM.
2647
2648 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2649
2650 PR ld/19645
2651 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2652 for ELF assemblers.
2653 * as.c (flag_use_elf_stt_common): New.
2654 (show_usage): Add --elf-stt-common=.
2655 (option_values): Add OPTION_ELF_STT_COMMON.
2656 (std_longopts): Add --elf-stt-common=.
2657 (parse_args): Handle --elf-stt-common=.
2658 * as.h (flag_use_elf_stt_common): New.
2659 * config.in: Regenerated.
2660 * configure: Likewise.
2661 * configure.ac: Add --enable-elf-stt-common and define
2662 DEFAULT_GENERATE_ELF_STT_COMMON.
2663 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2664 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2665 * doc/as.texinfo: Document --elf-stt-common=.
2666 * testsuite/gas/elf/common3.s: New file.
2667 * testsuite/gas/elf/common3a.d: Likewise.
2668 * testsuite/gas/elf/common3b.d: Likewise.
2669 * testsuite/gas/elf/common4.s: Likewise.
2670 * testsuite/gas/elf/common4a.d: Likewise.
2671 * testsuite/gas/elf/common4b.d: Likewise.
2672 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2673 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2674 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2675 and common4b.
2676 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2677 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2678 --elf-stt-common=no to as.
2679 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2680 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2681 --elf-stt-common=no to as.
2682 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2683 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2684 of dw2-compress-3 and dw2-compressed-3.
2685
2686 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2687
2688 * as.c (select_emulation_mode): Add const qualifiers.
2689 * as.h: Likewise.
2690 * config/bfin-defs.h: Likewise.
2691 * config/bfin-parse.y: Likewise.
2692 * config/rx-parse.y: Likewise.
2693 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2694 (struct aarch64_cpu_option_table): Likewise.
2695 (struct aarch64_arch_option_table): Likewise.
2696 (struct aarch64_option_cpu_value_table): Likewise.
2697 (struct aarch64_long_option_table): Likewise.
2698 (struct aarch64_option_abi_value_table): Likewise.
2699 * config/tc-arm.c (struct reloc_entry): Likewise.
2700 (tc_gen_reloc): Likewise.
2701 (struct arm_option_table): Likewise.
2702 (struct arm_legacy_option_table): Likewise.
2703 (struct arm_cpu_option_table): Likewise.
2704 (struct arm_arch_option_table): Likewise.
2705 (struct arm_option_extension_value_table): Likewise.
2706 (struct arm_option_fpu_value_table): Likewise.
2707 (struct arm_option_value_table): Likewise.
2708 (struct arm_long_option_table): Likewise.
2709 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2710 (struct mcu_type_s): Likewise.
2711 (struct exp_mod_s): Likewise.
2712 (avr_operand): Likewise.
2713 (avr_operands): Likewise.
2714 * config/tc-d10v.c (md_begin): Likewise.
2715 * config/tc-dlx.c: Likewise.
2716 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2717 * config/tc-ft32.c (parse_condition): Likewise.
2718 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2719 * config/tc-hppa.c (pa_ip): Likewise.
2720 (hppa_regname_to_dw2regnum): Likewise.
2721 * config/tc-i370.c (i370_elf_suffix): Likewise.
2722 * config/tc-i960.c (struct tabentry): Likewise.
2723 * config/tc-m32r.c: Likewise.
2724 * config/tc-m68k.c: Likewise.
2725 * config/tc-m68k.h: Likewise.
2726 * config/tc-mcore.c (parse_psrmod): Likewise.
2727 * config/tc-metag.c (struct metag_core_option): Likewise.
2728 (struct metag_long_option): Likewise.
2729 * config/tc-microblaze.c: Likewise.
2730 * config/tc-mips.c (macro): Likewise.
2731 * config/tc-mn10200.c: Likewise.
2732 * config/tc-mn10300.c: Likewise.
2733 * config/tc-msp430.c (struct rcodes_s): Likewise.
2734 (struct hcodes_s): Likewise.
2735 (md_parse_option): Likewise.
2736 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2737 (optlist): Likewise.
2738 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2739 (tc_ppc_regname_to_dw2regnum): Likewise.
2740 * config/tc-ppc.h: Likewise.
2741 * config/tc-rl78.c: Likewise.
2742 * config/tc-rx.c (struct cpu_type): Likewise.
2743 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2744 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2745 (sparc_ip): Likewise.
2746 * config/tc-spu.c (insn_fmt_string): Likewise.
2747 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2748 * config/tc-v850.c: Likewise.
2749 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2750 (struct visium_long_option_table): Likewise.
2751 * config/tc-xgate.c: Likewise.
2752 * config/tc-z8k.c: Likewise.
2753 * read.c (add_include_dir): Likewise.
2754 * read.h: Likewise.
2755
2756 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2757
2758 * testsuite/gas/all/gas.exp: Change target pattern to cover
2759 arceb-*.
2760 * testsuite/gas/all/redef3.d: Likewise.
2761 * testsuite/gas/elf/elf.exp: Likewise.
2762
2763 2016-02-24 Renlin Li <renlin.li@arm.com>
2764
2765 * config/tc-arm.c (BAD_FP16): New error message macro.
2766 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2767 fp16 scalar instructions.
2768 (neon_check_type): Allow different size from key.
2769 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2770 (try_vfp_nsyn): Likewise.
2771 (do_vfp_nsyn_mla_mls): Likewise.
2772 (do_vfp_nsyn_fma_fms): Likewise.
2773 (do_vfp_nsyn_ldm_stm): Likewise
2774 (do_vfp_nsyn_sqrt): Likewise
2775 (do_vfp_nsyn_div): Likewise
2776 (do_vfp_nsyn_nmul): Likewise.
2777 (do_vfp_nsyn_cmp): Likewise.
2778 (do_neon_shll): Likewise.
2779 (do_vfp_nsyn_cvt_fpv8): Likewise.
2780 (do_neon_cvttb_2): Likewise.
2781 (do_neon_mov): Likewise.
2782 (do_neon_rshift_round_imm): Likewise.
2783 (do_neon_ldr_str): Likewise.
2784 (do_vfp_nsyn_fpv8): Likewise.
2785 (do_vmaxnm): Likewise.
2786 (do_vrint_1): Likewise.
2787 (insns): New entry for vins, vmovx.
2788 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2789 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2790 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2791 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2792 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2793 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2794 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2795
2796 2016-02-24 Renlin Li <renlin.li@arm.com>
2797
2798 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2799 (neon_shape_class): New SC_HALF.
2800 (neon_shape_el): New SE_H.
2801 (neon_shape_el_size): New size for SE_H.
2802 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2803 (neon_select_shape): Add SE_H support code.
2804 (el_type_of_type_chk): Use N_F_ALL.
2805 (do_vfp_nsyn_cvt): Add SE_H shape support.
2806 (do_neon_cvtz): Likewise.
2807 (do_neon_cvt_1): Likewise.
2808 (do_neon_cvttb_1): Likewise.
2809
2810 2016-02-24 Renlin Li <renlin.li@arm.com>
2811
2812 * testsuite/gas/arm/copro.d: Adjust output.
2813 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2814
2815 2016-02-24 Renlin Li <renlin.li@arm.com>
2816
2817 * testsuite/gas/arm/mask_1.d: New.
2818 * testsuite/gas/arm/mask_1.s: New.
2819
2820 2016-02-24 Renlin Li <renlin.li@arm.com>
2821
2822 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2823 * testsuite/gas/arm/copro.d: Update.
2824
2825 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2826
2827 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2828 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2829
2830 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2831
2832 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2833
2834 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2835
2836 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2837 hpux.
2838
2839 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2840
2841 * output-file.c (output_file_create): Make file name argument const.
2842 (output_file_close): Likewise.
2843 * output-file.h (output_file_create): Adjust.
2844 (output_file_close): Likewise.
2845 * depend.c (quote_string_for_make): Make src argument const char *.
2846 (register_dependency): Likewise.
2847 (wrap_output): Likewise.
2848 * as.h (register_dependency): Adjust.
2849 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2850 as_where ();
2851 * symbols.c (S_SET_EXTERNAL): Likewise.
2852 * input-scrub.c (as_where): Return the file name.
2853 * as.h (as_where): Adjust prototype.
2854 * app.c (do_scrub_chars): Adjust.
2855 * cond.c (s_elseif): Likewise.
2856 (s_else): Likewise.
2857 (initialize_cframe): Likewise.
2858 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2859 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2860 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2861 * config/tc-aarch64.c (output_info): Likewise.
2862 * config/tc-ia64.c (md_assemble): Likewise.
2863 (dot_alias): Likewise.
2864 * config/tc-m68k.c (m68k_frob_label): Likewise.
2865 * config/tc-mmix.c (s_bspec): Likewise.
2866 (mmix_handle_mmixal): Likewise.
2867 * config/tc-rx.c (rx_include): Likewise.
2868 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2869 (tic54x_adjust_symtab): Likewise.
2870 * config/tc-xtensa.c (directive_push): Likewise.
2871 (xtensa_sanity_check): Likewise.
2872 (xtensa_relax_frag): Likewise.
2873 (md_convert_frag): Likewise.
2874 (tinsn_to_slotbuf): Likewise.
2875 * dwarf2dbg.c (dwarf2_where): Likewise.
2876 * ecoff.c (add_file): Likewise.
2877 (ecoff_generate_asm_lineno): Likewise.
2878 * expr.c (make_expr_symbol): Likewise.
2879 * frags.c (frag_new): Likewise.
2880 (frag_var_init): Likewise.
2881 * listing.c (listing_newline): Likewise.
2882 * messages.c (identify): Likewise.
2883 (as_show_where): Likewise.
2884 (as_warn_internal): Likewise.
2885 (as_bad_internal): Likewise.
2886 * read.c (s_irp): Likewise.
2887 (s_macro): Likewise.
2888 (s_reloc): Likewise.
2889 * stabs.c (stabs_generate_asm_file): Likewise.
2890 (stabs_generate_asm_lineno): Likewise.
2891 (stabs_generate_asm_func): Likewise.
2892 * write.c (fix_new_internal): Likewise.
2893 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2894 (as_warn_value_out_of_range): Adjust prototype.
2895 (as_bad_value_out_of_range): Adjust prototype.
2896 * messages.c (identify): Make file name argument const char *.
2897 (as_warn_internal): Likewise.
2898 (as_warn_where): Likewise.
2899 (as_bad_internal): Likewise.
2900 (as_bad_where): Likewise.
2901 (as_internal_value_out_of_range): Likewise.
2902 (as_warn_value_out_of_range): Likewise.
2903 (as_bad_value_out_of_range): Likewise.
2904 * as.h (found_comment_file): Change type to const char *.
2905 * cond.c (file_line::file): Likewise.
2906 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2907 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2908 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2909 * config/tc-aarch64.c (output_info): Likewise.
2910 * config/tc-alpha.c (insert_operand): Likewise.
2911 * config/tc-arc.c (insert_operand): Likewise.
2912 * config/tc-d30v.c (check_size): Likewise.
2913 * config/tc-ia64.c (struct alias): Likewise.
2914 * config/tc-m68k.c (struct label_line): Likewise.
2915 * config/tc-mcore.c (md_apply_fix): Likewise.
2916 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2917 * config/tc-mips.c (mips16_immed): Likewise.
2918 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2919 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2920 * config/tc-rx.c (rx_include): Likewise.
2921 * config/tc-s390.c (s390_insert_operand): Likewise.
2922 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2923 (tic54x_adjust_symtab): Likewise.
2924 * config/tc-tilegx.c (insert_operand): Likewise.
2925 (apply_special_operator): Likewise.
2926 * config/tc-tilepro.c (insert_operand): Likewise.
2927 * config/tc-xtensa.c (directive_push): Likewise.
2928 * ecoff.c (add_file): Likewise.
2929 (ecoff_generate_asm_lineno): Likewise.
2930 * listing.c (listing_newline): Likewise.
2931 * read.c (s_irp): Likewise.
2932 * write.c (install_reloc): Likewise.
2933 * write.h (struct fix): Likewise.
2934 * input-file.c (file_name): Change type to const char *.
2935 (saved_file::file_name): Likewise.
2936 (input_file_open): Change type of argument to const char *.
2937 * input-file.h (input_file_open): Adjust.
2938 * input-scrub.c (logical_input_file): change type to const char *.
2939 (physical_input_file): Likewise.
2940 (struct input_save): Adjust.
2941 (input_scrub_push): Adjust.
2942 (input_scrub_begin): Adjust.
2943 (as_where): Adjust.
2944 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2945 (input_scrub_include_file): Likewise.
2946 (new_logical_line_flags): Likewise.
2947 (new_logical_line): Likewise.
2948 * as.h: Adjust.
2949 * frags.h (struct frag): Change type of fr_file to const char *.
2950 * expr.c (expr_symbol_where): Change type of file argument to
2951 const char **.
2952 * expr.h (expr_symbol_where): Likewise.
2953 * config/tc-i370.c (md_apply_fix): adjust.
2954 * config/tc-mmix.c (mmix_md_end): Likewise.
2955 * config/tc-ppc.c (md_apply_fix): Likewise.
2956 * config/tc-s390.c (md_apply_fix): Likewise.
2957 * symbols.c (report_op_error): Likewise.
2958 (resolve_symbol_value): Likewise.
2959 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2960 (rsrc::file): Likewise.
2961 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2962 const char *.
2963 (xtensa_relax_frag): Likewise.
2964 (md_convert_frag): Likewise.
2965 (tinsn_to_slotbuf): Likewise.
2966 * expr.c (expr_symbol_line): Likewise.
2967 * macro.c (define_macro): Likewise.
2968 * macro.h (macro_struct): Likewise.
2969 * messages.c (as_show_where): Likewise.
2970 * read.c (s_macro): Likewise.
2971 * stabs.c (stabs_generate_asm_file): Likewise.
2972 (generate_asm_file): Likewise.
2973 (stabs_generate_asm_lineno): Likewise.
2974 * write.h (struct reloc_list): Likewise.
2975 * input-scrub.c (as_where): Change return type to const char *.
2976 * as.h (as_wheree): Adjust.
2977
2978 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2979
2980 * write.c (compress_debug): Move BFD compression bits setting
2981 to ...
2982 (write_object_file): Here.
2983
2984 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2985
2986 * config/tc-i386.c (register_number): Check RegVRex.
2987 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2988 with %zmm19 and %zmm3.
2989 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2990 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2991
2992 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2993 Jiong Wang <jiong.wang@arm.com>
2994
2995 * config/tc-arm.c (arm_ext_fp16): New.
2996 (arm_extensions): New entry for "fp16".
2997
2998 2016-02-19 Nick Clifton <nickc@redhat.com>
2999
3000 PR 19630
3001 * read.c (read_a_source_file): Check for assemble_one returning
3002 with input_line_pointer set to NULL.
3003
3004 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3005
3006 * listing.c (rebuffer_line): Change return type to void.
3007
3008 * symbols.c (decode_local_label_name): Make type a const char *.
3009 * listing.c (print_source): Make type of p const char *.
3010 (print_line): Make type of string const char *.
3011 (buffer_line): Return const char *.
3012 (title): Make type const char *.
3013 (subtitle): Likewise.
3014 (listing_listing): Make type of p const char *.
3015 * messages.c (as_internal_value_out_of_range): Make type of prefix
3016 const char *.
3017 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3018 and string const char *.
3019 * read.c (_bfd_rel): Make type of name const char *.
3020 * app.c (out_string): Change type to const char *.
3021 (struct app_save::out_string): Likewise.
3022
3023 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3024 Nick Clifton <nickc@redhat.com>
3025
3026 * read.c (finish_bundle): Avoid recording a negative alignment.
3027 (do_align): Use unsigned values for n, len and max. Only create
3028 a frag if the alignment requirement is greater than the minimum
3029 byte alignment. Avoid recording a negative alignment.
3030 (s_align): Use unsigned values where appropriate.
3031 (bss_alloc): Use an unsigned value for the alignment.
3032 (sizeof_sleb128): Add a comment noting that we encode one octet
3033 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3034 (emit_leb129_expr): Abort if the emitted encoding was longer than
3035 expected.
3036 * read.h (output_leb128): Update prototype.
3037 (sizeof_leb128): Update prototype.
3038 (bss_alloc): Update prototype.
3039 * write.c (record_alignment): Use an unsigned value for the
3040 alignment. Do not record alignments less than the minimum
3041 alignment for a byte.
3042 * write.h (record_alignment): Update prototype.
3043
3044 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3045
3046 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3047 .init.literal/.fini.literal section name.
3048 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3049 list of xtensa tests.
3050 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3051 init-fini-literals test result patterns.
3052 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3053 init-fini-literals test.
3054
3055 2016-02-17 Nick Clifton <nickc@redhat.com>
3056
3057 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3058 devices.csv file as of March 2016.
3059
3060 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3061
3062 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3063 function.
3064 (tc_arc_regname_to_dw2regnum): Likewise.
3065 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3066 (tc_cfi_frame_initial_instructions): Likewise.
3067 (tc_regname_to_dw2regnum): Likewise.
3068 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3069 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3070 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3071
3072 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3073
3074 * doc/internals.texi (S_IS_EXTERN): Remove.
3075
3076 2016-02-16 Nick Clifton <nickc@redhat.com>
3077
3078 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3079 update.
3080
3081 2016-02-16 Renlin Li <renlin.li@arm.com>
3082
3083 PR gas/19620
3084 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3085 * testsuite/gas/aarch64/movw_label.d: New.
3086 * testsuite/gas/aarch64/movw_label.s: New.
3087
3088 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3089
3090 PR gas/19556
3091 * config/rx-parse.y (MOV): Opcode generation for index
3092 register addressing mode.
3093 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3094 * testsuite/gas/rx/pr19665.s: New file.
3095 * testsuite/gas/rx/pr19665.s: New file.
3096 * testsuite/gas/rx/mov.d: Update expected output.
3097
3098 2016-02-15 Nick Clifton <nickc@redhat.com>
3099
3100 * doc/as.texinfo (.section): Document that numeric values can now
3101 be used for the flags and type fields of the ELF target's .section
3102 directive. Add notes about the restrictions on setting flags and
3103 types.
3104 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3105 to be given processor specific section types. Allow processor and
3106 application specific flags of a section to be set after
3107 definition.
3108 (obj_elf_parse_section_letters): Handle parsing numeric values.
3109 (obj_elf_section_type): Handle parsing numeric values.
3110 (obj_elf_section): Allow numeric type values.
3111 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3112 * testsuite/gas/elf/section10.d: New test.
3113 * testsuite/gas/elf/section10.s: Source file for new test.
3114 * testsuite/gas/elf/elf.exp: Run the new test.
3115 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3116 the description of the flags produced by readelf.
3117 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3118 * NEWS: Mention the new feature.
3119
3120 2016-02-11 Nick Clifton <nickc@redhat.com>
3121
3122 PR gas/19614
3123 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3124 until it is actually used.
3125 (cfi_set_sections): Set cfi_sections_set to true.
3126 (dot_cfi_startproc): Likewise.
3127 (dot_cfi_endproc): Likewise.
3128 (dot_cfi_fde_data): Likewise.
3129 (cfi_finish): Likewise.
3130 (dot_cfi_sections): Do not set cfi_sections_set.
3131 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3132 their own cfi section name. Also note that the directive can be
3133 reissued provided that CFI generation has not started.
3134 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3135 .cfi_endproc directives so that the redefinition of .cfi_sections
3136 will trigger the generation of the error message.
3137 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3138 number of error message.
3139
3140 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3141 Janek van Oirschot <jvanoirs@synopsys.com>
3142
3143 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3144 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3145 Define.
3146 (arc_flags, arc_relax_type): New structure.
3147 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3148 (RELAX_TABLE_ENTRY_MAX): New define.
3149 (relaxation_state, md_relax_table, arc_relaxable_insns)
3150 (arc_num_relaxable_ins): New variable.
3151 (rlx_operand_type, arc_rlx_types): New enums.
3152 (arc_relaxable_ins): New structure.
3153 (OPTION_RELAX): New option.
3154 (arc_insn): New relax member.
3155 (arc_flags): Remove.
3156 (relax_insn_p): New function.
3157 (apply_fixups): Likewise.
3158 (relaxable_operand): Likewise.
3159 (may_relax_expr): Likewise.
3160 (relaxable_flag): Likewise.
3161 (arc_pcrel_adjust): Likewise.
3162 (md_estimate_size_before_relax): Implement.
3163 (md_convert_frag): Likewise.
3164 (md_parse_option): Handle new mrelax option.
3165 (md_show_usage): Likewise.
3166 (assemble_insn): Set relax member.
3167 (emit_insn0): New function.
3168 (emit_insn1): Likewise.
3169 (emit_insn): Handle relaxation case.
3170 * NEWS: Mention the new relaxation option.
3171 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3172 * doc/as.texinfo (Target ARC Options): Likewise.
3173 * testsuite/gas/arc/relax-avoid1.d: New file.
3174 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3175 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3176 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3177 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3178 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3179 * testsuite/gas/arc/relax-b.d: Likewise.
3180 * testsuite/gas/arc/relax-b.s: Likewise.
3181
3182 2016-02-08 Nick Clifton <nickc@redhat.com>
3183
3184 * config/tc-ia64.c (dot_prologue): Fix formatting.
3185
3186 2016-02-04 Nick Clifton <nickc@redhat.com>
3187
3188 * config/obj-elf.c (obj_elf_change_section): Remove support for
3189 ARM NOREAD sections.
3190 * config/tc-arm.c (arm_elf_section_letter): Delete.
3191 * config/tc-arm.h (md_elf_section_letter): Delete.
3192 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3193 * testsuite/gas/arm/section-execute-only.d: Delete.
3194 * testsuite/gas/arm/section-execute-only.s: Delete.
3195
3196 2016-02-04 Nick Clifton <nickc@redhat.com>
3197
3198 PR target/19561
3199 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3200 to handle encoding of RRUX instruction.
3201 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3202 shift instructions.
3203 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3204
3205 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3206
3207 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3208 substitutions for BFD_RELOC_* as unsigned.
3209 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3210 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3211 * testsuite/gas/xtensa/loc.s: New file: loc test.
3212
3213 2016-02-03 Kevin Buettner <kevinb@redhat.com>
3214
3215 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3216
3217 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3218
3219 PR gas/19520
3220 * NEWS: Mention new command line option -mrelax-relocations and
3221 new configure option --enable-x86-relax-relocations for x86
3222 target.
3223 * config.in: Regenerated.
3224 * configure.ac: Add --enable-x86-relax-relocations.
3225 (ac_default_x86_relax_relocations): New. Default to 1 except
3226 for x86 Solaris targets older than Solaris 12.
3227 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3228 * configure: Likewise.
3229 * config/tc-i386.c (generate_relax_relocations): New.
3230 (OPTION_MRELAX_RELOCATIONS): Likewise.
3231 (output_disp): Don't generate relax relocations if
3232 generate_relax_relocations is 0.
3233 (md_longopts): Add -mrelax-relocations.
3234 (md_show_usage): Likewise.
3235 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3236 * doc/c-i386.texi: Document -mrelax-relocations=.
3237 * testsuite/gas/i386/got-no-relax.d: New file.
3238 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3239 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3240 * testsuite/gas/i386/localpic.d: Likewise.
3241 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3242 * testsuite/gas/i386/reloc32.d: Likewise.
3243 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3244 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3245 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3246 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3247 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3248 x86-64-gotpcrel-no-relax.
3249
3250 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3251
3252 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3253 for x86 target.
3254
3255 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3256
3257 * NEWS: Remove duplicated marker for 2.26.
3258
3259 2016-02-02 Renlin Li <renlin.li@arm.com>
3260
3261 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3262
3263 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3264
3265 * testsuite/gas/ip2k/allinsn.d: New file.
3266 * testsuite/gas/ip2k/allinsn.s: New file.
3267 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3268
3269 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3270
3271 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3272 some load instructions.
3273 * testsuite/gas/epiphany/allinsn.d: Likewise.
3274 * testsuite/gas/epiphany/regression.d: Likewise.
3275
3276 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3277
3278 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3279 suffixes from instruction mnemonics in expected output.
3280 * testsuite/gas/epiphany/allinsn.d: Likewise.
3281 * testsuite/gas/epiphany/regression.d: Likewise.
3282 * testsuite/gas/epiphany/sample.d: Likewise.
3283
3284 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3285
3286 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3287 names.
3288 * testsuite/gas/epiphany/allinsn.d: Likewise.
3289 * testsuite/gas/epiphany/sample.d: Likewise.
3290
3291 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3292
3293 * testsuite/gas/epiphany/sample.d: Update expected output.
3294
3295 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3296
3297 * config/tc-arc.c (md_apply_fix): Allow addendum.
3298 (arc_reloc_op): Allow complex expressions for tpoff.
3299 (md_apply_fix): Handle resolved TLS local symbol.
3300 * testsuite/gas/arc/tls-relocs1.d: New file.
3301 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3302
3303 2016-02-01 Loria <Loria@phantasia.org>
3304
3305 PR target/19311
3306 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3307 efficiency and avoid an LLVM loop optimization bug.
3308
3309 2016-02-01 Nick Clifton <nickc@redhat.com>
3310
3311 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3312 message extending a negative 32-bit value into a larger signed
3313 value on a 32-bit host.
3314
3315 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3316
3317 PR gas/19532
3318 * configure.ac (compressed_debug_sections): Replace == with =.
3319 * configure: Regenerated.
3320
3321 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3322 H.J. Lu <hongjiu.lu@intel.com>
3323
3324 * config/tc-i386.c (avoid_fence): New.
3325 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3326 is true.
3327 (OPTION_FENCE_AS_LOCK_ADD): New.
3328 (md_longopts): Add -mfence-as-lock-add.
3329 (md_parse_option): Handle -mfence-as-lock-add.
3330 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3331 * doc/c-i386.texi (-mfence-as-lock-add): Document.
3332 * testsuite/gas/i386/i386.exp: Run new tests.
3333 * testsuite/gas/i386/fence-as-lock-add.s: New.
3334 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3335 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3336 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3337 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
3338
3339 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3340
3341 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3342 * configure: Regenerated.
3343
3344 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3345
3346 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3347 (OPTION_MOMIT_LOCK_PREFIX): This.
3348 (md_longopts): Updated.
3349 (md_parse_option): Likewise.
3350
3351 2016-01-25 Catherine Moore <clm@codesourcery.com>
3352
3353 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3354 if abicalls are in effect.
3355 * testsuite/gas/mips/sdata-gp.s: New test.
3356 * testsuite/gas/mips/sdata-gp.d: New expected output
3357 * testsuite/gas/mips/mips.exp: Run new test.
3358
3359 2016-01-25 Renlin Li <renlin.li@arm.com>
3360
3361 * testsuite/gas/arm/thumb2_it_search.d: New.
3362 * testsuite/gas/arm/thumb2_it_search.s: New.
3363
3364 2016-01-21 Nick Clifton <nickc@redhat.com>
3365
3366 PR gas/19454
3367 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3368 with arm-netbsdelf target.
3369 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3370
3371 2016-01-20 Nick Clifton <nickc@redhat.com>
3372
3373 PR 19456
3374 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3375 * testsuite/gas/arm/blx-bl-convert.d
3376 * testsuite/gas/arm/plt-1.d: Likewise.
3377 * testsuite/gas/arm/reloc-bad.d: Likewise.
3378 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3379 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3380 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3381 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3382
3383 PR 19499
3384 * doc/as.texinfo (Errors): Correct documentation describing the
3385 interaction of .file and .line with warning and error messages.
3386
3387 PR 19458
3388 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3389 * testsuite/gas/arm/archv8m-main.d: Likewise.
3390 * testsuite/gas/arm/archv8m-base.d: Likewise.
3391
3392 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3393
3394 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3395 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3396 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3397
3398 2016-01-20 Mickael Guene <mickael.guene@st.com>
3399 Terry Guo <terry.guo@arm.com>
3400
3401 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3402 SHF_ARM_NOREAD section flag.
3403 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3404 handle letter 'y'.
3405 (arm_elf_section_letter) : Declare it.
3406 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3407 SHF_ARM_NOREAD section flag.
3408 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3409
3410 * testsuite/gas/arm/section-execute-only.s: New test case.
3411 * testsuite/gas/arm/section-execute-only.d: Expected output.
3412
3413 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3414
3415 * config/tc-mips.c (micromips_insn_length): Remove the mention
3416 of 48-bit microMIPS instructions.
3417
3418 2016-01-18 Alan Modra <amodra@gmail.com>
3419
3420 * configure: Regenerate.
3421
3422 2016-01-17 Alan Modra <amodra@gmail.com>
3423
3424 * configure: Regenerate.
3425
3426 2016-01-17 Alan Modra <amodra@gmail.com>
3427
3428 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3429
3430 2016-01-14 Nick Clifton <nickc@redhat.com>
3431
3432 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3433 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3434 * testsuite/gas/rl78/rl78.exp: Run the new test.
3435
3436 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3437
3438 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3439 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3440
3441 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3442
3443 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3444
3445 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3446
3447 * config/tc-h8300.c (get_operand): Remove spurious condition in
3448 test for closing parenthesis.
3449
3450 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3451
3452 * config/tc-arm.c (arm_ext_v8_2): New.
3453 (insns): Add "esb".
3454 * testsuite/gas/arm/armv8_2-a.d: New.
3455 * testsuite/gas/arm/armv8_2-a.s: New.
3456
3457 2016-01-12 Alan Modra <amodra@gmail.com>
3458
3459 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3460
3461 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3462
3463 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3464 xvcmpnesp, xvcmpnesp.>: Delete tests.
3465 * testsuite/gas/ppc/power9.s: Likewise.
3466 * testsuite/gas/ppc/vsx3.d: Likewise.
3467 * testsuite/gas/ppc/vsx3.s: Likewise.
3468
3469 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3470
3471 PR gas/13050
3472 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3473 * testsuite/gas/m68k/p13050-1.s: New file.
3474 * testsuite/gas/m68k/p13050-2.d: New file.
3475 * testsuite/gas/m68k/p13050-2.s: New file.
3476
3477 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3478
3479 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3480 * testsuite/gas/arc/add.d: Likewise.
3481 * testsuite/gas/arc/and.d: Likewise.
3482 * testsuite/gas/arc/asl.d: Likewise.
3483 * testsuite/gas/arc/asr.d: Likewise.
3484 * testsuite/gas/arc/bic.d: Likewise.
3485 * testsuite/gas/arc/extb.d: Likewise.
3486 * testsuite/gas/arc/extw.d: Likewise.
3487 * testsuite/gas/arc/j.d: Likewise.
3488 * testsuite/gas/arc/jl.d: Likewise.
3489 * testsuite/gas/arc/ld2.d: Likewise.
3490 * testsuite/gas/arc/lsr.d: Likewise.
3491 * testsuite/gas/arc/mov.d: Likewise.
3492 * testsuite/gas/arc/or.d: Likewise.
3493 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3494 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3495 * testsuite/gas/arc/pic-relocs.d: Likewise.
3496 * testsuite/gas/arc/plt-relocs.d: Likewise.
3497 * testsuite/gas/arc/rlc.d: Likewise.
3498 * testsuite/gas/arc/ror.d: Likewise.
3499 * testsuite/gas/arc/rrc.d: Likewise.
3500 * testsuite/gas/arc/sbc.d: Likewise.
3501 * testsuite/gas/arc/sda-relocs.d: Likewise.
3502 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3503 * testsuite/gas/arc/sexb.d: Likewise.
3504 * testsuite/gas/arc/sexw.d: Likewise.
3505 * testsuite/gas/arc/st.d: Likewise.
3506 * testsuite/gas/arc/sub.d: Likewise.
3507 * testsuite/gas/arc/tls-relocs.d: Likewise.
3508 * testsuite/gas/arc/xor.d: Likewise.
3509
3510 2016-01-01 Alan Modra <amodra@gmail.com>
3511
3512 Update year range in copyright notice of all files.
3513
3514 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3515 \f
3516 Copyright (C) 2016 Free Software Foundation, Inc.
3517
3518 Copying and distribution of this file, with or without modification,
3519 are permitted in any medium without royalty provided the copyright
3520 notice and this notice are preserved.
3521
3522 Local Variables:
3523 mode: change-log
3524 left-margin: 8
3525 fill-column: 74
3526 version-control: never
3527 End:
This page took 0.101264 seconds and 5 git commands to generate.