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