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