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