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