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