Fix a const-safety issue on GCC-4.9 and above
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
ad5bc882
TN
12016-12-21 Tim Newsome <tim@sifive.com>
2
3 * config/tc-riscv.c (riscv_pre_output_hook): Remove const from
4 loc4_frag.
5
4e25adb3
AM
62016-12-21 Alan Modra <amodra@gmail.com>
7
8 * doc/c-lm32.texi: Fix chars with high bit set.
9 * testsuite/gas/bfin/vector2.s: Likewise.
10
9962fe29
AM
112016-12-21 Alan Modra <amodra@gmail.com>
12
13 PR gas/10946
14 * doc/as.texinfo (Chars): Document escape sequences.
15
11dd08e9
MR
162016-12-20 Maciej W. Rozycki <macro@imgtec.com>
17
18 * testsuite/gas/mips/mips16-sub.d: New test.
19 * testsuite/gas/mips/mips16-32@mips16-sub.d: New test.
20 * testsuite/gas/mips/mips16e-32@mips16-sub.d: New test.
21 * testsuite/gas/mips/mips16e-sub.d: New test.
22 * testsuite/gas/mips/mips16-32@mips16e-sub.d: New test.
23 * testsuite/gas/mips/mips16-64@mips16e-sub.d: New test.
24 * testsuite/gas/mips/mips16e-64-sub.d: New test.
25 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: New test.
26 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: New test.
27 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: New test.
28 * testsuite/gas/mips/mips16-sub.s: New test source.
29 * testsuite/gas/mips/mips16e-sub.s: New test source.
30 * testsuite/gas/mips/mips16e-64-sub.s: New test source.
31 * testsuite/gas/mips/mips.exp: Run the new tests.
32
853faf5c
MR
332016-12-20 Maciej W. Rozycki <macro@imgtec.com>
34
35 * testsuite/gas/mips/mips16e.s: Add a RESTORE instruction.
36 * testsuite/gas/mips/mips16e.d: Adjust accordingly.
37
c60aaac1
MR
382016-12-20 Maciej W. Rozycki <macro@imgtec.com>
39
40 * testsuite/gas/mips/mips16.d: Adjust test for multiple MIPS16
41 ISA testing.
42 * testsuite/gas/mips/mips16-64.d: Adjust test for multiple
43 MIPS16 ISA testing.
44 * testsuite/gas/mips/mips16e-64.d: Adjust test for multiple
45 MIPS16 ISA testing.
46 * testsuite/gas/mips/mips16-macro.d: Adjust test for multiple
47 MIPS16 ISA testing.
48 * testsuite/gas/mips/mips16e-64.s: Ensure MIPS16 ISA annotation.
49 * testsuite/gas/mips/mips16e-64.l: Rename to...
50 * testsuite/gas/mips/mips16e-32@mips16e-64.l: ... this.
51 * testsuite/gas/mips/mips16-64@mips16.d: New test.
52 * testsuite/gas/mips/mips16-64@mips16-64.d: New test.
53 * testsuite/gas/mips/mips16e-32@mips16e-64.d: New test.
54 * testsuite/gas/mips/mips16-32@mips16-macro.d: New test.
55 * testsuite/gas/mips/mips16-64@mips16-macro.d: New test.
56 * testsuite/gas/mips/mips16e-32@mips16-macro.d: New test.
57 * testsuite/gas/mips/mips16-32@mips16-macro-e.d: New test.
58 * testsuite/gas/mips/mips16e-32@mips16-macro-e.d: New test.
59 * testsuite/gas/mips/mips16-32@mips16-macro-t.d: New test.
60 * testsuite/gas/mips/mips16e-32@mips16-macro-t.d: New test.
61 * testsuite/gas/mips/mips16e-32@mips16e-64.l: New stderr output.
62 * testsuite/gas/mips/mips16-32@mips16-macro.l: New stderr
63 output.
64 * testsuite/gas/mips/mips16e-32@mips16-macro.l: New stderr
65 output.
66 * testsuite/gas/mips/mips16-32@mips16-macro-e.l: New stderr
67 output.
68 * testsuite/gas/mips/mips16e-32@mips16-macro-e.l: New stderr
69 output.
70 * testsuite/gas/mips/mips16-32@mips16-macro-t.l: New stderr
71 output.
72 * testsuite/gas/mips/mips16e-32@mips16-macro-t.l: New stderr
73 output.
74 * testsuite/gas/mips/mips.exp: Run `mips16', `mips16-64',
75 `mips16-macro', `mips16-macro-t', `mips16-macro-e' and
76 `mips16e-64' testing across multiple MIPS16 ISAs. Fold
77 `mips16-macro' and `mips16e-64' list test invocations into
78 corresponding dump tests.
79
6b438200
MR
802016-12-20 Maciej W. Rozycki <macro@imgtec.com>
81
82 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
83 `mips16e' and `mips16' prefixes.
84 (run_list_test_arch): Likewise.
85 Rename `mips16' architecture to `mips16-32'. Add `mips16-64',
86 `mips16e-32' and `mips16e-64' architectures. Update `rol64',
87 `mips16e', `elf${el}-rel2' and `elf-rel4' test invocations
88 accordingly.
89 * testsuite/gas/mips/mips16e@branch-swap-3.d: New test.
90 * testsuite/gas/mips/mips16e@branch-swap-4.d: New test.
91 * testsuite/gas/mips/mips16e@loc-swap-dis.d: New test.
92 * testsuite/gas/mips/mips16e@loc-swap.d: New test.
93
23c21251
MR
942016-12-20 Maciej W. Rozycki <macro@imgtec.com>
95
96 * testsuite/gas/mips/loc-swap.s: Use zeros rather than NOPs for
97 trailing alignment padding.
98 * testsuite/gas/mips/loc-swap.d: Adjust accordingly.
99 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
100 * testsuite/gas/mips/mips16@loc-swap-dis.d: Likewise.
101
7fd53920
MR
1022016-12-20 Maciej W. Rozycki <macro@imgtec.com>
103
104 * config/tc-mips.c (micromips_insn_length): Use
105 `mips_opcode_32bit_p'.
106 (is_size_valid): Adjust description.
107 (is_size_valid_16): New function.
108 (validate_mips_insn): Use `mips_opcode_32bit_p' in MIPS16
109 operand decoding.
110 (validate_mips16_insn): Remove `a' and `i' operand code special
111 casing, use `mips_opcode_32bit_p' to determine instruction
112 width.
113 (append_insn): Adjust forced MIPS16 instruction size
114 determination.
115 (match_mips16_insn): Likewise. Don't shift the instruction's
116 opcode with the `a' and `i' operand codes. Use
117 `mips_opcode_32bit_p' in operand decoding.
118 (match_mips16_insns): Check for forced instruction size's
119 validity.
120 (mips16_ip): Don't force instruction size in the `noautoextend'
121 mode.
122 * testsuite/gas/mips/mips16-jal-e.d: New test.
123 * testsuite/gas/mips/mips16-jal-t.d: New test.
124 * testsuite/gas/mips/mips16-macro-e.d: New test.
125 * testsuite/gas/mips/mips16-macro-t.d: New test.
126 * testsuite/gas/mips/mips16-jal-t.l: New stderr output.
127 * testsuite/gas/mips/mips16-macro-e.l: New stderr output.
128 * testsuite/gas/mips/mips16-macro-t.l: New stderr output.
129 * testsuite/gas/mips/mips16-jal-e.s: New test source.
130 * testsuite/gas/mips/mips16-jal-t.s: New test source.
131 * testsuite/gas/mips/mips16-macro-e.s: New test source.
132 * testsuite/gas/mips/mips16-macro-t.s: New test source.
133 * testsuite/gas/mips/mips.exp: Run the new tests.
134
4ebce1a0
MR
1352016-12-20 Maciej W. Rozycki <macro@imgtec.com>
136
137 * testsuite/gas/mips/mips16-macro.l: New list test.
138 * testsuite/gas/mips/mips.exp: Run the new test.
139
c97dda72
MR
1402016-12-20 Maciej W. Rozycki <macro@imgtec.com>
141
142 * testsuite/gas/mips/mips16-sdrasp.d: New test.
143 * testsuite/gas/mips/mips16-sdrasp.l: New stderr output.
144 * testsuite/gas/mips/mips16-sdrasp.s: New test source.
145 * testsuite/gas/mips/mips.exp: Run the new test.
146
95f6ac88
MR
1472016-12-20 Maciej W. Rozycki <macro@imgtec.com>
148
149 * testsuite/gas/mips/mips.exp: Limit remaining tests that
150 require NewABI support to `has_newabi' targets.
151
d115ab8e
AW
1522015-12-20 Andrew Waterman <andrew@sifive.com>
153
154 * config/tc-riscv.c (riscv_pseudo_table): Remove "align",
155 "p2align", and "balign".
156 (s_align): Remove.
157 (riscv_handle_align): New function.
158 (riscv_frag_align_code): Likewise.
159 (riscv_make_nops): Likewise.
160 * config/tc-riscv.h (MAX_MEM_FOR_RS_ALIGN_CODE): Change to 7.
161 (HANDLE_ALIGN): Define.
162 (md_do_align): Define.
163 (riscv_handle_align): Declare.
164 (riscv_frag_align_code): Likewise.
165
2922d21d
AW
1662016-12-20 Andrew Waterman <andrew@sifive.com>
167
168 * config/tc-riscv.h (xlen): Delete.
169 * config/tc-riscv.c (xlen): Make static.
170 (abi_xlen): New variable.
171 (options): Replace OPTION_{M32,M64,MSOFT_FLOAT,MHARD_FLOAT,MRVC}
172 with OPTION_MABI.
173 (md_longopts): Likewise.
174 (md_parse_option): Likewise.
175 (riscv_elf_final_processing): Likewise.
176 * doc/as.texinfo (Target RISC-V options): Likewise.
177 * doc/c-riscv.texi (OPTIONS): Likewise.
178 * config/tc-riscv.c (float_mode): Removed.
179 (float_abi): New type, specifies the floating-point ABI.
180 (riscv_set_abi): New function.
181 (riscv_add_subset): Only allow lower-case ISA names and require
182 them to start with "rv".
183 (riscv_after_parse_args): Likewise.
184
45f76423
AW
1852016-12-20 Andrew Waterman <andrew@sifive.com>
186 Kuan-Lin Chen <kuanlinchentw@gmail.com>
187
188 * config/tc-riscv.c (riscv_set_options): Add relax.
189 (riscv_opts): Likewise.
190 (s_riscv_option): Add relax and norelax.
191 (riscv_apply_const_reloc): New function.
192 (append_insn): Move constant relocation handling to
193 riscv_apply_const_reloc.
194 (md_pcrel_from): Likewise.
195 (parse_relocation): Skip BFD_RELOC_UNUSED.
196 (md_pcrel_from): Handle BFD_RELOC_RISCV_SUB6,
197 BFD_RELOC_RISCV_RELAX, BFD_RELOC_RISCV_CFA.
198 (md_apply_fix): Likewise.
199 (riscv_pre_output_hook): New function.
200 * config/tc-riscv.h (md_pre_output_hook): Define.
201 (riscv_pre_output_hook): Declare.
202 (DWARF_CIE_DATA_ALIGNMENT): Always -4.
203
1d65abb5
AW
2042016-12-20 Andrew Waterman <andrew@sifive.com>
205
206 * config/tc-riscv.c: Formatting and comment fixes throughout.
207
eefc3365
MR
2082016-12-14 Maciej W. Rozycki <macro@imgtec.com>
209
210 * config/tc-mips.c (md_convert_frag): Report an error instead of
211 asserting on `ext'.
212 * testsuite/gas/mips/mips16-branch-unextended-1.d: New test.
213 * testsuite/gas/mips/mips16-branch-unextended-2.d: New test.
214 * testsuite/gas/mips/mips16-branch-unextended-1.s: New test
215 source.
216 * testsuite/gas/mips/mips16-branch-unextended-2.s: New test.
217 * testsuite/gas/mips/mips16-branch-unextended.l: New stderr
218 output.
219 * testsuite/gas/mips/mips.exp: Run the new tests.
220
353abf7c
MR
2212016-12-14 Maciej W. Rozycki <macro@imgtec.com>
222
223 * testsuite/gas/mips/mips16-sprel-swap.d: New test.
224 * testsuite/gas/mips/mips16-sprel-swap.s: New test source.
225 * testsuite/gas/mips/mips.exp: Run the new test.
226
a6a51754
RL
2272016-12-13 Renlin Li <renlin.li@arm.com>
228
229 * config/tc-aarch64.c (AARCH64_REG_TYPES): Remove CN register.
230 (get_reg_expected_msg): Remove CN register case.
231 (parse_operands): rewrite parser for CRn, CRm operand.
232 (reg_names): Remove CN register.
233 * testsuite/gas/aarch64/diagnostic.s: Add a new test case.
234 * testsuite/gas/aarch64/diagnostic.l: Adjust error message.
235
1bec0c86
JW
2362016-12-13 Jiong Wang <jiong.wang@arm.com>
237
238 * gas/testsuite/gas/aarch64/addsub.d: Support ILP32 mode.
239 * gas/testsuite/gas/aarch64/advsimd-across.d: Likewise.
240 * gas/testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise.
241 * gas/testsuite/gas/aarch64/advsimd-fp16.d: Likewise.
242 * gas/testsuite/gas/aarch64/advsimd-misc.d: Likewise.
243 * gas/testsuite/gas/aarch64/advsisd-copy.d: Likewise.
244 * gas/testsuite/gas/aarch64/advsisd-misc.d: Likewise.
245 * gas/testsuite/gas/aarch64/alias.d: Likewise.
246 * gas/testsuite/gas/aarch64/armv8-ras-1.d: Likewise.
247 * gas/testsuite/gas/aarch64/b_1.d: Likewise.
248 * gas/testsuite/gas/aarch64/beq_1.d: Likewise.
249 * gas/testsuite/gas/aarch64/bitfield-dump: Likewise.
250 * gas/testsuite/gas/aarch64/bitfield-no-aliases.d: Likewise.
251 * gas/testsuite/gas/aarch64/codealign.d: Likewise.
252 * gas/testsuite/gas/aarch64/codealign_1.d: Likewise.
253 * gas/testsuite/gas/aarch64/crc32-directive.d: Likewise.
254 * gas/testsuite/gas/aarch64/crc32.d: Likewise.
255 * gas/testsuite/gas/aarch64/crypto-directive.d: Likewise.
256 * gas/testsuite/gas/aarch64/crypto.d: Likewise.
257 * gas/testsuite/gas/aarch64/dwarf.d: Likewise.
258 * gas/testsuite/gas/aarch64/float-fp16.d: Likewise.
259 * gas/testsuite/gas/aarch64/floatdp2.d: Likewise.
260 * gas/testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
261 * gas/testsuite/gas/aarch64/fp-const0-parse.d: Likewise.
262 * gas/testsuite/gas/aarch64/fp_cvt_int.d: Likewise.
263 * gas/testsuite/gas/aarch64/fpmov.d: Likewise.
264 * gas/testsuite/gas/aarch64/inst-directive.d: Likewise.
265 * gas/testsuite/gas/aarch64/ldr_1.d: Likewise.
266 * gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
267 * gas/testsuite/gas/aarch64/ldst-exclusive.d: Likewise.
268 * gas/testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
269 * gas/testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
270 * gas/testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
271 * gas/testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
272 * gas/testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
273 * gas/testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
274 * gas/testsuite/gas/aarch64/lor-directive.d: Likewise.
275 * gas/testsuite/gas/aarch64/lor.d: Likewise.
276 * gas/testsuite/gas/aarch64/lse-atomic.d: Likewise.
277 * gas/testsuite/gas/aarch64/mapmisc.d: Likewise.
278 * gas/testsuite/gas/aarch64/mov-no-aliases.d: Likewise.
279 * gas/testsuite/gas/aarch64/mov.d: Likewise.
280 * gas/testsuite/gas/aarch64/movi.d: Likewise.
281 * gas/testsuite/gas/aarch64/movw_label.d: Likewise.
282 * gas/testsuite/gas/aarch64/msr.d: Likewise.
283 * gas/testsuite/gas/aarch64/neon-fp-cvt-int.d: Likewise.
284 * gas/testsuite/gas/aarch64/neon-frint.d: Likewise.
285 * gas/testsuite/gas/aarch64/neon-ins.d: Likewise.
286 * gas/testsuite/gas/aarch64/neon-not.d: Likewise.
287 * gas/testsuite/gas/aarch64/neon-vfp-reglist-post.d: Likewise.
288 * gas/testsuite/gas/aarch64/neon-vfp-reglist.d: Likewise.
289 * gas/testsuite/gas/aarch64/no-aliases.d: Likewise.
290 * gas/testsuite/gas/aarch64/optional.d: Likewise.
291 * gas/testsuite/gas/aarch64/pac.d: Likewise.
292 * gas/testsuite/gas/aarch64/pan-directive.d: Likewise.
293 * gas/testsuite/gas/aarch64/pan.d: Likewise.
294 * gas/testsuite/gas/aarch64/rdma-directive.d: Likewise.
295 * gas/testsuite/gas/aarch64/rdma.d: Likewise.
296 * gas/testsuite/gas/aarch64/reloc-dtprel_g0.d: Likewise.
297 * gas/testsuite/gas/aarch64/reloc-dtprel_g0_nc.d: Likewise.
298 * gas/testsuite/gas/aarch64/reloc-dtprel_g1.d: Likewise.
299 * gas/testsuite/gas/aarch64/reloc-dtprel_hi12.d: Likewise.
300 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-1.d: Likewise.
301 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc.d: Likewise.
302 * gas/testsuite/gas/aarch64/reloc-tlsldm-1.d: Likewise.
303 * gas/testsuite/gas/aarch64/reloc-tlsldm-page-1.d: Likewise.
304 * gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.d: Likewise.
305 * gas/testsuite/gas/aarch64/shifted.d: Likewise.
306 * gas/testsuite/gas/aarch64/sve.d: Likewise.
307 * gas/testsuite/gas/aarch64/symbol.d: Likewise.
308 * gas/testsuite/gas/aarch64/sysreg-1.d: Likewise.
309 * gas/testsuite/gas/aarch64/sysreg-2.d: Likewise.
310 * gas/testsuite/gas/aarch64/sysreg-3.d: Likewise.
311 * gas/testsuite/gas/aarch64/sysreg.d: Likewise.
312 * gas/testsuite/gas/aarch64/system-2.d: Likewise.
313 * gas/testsuite/gas/aarch64/system-3.d: Likewise.
314 * gas/testsuite/gas/aarch64/system.d: Likewise.
315 * gas/testsuite/gas/aarch64/tbz_1.d: Likewise.
316 * gas/testsuite/gas/aarch64/tlbi_op.d: Likewise.
317 * gas/testsuite/gas/aarch64/tls.d: Likewise.
318 * gas/testsuite/gas/aarch64/uao-directive.d: Likewise.
319 * gas/testsuite/gas/aarch64/uao.d: Likewise.
320 * gas/testsuite/gas/aarch64/virthostext-directive.d: Likewise.
321 * gas/testsuite/gas/aarch64/virthostext.d: Likewise.
322 * gas/testsuite/gas/aarch64/adr_1.d: Restrict test under -mabi=lp64.
323 * gas/testsuite/gas/aarch64/int-insns.d: Likewise.
324 * gas/testsuite/gas/aarch64/programmer-friendly.d: Likewise.
325 * gas/testsuite/gas/aarch64/reloc-data.d: Likewise.
326 * gas/testsuite/gas/aarch64/reloc-dtprel_g1_nc.d: Likewise.
327 * gas/testsuite/gas/aarch64/reloc-dtprel_g2.d: Likewise.
328 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst16.d: Likewise.
329 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst32.d: Likewise.
330 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst64.d: Likewise.
331 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst8.d: Likewise.
332 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst16.d: Likewise.
333 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst32.d: Likewise.
334 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst64.d: Likewise.
335 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst8.d: Likewise.
336 * gas/testsuite/gas/aarch64/reloc-gotoff_g0_nc.d: Likewise.
337 * gas/testsuite/gas/aarch64/reloc-gotoff_g1.d: Likewise.
338 * gas/testsuite/gas/aarch64/reloc-gottprel_g0_nc.d: Likewise.
339 * gas/testsuite/gas/aarch64/reloc-gottprel_g1.d: Likewise.
340 * gas/testsuite/gas/aarch64/reloc-insn.d: Likewise.
341 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g0_nc.d: Likewise.
342 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g1.d: Likewise.
343 * gas/testsuite/gas/aarch64/reloc-tlsgd_g0_nc.d: Likewise.
344 * gas/testsuite/gas/aarch64/reloc-tlsgd_g1.d: Likewise.
345 * gas/testsuite/gas/aarch64/tail_padding.d: Likewise.
346 * gas/testsuite/gas/aarch64/tls-desc.d: Likewise.
347
64c11183
MR
3482016-12-09 Maciej W. Rozycki <macro@imgtec.com>
349
350 * config/tc-mips.c (mips16_macro_build) <'>'>: Remove case.
351
f17ecb4b
MR
3522016-12-09 Maciej W. Rozycki <macro@imgtec.com>
353
354 * testsuite/gas/mips/mips16-extend.d: New test.
355 * testsuite/gas/mips/mips16-extend.s: New test source.
356 * testsuite/gas/mips/mips.exp: Run the new test.
357
731f7c4e
MR
3582016-12-08 Maciej W. Rozycki <macro@imgtec.com>
359
360 * config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local
361 variable to `space_buf'.
362
bf355b69
MR
3632016-12-08 Maciej W. Rozycki <macro@imgtec.com>
364
365 * config/tc-arm.c (encode_arm_shift): Rename `index' local
366 variable to `op_index'.
367
da17fe9d
AM
3682016-12-08 Alan Modra <amodra@gmail.com>
369
370 * configure: Regenerate.
371
be0fcbee
MR
3722016-12-07 Maciej W. Rozycki <macro@imgtec.com>
373
374 * config/tc-mips.c (is_opcode_valid): Use local `isa'
375 consistently.
376
5e359a63
NC
3772016-12-06 Nick Clifton <nickc@redhat.com>
378
005304aa
NC
379 PR gas/20901
380 * read.c (s_space): Place an upper limit on the number of spaces
381 generated.
382
5e359a63
NC
383 PR gas/20896
384 * testsuite/gas/mmix/err-byte1.s: Adjust expected warning messages
385 to account for patch to next_char_of_string.
386
14c1428b
NC
3872016-12-05 Nick Clifton <nickc@redhat.com>
388
f49547a6
NC
389 PR gas/20902
390 * read.c (next_char_of_string): Do end advance past the end of the
391 buffer.
392
14c1428b
NC
393 PR gas/20904
394 * as.h (SKIP_ALL_WHITESPACE): New macro.
395 * expr.c (operand): Use it.
396
c28eeff2
SN
3972016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
398
399 * config/tc-arm.c (do_vcmla, do_vcadd): Define.
400 (neon_scalar_for_vcmla): Define.
401 (enum operand_parse_code): Add OP_IROT1 and OP_IROT2.
402 (NEON_ENC_TAB): Add DDSI and QQSI variants.
403 (insns): Add vcmla and vcadd.
404 * testsuite/gas/arm/armv8_3-a-simd.d: New.
405 * testsuite/gas/arm/armv8_3-a-simd.s: New.
406 * testsuite/gas/arm/armv8_3-a-simd-bad.d: New.
407 * testsuite/gas/arm/armv8_3-a-simd-bad.l: New.
408 * testsuite/gas/arm/armv8_3-a-simd-bad.s: New.
409
06911889
CZ
4102016-12-05 Claudiu Zissulescu <claziss@synopsys.com>
411
412 * testsuite/gas/arc/textauxregister-1.d: New file.
413 * testsuite/gas/arc/textauxregister-1.s: Likewise.
414 * testsuite/gas/arc/textcondcode-err.s: Likewise.
415 * testsuite/gas/arc/textcoreregister-err.s: Likewise.
416 * config/tc-arc.c (tokenize_extregister): Return bfd_boolean,
417 don't check second argument of extension auxiliary register for
418 signess.
419 (arc_extcorereg): Consider the return of tokenize_extregister
420 function call.
421
49e8a725
SN
4222016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
423
424 * config/tc-arm.c (arm_ext_v8_3, do_vjcvt): Define.
425 (insns): Add vjcvt.
426 * testsuite/gas/aarch64/armv8_3-a-fp.s: New.
427 * testsuite/gas/aarch64/armv8_3-a-fp.d: New.
428 * testsuite/gas/aarch64/armv8_3-a-fp-bad.s: New.
429 * testsuite/gas/aarch64/armv8_3-a-fp-bad.d: New.
430 * testsuite/gas/aarch64/armv8_3-a-fp-bad.l: New.
431
a12fd8e1
SN
4322016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
433
434 * config/tc-arm.c (arm_archs): Add "armv8.3-a".
435 * doc/c-arm.texi (-march): Add "armv8.3-a".
436
a9752fdf
CZ
4372016-12-02 Claudiu Zissulescu <claziss@synopsys.com>
438
439 * testsuite/gas/arc/cpu-em-err.s: New file.
440 * testsuite/gas/arc/cpu-em4-err.s: Likewise.
441 * testsuite/gas/arc/cpu-fpuda-err.s: Likewise.
442 * testsuite/gas/arc/cpu-hs-err.s: Likewise.
443 * testsuite/gas/arc/cpu-quarkse-err.s: Likewise.
444 * testsuite/gas/arc/noargs_a7.s: Add .cpu.
445 * config/tc-arc.c (ARC_CPU_TYPE_A6xx): Define.
446 (ARC_CPU_TYPE_A7xx): Likewise.
447 (ARC_CPU_TYPE_AV2EM): Likewise.
448 (ARC_CPU_TYPE_AV2HS): Likewise.
449 (cpu_types): Update list of known CPU names.
450 (arc_show_cpu_list): New function.
451 (md_show_usage): Print accepted CPU names.
452 (cl_features): New variable.
453 (arc_select_cpu): Use cl_features.
454 (arc_option): Allow various .cpu names.
455 (md_parse_option): Set cl_features.
456 * doc/c-arc.texi: Update -mcpu and .cpu documentation.
457
d5451cd4
JC
4582016-12-02 Josh Conner <joshconner@google.com>
459
460 * configure.tgt: Add support for fuchsia (OS).
461
6d6ad65b
NC
4622016-12-01 Nick Clifton <nickc@redhat.com>
463
69ace220
NC
464 PR gas/20898
465 * app.c (do_scrub_chars): Do not attempt to unget EOF.
466
4cbd8408
NC
467 PR gas/20897
468 * subsegs.c (subsegs_print_statistics): Do nothing if no output
469 file was created.
470
6d6ad65b
NC
471 PR gas/20895
472 * symbols.c (resolve_symbol_value): Gracefully handle erroneous
473 symbolic expressions.
474
abe7c33b
CZ
4752016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
476
477 * config/tc-arc.c (find_opcode_match): New function argument
478 errmsg.
479 (assemble_tokens): Collect and report the eventual error message
480 found during opcode matching process.
481 * testsuite/gas/arc/lpcount-err.s: New file.
482 * testsuite/gas/arc/add_s-err.s: Update error message.
483
abfcb414
AP
4842016-11-28 Ramiro Polla <ramiro@hex-rays.com>
485 Amit Pawar <amit.pawar@amd.com>
486
487 PR binutils/20637
488 * testsuite/gas/i386/xop32reg.d: New file.
489 * testsuite/gas/i386/xop32reg.s: New file.
490 * testsuite/gas/i386/i386.exp: Run new test.
491
a582903f
AM
4922016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
493
494 * arparse.y: Fix spelling in comments.
495
8f02b5ad
AM
4962016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
497
498 * config/bfin-lex.l: Fix spelling in comments.
499
c29ae970
AM
5002016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
501
502 * testsuite/gas/all/gas.exp: Fix spelling in comments.
503 * testsuite/gas/cris/cris.exp: Fix spelling in comments.
504 * testsuite/gas/hppa/basic/basic.exp: Fix spelling in comments.
505 * testsuite/gas/hppa/parse/parse.exp: Fix spelling in comments.
506 * testsuite/gas/hppa/reloc/reloc.exp: Fix spelling in comments.
507 * testsuite/gas/sh/arch/arch.exp: Fix spelling in comments.
508 * testsuite/gas/tic4x/tic4x.exp: Fix spelling in comments.
509
a40d0312
AM
5102016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
511
512 * testsuite/gas/arm/local_function.d: Fix spelling in comments.
513 * testsuite/gas/arm/req.s: Fix spelling in comments.
514 * testsuite/gas/arm/vfp1.s: Fix spelling in comments.
515 * testsuite/gas/arm/vfp1_t2.s: Fix spelling in comments.
516 * testsuite/gas/arm/vfp1xD.s: Fix spelling in comments.
517 * testsuite/gas/arm/vfp1xD_t2.s: Fix spelling in comments.
518 * testsuite/gas/mcore/allinsn.s: Fix spelling in comments.
519 * testsuite/gas/mips/24k-triple-stores-5.s: Fix spelling in comments.
520 * testsuite/gas/mips/delay.d: Fix spelling in comments.
521 * testsuite/gas/mips/nodelay.d: Fix spelling in comments.
522 * testsuite/gas/mips/r5900-full.s: Fix spelling in comments.
523 * testsuite/gas/mips/r5900.s: Fix spelling in comments.
524
2b0f3761
AM
5252016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
526
527 * as.h: Fix spelling in comments.
528 * config/obj-ecoff.c: Fix spelling in comments.
529 * config/obj-macho.c: Fix spelling in comments.
530 * config/tc-aarch64.c: Fix spelling in comments.
531 * config/tc-arc.c: Fix spelling in comments.
532 * config/tc-arm.c: Fix spelling in comments.
533 * config/tc-avr.c: Fix spelling in comments.
534 * config/tc-cr16.c: Fix spelling in comments.
535 * config/tc-epiphany.c: Fix spelling in comments.
536 * config/tc-frv.c: Fix spelling in comments.
537 * config/tc-hppa.c: Fix spelling in comments.
538 * config/tc-hppa.h: Fix spelling in comments.
539 * config/tc-i370.c: Fix spelling in comments.
540 * config/tc-m68hc11.c: Fix spelling in comments.
541 * config/tc-m68k.c: Fix spelling in comments.
542 * config/tc-mcore.c: Fix spelling in comments.
543 * config/tc-mep.c: Fix spelling in comments.
544 * config/tc-metag.c: Fix spelling in comments.
545 * config/tc-mips.c: Fix spelling in comments.
546 * config/tc-mn10200.c: Fix spelling in comments.
547 * config/tc-mn10300.c: Fix spelling in comments.
548 * config/tc-nds32.c: Fix spelling in comments.
549 * config/tc-nios2.c: Fix spelling in comments.
550 * config/tc-ns32k.c: Fix spelling in comments.
551 * config/tc-pdp11.c: Fix spelling in comments.
552 * config/tc-ppc.c: Fix spelling in comments.
553 * config/tc-riscv.c: Fix spelling in comments.
554 * config/tc-rx.c: Fix spelling in comments.
555 * config/tc-score.c: Fix spelling in comments.
556 * config/tc-score7.c: Fix spelling in comments.
557 * config/tc-sparc.c: Fix spelling in comments.
558 * config/tc-tic54x.c: Fix spelling in comments.
559 * config/tc-vax.c: Fix spelling in comments.
560 * config/tc-xgate.h: Fix spelling in comments.
561 * config/tc-xtensa.c: Fix spelling in comments.
562 * config/tc-z80.c: Fix spelling in comments.
563 * dwarf2dbg.c: Fix spelling in comments.
564 * input-file.h: Fix spelling in comments.
565 * itbl-ops.c: Fix spelling in comments.
566 * read.c: Fix spelling in comments.
567 * stabs.c: Fix spelling in comments.
568 * symbols.c: Fix spelling in comments.
569 * write.c: Fix spelling in comments.
570 * testsuite/gas/all/itbl-test.c: Fix spelling in comments.
571 * testsuite/gas/tic4x/opclasses.h: Fix spelling in comments.
572
65d1cff9
JM
5732016-11-25 Jose E. Marchesi <jose.marchesi@oracle.com>
574
575 * config/tc-sparc.c (sparc_ip): Avoid emitting a cbcond error
576 messages for non-cbcond instructions.
577 * testsuite/gas/sparc/cbcond-diag.s: New file.
578 * testsuite/gas/sparc/cbcond-diag.l: Likewise.
579 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run cbcond-diag tests.
580
128e85e3
JM
5812016-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
582
583 * testsuite/gas/sparc/sparc.exp (gas_64_check): Make sure the
584 hwcaps-bump test is run with 64-bit objects.
585
073808ed
KLC
5862016-11-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
587
588 * config/tc-riscv.c: Add missing break.
589
3ae0486c
AM
5902016-11-23 Alan Modra <amodra@gmail.com>
591
592 * po/POTFILES.in: Regenerate.
593
96fe4562
AM
5942016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
595
596 * configure: Regenerate.
597
6884417a
JM
5982016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
599
600 * config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
601 opcodes/sparc-opc.c.
602 (sparc_arch): Clarify the new role of the hwcap_allowed and
603 hwcap2_allowed fields.
604 (sparc_arch_table): Remove HWS_* and HWS2_* instances from
605 hwcap_allowed and hwcap2_allowed respectively.
606 (md_parse_option): Include the opcode arch hwcaps when processing
607 -A.
608 (sparc_ip): Use the current opcode arch hwcaps to update
609 hwcap_allowed, as well as the hwcaps of the instruction triggering
610 the bump.
611 * testsuite/gas/sparc/hwcaps-bump.s: New file.
612 * testsuite/gas/sparc/hwcaps-bump.l: Likewise.
613 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
614 hwcaps-bump.
615
c4b943d7
CZ
6162016-11-22 Claudiu Zissulescu <claziss@synopsys.com>
617
618 * testsuite/gas/arc/b.d: Update test result.
619
08dc996f
AM
6202016-11-22 Alan Modra <amodra@gmail.com>
621
622 PR 20744
623 * config/tc-ppc.c: Delete VLE insn defines.
624 (md_assemble): Swap use_a_reloc and use_d_reloc.
625 * testsuite/gas/ppc/vle-reloc.d: Update.
626
5689c942
RL
6272016-11-21 Renlin Li <renlin.li@arm.com>
628
629 PR gas/20827
630 * config/tc-arm.c (encode_arm_shift): Don't assert for operands not
631 presented.
632 * testsuite/gas/arm/add-shift-two.d: New.
633 * testsuite/gas/arm/add-shift-two.s: New.
634
2d7f2507
AM
6352016-11-21 Alan Modra <amodra@gmail.com>
636
637 * configure.ac: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
638 * Makefile.am (comparison): Rewrite using do_compare.
639 * configure: Regenerate.
640 * Makefile.in: Regenerate.
641 * doc/Makefile.in: Regenerate.
642
bb050a69
CZ
6432016-11-18 Claudiu Zissulescu <claziss@synopsys.com>
644
645 * testsuite/gas/arc/cl-warn.s: New file.
646 * testsuite/gas/arc/cpu-pseudop-1.d: Likewise.
647 * testsuite/gas/arc/cpu-pseudop-1.s: Likewise.
648 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
649 * testsuite/gas/arc/cpu-pseudop-2.s: Likewise.
650 * testsuite/gas/arc/cpu-warn2.s: Likewise.
651 * config/tc-arc.c (selected_cpu): Initialize.
652 (feature_type): New struct.
653 (feature_list): New variable.
654 (arc_check_feature): New function.
655 (arc_select_cpu): Check for .cpu duplicates. Don't overwrite the
656 current cpu features. Check if a feature is available for a given
657 cpu.
658 (md_parse_option): Test if features are available for a given cpu.
659
c2c4ff8d
SN
6602016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
661
662 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
663 * testsuite/gas/aarch64/advsimd-armv8_3.d: New.
664 * testsuite/gas/aarch64/advsimd-armv8_3.s: New.
665 * testsuite/gas/aarch64/illegal-fcmla.s: New.
666 * testsuite/gas/aarch64/illegal-fcmla.l: New.
667 * testsuite/gas/aarch64/illegal-fcmla.d: New.
668
28617675
SN
6692016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
670
671 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
672 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
673 * testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
674 * testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
675 * testsuite/gas/aarch64/illegal-ldapr.l: Likewise.
676
ccfc90a3
SN
6772016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
678
679 * testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
680 * testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
681 * testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
682 * testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
683 * testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
684 * testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
685 * testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
686 * testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.
687
3f06e550
SN
6882016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
689
690 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
691 (fix_insn): Likewise.
692 (warn_unpredictable_ldst): Handle ldst_imm10.
693 * testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
694 * testsuite/gas/aarch64/pac.d: Likewise.
695 * testsuite/gas/aarch64/illegal-ldraa.s: New.
696 * testsuite/gas/aarch64/illegal-ldraa.l: New.
697 * testsuite/gas/aarch64/illegal-ldraa.d: New.
698
93ca3936
NC
6992016-11-15 Nick Clifton <nickc@redhat.com>
700
701 PR gas/20803
702 * config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in
703 the .eh_frame section.
704
b612f419
AG
7052016-11-13 Anthony Green <green@moxielogic.org>
706
707 * config/tc-moxie.c (md_assemble): Assemble 'bad' opcode.
708
86b80085
NC
7092016-11-11 Nick Clifton <nickc@redhat.com>
710
711 PR gas/20732
712 * expr.c (integer_constant): If tc_allow_L_suffix is defined and
713 non-zero then accept a L or LL suffix.
714 * testsuite/gas/sparc/pr20732.d: New test source file.
715 * testsuite/gas/sparc/pr20732.d: New test output file.
716 * testsuite/gas/sparc/sparc.exp: Run new test.
717
74f5402d
SN
7182016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
719
720 * testsuite/gas/aarch64/pac.s: Add ARMv8.3 branch instruction tests.
721 * testsuite/gas/aarch64/pac.d: Likewise.
722
c84364ec
SN
7232016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
724
725 * config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
726 (parse_operands): Likewise.
727 * testsuite/gas/aarch64/pac.s: Add pacga.
728 * testsuite/gas/aarch64/pac.d: Add pacga.
729
a2cfc830
SN
7302016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
731
732 * testsuite/gas/aarch64/pac.s: New.
733 * testsuite/gas/aarch64/pac.d: New.
734
b0bfa7b5
SN
7352016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
736
737 * testsuite/gas/aarch64/sysreg-3.s: New.
738 * testsuite/gas/aarch64/sysreg-3.d: New.
739 * testsuite/gas/aarch64/illegal-sysreg-3.l: New.
740 * testsuite/gas/aarch64/illegal-sysreg-3.d: New.
741
8787d804
SN
7422016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
743
744 * testsuite/gas/aarch64/system-3.s: New.
745 * testsuite/gas/aarch64/system-3.d: New.
746 * testsuite/gas/aarch64/system.d: Update expected output.
747
1924ff75
SN
7482016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
749
750 * config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
751 * doc/c-aarch64.texi (-march): Likewise.
752
fa09f4ea
SN
7532016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
754
755 * config/tc-aarch64.c (aarch64_features): Fix "simd" and "crypto".
756 * testsuite/gas/aarch64/illegal-crypto-nofp.d: New.
757 * testsuite/gas/aarch64/illegal-crypto-nofp.l: New.
758 * testsuite/gas/aarch64/illegal-fp16-nofp.d: New.
759 * testsuite/gas/aarch64/illegal-fp16-nofp.l: New.
760 * testsuite/gas/aarch64/illegal-fp16-nofp.s: New.
761
60227d64
L
7622016-11-09 H.J. Lu <hongjiu.lu@intel.com>
763
764 PR binutils/20799
765 * testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
766 * testsuite/gas/i386/opcode-intel.d: Updated.
767 * testsuite/gas/i386/opcode-suffix.d: Likewise.
768 * testsuite/gas/i386/opcode.d: Likewise.
769 * testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
770 tests.
771 * testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
772 * testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.
773
7766fd10
L
7742016-11-09 H.J. Lu <hongjiu.lu@intel.com>
775
776 PR binutils/20754
777 * testsuite/gas/i386/opcode-suffix.d: Updated.
778
48c97fa1
L
7792016-11-07 H.J. Lu <hongjiu.lu@intel.com>
780
781 PR binutils/20775
782 * testsuite/gas/i386/i386.exp: Run fpu-bad.
783 * testsuite/gas/i386/fpu-bad.d: New file.
784 * testsuite/gas/i386/fpu-bad.s: Likewise.
785
9cee1c1e
NS
7862016-11-04 Nathan Sidwell <nathan@acm.org>
787
788 gas/
789 * input-scrub.c (partial_size): Make size_t.
790 (buffer_length): Likewise. Adjust meaning.
791 (struct input_save): Adjust partial_size type.
792 (input_scrub_reinit): New.
793 (input_scrub_push, input_scrub_begin): Use it.
794 (input_scrub_next_buffer): Fix buffer extension logic. Only scan
795 newly read buffer for newline.
796
b437d035
AB
7972016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
798
799 * config/tc-arc.c (find_opcode_match): Use insert function to
800 validate matching address type operands.
801 * testsuite/gas/arc/nps400-10.d: New file.
802 * testsuite/gas/arc/nps400-10.s: New file.
803
b19ea8d2
TP
8042016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
805
806 * config/tc-arm.c (cortex-m33): Declare new processor.
807 * doc/c-arm.texi (-mcpu ARM command line option): Document new
808 Cortex-M33 processor.
809 * NEWS: Mention ARM Cortex-M33 support.
810
ce1b0a45
TP
8112016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
812
813 * config/tc-arm.c (cortex-m23): Declare new processor.
814 * doc/c-arm.texi (-mcpu ARM command line option): Document new
815 Cortex-M23 processor.
816 * NEWS: Mention ARM Cortex-M23 support.
817
4f7eddc4
PD
8182016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
819 Andrew Waterman <andrew@sifive.com>
820
821 * Makefile.am (CPU_DOCS): Add c-riscv.texi.
822 * Makefile.in: Regenerate.
823 * doc/all.texi: Set RISCV.
824 * doc/as.texinfo: Add RISCV options.
825 Add RISC-V-Dependent node.
826 Include c-riscv.texi.
827 * doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
828
98d0e90c
GM
8292016-11-03 Graham Markall <graham.markall@embecosm.com>
830
831 * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm
832 operands are out of the range of an s9, in order to fix the test.
833 * testsuite/gas/arc/nps400-6.d: Updated to match new expected output.
834
5a736821
GM
8352016-11-03 Graham Markall <graham.markall@embecosm.com>
836
837 * testsuite/gas/arc/nps-400-9.d: Added.
838 * testsuite/gas/arc/nps-400-9.s: Added.
839
bdfe53e3
AB
8402016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
841
842 * config/tc-arc.c (struct arc_insn): Change type of insn field.
843 (md_number_to_chars_midend): Support 6- and 8-byte values.
844 (emit_insn0): Update debug output.
845 (find_opcode_match): Likewise.
846 (build_fake_opcode_hash_entry): Delete.
847 (find_special_case_long_opcode): Delete.
848 (find_special_case): Remove long format special case handling.
849 (insert_operand): Change instruction type and update debug print
850 format.
851 (assemble_insn): Change instruction type, update debug print
852 formats, and remove unneeded assert.
853
06fe285f
GM
8542016-11-03 Graham Markall <graham.markall@embecosm.com>
855
856 * config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
857 arc_opcode_len.
858
91fdca6f
GM
8592016-11-03 Graham Markall <graham.markall@embecosm.com>
860
861 * config/tc-arc.c (struct arc_insn): Replace short_insn flag with
862 len field.
863 (apply_fixups): Update to use len field.
864 (emit_insn0): Simplify code, making use of len field.
865 (md_convert_frag): Update to use len field.
866 (assemble_insn): Update to use len field.
867
2fe9c2a0
SP
8682016-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
869
870 * config/tc-aarch64.c (aarch64_cpus): Add falkor.
871 * config/tc-arm.c (arm_cpus): Likewise.
872 * doc/c-aarch64.texi: Likewise.
873 * doc/c-arm.texi: Likewise.
874
8b89fe14
L
8752016-11-03 H.J. Lu <hongjiu.lu@intel.com>
876
877 PR binutils/20754
878 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
879 * testsuite/gas/i386/opcode-intel.d: Updated.
880 * testsuite/gas/i386/opcode.d: Likewise.
881
bada4342
JW
8822016-11-02 Jiong Wang <jiong.wang@arm.com>
883
884 * config/tc-arm.c (SBIT_SHIFT): New.
885 (T2_SBIT_SHIFT): Likewise.
886 (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
887 (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
888 encoding failed.
889 * testsuite/gas/arm/archv6t2-bad.s: New error case.
890 * testsuite/gas/arm/archv6t2-bad.l: New error match.
891 * testsuite/gas/arm/archv6t2.s: New testcase.
892 * testsuite/gas/arm/archv6t2.d: New expected result.
893 * testsuite/gas/arm/archv8m.s: New testcase.
894 * testsuite/gas/arm/archv8m-base.d: New expected result.
895 * testsuite/gas/arm/archv8m-main.d: Likewise.
896 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
897
47acf0bd
IT
8982016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
899
900 * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
901 (cpu_noarch): Add noavx512_4vnniw.
902 * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
903 * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
904 * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
905 * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
906 * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
907 * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
908 * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
909 * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
910 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
911 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
912 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
913 * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
914 * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
915 * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
916
920d2ddc
IT
9172016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
918
919 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
920 (cpu_noarch): Add noavx512_4fmaps.
921 (process_operands): Handle implicit quad group.
922 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
923 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
924 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
925 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
926 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
927 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
928 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
929 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
930 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
931 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
932 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
933 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
934 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
935 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
936 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
937 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
938 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
939 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
940 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
941 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
942 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
943 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
944
e23eba97
NC
9452016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
946 Andrew Waterman <andrew@sifive.com>
947
948 Add support for RISC-V architecture.
949 * Makefile.am: Add riscv files.
950 * Makefile.in: Regenerate.
951 * NEWS: Mention the support for this architecture.
952 * configure.in: Define a default architecture.
953 * configure: Regenerate.
954 * configure.tgt: Add entries for riscv.
955 * doc/as.texinfo: Likewise.
956 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
957 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
958 * config/tc-riscv.c: New file.
959 * config/tc-riscv.h: New file.
960 * doc/c-riscv.texi: New file.
961 * testsuite/gas/riscv: New directory.
962 * testsuite/gas/riscv/riscv.exp: New file.
963 * testsuite/gas/riscv/t_insns.d: New file.
964 * testsuite/gas/riscv/t_insns.s: New file.
965
bb65a718
AB
9662016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
967
968 * config/tc-arc.c (arc_target): Delete.
969 (arc_target_name): Delete.
970 (arc_features): Delete.
971 (arc_mach_type): Delete.
972 (mach_type_specified_p): Delete.
973 (enum mach_selection_type): New enum.
974 (mach_selection_mode): New static global.
975 (selected_cpu): New static global.
976 (arc_eflag): Rename to ...
977 (arc_initial_eflag): ...this, and make const.
978 (arc_select_cpu): Update comment, new parameter, check how
979 previous machine type selection was made, and record this
980 selection. Use selected_cpu instead of old globals.
981 (arc_option): Remove use of arc_get_mach, instead use
982 arc_select_cpu to validate machine type selection. Use
983 selected_cpu over old globals.
984 (allocate_tok): Use selected_cpu over old globals.
985 (find_opcode_match): Likewise.
986 (assemble_tokens): Likewise.
987 (arc_cons_fix_new): Likewise.
988 (arc_extinsn): Likewise.
989 (arc_extcorereg): Likewise.
990 (md_begin): Update default machine type selection, use
991 selected_cpu over old globals.
992 (md_parse_option): Update machine type selection option handling,
993 use selected_cpu over old globals.
994 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
995
2a3a7490
AM
9962016-10-26 Alan Modra <amodra@gmail.com>
997
998 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
999 * config/rl78-parse.y: Do use old %name-prefix syntax.
1000 * config/rx-parse.y: Likewise.
1001
b5cefcca
L
10022016-10-21 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * config/tc-i386.c (cpu_arch): Remove .pcommit.
1005 * doc/c-i386.texi: Likewise.
1006 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
1007 * testsuite/gas/i386/pcommit-intel.d: Removed.
1008 * testsuite/gas/i386/pcommit.d: Likewise.
1009 * testsuite/gas/i386/pcommit.s: Likewise.
1010 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
1011 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
1012 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
1013
9889cbb1
L
10142016-10-20 H.J. Lu <hongjiu.lu@intel.com>
1015
1016 PR binutis/20705
1017 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
1018 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
1019 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
1020
008a97ef
RL
10212016-10-19 Renlin Li <renlin.li@arm.com>
1022
1023 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
1024 for register-shifted register instructions.
1025 * testsuite/gas/arm/shift-bad-pc.d: New.
1026 * testsuite/gas/arm/shift-bad-pc.l: New.
1027 * testsuite/gas/arm/shift-bad-pc.s: New.
1028
8cae7a47
CM
10292016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
1030
1031 * testsuite/arc/dis-inv.d: Fixed matching.
1032
decf5bd1
CM
10332016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
1034
1035 * testsuite/arc/dis-inv.s: Test to validate patch.
1036 * testsuite/arc/dis-inv.d: Likewise.
1037
e5b06ef0
CZ
10382016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
1039
1040 * testsuite/gas/arc/shortlimm_a7.d: New file.
1041 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
1042 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
1043 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
1044
a24bb4f0
NC
10452016-10-11 Nick Clifton <nickc@redhat.com>
1046
1047 * gas/arm/tls.d: Adjust output to match change in objdump.
1048
93562a34
JW
10492016-10-11 Jiong Wang <jiong.wang@arm.com>
1050
1051 PR target/20666
1052 * testsuite/gas/aarch64/alias-2.d: Update expected results.
1053
969b385b
AK
10542016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1055
1056 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
1057 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
1058 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
1059 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
1060 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
1061 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
1062 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
1063 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
1064 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
1065
b6f80bb8
AM
10662016-10-08 Alan Modra <amodra@gmail.com>
1067
1068 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
1069 config/rx-parse.y. Move config/bfin-parse.y.
1070 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
1071 ($(srcdir)/config/rl78-defs.h): New rule.
1072 * Makefile.in: Regenerate.
1073
362c0c4d
JW
10742016-10-07 Jiong Wang <jiong.wang@arm.com>
1075
1076 PR target/20667
1077 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
1078 SYS_Rt reg.
1079 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
1080
08ec958f
CZ
10812016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
1082
1083 * testsuite/gas/arc/leave_enter.d: New file.
1084 * testsuite/gas/arc/leave_enter.s: Likewise.
1085 * testsuite/gas/arc/regnames.d: Likewise.
1086 * testsuite/gas/arc/regnames.s: Likewise.
1087 * config/tc-arc.c (arc_parse_name): Don't match reg names against
1088 confirmed symbol names.
1089
fcddde94
AM
10902016-10-06 Alan Modra <amodra@gmail.com>
1091
1092 * app.c (do_scrub_chars): Move fall through comment.
1093 * expr.c (operand): Likewise.
1094
3d3424e9
MF
10952016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
1096
1097 PR gas/20648
1098 * dw2gencfi.c (dot_cfi_sections): Refine the check for
1099 inconsistent .cfi_sections to only consider compact vs non
1100 compact forms.
1101 * testsuite/gas/cfi/cfi-common-9.d: New file.
1102 * testsuite/gas/cfi/cfi-common-9.s: New file.
1103 * testsuite/gas/cfi/cfi.exp: Run new test.
1104
1a0670f3
AM
11052016-10-06 Alan Modra <amodra@gmail.com>
1106
1107 * app.c: Add missing fall through comments.
1108 * dw2gencfi.c: Likewise.
1109 * expr.c: Likewise.
1110 * config/tc-alpha.c: Likewise.
1111 * config/tc-arc.c: Likewise.
1112 * config/tc-arm.c: Likewise.
1113 * config/tc-cr16.c: Likewise.
1114 * config/tc-crx.c: Likewise.
1115 * config/tc-dlx.c: Likewise.
1116 * config/tc-h8300.c: Likewise.
1117 * config/tc-hppa.c: Likewise.
1118 * config/tc-i370.c: Likewise.
1119 * config/tc-i386.c: Likewise.
1120 * config/tc-i960.c: Likewise.
1121 * config/tc-ia64.c: Likewise.
1122 * config/tc-m68hc11.c: Likewise.
1123 * config/tc-m68k.c: Likewise.
1124 * config/tc-mep.c: Likewise.
1125 * config/tc-metag.c: Likewise.
1126 * config/tc-microblaze.c: Likewise.
1127 * config/tc-mips.c: Likewise.
1128 * config/tc-ns32k.c: Likewise.
1129 * config/tc-rx.c: Likewise.
1130 * config/tc-score.c: Likewise.
1131 * config/tc-score7.c: Likewise.
1132 * config/tc-sh.c: Likewise.
1133 * config/tc-tic4x.c: Likewise.
1134 * config/tc-vax.c: Likewise.
1135 * config/tc-xstormy16.c: Likewise.
1136 * config/tc-z80.c: Likewise.
1137 * config/tc-z8k.c: Likewise.
1138 * config/obj-elf.c: Likewise.
1139 * config/tc-i386.c: Likewise.
1140 * depend.c: Spell fall through comments consistently.
1141 * config/tc-arm.c: Likewise.
1142 * config/tc-d10v.c: Likewise.
1143 * config/tc-i960.c: Likewise.
1144 * config/tc-ia64.c: Likewise.
1145 * config/tc-m68k.c: Likewise.
1146 * config/tc-mcore.c: Likewise.
1147 * config/tc-mep.c: Likewise.
1148 * config/tc-ns32k.c: Likewise.
1149 * config/tc-visium.c: Likewise.
1150 * config/tc-xstormy16.c: Likewise.
1151 * config/tc-z8k.c: Likewise.
1152
1e0f0b4d
AM
11532016-10-06 Alan Modra <amodra@gmail.com>
1154
1155 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
1156
2b804145
AM
11572016-10-06 Alan Modra <amodra@gmail.com>
1158
1159 * config/tc-arc.c (find_opcode_match): Add missing break.
1160 * config/tc-i960.c (get_cdisp): Likewise.
1161 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
1162 * config/tc-mt.c (md_parse_option): Likewise.
1163 * config/tc-nds32.c (nds32_apply_fix): Likewise.
1164 * config/tc-hppa.c (pa_ip): Assert rather than testing last
1165 condition of multiple if statements.
1166 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
1167 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
1168 out of case rather than falling into next case. Formatting.
1169
95e61695
AM
11702016-10-06 Alan Modra <amodra@gmail.com>
1171
1172 * config/rl78-parse.y: Don't use deprecated %name-prefix.
1173 * config/rx-parse.y: Likewise.
1174
744ce302
JW
11752016-09-29 Jiong Wang <jiong.wang@arm.com>
1176
1177 PR target/20553
1178 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
1179 testcases for H and S variants. New low index testcases for D variant.
1180 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
1181
a5721ba2
AM
11822016-09-29 Alan Modra <amodra@gmail.com>
1183
1184 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
1185 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
1186 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
1187
78fb7e37
TS
11882016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1189
1190 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
1191 cnt_argp to concat.
1192
c5da1932
VZ
11932016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
1194
1195 * Makefile.in: Regenerate.
1196 * configure: Likewise.
1197 * doc/Makefile.in: Likewise.
1198
005d79fd
AM
11992016-09-26 Alan Modra <amodra@gmail.com>
1200
1201 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
1202 (md_pseudo_table <ELF>): Handle "gnu_attribute".
1203
870dd155
TP
12042016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1205
1206 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
1207 register and redundant basepri_max.
1208
ad43e107
RS
12092016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1210
1211 * config/tc-aarch64.c (print_operands): Print spaces between
1212 operands.
1213 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
1214 in addresses.
1215 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
1216 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
1217 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
1218 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
1219 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
1220 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
1221 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1222 * testsuite/gas/aarch64/sve.d: Likewise.
1223 * testsuite/gas/aarch64/symbol.d: Likewise.
1224 * testsuite/gas/aarch64/system.d: Likewise.
1225 * testsuite/gas/aarch64/tls-desc.d: Likewise.
1226 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
1227 in suggested alternatives.
1228 * testsuite/gas/aarch64/verbose-error.l: Likewise.
1229
ab3b8fcf
RS
12302016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1231
1232 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
1233 rather than "should be" or "expected to be" in error messages.
1234 (parse_operands): Likewise.
1235 * testsuite/gas/aarch64/diagnostic.l: Likewise.
1236 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
1237 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
1238 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
1239
bb7eff52
RS
12402016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1241
1242 * config/tc-aarch64.c (opcode_lookup): Search for the end of
1243 a condition name, rather than assuming that it will have exactly
1244 2 characters.
1245 (parse_operands): Likewise.
1246 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
1247 to the expected output.
1248 * testsuite/gas/aarch64/beq_1.d: Likewise.
1249 * testsuite/gas/aarch64/float-fp16.d: Likewise.
1250 * testsuite/gas/aarch64/int-insns.d: Likewise.
1251 * testsuite/gas/aarch64/no-aliases.d: Likewise.
1252 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
1253 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1254 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
1255 New test.
1256
f2a5c4f5
RS
12572016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1258
1259 * testsuite/gas/aarch64/diagnostic.s,
1260 testsuite/gas/aarch64/diagnostic.l: Add tests for
1261 invalid uses of MUL VL and MUL in base AArch64 instructions.
1262 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
1263 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
1264 testsuite/gas/aarch64/sve-invalid.s,
1265 testsuite/gas/aarch64/sve-invalid.d,
1266 testsuite/gas/aarch64/sve-invalid.l,
1267 testsuite/gas/aarch64/sve-reg-diagnostic.s,
1268 testsuite/gas/aarch64/sve-reg-diagnostic.d,
1269 testsuite/gas/aarch64/sve-reg-diagnostic.l,
1270 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
1271
c0890d26
RS
12722016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1273
1274 * doc/c-aarch64.texi: Document the "sve" feature.
1275 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
1276 (get_reg_expected_msg): Handle it.
1277 (parse_operands): When parsing operands of an SVE instruction,
1278 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
1279 (aarch64_features): Add an entry for SVE.
1280
047cd301
RS
12812016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1282
1283 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
1284 and FP register operands.
1285
165d4950
RS
12862016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1287
1288 * config/tc-aarch64.c (double_precision_operand_p): New function.
1289 (parse_operands): Use it to calculate the dp_p input to
1290 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
1291
e950b345
RS
12922016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1293
1294 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
1295 immediate operands.
1296
98907a70
RS
12972016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1298
1299 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
1300 parse_shift_modes.
1301 (parse_shift): Handle SHIFTED_MUL_VL.
1302 (parse_address_main): Add an imm_shift_mode parameter.
1303 (parse_address, parse_sve_address): Update accordingly.
1304 (parse_operands): Handle MUL VL addressing modes.
1305
4df068de
RS
13062016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1307
1308 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
1309 register types.
1310 (get_reg_expected_msg): Handle them.
1311 (aarch64_addr_reg_parse): New function, split out from
1312 aarch64_reg_parse_32_64. Handle Z registers too.
1313 (aarch64_reg_parse_32_64): Call it.
1314 (parse_address_main): Add base_qualifier, offset_qualifier,
1315 base_type and offset_type parameters. Handle SVE base and offset
1316 registers.
1317 (parse_address): Update call to parse_address_main.
1318 (parse_sve_address): New function.
1319 (parse_operands): Parse the new SVE address operands.
1320
2442d846
RS
13212016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1322
1323 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
1324 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
1325 shift modes. Skip range tests for AARCH64_MOD_MUL.
1326 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
1327 (parse_operands): Likewise.
1328
245d2e3f
RS
13292016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1330
1331 * config/tc-aarch64.c (parse_enum_string): New function.
1332 (po_enum_or_fail): New macro.
1333 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
1334 AARCH64_OPND_SVE_PRFOP.
1335
d50c751e
RS
13362016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1337
1338 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
1339 (parse_vector_type_for_operand): Assert that the skipped character
1340 is a '.'.
1341 (parse_predication_for_operand): New function.
1342 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
1343 (vectype_to_qualifier): Handle NT_zero and NT_merge.
1344
f11ad6bc
RS
13452016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1346
1347 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
1348 (AARCH64_REG_TYPES): Add ZN and PN.
1349 (get_reg_expected_msg): Handle them.
1350 (parse_vector_type_for_operand): Add a reg_type parameter.
1351 Skip the width for Zn and Pn registers.
1352 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
1353 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
1354 expecting the width to be 0.
1355 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
1356 REG_TYPE_VN.
1357 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
1358 (parse_operands): Handle the new Zn and Pn operands.
1359 (REGSET16): New macro, split out from...
1360 (REGSET31): ...here.
1361 (reg_names): Add Zn and Pn entries.
1362
0c608d6b
RS
13632016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1364
1365 * config/tc-aarch64.c (output_operand_error_record): Handle
1366 AARCH64_OPDE_UNTIED_OPERAND.
1367
4989adac
RS
13682016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1369
1370 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
1371 instruction with all-NIL qualifiers to fail to match.
1372
73866052
RS
13732016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1374
1375 * config/tc-aarch64.c (parse_address_main): Remove reloc and
1376 accept_reg_post_index parameters. Parse relocations and register
1377 post indexes unconditionally.
1378 (parse_address): Remove accept_reg_post_index parameter.
1379 Update call to parse_address_main.
1380 (parse_address_reloc): Delete.
1381 (parse_operands): Call parse_address instead of parse_address_main.
1382 Update existing callers of parse_address and make them check
1383 inst.reloc.type where appropriate.
1384 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
1385 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
1386 Also test for invalid uses of post-index register addressing.
1387 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1388
e1b988bb
RS
13892016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1390
1391 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
1392 types.
1393 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
1394 (aarch64_check_reg_type): Simplify.
1395 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
1396 register number. Return the type as a qualifier rather than an
1397 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
1398 parameters.
1399 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
1400 Use get_reg_expected_msg.
1401 (parse_address_main): Likewise. Use aarch64_check_reg_type.
1402 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
1403 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
1404 Use aarch64_check_reg_type to test the result.
1405 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
1406 addresses normally before enforcing the syntax restrictions.
1407 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
1408 zero register and for a stack pointer index.
1409 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1410 Also update existing diagnostic messages after the above changes.
1411 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
1412 for 32-bit register bases.
1413
874d7e6e
RS
14142016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1415
1416 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
1417 (parse_operands): Check the range of 8-bit FP immediates here instead.
1418
6a9deabe
RS
14192016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1420
1421 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
1422 low-severity error for registers.
1423 (parse_operands): Report an invalid floating point constant for
1424 if parsing an FPIMM8 fails, and if no better error has been
1425 recorded.
1426 * testsuite/gas/aarch64/diagnostic.s,
1427 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
1428 to FMOV.
1429
04a3379a
RS
14302016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1431
1432 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
1433 to...
1434 (can_convert_double_to_float): ...this. Accept any double-precision
1435 value that converts to single precision without loss of precision.
1436 (parse_aarch64_imm_float): Update accordingly.
1437
1799c0d0
RS
14382016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1439
1440 * config/tc-aarch64.c (parse_immediate_expression): Add a
1441 reg_type parameter.
1442 (parse_constant_immediate): Likewise, and update calls.
1443 (parse_aarch64_imm_float): Likewise.
1444 (parse_big_immediate): Likewise.
1445 (po_imm_nc_or_fail): Update accordingly, passing down a new
1446 imm_reg_type variable.
1447 (po_imm_of_fail): Likewise.
1448 (parse_operands): Likewise.
1449
10d76650
RS
14502016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1451
1452 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
1453 (parse_vector_reg_list): ...this and take a register type
1454 as input.
1455 (parse_operands): Update accordingly.
1456
53021dd1
RS
14572016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1458
1459 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
1460 (parse_vector_type_for_operand): ...this.
1461 (parse_typed_reg): Update accordingly.
1462
8f9a77af
RS
14632016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1464
1465 * config/tc-aarch64.c (neon_type_el): Rename to...
1466 (vector_type_el): ...this.
1467 (parse_neon_type_for_operand): Update accordingly.
1468 (parse_typed_reg): Likewise.
1469 (aarch64_reg_parse): Likewise.
1470 (vectype_to_qualifier): Likewise.
1471 (parse_operands): Likewise.
1472 (eq_neon_type_el): Likewise. Rename to...
1473 (eq_vector_type_el): ...this.
1474 (parse_neon_reg_list): Update accordingly.
1475
f06935a5
RS
14762016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1477
1478 * config/tc-aarch64.c (neon_el_type: Rename to...
1479 (vector_el_type): ...this.
1480 (neon_type_el): Update accordingly.
1481 (parse_neon_type_for_operand): Likewise.
1482 (vectype_to_qualifier): Likewise.
1483
a235d3ae
RS
14842016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1485
1486 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
1487 (parse_typed_reg): Call parse_neon_type_for_operand directly.
1488
f807f43d
CZ
14892016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
1490
1491 * testsuite/gas/arc/textinsnxop.d: New file.
1492 * testsuite/gas/arc/textinsnxop.s: Likewise.
1493
d7cd93a7
JM
14942016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
1495
1496 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1497 dcti-couples-v9 only in ELF targets to avoid spurious failures in
1498 sparc-aout and sparc-coff targets.
1499
fd486b63
PB
15002016-09-14 Peter Bergner <bergner@vnet.ibm.com>
1501
1502 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
1503 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
1504 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
1505 <copy, paste.>: Update tests.
1506 * testsuite/gas/ppc/power9.s: Likewise.
1507
fc7514d6
JM
15082016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1509
1510 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
1511 in "architecture mismatch" error messages.
1512
46a2d504
JM
15132016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1514
1515 * config/tc-sparc.c (md_assemble): Detect and warning on
1516 unpredictable DCTI couples in certain arches.
1517 (dcti_couples_detect): New global.
1518 (md_longopts): Add command line option -dcti-couples-detect.
1519 (md_show_usage): Document -dcti-couples-detect.
1520 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
1521 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1522 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
1523 * testsuite/gas/sparc/dcti-couples.s: New file.
1524 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
1525 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
1526 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
1527 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
1528 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
1529 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
1530 * doc/c-sparc.texi (Sparc-Opts): Likewise.
1531
32348c58
CZ
15322016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
1533
1534 * testsuite/gas/arc/tls-relocs2.d: New file.
1535 * testsuite/gas/arc/tls-relocs2.s: Likewise.
1536 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
1537 is used.
1538
952c3f51
AK
15392016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1540
1541 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
1542 strings.
1543 * doc/as.texinfo: Document new arch strings.
1544 * doc/c-s390.texi: Likewise.
1545
58af6397
AK
15462016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1547
1548 * config/tc-s390.c: Set all facitily bits by default
1549
8b71537b
PS
15502016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
1551
1552 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
1553
8d471ec1
L
15542016-09-08 H.J. Lu <hongjiu.lu@intel.com>
1555
1556 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
1557 for Intel MCU.
1558
5b64d091
L
15592016-09-07 H.J. Lu <hongjiu.lu@intel.com>
1560
1561 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
1562 (set_cpu_arch): Updated.
1563 (md_parse_option): Likewise.
1564 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
1565 iamcu-inval-2 and iamcu-inval-3.
1566 * testsuite/gas/i386/iamcu-4.d: New file.
1567 * testsuite/gas/i386/iamcu-4.s: Likewise.
1568 * testsuite/gas/i386/iamcu-5.d: Likewise.
1569 * testsuite/gas/i386/iamcu-5.s: Likewise.
1570 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
1571 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
1572 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
1573 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
1574
27e5a270
RE
15752016-09-07 Richard Earnshaw <rearnsha@arm.com>
1576
1577 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
1578 ARMv8-A CPUs except xgene1.
1579
f7d69005
AM
15802016-08-31 Alan Modra <amodra@gmail.com>
1581
1582 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
1583 ppc_cpu rather than calling ppc_mach to determine VLE mode.
1584 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
1585
1b8b6532
JM
15862016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
1587
1588 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
1589 to camellia_fl.
1590 * testsuite/gas/sparc/crypto.s: Likewise.
1591
1a336194
TP
15922016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1593
1594 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
1595 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
1596 their lowecase counterpart special registers. Write register
1597 identifier in hex.
1598 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
1599 operation, special register and then case. Use different register for
1600 each operation. Add tests for new special registers.
1601 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
1602 accordingly.
1603 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1604 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1605
c4dd0ba2
TP
16062016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
1607
1608 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
1609 special registers.
1610 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
1611 registers.
1612 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1613 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1614 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1615
6b40c462
L
16162016-08-24 H.J. Lu <hongjiu.lu@intel.com>
1617
1618 * config/tc-i386.c (cpu_arch): Add .ptwrite.
1619 * doc/c-i386.texi: Document ptwrite and .ptwrite.
1620 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
1621 x86-64-ptwrite and x86-64-ptwrite-intel.
1622 * testsuite/gas/i386/ptwrite-intel.d: New file.
1623 * testsuite/gas/i386/ptwrite.d: Likewise.
1624 * testsuite/gas/i386/ptwrite.s: Likewise.
1625 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
1626 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
1627 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
1628
873f10f0
TC
16292016-08-19 Tamar Christina <tamar.christina@arm.com>
1630
1631 * config/tc-arm.c (do_co_reg2c): Added constraint.
1632 * testsuite/gas/arm/dest-unpredictable.s: New.
1633 * testsuite/gas/arm/dest-unpredictable.l: New.
1634 * testsuite/gas/arm/dest-unpredictable.d: New.
1635
dd905818
NC
16362016-08-19 Nick Clifton <nickc@redhat.com>
1637
1638 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
1639 ordering of sections.
1640 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1641 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
1642 * testsuite/gas/ia64/alias.d: Likewise.
1643 * testsuite/gas/ia64/group-1.d: Likewise.
1644 * testsuite/gas/ia64/group-2.d: Likewise.
1645 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
1646 * testsuite/gas/ia64/secname.d: Likewise.
1647 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
1648 * testsuite/gas/ia64/unwind.d: Likewise.
1649 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
1650 * testsuite/gas/ia64/xdata.d: Likewise.
1651 * testsuite/gas/mmix/bspec-1.d: Likewise.
1652 * testsuite/gas/mmix/bspec-2.d: Likewise.
1653 * testsuite/gas/mmix/byte-1.d: Likewise.
1654 * testsuite/gas/mmix/loc-1.d: Likewise.
1655 * testsuite/gas/mmix/loc-2.d: Likewise.
1656 * testsuite/gas/mmix/loc-3.d: Likewise.
1657 * testsuite/gas/mmix/loc-4.d: Likewise.
1658 * testsuite/gas/mmix/loc-5.d: Likewise.
1659 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1660
dbd8770c
RS
16612016-08-11 Richard Sandiford <richard.sandiford@arm.com>
1662
1663 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
1664 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
1665 Add tests for -0.0. Add an end-of-file comment.
1666
7ea12e5c
NC
16672016-08-05 Nick Clifton <nickc@redhat.com>
1668
b126985e
NC
1669 PR gas/20429
1670 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
1671 registers are pushed.
1672 (do_vfp_nsyn_pop): Check that no more than 16 registers are
1673 popped.
1674 * testsuite/gas/arm/pr20429.s: New test.
1675 * testsuite/gas/arm/pr20429.d: New test driver.
1676 * testsuite/gas/arm/pr20429.1: Expected error output.
1677
7ea12e5c
NC
1678 PR gas/20364
1679 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
1680 aligning the frag.
1681 (aarch64_init): Treat rs_align frags in code sections as
1682 containing code, not data.
1683 * testsuite/gas/aarch64/pr20364.s: New test.
1684 * testsuite/gas/aarch64/pr20364.d: New test driver.
1685
02442566
ST
16862016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
1687
1688 PR gas/20427
1689 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
1690 of 64-bit relocation types when assembling for a 32-bit Solaris
1691 target.
1692
c88960d0
JM
16932016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
1694
1695 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
1696 ELF targets.
1697 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
1698 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
1699 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
1700 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
1701 targets.
1702 (sparc_elf_setup): Delete.
1703 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
1704 test's #name entry.
1705
7bd374a4
MR
17062016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1707
1708 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
1709 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
1710 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
1711 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
1712 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
1713 (get_append_method): Also return APPEND_ADD_COMPACT for
1714 microMIPS instructions.
1715 (find_altered_mips16_opcode): Exclude macros from matching.
1716 Factor code out...
1717 (find_altered_opcode): ... to this new function.
1718 (find_altered_micromips_opcode): New function.
1719 (frag_branch_delay_slot_size): Likewise.
1720 (append_insn): Handle microMIPS branch/jump compaction.
1721 (macro_start): Likewise.
1722 (relaxed_micromips_32bit_branch_length): Likewise.
1723 (md_convert_frag): Likewise.
1724 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
1725 for delay slot filling.
1726 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
1727 delay slot filling.
1728 * testsuite/gas/mips/micromips-size-1.s: Likewise.
1729 * testsuite/gas/mips/micromips.l: Adjust line numbers.
1730 * testsuite/gas/mips/micromips-warn.l: Likewise.
1731 * testsuite/gas/mips/micromips-size-1.l: Likewise.
1732 * testsuite/gas/mips/micromips.d: Adjust padding.
1733 * testsuite/gas/mips/micromips-trap.d: Likewise.
1734 * testsuite/gas/mips/micromips-insn32.d: Likewise.
1735 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1736 * testsuite/gas/mips/micromips@beq.d: Update patterns for
1737 branch/jump compaction.
1738 * testsuite/gas/mips/micromips@bge.d: Likewise.
1739 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
1740 * testsuite/gas/mips/micromips@blt.d: Likewise.
1741 * testsuite/gas/mips/micromips@bltu.d: Likewise.
1742 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
1743 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
1744 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
1745 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
1746 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
1747 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1748 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1749 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
1750 Likewise.
1751 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
1752 Likewise.
1753 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
1754 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
1755 * testsuite/gas/mips/micromips@relax.d: Likewise.
1756 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
1757 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
1758 * testsuite/gas/mips/branch-extern-2.d: Likewise.
1759 * testsuite/gas/mips/branch-extern-4.d: Likewise.
1760 * testsuite/gas/mips/branch-section-2.d: Likewise.
1761 * testsuite/gas/mips/branch-section-4.d: Likewise.
1762 * testsuite/gas/mips/branch-weak-2.d: Likewise.
1763 * testsuite/gas/mips/branch-weak-5.d: Likewise.
1764 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
1765 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1766 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1767 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
1768 Likewise.
1769 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1770 Likewise.
1771 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1772 Likewise.
1773 * testsuite/gas/mips/micromips-compact.d: New test.
1774 * testsuite/gas/mips/mips.exp: Run the new test.
1775
db18dbab
GM
17762016-07-27 Graham Markall <graham.markall@embecosm.com>
1777
1778 * config/tc-arc.c: Add new global arc_addrtype_hash.
1779 Define O_colon and O_addrtype.
1780 (debug_exp): Add O_colon and O_addrtype.
1781 (tokenize_arguments): Handle colon and address type
1782 tokens.
1783 (declare_addrtype): New function.
1784 (md_begin): Initialise arc_addrtype_hash.
1785 (arc_parse_name): Add lookup of address types.
1786 (assemble_insn): Handle colons and address types by
1787 ignoring them.
1788 * testsuite/gas/arc/nps400-8.s: New file.
1789 * testsuite/gas/arc/nps400-8.d: New file.
1790 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
1791 * testsuite/gas/arc/nps400-8.d: Add expected PMU
1792 instruction output.
1793
8484fb75
MR
17942016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1795
1796 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
1797 (RELAX_MICROMIPS_INSN32): New macro.
1798 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1799 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
1800 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
1801 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
1802 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
1803 Shift bits.
1804 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
1805 branches.
1806 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
1807 mode.
1808 (md_convert_frag): Likewise.
1809 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
1810 conditionals.
1811 * testsuite/gas/mips/micromips-branch-relax.l: Update line
1812 numbers accordingly.
1813 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
1814 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
1815 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
1816 test.
1817 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
1818 stderr output.
1819 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
1820 stderr output.
1821 * testsuite/gas/mips/mips.exp: Run the new tests.
1822
fecd57f9
L
18232016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1824
1825 * configure: Regenerated.
1826
37fd5ef3
CZ
18272016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
1828
1829 * testsuite/gas/arc/dsp.d: New file.
1830 * testsuite/gas/arc/dsp.s: Likewise.
1831 * testsuite/gas/arc/fpu.d: Likewise.
1832 * testsuite/gas/arc/fpu.s: Likewise.
1833 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
1834 * testsuite/gas/arc/ext3op.d: Likewise.
1835 * testsuite/gas/arc/tdpfp.d: Likewise.
1836 * testsuite/gas/arc/tfpuda.d: Likewise.
1837
5caa2b07
MR
18382016-07-20 Maciej W. Rozycki <macro@imgtec.com>
1839
1840 * config/tc-mips.c (mips_force_relocation): Remove
1841 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
1842
a6ebf616
MR
18432016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1844
1845 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
1846 Adjust comments for BAL to JALX linker conversion.
1847 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
1848 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
1849 expected.
1850 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
1851 * testsuite/gas/mips/branch-local-4.d: New test.
1852 * testsuite/gas/mips/branch-local-n32-4.d: New test.
1853 * testsuite/gas/mips/branch-local-n64-4.d: New test.
1854 * testsuite/gas/mips/branch-addend.d: New test.
1855 * testsuite/gas/mips/branch-addend-n32.d: New test.
1856 * testsuite/gas/mips/branch-addend-n64.d: New test.
1857 * testsuite/gas/mips/branch-local-4.s: New test source.
1858 * testsuite/gas/mips/branch-addend.s: New test source.
1859 * testsuite/gas/mips/mips.exp: Run the new tests.
1860
9d862524
MR
18612016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1862
1863 * config/tc-mips.c (mips_force_relocation): Also retain branch
1864 relocations against MIPS16 and microMIPS symbols.
1865 (fix_bad_cross_mode_jump_p): New function.
1866 (fix_bad_same_mode_jalx_p): Likewise.
1867 (fix_bad_misaligned_jump_p): Likewise.
1868 (fix_bad_cross_mode_branch_p): Likewise.
1869 (fix_bad_misaligned_branch_p): Likewise.
1870 (fix_validate_branch): Likewise.
1871 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
1872 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
1873 etc. Verify the ISA mode and alignment of the jump target.
1874 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
1875 with a call to `fix_validate_branch'.
1876 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
1877 <BFD_RELOC_16_PCREL_S2>: Likewise.
1878 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1879 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
1880 Verify the ISA mode and alignment of the branch target.
1881 (md_convert_frag): Verify the ISA mode and alignment of resolved
1882 MIPS16 branch targets.
1883 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
1884 branch targets with `.insn'.
1885 * testsuite/gas/mips/branch-misc-5.s: Likewise.
1886 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
1887 accordingly.
1888 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1889 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
1890 non-instruction branch target with `.insn'.
1891 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
1892 with external symbols.
1893 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
1894 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1895 * testsuite/gas/mips/micromips-trap.d: Likewise.
1896 * testsuite/gas/mips/micromips.d: Likewise.
1897 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
1898 targets with `.insn'.
1899 * testsuite/gas/mips/mips16.d: Update accordingly.
1900 * testsuite/gas/mips/mips16-64.d: Likewise.
1901 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
1902 branch target with `.insn'.
1903 * testsuite/gas/mips/relax-swap3.s: Likewise.
1904 * testsuite/gas/mips/branch-local-2.l: New list test.
1905 * testsuite/gas/mips/branch-local-3.l: New list test.
1906 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
1907 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
1908 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
1909 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
1910 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
1911 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
1912 * testsuite/gas/mips/unaligned-jump-3.d: New test.
1913 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
1914 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
1915 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1916 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1917 test.
1918 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1919 test.
1920 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
1921 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
1922 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
1923 * testsuite/gas/mips/unaligned-branch-3.d: New test.
1924 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
1925 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
1926 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
1927 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
1928 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
1929 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
1930 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
1931 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
1932 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
1933 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
1934 test.
1935 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
1936 test.
1937 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
1938 * testsuite/gas/mips/branch-local-2.s: New test source.
1939 * testsuite/gas/mips/branch-local-3.s: New test source.
1940 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
1941 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
1942 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
1943 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1944 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1945 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1946 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1947 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1948 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1949 source.
1950 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1951 source.
1952 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1953 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1954 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1955 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1956 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1957 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1958 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1959 source.
1960 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1961 source.
1962 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1963 source.
1964 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1965 source.
1966 * testsuite/gas/mips/mips.exp: Run the new tests.
1967
065251a0
TS
19682016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1969
1970 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1971 unsigned int.
1972 (do_pseudo_b): Adjust.
1973 (do_pseudo_bal): Likewise.
1974 (do_pseudo_bge): Likewise.
1975 (do_pseudo_bges): Likewise.
1976 (do_pseudo_bgt): Likewise.
1977 (do_pseudo_bgts): Likewise.
1978 (do_pseudo_ble): Likewise.
1979 (do_pseudo_bles): Likewise.
1980 (do_pseudo_blt): Likewise.
1981 (do_pseudo_blts): Likewise.
1982 (do_pseudo_br): Likewise.
1983 (do_pseudo_bral): Likewise.
1984 (do_pseudo_la): Likewise.
1985 (do_pseudo_li): Likewise.
1986 (do_pseudo_ls_bhw): Likewise.
1987 (do_pseudo_ls_bhwp): Likewise.
1988 (do_pseudo_ls_bhwpc): Likewise.
1989 (do_pseudo_ls_bhwi): Likewise.
1990 (do_pseudo_move): Likewise.
1991 (do_pseudo_neg): Likewise.
1992 (do_pseudo_not): Likewise.
1993 (do_pseudo_pushpopm): Likewise.
1994 (do_pseudo_pushpop): Likewise.
1995 (do_pseudo_v3push): Likewise.
1996 (do_pseudo_v3pop): Likewise.
1997 (do_pseudo_pushpop_stack): Likewise.
1998 (do_pseudo_push_bhwd): Likewise.
1999 (do_pseudo_pop_bhwd): Likewise.
2000 (do_pseudo_pusha): Likewise.
2001 (do_pseudo_pushi): Likewise.
2002
9bceab41
TS
20032016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2004
2005 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
2006 bfd_reloc_code_real_type.
2007
cf80913a
TS
20082016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2009
2010 * config/tc-sparc.c (pop_table): Remove sentinel.
2011 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
2012 (md_begin): Adjust.
2013
35fec4ff
TS
20142016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2015
2016 * config/tc-z8k.c (newfix): Make type of type argument
2017 bfd_reloc_code_real_type.
2018 (apply_fix): Likewise.
2019
00dad9a4
AM
20202016-07-16 Alan Modra <amodra@gmail.com>
2021
2022 * config/tc-epiphany.c: Don't include libbfd.h.
2023 * config/tc-frv.c: Likewise.
2024 * config/tc-ip2k.c: Likewise.
2025 * config/tc-iq2000.c: Likewise.
2026 * config/tc-m32c.c: Likewise.
2027 * config/tc-mep.c: Likewise.
2028 * config/tc-mt.c: Likewise.
2029 * config/tc-nios2.c: Likewise.
2030
76e7a751
AM
20312016-07-16 Alan Modra <amodra@gmail.com>
2032
2033 * config/bfin-parse.y: Don't include libbfd.h.
2034 * config/tc-bfin.c: Likewise.
2035 * config/tc-rl78.c: Likewise.
2036 * config/tc-rx.c: Likewise.
2037 * config/tc-metag.c: Likewise.
2038 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
2039 * Makefile.am: Update dependencies.
2040 * Makefile.in: Regenerate.
2041
b416ba9b
MR
20422016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2043
2044 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
2045 (mips_force_relocation_abs): New prototype.
2046 * config/tc-mips.c (mips_force_relocation_abs): New function.
2047 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
2048 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
2049 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
2050 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
2051 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
2052 Likewise.
2053 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
2054 Likewise.
2055 * testsuite/gas/mips/branch-absolute-addend.d: New test.
2056 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
2057 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
2058 test.
2059 * testsuite/gas/mips/mips.exp: Run the new tests.
2060
96e9ba5f
MR
20612016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2062
2063 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
2064 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
2065 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
2066 addend calculated.
2067 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
2068 in `bar', export `foo'.
2069 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
2070 accordingly.
2071 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
2072 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
2073 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
2074 Likewise.
2075 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
2076 Likewise.
2077
0c117286
MR
20782016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2079
2080 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
2081 * testsuite/gas/mips/branch-absolute.d: New test.
2082 * testsuite/gas/mips/branch-absolute-n32.d: New test.
2083 * testsuite/gas/mips/branch-absolute-n64.d: New test.
2084 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
2085 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
2086 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
2087 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
2088 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
2089 test.
2090 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
2091 test.
2092 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
2093 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
2094 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
2095 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
2096 test.
2097 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
2098 test.
2099 * testsuite/gas/mips/branch-absolute.s: New test source.
2100 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
2101 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
2102 source.
2103 * testsuite/gas/mips/micromips-branch-absolute.s: New test
2104 source.
2105 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
2106 test source.
2107 * testsuite/gas/mips/mips.exp: Run the new tests.
2108
92281a5b
MR
21092016-07-13 Maciej W. Rozycki <macro@imgtec.com>
2110
2111 * testsuite/gas/mips/nal-1.d: New test.
2112 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
2113 * testsuite/gas/mips/nal-2.d: New test.
2114 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
2115 * testsuite/gas/mips/nal.s: New test source.
2116 * testsuite/gas/mips/mips.exp: Run the new tests.
2117
6e7ced37
JM
21182016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
2119
2120 * testsuite/gas/sparc/ldtxa.s: New file.
2121 * testsuite/gas/sparc/ldtxa.d: Likewise.
2122 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
2123
05bbf016
CZ
21242016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
2125
2126 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
2127 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
2128 as it is no longer needed.
2129
d9dcf8c6
MR
21302016-07-08 Maciej W. Rozycki <macro@imgtec.com>
2131
2132 * config/tc-mips.c (append_insn): Remove extraneous
2133 `install_insn' call.
2134
33d0ab95
JB
21352016-07-04 Jan Beulich <jbeulich@suse.com>
2136
2137 * config/tc-i386.c (check_qword_reg): Correct register kind
2138 checked.
2139 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
2140 16-bit register cases.
2141 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
2142
2143
fcedb9f3
MR
21442016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2145
2146 * testsuite/gas/mips/ecoff@ld.d: Remove test.
2147 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
2148 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
2149 * testsuite/gas/mips/ecoff@sd.d: Remove test.
2150 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
2151 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
2152 reloc patterns.
2153 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2154 * testsuite/gas/mips/bge.d: Likewise.
2155 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
2156 * testsuite/gas/mips/bgeu.d: Likewise.
2157 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
2158 * testsuite/gas/mips/blt.d: Likewise.
2159 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
2160 * testsuite/gas/mips/bltu.d: Likewise.
2161 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
2162 * testsuite/gas/mips/branch-likely.d: Likewise.
2163 * testsuite/gas/mips/la.d: Likewise.
2164 * testsuite/gas/mips/lb.d: Likewise.
2165 * testsuite/gas/mips/lifloat.d: Likewise.
2166 * testsuite/gas/mips/sb.d: Likewise.
2167 * testsuite/gas/mips/uld.d: Likewise.
2168 * testsuite/gas/mips/ulh.d: Likewise.
2169 * testsuite/gas/mips/ulw.d: Likewise.
2170 * testsuite/gas/mips/usd.d: Likewise.
2171 * testsuite/gas/mips/ush.d: Likewise.
2172 * testsuite/gas/mips/usw.d: Likewise.
2173
00437d3b
MR
21742016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2175
2176 * testsuite/gas/mips/branch-misc-2.s: Move non
2177 locally-defined-global symbol tests...
2178 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
2179 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
2180 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
2181 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
2182 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
2183 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
2184 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
2185 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
2186 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
2187 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
2188 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
2189 * testsuite/gas/mips/branch-misc-5.d: New test.
2190 * testsuite/gas/mips/branch-misc-5pic.d: New test.
2191 * testsuite/gas/mips/branch-misc-5-64.d: New test.
2192 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
2193 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
2194 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
2195 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
2196 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
2197 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
2198 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
2199 * testsuite/gas/mips/mips.exp: Run the new tests.
2200
f26c9c2e
MR
22012016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2202
2203 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
2204 symbols.
2205 * testsuite/gas/mips/beq.d: Update accordingly.
2206 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2207 * testsuite/gas/mips/micromips@beq.d: Likewise.
2208
d7f20d66
MR
22092016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2210
2211 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
2212 tests to NewABI targets.
2213
e51af157
MR
22142016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2215
2216 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
2217 together.
2218
93d8990c
SN
22192016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2220
2221 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
2222 require field.
2223 (aarch64_features): Initialize require fields.
2224 (aarch64_parse_features): Handle dependencies.
2225 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
2226 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
2227 * testsuite/gas/aarch64/illegal-nofp16.s: New.
2228 * testsuite/gas/aarch64/illegal-nofp16.l: New.
2229 * testsuite/gas/aarch64/illegal-nofp16.d: New.
2230
98a4fc78
NC
22312016-07-01 Nick Clifton <nickc@redhat.com>
2232
2233 * macro.c (macro_expand_body): Use a buffer big enough to hold an
2234 extremely large integer.
2235
248feb2f
JB
22362016-07-01 Jan Beulich <jbeulich@suse.com>
2237
2238 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
2239
96a84ea3
TG
22402016-07-01 Tristan Gingold <gingold@adacore.com>
2241
2242 * NEWS: Add marker for 2.27.
2243
8178be5b
JB
22442016-07-01 Jan Beulich <jbeulich@suse.com>
2245
2246 * tc-i386.c (i386_index_check): Add special checks for bndmk,
2247 bndldx, and bndstx.
2248 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
2249 as well as scaling by other than 1 tests.
2250 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
2251
327e8c42
JB
22522016-07-01 Jan Beulich <jbeulich@suse.com>
2253
2254 * tc-i386.c (md_assemble): Alter address size checking for MPX
2255 instructions.
2256 * testsuite/gas/i386/mpx-inval-2.s: New.
2257 * testsuite/gas/i386/mpx-inval-2.l: New.
2258 * testsuite/gas/i386/i386.exp: Run new test.
2259
83b16ac6
JB
22602016-07-01 Jan Beulich <jbeulich@suse.com>
2261
2262 PR gas/20318
2263 * config/tc-i386.c (match_template): Add char parameter,
2264 consumed in Intel mode for an extra suffix check.
2265 (md_assemble): New local variable mnem_suffix.
2266 * testsuite/gas/i386/suffix-bad.s: New.
2267 * testsuite/gas/i386/suffix-bad.l: New.
2268 * testsuite/gas/i386/i386.exp: Run new test (twice).
2269
c07315e0
JB
22702016-07-01 Jan Beulich <jbeulich@suse.com>
2271
2272 * testsuite/gas/i386/movz.s: New.
2273 * testsuite/gas/i386/movz32.d: New.
2274 * testsuite/gas/i386/movz64.d: New.
2275 * testsuite/gas/i386/i386.exp: Run new tests.
2276
8325cc63
JB
22772016-07-01 Jan Beulich <jbeulich@suse.com>
2278
2279 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
2280 (md_assemble): Free first memory operand string.
2281 (i386_index_check): Use repprefixok to distingush xlat from
2282 other (real) string ops.
2283 (maybe_adjust_templates): New.
2284 (i386_att_operand). Call it. Store first memory operand string.
2285 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
2286 * testsuite/gas/i386/intel-movs.s: New.
2287 * testsuite/gas/i386/intel-movs32.d: New.
2288 * testsuite/gas/i386/intel-movs64.d: New.
2289 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
2290 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
2291
3b821a28
MR
22922016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2293
2294 * config/tc-mips.c (get_append_method): Fix a comment typo.
2295
99e7978b
MF
22962016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
2297 Maciej W. Rozycki <macro@imgtec.com>
2298
2299 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
2300 case MIPS16 handling.
2301 * testsuite/gas/mips/branch-swap-3.d: New test.
2302 * testsuite/gas/mips/branch-swap-4.d: New test.
2303 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
2304 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
2305 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
2306 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
2307 * testsuite/gas/mips/branch-swap-3.s: New test source.
2308 * testsuite/gas/mips/mips.exp: Run the new tests.
2309
5e35670b
MR
23102016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2311
2312 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
2313 swapping sequence.
2314
93a24ba7
MR
23152016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2316
2317 PR gas/20312
2318 * write.c (subsegs_finish_section): Force no section padding to
2319 alignment on failed assembly, always set last frag's alignment
2320 from section.
2321 * testsuite/gas/all/pr20312.l: New list test.
2322 * testsuite/gas/all/pr20312.s: New test source.
2323 * testsuite/gas/all/gas.exp: Run the new test
2324
8d6f5ac3
AB
23252016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
2326
2327 * config.in (TARGET_WITH_CPU): Undefine.
2328 * configure.ac: Add --with-cpu support, and define in config.h.
2329 * configure: Regenerate.
2330 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
2331 * NEWS: Mention new configure option.
2332
534dbe46
MW
23332016-06-30 Matthew Wahab <matthew.wahab@arm.com>
2334
2335 * testsuite/gas/arm/armv8_2+rdma.d: New.
2336
4e3e1fdf
L
23372016-06-29 H.J. Lu <hongjiu.lu@intel.com>
2338
2339 * NEWS: Mention --enable-compressed-debug-sections=gas is the
2340 default for Linux/x86 targets.
2341 * configure.tgt (ac_default_compressed_debug_sections): Default
2342 to yes for Linux/x86 targets.
2343
6d44f09a
MR
23442016-06-29 Maciej W. Rozycki <macro@imgtec.com>
2345
2346 * write.c: Remove "libbfd.h" inclusion.
2347
eb9bb5b4
MR
23482016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2349
2350 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
2351 `type' test.
2352
d48796b5
AM
23532016-06-28 Alan Modra <amodra@gmail.com>
2354
2355 PR gas/20247
2356 * testsuite/gas/elf/section11.s: Don't start directives in first column.
2357
dab26bf4
RS
23582016-06-28 Richard Sandiford <richard.sandiford@arm.com>
2359
2360 * testsuite/gas/aarch64/diagnostic.s,
2361 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
2362
c9775dde
MR
23632016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2364
2365 * config/tc-mips.c (mips16_reloc_p): Handle
2366 BFD_RELOC_MIPS16_16_PCREL_S1.
2367 (b_reloc_p): Likewise.
2368 (limited_pcrel_reloc_p): Likewise.
2369 (md_pcrel_from): Likewise.
2370 (md_apply_fix): Likewise.
2371 (tc_gen_reloc): Likewise.
2372 (md_convert_frag): Likewise.
2373 (mips_fix_adjustable): Update comment.
2374 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
2375 output, add dump patterns.
2376 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
2377 output, add dump patterns.
2378 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
2379 output, add dump patterns.
2380 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
2381 output, add dump patterns.
2382 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
2383 output, add dump patterns.
2384 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
2385 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
2386 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
2387 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
2388 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
2389 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
2390 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
2391 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
2392 * testsuite/gas/mips/branch-weak-6.d: New test.
2393 * testsuite/gas/mips/branch-weak-7.d: New test.
2394 * testsuite/gas/mips/mips.exp: Run the new tests.
2395
45a54ee5
VG
23962016-06-27 Vineet Gupta <vgupta@synopsys.com>
2397
2398 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
2399 cfi_add_CFA_def_cfa to generate default CFA with offset
2400 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
2401
95daf210
NC
24022016-06-27 Nick Clifton <nickc@redhat.com>
2403
2404 PR gas/20247
2405 * as.h (do_not_pad_sections_to_alignment): New global variable.
2406 * as.c (show_usage): Add --no-pad-sections.
2407 (parse_args): Likewise.
2408 * write.c (size_seg): Skip padding the end of the section if
2409 requested from the command line.
2410 (SUB_SEGMENT_ALIGN): Likewise.
2411 * doc/as.texinfo: Document the new option.
2412 * NEWS: Mention the new feature.
2413 * testsuite/gas/elf/section11.s: New test.
2414 * testsuite/gas/elf/section11.d: New test driver.
2415 * testsuite/gas/elf/elf.exp: Run the new test.
2416
3cd72572
TS
24172016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2418
2419 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
2420 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
2421
e066bf5f
TS
24222016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2423
2424 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
2425 sentinal element.
2426 (map_suffix_reloc_to_operator): Likewise.
2427 (map_operator_to_reloc): Likewise.
2428
0708347f
TS
24292016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2430
2431 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
2432 element in relax_table.
2433
8a0b252a
TS
24342016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2435
2436 * config/tc-aarch64.c: Make the type of reg_entry::type
2437 aarch_reg_type.
2438
5703197e
TS
24392016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2440
2441 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
2442 (md_parse_option): Adjust.
2443 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
2444 with iteration from 0 to ARRAY_SIZE.
2445 * config/tc-mcore.c (md_begin): Likewise.
2446 * config/tc-visium.c (visium_parse_arch): Likewise.
2447
4b92e388
TS
24482016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2449
2450 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
2451 and simplify accordingly.
2452 (tic54x_include): Adjust.
2453 (tic54x_mlib): Likewise.
2454
7c2c4aa1
TS
24552016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2456
2457 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
2458
88a7ef16
MR
24592016-06-24 Maciej W. Rozycki <macro@imgtec.com>
2460
2461 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
2462 unchanged with relaxed MIPS16 instructions.
2463 (mips16_extended_frag): Adjust accordingly. Return 1 right
2464 away if a relocation will be required for the symbol requested.
2465 Remove dead first relaxation pass code.
2466 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
2467 (md_convert_frag): Adjust symbol value calculation. Raise an
2468 error if a relocation is required for the symbol requested.
2469 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
2470 add error output.
2471 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
2472 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
2473 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
2474 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
2475 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
2476 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
2477 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
2478 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
2479 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
2480 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
2481 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
2482 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
2483 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
2484 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
2485 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
2486 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
2487 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
2488 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
2489 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
2490 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
2491 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
2492 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
2493 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
2494 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
2495 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
2496 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
2497 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
2498 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
2499 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
2500 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
2501 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
2502 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
2503 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
2504 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
2505 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
2506 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
2507 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
2508 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
2509 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
2510 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
2511 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
2512 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
2513 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
2514 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
2515 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
2516 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
2517 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
2518 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
2519 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
2520 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
2521 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
2522 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
2523 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
2524 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
2525 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
2526 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
2527 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
2528 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
2529 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
2530 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
2531 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
2532 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
2533 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
2534 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
2535 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
2536 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
2537 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
2538 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
2539 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
2540 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
2541 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
2542 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
2543 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
2544 * testsuite/gas/mips/mips.exp: Run the new tests.
2545
5c0ff163
AM
25462016-06-24 Alan Modra <amodra@gmail.com>
2547
2548 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
2549
0e9c5a5c
MR
25502016-06-23 Maciej W. Rozycki <macro@imgtec.com>
2551
2552 * config/tc-mips.c (b_reloc_p): New function.
2553 (mips_fix_adjustable): Also keep the original microMIPS symbol
2554 referred from branch relocations.
2555 * testsuite/gas/mips/branch-local-1.d: New test.
2556 * testsuite/gas/mips/branch-local-n32-1.d: New test.
2557 * testsuite/gas/mips/branch-local-n64-1.d: New test.
2558 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
2559 relocations.
2560 * testsuite/gas/mips/branch-local-1.s: New test source.
2561 * testsuite/gas/mips/mips.exp: Run the new cases.
2562
ce440d63
GM
25632016-06-23 Graham Markall <graham.markall@embecosm.com>
2564
2565 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
2566 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
2567 options. Correct erroneous enabling of SPFP instructions when
2568 using -mnps400.
2569
6fd3a02d
PB
25702016-06-22 Peter Bergner <bergner@vnet.ibm.com>
2571
2572 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
2573 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
2574 setbool, xor3>: New tests.
2575 * testsuite/gas/ppc/power9.s: Likewise.
2576
b0b79343
TS
25772016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2578
2579 * config/tc-xtensa.c: Include elf/xtensa.h.
2580
8cec2cfe
MR
25812016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2582
2583 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
2584 <BFD_RELOC_LO16_PCREL>: New switch cases.
2585 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
2586 Move switch cases along `BFD_RELOC_MIPS_JMP'.
2587 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
2588 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
2589 the resolved case.
2590 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
2591 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
2592 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
2593 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
2594 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
2595 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
2596 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
2597 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
2598 * testsuite/gas/mips/mips.exp: Run the new tests.
2599
717ba204
MR
26002016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2601
2602 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
2603 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
2604 via `fixP->fx_addsy'.
2605
51f6035b
MR
26062016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2607
2608 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
2609 Calculate relocation from the containing aligned doubleword.
2610 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
2611 addend from the containing aligned doubleword.
2612
912815f0
MR
26132016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2614
2615 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
2616 rather than `mips_opts' for the R6 ISA check.
2617 (mips_fix_adjustable): Likewise.
2618 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
2619 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
2620 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
2621 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
2622 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
2623 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
2624 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
2625 * testsuite/gas/mips/mips.exp: Run the new tests.
2626
bdd582db
GM
26272016-06-21 Graham Markall <graham.markall@embecosm.com>
2628
2629 * config/tc-arc.c (check_cpu_feature, md_parse_option):
2630 Add nps400 option and feature. Add check for nps400
2631 feature. Refactor existing checks to check subclass before
2632 feature enablement.
2633 (md_show_usage): Document flags for NPS-400 and add some other
2634 undocumented flags.
2635 (cpu_type): Remove nps400 CPU type entry
2636 (check_zol): Remove bfd_mach_arc_nps400 case.
2637 (md_show_usage): Add help on -mcpu=nps400.
2638 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
2639 set.
2640 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
2641 -fpuda flags. Document -mcpu=nps400.
2642 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
2643 expected flags to match ARC700 instead of NPS400.
2644 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
2645 * testsuite/gas/arc/nps-400-2.d: Likewise.
2646 * testsuite/gas/arc/nps-400-3.d: Likewise.
2647 * testsuite/gas/arc/nps-400-4.d: Likewise.
2648 * testsuite/gas/arc/nps-400-5.d: Likewise.
2649 * testsuite/gas/arc/nps-400-6.d: Likewise.
2650 * testsuite/gas/arc/nps-400-7.d: Likewise.
2651 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
2652 avoid clash with cbba instruction.
2653 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2654 * testsuite/gas/arc/textinsn3op.d: Likewise.
2655 * testsuite/gas/arc/textinsn3op.s: Likewise.
2656 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
2657 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
2658
ff03d62a
MR
26592016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2660
2661 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
2662 * testsuite/gas/mips/r6-64-n64.d: Likewise.
2663
507dcb32
MR
26642016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2665
2666 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
2667 reloc conversion.
2668
9f99c22e
VP
26692016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
2670
2671 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
2672
96074adc
JM
26732016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2674
2675 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
2676 %hmcddfr and %hva_mask_nz.
2677 (sparc_ip): New handling of asr/privileged/hyperprivileged
2678 registers, adapted to the new form of the sparc opcodes table.
2679 * testsuite/gas/sparc/rdasr.s: New file.
2680 * testsuite/gas/sparc/rdasr.d: Likewise.
2681 * testsuite/gas/sparc/wrasr.s: Likewise.
2682 * testsuite/gas/sparc/wrasr.d: Likewise.
2683 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
2684 wrasr tests.
2685 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
2686 registers require it.
2687 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
2688 registers and write instruction modalities.
2689 * testsuite/gas/sparc/wrpr.d: Likewise.
2690 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
2691 registers.
2692 * testsuite/gas/sparc/rdhpr.d: Likewise.
2693 * testsuite/gas/sparc/wrhpr.s: Likewise.
2694 * testsuite/gas/sparc/wrhpr.d: Likewise.
2695
7a10c22f
JM
26962016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2697
2698 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
2699 architectures to use the right opcode architecture.
2700 (sparc_md_end): Handle v9{c,d,e,v,m}.
2701 (sparc_ip): Fix some comments.
2702 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
2703 instruction, which is v9d.
2704 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
2705 instruction from the test, as %mwait is not readable.
2706 * testsuite/gas/sparc/mwait.d: Likewise.
2707 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
2708 mismatch architecture errors.
2709 * testsuite/gas/sparc/mism-2.s: New file.
2710
8b8c7c9f
JM
27112016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2712
2713 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
2714 empty string to mark the end of the array.
2715 (hpriv_reg_table): Likewise.
2716 (v9a_asr_table): Likewise.
2717 (cmp_reg_entry): Handle entries with NULL names.
2718 (F_POP_V9): Define.
2719 (F_POP_PCREL): Likewise.
2720 (F_POP_TLS_CALL): Likewise.
2721 (F_POP_POSTFIX): Likewise.
2722 (struct pop_entry): New type.
2723 (pop_table): New variable.
2724 (enum pop_entry_type): New type.
2725 (struct perc_entry): Likewise.
2726 (NUM_PERC_ENTRIES): Define.
2727 (perc_table): New variable.
2728 (cmp_perc_entry): New function.
2729 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
2730 perc_table.
2731 (sparc_ip): Handle entries with NULL names in priv_reg_table,
2732 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
2733 %-pseudo-ops.
2734
3ee6e4fb
NC
27352016-06-15 Nick Clifton <nickc@redhat.com>
2736
2737 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
2738 instruction size.
2739 * config/tc-mcore.c (md_assemble): Likewise.
2740 * config/tc-mn10200.c (md_assemble): Likewise.
2741 * config/tc-moxie.c (md_assemble): Likewise.
2742 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
2743 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
2744 exception targets. Add alpha, hppa, microblaze and rl78 to list
2745 of exceptions.
2746 (forward): Add microblaze to list of exceptions.
2747 (fwdexp): Add alpha to list of exceptions.
2748 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
2749 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
2750 (do_930509a): Alpha sort list of exception targets. Add h8300 and
2751 mn10200 to list of exceptions.
2752 (align2): Expect to fail for nds32.
2753 (cond): Add alpha and rl78 to list of exceptions.
2754 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
2755 * testsuite/gas/all/string.d: Skip for tic4x.
2756 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
2757 target does not support ELF.
2758 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
2759 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
2760 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
2761 tests for sh-pe and sh-rtemscoff targets.
2762 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
2763 list of exceptions.
2764 (type): Run the noifunc version for alpha-freebsd and visium.
2765 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
2766 mn10200 or moxie targets.
2767 * testsuite/gas/ft32/insn.d: Update expected disassembly.
2768 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
2769 targets.
2770 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
2771 mcore and rx targets.
2772 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
2773 rl78 and vax.
2774 (purge): Expect to fail on the ns32k and vax.
2775 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
2776 * testsuite/gas/nds32/ls.d: Likewise.
2777 * testsuite/gas/nds32/sys-reg.d: Likewise.
2778 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
2779 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
2780 * testsuite/gas/pe/section-align-3.d: Likewise.
2781 * testsuite/gas/pe/section-exclude.d: Likewise.
2782 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
2783 data has been seen.
2784 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
2785 for variations in whitespace.
2786 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
2787 data has been seen.
2788 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
2789 Installs a 32-bit value without generating warnings on 64-bit
2790 hosts.
2791 Use the new macro to replace the .word directives.
2792
02f3be19
AB
27932016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2794
2795 * testsuite/gas/arc/add_s.d: New file.
2796 * testsuite/gas/arc/add_s.s: New file.
2797
6f9f37ed 27982016-06-14 Graham Markall <graham.markall@embecosm.com>
28215275
GM
2799
2800 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
2801 * testsuite/gas/arc/nps400-6.d: Likewise.
2802
6f9f37ed 28032016-06-14 Graham Markall <graham.markall@embecosm.com>
9ba75c88
GM
2804
2805 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
2806 addf.
2807 * testsuite/gas/arc/nps400-6.d: Likewise.
2808
6f9f37ed 28092016-06-14 Graham Markall <graham.markall@embecosm.com>
14053c19
GM
2810
2811 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
2812 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
2813 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
2814 * testsuite/gas/arc/nps400-6.d: Likewise.
2815
d2dfe54d
NC
28162016-06-14 Nick Clifton <nickc@redhat.com>
2817
2818 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
2819 signed constant.
2820
97f50151
MR
28212016-06-13 Maciej W. Rozycki <macro@imgtec.com>
2822
2823 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
2824 JALR relocations on R6.
2825 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
2826 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
2827 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
2828 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
2829 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
2830 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
2831 test.
2832 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
2833 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
2834 test.
2835 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
2836 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
2837 source.
2838 * testsuite/gas/mips/mips.exp: Run the new tests.
2839
0a8be2fe
VP
28402016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
2841
2842 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
2843 * doc/c-aarch64.texi: Document that vulcan is a valid processor
2844 name.
2845
69c9e028
NC
28462016-06-13 Nick Clifton <nickc@redhat.com>
2847
2848 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
2849 that are not supported.
2850
2851 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
2852 constant.
2853 * config/tc-cr16.c (check_range): Likewise.
2854 * config/tc-nios2.c (nios2_check_overflow): Likewise.
2855
08d3b0cc
RL
28562016-06-08 Renlin Li <renlin.li@arm.com>
2857
2858 * config/tc-aarch64.c (print_operands): Substitute size.
2859 (output_operand_error_record): Likewise.
2860
14b57c7c
AM
28612016-06-07 Alan Modra <amodra@gmail.com>
2862
2863 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
2864 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
2865 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
2866 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
2867 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
2868 add vle_opcodes twice.
2869 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
2870
4d1464f2
MW
28712016-06-07 Matthew Wahab <matthew.wahab@arm.com>
2872
2873 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
2874 (arm_ext_ras): Renamed from arm_ext_v8_2.
2875 (insns): Update for arm_ext_v8_2 renaming.
2876 (arm_extensions): Add "ras".
2877 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
2878 * testsuite/gas/arm/armv8-a+ras.d: New.
2879 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
2880 options.
2881
852a1d49
TS
28822016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2883
2884 * itbl-parse.y (yyerror): Use modern argument declaration style.
2885
c4212e11
TS
28862016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2887
2888 * config/tc-sh.c (parse_reg): Change type of mode argument to
2889 sh_arg_type.
2890 (get_operand): Adjust.
2891 (insert): Change type of how to bfd_reloc_code_real_type.
2892 (insert4): Likewise.
2893 * config/tc-sh64.c (shmedia_get_operand): Adjust.
2894 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
2895
73a229c7
TS
28962016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2897
2898 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
2899 const char *.
2900
026122a6
PB
29012016-06-03 Peter Bergner <bergner@vnet.ibm.com>
2902
2903 PR binutils/20196
2904 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
2905 stbcx., sthcx., stwcx., stdcx.>: Add tests.
2906 * gas/testsuite/gas/ppc/e6500.d: Likewise.
2907 * gas/testsuite/gas/ppc/power8.s: Likewise.
2908 * gas/testsuite/gas/ppc/power8.d: Likewise.
2909 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
2910 stdcx.>: Add tests.
2911 * gas/testsuite/gas/ppc/power4.d: Likewise.
2912
07f5af7d
L
29132016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2914
2915 PR binutis/18386
2916 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2917 * testsuite/gas/i386/x86-64-branch.d: Updated.
2918 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2919 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2920 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
2921
1aa70332
KT
29222016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2923
2924 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
2925 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
2926
362a3eba
KT
29272016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2928
2929 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
2930 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
2931
4ad0bb5f
VG
29322016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2933
2934 * configure.tgt: Replace -uclibc with *.
2935
4eb6f892
AB
29362016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2937
2938 * config/tc-arc.c (parse_opcode_flags): New function.
2939 (find_opcode_match): Move flag parsing code out to new function.
2940 Ignore operands marked IGNORE.
2941 (build_fake_opcode_hash_entry): New function.
2942 (find_special_case_long_opcode): New function.
2943 (find_special_case): Lookup long opcodes.
2944 * testsuite/gas/arc/nps400-7.d: New file.
2945 * testsuite/gas/arc/nps400-7.s: New file.
2946
c273521c
TS
29472016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2948
2949 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2950
814f1489
TS
29512016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2952
2953 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2954 sentinal with iteration to array size.
2955
d05584d3
TS
29562016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2957
2958 * config/xtensa-relax.h: Move typedefs of enums to the enums
2959 definition.
2960
5e429f4c
TS
29612016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2962
2963 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2964 macro.
2965
315f180f
GM
29662016-06-01 Graham Markall <graham.markall@embecosm.com>
2967
2968 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2969 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2970 * testsuite/gas/arc/nps-400-1.d: Likewise.
2971
0cbd0046
L
29722016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2973
2974 PR gas/20145
2975 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2976 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2977 noavx512ifma and noavx512vbmi.
2978 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2979 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2980 and noavx512vbmi.
2981 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2982 * testsuite/gas/i386/noavx512-1.l: New file.
2983 * testsuite/gas/i386/noavx512-1.s: Likewise.
2984 * testsuite/gas/i386/noavx512-2.l: Likewise.
2985 * testsuite/gas/i386/noavx512-2.s: Likewise.
2986
1848e567
L
29872016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2988
2989 PR gas/20145
2990 * config/tc-i386.c (cpu_arch): Add 687.
2991 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2992 nosse4.1, nosse4.2, nosse4 and noavx2.
2993 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2994 register. Check cpuregxmm instead of cpusse for XMM register.
2995 Check cpuregymm instead of cpuavx for YMM register. Check
2996 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
2997 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
2998 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
2999 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
3000 * testsuite/gas/i386/arch-10.d (as): Likewise.
3001 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
3002 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
3003 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
3004 and noavx-4.
3005 * testsuite/gas/i386/no87-3.l: New file.
3006 * testsuite/gas/i386/no87-3.s: Likewise.
3007 * testsuite/gas/i386/noavx-3.l: Likewise.
3008 * testsuite/gas/i386/noavx-3.s: Likewise.
3009 * testsuite/gas/i386/noavx-4.d: Likewise.
3010 * testsuite/gas/i386/noavx-4.s: Likewise.
3011 * testsuite/gas/i386/nosse-4.l: Likewise.
3012 * testsuite/gas/i386/nosse-4.s: Likewise.
3013 * testsuite/gas/i386/nosse-5.d: Likewise.
3014 * testsuite/gas/i386/nosse-5.s: Likewise.
3015
e92bae62
L
30162016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3017
3018 PR gas/20154
3019 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
3020 cpuintel64.
3021 (match_template): Check Intel64/AMD64 ISA.
3022
e89c5eaa
L
30232016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3024
3025 PR gas/20154
3026 * config/tc-i386.c (intel64): New.
3027 (cpu_flags_match): Set cpuamd64 and cpuintel64.
3028 (md_parse_option): Set intel64 instead of cpuamd64 and
3029 cpuintel64.
3030
9d07ebe1
L
30312016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3032
3033 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
3034 cpuno64.
3035
19dfcc89
PB
30362016-05-26 Peter Bergner <bergner@vnet.ibm.com>
3037
3038 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
3039 * testsuite/gas/ppc/altivec3.s: Likewise.
3040 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
3041 * testsuite/gas/ppc/power9.s: Likewise.
3042
8d5b9a5a
L
30432016-05-26 H.J. Lu <hongjiu.lu@intel.com>
3044
3045 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
3046 * testsuite/gas/i386/noavx-1.l: Likewise.
3047 * testsuite/gas/i386/nommx-1.l: Likewise.
3048 * testsuite/gas/i386/nosse-1.l: Likewise.
3049 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
3050 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
3051 * testsuite/gas/i386/noavx-1.s: Likewise.
3052 * testsuite/gas/i386/nommx-1.s: Likewise.
3053 * testsuite/gas/i386/nosse-1.s: Likewise.
3054 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
3055
81cead6f
TS
30562016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3057
3058 * config/tc-metag.c (metag_handle_align): Make the type of noop
3059 unsigned char.
3060
79052aae
TS
30612016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3062
3063 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
3064 bfd_reloc_code_real_type.
3065
73b090a9
L
30662016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3067
3068 PR gas/20140
3069 * config/tc-i386.c (cpu_flags_match): Require another match
3070 for AVX512VL.
3071 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
3072 x86-64-avx512vl-1 and x86-64-avx512vl-2.
3073 * testsuite/gas/i386/avx512vl-1.l: New file.
3074 * testsuite/gas/i386/avx512vl-1.s: Likewise.
3075 * testsuite/gas/i386/avx512vl-2.l: Likewise.
3076 * testsuite/gas/i386/avx512vl-2.s: Likewise.
3077 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
3078 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
3079 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
3080 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
3081
f1360d58
L
30822016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3083
3084 PR gas/20141
3085 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
3086 * testsuite/gas/i386/x86-64-pr20141.d: New file.
3087 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
3088
293f5f65
L
30892016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3090
3091 * config/tc-i386.c (arch_entry): Remove negated.
3092 (noarch_entry): New struct.
3093 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
3094 (cpu_noarch): New.
3095 (set_cpu_arch): Check cpu_noarch after cpu_arch.
3096 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
3097 cpu_arch.
3098 (output_message): New function.
3099 (show_arch): Use it. Handle cpu_noarch.
3100 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
3101 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
3102 * testsuite/gas/i386/noavx-1.l: New file.
3103 * testsuite/gas/i386/noavx-1.s: Likewise.
3104 * testsuite/gas/i386/noavx-2.s: Likewise.
3105 * testsuite/gas/i386/noavx-2.l: Likewise.
3106 * testsuite/gas/i386/nommx-1.s: Likewise.
3107 * testsuite/gas/i386/nommx-1.l: Likewise.
3108 * testsuite/gas/i386/nommx-2.s: Likewise.
3109 * testsuite/gas/i386/nommx-2.l: Likewise.
3110 * testsuite/gas/i386/nommx-3.s: Likewise.
3111 * testsuite/gas/i386/nommx-3.l: Likewise.
3112 * testsuite/gas/i386/nosse-1.s: Likewise.
3113 * testsuite/gas/i386/nosse-1.l: Likewise.
3114 * testsuite/gas/i386/nosse-2.s: Likewise.
3115 * testsuite/gas/i386/nosse-2.l: Likewise.
3116 * testsuite/gas/i386/nosse-3.s: Likewise.
3117 * testsuite/gas/i386/nosse-3.l: Likewise.
3118
934c2632
CZL
31192016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
3120
ee4d7613 3121 PR target/20067
934c2632
CZL
3122 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
3123 instruction if supported by the currently selected fpu variant.
3124 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
3125 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
3126
44d3da23 31272016-05-24 Maciej W. Rozycki <macro@imgtec.com>
934c2632 3128
44d3da23
MR
3129 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
3130 jump relocations against MIPS16 or microMIPS symbols on RELA
3131 targets.
3132 * testsuite/gas/mips/jalx-local.d: New test.
3133 * testsuite/gas/mips/jalx-local-n32.d: New test.
3134 * testsuite/gas/mips/jalx-local-n64.d: New test.
3135 * testsuite/gas/mips/jalx-local.s: New test source.
3136 * testsuite/gas/mips/mips.exp: Run the new tests.
3137
4512dafa
MR
31382016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3139
3140 * config/tc-mips.c (md_apply_fix)
3141 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
3142 code accordingly.
3143
cc34adb2
TS
31442016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3145
3146 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
3147 operator to operatorT.
3148 (map_suffix_reloc_to_operator): Change return type to operatorT.
3149
c023823f
TS
31502016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3151
3152 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
3153
049efc64
TS
31542016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3155
3156 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
3157 handler_charp to const char *.
3158
b19e0aeb
TS
31592016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3160
3161 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
3162 (ft32_target_format): Likewise.
3163 (TARGET_FORMAT): Adjust.
3164
e5e27b07
TS
31652016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3166
3167 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
3168 (ia64_frob_label): Likewise.
3169
6610dc6d
TS
31702016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3171
3172 * config/tc-cr16.c (check_range): Make type of retval op_err.
3173 * config/tc-crx.c: Likewise.
3174
87789e08
CZ
31752016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
3176
3177 * config/tc-arc.c (md_begin): Add XY registers.
3178 (cpu_types): Code density is default off for ARC EM.
3179
c810e0b8
CZ
31802016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
3181
3182 * config/tc-arc.c (attributes_t): Renamed attribute class to
3183 attr_class.
3184 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
3185
d26a14db
NC
31862016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
3187
3188 * configuse.tgt: Add entry for arm-phoenix.
3189
f10e0aef
TS
31902016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3191
3192 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
3193
2900e701
TS
31942016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3195
3196 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
3197
3d207518
TS
31982016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3199
3200 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
3201 (md_begin): Likewise.
3202 (encode_condition): Likewise.
3203 (encode_cc3): Likewise.
3204 (encode_cc2): Likewise.
3205 (encode_operand): Likewise.
3206 (tic54x_undefined_symbol): Likewise.
3207
a4968f42
MF
32082016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
3209
3210 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
3211 p6600 entry.
3212 * doc/c-mips.texi: Document p6600 -march option.
3213
4e21640f
L
32142016-05-20 H.J. Lu <hongjiu.lu@intel.com>
3215
3216 PR gas/19600
3217 * config/tc-i386.c (md_apply_fix): Preserve addend for
3218 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
3219 * testsuite/gas/i386/addend.d: New file.
3220 * testsuite/gas/i386/addend.s: Likewise.
3221 * testsuite/gas/i386/x86-64-addend.d: Likewise.
3222 * testsuite/gas/i386/x86-64-addend.s: Likewise.
3223 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
3224 * testsuite/gas/i386/reloc32.d: Updated.
3225
17c6c9d9
MR
32262016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3227
3228 * config/tc-mips.c (append_insn): Correct the encoding of a
3229 constant argument for microMIPS JALX.
3230 (tc_gen_reloc): Correct the encoding of an in-place addend for
3231 microMIPS JALX.
3232 * testsuite/gas/mips/jalx-addend.d: New test.
3233 * testsuite/gas/mips/jalx-addend-n32.d: New test.
3234 * testsuite/gas/mips/jalx-addend-n64.d: New test.
3235 * testsuite/gas/mips/jalx-imm.d: New test.
3236 * testsuite/gas/mips/jalx-imm-n32.d: New test.
3237 * testsuite/gas/mips/jalx-imm-n64.d: New test.
3238 * testsuite/gas/mips/jalx-addend.s: New test source.
3239 * testsuite/gas/mips/jalx-imm.s: New test source.
3240 * testsuite/gas/mips/mips.exp: Run the new tests.
3241
134c0c8b
MR
32422016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3243
3244 * config/tc-mips.c: Correct tab-after-space formatting mistakes
3245 throughout.
3246
38cd8a0d
AB
32472016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3248
3249 * config/tc-arc.c (find_opcode_match): Remove casting away of
3250 const.
3251 * config/tc-arc.h (struct arc_flags): Make flgp field const.
3252
9e32d9ae
AB
32532016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3254
3255 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
3256 appropriate.
3257 (md_convert_frag): Likewise.
3258
fe779266
AB
32592016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3260
3261 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
3262 cached opcode to NULL when we reach a non-matching opcode.
3263 * testsuite/gas/arc/asm-errors-2.d: New file.
3264 * testsuite/gas/arc/asm-errors-2.err: New file.
3265 * testsuite/gas/arc/asm-errors-2.s: New file.
3266
3b889a78
AB
32672016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3268
3269 * config/tc-arc.c (tokenize_arguments): Add checks for array
3270 overflow.
3271 * testsuite/gas/arc/asm-errors.s: Addition test line added.
3272 * testsuite/gas/arc/asm-errors.err: Update expected results.
3273
42e58860
TS
32742016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3275
3276 * config/tc-rx.c (struct cpu_type): Change the type of a field from
3277 int to enum rx_cpu_types.
3278
4bfaa1ca
TS
32792016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3280
3281 * config/tc-dlx.c (struct machine_it): change the type of a field from
3282 int to bfd_reloc_code_real_type.
3283 * config/tc-tic4x.c: Likewise.
3284
eb408eaa
TS
32852016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3286
3287 * config/tc-v850.c (v850_target_arch): change type to enum
3288 bfd_architecture.
3289 * config/tc-v850.h (v850_target_arch): Likewise.
3290
a255f00a
AM
32912016-05-18 Alan Modra <amodra@gmail.com>
3292
3293 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
3294 allowed negative range.
3295 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
3296 * testsuite/gas/ppc/power9.d: Update.
3297
659f032c
TP
32982016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
3299
3300 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
3301 disassembling and stop skipping targets.
3302 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3303 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3304 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
3305 instruction for targets that have stronger alignment requirement.
3306 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3307 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3308 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3309 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3310 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3311 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3312 * testsuite/gas/arm/archv8m-main.d: Likewise.
3313 * testsuite/gas/arm/archv8m.s: Add label.
3314 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
3315 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3316 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
3317
7b14583e
TS
33182016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3319
3320 * config/tc-m32r.c (mach_table): Make static and const.
3321
0591130a
TS
33222016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3323
3324 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
3325 definition.
3326
9117cd3e
TS
33272016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3328
3329 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
3330 defining it.
3331 * config/tc-msp430.c (md_begin): Likewise.
3332
e1838240
TS
33332016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3334
3335 * config/tc-m68hc11.c (fixup8): Change variables type from int to
3336 bfd_reloc_code_real_type where appropriate.
3337 (fixup16): Likewise.
3338 (fixup8_xg): Likewise.
3339
9dfa3e63
MR
33402016-05-15 Maciej W. Rozycki <macro@imgtec.com>
3341
3342 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
3343
1178da44
PB
33442016-05-13 Peter Bergner <bergner@vnet.ibm.com>
3345
3346 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
3347 * testsuite/gas/ppc/power9.s: Likewise.
3348
d2edc834
AM
33492016-05-13 Alan Modra <amodra@gmail.com>
3350
3351 * config/obj-coff.c (weak_uniquify): Delete unused var.
3352
add39d23
TS
33532016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3354
3355 * app.c (app_push): Use XNEW and related macros.
3356 * as.c (parse_args): Likewise.
3357 * cgen.c (make_right_shifted_expr): Likewise.
3358 (gas_cgen_tc_gen_reloc): Likewise.
3359 * config/bfin-defs.h: Likewise.
3360 * config/bfin-parse.y: Likewise.
3361 * config/obj-coff.c (stack_init): Likewise.
3362 (stack_push): Likewise.
3363 (coff_obj_symbol_new_hook): Likewise.
3364 (coff_obj_symbol_clone_hook): Likewise.
3365 (add_lineno): Likewise.
3366 (coff_frob_symbol): Likewise.
3367 * config/obj-elf.c (obj_elf_section_name): Likewise.
3368 (build_group_lists): Likewise.
3369 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
3370 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
3371 * config/tc-aarch64.c (insert_reg_alias): Likewise.
3372 (find_or_make_literal_pool): Likewise.
3373 (add_to_lit_pool): Likewise.
3374 (fill_instruction_hash_table): Likewise.
3375 * config/tc-alpha.c (load_expression): Likewise.
3376 (emit_jsrjmp): Likewise.
3377 (s_alpha_ent): Likewise.
3378 (s_alpha_end): Likewise.
3379 (s_alpha_linkage): Likewise.
3380 (md_begin): Likewise.
3381 (tc_gen_reloc): Likewise.
3382 * config/tc-arc.c (arc_insert_opcode): Likewise.
3383 (arc_extcorereg): Likewise.
3384 * config/tc-bfin.c: Likewise.
3385 * config/tc-cr16.c: Likewise.
3386 * config/tc-cris.c: Likewise.
3387 * config/tc-crx.c (preprocess_reglist): Likewise.
3388 * config/tc-d10v.c: Likewise.
3389 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
3390 (frv_tomcat_shuffle): Likewise.
3391 * config/tc-h8300.c: Likewise.
3392 * config/tc-i370.c (i370_macro): Likewise.
3393 * config/tc-i386.c (lex_got): Likewise.
3394 (md_parse_option): Likewise.
3395 * config/tc-ia64.c (alloc_record): Likewise.
3396 (set_imask): Likewise.
3397 (save_prologue_count): Likewise.
3398 (dot_proc): Likewise.
3399 (dot_endp): Likewise.
3400 (ia64_frob_label): Likewise.
3401 (add_qp_imply): Likewise.
3402 (add_qp_mutex): Likewise.
3403 (mark_resource): Likewise.
3404 (dot_alias): Likewise.
3405 * config/tc-m68hc11.c: Likewise.
3406 * config/tc-m68k.c (m68k_frob_label): Likewise.
3407 (s_save): Likewise.
3408 (mri_control_label): Likewise.
3409 (push_mri_control): Likewise.
3410 (build_mri_control_operand): Likewise.
3411 (s_mri_else): Likewise.
3412 (s_mri_break): Likewise.
3413 (s_mri_next): Likewise.
3414 (s_mri_for): Likewise.
3415 (s_mri_endw): Likewise.
3416 * config/tc-metag.c (create_mnemonic_htab): Likewise.
3417 * config/tc-microblaze.c: Likewise.
3418 * config/tc-mmix.c (s_loc): Likewise.
3419 * config/tc-nds32.c (nds32_relax_hint): Likewise.
3420 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
3421 * config/tc-rl78.c: Likewise.
3422 * config/tc-rx.c (rx_include): Likewise.
3423 * config/tc-sh.c: Likewise.
3424 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
3425 * config/tc-sparc.c: Likewise.
3426 * config/tc-spu.c: Likewise.
3427 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
3428 (tic6x_start_unwind_section): Likewise.
3429 * config/tc-tilegx.c: Likewise.
3430 * config/tc-tilepro.c: Likewise.
3431 * config/tc-v850.c: Likewise.
3432 * config/tc-visium.c: Likewise.
3433 * config/tc-xgate.c: Likewise.
3434 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
3435 (new_resource_table): Likewise.
3436 (resize_resource_table): Likewise.
3437 (xtensa_create_trampoline_frag): Likewise.
3438 (xtensa_maybe_create_literal_pool_frag): Likewise.
3439 (cache_literal_section): Likewise.
3440 * config/xtensa-relax.c (append_transition): Likewise.
3441 (append_condition): Likewise.
3442 (append_value_condition): Likewise.
3443 (append_constant_value_condition): Likewise.
3444 (append_literal_op): Likewise.
3445 (append_label_op): Likewise.
3446 (append_constant_op): Likewise.
3447 (append_field_op): Likewise.
3448 (append_user_fn_field_op): Likewise.
3449 (enter_opname_n): Likewise.
3450 (enter_opname): Likewise.
3451 (split_string): Likewise.
3452 (parse_insn_templ): Likewise.
3453 (clone_req_or_option_list): Likewise.
3454 (clone_req_option_list): Likewise.
3455 (parse_option_cond): Likewise.
3456 (parse_insn_pattern): Likewise.
3457 (parse_insn_repl): Likewise.
3458 (build_transition): Likewise.
3459 (build_transition_table): Likewise.
3460 * dw2gencfi.c (alloc_fde_entry): Likewise.
3461 (alloc_cfi_insn_data): Likewise.
3462 (cfi_add_CFA_remember_state): Likewise.
3463 (dot_cfi_escape): Likewise.
3464 (dot_cfi_fde_data): Likewise.
3465 (select_cie_for_fde): Likewise.
3466 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
3467 * ecoff.c (ecoff_add_bytes): Likewise.
3468 (ecoff_build_debug): Likewise.
3469 * input-scrub.c (input_scrub_push): Likewise.
3470 (input_scrub_begin): Likewise.
3471 (input_scrub_next_buffer): Likewise.
3472 * itbl-ops.c (append_insns_as_macros): Likewise.
3473 (alloc_entry): Likewise.
3474 (alloc_field): Likewise.
3475 * listing.c (listing_newline): Likewise.
3476 (listing_listing): Likewise.
3477 * macro.c (get_any_string): Likewise.
3478 (delete_macro): Likewise.
3479 * stabs.c (generate_asm_file): Likewise.
3480 (stabs_generate_asm_lineno): Likewise.
3481 * subsegs.c (subseg_change): Likewise.
3482 (subseg_get): Likewise.
3483 * symbols.c (define_dollar_label): Likewise.
3484 (symbol_relc_make_sym): Likewise.
3485 * write.c (write_relocs): Likewise.
3486
29a2809e
TS
34872016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3488
3489 * config/obj-coff.c (obj_coff_def): Simplify string copying.
3490 (weak_name2altname): Likewise.
3491 (weak_uniquify): Likewise.
3492 (obj_coff_section): Likewise.
3493 (obj_coff_init_stab_section): Likewise.
3494 * config/obj-elf.c (obj_elf_section_name): Likewise.
3495 (obj_elf_init_stab_section): Likewise.
3496 * config/obj-evax.c (evax_shorten_name): Likewise.
3497 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
3498 * config/tc-aarch64.c (create_register_alias): Likewise.
3499 * config/tc-alpha.c (load_expression): Likewise.
3500 (s_alpha_file): Likewise.
3501 (s_alpha_section_name): Likewise.
3502 (tc_gen_reloc): Likewise.
3503 * config/tc-arc.c (md_assemble): Likewise.
3504 * config/tc-arm.c (create_neon_reg_alias): Likewise.
3505 (start_unwind_section): Likewise.
3506 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
3507 (hppa_elf_mark_end_of_function): Likewise.
3508 * config/tc-nios2.c (nios2_modify_arg): Likewise.
3509 (nios2_negate_arg): Likewise.
3510 * config/tc-rx.c (rx_section): Likewise.
3511 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
3512 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3513 * config/tc-tic54x.c (tic54x_include): Likewise.
3514 (tic54x_macro_info): Likewise.
3515 (subsym_get_arg): Likewise.
3516 (subsym_substitute): Likewise.
3517 (tic54x_start_line_hook): Likewise.
3518 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
3519 (xg_reverse_shift_count): Likewise.
3520 * config/xtensa-relax.c (enter_opname_n): Likewise.
3521 (split_string): Likewise.
3522 * dwarf2dbg.c (get_filenum): Likewise.
3523 (process_entries): Likewise.
3524 * expr.c (operand): Likewise.
3525 * itbl-ops.c (alloc_entry): Likewise.
3526 * listing.c (listing_message): Likewise.
3527 (listing_title): Likewise.
3528 * macro.c (check_macro): Likewise.
3529 * stabs.c (s_xstab): Likewise.
3530 * symbols.c (symbol_relc_make_expr): Likewise.
3531 * write.c (compress_debug): Likewise.
3532
58c7f094
NC
35332016-05-12 Nick Clifton <nickc@redhat.com>
3534
3535 PR target/20068
3536 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
3537
d5e74e8d
NC
35382016-05-11 Nick Clifton <nickc@redhat.com>
3539
3540 PR target/20068
3541 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
3542 big endian ARM configurations.
3543
8f4f9071
MF
35442016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
3545 Matthew Fortune <matthew.fortune@imgtec.com>
3546
3547 * config/tc-mips.c (options): Add OPTION_DSPR3 and
3548 OPTION_NO_DSPR3.
3549 (md_longopts): Likewise.
3550 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
3551 (mips_ases): Define availability for DSPr3.
3552 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
3553 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
3554 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
3555 formatting.
3556 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
3557 .set nodspr3. Fix -mdspr2 formatting.
3558 * testsuite/gas/mips/mips32-dspr3.d: New file.
3559 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
3560 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
3561
a6684f0d
NC
35622016-05-11 Nick Clifton <nickc@redhat.com>
3563
3564 PR target/20068
3565 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
3566 to the pool uses O_constant.
3567 * testsuite/gas/arm/pr20068.s: New test.
3568 * testsuite/gas/arm/pr20068.d: Test driver.
3569
be5c445b
NC
35702016-05-11 Nick Clifton <nickc@redhat.com>
3571
4179a6a2
NC
3572 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
3573 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3574 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3575 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3576 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3577 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3578 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3579 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3580 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
be5c445b
NC
3581
35822016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3583
3584 * testsuite/gas/i386/i386.exp: Run RDPID tests.
3585 * testsuite/gas/i386/prefix.d: Adjust.
3586 * testsuite/gas/i386/rdpid.s: New test.
3587 * testsuite/gas/i386/rdpid.d: Ditto.
3588 * testsuite/gas/i386/rdpid-intel.d: Ditto.
3589 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
3590 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
3591 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
3592
8bc52696
AF
35932016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3594
3595 * config/tc-i386.c (cpu_arch): Add RDPID.
3596 * doc/c-i386.texi: Document RDPID.
3597
39d911fc
TP
35982016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3599
3600 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
3601 set branch type of a symbol.
3602
15afaa63
TP
36032016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3604
3605 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
3606 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
3607 instructions.
3608 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
3609 (aeabi_set_public_attributes): Memorize the feature bits of the
3610 architecture selected for Tag_CPU_arch. Use it to set
3611 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
3612 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
3613 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
3614 * testsuite/gas/arm/arch7em-bad-1.d: This.
3615 * testsuite/gas/arm/arch7em-bad-2.d: New file.
3616 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
3617 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3618 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3619 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3620 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3621 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
3622 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
3623
d942732e
TP
36242016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3625
3626 * config/tc-arm.c (struct arm_option_extension_value_table): Make
3627 allowed_archs an array with 2 entries.
3628 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
3629 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
3630 (arm_extensions): Use separate entries in allowed_archs when several
3631 archs are allowed to use an extension and change ARCH_ANY in
3632 ARM_ARCH_NONE in allowed_archs.
3633 (arm_parse_extension): Check that, for each allowed_archs entry, all
3634 bits are set in the current architecture, ignoring ARM_ANY entries.
3635 (s_arm_arch_extension): Likewise.
3636
16a1fa25
TP
36372016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3638
3639 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
3640 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
3641 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
3642 shared with a non M profile architecture.
3643 (do_rn): New function.
3644 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
3645 than arm_ext_v8m.
3646 (v7m_psrs): Add ARMv8-M security extensions new special registers.
3647 (insns): Add ARMv8-M Security Extensions instructions.
3648 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
3649 arm_ext_v8m_m to decide the profile and the Thumb ISA.
3650 * testsuite/gas/arm/archv8m-cmse.s: New file.
3651 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
3652 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3653 * testsuite/gas/arm/any-cmse.d: Likewise.
3654 * testsuite/gas/arm/any-cmse-main.d: Likewise.
3655 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3656 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3657 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3658 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3659 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3660
d751b79e
JM
36612016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3662
3663 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
3664 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
3665
f85d59c3
KT
36662016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3667
3668 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
3669 (fpu_arch_vfp_v3): Likewise.
3670 (fpu_arch_neon_v1): Likewise.
3671 (arm_arch_full): Likewise.
3672 (parse_neon_el_struct_list): Initialize fields of firsttype.
3673
945e0f82
CZ
36742016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
3675
3676 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
3677 (arc_extinsn): Handle new introduced syntax.
3678 * testsuite/gas/arc/textinsn1op.d: New file.
3679 * testsuite/gas/arc/textinsn1op.s: Likewise.
3680 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
3681
b782c63d
PS
36822016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3683
3684 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
3685 DW_LNS_fixed_advance_pc.
3686
25771140
AM
36872016-04-27 Alan Modra <amodra@gmail.com>
3688
3689 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
3690 (xmemdup0): New inline function.
3691
22522f88
MR
36922016-04-22 Maciej W. Rozycki <macro@imgtec.com>
3693
3694 * config/tc-mips.c (code_option_type): New enum.
3695 (parse_code_option): Return status indicating option type.
3696 (s_mipsset): Update `parse_code_option' call site accordingly.
3697 Always set register sizes from the ISA with ISA overrides.
3698 (s_module): Update `parse_code_option' call site.
3699 * testsuite/gas/mips/isa-override-1.d: New test.
3700 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
3701 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
3702 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
3703 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
3704 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
3705 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
3706 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
3707 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
3708 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
3709 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
3710 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
3711 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
3712 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
3713 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
3714 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
3715 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
3716 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
3717 * testsuite/gas/mips/isa-override-2.l: New list test.
3718 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
3719 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
3720 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
3721 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
3722 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
3723 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
3724 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
3725 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
3726 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
3727 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
3728 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
3729 output.
3730 * testsuite/gas/mips/isa-override-1.s: New test source.
3731 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
3732 * testsuite/gas/mips/isa-override-2.s: New test source.
3733 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
3734 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
3735 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
3736 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
3737 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
3738 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
3739 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
3740 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
3741 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
3742 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
3743 * testsuite/gas/mips/mips.exp: Run the new tests.
3744
e6c7cdec
TS
37452016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3746
3747 * cgen.c: Likewise.
3748 * config/tc-bfin.c: Likewise.
3749 * config/tc-ia64.c: Likewise.
3750 * config/tc-mep.c: Likewise.
3751 * config/tc-metag.c: Likewise.
3752 * config/tc-nios2.c: Likewise.
3753 * config/tc-rl78.c: Likewise.
3754
2533af11
AB
37552016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
3756
3757 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
3758 -mcpu. Add cross reference to .cpu directive from -mcpu option.
3759 (ARC Directives): Add NPS400 to .cpu directive list.
3760
50cc854c
MW
37612016-04-20 Matthew Wahab <matthew.wahab@arm.com>
3762
3763 * config/tc-aarch64.c (aarch64_features): Add "ras".
3764 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
3765 * testsuite/gas/aarch64/armv8-ras-1.d: New.
3766 * testsuite/gas/aarch64/armv8-ras-1.s: New.
3767 * testsuite/gas/aarch64/illegal-ras-1.d: New.
3768 * testsuite/gas/aarch64/illegal-ras-1.s: New.
3769
537aefaf
AB
37702016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3771
3772 * testsuite/gas/arc/nps400-6.d: New file.
3773 * testsuite/gas/arc/nps400-6.s: New file.
3774
c8f785f2
AB
37752016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3776
3777 * testsuite/gas/arc/nps400-4.d: New file.
3778 * testsuite/gas/arc/nps400-4.s: New file.
3779 * testsuite/gas/arc/nps400-5.d: New file.
3780 * testsuite/gas/arc/nps400-5.s: New file.
3781
48eac74c
MG
37822016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
3783
3784 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
3785 documentation.
3786
644aca26
AB
37872016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
3788
3789 Revert prevous change.
3790 * config/tc-arc.c (arc_option): Make .cpu directive
3791 case-sensitive again.
3792
9a452709
AB
37932016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3794
3795 * config/tc-arc.c (arc_option): Make .cpu directive
3796 case-insensitive.
3797
5e001f26
AB
37982016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3799
3800 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
3801
92fce9bd
TS
38022016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3803
3804 * config/tc-mips.c (md_begin): Remove useless assignment.
3805
6fd8e7c2
L
38062016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3807
3808 * Makefile.in: Regenerated with automake 1.11.6.
3809 * aclocal.m4: Likewise.
3810 * doc/Makefile.in: Likewise.
3811
05f7541e
AM
38122016-04-15 Alan Modra <amodra@gmail.com>
3813
3814 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
3815
4f2a7b51
TS
38162016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3817
3818 * config/tc-nios2.c (nios2_as_options): Make file static.
3819 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
3820 * config/tc-sparc.c (native_op_table): Likewise.
3821
85e53f62
TS
38222016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3823
3824 * config/tc-m32c.c (M32C_Macros): Remove.
3825 * config/tc-msp430.c (option_numbers): Likewise.
3826
4b0c052e
AB
38272016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3828
3829 * testsuite/gas/arc/nps400-3.d: New file.
3830 * testsuite/gas/arc/nps400-3.s: New file.
3831
d105775e
AB
38322016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3833
3834 * testsuite/gas/arc/add_s-err.s: Update target pattern.
3835 * testsuite/gas/arc/warn.s: Likewise.
3836 * testsuite/gas/elf/elf.exp: Run test for arc.
3837
84865015
NC
38382016-04-14 Nick Clifton <nickc@redhat.com>
3839
3840 PR target/19938
3841 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
3842 sections possibly having the SHF_STRINGS flag bit set.
3843 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
3844
1adc8a9a
CZ
38452016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3846
3847 * config/tc-arc.c (mach_type_specified_p): Change type to
3848 bfd_boolean.
3849 (arc_option): Set private flags when parsing cpu pseudo-op.
3850 (md_parse_option): Set mach_type_specified_p to TRUE.
3851
e4449be8
NC
38522016-04-13 Nick Clifton <nickc@redhat.com>
3853
3854 PR target/19937
3855 * testsuite/gas/v850/pr19937.s: New test.
3856 * testsuite/gas/v850/pr19937.d: New test control file.
3857 * testsuite/gas/v850/basic.exp: Run the new test.
3858
991f40a9
MR
38592016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3860 Andrew Bennett <andrew.bennett@imgtec.com>
3861
3862 * config/tc-mips.c (relaxed_branch_length): Use the long
3863 sequence where the target is a weak symbol.
3864 (relaxed_micromips_32bit_branch_length): Likewise.
3865 (relaxed_micromips_16bit_branch_length): Likewise.
3866 * testsuite/gas/mips/branch-weak-1.d: New test.
3867 * testsuite/gas/mips/branch-weak-2.d: New test.
3868 * testsuite/gas/mips/branch-weak-3.d: New test.
3869 * testsuite/gas/mips/branch-weak-4.d: New test.
3870 * testsuite/gas/mips/branch-weak-5.d: New test.
3871 * testsuite/gas/mips/branch-weak.l: New stderr output.
3872 * testsuite/gas/mips/branch-weak.s: New test source.
3873 * testsuite/gas/mips/mips.exp: Run the new tests.
3874
c1f61bd2
MR
38752016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3876
3877 * config/tc-mips.c (relaxed_branch_length): Use the long
3878 sequence where the distance cannot be determined.
3879 (relaxed_micromips_32bit_branch_length): Likewise.
3880 * testsuite/gas/mips/branch-extern-1.d: New test.
3881 * testsuite/gas/mips/branch-extern-2.d: New test.
3882 * testsuite/gas/mips/branch-extern-3.d: New test.
3883 * testsuite/gas/mips/branch-extern-4.d: New test.
3884 * testsuite/gas/mips/branch-extern.l: New stderr output.
3885 * testsuite/gas/mips/branch-extern.s: New test source.
3886 * testsuite/gas/mips/branch-section-1.d: New test.
3887 * testsuite/gas/mips/branch-section-2.d: New test.
3888 * testsuite/gas/mips/branch-section-3.d: New test.
3889 * testsuite/gas/mips/branch-section-4.d: New test.
3890 * testsuite/gas/mips/branch-section.l: New stderr output.
3891 * testsuite/gas/mips/branch-section.s: New test source.
3892 * testsuite/gas/mips/mips.exp: Run the new tests.
3893
f36e33da
CZ
38942016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3895
3896 * testsuite/gas/arc/textauxregister.d: New file.
3897 * testsuite/gas/arc/textauxregister.s: Likewise.
3898 * testsuite/gas/arc/textcondcode.d: Likewise.
3899 * testsuite/gas/arc/textcondcode.s: Likewise.
3900 * testsuite/gas/arc/textcoreregister.d: Likewise.
3901 * testsuite/gas/arc/textcoreregister.s: Likewise.
3902 * testsuite/gas/arc/textpseudoop.d: Likewise.
3903 * testsuite/gas/arc/textpseudoop.s: Likewise.
3904 * testsuite/gas/arc/ld2.d: Update test.
3905 * testsuite/gas/arc/st.d: Likewise.
3906 * testsuite/gas/arc/taux.d: Likewise.
3907 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
3908 .extCoreRegister and .extAuxRegister documentation.
3909 * config/tc-arc.c (arc_extcorereg): New function.
3910 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
3911 .extAuxRegister pseudo-ops.
3912 (extRegister_t): New type.
3913 (ext_condcode, arc_aux_hash): New global variable.
3914 (find_opcode_match): Check for extensions.
3915 (preprocess_operands): Likewise.
3916 (md_begin): Add aux registers in a hash.
3917 (assemble_insn): Update use arc_flags member.
3918 (tokenize_extregister): New function.
3919 (create_extcore_section): Likewise.
3920 * config/tc-arc.h (arc_flags): Delete code, add flgp.
3921
1c2e355e
CZ
39222016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3923
3924 * testsuite/gas/arc/noargs_a7.d: New file.
3925 * testsuite/gas/arc/noargs_a7.s: Likewise.
3926 * testsuite/gas/arc/noargs_hs.d: Likewise.
3927 * testsuite/gas/arc/noargs_hs.s: Likewise.
3928
b99747ae
CZ
39292016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3930
3931 * testsuite/gas/arc/textinsn-errors.d: New File.
3932 * testsuite/gas/arc/textinsn-errors.err: Likewise.
3933 * testsuite/gas/arc/textinsn-errors.s: Likewise.
3934 * testsuite/gas/arc/textinsn2op.d: Likewise.
3935 * testsuite/gas/arc/textinsn2op.s: Likewise.
3936 * testsuite/gas/arc/textinsn2op01.d: Likewise.
3937 * testsuite/gas/arc/textinsn2op01.s: Likewise.
3938 * testsuite/gas/arc/textinsn3op.d: Likewise.
3939 * testsuite/gas/arc/textinsn3op.s: Likewise.
3940 * doc/c-arc.texi (ARC Directives): Add .extInstruction
3941 documentation.
3942 * config/tc-arc.c (arcext_section): New variable.
3943 (arc_extinsn): New function.
3944 (md_pseudo_table): Add .extInstruction pseudo op.
3945 (attributes_t): New type.
3946 (suffixclass, syntaxclass, syntaxclassmod): New constant
3947 structures.
3948 (find_opcode_match): Remove arc_num_opcodes.
3949 (md_begin): Likewise.
3950 (tokenize_extinsn): New function.
3951 (arc_set_ext_seg): Likewise.
3952 (create_extinst_section): Likewise.
3953
37ab9779
CZ
39542016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3955
3956 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3957 (arc_adjust_symtab): New function.
3958 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3959 (obj_adjust_symtab): Likewise.
3960 * testsuite/gas/arc/taux.d: New file.
3961 * testsuite/gas/arc/taux.s: Likewise.
3962
41a1578e
MR
39632016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3964
3965 * config/tc-mips.c (s_option): Sanitize `.option picX'
3966 pseudo-op.
3967 * testsuite/gas/mips/option-pic-1.d: New test.
3968 * testsuite/gas/mips/option-pic-2.l: New list test.
3969 * testsuite/gas/mips/option-pic-1.s: New test source.
3970 * testsuite/gas/mips/option-pic-2.s: New test source.
3971 * testsuite/gas/mips/mips.exp: Run the new tests.
3972
668c5ebc
MR
39732016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3974
3975 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3976 PIC.
3977 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3978 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3979 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3980 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3981 * testsuite/gas/mips/mips.exp: Run the new tests.
3982
41065f5e
MR
39832016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3984
3985 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3986
08918cc8
MR
39872016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3988
3989 * messages.c (as_bad): Fix a typo in description.
3990
1357373c
MR
39912016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3992
3993 * config/tc-mips.c (mips_check_options): Unify messages.
3994
5f4678bb
MR
39952016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3996
3997 * config/tc-mips.c (mips_check_options): Use `opts->isa'
3998 consistently.
3999
992dc2c4
NC
40002016-04-08 Nick Clifton <nickc@redhat.com>
4001
4002 PR target/19910
4003 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
4004 COFF and AOUT sparc targets.
4005
a42a4f84
AB
40062016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4007
4008 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
4009 * testsuite/gas/arc/nps400-2.d: New file.
4010 * testsuite/gas/arc/nps400-2.s: New file.
4011
1328504b
AB
40122016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4013
4014 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
4015 structure.
4016 (arc_opcode_hash_entry_iterator_init): New function.
4017 (arc_opcode_hash_entry_iterator_next): New function.
4018 (find_opcode_match): Iterate over all arc_opcode entries
4019 referenced by the arc_opcode_hash_entry passed in as a parameter.
4020
b9b47ab7
AB
40212016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4022
4023 * config/tc-arc.c (arc_find_opcode): Now returns
4024 arc_opcode_hash_entry pointer.
4025 (find_opcode_match): Update argument type, extract arc_opcode from
4026 incoming arc_opcode_hash_entry.
4027 (find_special_case_pseudo): Update return type.
4028 (find_special_case_flag): Update return type.
4029 (find_special_case): Update return type.
4030 (assemble_tokens): Lookup arc_opcode_hash_entry based on
4031 instruction mnemonic, then use find_opcode_match to identify
4032 specific arc_opcode.
4033
da5be039
AB
40342016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4035
4036 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
4037 (arc_find_opcode): New function.
4038 (find_special_case_pseudo): Use arc_find_opcode.
4039 (find_special_case_flag): Likewise.
4040 (assemble_tokens): Likewise.
4041 (md_begin): Build hash using struct arc_opcode_hash_entry.
4042
e6ba1cba
CZ
40432016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
4044
abe051ba
AM
4045 * config/tc-arc.c (arc_option): Prepare string for automatic
4046 translation.
4047 (declare_register): Likewise.
e6ba1cba 4048
b607cde1
JG
40492016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
4050
4051 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
4052 Correct entry for RDMA. Alpha sort entries.
4053
692166c2
AB
40542016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4055
4056 * config/tc-arc.c (tokenize_flags): Allow greater range of
4057 characters into flag names.
4058
22b92fc4
AB
40592016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
4060
4061 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
4062 new de_fault label.
4063 (preprocess_operands): Delete.
4064 (assemble_tokens): Remove call to preprocess_operands.
4065
e140100a
NC
40662016-04-07 Nick Clifton <nickc@redhat.com>
4067
4068 PR gas/19910
4069 * config/tc-sparc.c (sparc_ip): Report an error if the expression
4070 inside a %-macro could not be fully parsed.
4071 * expr.c (integer_constant): Accept and ignore U suffixes to
4072 integers.
4073 (operand): When a missing closing parenthesis is encountered,
4074 report the character that was found instead.
4075 * testsuite/gas/mips/tls-ill.l: Update expected error message.
4076 * testsuite/gas/sparc/pr19910-1.d: New test driver.
4077 * testsuite/gas/sparc/pr19910-1.s: New test.
4078 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
4079 * testsuite/gas/sparc/pr19910-2.s: New test.
4080 * testsuite/gas/sparc/sparc.exp: Run the new tests.
4081
927f2d25
NC
40822016-04-06 Nick Clifton <nickc@redhat.com>
4083
4084 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
4085 an EINT instruction. Warn/fix as necessary.
4086 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
4087 * testsuite/gas/msp430/bad.l: Update expected messages.
4088
820f03ff
AB
40892016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
4090
4091 * testsuite/gas/arc/nps400-1.d: Update expected results.
4092 * testsuite/gas/arc/nps400-1.s: Additional test cases.
4093
8ddf6b2a
CZ
40942016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
4095
abe051ba
AM
4096 * config/tc-arc.c (is_code_density_p): Compare directly the
4097 subclass field.
4098 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
4099 (check_cpu_feature): New function.
4100 (find_opcode_match): Use check_cpu_feature function.
4101 (preprocess_operands): Likewise.
4102 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
4103 * testsuite/gas/arc/tdpfp.d: New file.
4104 * testsuite/gas/arc/tfpuda.d: Likewise.
4105 * testsuite/gas/arc/tfpx.s: Likewise.
8ddf6b2a 4106
589a7d88
JW
41072016-04-05 Jiong Wang <jiong.wang@arm.com>
4108
4109 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
4110 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
4111 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
4112 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
4113 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
4114 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
4115 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
abe051ba
AM
4116 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
4117 for Thumb.
589a7d88
JW
4118 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
4119
6ec1f282
CZ
41202016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
4121
abe051ba 4122 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
6ec1f282 4123 JUMP instructions type.
abe051ba
AM
4124 * testsuite/gas/arc/relocs-errors.d: New file.
4125 * testsuite/gas/arc/relocs-errors.err: Likewise.
4126 * testsuite/gas/arc/relocs-errors.s: Likewise.
6ec1f282 4127
0796a629
L
41282016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4129
4130 PR gas/19909
4131 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
4132 only if i.disp_encoding != disp_encoding_32bit.
4133 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
4134 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
4135 * gas/testsuite/gas/i386/disp32.d: Updated.
4136 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
4137
df41fdf4
L
41382016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4139
4140 PR gas/19498
4141 * testsuite/gas/i386/i386.exp: Run pr19498.
4142 * testsuite/gas/i386/pr19498.d: New file.
4143 * testsuite/gas/i386/pr19498.s: Likewise.
4144
26cdfd92
AB
41452016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
4146
4147 * config/tc-arc.h: Include 'opcode/arc.h'.
4148 (MAX_INSN_ARGS): Delete.
4149 (MAX_INSN_FLGS): Delete.
4150
22987cec
AM
41512016-04-04 Alan Modra <amodra@gmail.com>
4152
4153 PR 19498
4154 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
4155 from function on all paths that set sy_resolving.
4156
325801bd
TS
41572016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4158
4159 * app.c (app_push): use XNEW macro.
4160 * as.c: Likewise.
4161 * config/obj-elf.c (obj_elf_change_section): Likewise.
4162 (elf_copy_symbol_attributes): Likewise.
4163 (obj_elf_size): Likewise.
4164 (build_group_lists): Likewise.
4165 * config/tc-aarch64.c (add_operand_error_record): Likewise.
4166 (md_assemble): Likewise.
4167 (tc_gen_reloc): Likewise.
4168 (get_upper_str): Likewise.
4169 (aarch64_parse_features): Likewise.
4170 * config/tc-arm.c (insert_reg_alias): Likewise.
4171 (insert_neon_reg_alias): Likewise.
4172 (find_or_make_literal_pool): Likewise.
4173 (s_arm_elf_cons): Likewise.
4174 (add_unwind_opcode): Likewise.
4175 (arm_parse_extension): Likewise.
4176 * config/tc-avr.c (create_record_for_frag): Likewise.
4177 * config/tc-crx.c: Likewise.
4178 * config/tc-d30v.c: Likewise.
4179 * config/tc-dlx.c (s_proc): Likewise.
4180 * config/tc-ft32.c: Likewise.
4181 * config/tc-h8300.c: Likewise.
4182 * config/tc-hppa.c (pa_proc): Likewise.
4183 (create_new_space): Likewise.
4184 (create_new_subspace): Likewise.
4185 * config/tc-i860.c: Likewise.
4186 * config/tc-i960.c: Likewise.
4187 * config/tc-ia64.c: Likewise.
4188 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
4189 (iq2000_record_hi16): Likewise.
4190 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
4191 * config/tc-m32r.c (debug_sym): Likewise.
4192 (m32r_record_hi16): Likewise.
4193 * config/tc-m68k.c (m68k_ip): Likewise.
4194 (md_begin): Likewise.
4195 * config/tc-mcore.c: Likewise.
4196 * config/tc-microblaze.c (check_got): Likewise.
4197 * config/tc-mips.c (append_insn): Likewise.
4198 (s_mipsset): Likewise.
4199 (mips_record_label): Likewise.
4200 (s_mips_end): Likewise.
4201 * config/tc-mmix.c (mmix_frob_file): Likewise.
4202 * config/tc-mn10200.c: Likewise.
4203 * config/tc-mn10300.c: Likewise.
4204 * config/tc-moxie.c: Likewise.
4205 * config/tc-msp430.c: Likewise.
4206 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
4207 * config/tc-ns32k.c: Likewise.
4208 * config/tc-or1k.c: Likewise.
4209 * config/tc-pdp11.c: Likewise.
4210 * config/tc-pj.c (fake_opcode): Likewise.
4211 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
4212 (ppc_macro): Likewise.
4213 (ppc_dwsect): Likewise.
4214 (ppc_machine): Likewise.
4215 * config/tc-rl78.c (rl78_frag_init): Likewise.
4216 * config/tc-rx.c (rx_frag_init): Likewise.
4217 * config/tc-s390.c (s390_lit_suffix): Likewise.
4218 (s390_machine): Likewise.
4219 (s390_machinemode): Likewise.
4220 * config/tc-score.c (s3_insert_reg): Likewise.
4221 (s3_gen_reloc): Likewise.
4222 * config/tc-score7.c (s7_insert_reg): Likewise.
4223 (s7_gen_reloc): Likewise.
4224 * config/tc-tic30.c (tic30_operand): Likewise.
4225 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
4226 * config/tc-tic54x.c (stag_add_field): Likewise.
4227 (tic54x_struct): Likewise.
4228 (tic54x_space): Likewise.
4229 (tic54x_field): Likewise.
4230 (tic54x_mlib): Likewise.
4231 (subsym_substitute): Likewise.
4232 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
4233 * config/tc-vax.c: Likewise.
4234 * config/tc-xc16x.c: Likewise.
4235 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
4236 (directive_push): Likewise.
4237 (xtensa_begin_directive): Likewise.
4238 (tokenize_arguments): Likewise.
4239 (xtensa_add_literal_sym): Likewise.
4240 (new_resource_table): Likewise.
4241 (resize_resource_table): Likewise.
4242 (emit_single_op): Likewise.
4243 (xtensa_create_trampoline_frag): Likewise.
4244 (xtensa_maybe_create_literal_pool_frag): Likewise.
4245 (xtensa_add_config_info): Likewise.
4246 (xtensa_realloc_fixup_cache): Likewise.
4247 (add_subseg_info): Likewise.
4248 (cache_literal_section): Likewise.
4249 (add_xt_block_frags): Likewise.
4250 (add_xt_prop_frags): Likewise.
4251 (init_op_placement_info_table): Likewise.
4252 (build_section_rename): Likewise.
4253 * config/tc-z80.c: Likewise.
4254 * config/tc-z8k.c: Likewise.
4255 * depend.c (register_dependency): Likewise.
4256 * dwarf2dbg.c (get_line_subseg): Likewise.
4257 (dwarf2_gen_line_info_1): Likewise.
4258 (get_filenum): Likewise.
4259 * ecoff.c (allocate_scope): Likewise.
4260 (allocate_vlinks): Likewise.
4261 (allocate_shash): Likewise.
4262 (allocate_thash): Likewise.
4263 (allocate_tag): Likewise.
4264 (allocate_forward): Likewise.
4265 (allocate_thead): Likewise.
4266 (allocate_lineno_list): Likewise.
4267 * expr.c (make_expr_symbol): Likewise.
4268 * hash.c (hash_new_sized): Likewise.
4269 * input-file.c (input_file_push): Likewise.
4270 * listing.c (file_info): Likewise.
4271 (listing_newline): Likewise.
4272 * macro.c (new_formal): Likewise.
4273 (define_macro): Likewise.
4274 * remap.c (add_debug_prefix_map): Likewise.
4275 * symbols.c (symbol_find_noref): Likewise.
4276 (define_dollar_label): Likewise.
4277 (fb_label_instance_inc): Likewise.
4278 (symbol_relc_make_value): Likewise.
4279
a44e2901
TS
42802016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4281
4282 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
4283 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
4284 (ppc_znop): Likewise.
4285 (ppc_pe_section): Likewise.
4286 (ppc_frob_symbol): Likewise.
4287 * config/tc-tic30.c (tic30_operand): Likewise.
4288 * config/tc-tic4x.c (tic4x_sect): Likewise.
4289 (tic4x_usect): Likewise.
4290
ae2689b0
TS
42912016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4292
4293 * config/tc-alpha.c: Const qualify FLT_CHARS.
4294 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
4295 * config/tc-cris.h: Likewise.
4296 * expr.c: Likewise.
4297 * config/tc-mmix.c (md_atof): Adjust comment.
4298 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
4299 * tc.h: Declare FLT_CHARS and EXP_CHARS.
4300
a51ef392
TS
43012016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4302
4303 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
4304 * config/tc-score7.c (s7_gen_reloc): Likewise.
4305
2fe88214
TS
43062016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4307
4308 * config/tc-arm.c (do_t_branch): Change the type of reloc to
4309 bfd_reloc_code_real_type.
4310
e1ec8109
TS
43112016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4312
4313 * config/bfin-parse.y (current_inputline): Remove definition.
4314 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
4315
f73e41ef
TS
43162016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4317
4318 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
4319 strings.
4320
62bd6b5f
AM
43212016-04-02 Alan Modra <amodra@gmail.com>
4322
4323 PR 19896
4324 * read.c (assign_symbol): Consume rest of line after an error
4325 rather than continuing to process the line.
4326
83cda17b
AB
43272016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4328
4329 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
4330 (MAX_FLAG_NAME_LENGTH): ...this.
4331 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
4332 * config/tc-arc.c (tokenize_flags): Likewise.
4333
6d4af3c2
AM
43342016-04-01 Alan Modra <amodra@gmail.com>
4335
4336 * cgen.c (weak_operand_overflow_check): Return const char*.
4337 * messages.c (as_internal_value_out_of_range): Formatting.
4338 (as_warn_value_out_of_range): Consify prefix param.
4339 (as_bad_value_out_of_range): Likewise.
4340 * read.c (s_errwarn): Constify msg..
4341 (s_float_space, float_cons): ..and err.
4342 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
4343 ieee_md_atof, vax_md_atof): Update prototypes.
4344 * tc.h (md_atof): Update prototype.
4345 * config/atof-ieee.c (ieee_md_atof): Return const char*.
4346 * config/atof-vax.c (vax_md_atof): Likewise.
4347 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
4348 * config/tc-aarch64.c (md_atof): Return const char*.
4349 * config/tc-alpha.c (s_alpha_section_name): Likewise.
4350 (s_alpha_comm): Constify sec_name.
4351 (section_name): Constify.
4352 (s_alpha_section): Consify name..
4353 (alpha_elf_section_letter): ..and ptr_msg param..
4354 (md_atof): ..and return.
4355 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
4356 * config/tc-arc.c (md_atof): Return const char*.
4357 * config/tc-arm.c (md_atof): Likewise.
4358 * config/tc-avr.c (md_atof): Likewise.
4359 * config/tc-bfin.c (md_atof): Likewise.
4360 * config/tc-cr16.c (md_atof): Likewise.
4361 * config/tc-cris.c (md_atof): Likewise.
4362 * config/tc-crx.c (md_atof): Likewise.
4363 * config/tc-d10v.c (md_atof): Likewise.
4364 * config/tc-d30v.c (md_atof): Likewise.
4365 * config/tc-dlx.c (md_atof): Likewise.
4366 * config/tc-epiphany.c (md_atof): Likewise.
4367 * config/tc-fr30.c (md_atof): Likewise.
4368 * config/tc-frv.c (md_atof): Likewise.
4369 * config/tc-ft32.c (md_atof): Likewise.
4370 * config/tc-h8300.c (md_atof): Likewise.
4371 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
4372 (struct default_space_dict): Likewise.
4373 (create_new_space): Constify name param.
4374 (create_new_subspace): Likewise.
4375 (is_defined_space, is_defined_subspace): Likewise.
4376 (pa_parse_space_stmt): Constify space_name param.
4377 (md_atof): Return const char*.
4378 (pa_spaces_begin): Constify name.
4379 * config/tc-i370.c (md_atof): Return const char*.
4380 * config/tc-i386.c (md_atof): Likewise.
4381 (x86_64_section_letter): Constify ptr_msg param.
4382 * config/tc-i386.h (x86_64_section_letter): Update prototype.
4383 * config/tc-i860.c (struct i860_it): Constify error.
4384 (md_atof): Return const char*.
4385 * config/tc-i960.c (md_atof): Likewise.
4386 * config/tc-ia64.c (md_atof): Likewise.
4387 (ia64_elf_section_letter): Constify ptr_msg param.
4388 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
4389 * config/tc-ip2k.c (md_atof): Return const char*.
4390 * config/tc-iq2000.c (md_atof): Likewise.
4391 * config/tc-lm32.c (md_atof): Likewise.
4392 * config/tc-m32c.c (md_atof): Likewise.
4393 * config/tc-m32r.c (md_atof): Likewise.
4394 * config/tc-m68hc11.c (md_atof): Likewise.
4395 * config/tc-m68k.c (md_atof): Likewise.
4396 * config/tc-mcore.c (md_atof): Likewise.
4397 * config/tc-mep.c (md_atof): Likewise.
4398 (mep_elf_section_letter): Constify ptr_msg param.
4399 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
4400 * config/tc-metag.c (md_atof): Return const char*.
4401 * config/tc-microblaze.c (md_atof): Likewise.
4402 * config/tc-microblaze.h (md_atof): Delete prototype.
4403 * config/tc-mips.c (mips_parse_argument_token): Constify err.
4404 (md_atof): Return const char*.
4405 * config/tc-mmix.c (md_atof): Likewise.
4406 * config/tc-mn10200.c (md_atof): Likewise.
4407 * config/tc-mn10300.c (md_atof): Likewise.
4408 * config/tc-moxie.c (md_atof): Likewise.
4409 * config/tc-msp430.c (md_atof): Likewise.
4410 * config/tc-mt.c (md_atof): Likewise.
4411 * config/tc-nds32.c (md_atof): Likewise.
4412 * config/tc-nios2.c (md_atof): Likewise.
4413 (nios2_elf_section_letter): Constify ptr_msg param.
4414 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
4415 * config/tc-ns32k.c (md_atof): Return const char*.
4416 * config/tc-or1k.c (md_atof): Likewise.
4417 * config/tc-pdp11.c (struct pdp11_code): Constify error.
4418 (md_atof): Return const char*.
4419 * config/tc-pj.c (md_atof): Likewise.
4420 * config/tc-ppc.c (md_atof): Likewise.
4421 * config/tc-rl78.c (md_atof): Likewise.
4422 * config/tc-rx.c (md_atof): Likewise.
4423 * config/tc-s390.c (md_atof): Likewise.
4424 * config/tc-score.c (s3_atof, md_atof): Likewise.
4425 * config/tc-sh.c (md_atof): Likewise.
4426 * config/tc-sparc.c (struct sparc_it): Constify error.
4427 (md_atof): Return const char*.
4428 * config/tc-spu.c (md_atof): Likewise.
4429 * config/tc-tic30.c (md_atof): Likewise.
4430 * config/tc-tic4x.c (md_atof): Likewise.
4431 * config/tc-tic54x.c (md_atof): Likewise.
4432 * config/tc-tic6x.c (md_atof): Likewise.
4433 * config/tc-tilegx.c (md_atof): Likewise.
4434 * config/tc-tilepro.c (md_atof): Likewise.
4435 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
4436 * config/tc-vax.c (md_atof): Likewise.
4437 * config/tc-visium.c (md_atof): Likewise.
4438 * config/tc-xc16x.c (md_atof): Likewise.
4439 * config/tc-xgate.c (md_atof): Likewise.
4440 * config/tc-xstormy16.c (md_atof): Likewise.
4441 * config/tc-xtensa.c (md_atof): Likewise.
4442 * config/tc-z80.c (md_atof): Likewise.
4443 * config/tc-z8k.c (md_atof): Likewise.
4444
e4a0c708
TS
44452016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4446
4447 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
4448 const.
4449 (xtensa_section_rename): Make argument type const char *.
4450 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
4451
e2c7dcae
TS
44522016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4453
4454 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
4455 args[0].
4456
f854977c
TS
44572016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4458
4459 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
4460 char *.
4461 (m32c_indirect_operand): Likewise.
4462 * config/tc-nds32.c (do_pseudo_b): Likewise.
4463 (do_pseudo_bal): Likewise.
4464 (do_pseudo_ls_bhw): Likewise.
4465
97830986
TS
44662016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4467
4468 * as.c (parse_args): Cast literal to char * when assigning to optarg.
4469
e87de513
TS
44702016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4471
4472 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
4473 get_symbol_name ().
4474 * config/tc-sparc.c (s_register): Cast a literal to char * in
4475 assignment.
4476
47990a6a
TS
44772016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4478
4479 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
4480 input_line_pointer.
4481 * config/tc-m32r.c (expand_debug_syms): Likewise.
4482 * config/tc-msp430.c (msp430_dstoperand): Likewise.
4483 * config/tc-z80.c (md_begin): Likewise.
4484 * stabs.c (stabs_generate_asm_func): Likewise.
4485
e046cf80
TS
44862016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4487
4488 * cgen.c: Modernize the way functions declare arguments.
4489 * config/tc-bfin.c: Likewise.
4490 * config/tc-pdp11.c: Likewise.
4491 * literal.c: Likewise.
4492 * read.c: Likewise.
4493 * stabs.c: Likewise.
4494
d9235011
TS
44952016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4496
4497 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
4498 variables unsigned char[].
4499 * config/tc-alpha.c (alpha_handle_align): Likewise.
4500 * config/tc-arm.c (arm_handle_align): Likewise.
4501 * config/tc-z80.c: Likewise.
4502
c6025a80
NC
45032016-03-30 Nick Clifton <nickc@redhat.com>
4504
4505 PR target/19880
4506 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
4507 shifting.
4508
f89a23cf
CZ
45092016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4510
abe051ba
AM
4511 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
4512 * testsuite/gas/elf/elf.exp: Likewise.
4513 * testsuite/gas/all/redef3.d: Allow execution for ARC.
f89a23cf 4514
f621ad3c
CZ
45152016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4516
abe051ba 4517 * testsuite/gas/arc/warn.exp: Fix matching pattern.
f621ad3c 4518
f2dd8838
CZ
45192016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
4520
abe051ba
AM
4521 * testsuite/gas/arc/ext2op.d: New file.
4522 * testsuite/gas/arc/ext2op.s: Likewise.
4523 * testsuite/gas/arc/ext3op.d: Likewise.
4524 * testsuite/gas/arc/ext3op.s: Likewise.
f2dd8838 4525
17b9d67d
TS
45262016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4527
4528 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
4529 qualifier.
4530 * config/tc-alpha.c (md_parse_option): Likewise.
4531 * config/tc-arc.c (md_parse_option): Likewise.
4532 * config/tc-arm.c (struct arm_long_option_table): Likewise.
4533 (md_parse_option): Likewise.
4534 * config/tc-avr.c (md_parse_option): Likewise.
4535 * config/tc-bfin.c (md_parse_option): Likewise.
4536 * config/tc-cr16.c (md_parse_option): Likewise.
4537 * config/tc-cris.c (s_cris_arch): Likewise.
4538 (md_parse_option): Likewise.
4539 * config/tc-crx.c (md_parse_option): Likewise.
4540 * config/tc-d10v.c (md_parse_option): Likewise.
4541 * config/tc-d30v.c (md_parse_option): Likewise.
4542 * config/tc-dlx.c (md_parse_option): Likewise.
4543 * config/tc-epiphany.c (md_parse_option): Likewise.
4544 * config/tc-fr30.c (md_parse_option): Likewise.
4545 * config/tc-frv.c (md_parse_option): Likewise.
4546 * config/tc-ft32.c (md_parse_option): Likewise.
4547 * config/tc-h8300.c (md_parse_option): Likewise.
4548 * config/tc-hppa.c (md_parse_option): Likewise.
4549 * config/tc-i370.c (md_parse_option): Likewise.
4550 * config/tc-i386.c (md_parse_option): Likewise.
4551 * config/tc-i860.c (md_parse_option): Likewise.
4552 * config/tc-i960.c (md_parse_option): Likewise.
4553 * config/tc-ia64.c (md_parse_option): Likewise.
4554 * config/tc-ip2k.c (md_parse_option): Likewise.
4555 * config/tc-iq2000.c (md_parse_option): Likewise.
4556 * config/tc-lm32.c (md_parse_option): Likewise.
4557 * config/tc-m32c.c (md_parse_option): Likewise.
4558 * config/tc-m32r.c (md_parse_option): Likewise.
4559 * config/tc-m68hc11.c (md_parse_option): Likewise.
4560 * config/tc-m68k.c (md_parse_option): Likewise.
4561 * config/tc-mcore.c (md_parse_option): Likewise.
4562 * config/tc-mep.c (md_parse_option): Likewise.
4563 * config/tc-metag.c (struct metag_long_option): Likewise.
4564 (md_parse_option): Likewise.
4565 * config/tc-microblaze.c (md_parse_option): Likewise.
4566 * config/tc-microblaze.h (md_parse_option): Remove prototype.
4567 * config/tc-mips.c (md_parse_option): Adjust.
4568 * config/tc-mmix.c (md_parse_option): Likewise.
4569 * config/tc-mn10200.c (md_parse_option): Likewise.
4570 * config/tc-mn10300.c (md_parse_option): Likewise.
4571 * config/tc-moxie.c (md_parse_option): Likewise.
4572 * config/tc-msp430.c (md_parse_option): Likewise.
4573 * config/tc-mt.c (md_parse_option): Likewise.
4574 * config/tc-nds32.c (md_parse_option): Likewise.
4575 * config/tc-nds32.h (nds32_parse_option): Likewise.
4576 * config/tc-nios2.c (md_parse_option): Likewise.
4577 * config/tc-ns32k.c (md_parse_option): Likewise.
4578 * config/tc-or1k.c (md_parse_option): Likewise.
4579 * config/tc-pdp11.c (md_parse_option): Likewise.
4580 * config/tc-pj.c (md_parse_option): Likewise.
4581 * config/tc-ppc.c (md_parse_option): Likewise.
4582 * config/tc-rl78.c (md_parse_option): Likewise.
4583 * config/tc-rx.c (md_parse_option): Likewise.
4584 * config/tc-s390.c (s390_parse_cpu): Likewise.
4585 * config/tc-score.c (md_parse_option): Likewise.
4586 * config/tc-sh.c (md_parse_option): Likewise.
4587 * config/tc-sparc.c (md_parse_option): Likewise.
4588 * config/tc-spu.c (md_parse_option): Likewise.
4589 * config/tc-tic30.c (md_parse_option): Likewise.
4590 * config/tc-tic4x.c (md_parse_option): Likewise.
4591 * config/tc-tic54x.c (md_parse_option): Likewise.
4592 * config/tc-tic6x.c (md_parse_option): Likewise.
4593 * config/tc-tilegx.c (md_parse_option): Likewise.
4594 * config/tc-tilepro.c (md_parse_option): Likewise.
4595 * config/tc-v850.c (md_parse_option): Likewise.
4596 * config/tc-vax.c (md_parse_option): Likewise.
4597 * config/tc-visium.c (struct visium_long_option_table): Likewise.
4598 * config/tc-xc16x.c (md_parse_option): Likewise.
4599 * config/tc-xgate.c (md_parse_option): Likewise.
4600 * config/tc-xstormy16.c (md_parse_option): Likewise.
4601 * config/tc-xtensa.c (md_parse_option): Likewise.
4602 * config/tc-z80.c (md_parse_option): Likewise.
4603 * config/tc-z8k.c (md_parse_option): Likewise.
4604 * tc.h (md_parse_option): Likewise.
4605
30bd735c
TS
46062016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4607
4608 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
4609 * config/tc-hppa.c (fix_new_hppa): Likewise.
4610 (pa_vtable_entry): Likewise.
4611 (pa_vtable_inherit): Likewise.
4612 * config/tc-m68k.c (md_begin): Likewise.
4613
82b8a785
TS
46142016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4615
4616 * config/obj-elf.c (obj_elf_section_name): Return const char *.
4617 * config/obj-elf.h (obj_elf_section_name): Adjust.
4618 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
4619 (aarch64_parse_cpu): Likewise.
4620 (aarch64_parse_arch): Likewise.
4621 * config/tc-arm.c (arm_parse_extension): Likewise.
4622 (arm_parse_cpu): Likewise.
4623 (arm_parse_arch): Likewise.
4624 * config/tc-nds32.c: Likewise.
4625 * config/xtensa-relax.c (parse_special_fn): Likewise.
4626 * stabs.c (generate_asm_file): Likewise.
4627
9202e88a
TS
46282016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4629
4630 * config/tc-cr16.c (cr16_assemble): New function.
4631 (md_assemble): Call cr16_assemble.
4632
a90fb5e3
TS
46332016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4634
4635 * as.c (parse_args): Adjust.
4636 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
4637 * config/obj-elf.c (elf_frob_symbol): Adjust.
4638
f65c3d1b
JM
46392016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
4640
4641 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
4642 registers to be in the 16..31 range.
4643
e742e119
TS
46442016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4645
4646 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
4647 frag_var ().
4648
eda6e9a4
TS
46492016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4650
4651 * config/tc-visium.c (md_atof): Localize the string returned on
4652 failure.
4653
b9bb4a93
TS
46542016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4655
4656 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
4657 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
4658 * config/tc-m68hc11.c (md_begin): Likewise.
4659 (print_opcode_list): Likewise.
4660 * config/tc-msp430.c (msp430_section): Likewise.
4661 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
4662 (s3_build_dependency_insn_hsh): Likewise.
4663 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
4664 (s7_build_dependency_insn_hsh): Likewise.
4665 * config/tc-tic4x.c: Likewise.
4666 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4667 (subsym_get_arg): Likewise.
4668 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
4669 (get_directive): Likewise.
4670 (cache_literal_section): Likewise.
4671 * config/xtensa-relax.c: Likewise.
4672 * symbols.c (symbol_create): Likewise.
4673 (local_symbol_make): Likewise.
4674 (symbol_relc_make_expr): Likewise.
4675
986d894b
TS
46762016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4677
4678 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
4679 str.
4680
74b4e47a
TS
46812016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4682
4683 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
4684 call with a switch.
4685
0a433ebc
TS
46862016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4687
4688 * config/tc-ia64.c (ia64_do_align): Remove.
4689 (ia64_cons_align): Call do_align () directly.
4690 (dot_proc): Likewise.
4691 (stmt_float_cons): Likewise.
4692
8860a416
TS
46932016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4694
4695 * listing.c (listing_message): Use XNEW style allocation macros.
4696 * read.c (read_a_source_file): Likewise.
4697 (read_symbol_name): Likewise.
4698 (s_mri_common): Likewise.
4699 (assign_symbol): Likewise.
4700 (s_reloc): Likewise.
4701 (emit_expr_with_reloc): Likewise.
4702 (s_incbin): Likewise.
4703 (s_include): Likewise.
4704 * sb.c (sb_build): Likewise.
4705 (sb_check): Likewise.
4706
49636823
AM
47072016-03-22 Alan Modra <amodra@gmail.com>
4708
4709 * write.c (record_alignment): Revert 2016-02-18 change.
4710
39a0d071
AM
47112016-03-22 Alan Modra <amodra@gmail.com>
4712
4713 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
4714 (emit_jsrjmp, tc_gen_reloc): Likewise.
4715 * config/tc-i370.c (i370_macro): Likewise.
4716
9780e045
NC
47172016-03-22 Nick Clifton <nickc@redhat.com>
4718
4719 * configure: Regenerate.
4720
e23e8ebe
AB
47212016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4722
4723 * testsuite/gas/arc/nps400-0.d: New file.
4724 * testsuite/gas/arc/nps400-0.s: New file.
4725 * testsuite/gas/arc/nps400-1.d: New file.
4726 * testsuite/gas/arc/nps400-1.s: New file.
4727
1ae8ab47
AB
47282016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4729
4730 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
4731 declarations to start of block. Reset code on all flags before
4732 attempting to match them. Handle multiple hits on the same flag.
4733 Handle flag class.
4734 * testsuite/gas/arc/asm-errors.d: New file.
4735 * testsuite/gas/arc/asm-errors.err: New file.
4736 * testsuite/gas/arc/asm-errors.s: New file.
4737
8699fc3e
AB
47382016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4739
4740 * config/tc-arc.c (cpu_types): Add nps400 entry.
4741 (check_zol): Handle nps400.
4742
a9522a21
AB
47432016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4744
4745 * config/tc-arc.c (arc_select_cpu): Remove use of
4746 EF_ARC_CPU_GENERIC.
4747
24740d83
AB
47482016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4749
4750 * config/tc-arc.c (arc_target): Delay initialisation until
4751 arc_select_cpu.
4752 (arc_target_name): Likewise.
4753 (arc_features): Likewise.
4754 (arc_mach_type): Likewise.
4755 (cpu_types): Remove "all" entry.
4756 (arc_select_cpu): New function, most of the content is from...
4757 (md_parse_option): ... here. Call new arc_select_cpu.
4758 (md_begin): Call arc_select_cpu if needed, default is now arc700.
4759
62f6f9c2
AB
47602016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4761
4762 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
4763 * testsuite/gas/arc/inline-data-2.d: New file.
4764
e1fa0163
NC
47652016-03-21 Nick Clifton <nickc@redhat.com>
4766
4767 * atof-generic.c: Replace use of alloca with call to xmalloc.
4768 * cgen.c: Likewise.
4769 * dwarf2dbg.c: Likewise.
4770 * macro.c: Likewise.
4771 * remap.c: Likewise.
4772 * stabs.c: Likewise.
4773 * symbols.c: Likewise.
4774 * config/obj-elf.c: Likewise.
4775 * config/tc-aarch64.c: Likewise.
4776 * config/tc-arc.c: Likewise.
4777 * config/tc-arm.c: Likewise.
4778 * config/tc-avr.c: Likewise.
4779 * config/tc-ia64.c: Likewise.
4780 * config/tc-mips.c: Likewise.
4781 * config/tc-msp430.c: Likewise.
4782 * config/tc-nds32.c: Likewise.
4783 * config/tc-ppc.c: Likewise.
4784 * config/tc-sh.c: Likewise.
4785 * config/tc-tic30.c: Likewise.
4786 * config/tc-tic54x.c: Likewise.
4787 * config/tc-xstormy16.c: Likewise.
4788 * config/te-vms.c: Likewise.
4789 * configure: Regenerate.
4790
bad6e36d
TS
47912016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4792
4793 * tc-i386.c (f32_1): Change type to unsigned char[].
4794 (f32_2): Likewise.
4795 (f32_3): Likewise.
4796 (f32_4): Likewise.
4797 (f32_5): Likewise.
4798 (f32_6): Likewise.
4799 (f32_7): Likewise.
4800 (f32_8): Likewise.
4801 (f32_9): Likewise.
4802 (f32_10): Likewise.
4803 (f32_11): Likewise.
4804 (f32_12): Likewise.
4805 (f32_13): Likewise.
4806 (f32_14): Likewise.
4807 (f16_3): Likewise.
4808 (f16_4): Likewise.
4809 (f16_5): Likewise.
4810 (f16_6): Likewise.
4811 (f16_7): Likewise.
4812 (f16_8): Likewise.
4813 (jump_31): Likewise.
4814 (f32_patt): Likewise.
4815 (f16_patt): Likewise.
4816 (alt_3): Likewise.
4817 (alt_4): Likewise.
4818 (alt_5): Likewise.
4819 (alt_6): Likewise.
4820 (alt_7): Likewise.
4821 (alt_8): Likewise.
4822 (alt_9): Likewise.
4823 (alt_10): Likewise.
4824 (alt_patt): Likewise.
4825
6387924a
NC
48262016-03-18 Nick Clifton <nickc@redhat.com>
4827
30fab421
NC
4828 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
4829 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
4830 .tlsdescldr and .xword directives.
4831
8678914f
NC
4832 PR target/19721
4833 * testsuite/gas/aarch64/pr19721.s: New test source file.
4834 * testsuite/gas/aarch64/pr19721.d: New test driver file.
4835
6387924a
NC
4836 * doc/as.texinfo: Place the target specific command line options
4837 into their own man page section.
4838
cc933301
JW
48392016-03-16 Jiong Wang <jiong.wang@arm.com>
4840
4841 * config/tc-arm.c (N_S_32): New.
4842 (N_F_16_32): Likewise.
4843 (N_SUF_32): Support N_F16.
4844 (N_IF_32): Likewise.
4845 (neon_dyadic_misc): Likewise.
4846 (do_neon_cmp): Likewise.
4847 (do_neon_cmp_inv): Likewise.
4848 (do_neon_mul): Likewise.
4849 (do_neon_fcmp_absolute): Likewise.
4850 (do_neon_step): Likewise.
4851 (do_neon_abs_neg): Likewise.
4852 (CVT_FLAVOR_VAR): Likewise.
4853 (do_neon_cvt_1): Likewise.
4854 (do_neon_recip_est): Likewise.
4855 (do_vmaxnm): Likewise.
4856 (do_vrint_1): Likewise.
4857 (neon_check_type): Check architecture support for FP16 extension.
4858 (insns): Update comments.
4859 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
4860 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
4861 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
4862 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
4863 arm mode.
4864 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
4865 thumb mode.
4866 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
4867 error file.
4868
5f2b6bc9
NC
48692016-03-16 Nick Clifton <nickc@redhat.com>
4870
4871 * read.c (emit_expr_with_reloc): Add code check a bignum with
4872 nbytes == 1.
4873 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
4874 other than 32-bits.
4875 * testsuite/gas/elf/bignum.s: New test source file.
4876 * testsuite/gas/elf/bignum.d: New test driver file.
4877 * testsuite/gas/elf/elf.exp: Run the new test.
4878
4bde3cdd
UD
48792016-03-15 Ulrich Drepper <drepper@gmail.com>
4880
4881 * doc/c-i386.texi (Register Naming): Update to details of the
abe051ba 4882 latest architecture version.
4bde3cdd 4883
a9f02af8
MG
48842016-03-10 Mickael Guene <mickael.guene@st.com>
4885
4886 PR gas/19744
4887 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
4888 (do_mov): Likewise.
4889 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
4890 (do_t_mov_cmp): Likewise.
4891 (do_t_add_sub): Protect against bad relocations usage.
4892 (do_t_mov_cmp): Likewise.
5dafb246
AM
4893 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
4894 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
4895 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
4896 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
a9f02af8 4897
aa8a0863
TS
48982016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4899
4900 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
4901 do_alignment.
4902 (do_neon_ld_st_lane): Likewise.
4903 (do_neon_ld_dup): Likewise.
4904
72f3b6aa
CZ
49052016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
4906
4907 * testsuite/gas/arc/inline-data-1.d: New file.
4908 * testsuite/gas/arc/inline-data-1.s: New file.
4909
5f474010
TP
49102016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
4911
4912 * config/tc-arm.c (arm_cpus): Add cortex-r8.
4913 * doc/c-arm.texi: Add cortex-r8.
4914
f86f5863
TS
49152016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4916
4917 * config/tc-arc.c: Add const qualifiers.
4918 * config/tc-h8300.c (md_begin): Likewise.
4919 * config/tc-ia64.c (print_prmask): Likewise.
4920 * config/tc-msp430.c (msp430_operands): Likewise.
4921 * config/tc-nds32.c (struct suffix_name): Likewise.
4922 (struct nds32_parse_option_table): Likewise.
4923 (struct nds32_set_option_table): Likewise.
4924 (do_pseudo_pushpopm): Likewise.
4925 (do_pseudo_pushpop_stack): Likewise.
4926 (nds32_relax_relocs): Likewise.
4927 (nds32_flag): Likewise.
4928 (struct nds32_hint_map): Likewise.
4929 (nds32_find_reloc_table): Likewise.
4930 (nds32_match_hint_insn): Likewise.
4931 * config/tc-s390.c: Likewise.
4932 * config/tc-sh.c (get_specific): Likewise.
4933 * config/tc-tic30.c: Likewise.
4934 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
4935 (tic4x_indirect_parse): Likewise.
4936 * config/tc-vax.c (vax_cons): Likewise.
4937 * config/tc-z80.c (struct reg_entry): Likewise.
4938 * config/tc-epiphany.c (md_assemble): Adjust.
4939 (epiphany_assemble): New function.
4940 (epiphany_elf_section_rtn): Call do_align directly.
4941 (epiphany_elf_section_text): Likewise.
4942 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
4943 (ip2k_elf_section_text): Likewise.
4944 * read.c (do_align): Make it not static.
4945 * read.h (do_align): New prototype.
4946
9411fd44
MW
49472016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4948
4949 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4950 for ARMv8.1 AdvSIMD use.
4951 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4952 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4953
643afb90
MW
49542016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4955
4956 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4957 feature.
4958 (record_feature_use): New.
4959 (mark_feature_used): Use record_feature_use.
4960 (do_neon_qrdmlah): New.
4961 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4962 variants.
4963 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4964 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4965 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4966 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4967 Make source file explicit.
4968 * testsuite/gas/arm/armv8-a+rdma.l: New.
4969 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4970 directives. Fix white-space.
4971 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4972
25aa3689
L
49732016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4974
4975 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4976
841fdfcd
CZ
49772016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4978 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4979
abe051ba
AM
4980 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4981 (tc_arc_fix_adjustable): Changed default return value to 1.
4982 * testsuite/gas/arc/j.d: Updated expected symbol
4983 * testsuite/gas/arc/jl.d: Likewise
4984 * testsuite/gas/arc/relax-avoid1.d: Likewise
4985 * testsuite/gas/arc/st.d: Likewise
841fdfcd 4986
7e458899
CZ
49872016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4988
4989 * config/tc-arc.c: Enable code density instructions for ARC EM.
4990
11e5f1ec
L
49912016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4992
4993 PR ld/19645
4994 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
4995 for ELF assemblers.
4996 * as.c (flag_use_elf_stt_common): New.
4997 (show_usage): Add --elf-stt-common=.
4998 (option_values): Add OPTION_ELF_STT_COMMON.
4999 (std_longopts): Add --elf-stt-common=.
5000 (parse_args): Handle --elf-stt-common=.
5001 * as.h (flag_use_elf_stt_common): New.
5002 * config.in: Regenerated.
5003 * configure: Likewise.
5004 * configure.ac: Add --enable-elf-stt-common and define
5005 DEFAULT_GENERATE_ELF_STT_COMMON.
5006 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
5007 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
5008 * doc/as.texinfo: Document --elf-stt-common=.
5009 * testsuite/gas/elf/common3.s: New file.
5010 * testsuite/gas/elf/common3a.d: Likewise.
5011 * testsuite/gas/elf/common3b.d: Likewise.
5012 * testsuite/gas/elf/common4.s: Likewise.
5013 * testsuite/gas/elf/common4a.d: Likewise.
5014 * testsuite/gas/elf/common4b.d: Likewise.
5015 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
5016 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
5017 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
5018 and common4b.
5019 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
5020 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
5021 --elf-stt-common=no to as.
5022 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
5023 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
5024 --elf-stt-common=no to as.
5025 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
5026 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
5027 of dw2-compress-3 and dw2-compressed-3.
5028
e0471c16
TS
50292016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5030
5031 * as.c (select_emulation_mode): Add const qualifiers.
5032 * as.h: Likewise.
5033 * config/bfin-defs.h: Likewise.
5034 * config/bfin-parse.y: Likewise.
5035 * config/rx-parse.y: Likewise.
5036 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
5037 (struct aarch64_cpu_option_table): Likewise.
5038 (struct aarch64_arch_option_table): Likewise.
5039 (struct aarch64_option_cpu_value_table): Likewise.
5040 (struct aarch64_long_option_table): Likewise.
5041 (struct aarch64_option_abi_value_table): Likewise.
5042 * config/tc-arm.c (struct reloc_entry): Likewise.
5043 (tc_gen_reloc): Likewise.
5044 (struct arm_option_table): Likewise.
5045 (struct arm_legacy_option_table): Likewise.
5046 (struct arm_cpu_option_table): Likewise.
5047 (struct arm_arch_option_table): Likewise.
5048 (struct arm_option_extension_value_table): Likewise.
5049 (struct arm_option_fpu_value_table): Likewise.
5050 (struct arm_option_value_table): Likewise.
5051 (struct arm_long_option_table): Likewise.
5052 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
5053 (struct mcu_type_s): Likewise.
5054 (struct exp_mod_s): Likewise.
5055 (avr_operand): Likewise.
5056 (avr_operands): Likewise.
5057 * config/tc-d10v.c (md_begin): Likewise.
5058 * config/tc-dlx.c: Likewise.
5059 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
5060 * config/tc-ft32.c (parse_condition): Likewise.
5061 * config/tc-h8300.c (do_a_fix_imm): Likewise.
5062 * config/tc-hppa.c (pa_ip): Likewise.
5063 (hppa_regname_to_dw2regnum): Likewise.
5064 * config/tc-i370.c (i370_elf_suffix): Likewise.
5065 * config/tc-i960.c (struct tabentry): Likewise.
5066 * config/tc-m32r.c: Likewise.
5067 * config/tc-m68k.c: Likewise.
5068 * config/tc-m68k.h: Likewise.
5069 * config/tc-mcore.c (parse_psrmod): Likewise.
5070 * config/tc-metag.c (struct metag_core_option): Likewise.
5071 (struct metag_long_option): Likewise.
5072 * config/tc-microblaze.c: Likewise.
5073 * config/tc-mips.c (macro): Likewise.
5074 * config/tc-mn10200.c: Likewise.
5075 * config/tc-mn10300.c: Likewise.
5076 * config/tc-msp430.c (struct rcodes_s): Likewise.
5077 (struct hcodes_s): Likewise.
5078 (md_parse_option): Likewise.
5079 * config/tc-ns32k.c (struct ns32k_option): Likewise.
5080 (optlist): Likewise.
5081 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
5082 (tc_ppc_regname_to_dw2regnum): Likewise.
5083 * config/tc-ppc.h: Likewise.
5084 * config/tc-rl78.c: Likewise.
5085 * config/tc-rx.c (struct cpu_type): Likewise.
5086 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
5087 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
5088 (sparc_ip): Likewise.
5089 * config/tc-spu.c (insn_fmt_string): Likewise.
5090 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5091 * config/tc-v850.c: Likewise.
5092 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
5093 (struct visium_long_option_table): Likewise.
5094 * config/tc-xgate.c: Likewise.
5095 * config/tc-z8k.c: Likewise.
5096 * read.c (add_include_dir): Likewise.
5097 * read.h: Likewise.
5098
e6e7b7c4
AB
50992016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5100
5101 * testsuite/gas/all/gas.exp: Change target pattern to cover
5102 arceb-*.
5103 * testsuite/gas/all/redef3.d: Likewise.
5104 * testsuite/gas/elf/elf.exp: Likewise.
5105
9db2f6b4
RL
51062016-02-24 Renlin Li <renlin.li@arm.com>
5107
5108 * config/tc-arm.c (BAD_FP16): New error message macro.
5109 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
5110 fp16 scalar instructions.
5111 (neon_check_type): Allow different size from key.
5112 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
5113 (try_vfp_nsyn): Likewise.
5114 (do_vfp_nsyn_mla_mls): Likewise.
5115 (do_vfp_nsyn_fma_fms): Likewise.
5116 (do_vfp_nsyn_ldm_stm): Likewise
5117 (do_vfp_nsyn_sqrt): Likewise
5118 (do_vfp_nsyn_div): Likewise
5119 (do_vfp_nsyn_nmul): Likewise.
5120 (do_vfp_nsyn_cmp): Likewise.
5121 (do_neon_shll): Likewise.
5122 (do_vfp_nsyn_cvt_fpv8): Likewise.
5123 (do_neon_cvttb_2): Likewise.
5124 (do_neon_mov): Likewise.
5125 (do_neon_rshift_round_imm): Likewise.
5126 (do_neon_ldr_str): Likewise.
5127 (do_vfp_nsyn_fpv8): Likewise.
5128 (do_vmaxnm): Likewise.
5129 (do_vrint_1): Likewise.
5130 (insns): New entry for vins, vmovx.
5131 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
5132 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
5133 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
5134 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
5135 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
5136 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
5137 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
5138
d54af2d0
RL
51392016-02-24 Renlin Li <renlin.li@arm.com>
5140
5141 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
5142 (neon_shape_class): New SC_HALF.
5143 (neon_shape_el): New SE_H.
5144 (neon_shape_el_size): New size for SE_H.
5145 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
5146 (neon_select_shape): Add SE_H support code.
5147 (el_type_of_type_chk): Use N_F_ALL.
5148 (do_vfp_nsyn_cvt): Add SE_H shape support.
5149 (do_neon_cvtz): Likewise.
5150 (do_neon_cvt_1): Likewise.
5151 (do_neon_cvttb_1): Likewise.
5152
b0c11777
RL
51532016-02-24 Renlin Li <renlin.li@arm.com>
5154
5155 * testsuite/gas/arm/copro.d: Adjust output.
5156 * testsuite/gas/arm/copro.s: Adjust co-processor num.
5157
3e309328
RL
51582016-02-24 Renlin Li <renlin.li@arm.com>
5159
5160 * testsuite/gas/arm/mask_1.d: New.
5161 * testsuite/gas/arm/mask_1.s: New.
5162
8afc7bea
RL
51632016-02-24 Renlin Li <renlin.li@arm.com>
5164
5165 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
5166 * testsuite/gas/arm/copro.d: Update.
5167
6735952f
KT
51682016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5169
5170 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
5171 * doc/c-arm.texi (ARM Options): Document cortex-a32.
5172
ed5491b9
KT
51732016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5174
abe051ba 5175 * doc/c-arm.texi (ARM Options): Document cortex-a17.
ed5491b9 5176
742e5034
L
51772016-02-23 H.J. Lu <hongjiu.lu@intel.com>
5178
5179 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
5180 hpux.
5181
3b4dbbbf
TS
51822016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5183
5184 * output-file.c (output_file_create): Make file name argument const.
5185 (output_file_close): Likewise.
5186 * output-file.h (output_file_create): Adjust.
5187 (output_file_close): Likewise.
5188 * depend.c (quote_string_for_make): Make src argument const char *.
5189 (register_dependency): Likewise.
5190 (wrap_output): Likewise.
5191 * as.h (register_dependency): Adjust.
5192 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
5193 as_where ();
5194 * symbols.c (S_SET_EXTERNAL): Likewise.
5195 * input-scrub.c (as_where): Return the file name.
5196 * as.h (as_where): Adjust prototype.
5197 * app.c (do_scrub_chars): Adjust.
5198 * cond.c (s_elseif): Likewise.
5199 (s_else): Likewise.
5200 (initialize_cframe): Likewise.
5201 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
5202 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5203 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5204 * config/tc-aarch64.c (output_info): Likewise.
5205 * config/tc-ia64.c (md_assemble): Likewise.
5206 (dot_alias): Likewise.
5207 * config/tc-m68k.c (m68k_frob_label): Likewise.
5208 * config/tc-mmix.c (s_bspec): Likewise.
5209 (mmix_handle_mmixal): Likewise.
5210 * config/tc-rx.c (rx_include): Likewise.
5211 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5212 (tic54x_adjust_symtab): Likewise.
5213 * config/tc-xtensa.c (directive_push): Likewise.
5214 (xtensa_sanity_check): Likewise.
5215 (xtensa_relax_frag): Likewise.
5216 (md_convert_frag): Likewise.
5217 (tinsn_to_slotbuf): Likewise.
5218 * dwarf2dbg.c (dwarf2_where): Likewise.
5219 * ecoff.c (add_file): Likewise.
5220 (ecoff_generate_asm_lineno): Likewise.
5221 * expr.c (make_expr_symbol): Likewise.
5222 * frags.c (frag_new): Likewise.
5223 (frag_var_init): Likewise.
5224 * listing.c (listing_newline): Likewise.
5225 * messages.c (identify): Likewise.
5226 (as_show_where): Likewise.
5227 (as_warn_internal): Likewise.
5228 (as_bad_internal): Likewise.
5229 * read.c (s_irp): Likewise.
5230 (s_macro): Likewise.
5231 (s_reloc): Likewise.
5232 * stabs.c (stabs_generate_asm_file): Likewise.
5233 (stabs_generate_asm_lineno): Likewise.
5234 (stabs_generate_asm_func): Likewise.
5235 * write.c (fix_new_internal): Likewise.
5236 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
5237 (as_warn_value_out_of_range): Adjust prototype.
5238 (as_bad_value_out_of_range): Adjust prototype.
5239 * messages.c (identify): Make file name argument const char *.
5240 (as_warn_internal): Likewise.
5241 (as_warn_where): Likewise.
5242 (as_bad_internal): Likewise.
5243 (as_bad_where): Likewise.
5244 (as_internal_value_out_of_range): Likewise.
5245 (as_warn_value_out_of_range): Likewise.
5246 (as_bad_value_out_of_range): Likewise.
5247 * as.h (found_comment_file): Change type to const char *.
5248 * cond.c (file_line::file): Likewise.
5249 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
5250 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5251 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5252 * config/tc-aarch64.c (output_info): Likewise.
5253 * config/tc-alpha.c (insert_operand): Likewise.
5254 * config/tc-arc.c (insert_operand): Likewise.
5255 * config/tc-d30v.c (check_size): Likewise.
5256 * config/tc-ia64.c (struct alias): Likewise.
5257 * config/tc-m68k.c (struct label_line): Likewise.
5258 * config/tc-mcore.c (md_apply_fix): Likewise.
5259 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
5260 * config/tc-mips.c (mips16_immed): Likewise.
5261 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
5262 * config/tc-ppc.c (ppc_insert_operand): Likewise.
5263 * config/tc-rx.c (rx_include): Likewise.
5264 * config/tc-s390.c (s390_insert_operand): Likewise.
5265 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5266 (tic54x_adjust_symtab): Likewise.
5267 * config/tc-tilegx.c (insert_operand): Likewise.
5268 (apply_special_operator): Likewise.
5269 * config/tc-tilepro.c (insert_operand): Likewise.
5270 * config/tc-xtensa.c (directive_push): Likewise.
5271 * ecoff.c (add_file): Likewise.
5272 (ecoff_generate_asm_lineno): Likewise.
5273 * listing.c (listing_newline): Likewise.
5274 * read.c (s_irp): Likewise.
5275 * write.c (install_reloc): Likewise.
5276 * write.h (struct fix): Likewise.
5277 * input-file.c (file_name): Change type to const char *.
5278 (saved_file::file_name): Likewise.
5279 (input_file_open): Change type of argument to const char *.
5280 * input-file.h (input_file_open): Adjust.
5281 * input-scrub.c (logical_input_file): change type to const char *.
5282 (physical_input_file): Likewise.
abe051ba 5283 (struct input_save): Adjust.
3b4dbbbf
TS
5284 (input_scrub_push): Adjust.
5285 (input_scrub_begin): Adjust.
5286 (as_where): Adjust.
5287 * input-scrub.c (input_scrub_new_file): Make file name argument const.
5288 (input_scrub_include_file): Likewise.
5289 (new_logical_line_flags): Likewise.
5290 (new_logical_line): Likewise.
5291 * as.h: Adjust.
5292 * frags.h (struct frag): Change type of fr_file to const char *.
5293 * expr.c (expr_symbol_where): Change type of file argument to
5294 const char **.
5295 * expr.h (expr_symbol_where): Likewise.
5296 * config/tc-i370.c (md_apply_fix): adjust.
5297 * config/tc-mmix.c (mmix_md_end): Likewise.
5298 * config/tc-ppc.c (md_apply_fix): Likewise.
5299 * config/tc-s390.c (md_apply_fix): Likewise.
5300 * symbols.c (report_op_error): Likewise.
5301 (resolve_symbol_value): Likewise.
5302 * config/tc-ia64.c (slot::src_file): Change type to const char *.
5303 (rsrc::file): Likewise.
5304 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
5305 const char *.
5306 (xtensa_relax_frag): Likewise.
5307 (md_convert_frag): Likewise.
5308 (tinsn_to_slotbuf): Likewise.
5309 * expr.c (expr_symbol_line): Likewise.
5310 * macro.c (define_macro): Likewise.
5311 * macro.h (macro_struct): Likewise.
5312 * messages.c (as_show_where): Likewise.
5313 * read.c (s_macro): Likewise.
5314 * stabs.c (stabs_generate_asm_file): Likewise.
5315 (generate_asm_file): Likewise.
5316 (stabs_generate_asm_lineno): Likewise.
5317 * write.h (struct reloc_list): Likewise.
5318 * input-scrub.c (as_where): Change return type to const char *.
5319 * as.h (as_wheree): Adjust.
5320
8ecb73dd
L
53212016-02-21 H.J. Lu <hongjiu.lu@intel.com>
5322
5323 * write.c (compress_debug): Move BFD compression bits setting
5324 to ...
5325 (write_object_file): Here.
5326
200cbe0f
L
53272016-02-20 H.J. Lu <hongjiu.lu@intel.com>
5328
5329 * config/tc-i386.c (register_number): Check RegVRex.
5330 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
5331 with %zmm19 and %zmm3.
5332 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
5333 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
5334
b8ec4e87
JW
53352016-02-19 Matthew Wahab <matthew.wahab@arm.com>
5336 Jiong Wang <jiong.wang@arm.com>
5337
5338 * config/tc-arm.c (arm_ext_fp16): New.
5339 (arm_extensions): New entry for "fp16".
5340
3be64886
NC
53412016-02-19 Nick Clifton <nickc@redhat.com>
5342
5343 PR 19630
5344 * read.c (read_a_source_file): Check for assemble_one returning
5345 with input_line_pointer set to NULL.
5346
3b4dbbbf 53472016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
cd0bbe6e 5348
3d13c647
TS
5349 * listing.c (rebuffer_line): Change return type to void.
5350
cd0bbe6e
TS
5351 * symbols.c (decode_local_label_name): Make type a const char *.
5352 * listing.c (print_source): Make type of p const char *.
5353 (print_line): Make type of string const char *.
5354 (buffer_line): Return const char *.
5355 (title): Make type const char *.
5356 (subtitle): Likewise.
5357 (listing_listing): Make type of p const char *.
5358 * messages.c (as_internal_value_out_of_range): Make type of prefix
5359 const char *.
5360 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
5361 and string const char *.
5362 * read.c (_bfd_rel): Make type of name const char *.
5363 * app.c (out_string): Change type to const char *.
abe051ba 5364 (struct app_save::out_string): Likewise.
cd0bbe6e 5365
9136aa49
DG
53662016-02-18 Dan Gisselquist <dgisselq@verizon.net>
5367 Nick Clifton <nickc@redhat.com>
5368
5369 * read.c (finish_bundle): Avoid recording a negative alignment.
5370 (do_align): Use unsigned values for n, len and max. Only create
5371 a frag if the alignment requirement is greater than the minimum
5372 byte alignment. Avoid recording a negative alignment.
5373 (s_align): Use unsigned values where appropriate.
5374 (bss_alloc): Use an unsigned value for the alignment.
5375 (sizeof_sleb128): Add a comment noting that we encode one octet
5376 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
5377 (emit_leb129_expr): Abort if the emitted encoding was longer than
5378 expected.
5379 * read.h (output_leb128): Update prototype.
5380 (sizeof_leb128): Update prototype.
5381 (bss_alloc): Update prototype.
5382 * write.c (record_alignment): Use an unsigned value for the
5383 alignment. Do not record alignments less than the minimum
5384 alignment for a byte.
5385 * write.h (record_alignment): Update prototype.
5386
4111950f
MF
53872016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5388
5389 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
5390 .init.literal/.fini.literal section name.
5391 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
5392 list of xtensa tests.
5393 * testsuite/gas/xtensa/init-fini-literals.d: New file:
5394 init-fini-literals test result patterns.
5395 * testsuite/gas/xtensa/init-fini-literals.s: New file:
5396 init-fini-literals test.
5397
b27c40ec
NC
53982016-02-17 Nick Clifton <nickc@redhat.com>
5399
5400 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
5401 devices.csv file as of March 2016.
5402
726c18e1
CZ
54032016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
5404
5405 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
5406 function.
5407 (tc_arc_regname_to_dw2regnum): Likewise.
5408 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
5409 (tc_cfi_frame_initial_instructions): Likewise.
5410 (tc_regname_to_dw2regnum): Likewise.
5dafb246
AM
5411 * testsuite/gas/cfi/cfi-arc-1.d: New file.
5412 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
5413 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
726c18e1 5414
9406ee73
TS
54152016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
5416
5417 * doc/internals.texi (S_IS_EXTERN): Remove.
5418
eda683bb
NC
54192016-02-16 Nick Clifton <nickc@redhat.com>
5420
5421 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
5422 update.
5423
671eeb28
RL
54242016-02-16 Renlin Li <renlin.li@arm.com>
5425
5426 PR gas/19620
5427 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
5428 * testsuite/gas/aarch64/movw_label.d: New.
5429 * testsuite/gas/aarch64/movw_label.s: New.
5430
804021fb 54312016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
6439ea1a 5432
58cda018 5433 PR gas/19556
6439ea1a
VK
5434 * config/rx-parse.y (MOV): Opcode generation for index
5435 register addressing mode.
5436 * testsuite/gas/rx/rx.exp: Updated for new testcase.
5437 * testsuite/gas/rx/pr19665.s: New file.
5438 * testsuite/gas/rx/pr19665.s: New file.
5439 * testsuite/gas/rx/mov.d: Update expected output.
5440
804021fb 54412016-02-15 Nick Clifton <nickc@redhat.com>
9fb71ee4
NC
5442
5443 * doc/as.texinfo (.section): Document that numeric values can now
5444 be used for the flags and type fields of the ELF target's .section
5445 directive. Add notes about the restrictions on setting flags and
5446 types.
5447 * config/obj-elf.c (obj_elf_change_section): Allow known sections
5448 to be given processor specific section types. Allow processor and
5449 application specific flags of a section to be set after
5450 definition.
5451 (obj_elf_parse_section_letters): Handle parsing numeric values.
5452 (obj_elf_section_type): Handle parsing numeric values.
5453 (obj_elf_section): Allow numeric type values.
5454 * config/obj-elf.h (obj_elf_change_section): Update prototype.
5455 * testsuite/gas/elf/section10.d: New test.
5456 * testsuite/gas/elf/section10.s: Source file for new test.
5457 * testsuite/gas/elf/elf.exp: Run the new test.
5458 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
5459 the description of the flags produced by readelf.
5460 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
5461 * NEWS: Mention the new feature.
5462
bd5608dc
NC
54632016-02-11 Nick Clifton <nickc@redhat.com>
5464
5465 PR gas/19614
5466 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
5467 until it is actually used.
5468 (cfi_set_sections): Set cfi_sections_set to true.
5469 (dot_cfi_startproc): Likewise.
5470 (dot_cfi_endproc): Likewise.
5471 (dot_cfi_fde_data): Likewise.
5472 (cfi_finish): Likewise.
5473 (dot_cfi_sections): Do not set cfi_sections_set.
5474 * doc/as.texinfo (.cfi_sections): Note that targets can provide
5475 their own cfi section name. Also note that the directive can be
5476 reissued provided that CFI generation has not started.
5477 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
5478 .cfi_endproc directives so that the redefinition of .cfi_sections
5479 will trigger the generation of the error message.
5480 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
5481 number of error message.
5482
4670103e
CZ
54832016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
5484 Janek van Oirschot <jvanoirs@synopsys.com>
5485
5486 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
5487 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
5488 Define.
5489 (arc_flags, arc_relax_type): New structure.
5490 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
5491 (RELAX_TABLE_ENTRY_MAX): New define.
5492 (relaxation_state, md_relax_table, arc_relaxable_insns)
5493 (arc_num_relaxable_ins): New variable.
5494 (rlx_operand_type, arc_rlx_types): New enums.
5495 (arc_relaxable_ins): New structure.
5496 (OPTION_RELAX): New option.
5497 (arc_insn): New relax member.
5498 (arc_flags): Remove.
5499 (relax_insn_p): New function.
5500 (apply_fixups): Likewise.
5501 (relaxable_operand): Likewise.
5502 (may_relax_expr): Likewise.
5503 (relaxable_flag): Likewise.
5504 (arc_pcrel_adjust): Likewise.
5505 (md_estimate_size_before_relax): Implement.
5506 (md_convert_frag): Likewise.
5507 (md_parse_option): Handle new mrelax option.
5508 (md_show_usage): Likewise.
5509 (assemble_insn): Set relax member.
5510 (emit_insn0): New function.
5511 (emit_insn1): Likewise.
5512 (emit_insn): Handle relaxation case.
5513 * NEWS: Mention the new relaxation option.
5514 * doc/c-arc.texi (ARC Options): Document new mrelax option.
5515 * doc/as.texinfo (Target ARC Options): Likewise.
5516 * testsuite/gas/arc/relax-avoid1.d: New file.
5517 * testsuite/gas/arc/relax-avoid1.s: Likewise.
5518 * testsuite/gas/arc/relax-avoid2.d: Likewise.
5519 * testsuite/gas/arc/relax-avoid2.s: Likewise.
5520 * testsuite/gas/arc/relax-avoid3.d: Likewise.
5521 * testsuite/gas/arc/relax-avoid3.s: Likewise.
5522 * testsuite/gas/arc/relax-b.d: Likewise.
5523 * testsuite/gas/arc/relax-b.s: Likewise.
5524
9264d325
NC
55252016-02-08 Nick Clifton <nickc@redhat.com>
5526
5527 * config/tc-ia64.c (dot_prologue): Fix formatting.
5528
39306124
NC
55292016-02-04 Nick Clifton <nickc@redhat.com>
5530
5531 * config/obj-elf.c (obj_elf_change_section): Remove support for
5532 ARM NOREAD sections.
5533 * config/tc-arm.c (arm_elf_section_letter): Delete.
5534 * config/tc-arm.h (md_elf_section_letter): Delete.
5535 * doc/c-arm.texi (ARM Section Attribute): Delete section.
5536 * testsuite/gas/arm/section-execute-only.d: Delete.
5537 * testsuite/gas/arm/section-execute-only.s: Delete.
5538
c1d9289f
NC
55392016-02-04 Nick Clifton <nickc@redhat.com>
5540
5541 PR target/19561
5542 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
5543 to handle encoding of RRUX instruction.
5544 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
5545 shift instructions.
5546 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
5547
ea173078
MF
55482016-02-03 Max Filippov <jcmvbkbc@gmail.com>
5549
5550 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
5551 substitutions for BFD_RELOC_* as unsigned.
c1d9289f
NC
5552 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
5553 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
5554 * testsuite/gas/xtensa/loc.s: New file: loc test.
ea173078 5555
3d8efabf
KB
55562016-02-03 Kevin Buettner <kevinb@redhat.com>
5557
abe051ba 5558 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3d8efabf 5559
0cb4071e
L
55602016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5561
5562 PR gas/19520
5563 * NEWS: Mention new command line option -mrelax-relocations and
5564 new configure option --enable-x86-relax-relocations for x86
5565 target.
5566 * config.in: Regenerated.
5567 * configure.ac: Add --enable-x86-relax-relocations.
5568 (ac_default_x86_relax_relocations): New. Default to 1 except
5569 for x86 Solaris targets older than Solaris 12.
5570 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
5571 * configure: Likewise.
5572 * config/tc-i386.c (generate_relax_relocations): New.
5573 (OPTION_MRELAX_RELOCATIONS): Likewise.
5574 (output_disp): Don't generate relax relocations if
5575 generate_relax_relocations is 0.
5576 (md_longopts): Add -mrelax-relocations.
5577 (md_show_usage): Likewise.
5578 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
5579 * doc/c-i386.texi: Document -mrelax-relocations=.
5580 * testsuite/gas/i386/got-no-relax.d: New file.
5581 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
5582 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
5583 * testsuite/gas/i386/localpic.d: Likewise.
5584 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
5585 * testsuite/gas/i386/reloc32.d: Likewise.
5586 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
5587 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
5588 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
5589 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
5590 * testsuite/gas/i386/i386.exp: Run got-no-relax and
5591 x86-64-gotpcrel-no-relax.
5592
9d3fc4e1
L
55932016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5594
5595 * NEWS: Mention new command line option -mfence-as-lock-add=yes
5596 for x86 target.
5597
ab71ce86
L
55982016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5599
5600 * NEWS: Remove duplicated marker for 2.26.
5601
46d70d04
RL
56022016-02-02 Renlin Li <renlin.li@arm.com>
5603
5604 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
5605
0f99255d
AB
56062016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5607
5608 * testsuite/gas/ip2k/allinsn.d: New file.
5609 * testsuite/gas/ip2k/allinsn.s: New file.
5610 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
5611
5d7a9011
AB
56122016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5613
5614 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
5615 some load instructions.
5616 * testsuite/gas/epiphany/allinsn.d: Likewise.
5617 * testsuite/gas/epiphany/regression.d: Likewise.
5618
a012b298
AB
56192016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5620
5621 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
5622 suffixes from instruction mnemonics in expected output.
5623 * testsuite/gas/epiphany/allinsn.d: Likewise.
5624 * testsuite/gas/epiphany/regression.d: Likewise.
5625 * testsuite/gas/epiphany/sample.d: Likewise.
5626
2f74d480
AB
56272016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5628
5629 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
5630 names.
5631 * testsuite/gas/epiphany/allinsn.d: Likewise.
5632 * testsuite/gas/epiphany/sample.d: Likewise.
5633
b89807c6
AB
56342016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5635
5636 * testsuite/gas/epiphany/sample.d: Update expected output.
5637
b125bd17
CZ
56382016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
5639
abe051ba
AM
5640 * config/tc-arc.c (md_apply_fix): Allow addendum.
5641 (arc_reloc_op): Allow complex expressions for tpoff.
5642 (md_apply_fix): Handle resolved TLS local symbol.
b125bd17
CZ
5643 * testsuite/gas/arc/tls-relocs1.d: New file.
5644 * testsuite/gas/arc/tls-relocs1.s: Likewise.
5645
4f1d6205
L
56462016-02-01 Loria <Loria@phantasia.org>
5647
5648 PR target/19311
5649 * config/tc-arm.c (encode_arm_immediate): Recode to improve
5650 efficiency and avoid an LLVM loop optimization bug.
5651
ac0d427f
NC
56522016-02-01 Nick Clifton <nickc@redhat.com>
5653
5654 * config/tc-microblaze.c (parse_imm): Fix compile time warning
5655 message extending a negative 32-bit value into a larger signed
5656 value on a 32-bit host.
5657
348ef89a
L
56582016-01-29 H.J. Lu <hongjiu.lu@intel.com>
5659
5660 PR gas/19532
5661 * configure.ac (compressed_debug_sections): Replace == with =.
5662 * configure: Regenerated.
5663
e4e00185
AS
56642016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
5665 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 * config/tc-i386.c (avoid_fence): New.
5668 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
5669 is true.
5670 (OPTION_FENCE_AS_LOCK_ADD): New.
5671 (md_longopts): Add -mfence-as-lock-add.
5672 (md_parse_option): Handle -mfence-as-lock-add.
5673 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
5674 * doc/c-i386.texi (-mfence-as-lock-add): Document.
ac2789d7
L
5675 * testsuite/gas/i386/i386.exp: Run new tests.
5676 * testsuite/gas/i386/fence-as-lock-add.s: New.
5677 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
5678 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
5679 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
5680 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
e4e00185 5681
27ba7c94
L
56822016-01-27 H.J. Lu <hongjiu.lu@intel.com>
5683
5684 * configure.ac (compressed_debug_sections): Remove trailing `]'.
5685 * configure: Regenerated.
5686
d1982f93
L
56872016-01-25 H.J. Lu <hongjiu.lu@intel.com>
5688
5689 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
5690 (OPTION_MOMIT_LOCK_PREFIX): This.
5691 (md_longopts): Updated.
5692 (md_parse_option): Likewise.
5693
00acd688
CM
56942016-01-25 Catherine Moore <clm@codesourcery.com>
5695
5696 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
5697 if abicalls are in effect.
5698 * testsuite/gas/mips/sdata-gp.s: New test.
5699 * testsuite/gas/mips/sdata-gp.d: New expected output
5700 * testsuite/gas/mips/mips.exp: Run new test.
5701
5bc5ae88
RL
57022016-01-25 Renlin Li <renlin.li@arm.com>
5703
5704 * testsuite/gas/arm/thumb2_it_search.d: New.
5705 * testsuite/gas/arm/thumb2_it_search.s: New.
5706
61e137e2
NC
57072016-01-21 Nick Clifton <nickc@redhat.com>
5708
5709 PR gas/19454
5710 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
5711 with arm-netbsdelf target.
5712 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
5713
aed5fc75
NC
57142016-01-20 Nick Clifton <nickc@redhat.com>
5715
74b92a5c
NC
5716 PR 19456
5717 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
5718 * testsuite/gas/arm/blx-bl-convert.d
5719 * testsuite/gas/arm/plt-1.d: Likewise.
5720 * testsuite/gas/arm/reloc-bad.d: Likewise.
5721 * testsuite/gas/arm/thumb-w-good.d: Likewise.
5722 * testsuite/gas/arm/thumb2_pool.d: Likewise.
5723 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
5724 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
5725
72e0b254
NC
5726 PR 19499
5727 * doc/as.texinfo (Errors): Correct documentation describing the
5728 interaction of .file and .line with warning and error messages.
5729
aed5fc75
NC
5730 PR 19458
5731 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
5732 * testsuite/gas/arm/archv8m-main.d: Likewise.
5733 * testsuite/gas/arm/archv8m-base.d: Likewise.
5734
0bff6e2d
MW
57352016-01-20 Matthew Wahab <matthew.wahab@arm.com>
5736
5737 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
5738 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
5739 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
5740
91f68a68
MG
57412016-01-20 Mickael Guene <mickael.guene@st.com>
5742 Terry Guo <terry.guo@arm.com>
5743
5744 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
5745 SHF_ARM_NOREAD section flag.
5746 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
5747 handle letter 'y'.
5748 (arm_elf_section_letter) : Declare it.
5749 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
5750 SHF_ARM_NOREAD section flag.
5751 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
5752
5753 * testsuite/gas/arm/section-execute-only.s: New test case.
5754 * testsuite/gas/arm/section-execute-only.d: Expected output.
5755
100b4f2e
MR
57562016-01-18 Maciej W. Rozycki <macro@imgtec.com>
5757
5758 * config/tc-mips.c (micromips_insn_length): Remove the mention
5759 of 48-bit microMIPS instructions.
5760
3d961d0d
AM
57612016-01-18 Alan Modra <amodra@gmail.com>
5762
5763 * configure: Regenerate.
5764
5c14705f
AM
57652016-01-17 Alan Modra <amodra@gmail.com>
5766
5767 * configure: Regenerate.
5768
b3066ae8
AM
57692016-01-17 Alan Modra <amodra@gmail.com>
5770
5771 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
5772
4d82fe66
NC
57732016-01-14 Nick Clifton <nickc@redhat.com>
5774
5775 * testsuite/gas/rl78/sp-relative-movw.s: New test.
5776 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
5777 * testsuite/gas/rl78/rl78.exp: Run the new test.
5778
651657fa
MW
57792016-01-14 Matthew Wahab <matthew.wahab@arm.com>
5780
5781 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
5782 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
5783
3facb0e9
MR
57842016-01-13 Maciej W. Rozycki <macro@imgtec.com>
5785
5786 * config/tc-nios2.c (output_movia): Preset `code' to 0.
5787
8a4c2869
YS
57882016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
5789
5790 * config/tc-h8300.c (get_operand): Remove spurious condition in
5791 test for closing parenthesis.
5792
105bde57
MW
57932016-01-12 Matthew Wahab <matthew.wahab@arm.com>
5794
5795 * config/tc-arm.c (arm_ext_v8_2): New.
5796 (insns): Add "esb".
5797 * testsuite/gas/arm/armv8_2-a.d: New.
5798 * testsuite/gas/arm/armv8_2-a.s: New.
5799
5230aa4d
AM
58002016-01-12 Alan Modra <amodra@gmail.com>
5801
5802 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
5803
afa8d405
PB
58042016-01-11 Peter Bergner <bergner@vnet.ibm.com>
5805
5806 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
5807 xvcmpnesp, xvcmpnesp.>: Delete tests.
5808 * testsuite/gas/ppc/power9.s: Likewise.
5809 * testsuite/gas/ppc/vsx3.d: Likewise.
5810 * testsuite/gas/ppc/vsx3.s: Likewise.
5811
83c3256e
AS
58122016-01-08 Andreas Schwab <schwab@linux-m68k.org>
5813
5814 PR gas/13050
5815 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
5816 * testsuite/gas/m68k/p13050-1.s: New file.
5817 * testsuite/gas/m68k/p13050-2.d: New file.
5818 * testsuite/gas/m68k/p13050-2.s: New file.
5819
b05a65d0
AB
58202016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5821
5822 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
5823 * testsuite/gas/arc/add.d: Likewise.
5824 * testsuite/gas/arc/and.d: Likewise.
5825 * testsuite/gas/arc/asl.d: Likewise.
5826 * testsuite/gas/arc/asr.d: Likewise.
5827 * testsuite/gas/arc/bic.d: Likewise.
5828 * testsuite/gas/arc/extb.d: Likewise.
5829 * testsuite/gas/arc/extw.d: Likewise.
5830 * testsuite/gas/arc/j.d: Likewise.
5831 * testsuite/gas/arc/jl.d: Likewise.
5832 * testsuite/gas/arc/ld2.d: Likewise.
5833 * testsuite/gas/arc/lsr.d: Likewise.
5834 * testsuite/gas/arc/mov.d: Likewise.
5835 * testsuite/gas/arc/or.d: Likewise.
5836 * testsuite/gas/arc/pcl-relocs.d: Likewise.
5837 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
5838 * testsuite/gas/arc/pic-relocs.d: Likewise.
5839 * testsuite/gas/arc/plt-relocs.d: Likewise.
5840 * testsuite/gas/arc/rlc.d: Likewise.
5841 * testsuite/gas/arc/ror.d: Likewise.
5842 * testsuite/gas/arc/rrc.d: Likewise.
5843 * testsuite/gas/arc/sbc.d: Likewise.
5844 * testsuite/gas/arc/sda-relocs.d: Likewise.
5845 * testsuite/gas/arc/sda-relocs2.d: Likewise.
5846 * testsuite/gas/arc/sexb.d: Likewise.
5847 * testsuite/gas/arc/sexw.d: Likewise.
5848 * testsuite/gas/arc/st.d: Likewise.
5849 * testsuite/gas/arc/sub.d: Likewise.
5850 * testsuite/gas/arc/tls-relocs.d: Likewise.
5851 * testsuite/gas/arc/xor.d: Likewise.
5852
6f2750fe
AM
58532016-01-01 Alan Modra <amodra@gmail.com>
5854
5855 Update year range in copyright notice of all files.
5856
3499769a
AM
5857For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
5858\f
5859Copyright (C) 2016 Free Software Foundation, Inc.
5860
5861Copying and distribution of this file, with or without modification,
5862are permitted in any medium without royalty provided the copyright
5863notice and this notice are preserved.
5864
5865Local Variables:
5866mode: change-log
5867left-margin: 8
5868fill-column: 74
5869version-control: never
5870End:
This page took 0.383778 seconds and 4 git commands to generate.