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