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