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