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