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