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