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