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