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