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