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