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