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