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