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