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