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