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