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