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