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