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