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