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