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