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