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