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