1 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/gas/mips/mips16-macro.l: New list test.
4 * testsuite/gas/mips/mips.exp: Run the new test.
6 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
8 * testsuite/gas/mips/mips16-sdrasp.d: New test.
9 * testsuite/gas/mips/mips16-sdrasp.l: New stderr output.
10 * testsuite/gas/mips/mips16-sdrasp.s: New test source.
11 * testsuite/gas/mips/mips.exp: Run the new test.
13 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
15 * testsuite/gas/mips/mips.exp: Limit remaining tests that
16 require NewABI support to `has_newabi' targets.
18 2015-12-20 Andrew Waterman <andrew@sifive.com>
20 * config/tc-riscv.c (riscv_pseudo_table): Remove "align",
21 "p2align", and "balign".
23 (riscv_handle_align): New function.
24 (riscv_frag_align_code): Likewise.
25 (riscv_make_nops): Likewise.
26 * config/tc-riscv.h (MAX_MEM_FOR_RS_ALIGN_CODE): Change to 7.
27 (HANDLE_ALIGN): Define.
28 (md_do_align): Define.
29 (riscv_handle_align): Declare.
30 (riscv_frag_align_code): Likewise.
32 2016-12-20 Andrew Waterman <andrew@sifive.com>
34 * config/tc-riscv.h (xlen): Delete.
35 * config/tc-riscv.c (xlen): Make static.
36 (abi_xlen): New variable.
37 (options): Replace OPTION_{M32,M64,MSOFT_FLOAT,MHARD_FLOAT,MRVC}
39 (md_longopts): Likewise.
40 (md_parse_option): Likewise.
41 (riscv_elf_final_processing): Likewise.
42 * doc/as.texinfo (Target RISC-V options): Likewise.
43 * doc/c-riscv.texi (OPTIONS): Likewise.
44 * config/tc-riscv.c (float_mode): Removed.
45 (float_abi): New type, specifies the floating-point ABI.
46 (riscv_set_abi): New function.
47 (riscv_add_subset): Only allow lower-case ISA names and require
48 them to start with "rv".
49 (riscv_after_parse_args): Likewise.
51 2016-12-20 Andrew Waterman <andrew@sifive.com>
52 Kuan-Lin Chen <kuanlinchentw@gmail.com>
54 * config/tc-riscv.c (riscv_set_options): Add relax.
55 (riscv_opts): Likewise.
56 (s_riscv_option): Add relax and norelax.
57 (riscv_apply_const_reloc): New function.
58 (append_insn): Move constant relocation handling to
59 riscv_apply_const_reloc.
60 (md_pcrel_from): Likewise.
61 (parse_relocation): Skip BFD_RELOC_UNUSED.
62 (md_pcrel_from): Handle BFD_RELOC_RISCV_SUB6,
63 BFD_RELOC_RISCV_RELAX, BFD_RELOC_RISCV_CFA.
64 (md_apply_fix): Likewise.
65 (riscv_pre_output_hook): New function.
66 * config/tc-riscv.h (md_pre_output_hook): Define.
67 (riscv_pre_output_hook): Declare.
68 (DWARF_CIE_DATA_ALIGNMENT): Always -4.
70 2016-12-20 Andrew Waterman <andrew@sifive.com>
72 * config/tc-riscv.c: Formatting and comment fixes throughout.
74 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
76 * config/tc-mips.c (md_convert_frag): Report an error instead of
78 * testsuite/gas/mips/mips16-branch-unextended-1.d: New test.
79 * testsuite/gas/mips/mips16-branch-unextended-2.d: New test.
80 * testsuite/gas/mips/mips16-branch-unextended-1.s: New test
82 * testsuite/gas/mips/mips16-branch-unextended-2.s: New test.
83 * testsuite/gas/mips/mips16-branch-unextended.l: New stderr
85 * testsuite/gas/mips/mips.exp: Run the new tests.
87 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
89 * testsuite/gas/mips/mips16-sprel-swap.d: New test.
90 * testsuite/gas/mips/mips16-sprel-swap.s: New test source.
91 * testsuite/gas/mips/mips.exp: Run the new test.
93 2016-12-13 Renlin Li <renlin.li@arm.com>
95 * config/tc-aarch64.c (AARCH64_REG_TYPES): Remove CN register.
96 (get_reg_expected_msg): Remove CN register case.
97 (parse_operands): rewrite parser for CRn, CRm operand.
98 (reg_names): Remove CN register.
99 * testsuite/gas/aarch64/diagnostic.s: Add a new test case.
100 * testsuite/gas/aarch64/diagnostic.l: Adjust error message.
102 2016-12-13 Jiong Wang <jiong.wang@arm.com>
104 * gas/testsuite/gas/aarch64/addsub.d: Support ILP32 mode.
105 * gas/testsuite/gas/aarch64/advsimd-across.d: Likewise.
106 * gas/testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise.
107 * gas/testsuite/gas/aarch64/advsimd-fp16.d: Likewise.
108 * gas/testsuite/gas/aarch64/advsimd-misc.d: Likewise.
109 * gas/testsuite/gas/aarch64/advsisd-copy.d: Likewise.
110 * gas/testsuite/gas/aarch64/advsisd-misc.d: Likewise.
111 * gas/testsuite/gas/aarch64/alias.d: Likewise.
112 * gas/testsuite/gas/aarch64/armv8-ras-1.d: Likewise.
113 * gas/testsuite/gas/aarch64/b_1.d: Likewise.
114 * gas/testsuite/gas/aarch64/beq_1.d: Likewise.
115 * gas/testsuite/gas/aarch64/bitfield-dump: Likewise.
116 * gas/testsuite/gas/aarch64/bitfield-no-aliases.d: Likewise.
117 * gas/testsuite/gas/aarch64/codealign.d: Likewise.
118 * gas/testsuite/gas/aarch64/codealign_1.d: Likewise.
119 * gas/testsuite/gas/aarch64/crc32-directive.d: Likewise.
120 * gas/testsuite/gas/aarch64/crc32.d: Likewise.
121 * gas/testsuite/gas/aarch64/crypto-directive.d: Likewise.
122 * gas/testsuite/gas/aarch64/crypto.d: Likewise.
123 * gas/testsuite/gas/aarch64/dwarf.d: Likewise.
124 * gas/testsuite/gas/aarch64/float-fp16.d: Likewise.
125 * gas/testsuite/gas/aarch64/floatdp2.d: Likewise.
126 * gas/testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
127 * gas/testsuite/gas/aarch64/fp-const0-parse.d: Likewise.
128 * gas/testsuite/gas/aarch64/fp_cvt_int.d: Likewise.
129 * gas/testsuite/gas/aarch64/fpmov.d: Likewise.
130 * gas/testsuite/gas/aarch64/inst-directive.d: Likewise.
131 * gas/testsuite/gas/aarch64/ldr_1.d: Likewise.
132 * gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
133 * gas/testsuite/gas/aarch64/ldst-exclusive.d: Likewise.
134 * gas/testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
135 * gas/testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
136 * gas/testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
137 * gas/testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
138 * gas/testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
139 * gas/testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
140 * gas/testsuite/gas/aarch64/lor-directive.d: Likewise.
141 * gas/testsuite/gas/aarch64/lor.d: Likewise.
142 * gas/testsuite/gas/aarch64/lse-atomic.d: Likewise.
143 * gas/testsuite/gas/aarch64/mapmisc.d: Likewise.
144 * gas/testsuite/gas/aarch64/mov-no-aliases.d: Likewise.
145 * gas/testsuite/gas/aarch64/mov.d: Likewise.
146 * gas/testsuite/gas/aarch64/movi.d: Likewise.
147 * gas/testsuite/gas/aarch64/movw_label.d: Likewise.
148 * gas/testsuite/gas/aarch64/msr.d: Likewise.
149 * gas/testsuite/gas/aarch64/neon-fp-cvt-int.d: Likewise.
150 * gas/testsuite/gas/aarch64/neon-frint.d: Likewise.
151 * gas/testsuite/gas/aarch64/neon-ins.d: Likewise.
152 * gas/testsuite/gas/aarch64/neon-not.d: Likewise.
153 * gas/testsuite/gas/aarch64/neon-vfp-reglist-post.d: Likewise.
154 * gas/testsuite/gas/aarch64/neon-vfp-reglist.d: Likewise.
155 * gas/testsuite/gas/aarch64/no-aliases.d: Likewise.
156 * gas/testsuite/gas/aarch64/optional.d: Likewise.
157 * gas/testsuite/gas/aarch64/pac.d: Likewise.
158 * gas/testsuite/gas/aarch64/pan-directive.d: Likewise.
159 * gas/testsuite/gas/aarch64/pan.d: Likewise.
160 * gas/testsuite/gas/aarch64/rdma-directive.d: Likewise.
161 * gas/testsuite/gas/aarch64/rdma.d: Likewise.
162 * gas/testsuite/gas/aarch64/reloc-dtprel_g0.d: Likewise.
163 * gas/testsuite/gas/aarch64/reloc-dtprel_g0_nc.d: Likewise.
164 * gas/testsuite/gas/aarch64/reloc-dtprel_g1.d: Likewise.
165 * gas/testsuite/gas/aarch64/reloc-dtprel_hi12.d: Likewise.
166 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-1.d: Likewise.
167 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc.d: Likewise.
168 * gas/testsuite/gas/aarch64/reloc-tlsldm-1.d: Likewise.
169 * gas/testsuite/gas/aarch64/reloc-tlsldm-page-1.d: Likewise.
170 * gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.d: Likewise.
171 * gas/testsuite/gas/aarch64/shifted.d: Likewise.
172 * gas/testsuite/gas/aarch64/sve.d: Likewise.
173 * gas/testsuite/gas/aarch64/symbol.d: Likewise.
174 * gas/testsuite/gas/aarch64/sysreg-1.d: Likewise.
175 * gas/testsuite/gas/aarch64/sysreg-2.d: Likewise.
176 * gas/testsuite/gas/aarch64/sysreg-3.d: Likewise.
177 * gas/testsuite/gas/aarch64/sysreg.d: Likewise.
178 * gas/testsuite/gas/aarch64/system-2.d: Likewise.
179 * gas/testsuite/gas/aarch64/system-3.d: Likewise.
180 * gas/testsuite/gas/aarch64/system.d: Likewise.
181 * gas/testsuite/gas/aarch64/tbz_1.d: Likewise.
182 * gas/testsuite/gas/aarch64/tlbi_op.d: Likewise.
183 * gas/testsuite/gas/aarch64/tls.d: Likewise.
184 * gas/testsuite/gas/aarch64/uao-directive.d: Likewise.
185 * gas/testsuite/gas/aarch64/uao.d: Likewise.
186 * gas/testsuite/gas/aarch64/virthostext-directive.d: Likewise.
187 * gas/testsuite/gas/aarch64/virthostext.d: Likewise.
188 * gas/testsuite/gas/aarch64/adr_1.d: Restrict test under -mabi=lp64.
189 * gas/testsuite/gas/aarch64/int-insns.d: Likewise.
190 * gas/testsuite/gas/aarch64/programmer-friendly.d: Likewise.
191 * gas/testsuite/gas/aarch64/reloc-data.d: Likewise.
192 * gas/testsuite/gas/aarch64/reloc-dtprel_g1_nc.d: Likewise.
193 * gas/testsuite/gas/aarch64/reloc-dtprel_g2.d: Likewise.
194 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst16.d: Likewise.
195 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst32.d: Likewise.
196 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst64.d: Likewise.
197 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst8.d: Likewise.
198 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst16.d: Likewise.
199 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst32.d: Likewise.
200 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst64.d: Likewise.
201 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst8.d: Likewise.
202 * gas/testsuite/gas/aarch64/reloc-gotoff_g0_nc.d: Likewise.
203 * gas/testsuite/gas/aarch64/reloc-gotoff_g1.d: Likewise.
204 * gas/testsuite/gas/aarch64/reloc-gottprel_g0_nc.d: Likewise.
205 * gas/testsuite/gas/aarch64/reloc-gottprel_g1.d: Likewise.
206 * gas/testsuite/gas/aarch64/reloc-insn.d: Likewise.
207 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g0_nc.d: Likewise.
208 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g1.d: Likewise.
209 * gas/testsuite/gas/aarch64/reloc-tlsgd_g0_nc.d: Likewise.
210 * gas/testsuite/gas/aarch64/reloc-tlsgd_g1.d: Likewise.
211 * gas/testsuite/gas/aarch64/tail_padding.d: Likewise.
212 * gas/testsuite/gas/aarch64/tls-desc.d: Likewise.
214 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
216 * config/tc-mips.c (mips16_macro_build) <'>'>: Remove case.
218 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
220 * testsuite/gas/mips/mips16-extend.d: New test.
221 * testsuite/gas/mips/mips16-extend.s: New test source.
222 * testsuite/gas/mips/mips.exp: Run the new test.
224 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
226 * config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local
227 variable to `space_buf'.
229 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
231 * config/tc-arm.c (encode_arm_shift): Rename `index' local
232 variable to `op_index'.
234 2016-12-08 Alan Modra <amodra@gmail.com>
236 * configure: Regenerate.
238 2016-12-07 Maciej W. Rozycki <macro@imgtec.com>
240 * config/tc-mips.c (is_opcode_valid): Use local `isa'
243 2016-12-06 Nick Clifton <nickc@redhat.com>
246 * read.c (s_space): Place an upper limit on the number of spaces
250 * testsuite/gas/mmix/err-byte1.s: Adjust expected warning messages
251 to account for patch to next_char_of_string.
253 2016-12-05 Nick Clifton <nickc@redhat.com>
256 * read.c (next_char_of_string): Do end advance past the end of the
260 * as.h (SKIP_ALL_WHITESPACE): New macro.
261 * expr.c (operand): Use it.
263 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
265 * config/tc-arm.c (do_vcmla, do_vcadd): Define.
266 (neon_scalar_for_vcmla): Define.
267 (enum operand_parse_code): Add OP_IROT1 and OP_IROT2.
268 (NEON_ENC_TAB): Add DDSI and QQSI variants.
269 (insns): Add vcmla and vcadd.
270 * testsuite/gas/arm/armv8_3-a-simd.d: New.
271 * testsuite/gas/arm/armv8_3-a-simd.s: New.
272 * testsuite/gas/arm/armv8_3-a-simd-bad.d: New.
273 * testsuite/gas/arm/armv8_3-a-simd-bad.l: New.
274 * testsuite/gas/arm/armv8_3-a-simd-bad.s: New.
276 2016-12-05 Claudiu Zissulescu <claziss@synopsys.com>
278 * testsuite/gas/arc/textauxregister-1.d: New file.
279 * testsuite/gas/arc/textauxregister-1.s: Likewise.
280 * testsuite/gas/arc/textcondcode-err.s: Likewise.
281 * testsuite/gas/arc/textcoreregister-err.s: Likewise.
282 * config/tc-arc.c (tokenize_extregister): Return bfd_boolean,
283 don't check second argument of extension auxiliary register for
285 (arc_extcorereg): Consider the return of tokenize_extregister
288 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
290 * config/tc-arm.c (arm_ext_v8_3, do_vjcvt): Define.
292 * testsuite/gas/aarch64/armv8_3-a-fp.s: New.
293 * testsuite/gas/aarch64/armv8_3-a-fp.d: New.
294 * testsuite/gas/aarch64/armv8_3-a-fp-bad.s: New.
295 * testsuite/gas/aarch64/armv8_3-a-fp-bad.d: New.
296 * testsuite/gas/aarch64/armv8_3-a-fp-bad.l: New.
298 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
300 * config/tc-arm.c (arm_archs): Add "armv8.3-a".
301 * doc/c-arm.texi (-march): Add "armv8.3-a".
303 2016-12-02 Claudiu Zissulescu <claziss@synopsys.com>
305 * testsuite/gas/arc/cpu-em-err.s: New file.
306 * testsuite/gas/arc/cpu-em4-err.s: Likewise.
307 * testsuite/gas/arc/cpu-fpuda-err.s: Likewise.
308 * testsuite/gas/arc/cpu-hs-err.s: Likewise.
309 * testsuite/gas/arc/cpu-quarkse-err.s: Likewise.
310 * testsuite/gas/arc/noargs_a7.s: Add .cpu.
311 * config/tc-arc.c (ARC_CPU_TYPE_A6xx): Define.
312 (ARC_CPU_TYPE_A7xx): Likewise.
313 (ARC_CPU_TYPE_AV2EM): Likewise.
314 (ARC_CPU_TYPE_AV2HS): Likewise.
315 (cpu_types): Update list of known CPU names.
316 (arc_show_cpu_list): New function.
317 (md_show_usage): Print accepted CPU names.
318 (cl_features): New variable.
319 (arc_select_cpu): Use cl_features.
320 (arc_option): Allow various .cpu names.
321 (md_parse_option): Set cl_features.
322 * doc/c-arc.texi: Update -mcpu and .cpu documentation.
324 2016-12-02 Josh Conner <joshconner@google.com>
326 * configure.tgt: Add support for fuchsia (OS).
328 2016-12-01 Nick Clifton <nickc@redhat.com>
331 * app.c (do_scrub_chars): Do not attempt to unget EOF.
334 * subsegs.c (subsegs_print_statistics): Do nothing if no output
338 * symbols.c (resolve_symbol_value): Gracefully handle erroneous
339 symbolic expressions.
341 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
343 * config/tc-arc.c (find_opcode_match): New function argument
345 (assemble_tokens): Collect and report the eventual error message
346 found during opcode matching process.
347 * testsuite/gas/arc/lpcount-err.s: New file.
348 * testsuite/gas/arc/add_s-err.s: Update error message.
350 2016-11-28 Ramiro Polla <ramiro@hex-rays.com>
351 Amit Pawar <amit.pawar@amd.com>
354 * testsuite/gas/i386/xop32reg.d: New file.
355 * testsuite/gas/i386/xop32reg.s: New file.
356 * testsuite/gas/i386/i386.exp: Run new test.
358 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
360 * arparse.y: Fix spelling in comments.
362 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
364 * config/bfin-lex.l: Fix spelling in comments.
366 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
368 * testsuite/gas/all/gas.exp: Fix spelling in comments.
369 * testsuite/gas/cris/cris.exp: Fix spelling in comments.
370 * testsuite/gas/hppa/basic/basic.exp: Fix spelling in comments.
371 * testsuite/gas/hppa/parse/parse.exp: Fix spelling in comments.
372 * testsuite/gas/hppa/reloc/reloc.exp: Fix spelling in comments.
373 * testsuite/gas/sh/arch/arch.exp: Fix spelling in comments.
374 * testsuite/gas/tic4x/tic4x.exp: Fix spelling in comments.
376 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
378 * testsuite/gas/arm/local_function.d: Fix spelling in comments.
379 * testsuite/gas/arm/req.s: Fix spelling in comments.
380 * testsuite/gas/arm/vfp1.s: Fix spelling in comments.
381 * testsuite/gas/arm/vfp1_t2.s: Fix spelling in comments.
382 * testsuite/gas/arm/vfp1xD.s: Fix spelling in comments.
383 * testsuite/gas/arm/vfp1xD_t2.s: Fix spelling in comments.
384 * testsuite/gas/mcore/allinsn.s: Fix spelling in comments.
385 * testsuite/gas/mips/24k-triple-stores-5.s: Fix spelling in comments.
386 * testsuite/gas/mips/delay.d: Fix spelling in comments.
387 * testsuite/gas/mips/nodelay.d: Fix spelling in comments.
388 * testsuite/gas/mips/r5900-full.s: Fix spelling in comments.
389 * testsuite/gas/mips/r5900.s: Fix spelling in comments.
391 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
393 * as.h: Fix spelling in comments.
394 * config/obj-ecoff.c: Fix spelling in comments.
395 * config/obj-macho.c: Fix spelling in comments.
396 * config/tc-aarch64.c: Fix spelling in comments.
397 * config/tc-arc.c: Fix spelling in comments.
398 * config/tc-arm.c: Fix spelling in comments.
399 * config/tc-avr.c: Fix spelling in comments.
400 * config/tc-cr16.c: Fix spelling in comments.
401 * config/tc-epiphany.c: Fix spelling in comments.
402 * config/tc-frv.c: Fix spelling in comments.
403 * config/tc-hppa.c: Fix spelling in comments.
404 * config/tc-hppa.h: Fix spelling in comments.
405 * config/tc-i370.c: Fix spelling in comments.
406 * config/tc-m68hc11.c: Fix spelling in comments.
407 * config/tc-m68k.c: Fix spelling in comments.
408 * config/tc-mcore.c: Fix spelling in comments.
409 * config/tc-mep.c: Fix spelling in comments.
410 * config/tc-metag.c: Fix spelling in comments.
411 * config/tc-mips.c: Fix spelling in comments.
412 * config/tc-mn10200.c: Fix spelling in comments.
413 * config/tc-mn10300.c: Fix spelling in comments.
414 * config/tc-nds32.c: Fix spelling in comments.
415 * config/tc-nios2.c: Fix spelling in comments.
416 * config/tc-ns32k.c: Fix spelling in comments.
417 * config/tc-pdp11.c: Fix spelling in comments.
418 * config/tc-ppc.c: Fix spelling in comments.
419 * config/tc-riscv.c: Fix spelling in comments.
420 * config/tc-rx.c: Fix spelling in comments.
421 * config/tc-score.c: Fix spelling in comments.
422 * config/tc-score7.c: Fix spelling in comments.
423 * config/tc-sparc.c: Fix spelling in comments.
424 * config/tc-tic54x.c: Fix spelling in comments.
425 * config/tc-vax.c: Fix spelling in comments.
426 * config/tc-xgate.h: Fix spelling in comments.
427 * config/tc-xtensa.c: Fix spelling in comments.
428 * config/tc-z80.c: Fix spelling in comments.
429 * dwarf2dbg.c: Fix spelling in comments.
430 * input-file.h: Fix spelling in comments.
431 * itbl-ops.c: Fix spelling in comments.
432 * read.c: Fix spelling in comments.
433 * stabs.c: Fix spelling in comments.
434 * symbols.c: Fix spelling in comments.
435 * write.c: Fix spelling in comments.
436 * testsuite/gas/all/itbl-test.c: Fix spelling in comments.
437 * testsuite/gas/tic4x/opclasses.h: Fix spelling in comments.
439 2016-11-25 Jose E. Marchesi <jose.marchesi@oracle.com>
441 * config/tc-sparc.c (sparc_ip): Avoid emitting a cbcond error
442 messages for non-cbcond instructions.
443 * testsuite/gas/sparc/cbcond-diag.s: New file.
444 * testsuite/gas/sparc/cbcond-diag.l: Likewise.
445 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run cbcond-diag tests.
447 2016-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
449 * testsuite/gas/sparc/sparc.exp (gas_64_check): Make sure the
450 hwcaps-bump test is run with 64-bit objects.
452 2016-11-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
454 * config/tc-riscv.c: Add missing break.
456 2016-11-23 Alan Modra <amodra@gmail.com>
458 * po/POTFILES.in: Regenerate.
460 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
462 * configure: Regenerate.
464 2016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
466 * config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
468 (sparc_arch): Clarify the new role of the hwcap_allowed and
469 hwcap2_allowed fields.
470 (sparc_arch_table): Remove HWS_* and HWS2_* instances from
471 hwcap_allowed and hwcap2_allowed respectively.
472 (md_parse_option): Include the opcode arch hwcaps when processing
474 (sparc_ip): Use the current opcode arch hwcaps to update
475 hwcap_allowed, as well as the hwcaps of the instruction triggering
477 * testsuite/gas/sparc/hwcaps-bump.s: New file.
478 * testsuite/gas/sparc/hwcaps-bump.l: Likewise.
479 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
482 2016-11-22 Claudiu Zissulescu <claziss@synopsys.com>
484 * testsuite/gas/arc/b.d: Update test result.
486 2016-11-22 Alan Modra <amodra@gmail.com>
489 * config/tc-ppc.c: Delete VLE insn defines.
490 (md_assemble): Swap use_a_reloc and use_d_reloc.
491 * testsuite/gas/ppc/vle-reloc.d: Update.
493 2016-11-21 Renlin Li <renlin.li@arm.com>
496 * config/tc-arm.c (encode_arm_shift): Don't assert for operands not
498 * testsuite/gas/arm/add-shift-two.d: New.
499 * testsuite/gas/arm/add-shift-two.s: New.
501 2016-11-21 Alan Modra <amodra@gmail.com>
503 * configure.ac: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
504 * Makefile.am (comparison): Rewrite using do_compare.
505 * configure: Regenerate.
506 * Makefile.in: Regenerate.
507 * doc/Makefile.in: Regenerate.
509 2016-11-18 Claudiu Zissulescu <claziss@synopsys.com>
511 * testsuite/gas/arc/cl-warn.s: New file.
512 * testsuite/gas/arc/cpu-pseudop-1.d: Likewise.
513 * testsuite/gas/arc/cpu-pseudop-1.s: Likewise.
514 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
515 * testsuite/gas/arc/cpu-pseudop-2.s: Likewise.
516 * testsuite/gas/arc/cpu-warn2.s: Likewise.
517 * config/tc-arc.c (selected_cpu): Initialize.
518 (feature_type): New struct.
519 (feature_list): New variable.
520 (arc_check_feature): New function.
521 (arc_select_cpu): Check for .cpu duplicates. Don't overwrite the
522 current cpu features. Check if a feature is available for a given
524 (md_parse_option): Test if features are available for a given cpu.
526 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
528 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
529 * testsuite/gas/aarch64/advsimd-armv8_3.d: New.
530 * testsuite/gas/aarch64/advsimd-armv8_3.s: New.
531 * testsuite/gas/aarch64/illegal-fcmla.s: New.
532 * testsuite/gas/aarch64/illegal-fcmla.l: New.
533 * testsuite/gas/aarch64/illegal-fcmla.d: New.
535 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
537 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
538 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
539 * testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
540 * testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
541 * testsuite/gas/aarch64/illegal-ldapr.l: Likewise.
543 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
545 * testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
546 * testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
547 * testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
548 * testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
549 * testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
550 * testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
551 * testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
552 * testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.
554 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
556 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
557 (fix_insn): Likewise.
558 (warn_unpredictable_ldst): Handle ldst_imm10.
559 * testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
560 * testsuite/gas/aarch64/pac.d: Likewise.
561 * testsuite/gas/aarch64/illegal-ldraa.s: New.
562 * testsuite/gas/aarch64/illegal-ldraa.l: New.
563 * testsuite/gas/aarch64/illegal-ldraa.d: New.
565 2016-11-15 Nick Clifton <nickc@redhat.com>
568 * config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in
569 the .eh_frame section.
571 2016-11-13 Anthony Green <green@moxielogic.org>
573 * config/tc-moxie.c (md_assemble): Assemble 'bad' opcode.
575 2016-11-11 Nick Clifton <nickc@redhat.com>
578 * expr.c (integer_constant): If tc_allow_L_suffix is defined and
579 non-zero then accept a L or LL suffix.
580 * testsuite/gas/sparc/pr20732.d: New test source file.
581 * testsuite/gas/sparc/pr20732.d: New test output file.
582 * testsuite/gas/sparc/sparc.exp: Run new test.
584 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
586 * testsuite/gas/aarch64/pac.s: Add ARMv8.3 branch instruction tests.
587 * testsuite/gas/aarch64/pac.d: Likewise.
589 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
591 * config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
592 (parse_operands): Likewise.
593 * testsuite/gas/aarch64/pac.s: Add pacga.
594 * testsuite/gas/aarch64/pac.d: Add pacga.
596 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
598 * testsuite/gas/aarch64/pac.s: New.
599 * testsuite/gas/aarch64/pac.d: New.
601 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
603 * testsuite/gas/aarch64/sysreg-3.s: New.
604 * testsuite/gas/aarch64/sysreg-3.d: New.
605 * testsuite/gas/aarch64/illegal-sysreg-3.l: New.
606 * testsuite/gas/aarch64/illegal-sysreg-3.d: New.
608 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
610 * testsuite/gas/aarch64/system-3.s: New.
611 * testsuite/gas/aarch64/system-3.d: New.
612 * testsuite/gas/aarch64/system.d: Update expected output.
614 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
616 * config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
617 * doc/c-aarch64.texi (-march): Likewise.
619 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
621 * config/tc-aarch64.c (aarch64_features): Fix "simd" and "crypto".
622 * testsuite/gas/aarch64/illegal-crypto-nofp.d: New.
623 * testsuite/gas/aarch64/illegal-crypto-nofp.l: New.
624 * testsuite/gas/aarch64/illegal-fp16-nofp.d: New.
625 * testsuite/gas/aarch64/illegal-fp16-nofp.l: New.
626 * testsuite/gas/aarch64/illegal-fp16-nofp.s: New.
628 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
631 * testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
632 * testsuite/gas/i386/opcode-intel.d: Updated.
633 * testsuite/gas/i386/opcode-suffix.d: Likewise.
634 * testsuite/gas/i386/opcode.d: Likewise.
635 * testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
637 * testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
638 * testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.
640 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
643 * testsuite/gas/i386/opcode-suffix.d: Updated.
645 2016-11-07 H.J. Lu <hongjiu.lu@intel.com>
648 * testsuite/gas/i386/i386.exp: Run fpu-bad.
649 * testsuite/gas/i386/fpu-bad.d: New file.
650 * testsuite/gas/i386/fpu-bad.s: Likewise.
652 2016-11-04 Nathan Sidwell <nathan@acm.org>
655 * input-scrub.c (partial_size): Make size_t.
656 (buffer_length): Likewise. Adjust meaning.
657 (struct input_save): Adjust partial_size type.
658 (input_scrub_reinit): New.
659 (input_scrub_push, input_scrub_begin): Use it.
660 (input_scrub_next_buffer): Fix buffer extension logic. Only scan
661 newly read buffer for newline.
663 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
665 * config/tc-arc.c (find_opcode_match): Use insert function to
666 validate matching address type operands.
667 * testsuite/gas/arc/nps400-10.d: New file.
668 * testsuite/gas/arc/nps400-10.s: New file.
670 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
672 * config/tc-arm.c (cortex-m33): Declare new processor.
673 * doc/c-arm.texi (-mcpu ARM command line option): Document new
674 Cortex-M33 processor.
675 * NEWS: Mention ARM Cortex-M33 support.
677 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
679 * config/tc-arm.c (cortex-m23): Declare new processor.
680 * doc/c-arm.texi (-mcpu ARM command line option): Document new
681 Cortex-M23 processor.
682 * NEWS: Mention ARM Cortex-M23 support.
684 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
685 Andrew Waterman <andrew@sifive.com>
687 * Makefile.am (CPU_DOCS): Add c-riscv.texi.
688 * Makefile.in: Regenerate.
689 * doc/all.texi: Set RISCV.
690 * doc/as.texinfo: Add RISCV options.
691 Add RISC-V-Dependent node.
692 Include c-riscv.texi.
693 * doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
695 2016-11-03 Graham Markall <graham.markall@embecosm.com>
697 * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm
698 operands are out of the range of an s9, in order to fix the test.
699 * testsuite/gas/arc/nps400-6.d: Updated to match new expected output.
701 2016-11-03 Graham Markall <graham.markall@embecosm.com>
703 * testsuite/gas/arc/nps-400-9.d: Added.
704 * testsuite/gas/arc/nps-400-9.s: Added.
706 2016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
708 * config/tc-arc.c (struct arc_insn): Change type of insn field.
709 (md_number_to_chars_midend): Support 6- and 8-byte values.
710 (emit_insn0): Update debug output.
711 (find_opcode_match): Likewise.
712 (build_fake_opcode_hash_entry): Delete.
713 (find_special_case_long_opcode): Delete.
714 (find_special_case): Remove long format special case handling.
715 (insert_operand): Change instruction type and update debug print
717 (assemble_insn): Change instruction type, update debug print
718 formats, and remove unneeded assert.
720 2016-11-03 Graham Markall <graham.markall@embecosm.com>
722 * config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
725 2016-11-03 Graham Markall <graham.markall@embecosm.com>
727 * config/tc-arc.c (struct arc_insn): Replace short_insn flag with
729 (apply_fixups): Update to use len field.
730 (emit_insn0): Simplify code, making use of len field.
731 (md_convert_frag): Update to use len field.
732 (assemble_insn): Update to use len field.
734 2016-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
736 * config/tc-aarch64.c (aarch64_cpus): Add falkor.
737 * config/tc-arm.c (arm_cpus): Likewise.
738 * doc/c-aarch64.texi: Likewise.
739 * doc/c-arm.texi: Likewise.
741 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
744 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
745 * testsuite/gas/i386/opcode-intel.d: Updated.
746 * testsuite/gas/i386/opcode.d: Likewise.
748 2016-11-02 Jiong Wang <jiong.wang@arm.com>
750 * config/tc-arm.c (SBIT_SHIFT): New.
751 (T2_SBIT_SHIFT): Likewise.
752 (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
753 (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
755 * testsuite/gas/arm/archv6t2-bad.s: New error case.
756 * testsuite/gas/arm/archv6t2-bad.l: New error match.
757 * testsuite/gas/arm/archv6t2.s: New testcase.
758 * testsuite/gas/arm/archv6t2.d: New expected result.
759 * testsuite/gas/arm/archv8m.s: New testcase.
760 * testsuite/gas/arm/archv8m-base.d: New expected result.
761 * testsuite/gas/arm/archv8m-main.d: Likewise.
762 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
764 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
766 * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
767 (cpu_noarch): Add noavx512_4vnniw.
768 * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
769 * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
770 * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
771 * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
772 * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
773 * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
774 * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
775 * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
776 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
777 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
778 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
779 * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
780 * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
781 * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
783 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
785 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
786 (cpu_noarch): Add noavx512_4fmaps.
787 (process_operands): Handle implicit quad group.
788 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
789 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
790 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
791 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
792 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
793 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
794 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
795 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
796 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
797 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
798 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
799 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
800 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
801 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
802 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
803 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
804 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
805 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
806 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
807 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
808 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
809 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
811 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
812 Andrew Waterman <andrew@sifive.com>
814 Add support for RISC-V architecture.
815 * Makefile.am: Add riscv files.
816 * Makefile.in: Regenerate.
817 * NEWS: Mention the support for this architecture.
818 * configure.in: Define a default architecture.
819 * configure: Regenerate.
820 * configure.tgt: Add entries for riscv.
821 * doc/as.texinfo: Likewise.
822 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
823 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
824 * config/tc-riscv.c: New file.
825 * config/tc-riscv.h: New file.
826 * doc/c-riscv.texi: New file.
827 * testsuite/gas/riscv: New directory.
828 * testsuite/gas/riscv/riscv.exp: New file.
829 * testsuite/gas/riscv/t_insns.d: New file.
830 * testsuite/gas/riscv/t_insns.s: New file.
832 2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
834 * config/tc-arc.c (arc_target): Delete.
835 (arc_target_name): Delete.
836 (arc_features): Delete.
837 (arc_mach_type): Delete.
838 (mach_type_specified_p): Delete.
839 (enum mach_selection_type): New enum.
840 (mach_selection_mode): New static global.
841 (selected_cpu): New static global.
842 (arc_eflag): Rename to ...
843 (arc_initial_eflag): ...this, and make const.
844 (arc_select_cpu): Update comment, new parameter, check how
845 previous machine type selection was made, and record this
846 selection. Use selected_cpu instead of old globals.
847 (arc_option): Remove use of arc_get_mach, instead use
848 arc_select_cpu to validate machine type selection. Use
849 selected_cpu over old globals.
850 (allocate_tok): Use selected_cpu over old globals.
851 (find_opcode_match): Likewise.
852 (assemble_tokens): Likewise.
853 (arc_cons_fix_new): Likewise.
854 (arc_extinsn): Likewise.
855 (arc_extcorereg): Likewise.
856 (md_begin): Update default machine type selection, use
857 selected_cpu over old globals.
858 (md_parse_option): Update machine type selection option handling,
859 use selected_cpu over old globals.
860 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
862 2016-10-26 Alan Modra <amodra@gmail.com>
864 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
865 * config/rl78-parse.y: Do use old %name-prefix syntax.
866 * config/rx-parse.y: Likewise.
868 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
870 * config/tc-i386.c (cpu_arch): Remove .pcommit.
871 * doc/c-i386.texi: Likewise.
872 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
873 * testsuite/gas/i386/pcommit-intel.d: Removed.
874 * testsuite/gas/i386/pcommit.d: Likewise.
875 * testsuite/gas/i386/pcommit.s: Likewise.
876 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
877 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
878 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
880 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
883 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
884 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
885 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
887 2016-10-19 Renlin Li <renlin.li@arm.com>
889 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
890 for register-shifted register instructions.
891 * testsuite/gas/arm/shift-bad-pc.d: New.
892 * testsuite/gas/arm/shift-bad-pc.l: New.
893 * testsuite/gas/arm/shift-bad-pc.s: New.
895 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
897 * testsuite/arc/dis-inv.d: Fixed matching.
899 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
901 * testsuite/arc/dis-inv.s: Test to validate patch.
902 * testsuite/arc/dis-inv.d: Likewise.
904 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
906 * testsuite/gas/arc/shortlimm_a7.d: New file.
907 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
908 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
909 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
911 2016-10-11 Nick Clifton <nickc@redhat.com>
913 * gas/arm/tls.d: Adjust output to match change in objdump.
915 2016-10-11 Jiong Wang <jiong.wang@arm.com>
918 * testsuite/gas/aarch64/alias-2.d: Update expected results.
920 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
922 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
923 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
924 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
925 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
926 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
927 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
928 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
929 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
930 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
932 2016-10-08 Alan Modra <amodra@gmail.com>
934 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
935 config/rx-parse.y. Move config/bfin-parse.y.
936 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
937 ($(srcdir)/config/rl78-defs.h): New rule.
938 * Makefile.in: Regenerate.
940 2016-10-07 Jiong Wang <jiong.wang@arm.com>
943 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
945 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
947 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
949 * testsuite/gas/arc/leave_enter.d: New file.
950 * testsuite/gas/arc/leave_enter.s: Likewise.
951 * testsuite/gas/arc/regnames.d: Likewise.
952 * testsuite/gas/arc/regnames.s: Likewise.
953 * config/tc-arc.c (arc_parse_name): Don't match reg names against
954 confirmed symbol names.
956 2016-10-06 Alan Modra <amodra@gmail.com>
958 * app.c (do_scrub_chars): Move fall through comment.
959 * expr.c (operand): Likewise.
961 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
964 * dw2gencfi.c (dot_cfi_sections): Refine the check for
965 inconsistent .cfi_sections to only consider compact vs non
967 * testsuite/gas/cfi/cfi-common-9.d: New file.
968 * testsuite/gas/cfi/cfi-common-9.s: New file.
969 * testsuite/gas/cfi/cfi.exp: Run new test.
971 2016-10-06 Alan Modra <amodra@gmail.com>
973 * app.c: Add missing fall through comments.
974 * dw2gencfi.c: Likewise.
976 * config/tc-alpha.c: Likewise.
977 * config/tc-arc.c: Likewise.
978 * config/tc-arm.c: Likewise.
979 * config/tc-cr16.c: Likewise.
980 * config/tc-crx.c: Likewise.
981 * config/tc-dlx.c: Likewise.
982 * config/tc-h8300.c: Likewise.
983 * config/tc-hppa.c: Likewise.
984 * config/tc-i370.c: Likewise.
985 * config/tc-i386.c: Likewise.
986 * config/tc-i960.c: Likewise.
987 * config/tc-ia64.c: Likewise.
988 * config/tc-m68hc11.c: Likewise.
989 * config/tc-m68k.c: Likewise.
990 * config/tc-mep.c: Likewise.
991 * config/tc-metag.c: Likewise.
992 * config/tc-microblaze.c: Likewise.
993 * config/tc-mips.c: Likewise.
994 * config/tc-ns32k.c: Likewise.
995 * config/tc-rx.c: Likewise.
996 * config/tc-score.c: Likewise.
997 * config/tc-score7.c: Likewise.
998 * config/tc-sh.c: Likewise.
999 * config/tc-tic4x.c: Likewise.
1000 * config/tc-vax.c: Likewise.
1001 * config/tc-xstormy16.c: Likewise.
1002 * config/tc-z80.c: Likewise.
1003 * config/tc-z8k.c: Likewise.
1004 * config/obj-elf.c: Likewise.
1005 * config/tc-i386.c: Likewise.
1006 * depend.c: Spell fall through comments consistently.
1007 * config/tc-arm.c: Likewise.
1008 * config/tc-d10v.c: Likewise.
1009 * config/tc-i960.c: Likewise.
1010 * config/tc-ia64.c: Likewise.
1011 * config/tc-m68k.c: Likewise.
1012 * config/tc-mcore.c: Likewise.
1013 * config/tc-mep.c: Likewise.
1014 * config/tc-ns32k.c: Likewise.
1015 * config/tc-visium.c: Likewise.
1016 * config/tc-xstormy16.c: Likewise.
1017 * config/tc-z8k.c: Likewise.
1019 2016-10-06 Alan Modra <amodra@gmail.com>
1021 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
1023 2016-10-06 Alan Modra <amodra@gmail.com>
1025 * config/tc-arc.c (find_opcode_match): Add missing break.
1026 * config/tc-i960.c (get_cdisp): Likewise.
1027 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
1028 * config/tc-mt.c (md_parse_option): Likewise.
1029 * config/tc-nds32.c (nds32_apply_fix): Likewise.
1030 * config/tc-hppa.c (pa_ip): Assert rather than testing last
1031 condition of multiple if statements.
1032 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
1033 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
1034 out of case rather than falling into next case. Formatting.
1036 2016-10-06 Alan Modra <amodra@gmail.com>
1038 * config/rl78-parse.y: Don't use deprecated %name-prefix.
1039 * config/rx-parse.y: Likewise.
1041 2016-09-29 Jiong Wang <jiong.wang@arm.com>
1044 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
1045 testcases for H and S variants. New low index testcases for D variant.
1046 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
1048 2016-09-29 Alan Modra <amodra@gmail.com>
1050 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
1051 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
1052 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
1054 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1056 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
1059 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
1061 * Makefile.in: Regenerate.
1062 * configure: Likewise.
1063 * doc/Makefile.in: Likewise.
1065 2016-09-26 Alan Modra <amodra@gmail.com>
1067 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
1068 (md_pseudo_table <ELF>): Handle "gnu_attribute".
1070 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1072 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
1073 register and redundant basepri_max.
1075 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1077 * config/tc-aarch64.c (print_operands): Print spaces between
1079 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
1081 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
1082 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
1083 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
1084 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
1085 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
1086 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
1087 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1088 * testsuite/gas/aarch64/sve.d: Likewise.
1089 * testsuite/gas/aarch64/symbol.d: Likewise.
1090 * testsuite/gas/aarch64/system.d: Likewise.
1091 * testsuite/gas/aarch64/tls-desc.d: Likewise.
1092 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
1093 in suggested alternatives.
1094 * testsuite/gas/aarch64/verbose-error.l: Likewise.
1096 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1098 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
1099 rather than "should be" or "expected to be" in error messages.
1100 (parse_operands): Likewise.
1101 * testsuite/gas/aarch64/diagnostic.l: Likewise.
1102 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
1103 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
1104 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
1106 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1108 * config/tc-aarch64.c (opcode_lookup): Search for the end of
1109 a condition name, rather than assuming that it will have exactly
1111 (parse_operands): Likewise.
1112 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
1113 to the expected output.
1114 * testsuite/gas/aarch64/beq_1.d: Likewise.
1115 * testsuite/gas/aarch64/float-fp16.d: Likewise.
1116 * testsuite/gas/aarch64/int-insns.d: Likewise.
1117 * testsuite/gas/aarch64/no-aliases.d: Likewise.
1118 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
1119 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1120 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
1123 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1125 * testsuite/gas/aarch64/diagnostic.s,
1126 testsuite/gas/aarch64/diagnostic.l: Add tests for
1127 invalid uses of MUL VL and MUL in base AArch64 instructions.
1128 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
1129 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
1130 testsuite/gas/aarch64/sve-invalid.s,
1131 testsuite/gas/aarch64/sve-invalid.d,
1132 testsuite/gas/aarch64/sve-invalid.l,
1133 testsuite/gas/aarch64/sve-reg-diagnostic.s,
1134 testsuite/gas/aarch64/sve-reg-diagnostic.d,
1135 testsuite/gas/aarch64/sve-reg-diagnostic.l,
1136 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
1138 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1140 * doc/c-aarch64.texi: Document the "sve" feature.
1141 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
1142 (get_reg_expected_msg): Handle it.
1143 (parse_operands): When parsing operands of an SVE instruction,
1144 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
1145 (aarch64_features): Add an entry for SVE.
1147 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1149 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
1150 and FP register operands.
1152 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1154 * config/tc-aarch64.c (double_precision_operand_p): New function.
1155 (parse_operands): Use it to calculate the dp_p input to
1156 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
1158 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1160 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
1163 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1165 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
1167 (parse_shift): Handle SHIFTED_MUL_VL.
1168 (parse_address_main): Add an imm_shift_mode parameter.
1169 (parse_address, parse_sve_address): Update accordingly.
1170 (parse_operands): Handle MUL VL addressing modes.
1172 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1174 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
1176 (get_reg_expected_msg): Handle them.
1177 (aarch64_addr_reg_parse): New function, split out from
1178 aarch64_reg_parse_32_64. Handle Z registers too.
1179 (aarch64_reg_parse_32_64): Call it.
1180 (parse_address_main): Add base_qualifier, offset_qualifier,
1181 base_type and offset_type parameters. Handle SVE base and offset
1183 (parse_address): Update call to parse_address_main.
1184 (parse_sve_address): New function.
1185 (parse_operands): Parse the new SVE address operands.
1187 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1189 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
1190 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
1191 shift modes. Skip range tests for AARCH64_MOD_MUL.
1192 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
1193 (parse_operands): Likewise.
1195 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1197 * config/tc-aarch64.c (parse_enum_string): New function.
1198 (po_enum_or_fail): New macro.
1199 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
1200 AARCH64_OPND_SVE_PRFOP.
1202 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1204 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
1205 (parse_vector_type_for_operand): Assert that the skipped character
1207 (parse_predication_for_operand): New function.
1208 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
1209 (vectype_to_qualifier): Handle NT_zero and NT_merge.
1211 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1213 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
1214 (AARCH64_REG_TYPES): Add ZN and PN.
1215 (get_reg_expected_msg): Handle them.
1216 (parse_vector_type_for_operand): Add a reg_type parameter.
1217 Skip the width for Zn and Pn registers.
1218 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
1219 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
1220 expecting the width to be 0.
1221 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
1223 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
1224 (parse_operands): Handle the new Zn and Pn operands.
1225 (REGSET16): New macro, split out from...
1226 (REGSET31): ...here.
1227 (reg_names): Add Zn and Pn entries.
1229 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1231 * config/tc-aarch64.c (output_operand_error_record): Handle
1232 AARCH64_OPDE_UNTIED_OPERAND.
1234 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1236 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
1237 instruction with all-NIL qualifiers to fail to match.
1239 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1241 * config/tc-aarch64.c (parse_address_main): Remove reloc and
1242 accept_reg_post_index parameters. Parse relocations and register
1243 post indexes unconditionally.
1244 (parse_address): Remove accept_reg_post_index parameter.
1245 Update call to parse_address_main.
1246 (parse_address_reloc): Delete.
1247 (parse_operands): Call parse_address instead of parse_address_main.
1248 Update existing callers of parse_address and make them check
1249 inst.reloc.type where appropriate.
1250 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
1251 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
1252 Also test for invalid uses of post-index register addressing.
1253 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1255 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1257 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
1259 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
1260 (aarch64_check_reg_type): Simplify.
1261 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
1262 register number. Return the type as a qualifier rather than an
1263 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
1265 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
1266 Use get_reg_expected_msg.
1267 (parse_address_main): Likewise. Use aarch64_check_reg_type.
1268 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
1269 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
1270 Use aarch64_check_reg_type to test the result.
1271 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
1272 addresses normally before enforcing the syntax restrictions.
1273 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
1274 zero register and for a stack pointer index.
1275 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1276 Also update existing diagnostic messages after the above changes.
1277 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
1278 for 32-bit register bases.
1280 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1282 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
1283 (parse_operands): Check the range of 8-bit FP immediates here instead.
1285 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1287 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
1288 low-severity error for registers.
1289 (parse_operands): Report an invalid floating point constant for
1290 if parsing an FPIMM8 fails, and if no better error has been
1292 * testsuite/gas/aarch64/diagnostic.s,
1293 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
1296 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1298 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
1300 (can_convert_double_to_float): ...this. Accept any double-precision
1301 value that converts to single precision without loss of precision.
1302 (parse_aarch64_imm_float): Update accordingly.
1304 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1306 * config/tc-aarch64.c (parse_immediate_expression): Add a
1308 (parse_constant_immediate): Likewise, and update calls.
1309 (parse_aarch64_imm_float): Likewise.
1310 (parse_big_immediate): Likewise.
1311 (po_imm_nc_or_fail): Update accordingly, passing down a new
1312 imm_reg_type variable.
1313 (po_imm_of_fail): Likewise.
1314 (parse_operands): Likewise.
1316 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1318 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
1319 (parse_vector_reg_list): ...this and take a register type
1321 (parse_operands): Update accordingly.
1323 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1325 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
1326 (parse_vector_type_for_operand): ...this.
1327 (parse_typed_reg): Update accordingly.
1329 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1331 * config/tc-aarch64.c (neon_type_el): Rename to...
1332 (vector_type_el): ...this.
1333 (parse_neon_type_for_operand): Update accordingly.
1334 (parse_typed_reg): Likewise.
1335 (aarch64_reg_parse): Likewise.
1336 (vectype_to_qualifier): Likewise.
1337 (parse_operands): Likewise.
1338 (eq_neon_type_el): Likewise. Rename to...
1339 (eq_vector_type_el): ...this.
1340 (parse_neon_reg_list): Update accordingly.
1342 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1344 * config/tc-aarch64.c (neon_el_type: Rename to...
1345 (vector_el_type): ...this.
1346 (neon_type_el): Update accordingly.
1347 (parse_neon_type_for_operand): Likewise.
1348 (vectype_to_qualifier): Likewise.
1350 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1352 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
1353 (parse_typed_reg): Call parse_neon_type_for_operand directly.
1355 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
1357 * testsuite/gas/arc/textinsnxop.d: New file.
1358 * testsuite/gas/arc/textinsnxop.s: Likewise.
1360 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
1362 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1363 dcti-couples-v9 only in ELF targets to avoid spurious failures in
1364 sparc-aout and sparc-coff targets.
1366 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
1368 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
1369 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
1370 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
1371 <copy, paste.>: Update tests.
1372 * testsuite/gas/ppc/power9.s: Likewise.
1374 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1376 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
1377 in "architecture mismatch" error messages.
1379 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1381 * config/tc-sparc.c (md_assemble): Detect and warning on
1382 unpredictable DCTI couples in certain arches.
1383 (dcti_couples_detect): New global.
1384 (md_longopts): Add command line option -dcti-couples-detect.
1385 (md_show_usage): Document -dcti-couples-detect.
1386 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
1387 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1388 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
1389 * testsuite/gas/sparc/dcti-couples.s: New file.
1390 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
1391 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
1392 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
1393 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
1394 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
1395 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
1396 * doc/c-sparc.texi (Sparc-Opts): Likewise.
1398 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
1400 * testsuite/gas/arc/tls-relocs2.d: New file.
1401 * testsuite/gas/arc/tls-relocs2.s: Likewise.
1402 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
1405 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1407 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
1409 * doc/as.texinfo: Document new arch strings.
1410 * doc/c-s390.texi: Likewise.
1412 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1414 * config/tc-s390.c: Set all facitily bits by default
1416 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
1418 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
1420 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
1422 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
1425 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
1427 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
1428 (set_cpu_arch): Updated.
1429 (md_parse_option): Likewise.
1430 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
1431 iamcu-inval-2 and iamcu-inval-3.
1432 * testsuite/gas/i386/iamcu-4.d: New file.
1433 * testsuite/gas/i386/iamcu-4.s: Likewise.
1434 * testsuite/gas/i386/iamcu-5.d: Likewise.
1435 * testsuite/gas/i386/iamcu-5.s: Likewise.
1436 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
1437 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
1438 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
1439 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
1441 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
1443 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
1444 ARMv8-A CPUs except xgene1.
1446 2016-08-31 Alan Modra <amodra@gmail.com>
1448 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
1449 ppc_cpu rather than calling ppc_mach to determine VLE mode.
1450 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
1452 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
1454 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
1456 * testsuite/gas/sparc/crypto.s: Likewise.
1458 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1460 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
1461 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
1462 their lowecase counterpart special registers. Write register
1464 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
1465 operation, special register and then case. Use different register for
1466 each operation. Add tests for new special registers.
1467 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
1469 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1470 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1472 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
1474 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
1476 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
1478 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1479 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1480 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1482 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
1484 * config/tc-i386.c (cpu_arch): Add .ptwrite.
1485 * doc/c-i386.texi: Document ptwrite and .ptwrite.
1486 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
1487 x86-64-ptwrite and x86-64-ptwrite-intel.
1488 * testsuite/gas/i386/ptwrite-intel.d: New file.
1489 * testsuite/gas/i386/ptwrite.d: Likewise.
1490 * testsuite/gas/i386/ptwrite.s: Likewise.
1491 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
1492 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
1493 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
1495 2016-08-19 Tamar Christina <tamar.christina@arm.com>
1497 * config/tc-arm.c (do_co_reg2c): Added constraint.
1498 * testsuite/gas/arm/dest-unpredictable.s: New.
1499 * testsuite/gas/arm/dest-unpredictable.l: New.
1500 * testsuite/gas/arm/dest-unpredictable.d: New.
1502 2016-08-19 Nick Clifton <nickc@redhat.com>
1504 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
1505 ordering of sections.
1506 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1507 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
1508 * testsuite/gas/ia64/alias.d: Likewise.
1509 * testsuite/gas/ia64/group-1.d: Likewise.
1510 * testsuite/gas/ia64/group-2.d: Likewise.
1511 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
1512 * testsuite/gas/ia64/secname.d: Likewise.
1513 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
1514 * testsuite/gas/ia64/unwind.d: Likewise.
1515 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
1516 * testsuite/gas/ia64/xdata.d: Likewise.
1517 * testsuite/gas/mmix/bspec-1.d: Likewise.
1518 * testsuite/gas/mmix/bspec-2.d: Likewise.
1519 * testsuite/gas/mmix/byte-1.d: Likewise.
1520 * testsuite/gas/mmix/loc-1.d: Likewise.
1521 * testsuite/gas/mmix/loc-2.d: Likewise.
1522 * testsuite/gas/mmix/loc-3.d: Likewise.
1523 * testsuite/gas/mmix/loc-4.d: Likewise.
1524 * testsuite/gas/mmix/loc-5.d: Likewise.
1525 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1527 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
1529 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
1530 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
1531 Add tests for -0.0. Add an end-of-file comment.
1533 2016-08-05 Nick Clifton <nickc@redhat.com>
1536 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
1537 registers are pushed.
1538 (do_vfp_nsyn_pop): Check that no more than 16 registers are
1540 * testsuite/gas/arm/pr20429.s: New test.
1541 * testsuite/gas/arm/pr20429.d: New test driver.
1542 * testsuite/gas/arm/pr20429.1: Expected error output.
1545 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
1547 (aarch64_init): Treat rs_align frags in code sections as
1548 containing code, not data.
1549 * testsuite/gas/aarch64/pr20364.s: New test.
1550 * testsuite/gas/aarch64/pr20364.d: New test driver.
1552 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
1555 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
1556 of 64-bit relocation types when assembling for a 32-bit Solaris
1559 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
1561 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
1563 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
1564 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
1565 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
1566 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
1568 (sparc_elf_setup): Delete.
1569 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
1572 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1574 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
1575 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
1576 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
1577 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
1578 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
1579 (get_append_method): Also return APPEND_ADD_COMPACT for
1580 microMIPS instructions.
1581 (find_altered_mips16_opcode): Exclude macros from matching.
1583 (find_altered_opcode): ... to this new function.
1584 (find_altered_micromips_opcode): New function.
1585 (frag_branch_delay_slot_size): Likewise.
1586 (append_insn): Handle microMIPS branch/jump compaction.
1587 (macro_start): Likewise.
1588 (relaxed_micromips_32bit_branch_length): Likewise.
1589 (md_convert_frag): Likewise.
1590 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
1591 for delay slot filling.
1592 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
1594 * testsuite/gas/mips/micromips-size-1.s: Likewise.
1595 * testsuite/gas/mips/micromips.l: Adjust line numbers.
1596 * testsuite/gas/mips/micromips-warn.l: Likewise.
1597 * testsuite/gas/mips/micromips-size-1.l: Likewise.
1598 * testsuite/gas/mips/micromips.d: Adjust padding.
1599 * testsuite/gas/mips/micromips-trap.d: Likewise.
1600 * testsuite/gas/mips/micromips-insn32.d: Likewise.
1601 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1602 * testsuite/gas/mips/micromips@beq.d: Update patterns for
1603 branch/jump compaction.
1604 * testsuite/gas/mips/micromips@bge.d: Likewise.
1605 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
1606 * testsuite/gas/mips/micromips@blt.d: Likewise.
1607 * testsuite/gas/mips/micromips@bltu.d: Likewise.
1608 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
1609 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
1610 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
1611 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
1612 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
1613 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1614 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1615 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
1617 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
1619 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
1620 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
1621 * testsuite/gas/mips/micromips@relax.d: Likewise.
1622 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
1623 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
1624 * testsuite/gas/mips/branch-extern-2.d: Likewise.
1625 * testsuite/gas/mips/branch-extern-4.d: Likewise.
1626 * testsuite/gas/mips/branch-section-2.d: Likewise.
1627 * testsuite/gas/mips/branch-section-4.d: Likewise.
1628 * testsuite/gas/mips/branch-weak-2.d: Likewise.
1629 * testsuite/gas/mips/branch-weak-5.d: Likewise.
1630 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
1631 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1632 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1633 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
1635 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1637 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1639 * testsuite/gas/mips/micromips-compact.d: New test.
1640 * testsuite/gas/mips/mips.exp: Run the new test.
1642 2016-07-27 Graham Markall <graham.markall@embecosm.com>
1644 * config/tc-arc.c: Add new global arc_addrtype_hash.
1645 Define O_colon and O_addrtype.
1646 (debug_exp): Add O_colon and O_addrtype.
1647 (tokenize_arguments): Handle colon and address type
1649 (declare_addrtype): New function.
1650 (md_begin): Initialise arc_addrtype_hash.
1651 (arc_parse_name): Add lookup of address types.
1652 (assemble_insn): Handle colons and address types by
1654 * testsuite/gas/arc/nps400-8.s: New file.
1655 * testsuite/gas/arc/nps400-8.d: New file.
1656 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
1657 * testsuite/gas/arc/nps400-8.d: Add expected PMU
1660 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1662 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
1663 (RELAX_MICROMIPS_INSN32): New macro.
1664 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1665 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
1666 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
1667 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
1668 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
1670 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
1672 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
1674 (md_convert_frag): Likewise.
1675 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
1677 * testsuite/gas/mips/micromips-branch-relax.l: Update line
1678 numbers accordingly.
1679 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
1680 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
1681 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
1683 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
1685 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
1687 * testsuite/gas/mips/mips.exp: Run the new tests.
1689 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1691 * configure: Regenerated.
1693 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
1695 * testsuite/gas/arc/dsp.d: New file.
1696 * testsuite/gas/arc/dsp.s: Likewise.
1697 * testsuite/gas/arc/fpu.d: Likewise.
1698 * testsuite/gas/arc/fpu.s: Likewise.
1699 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
1700 * testsuite/gas/arc/ext3op.d: Likewise.
1701 * testsuite/gas/arc/tdpfp.d: Likewise.
1702 * testsuite/gas/arc/tfpuda.d: Likewise.
1704 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
1706 * config/tc-mips.c (mips_force_relocation): Remove
1707 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
1709 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1711 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
1712 Adjust comments for BAL to JALX linker conversion.
1713 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
1714 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
1716 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
1717 * testsuite/gas/mips/branch-local-4.d: New test.
1718 * testsuite/gas/mips/branch-local-n32-4.d: New test.
1719 * testsuite/gas/mips/branch-local-n64-4.d: New test.
1720 * testsuite/gas/mips/branch-addend.d: New test.
1721 * testsuite/gas/mips/branch-addend-n32.d: New test.
1722 * testsuite/gas/mips/branch-addend-n64.d: New test.
1723 * testsuite/gas/mips/branch-local-4.s: New test source.
1724 * testsuite/gas/mips/branch-addend.s: New test source.
1725 * testsuite/gas/mips/mips.exp: Run the new tests.
1727 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1729 * config/tc-mips.c (mips_force_relocation): Also retain branch
1730 relocations against MIPS16 and microMIPS symbols.
1731 (fix_bad_cross_mode_jump_p): New function.
1732 (fix_bad_same_mode_jalx_p): Likewise.
1733 (fix_bad_misaligned_jump_p): Likewise.
1734 (fix_bad_cross_mode_branch_p): Likewise.
1735 (fix_bad_misaligned_branch_p): Likewise.
1736 (fix_validate_branch): Likewise.
1737 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
1738 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
1739 etc. Verify the ISA mode and alignment of the jump target.
1740 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
1741 with a call to `fix_validate_branch'.
1742 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
1743 <BFD_RELOC_16_PCREL_S2>: Likewise.
1744 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1745 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
1746 Verify the ISA mode and alignment of the branch target.
1747 (md_convert_frag): Verify the ISA mode and alignment of resolved
1748 MIPS16 branch targets.
1749 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
1750 branch targets with `.insn'.
1751 * testsuite/gas/mips/branch-misc-5.s: Likewise.
1752 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
1754 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1755 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
1756 non-instruction branch target with `.insn'.
1757 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
1758 with external symbols.
1759 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
1760 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1761 * testsuite/gas/mips/micromips-trap.d: Likewise.
1762 * testsuite/gas/mips/micromips.d: Likewise.
1763 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
1764 targets with `.insn'.
1765 * testsuite/gas/mips/mips16.d: Update accordingly.
1766 * testsuite/gas/mips/mips16-64.d: Likewise.
1767 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
1768 branch target with `.insn'.
1769 * testsuite/gas/mips/relax-swap3.s: Likewise.
1770 * testsuite/gas/mips/branch-local-2.l: New list test.
1771 * testsuite/gas/mips/branch-local-3.l: New list test.
1772 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
1773 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
1774 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
1775 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
1776 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
1777 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
1778 * testsuite/gas/mips/unaligned-jump-3.d: New test.
1779 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
1780 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
1781 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1782 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1784 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1786 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
1787 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
1788 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
1789 * testsuite/gas/mips/unaligned-branch-3.d: New test.
1790 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
1791 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
1792 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
1793 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
1794 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
1795 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
1796 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
1797 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
1798 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
1799 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
1801 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
1803 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
1804 * testsuite/gas/mips/branch-local-2.s: New test source.
1805 * testsuite/gas/mips/branch-local-3.s: New test source.
1806 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
1807 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
1808 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
1809 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1810 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1811 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1812 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1813 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1814 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1816 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1818 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1819 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1820 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1821 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1822 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1823 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1824 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1826 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1828 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1830 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1832 * testsuite/gas/mips/mips.exp: Run the new tests.
1834 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1836 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1838 (do_pseudo_b): Adjust.
1839 (do_pseudo_bal): Likewise.
1840 (do_pseudo_bge): Likewise.
1841 (do_pseudo_bges): Likewise.
1842 (do_pseudo_bgt): Likewise.
1843 (do_pseudo_bgts): Likewise.
1844 (do_pseudo_ble): Likewise.
1845 (do_pseudo_bles): Likewise.
1846 (do_pseudo_blt): Likewise.
1847 (do_pseudo_blts): Likewise.
1848 (do_pseudo_br): Likewise.
1849 (do_pseudo_bral): Likewise.
1850 (do_pseudo_la): Likewise.
1851 (do_pseudo_li): Likewise.
1852 (do_pseudo_ls_bhw): Likewise.
1853 (do_pseudo_ls_bhwp): Likewise.
1854 (do_pseudo_ls_bhwpc): Likewise.
1855 (do_pseudo_ls_bhwi): Likewise.
1856 (do_pseudo_move): Likewise.
1857 (do_pseudo_neg): Likewise.
1858 (do_pseudo_not): Likewise.
1859 (do_pseudo_pushpopm): Likewise.
1860 (do_pseudo_pushpop): Likewise.
1861 (do_pseudo_v3push): Likewise.
1862 (do_pseudo_v3pop): Likewise.
1863 (do_pseudo_pushpop_stack): Likewise.
1864 (do_pseudo_push_bhwd): Likewise.
1865 (do_pseudo_pop_bhwd): Likewise.
1866 (do_pseudo_pusha): Likewise.
1867 (do_pseudo_pushi): Likewise.
1869 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1871 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
1872 bfd_reloc_code_real_type.
1874 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1876 * config/tc-sparc.c (pop_table): Remove sentinel.
1877 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
1880 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1882 * config/tc-z8k.c (newfix): Make type of type argument
1883 bfd_reloc_code_real_type.
1884 (apply_fix): Likewise.
1886 2016-07-16 Alan Modra <amodra@gmail.com>
1888 * config/tc-epiphany.c: Don't include libbfd.h.
1889 * config/tc-frv.c: Likewise.
1890 * config/tc-ip2k.c: Likewise.
1891 * config/tc-iq2000.c: Likewise.
1892 * config/tc-m32c.c: Likewise.
1893 * config/tc-mep.c: Likewise.
1894 * config/tc-mt.c: Likewise.
1895 * config/tc-nios2.c: Likewise.
1897 2016-07-16 Alan Modra <amodra@gmail.com>
1899 * config/bfin-parse.y: Don't include libbfd.h.
1900 * config/tc-bfin.c: Likewise.
1901 * config/tc-rl78.c: Likewise.
1902 * config/tc-rx.c: Likewise.
1903 * config/tc-metag.c: Likewise.
1904 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1905 * Makefile.am: Update dependencies.
1906 * Makefile.in: Regenerate.
1908 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1910 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1911 (mips_force_relocation_abs): New prototype.
1912 * config/tc-mips.c (mips_force_relocation_abs): New function.
1913 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1914 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1915 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1916 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1917 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1919 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1921 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1922 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1923 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1925 * testsuite/gas/mips/mips.exp: Run the new tests.
1927 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1929 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1930 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1931 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1933 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1934 in `bar', export `foo'.
1935 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1937 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1938 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1939 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1941 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1944 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1946 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1947 * testsuite/gas/mips/branch-absolute.d: New test.
1948 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1949 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1950 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1951 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1952 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1953 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1954 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1956 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1958 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1959 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1960 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1961 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1963 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1965 * testsuite/gas/mips/branch-absolute.s: New test source.
1966 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1967 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1969 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1971 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1973 * testsuite/gas/mips/mips.exp: Run the new tests.
1975 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1977 * testsuite/gas/mips/nal-1.d: New test.
1978 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1979 * testsuite/gas/mips/nal-2.d: New test.
1980 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1981 * testsuite/gas/mips/nal.s: New test source.
1982 * testsuite/gas/mips/mips.exp: Run the new tests.
1984 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1986 * testsuite/gas/sparc/ldtxa.s: New file.
1987 * testsuite/gas/sparc/ldtxa.d: Likewise.
1988 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1990 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1992 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1993 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1994 as it is no longer needed.
1996 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1998 * config/tc-mips.c (append_insn): Remove extraneous
1999 `install_insn' call.
2001 2016-07-04 Jan Beulich <jbeulich@suse.com>
2003 * config/tc-i386.c (check_qword_reg): Correct register kind
2005 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
2006 16-bit register cases.
2007 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
2010 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2012 * testsuite/gas/mips/ecoff@ld.d: Remove test.
2013 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
2014 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
2015 * testsuite/gas/mips/ecoff@sd.d: Remove test.
2016 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
2017 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
2019 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2020 * testsuite/gas/mips/bge.d: Likewise.
2021 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
2022 * testsuite/gas/mips/bgeu.d: Likewise.
2023 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
2024 * testsuite/gas/mips/blt.d: Likewise.
2025 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
2026 * testsuite/gas/mips/bltu.d: Likewise.
2027 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
2028 * testsuite/gas/mips/branch-likely.d: Likewise.
2029 * testsuite/gas/mips/la.d: Likewise.
2030 * testsuite/gas/mips/lb.d: Likewise.
2031 * testsuite/gas/mips/lifloat.d: Likewise.
2032 * testsuite/gas/mips/sb.d: Likewise.
2033 * testsuite/gas/mips/uld.d: Likewise.
2034 * testsuite/gas/mips/ulh.d: Likewise.
2035 * testsuite/gas/mips/ulw.d: Likewise.
2036 * testsuite/gas/mips/usd.d: Likewise.
2037 * testsuite/gas/mips/ush.d: Likewise.
2038 * testsuite/gas/mips/usw.d: Likewise.
2040 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2042 * testsuite/gas/mips/branch-misc-2.s: Move non
2043 locally-defined-global symbol tests...
2044 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
2045 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
2046 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
2047 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
2048 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
2049 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
2050 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
2051 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
2052 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
2053 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
2054 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
2055 * testsuite/gas/mips/branch-misc-5.d: New test.
2056 * testsuite/gas/mips/branch-misc-5pic.d: New test.
2057 * testsuite/gas/mips/branch-misc-5-64.d: New test.
2058 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
2059 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
2060 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
2061 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
2062 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
2063 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
2064 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
2065 * testsuite/gas/mips/mips.exp: Run the new tests.
2067 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2069 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
2071 * testsuite/gas/mips/beq.d: Update accordingly.
2072 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2073 * testsuite/gas/mips/micromips@beq.d: Likewise.
2075 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2077 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
2078 tests to NewABI targets.
2080 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2082 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
2085 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2087 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
2089 (aarch64_features): Initialize require fields.
2090 (aarch64_parse_features): Handle dependencies.
2091 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
2092 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
2093 * testsuite/gas/aarch64/illegal-nofp16.s: New.
2094 * testsuite/gas/aarch64/illegal-nofp16.l: New.
2095 * testsuite/gas/aarch64/illegal-nofp16.d: New.
2097 2016-07-01 Nick Clifton <nickc@redhat.com>
2099 * macro.c (macro_expand_body): Use a buffer big enough to hold an
2100 extremely large integer.
2102 2016-07-01 Jan Beulich <jbeulich@suse.com>
2104 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
2106 2016-07-01 Tristan Gingold <gingold@adacore.com>
2108 * NEWS: Add marker for 2.27.
2110 2016-07-01 Jan Beulich <jbeulich@suse.com>
2112 * tc-i386.c (i386_index_check): Add special checks for bndmk,
2114 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
2115 as well as scaling by other than 1 tests.
2116 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
2118 2016-07-01 Jan Beulich <jbeulich@suse.com>
2120 * tc-i386.c (md_assemble): Alter address size checking for MPX
2122 * testsuite/gas/i386/mpx-inval-2.s: New.
2123 * testsuite/gas/i386/mpx-inval-2.l: New.
2124 * testsuite/gas/i386/i386.exp: Run new test.
2126 2016-07-01 Jan Beulich <jbeulich@suse.com>
2129 * config/tc-i386.c (match_template): Add char parameter,
2130 consumed in Intel mode for an extra suffix check.
2131 (md_assemble): New local variable mnem_suffix.
2132 * testsuite/gas/i386/suffix-bad.s: New.
2133 * testsuite/gas/i386/suffix-bad.l: New.
2134 * testsuite/gas/i386/i386.exp: Run new test (twice).
2136 2016-07-01 Jan Beulich <jbeulich@suse.com>
2138 * testsuite/gas/i386/movz.s: New.
2139 * testsuite/gas/i386/movz32.d: New.
2140 * testsuite/gas/i386/movz64.d: New.
2141 * testsuite/gas/i386/i386.exp: Run new tests.
2143 2016-07-01 Jan Beulich <jbeulich@suse.com>
2145 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
2146 (md_assemble): Free first memory operand string.
2147 (i386_index_check): Use repprefixok to distingush xlat from
2148 other (real) string ops.
2149 (maybe_adjust_templates): New.
2150 (i386_att_operand). Call it. Store first memory operand string.
2151 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
2152 * testsuite/gas/i386/intel-movs.s: New.
2153 * testsuite/gas/i386/intel-movs32.d: New.
2154 * testsuite/gas/i386/intel-movs64.d: New.
2155 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
2156 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
2158 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2160 * config/tc-mips.c (get_append_method): Fix a comment typo.
2162 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
2163 Maciej W. Rozycki <macro@imgtec.com>
2165 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
2166 case MIPS16 handling.
2167 * testsuite/gas/mips/branch-swap-3.d: New test.
2168 * testsuite/gas/mips/branch-swap-4.d: New test.
2169 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
2170 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
2171 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
2172 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
2173 * testsuite/gas/mips/branch-swap-3.s: New test source.
2174 * testsuite/gas/mips/mips.exp: Run the new tests.
2176 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2178 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
2181 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2184 * write.c (subsegs_finish_section): Force no section padding to
2185 alignment on failed assembly, always set last frag's alignment
2187 * testsuite/gas/all/pr20312.l: New list test.
2188 * testsuite/gas/all/pr20312.s: New test source.
2189 * testsuite/gas/all/gas.exp: Run the new test
2191 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
2193 * config.in (TARGET_WITH_CPU): Undefine.
2194 * configure.ac: Add --with-cpu support, and define in config.h.
2195 * configure: Regenerate.
2196 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
2197 * NEWS: Mention new configure option.
2199 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
2201 * testsuite/gas/arm/armv8_2+rdma.d: New.
2203 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
2205 * NEWS: Mention --enable-compressed-debug-sections=gas is the
2206 default for Linux/x86 targets.
2207 * configure.tgt (ac_default_compressed_debug_sections): Default
2208 to yes for Linux/x86 targets.
2210 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
2212 * write.c: Remove "libbfd.h" inclusion.
2214 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2216 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
2219 2016-06-28 Alan Modra <amodra@gmail.com>
2222 * testsuite/gas/elf/section11.s: Don't start directives in first column.
2224 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
2226 * testsuite/gas/aarch64/diagnostic.s,
2227 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
2229 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2231 * config/tc-mips.c (mips16_reloc_p): Handle
2232 BFD_RELOC_MIPS16_16_PCREL_S1.
2233 (b_reloc_p): Likewise.
2234 (limited_pcrel_reloc_p): Likewise.
2235 (md_pcrel_from): Likewise.
2236 (md_apply_fix): Likewise.
2237 (tc_gen_reloc): Likewise.
2238 (md_convert_frag): Likewise.
2239 (mips_fix_adjustable): Update comment.
2240 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
2241 output, add dump patterns.
2242 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
2243 output, add dump patterns.
2244 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
2245 output, add dump patterns.
2246 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
2247 output, add dump patterns.
2248 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
2249 output, add dump patterns.
2250 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
2251 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
2252 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
2253 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
2254 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
2255 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
2256 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
2257 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
2258 * testsuite/gas/mips/branch-weak-6.d: New test.
2259 * testsuite/gas/mips/branch-weak-7.d: New test.
2260 * testsuite/gas/mips/mips.exp: Run the new tests.
2262 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
2264 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
2265 cfi_add_CFA_def_cfa to generate default CFA with offset
2266 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
2268 2016-06-27 Nick Clifton <nickc@redhat.com>
2271 * as.h (do_not_pad_sections_to_alignment): New global variable.
2272 * as.c (show_usage): Add --no-pad-sections.
2273 (parse_args): Likewise.
2274 * write.c (size_seg): Skip padding the end of the section if
2275 requested from the command line.
2276 (SUB_SEGMENT_ALIGN): Likewise.
2277 * doc/as.texinfo: Document the new option.
2278 * NEWS: Mention the new feature.
2279 * testsuite/gas/elf/section11.s: New test.
2280 * testsuite/gas/elf/section11.d: New test driver.
2281 * testsuite/gas/elf/elf.exp: Run the new test.
2283 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2285 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
2286 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
2288 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2290 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
2292 (map_suffix_reloc_to_operator): Likewise.
2293 (map_operator_to_reloc): Likewise.
2295 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2297 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
2298 element in relax_table.
2300 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2302 * config/tc-aarch64.c: Make the type of reg_entry::type
2305 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2307 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
2308 (md_parse_option): Adjust.
2309 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
2310 with iteration from 0 to ARRAY_SIZE.
2311 * config/tc-mcore.c (md_begin): Likewise.
2312 * config/tc-visium.c (visium_parse_arch): Likewise.
2314 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2316 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
2317 and simplify accordingly.
2318 (tic54x_include): Adjust.
2319 (tic54x_mlib): Likewise.
2321 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2323 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
2325 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
2327 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
2328 unchanged with relaxed MIPS16 instructions.
2329 (mips16_extended_frag): Adjust accordingly. Return 1 right
2330 away if a relocation will be required for the symbol requested.
2331 Remove dead first relaxation pass code.
2332 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
2333 (md_convert_frag): Adjust symbol value calculation. Raise an
2334 error if a relocation is required for the symbol requested.
2335 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
2337 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
2338 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
2339 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
2340 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
2341 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
2342 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
2343 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
2344 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
2345 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
2346 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
2347 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
2348 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
2349 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
2350 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
2351 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
2352 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
2353 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
2354 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
2355 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
2356 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
2357 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
2358 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
2359 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
2360 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
2361 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
2362 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
2363 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
2364 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
2365 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
2366 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
2367 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
2368 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
2369 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
2370 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
2371 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
2372 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
2373 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
2374 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
2375 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
2376 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
2377 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
2378 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
2379 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
2380 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
2381 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
2382 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
2383 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
2384 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
2385 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
2386 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
2387 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
2388 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
2389 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
2390 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
2391 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
2392 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
2393 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
2394 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
2395 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
2396 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
2397 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
2398 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
2399 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
2400 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
2401 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
2402 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
2403 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
2404 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
2405 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
2406 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
2407 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
2408 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
2409 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
2410 * testsuite/gas/mips/mips.exp: Run the new tests.
2412 2016-06-24 Alan Modra <amodra@gmail.com>
2414 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
2416 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
2418 * config/tc-mips.c (b_reloc_p): New function.
2419 (mips_fix_adjustable): Also keep the original microMIPS symbol
2420 referred from branch relocations.
2421 * testsuite/gas/mips/branch-local-1.d: New test.
2422 * testsuite/gas/mips/branch-local-n32-1.d: New test.
2423 * testsuite/gas/mips/branch-local-n64-1.d: New test.
2424 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
2426 * testsuite/gas/mips/branch-local-1.s: New test source.
2427 * testsuite/gas/mips/mips.exp: Run the new cases.
2429 2016-06-23 Graham Markall <graham.markall@embecosm.com>
2431 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
2432 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
2433 options. Correct erroneous enabling of SPFP instructions when
2436 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
2438 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
2439 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
2440 setbool, xor3>: New tests.
2441 * testsuite/gas/ppc/power9.s: Likewise.
2443 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2445 * config/tc-xtensa.c: Include elf/xtensa.h.
2447 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2449 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
2450 <BFD_RELOC_LO16_PCREL>: New switch cases.
2451 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
2452 Move switch cases along `BFD_RELOC_MIPS_JMP'.
2453 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
2454 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
2456 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
2457 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
2458 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
2459 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
2460 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
2461 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
2462 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
2463 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
2464 * testsuite/gas/mips/mips.exp: Run the new tests.
2466 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2468 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
2469 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
2470 via `fixP->fx_addsy'.
2472 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2474 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
2475 Calculate relocation from the containing aligned doubleword.
2476 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
2477 addend from the containing aligned doubleword.
2479 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2481 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
2482 rather than `mips_opts' for the R6 ISA check.
2483 (mips_fix_adjustable): Likewise.
2484 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
2485 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
2486 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
2487 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
2488 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
2489 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
2490 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
2491 * testsuite/gas/mips/mips.exp: Run the new tests.
2493 2016-06-21 Graham Markall <graham.markall@embecosm.com>
2495 * config/tc-arc.c (check_cpu_feature, md_parse_option):
2496 Add nps400 option and feature. Add check for nps400
2497 feature. Refactor existing checks to check subclass before
2499 (md_show_usage): Document flags for NPS-400 and add some other
2501 (cpu_type): Remove nps400 CPU type entry
2502 (check_zol): Remove bfd_mach_arc_nps400 case.
2503 (md_show_usage): Add help on -mcpu=nps400.
2504 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
2506 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
2507 -fpuda flags. Document -mcpu=nps400.
2508 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
2509 expected flags to match ARC700 instead of NPS400.
2510 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
2511 * testsuite/gas/arc/nps-400-2.d: Likewise.
2512 * testsuite/gas/arc/nps-400-3.d: Likewise.
2513 * testsuite/gas/arc/nps-400-4.d: Likewise.
2514 * testsuite/gas/arc/nps-400-5.d: Likewise.
2515 * testsuite/gas/arc/nps-400-6.d: Likewise.
2516 * testsuite/gas/arc/nps-400-7.d: Likewise.
2517 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
2518 avoid clash with cbba instruction.
2519 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2520 * testsuite/gas/arc/textinsn3op.d: Likewise.
2521 * testsuite/gas/arc/textinsn3op.s: Likewise.
2522 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
2523 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
2525 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2527 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
2528 * testsuite/gas/mips/r6-64-n64.d: Likewise.
2530 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2532 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
2535 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
2537 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
2539 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2541 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
2542 %hmcddfr and %hva_mask_nz.
2543 (sparc_ip): New handling of asr/privileged/hyperprivileged
2544 registers, adapted to the new form of the sparc opcodes table.
2545 * testsuite/gas/sparc/rdasr.s: New file.
2546 * testsuite/gas/sparc/rdasr.d: Likewise.
2547 * testsuite/gas/sparc/wrasr.s: Likewise.
2548 * testsuite/gas/sparc/wrasr.d: Likewise.
2549 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
2551 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
2552 registers require it.
2553 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
2554 registers and write instruction modalities.
2555 * testsuite/gas/sparc/wrpr.d: Likewise.
2556 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
2558 * testsuite/gas/sparc/rdhpr.d: Likewise.
2559 * testsuite/gas/sparc/wrhpr.s: Likewise.
2560 * testsuite/gas/sparc/wrhpr.d: Likewise.
2562 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2564 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
2565 architectures to use the right opcode architecture.
2566 (sparc_md_end): Handle v9{c,d,e,v,m}.
2567 (sparc_ip): Fix some comments.
2568 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
2569 instruction, which is v9d.
2570 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
2571 instruction from the test, as %mwait is not readable.
2572 * testsuite/gas/sparc/mwait.d: Likewise.
2573 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
2574 mismatch architecture errors.
2575 * testsuite/gas/sparc/mism-2.s: New file.
2577 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2579 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
2580 empty string to mark the end of the array.
2581 (hpriv_reg_table): Likewise.
2582 (v9a_asr_table): Likewise.
2583 (cmp_reg_entry): Handle entries with NULL names.
2585 (F_POP_PCREL): Likewise.
2586 (F_POP_TLS_CALL): Likewise.
2587 (F_POP_POSTFIX): Likewise.
2588 (struct pop_entry): New type.
2589 (pop_table): New variable.
2590 (enum pop_entry_type): New type.
2591 (struct perc_entry): Likewise.
2592 (NUM_PERC_ENTRIES): Define.
2593 (perc_table): New variable.
2594 (cmp_perc_entry): New function.
2595 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
2597 (sparc_ip): Handle entries with NULL names in priv_reg_table,
2598 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
2601 2016-06-15 Nick Clifton <nickc@redhat.com>
2603 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
2605 * config/tc-mcore.c (md_assemble): Likewise.
2606 * config/tc-mn10200.c (md_assemble): Likewise.
2607 * config/tc-moxie.c (md_assemble): Likewise.
2608 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
2609 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
2610 exception targets. Add alpha, hppa, microblaze and rl78 to list
2612 (forward): Add microblaze to list of exceptions.
2613 (fwdexp): Add alpha to list of exceptions.
2614 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
2615 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
2616 (do_930509a): Alpha sort list of exception targets. Add h8300 and
2617 mn10200 to list of exceptions.
2618 (align2): Expect to fail for nds32.
2619 (cond): Add alpha and rl78 to list of exceptions.
2620 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
2621 * testsuite/gas/all/string.d: Skip for tic4x.
2622 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
2623 target does not support ELF.
2624 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
2625 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
2626 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
2627 tests for sh-pe and sh-rtemscoff targets.
2628 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
2630 (type): Run the noifunc version for alpha-freebsd and visium.
2631 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
2632 mn10200 or moxie targets.
2633 * testsuite/gas/ft32/insn.d: Update expected disassembly.
2634 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
2636 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
2637 mcore and rx targets.
2638 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
2640 (purge): Expect to fail on the ns32k and vax.
2641 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
2642 * testsuite/gas/nds32/ls.d: Likewise.
2643 * testsuite/gas/nds32/sys-reg.d: Likewise.
2644 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
2645 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
2646 * testsuite/gas/pe/section-align-3.d: Likewise.
2647 * testsuite/gas/pe/section-exclude.d: Likewise.
2648 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
2650 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
2651 for variations in whitespace.
2652 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
2654 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
2655 Installs a 32-bit value without generating warnings on 64-bit
2657 Use the new macro to replace the .word directives.
2659 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2661 * testsuite/gas/arc/add_s.d: New file.
2662 * testsuite/gas/arc/add_s.s: New file.
2664 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2666 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
2667 * testsuite/gas/arc/nps400-6.d: Likewise.
2669 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2671 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
2673 * testsuite/gas/arc/nps400-6.d: Likewise.
2675 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2677 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
2678 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
2679 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
2680 * testsuite/gas/arc/nps400-6.d: Likewise.
2682 2016-06-14 Nick Clifton <nickc@redhat.com>
2684 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
2687 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
2689 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
2690 JALR relocations on R6.
2691 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
2692 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
2693 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
2694 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
2695 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
2696 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
2698 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
2699 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
2701 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
2702 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
2704 * testsuite/gas/mips/mips.exp: Run the new tests.
2706 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
2708 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
2709 * doc/c-aarch64.texi: Document that vulcan is a valid processor
2712 2016-06-13 Nick Clifton <nickc@redhat.com>
2714 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
2715 that are not supported.
2717 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
2719 * config/tc-cr16.c (check_range): Likewise.
2720 * config/tc-nios2.c (nios2_check_overflow): Likewise.
2722 2016-06-08 Renlin Li <renlin.li@arm.com>
2724 * config/tc-aarch64.c (print_operands): Substitute size.
2725 (output_operand_error_record): Likewise.
2727 2016-06-07 Alan Modra <amodra@gmail.com>
2729 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
2730 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
2731 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
2732 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
2733 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
2734 add vle_opcodes twice.
2735 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
2737 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
2739 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
2740 (arm_ext_ras): Renamed from arm_ext_v8_2.
2741 (insns): Update for arm_ext_v8_2 renaming.
2742 (arm_extensions): Add "ras".
2743 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
2744 * testsuite/gas/arm/armv8-a+ras.d: New.
2745 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
2748 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2750 * itbl-parse.y (yyerror): Use modern argument declaration style.
2752 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2754 * config/tc-sh.c (parse_reg): Change type of mode argument to
2756 (get_operand): Adjust.
2757 (insert): Change type of how to bfd_reloc_code_real_type.
2758 (insert4): Likewise.
2759 * config/tc-sh64.c (shmedia_get_operand): Adjust.
2760 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
2762 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2764 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
2767 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
2770 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
2771 stbcx., sthcx., stwcx., stdcx.>: Add tests.
2772 * gas/testsuite/gas/ppc/e6500.d: Likewise.
2773 * gas/testsuite/gas/ppc/power8.s: Likewise.
2774 * gas/testsuite/gas/ppc/power8.d: Likewise.
2775 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
2777 * gas/testsuite/gas/ppc/power4.d: Likewise.
2779 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2782 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2783 * testsuite/gas/i386/x86-64-branch.d: Updated.
2784 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2785 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2786 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
2788 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2790 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
2791 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
2793 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2795 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
2796 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
2798 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2800 * configure.tgt: Replace -uclibc with *.
2802 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2804 * config/tc-arc.c (parse_opcode_flags): New function.
2805 (find_opcode_match): Move flag parsing code out to new function.
2806 Ignore operands marked IGNORE.
2807 (build_fake_opcode_hash_entry): New function.
2808 (find_special_case_long_opcode): New function.
2809 (find_special_case): Lookup long opcodes.
2810 * testsuite/gas/arc/nps400-7.d: New file.
2811 * testsuite/gas/arc/nps400-7.s: New file.
2813 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2815 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2817 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2819 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2820 sentinal with iteration to array size.
2822 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2824 * config/xtensa-relax.h: Move typedefs of enums to the enums
2827 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2829 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2832 2016-06-01 Graham Markall <graham.markall@embecosm.com>
2834 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2835 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2836 * testsuite/gas/arc/nps-400-1.d: Likewise.
2838 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2841 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2842 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2843 noavx512ifma and noavx512vbmi.
2844 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2845 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2847 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2848 * testsuite/gas/i386/noavx512-1.l: New file.
2849 * testsuite/gas/i386/noavx512-1.s: Likewise.
2850 * testsuite/gas/i386/noavx512-2.l: Likewise.
2851 * testsuite/gas/i386/noavx512-2.s: Likewise.
2853 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2856 * config/tc-i386.c (cpu_arch): Add 687.
2857 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2858 nosse4.1, nosse4.2, nosse4 and noavx2.
2859 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2860 register. Check cpuregxmm instead of cpusse for XMM register.
2861 Check cpuregymm instead of cpuavx for YMM register. Check
2862 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
2863 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
2864 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
2865 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
2866 * testsuite/gas/i386/arch-10.d (as): Likewise.
2867 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
2868 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
2869 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
2871 * testsuite/gas/i386/no87-3.l: New file.
2872 * testsuite/gas/i386/no87-3.s: Likewise.
2873 * testsuite/gas/i386/noavx-3.l: Likewise.
2874 * testsuite/gas/i386/noavx-3.s: Likewise.
2875 * testsuite/gas/i386/noavx-4.d: Likewise.
2876 * testsuite/gas/i386/noavx-4.s: Likewise.
2877 * testsuite/gas/i386/nosse-4.l: Likewise.
2878 * testsuite/gas/i386/nosse-4.s: Likewise.
2879 * testsuite/gas/i386/nosse-5.d: Likewise.
2880 * testsuite/gas/i386/nosse-5.s: Likewise.
2882 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2885 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
2887 (match_template): Check Intel64/AMD64 ISA.
2889 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2892 * config/tc-i386.c (intel64): New.
2893 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2894 (md_parse_option): Set intel64 instead of cpuamd64 and
2897 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2899 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2902 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2904 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2905 * testsuite/gas/ppc/altivec3.s: Likewise.
2906 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2907 * testsuite/gas/ppc/power9.s: Likewise.
2909 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2911 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2912 * testsuite/gas/i386/noavx-1.l: Likewise.
2913 * testsuite/gas/i386/nommx-1.l: Likewise.
2914 * testsuite/gas/i386/nosse-1.l: Likewise.
2915 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2916 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2917 * testsuite/gas/i386/noavx-1.s: Likewise.
2918 * testsuite/gas/i386/nommx-1.s: Likewise.
2919 * testsuite/gas/i386/nosse-1.s: Likewise.
2920 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2922 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2924 * config/tc-metag.c (metag_handle_align): Make the type of noop
2927 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2929 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2930 bfd_reloc_code_real_type.
2932 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2935 * config/tc-i386.c (cpu_flags_match): Require another match
2937 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2938 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2939 * testsuite/gas/i386/avx512vl-1.l: New file.
2940 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2941 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2942 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2943 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2944 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2945 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2946 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2948 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2951 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2952 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2953 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2955 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2957 * config/tc-i386.c (arch_entry): Remove negated.
2958 (noarch_entry): New struct.
2959 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2961 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2962 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2964 (output_message): New function.
2965 (show_arch): Use it. Handle cpu_noarch.
2966 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2967 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2968 * testsuite/gas/i386/noavx-1.l: New file.
2969 * testsuite/gas/i386/noavx-1.s: Likewise.
2970 * testsuite/gas/i386/noavx-2.s: Likewise.
2971 * testsuite/gas/i386/noavx-2.l: Likewise.
2972 * testsuite/gas/i386/nommx-1.s: Likewise.
2973 * testsuite/gas/i386/nommx-1.l: Likewise.
2974 * testsuite/gas/i386/nommx-2.s: Likewise.
2975 * testsuite/gas/i386/nommx-2.l: Likewise.
2976 * testsuite/gas/i386/nommx-3.s: Likewise.
2977 * testsuite/gas/i386/nommx-3.l: Likewise.
2978 * testsuite/gas/i386/nosse-1.s: Likewise.
2979 * testsuite/gas/i386/nosse-1.l: Likewise.
2980 * testsuite/gas/i386/nosse-2.s: Likewise.
2981 * testsuite/gas/i386/nosse-2.l: Likewise.
2982 * testsuite/gas/i386/nosse-3.s: Likewise.
2983 * testsuite/gas/i386/nosse-3.l: Likewise.
2985 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2988 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2989 instruction if supported by the currently selected fpu variant.
2990 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2991 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2993 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2995 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2996 jump relocations against MIPS16 or microMIPS symbols on RELA
2998 * testsuite/gas/mips/jalx-local.d: New test.
2999 * testsuite/gas/mips/jalx-local-n32.d: New test.
3000 * testsuite/gas/mips/jalx-local-n64.d: New test.
3001 * testsuite/gas/mips/jalx-local.s: New test source.
3002 * testsuite/gas/mips/mips.exp: Run the new tests.
3004 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3006 * config/tc-mips.c (md_apply_fix)
3007 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
3010 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3012 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
3013 operator to operatorT.
3014 (map_suffix_reloc_to_operator): Change return type to operatorT.
3016 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3018 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
3020 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3022 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
3023 handler_charp to const char *.
3025 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3027 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
3028 (ft32_target_format): Likewise.
3029 (TARGET_FORMAT): Adjust.
3031 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3033 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
3034 (ia64_frob_label): Likewise.
3036 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3038 * config/tc-cr16.c (check_range): Make type of retval op_err.
3039 * config/tc-crx.c: Likewise.
3041 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
3043 * config/tc-arc.c (md_begin): Add XY registers.
3044 (cpu_types): Code density is default off for ARC EM.
3046 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
3048 * config/tc-arc.c (attributes_t): Renamed attribute class to
3050 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
3052 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
3054 * configuse.tgt: Add entry for arm-phoenix.
3056 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3058 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
3060 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3062 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
3064 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3066 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
3067 (md_begin): Likewise.
3068 (encode_condition): Likewise.
3069 (encode_cc3): Likewise.
3070 (encode_cc2): Likewise.
3071 (encode_operand): Likewise.
3072 (tic54x_undefined_symbol): Likewise.
3074 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
3076 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
3078 * doc/c-mips.texi: Document p6600 -march option.
3080 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
3083 * config/tc-i386.c (md_apply_fix): Preserve addend for
3084 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
3085 * testsuite/gas/i386/addend.d: New file.
3086 * testsuite/gas/i386/addend.s: Likewise.
3087 * testsuite/gas/i386/x86-64-addend.d: Likewise.
3088 * testsuite/gas/i386/x86-64-addend.s: Likewise.
3089 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
3090 * testsuite/gas/i386/reloc32.d: Updated.
3092 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3094 * config/tc-mips.c (append_insn): Correct the encoding of a
3095 constant argument for microMIPS JALX.
3096 (tc_gen_reloc): Correct the encoding of an in-place addend for
3098 * testsuite/gas/mips/jalx-addend.d: New test.
3099 * testsuite/gas/mips/jalx-addend-n32.d: New test.
3100 * testsuite/gas/mips/jalx-addend-n64.d: New test.
3101 * testsuite/gas/mips/jalx-imm.d: New test.
3102 * testsuite/gas/mips/jalx-imm-n32.d: New test.
3103 * testsuite/gas/mips/jalx-imm-n64.d: New test.
3104 * testsuite/gas/mips/jalx-addend.s: New test source.
3105 * testsuite/gas/mips/jalx-imm.s: New test source.
3106 * testsuite/gas/mips/mips.exp: Run the new tests.
3108 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3110 * config/tc-mips.c: Correct tab-after-space formatting mistakes
3113 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3115 * config/tc-arc.c (find_opcode_match): Remove casting away of
3117 * config/tc-arc.h (struct arc_flags): Make flgp field const.
3119 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3121 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
3123 (md_convert_frag): Likewise.
3125 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3127 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
3128 cached opcode to NULL when we reach a non-matching opcode.
3129 * testsuite/gas/arc/asm-errors-2.d: New file.
3130 * testsuite/gas/arc/asm-errors-2.err: New file.
3131 * testsuite/gas/arc/asm-errors-2.s: New file.
3133 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3135 * config/tc-arc.c (tokenize_arguments): Add checks for array
3137 * testsuite/gas/arc/asm-errors.s: Addition test line added.
3138 * testsuite/gas/arc/asm-errors.err: Update expected results.
3140 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3142 * config/tc-rx.c (struct cpu_type): Change the type of a field from
3143 int to enum rx_cpu_types.
3145 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3147 * config/tc-dlx.c (struct machine_it): change the type of a field from
3148 int to bfd_reloc_code_real_type.
3149 * config/tc-tic4x.c: Likewise.
3151 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3153 * config/tc-v850.c (v850_target_arch): change type to enum
3155 * config/tc-v850.h (v850_target_arch): Likewise.
3157 2016-05-18 Alan Modra <amodra@gmail.com>
3159 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
3160 allowed negative range.
3161 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
3162 * testsuite/gas/ppc/power9.d: Update.
3164 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
3166 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
3167 disassembling and stop skipping targets.
3168 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3169 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3170 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
3171 instruction for targets that have stronger alignment requirement.
3172 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3173 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3174 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3175 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3176 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3177 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3178 * testsuite/gas/arm/archv8m-main.d: Likewise.
3179 * testsuite/gas/arm/archv8m.s: Add label.
3180 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
3181 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3182 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
3184 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3186 * config/tc-m32r.c (mach_table): Make static and const.
3188 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3190 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
3193 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3195 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
3197 * config/tc-msp430.c (md_begin): Likewise.
3199 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3201 * config/tc-m68hc11.c (fixup8): Change variables type from int to
3202 bfd_reloc_code_real_type where appropriate.
3203 (fixup16): Likewise.
3204 (fixup8_xg): Likewise.
3206 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
3208 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
3210 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
3212 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
3213 * testsuite/gas/ppc/power9.s: Likewise.
3215 2016-05-13 Alan Modra <amodra@gmail.com>
3217 * config/obj-coff.c (weak_uniquify): Delete unused var.
3219 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3221 * app.c (app_push): Use XNEW and related macros.
3222 * as.c (parse_args): Likewise.
3223 * cgen.c (make_right_shifted_expr): Likewise.
3224 (gas_cgen_tc_gen_reloc): Likewise.
3225 * config/bfin-defs.h: Likewise.
3226 * config/bfin-parse.y: Likewise.
3227 * config/obj-coff.c (stack_init): Likewise.
3228 (stack_push): Likewise.
3229 (coff_obj_symbol_new_hook): Likewise.
3230 (coff_obj_symbol_clone_hook): Likewise.
3231 (add_lineno): Likewise.
3232 (coff_frob_symbol): Likewise.
3233 * config/obj-elf.c (obj_elf_section_name): Likewise.
3234 (build_group_lists): Likewise.
3235 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
3236 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
3237 * config/tc-aarch64.c (insert_reg_alias): Likewise.
3238 (find_or_make_literal_pool): Likewise.
3239 (add_to_lit_pool): Likewise.
3240 (fill_instruction_hash_table): Likewise.
3241 * config/tc-alpha.c (load_expression): Likewise.
3242 (emit_jsrjmp): Likewise.
3243 (s_alpha_ent): Likewise.
3244 (s_alpha_end): Likewise.
3245 (s_alpha_linkage): Likewise.
3246 (md_begin): Likewise.
3247 (tc_gen_reloc): Likewise.
3248 * config/tc-arc.c (arc_insert_opcode): Likewise.
3249 (arc_extcorereg): Likewise.
3250 * config/tc-bfin.c: Likewise.
3251 * config/tc-cr16.c: Likewise.
3252 * config/tc-cris.c: Likewise.
3253 * config/tc-crx.c (preprocess_reglist): Likewise.
3254 * config/tc-d10v.c: Likewise.
3255 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
3256 (frv_tomcat_shuffle): Likewise.
3257 * config/tc-h8300.c: Likewise.
3258 * config/tc-i370.c (i370_macro): Likewise.
3259 * config/tc-i386.c (lex_got): Likewise.
3260 (md_parse_option): Likewise.
3261 * config/tc-ia64.c (alloc_record): Likewise.
3262 (set_imask): Likewise.
3263 (save_prologue_count): Likewise.
3264 (dot_proc): Likewise.
3265 (dot_endp): Likewise.
3266 (ia64_frob_label): Likewise.
3267 (add_qp_imply): Likewise.
3268 (add_qp_mutex): Likewise.
3269 (mark_resource): Likewise.
3270 (dot_alias): Likewise.
3271 * config/tc-m68hc11.c: Likewise.
3272 * config/tc-m68k.c (m68k_frob_label): Likewise.
3274 (mri_control_label): Likewise.
3275 (push_mri_control): Likewise.
3276 (build_mri_control_operand): Likewise.
3277 (s_mri_else): Likewise.
3278 (s_mri_break): Likewise.
3279 (s_mri_next): Likewise.
3280 (s_mri_for): Likewise.
3281 (s_mri_endw): Likewise.
3282 * config/tc-metag.c (create_mnemonic_htab): Likewise.
3283 * config/tc-microblaze.c: Likewise.
3284 * config/tc-mmix.c (s_loc): Likewise.
3285 * config/tc-nds32.c (nds32_relax_hint): Likewise.
3286 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
3287 * config/tc-rl78.c: Likewise.
3288 * config/tc-rx.c (rx_include): Likewise.
3289 * config/tc-sh.c: Likewise.
3290 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
3291 * config/tc-sparc.c: Likewise.
3292 * config/tc-spu.c: Likewise.
3293 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
3294 (tic6x_start_unwind_section): Likewise.
3295 * config/tc-tilegx.c: Likewise.
3296 * config/tc-tilepro.c: Likewise.
3297 * config/tc-v850.c: Likewise.
3298 * config/tc-visium.c: Likewise.
3299 * config/tc-xgate.c: Likewise.
3300 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
3301 (new_resource_table): Likewise.
3302 (resize_resource_table): Likewise.
3303 (xtensa_create_trampoline_frag): Likewise.
3304 (xtensa_maybe_create_literal_pool_frag): Likewise.
3305 (cache_literal_section): Likewise.
3306 * config/xtensa-relax.c (append_transition): Likewise.
3307 (append_condition): Likewise.
3308 (append_value_condition): Likewise.
3309 (append_constant_value_condition): Likewise.
3310 (append_literal_op): Likewise.
3311 (append_label_op): Likewise.
3312 (append_constant_op): Likewise.
3313 (append_field_op): Likewise.
3314 (append_user_fn_field_op): Likewise.
3315 (enter_opname_n): Likewise.
3316 (enter_opname): Likewise.
3317 (split_string): Likewise.
3318 (parse_insn_templ): Likewise.
3319 (clone_req_or_option_list): Likewise.
3320 (clone_req_option_list): Likewise.
3321 (parse_option_cond): Likewise.
3322 (parse_insn_pattern): Likewise.
3323 (parse_insn_repl): Likewise.
3324 (build_transition): Likewise.
3325 (build_transition_table): Likewise.
3326 * dw2gencfi.c (alloc_fde_entry): Likewise.
3327 (alloc_cfi_insn_data): Likewise.
3328 (cfi_add_CFA_remember_state): Likewise.
3329 (dot_cfi_escape): Likewise.
3330 (dot_cfi_fde_data): Likewise.
3331 (select_cie_for_fde): Likewise.
3332 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
3333 * ecoff.c (ecoff_add_bytes): Likewise.
3334 (ecoff_build_debug): Likewise.
3335 * input-scrub.c (input_scrub_push): Likewise.
3336 (input_scrub_begin): Likewise.
3337 (input_scrub_next_buffer): Likewise.
3338 * itbl-ops.c (append_insns_as_macros): Likewise.
3339 (alloc_entry): Likewise.
3340 (alloc_field): Likewise.
3341 * listing.c (listing_newline): Likewise.
3342 (listing_listing): Likewise.
3343 * macro.c (get_any_string): Likewise.
3344 (delete_macro): Likewise.
3345 * stabs.c (generate_asm_file): Likewise.
3346 (stabs_generate_asm_lineno): Likewise.
3347 * subsegs.c (subseg_change): Likewise.
3348 (subseg_get): Likewise.
3349 * symbols.c (define_dollar_label): Likewise.
3350 (symbol_relc_make_sym): Likewise.
3351 * write.c (write_relocs): Likewise.
3353 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3355 * config/obj-coff.c (obj_coff_def): Simplify string copying.
3356 (weak_name2altname): Likewise.
3357 (weak_uniquify): Likewise.
3358 (obj_coff_section): Likewise.
3359 (obj_coff_init_stab_section): Likewise.
3360 * config/obj-elf.c (obj_elf_section_name): Likewise.
3361 (obj_elf_init_stab_section): Likewise.
3362 * config/obj-evax.c (evax_shorten_name): Likewise.
3363 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
3364 * config/tc-aarch64.c (create_register_alias): Likewise.
3365 * config/tc-alpha.c (load_expression): Likewise.
3366 (s_alpha_file): Likewise.
3367 (s_alpha_section_name): Likewise.
3368 (tc_gen_reloc): Likewise.
3369 * config/tc-arc.c (md_assemble): Likewise.
3370 * config/tc-arm.c (create_neon_reg_alias): Likewise.
3371 (start_unwind_section): Likewise.
3372 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
3373 (hppa_elf_mark_end_of_function): Likewise.
3374 * config/tc-nios2.c (nios2_modify_arg): Likewise.
3375 (nios2_negate_arg): Likewise.
3376 * config/tc-rx.c (rx_section): Likewise.
3377 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
3378 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3379 * config/tc-tic54x.c (tic54x_include): Likewise.
3380 (tic54x_macro_info): Likewise.
3381 (subsym_get_arg): Likewise.
3382 (subsym_substitute): Likewise.
3383 (tic54x_start_line_hook): Likewise.
3384 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
3385 (xg_reverse_shift_count): Likewise.
3386 * config/xtensa-relax.c (enter_opname_n): Likewise.
3387 (split_string): Likewise.
3388 * dwarf2dbg.c (get_filenum): Likewise.
3389 (process_entries): Likewise.
3390 * expr.c (operand): Likewise.
3391 * itbl-ops.c (alloc_entry): Likewise.
3392 * listing.c (listing_message): Likewise.
3393 (listing_title): Likewise.
3394 * macro.c (check_macro): Likewise.
3395 * stabs.c (s_xstab): Likewise.
3396 * symbols.c (symbol_relc_make_expr): Likewise.
3397 * write.c (compress_debug): Likewise.
3399 2016-05-12 Nick Clifton <nickc@redhat.com>
3402 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
3404 2016-05-11 Nick Clifton <nickc@redhat.com>
3407 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
3408 big endian ARM configurations.
3410 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
3411 Matthew Fortune <matthew.fortune@imgtec.com>
3413 * config/tc-mips.c (options): Add OPTION_DSPR3 and
3415 (md_longopts): Likewise.
3416 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
3417 (mips_ases): Define availability for DSPr3.
3418 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
3419 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
3420 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
3422 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
3423 .set nodspr3. Fix -mdspr2 formatting.
3424 * testsuite/gas/mips/mips32-dspr3.d: New file.
3425 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
3426 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
3428 2016-05-11 Nick Clifton <nickc@redhat.com>
3431 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
3432 to the pool uses O_constant.
3433 * testsuite/gas/arm/pr20068.s: New test.
3434 * testsuite/gas/arm/pr20068.d: Test driver.
3436 2016-05-11 Nick Clifton <nickc@redhat.com>
3438 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
3439 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3440 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3441 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3442 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3443 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3444 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3445 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3446 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3448 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3450 * testsuite/gas/i386/i386.exp: Run RDPID tests.
3451 * testsuite/gas/i386/prefix.d: Adjust.
3452 * testsuite/gas/i386/rdpid.s: New test.
3453 * testsuite/gas/i386/rdpid.d: Ditto.
3454 * testsuite/gas/i386/rdpid-intel.d: Ditto.
3455 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
3456 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
3457 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
3459 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3461 * config/tc-i386.c (cpu_arch): Add RDPID.
3462 * doc/c-i386.texi: Document RDPID.
3464 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3466 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
3467 set branch type of a symbol.
3469 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3471 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
3472 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
3474 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
3475 (aeabi_set_public_attributes): Memorize the feature bits of the
3476 architecture selected for Tag_CPU_arch. Use it to set
3477 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
3478 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
3479 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
3480 * testsuite/gas/arm/arch7em-bad-1.d: This.
3481 * testsuite/gas/arm/arch7em-bad-2.d: New file.
3482 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
3483 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3484 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3485 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3486 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3487 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
3488 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
3490 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3492 * config/tc-arm.c (struct arm_option_extension_value_table): Make
3493 allowed_archs an array with 2 entries.
3494 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
3495 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
3496 (arm_extensions): Use separate entries in allowed_archs when several
3497 archs are allowed to use an extension and change ARCH_ANY in
3498 ARM_ARCH_NONE in allowed_archs.
3499 (arm_parse_extension): Check that, for each allowed_archs entry, all
3500 bits are set in the current architecture, ignoring ARM_ANY entries.
3501 (s_arm_arch_extension): Likewise.
3503 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3505 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
3506 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
3507 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
3508 shared with a non M profile architecture.
3509 (do_rn): New function.
3510 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
3512 (v7m_psrs): Add ARMv8-M security extensions new special registers.
3513 (insns): Add ARMv8-M Security Extensions instructions.
3514 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
3515 arm_ext_v8m_m to decide the profile and the Thumb ISA.
3516 * testsuite/gas/arm/archv8m-cmse.s: New file.
3517 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
3518 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3519 * testsuite/gas/arm/any-cmse.d: Likewise.
3520 * testsuite/gas/arm/any-cmse-main.d: Likewise.
3521 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3522 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3523 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3524 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3525 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3527 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3529 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
3530 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
3532 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3534 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
3535 (fpu_arch_vfp_v3): Likewise.
3536 (fpu_arch_neon_v1): Likewise.
3537 (arm_arch_full): Likewise.
3538 (parse_neon_el_struct_list): Initialize fields of firsttype.
3540 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
3542 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
3543 (arc_extinsn): Handle new introduced syntax.
3544 * testsuite/gas/arc/textinsn1op.d: New file.
3545 * testsuite/gas/arc/textinsn1op.s: Likewise.
3546 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
3548 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3550 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
3551 DW_LNS_fixed_advance_pc.
3553 2016-04-27 Alan Modra <amodra@gmail.com>
3555 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
3556 (xmemdup0): New inline function.
3558 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
3560 * config/tc-mips.c (code_option_type): New enum.
3561 (parse_code_option): Return status indicating option type.
3562 (s_mipsset): Update `parse_code_option' call site accordingly.
3563 Always set register sizes from the ISA with ISA overrides.
3564 (s_module): Update `parse_code_option' call site.
3565 * testsuite/gas/mips/isa-override-1.d: New test.
3566 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
3567 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
3568 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
3569 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
3570 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
3571 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
3572 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
3573 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
3574 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
3575 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
3576 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
3577 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
3578 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
3579 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
3580 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
3581 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
3582 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
3583 * testsuite/gas/mips/isa-override-2.l: New list test.
3584 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
3585 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
3586 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
3587 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
3588 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
3589 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
3590 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
3591 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
3592 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
3593 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
3594 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
3596 * testsuite/gas/mips/isa-override-1.s: New test source.
3597 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
3598 * testsuite/gas/mips/isa-override-2.s: New test source.
3599 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
3600 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
3601 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
3602 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
3603 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
3604 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
3605 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
3606 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
3607 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
3608 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
3609 * testsuite/gas/mips/mips.exp: Run the new tests.
3611 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3614 * config/tc-bfin.c: Likewise.
3615 * config/tc-ia64.c: Likewise.
3616 * config/tc-mep.c: Likewise.
3617 * config/tc-metag.c: Likewise.
3618 * config/tc-nios2.c: Likewise.
3619 * config/tc-rl78.c: Likewise.
3621 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
3623 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
3624 -mcpu. Add cross reference to .cpu directive from -mcpu option.
3625 (ARC Directives): Add NPS400 to .cpu directive list.
3627 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
3629 * config/tc-aarch64.c (aarch64_features): Add "ras".
3630 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
3631 * testsuite/gas/aarch64/armv8-ras-1.d: New.
3632 * testsuite/gas/aarch64/armv8-ras-1.s: New.
3633 * testsuite/gas/aarch64/illegal-ras-1.d: New.
3634 * testsuite/gas/aarch64/illegal-ras-1.s: New.
3636 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3638 * testsuite/gas/arc/nps400-6.d: New file.
3639 * testsuite/gas/arc/nps400-6.s: New file.
3641 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3643 * testsuite/gas/arc/nps400-4.d: New file.
3644 * testsuite/gas/arc/nps400-4.s: New file.
3645 * testsuite/gas/arc/nps400-5.d: New file.
3646 * testsuite/gas/arc/nps400-5.s: New file.
3648 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
3650 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
3653 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
3655 Revert prevous change.
3656 * config/tc-arc.c (arc_option): Make .cpu directive
3657 case-sensitive again.
3659 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3661 * config/tc-arc.c (arc_option): Make .cpu directive
3664 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3666 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
3668 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3670 * config/tc-mips.c (md_begin): Remove useless assignment.
3672 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3674 * Makefile.in: Regenerated with automake 1.11.6.
3675 * aclocal.m4: Likewise.
3676 * doc/Makefile.in: Likewise.
3678 2016-04-15 Alan Modra <amodra@gmail.com>
3680 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
3682 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3684 * config/tc-nios2.c (nios2_as_options): Make file static.
3685 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
3686 * config/tc-sparc.c (native_op_table): Likewise.
3688 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3690 * config/tc-m32c.c (M32C_Macros): Remove.
3691 * config/tc-msp430.c (option_numbers): Likewise.
3693 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3695 * testsuite/gas/arc/nps400-3.d: New file.
3696 * testsuite/gas/arc/nps400-3.s: New file.
3698 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3700 * testsuite/gas/arc/add_s-err.s: Update target pattern.
3701 * testsuite/gas/arc/warn.s: Likewise.
3702 * testsuite/gas/elf/elf.exp: Run test for arc.
3704 2016-04-14 Nick Clifton <nickc@redhat.com>
3707 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
3708 sections possibly having the SHF_STRINGS flag bit set.
3709 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
3711 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3713 * config/tc-arc.c (mach_type_specified_p): Change type to
3715 (arc_option): Set private flags when parsing cpu pseudo-op.
3716 (md_parse_option): Set mach_type_specified_p to TRUE.
3718 2016-04-13 Nick Clifton <nickc@redhat.com>
3721 * testsuite/gas/v850/pr19937.s: New test.
3722 * testsuite/gas/v850/pr19937.d: New test control file.
3723 * testsuite/gas/v850/basic.exp: Run the new test.
3725 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3726 Andrew Bennett <andrew.bennett@imgtec.com>
3728 * config/tc-mips.c (relaxed_branch_length): Use the long
3729 sequence where the target is a weak symbol.
3730 (relaxed_micromips_32bit_branch_length): Likewise.
3731 (relaxed_micromips_16bit_branch_length): Likewise.
3732 * testsuite/gas/mips/branch-weak-1.d: New test.
3733 * testsuite/gas/mips/branch-weak-2.d: New test.
3734 * testsuite/gas/mips/branch-weak-3.d: New test.
3735 * testsuite/gas/mips/branch-weak-4.d: New test.
3736 * testsuite/gas/mips/branch-weak-5.d: New test.
3737 * testsuite/gas/mips/branch-weak.l: New stderr output.
3738 * testsuite/gas/mips/branch-weak.s: New test source.
3739 * testsuite/gas/mips/mips.exp: Run the new tests.
3741 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3743 * config/tc-mips.c (relaxed_branch_length): Use the long
3744 sequence where the distance cannot be determined.
3745 (relaxed_micromips_32bit_branch_length): Likewise.
3746 * testsuite/gas/mips/branch-extern-1.d: New test.
3747 * testsuite/gas/mips/branch-extern-2.d: New test.
3748 * testsuite/gas/mips/branch-extern-3.d: New test.
3749 * testsuite/gas/mips/branch-extern-4.d: New test.
3750 * testsuite/gas/mips/branch-extern.l: New stderr output.
3751 * testsuite/gas/mips/branch-extern.s: New test source.
3752 * testsuite/gas/mips/branch-section-1.d: New test.
3753 * testsuite/gas/mips/branch-section-2.d: New test.
3754 * testsuite/gas/mips/branch-section-3.d: New test.
3755 * testsuite/gas/mips/branch-section-4.d: New test.
3756 * testsuite/gas/mips/branch-section.l: New stderr output.
3757 * testsuite/gas/mips/branch-section.s: New test source.
3758 * testsuite/gas/mips/mips.exp: Run the new tests.
3760 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3762 * testsuite/gas/arc/textauxregister.d: New file.
3763 * testsuite/gas/arc/textauxregister.s: Likewise.
3764 * testsuite/gas/arc/textcondcode.d: Likewise.
3765 * testsuite/gas/arc/textcondcode.s: Likewise.
3766 * testsuite/gas/arc/textcoreregister.d: Likewise.
3767 * testsuite/gas/arc/textcoreregister.s: Likewise.
3768 * testsuite/gas/arc/textpseudoop.d: Likewise.
3769 * testsuite/gas/arc/textpseudoop.s: Likewise.
3770 * testsuite/gas/arc/ld2.d: Update test.
3771 * testsuite/gas/arc/st.d: Likewise.
3772 * testsuite/gas/arc/taux.d: Likewise.
3773 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
3774 .extCoreRegister and .extAuxRegister documentation.
3775 * config/tc-arc.c (arc_extcorereg): New function.
3776 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
3777 .extAuxRegister pseudo-ops.
3778 (extRegister_t): New type.
3779 (ext_condcode, arc_aux_hash): New global variable.
3780 (find_opcode_match): Check for extensions.
3781 (preprocess_operands): Likewise.
3782 (md_begin): Add aux registers in a hash.
3783 (assemble_insn): Update use arc_flags member.
3784 (tokenize_extregister): New function.
3785 (create_extcore_section): Likewise.
3786 * config/tc-arc.h (arc_flags): Delete code, add flgp.
3788 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3790 * testsuite/gas/arc/noargs_a7.d: New file.
3791 * testsuite/gas/arc/noargs_a7.s: Likewise.
3792 * testsuite/gas/arc/noargs_hs.d: Likewise.
3793 * testsuite/gas/arc/noargs_hs.s: Likewise.
3795 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3797 * testsuite/gas/arc/textinsn-errors.d: New File.
3798 * testsuite/gas/arc/textinsn-errors.err: Likewise.
3799 * testsuite/gas/arc/textinsn-errors.s: Likewise.
3800 * testsuite/gas/arc/textinsn2op.d: Likewise.
3801 * testsuite/gas/arc/textinsn2op.s: Likewise.
3802 * testsuite/gas/arc/textinsn2op01.d: Likewise.
3803 * testsuite/gas/arc/textinsn2op01.s: Likewise.
3804 * testsuite/gas/arc/textinsn3op.d: Likewise.
3805 * testsuite/gas/arc/textinsn3op.s: Likewise.
3806 * doc/c-arc.texi (ARC Directives): Add .extInstruction
3808 * config/tc-arc.c (arcext_section): New variable.
3809 (arc_extinsn): New function.
3810 (md_pseudo_table): Add .extInstruction pseudo op.
3811 (attributes_t): New type.
3812 (suffixclass, syntaxclass, syntaxclassmod): New constant
3814 (find_opcode_match): Remove arc_num_opcodes.
3815 (md_begin): Likewise.
3816 (tokenize_extinsn): New function.
3817 (arc_set_ext_seg): Likewise.
3818 (create_extinst_section): Likewise.
3820 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3822 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3823 (arc_adjust_symtab): New function.
3824 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3825 (obj_adjust_symtab): Likewise.
3826 * testsuite/gas/arc/taux.d: New file.
3827 * testsuite/gas/arc/taux.s: Likewise.
3829 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3831 * config/tc-mips.c (s_option): Sanitize `.option picX'
3833 * testsuite/gas/mips/option-pic-1.d: New test.
3834 * testsuite/gas/mips/option-pic-2.l: New list test.
3835 * testsuite/gas/mips/option-pic-1.s: New test source.
3836 * testsuite/gas/mips/option-pic-2.s: New test source.
3837 * testsuite/gas/mips/mips.exp: Run the new tests.
3839 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3841 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3843 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3844 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3845 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3846 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3847 * testsuite/gas/mips/mips.exp: Run the new tests.
3849 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3851 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3853 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3855 * messages.c (as_bad): Fix a typo in description.
3857 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3859 * config/tc-mips.c (mips_check_options): Unify messages.
3861 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3863 * config/tc-mips.c (mips_check_options): Use `opts->isa'
3866 2016-04-08 Nick Clifton <nickc@redhat.com>
3869 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
3870 COFF and AOUT sparc targets.
3872 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3874 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
3875 * testsuite/gas/arc/nps400-2.d: New file.
3876 * testsuite/gas/arc/nps400-2.s: New file.
3878 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3880 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
3882 (arc_opcode_hash_entry_iterator_init): New function.
3883 (arc_opcode_hash_entry_iterator_next): New function.
3884 (find_opcode_match): Iterate over all arc_opcode entries
3885 referenced by the arc_opcode_hash_entry passed in as a parameter.
3887 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3889 * config/tc-arc.c (arc_find_opcode): Now returns
3890 arc_opcode_hash_entry pointer.
3891 (find_opcode_match): Update argument type, extract arc_opcode from
3892 incoming arc_opcode_hash_entry.
3893 (find_special_case_pseudo): Update return type.
3894 (find_special_case_flag): Update return type.
3895 (find_special_case): Update return type.
3896 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3897 instruction mnemonic, then use find_opcode_match to identify
3898 specific arc_opcode.
3900 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3902 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3903 (arc_find_opcode): New function.
3904 (find_special_case_pseudo): Use arc_find_opcode.
3905 (find_special_case_flag): Likewise.
3906 (assemble_tokens): Likewise.
3907 (md_begin): Build hash using struct arc_opcode_hash_entry.
3909 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3911 * config/tc-arc.c (arc_option): Prepare string for automatic
3913 (declare_register): Likewise.
3915 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3917 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3918 Correct entry for RDMA. Alpha sort entries.
3920 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3922 * config/tc-arc.c (tokenize_flags): Allow greater range of
3923 characters into flag names.
3925 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3927 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3929 (preprocess_operands): Delete.
3930 (assemble_tokens): Remove call to preprocess_operands.
3932 2016-04-07 Nick Clifton <nickc@redhat.com>
3935 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3936 inside a %-macro could not be fully parsed.
3937 * expr.c (integer_constant): Accept and ignore U suffixes to
3939 (operand): When a missing closing parenthesis is encountered,
3940 report the character that was found instead.
3941 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3942 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3943 * testsuite/gas/sparc/pr19910-1.s: New test.
3944 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3945 * testsuite/gas/sparc/pr19910-2.s: New test.
3946 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3948 2016-04-06 Nick Clifton <nickc@redhat.com>
3950 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3951 an EINT instruction. Warn/fix as necessary.
3952 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3953 * testsuite/gas/msp430/bad.l: Update expected messages.
3955 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3957 * testsuite/gas/arc/nps400-1.d: Update expected results.
3958 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3960 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3962 * config/tc-arc.c (is_code_density_p): Compare directly the
3964 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3965 (check_cpu_feature): New function.
3966 (find_opcode_match): Use check_cpu_feature function.
3967 (preprocess_operands): Likewise.
3968 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3969 * testsuite/gas/arc/tdpfp.d: New file.
3970 * testsuite/gas/arc/tfpuda.d: Likewise.
3971 * testsuite/gas/arc/tfpx.s: Likewise.
3973 2016-04-05 Jiong Wang <jiong.wang@arm.com>
3975 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3976 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3977 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3978 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3979 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3980 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3981 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
3982 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3984 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3986 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3988 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
3989 JUMP instructions type.
3990 * testsuite/gas/arc/relocs-errors.d: New file.
3991 * testsuite/gas/arc/relocs-errors.err: Likewise.
3992 * testsuite/gas/arc/relocs-errors.s: Likewise.
3994 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3997 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3998 only if i.disp_encoding != disp_encoding_32bit.
3999 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
4000 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
4001 * gas/testsuite/gas/i386/disp32.d: Updated.
4002 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
4004 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4007 * testsuite/gas/i386/i386.exp: Run pr19498.
4008 * testsuite/gas/i386/pr19498.d: New file.
4009 * testsuite/gas/i386/pr19498.s: Likewise.
4011 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
4013 * config/tc-arc.h: Include 'opcode/arc.h'.
4014 (MAX_INSN_ARGS): Delete.
4015 (MAX_INSN_FLGS): Delete.
4017 2016-04-04 Alan Modra <amodra@gmail.com>
4020 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
4021 from function on all paths that set sy_resolving.
4023 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4025 * app.c (app_push): use XNEW macro.
4027 * config/obj-elf.c (obj_elf_change_section): Likewise.
4028 (elf_copy_symbol_attributes): Likewise.
4029 (obj_elf_size): Likewise.
4030 (build_group_lists): Likewise.
4031 * config/tc-aarch64.c (add_operand_error_record): Likewise.
4032 (md_assemble): Likewise.
4033 (tc_gen_reloc): Likewise.
4034 (get_upper_str): Likewise.
4035 (aarch64_parse_features): Likewise.
4036 * config/tc-arm.c (insert_reg_alias): Likewise.
4037 (insert_neon_reg_alias): Likewise.
4038 (find_or_make_literal_pool): Likewise.
4039 (s_arm_elf_cons): Likewise.
4040 (add_unwind_opcode): Likewise.
4041 (arm_parse_extension): Likewise.
4042 * config/tc-avr.c (create_record_for_frag): Likewise.
4043 * config/tc-crx.c: Likewise.
4044 * config/tc-d30v.c: Likewise.
4045 * config/tc-dlx.c (s_proc): Likewise.
4046 * config/tc-ft32.c: Likewise.
4047 * config/tc-h8300.c: Likewise.
4048 * config/tc-hppa.c (pa_proc): Likewise.
4049 (create_new_space): Likewise.
4050 (create_new_subspace): Likewise.
4051 * config/tc-i860.c: Likewise.
4052 * config/tc-i960.c: Likewise.
4053 * config/tc-ia64.c: Likewise.
4054 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
4055 (iq2000_record_hi16): Likewise.
4056 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
4057 * config/tc-m32r.c (debug_sym): Likewise.
4058 (m32r_record_hi16): Likewise.
4059 * config/tc-m68k.c (m68k_ip): Likewise.
4060 (md_begin): Likewise.
4061 * config/tc-mcore.c: Likewise.
4062 * config/tc-microblaze.c (check_got): Likewise.
4063 * config/tc-mips.c (append_insn): Likewise.
4064 (s_mipsset): Likewise.
4065 (mips_record_label): Likewise.
4066 (s_mips_end): Likewise.
4067 * config/tc-mmix.c (mmix_frob_file): Likewise.
4068 * config/tc-mn10200.c: Likewise.
4069 * config/tc-mn10300.c: Likewise.
4070 * config/tc-moxie.c: Likewise.
4071 * config/tc-msp430.c: Likewise.
4072 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
4073 * config/tc-ns32k.c: Likewise.
4074 * config/tc-or1k.c: Likewise.
4075 * config/tc-pdp11.c: Likewise.
4076 * config/tc-pj.c (fake_opcode): Likewise.
4077 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
4078 (ppc_macro): Likewise.
4079 (ppc_dwsect): Likewise.
4080 (ppc_machine): Likewise.
4081 * config/tc-rl78.c (rl78_frag_init): Likewise.
4082 * config/tc-rx.c (rx_frag_init): Likewise.
4083 * config/tc-s390.c (s390_lit_suffix): Likewise.
4084 (s390_machine): Likewise.
4085 (s390_machinemode): Likewise.
4086 * config/tc-score.c (s3_insert_reg): Likewise.
4087 (s3_gen_reloc): Likewise.
4088 * config/tc-score7.c (s7_insert_reg): Likewise.
4089 (s7_gen_reloc): Likewise.
4090 * config/tc-tic30.c (tic30_operand): Likewise.
4091 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
4092 * config/tc-tic54x.c (stag_add_field): Likewise.
4093 (tic54x_struct): Likewise.
4094 (tic54x_space): Likewise.
4095 (tic54x_field): Likewise.
4096 (tic54x_mlib): Likewise.
4097 (subsym_substitute): Likewise.
4098 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
4099 * config/tc-vax.c: Likewise.
4100 * config/tc-xc16x.c: Likewise.
4101 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
4102 (directive_push): Likewise.
4103 (xtensa_begin_directive): Likewise.
4104 (tokenize_arguments): Likewise.
4105 (xtensa_add_literal_sym): Likewise.
4106 (new_resource_table): Likewise.
4107 (resize_resource_table): Likewise.
4108 (emit_single_op): Likewise.
4109 (xtensa_create_trampoline_frag): Likewise.
4110 (xtensa_maybe_create_literal_pool_frag): Likewise.
4111 (xtensa_add_config_info): Likewise.
4112 (xtensa_realloc_fixup_cache): Likewise.
4113 (add_subseg_info): Likewise.
4114 (cache_literal_section): Likewise.
4115 (add_xt_block_frags): Likewise.
4116 (add_xt_prop_frags): Likewise.
4117 (init_op_placement_info_table): Likewise.
4118 (build_section_rename): Likewise.
4119 * config/tc-z80.c: Likewise.
4120 * config/tc-z8k.c: Likewise.
4121 * depend.c (register_dependency): Likewise.
4122 * dwarf2dbg.c (get_line_subseg): Likewise.
4123 (dwarf2_gen_line_info_1): Likewise.
4124 (get_filenum): Likewise.
4125 * ecoff.c (allocate_scope): Likewise.
4126 (allocate_vlinks): Likewise.
4127 (allocate_shash): Likewise.
4128 (allocate_thash): Likewise.
4129 (allocate_tag): Likewise.
4130 (allocate_forward): Likewise.
4131 (allocate_thead): Likewise.
4132 (allocate_lineno_list): Likewise.
4133 * expr.c (make_expr_symbol): Likewise.
4134 * hash.c (hash_new_sized): Likewise.
4135 * input-file.c (input_file_push): Likewise.
4136 * listing.c (file_info): Likewise.
4137 (listing_newline): Likewise.
4138 * macro.c (new_formal): Likewise.
4139 (define_macro): Likewise.
4140 * remap.c (add_debug_prefix_map): Likewise.
4141 * symbols.c (symbol_find_noref): Likewise.
4142 (define_dollar_label): Likewise.
4143 (fb_label_instance_inc): Likewise.
4144 (symbol_relc_make_value): Likewise.
4146 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4148 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
4149 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
4150 (ppc_znop): Likewise.
4151 (ppc_pe_section): Likewise.
4152 (ppc_frob_symbol): Likewise.
4153 * config/tc-tic30.c (tic30_operand): Likewise.
4154 * config/tc-tic4x.c (tic4x_sect): Likewise.
4155 (tic4x_usect): Likewise.
4157 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4159 * config/tc-alpha.c: Const qualify FLT_CHARS.
4160 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
4161 * config/tc-cris.h: Likewise.
4163 * config/tc-mmix.c (md_atof): Adjust comment.
4164 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
4165 * tc.h: Declare FLT_CHARS and EXP_CHARS.
4167 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4169 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
4170 * config/tc-score7.c (s7_gen_reloc): Likewise.
4172 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4174 * config/tc-arm.c (do_t_branch): Change the type of reloc to
4175 bfd_reloc_code_real_type.
4177 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4179 * config/bfin-parse.y (current_inputline): Remove definition.
4180 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
4182 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4184 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
4187 2016-04-02 Alan Modra <amodra@gmail.com>
4190 * read.c (assign_symbol): Consume rest of line after an error
4191 rather than continuing to process the line.
4193 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4195 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
4196 (MAX_FLAG_NAME_LENGTH): ...this.
4197 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
4198 * config/tc-arc.c (tokenize_flags): Likewise.
4200 2016-04-01 Alan Modra <amodra@gmail.com>
4202 * cgen.c (weak_operand_overflow_check): Return const char*.
4203 * messages.c (as_internal_value_out_of_range): Formatting.
4204 (as_warn_value_out_of_range): Consify prefix param.
4205 (as_bad_value_out_of_range): Likewise.
4206 * read.c (s_errwarn): Constify msg..
4207 (s_float_space, float_cons): ..and err.
4208 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
4209 ieee_md_atof, vax_md_atof): Update prototypes.
4210 * tc.h (md_atof): Update prototype.
4211 * config/atof-ieee.c (ieee_md_atof): Return const char*.
4212 * config/atof-vax.c (vax_md_atof): Likewise.
4213 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
4214 * config/tc-aarch64.c (md_atof): Return const char*.
4215 * config/tc-alpha.c (s_alpha_section_name): Likewise.
4216 (s_alpha_comm): Constify sec_name.
4217 (section_name): Constify.
4218 (s_alpha_section): Consify name..
4219 (alpha_elf_section_letter): ..and ptr_msg param..
4220 (md_atof): ..and return.
4221 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
4222 * config/tc-arc.c (md_atof): Return const char*.
4223 * config/tc-arm.c (md_atof): Likewise.
4224 * config/tc-avr.c (md_atof): Likewise.
4225 * config/tc-bfin.c (md_atof): Likewise.
4226 * config/tc-cr16.c (md_atof): Likewise.
4227 * config/tc-cris.c (md_atof): Likewise.
4228 * config/tc-crx.c (md_atof): Likewise.
4229 * config/tc-d10v.c (md_atof): Likewise.
4230 * config/tc-d30v.c (md_atof): Likewise.
4231 * config/tc-dlx.c (md_atof): Likewise.
4232 * config/tc-epiphany.c (md_atof): Likewise.
4233 * config/tc-fr30.c (md_atof): Likewise.
4234 * config/tc-frv.c (md_atof): Likewise.
4235 * config/tc-ft32.c (md_atof): Likewise.
4236 * config/tc-h8300.c (md_atof): Likewise.
4237 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
4238 (struct default_space_dict): Likewise.
4239 (create_new_space): Constify name param.
4240 (create_new_subspace): Likewise.
4241 (is_defined_space, is_defined_subspace): Likewise.
4242 (pa_parse_space_stmt): Constify space_name param.
4243 (md_atof): Return const char*.
4244 (pa_spaces_begin): Constify name.
4245 * config/tc-i370.c (md_atof): Return const char*.
4246 * config/tc-i386.c (md_atof): Likewise.
4247 (x86_64_section_letter): Constify ptr_msg param.
4248 * config/tc-i386.h (x86_64_section_letter): Update prototype.
4249 * config/tc-i860.c (struct i860_it): Constify error.
4250 (md_atof): Return const char*.
4251 * config/tc-i960.c (md_atof): Likewise.
4252 * config/tc-ia64.c (md_atof): Likewise.
4253 (ia64_elf_section_letter): Constify ptr_msg param.
4254 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
4255 * config/tc-ip2k.c (md_atof): Return const char*.
4256 * config/tc-iq2000.c (md_atof): Likewise.
4257 * config/tc-lm32.c (md_atof): Likewise.
4258 * config/tc-m32c.c (md_atof): Likewise.
4259 * config/tc-m32r.c (md_atof): Likewise.
4260 * config/tc-m68hc11.c (md_atof): Likewise.
4261 * config/tc-m68k.c (md_atof): Likewise.
4262 * config/tc-mcore.c (md_atof): Likewise.
4263 * config/tc-mep.c (md_atof): Likewise.
4264 (mep_elf_section_letter): Constify ptr_msg param.
4265 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
4266 * config/tc-metag.c (md_atof): Return const char*.
4267 * config/tc-microblaze.c (md_atof): Likewise.
4268 * config/tc-microblaze.h (md_atof): Delete prototype.
4269 * config/tc-mips.c (mips_parse_argument_token): Constify err.
4270 (md_atof): Return const char*.
4271 * config/tc-mmix.c (md_atof): Likewise.
4272 * config/tc-mn10200.c (md_atof): Likewise.
4273 * config/tc-mn10300.c (md_atof): Likewise.
4274 * config/tc-moxie.c (md_atof): Likewise.
4275 * config/tc-msp430.c (md_atof): Likewise.
4276 * config/tc-mt.c (md_atof): Likewise.
4277 * config/tc-nds32.c (md_atof): Likewise.
4278 * config/tc-nios2.c (md_atof): Likewise.
4279 (nios2_elf_section_letter): Constify ptr_msg param.
4280 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
4281 * config/tc-ns32k.c (md_atof): Return const char*.
4282 * config/tc-or1k.c (md_atof): Likewise.
4283 * config/tc-pdp11.c (struct pdp11_code): Constify error.
4284 (md_atof): Return const char*.
4285 * config/tc-pj.c (md_atof): Likewise.
4286 * config/tc-ppc.c (md_atof): Likewise.
4287 * config/tc-rl78.c (md_atof): Likewise.
4288 * config/tc-rx.c (md_atof): Likewise.
4289 * config/tc-s390.c (md_atof): Likewise.
4290 * config/tc-score.c (s3_atof, md_atof): Likewise.
4291 * config/tc-sh.c (md_atof): Likewise.
4292 * config/tc-sparc.c (struct sparc_it): Constify error.
4293 (md_atof): Return const char*.
4294 * config/tc-spu.c (md_atof): Likewise.
4295 * config/tc-tic30.c (md_atof): Likewise.
4296 * config/tc-tic4x.c (md_atof): Likewise.
4297 * config/tc-tic54x.c (md_atof): Likewise.
4298 * config/tc-tic6x.c (md_atof): Likewise.
4299 * config/tc-tilegx.c (md_atof): Likewise.
4300 * config/tc-tilepro.c (md_atof): Likewise.
4301 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
4302 * config/tc-vax.c (md_atof): Likewise.
4303 * config/tc-visium.c (md_atof): Likewise.
4304 * config/tc-xc16x.c (md_atof): Likewise.
4305 * config/tc-xgate.c (md_atof): Likewise.
4306 * config/tc-xstormy16.c (md_atof): Likewise.
4307 * config/tc-xtensa.c (md_atof): Likewise.
4308 * config/tc-z80.c (md_atof): Likewise.
4309 * config/tc-z8k.c (md_atof): Likewise.
4311 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4313 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
4315 (xtensa_section_rename): Make argument type const char *.
4316 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
4318 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4320 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
4323 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4325 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
4327 (m32c_indirect_operand): Likewise.
4328 * config/tc-nds32.c (do_pseudo_b): Likewise.
4329 (do_pseudo_bal): Likewise.
4330 (do_pseudo_ls_bhw): Likewise.
4332 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4334 * as.c (parse_args): Cast literal to char * when assigning to optarg.
4336 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4338 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
4340 * config/tc-sparc.c (s_register): Cast a literal to char * in
4343 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4345 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
4347 * config/tc-m32r.c (expand_debug_syms): Likewise.
4348 * config/tc-msp430.c (msp430_dstoperand): Likewise.
4349 * config/tc-z80.c (md_begin): Likewise.
4350 * stabs.c (stabs_generate_asm_func): Likewise.
4352 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4354 * cgen.c: Modernize the way functions declare arguments.
4355 * config/tc-bfin.c: Likewise.
4356 * config/tc-pdp11.c: Likewise.
4357 * literal.c: Likewise.
4359 * stabs.c: Likewise.
4361 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4363 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
4364 variables unsigned char[].
4365 * config/tc-alpha.c (alpha_handle_align): Likewise.
4366 * config/tc-arm.c (arm_handle_align): Likewise.
4367 * config/tc-z80.c: Likewise.
4369 2016-03-30 Nick Clifton <nickc@redhat.com>
4372 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
4375 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4377 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
4378 * testsuite/gas/elf/elf.exp: Likewise.
4379 * testsuite/gas/all/redef3.d: Allow execution for ARC.
4381 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4383 * testsuite/gas/arc/warn.exp: Fix matching pattern.
4385 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
4387 * testsuite/gas/arc/ext2op.d: New file.
4388 * testsuite/gas/arc/ext2op.s: Likewise.
4389 * testsuite/gas/arc/ext3op.d: Likewise.
4390 * testsuite/gas/arc/ext3op.s: Likewise.
4392 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4394 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
4396 * config/tc-alpha.c (md_parse_option): Likewise.
4397 * config/tc-arc.c (md_parse_option): Likewise.
4398 * config/tc-arm.c (struct arm_long_option_table): Likewise.
4399 (md_parse_option): Likewise.
4400 * config/tc-avr.c (md_parse_option): Likewise.
4401 * config/tc-bfin.c (md_parse_option): Likewise.
4402 * config/tc-cr16.c (md_parse_option): Likewise.
4403 * config/tc-cris.c (s_cris_arch): Likewise.
4404 (md_parse_option): Likewise.
4405 * config/tc-crx.c (md_parse_option): Likewise.
4406 * config/tc-d10v.c (md_parse_option): Likewise.
4407 * config/tc-d30v.c (md_parse_option): Likewise.
4408 * config/tc-dlx.c (md_parse_option): Likewise.
4409 * config/tc-epiphany.c (md_parse_option): Likewise.
4410 * config/tc-fr30.c (md_parse_option): Likewise.
4411 * config/tc-frv.c (md_parse_option): Likewise.
4412 * config/tc-ft32.c (md_parse_option): Likewise.
4413 * config/tc-h8300.c (md_parse_option): Likewise.
4414 * config/tc-hppa.c (md_parse_option): Likewise.
4415 * config/tc-i370.c (md_parse_option): Likewise.
4416 * config/tc-i386.c (md_parse_option): Likewise.
4417 * config/tc-i860.c (md_parse_option): Likewise.
4418 * config/tc-i960.c (md_parse_option): Likewise.
4419 * config/tc-ia64.c (md_parse_option): Likewise.
4420 * config/tc-ip2k.c (md_parse_option): Likewise.
4421 * config/tc-iq2000.c (md_parse_option): Likewise.
4422 * config/tc-lm32.c (md_parse_option): Likewise.
4423 * config/tc-m32c.c (md_parse_option): Likewise.
4424 * config/tc-m32r.c (md_parse_option): Likewise.
4425 * config/tc-m68hc11.c (md_parse_option): Likewise.
4426 * config/tc-m68k.c (md_parse_option): Likewise.
4427 * config/tc-mcore.c (md_parse_option): Likewise.
4428 * config/tc-mep.c (md_parse_option): Likewise.
4429 * config/tc-metag.c (struct metag_long_option): Likewise.
4430 (md_parse_option): Likewise.
4431 * config/tc-microblaze.c (md_parse_option): Likewise.
4432 * config/tc-microblaze.h (md_parse_option): Remove prototype.
4433 * config/tc-mips.c (md_parse_option): Adjust.
4434 * config/tc-mmix.c (md_parse_option): Likewise.
4435 * config/tc-mn10200.c (md_parse_option): Likewise.
4436 * config/tc-mn10300.c (md_parse_option): Likewise.
4437 * config/tc-moxie.c (md_parse_option): Likewise.
4438 * config/tc-msp430.c (md_parse_option): Likewise.
4439 * config/tc-mt.c (md_parse_option): Likewise.
4440 * config/tc-nds32.c (md_parse_option): Likewise.
4441 * config/tc-nds32.h (nds32_parse_option): Likewise.
4442 * config/tc-nios2.c (md_parse_option): Likewise.
4443 * config/tc-ns32k.c (md_parse_option): Likewise.
4444 * config/tc-or1k.c (md_parse_option): Likewise.
4445 * config/tc-pdp11.c (md_parse_option): Likewise.
4446 * config/tc-pj.c (md_parse_option): Likewise.
4447 * config/tc-ppc.c (md_parse_option): Likewise.
4448 * config/tc-rl78.c (md_parse_option): Likewise.
4449 * config/tc-rx.c (md_parse_option): Likewise.
4450 * config/tc-s390.c (s390_parse_cpu): Likewise.
4451 * config/tc-score.c (md_parse_option): Likewise.
4452 * config/tc-sh.c (md_parse_option): Likewise.
4453 * config/tc-sparc.c (md_parse_option): Likewise.
4454 * config/tc-spu.c (md_parse_option): Likewise.
4455 * config/tc-tic30.c (md_parse_option): Likewise.
4456 * config/tc-tic4x.c (md_parse_option): Likewise.
4457 * config/tc-tic54x.c (md_parse_option): Likewise.
4458 * config/tc-tic6x.c (md_parse_option): Likewise.
4459 * config/tc-tilegx.c (md_parse_option): Likewise.
4460 * config/tc-tilepro.c (md_parse_option): Likewise.
4461 * config/tc-v850.c (md_parse_option): Likewise.
4462 * config/tc-vax.c (md_parse_option): Likewise.
4463 * config/tc-visium.c (struct visium_long_option_table): Likewise.
4464 * config/tc-xc16x.c (md_parse_option): Likewise.
4465 * config/tc-xgate.c (md_parse_option): Likewise.
4466 * config/tc-xstormy16.c (md_parse_option): Likewise.
4467 * config/tc-xtensa.c (md_parse_option): Likewise.
4468 * config/tc-z80.c (md_parse_option): Likewise.
4469 * config/tc-z8k.c (md_parse_option): Likewise.
4470 * tc.h (md_parse_option): Likewise.
4472 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4474 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
4475 * config/tc-hppa.c (fix_new_hppa): Likewise.
4476 (pa_vtable_entry): Likewise.
4477 (pa_vtable_inherit): Likewise.
4478 * config/tc-m68k.c (md_begin): Likewise.
4480 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4482 * config/obj-elf.c (obj_elf_section_name): Return const char *.
4483 * config/obj-elf.h (obj_elf_section_name): Adjust.
4484 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
4485 (aarch64_parse_cpu): Likewise.
4486 (aarch64_parse_arch): Likewise.
4487 * config/tc-arm.c (arm_parse_extension): Likewise.
4488 (arm_parse_cpu): Likewise.
4489 (arm_parse_arch): Likewise.
4490 * config/tc-nds32.c: Likewise.
4491 * config/xtensa-relax.c (parse_special_fn): Likewise.
4492 * stabs.c (generate_asm_file): Likewise.
4494 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4496 * config/tc-cr16.c (cr16_assemble): New function.
4497 (md_assemble): Call cr16_assemble.
4499 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4501 * as.c (parse_args): Adjust.
4502 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
4503 * config/obj-elf.c (elf_frob_symbol): Adjust.
4505 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
4507 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
4508 registers to be in the 16..31 range.
4510 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4512 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
4515 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4517 * config/tc-visium.c (md_atof): Localize the string returned on
4520 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4522 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
4523 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
4524 * config/tc-m68hc11.c (md_begin): Likewise.
4525 (print_opcode_list): Likewise.
4526 * config/tc-msp430.c (msp430_section): Likewise.
4527 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
4528 (s3_build_dependency_insn_hsh): Likewise.
4529 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
4530 (s7_build_dependency_insn_hsh): Likewise.
4531 * config/tc-tic4x.c: Likewise.
4532 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4533 (subsym_get_arg): Likewise.
4534 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
4535 (get_directive): Likewise.
4536 (cache_literal_section): Likewise.
4537 * config/xtensa-relax.c: Likewise.
4538 * symbols.c (symbol_create): Likewise.
4539 (local_symbol_make): Likewise.
4540 (symbol_relc_make_expr): Likewise.
4542 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4544 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
4547 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4549 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
4552 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4554 * config/tc-ia64.c (ia64_do_align): Remove.
4555 (ia64_cons_align): Call do_align () directly.
4556 (dot_proc): Likewise.
4557 (stmt_float_cons): Likewise.
4559 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4561 * listing.c (listing_message): Use XNEW style allocation macros.
4562 * read.c (read_a_source_file): Likewise.
4563 (read_symbol_name): Likewise.
4564 (s_mri_common): Likewise.
4565 (assign_symbol): Likewise.
4566 (s_reloc): Likewise.
4567 (emit_expr_with_reloc): Likewise.
4568 (s_incbin): Likewise.
4569 (s_include): Likewise.
4570 * sb.c (sb_build): Likewise.
4571 (sb_check): Likewise.
4573 2016-03-22 Alan Modra <amodra@gmail.com>
4575 * write.c (record_alignment): Revert 2016-02-18 change.
4577 2016-03-22 Alan Modra <amodra@gmail.com>
4579 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
4580 (emit_jsrjmp, tc_gen_reloc): Likewise.
4581 * config/tc-i370.c (i370_macro): Likewise.
4583 2016-03-22 Nick Clifton <nickc@redhat.com>
4585 * configure: Regenerate.
4587 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4589 * testsuite/gas/arc/nps400-0.d: New file.
4590 * testsuite/gas/arc/nps400-0.s: New file.
4591 * testsuite/gas/arc/nps400-1.d: New file.
4592 * testsuite/gas/arc/nps400-1.s: New file.
4594 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4596 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
4597 declarations to start of block. Reset code on all flags before
4598 attempting to match them. Handle multiple hits on the same flag.
4600 * testsuite/gas/arc/asm-errors.d: New file.
4601 * testsuite/gas/arc/asm-errors.err: New file.
4602 * testsuite/gas/arc/asm-errors.s: New file.
4604 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4606 * config/tc-arc.c (cpu_types): Add nps400 entry.
4607 (check_zol): Handle nps400.
4609 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4611 * config/tc-arc.c (arc_select_cpu): Remove use of
4614 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4616 * config/tc-arc.c (arc_target): Delay initialisation until
4618 (arc_target_name): Likewise.
4619 (arc_features): Likewise.
4620 (arc_mach_type): Likewise.
4621 (cpu_types): Remove "all" entry.
4622 (arc_select_cpu): New function, most of the content is from...
4623 (md_parse_option): ... here. Call new arc_select_cpu.
4624 (md_begin): Call arc_select_cpu if needed, default is now arc700.
4626 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4628 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
4629 * testsuite/gas/arc/inline-data-2.d: New file.
4631 2016-03-21 Nick Clifton <nickc@redhat.com>
4633 * atof-generic.c: Replace use of alloca with call to xmalloc.
4635 * dwarf2dbg.c: Likewise.
4636 * macro.c: Likewise.
4637 * remap.c: Likewise.
4638 * stabs.c: Likewise.
4639 * symbols.c: Likewise.
4640 * config/obj-elf.c: Likewise.
4641 * config/tc-aarch64.c: Likewise.
4642 * config/tc-arc.c: Likewise.
4643 * config/tc-arm.c: Likewise.
4644 * config/tc-avr.c: Likewise.
4645 * config/tc-ia64.c: Likewise.
4646 * config/tc-mips.c: Likewise.
4647 * config/tc-msp430.c: Likewise.
4648 * config/tc-nds32.c: Likewise.
4649 * config/tc-ppc.c: Likewise.
4650 * config/tc-sh.c: Likewise.
4651 * config/tc-tic30.c: Likewise.
4652 * config/tc-tic54x.c: Likewise.
4653 * config/tc-xstormy16.c: Likewise.
4654 * config/te-vms.c: Likewise.
4655 * configure: Regenerate.
4657 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4659 * tc-i386.c (f32_1): Change type to unsigned char[].
4679 (jump_31): Likewise.
4680 (f32_patt): Likewise.
4681 (f16_patt): Likewise.
4690 (alt_patt): Likewise.
4692 2016-03-18 Nick Clifton <nickc@redhat.com>
4694 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
4695 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
4696 .tlsdescldr and .xword directives.
4699 * testsuite/gas/aarch64/pr19721.s: New test source file.
4700 * testsuite/gas/aarch64/pr19721.d: New test driver file.
4702 * doc/as.texinfo: Place the target specific command line options
4703 into their own man page section.
4705 2016-03-16 Jiong Wang <jiong.wang@arm.com>
4707 * config/tc-arm.c (N_S_32): New.
4708 (N_F_16_32): Likewise.
4709 (N_SUF_32): Support N_F16.
4710 (N_IF_32): Likewise.
4711 (neon_dyadic_misc): Likewise.
4712 (do_neon_cmp): Likewise.
4713 (do_neon_cmp_inv): Likewise.
4714 (do_neon_mul): Likewise.
4715 (do_neon_fcmp_absolute): Likewise.
4716 (do_neon_step): Likewise.
4717 (do_neon_abs_neg): Likewise.
4718 (CVT_FLAVOR_VAR): Likewise.
4719 (do_neon_cvt_1): Likewise.
4720 (do_neon_recip_est): Likewise.
4721 (do_vmaxnm): Likewise.
4722 (do_vrint_1): Likewise.
4723 (neon_check_type): Check architecture support for FP16 extension.
4724 (insns): Update comments.
4725 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
4726 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
4727 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
4728 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
4730 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
4732 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
4735 2016-03-16 Nick Clifton <nickc@redhat.com>
4737 * read.c (emit_expr_with_reloc): Add code check a bignum with
4739 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
4741 * testsuite/gas/elf/bignum.s: New test source file.
4742 * testsuite/gas/elf/bignum.d: New test driver file.
4743 * testsuite/gas/elf/elf.exp: Run the new test.
4745 2016-03-15 Ulrich Drepper <drepper@gmail.com>
4747 * doc/c-i386.texi (Register Naming): Update to details of the
4748 latest architecture version.
4750 2016-03-10 Mickael Guene <mickael.guene@st.com>
4753 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
4755 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
4756 (do_t_mov_cmp): Likewise.
4757 (do_t_add_sub): Protect against bad relocations usage.
4758 (do_t_mov_cmp): Likewise.
4759 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
4760 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
4761 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
4762 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
4764 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4766 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
4768 (do_neon_ld_st_lane): Likewise.
4769 (do_neon_ld_dup): Likewise.
4771 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
4773 * testsuite/gas/arc/inline-data-1.d: New file.
4774 * testsuite/gas/arc/inline-data-1.s: New file.
4776 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
4778 * config/tc-arm.c (arm_cpus): Add cortex-r8.
4779 * doc/c-arm.texi: Add cortex-r8.
4781 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4783 * config/tc-arc.c: Add const qualifiers.
4784 * config/tc-h8300.c (md_begin): Likewise.
4785 * config/tc-ia64.c (print_prmask): Likewise.
4786 * config/tc-msp430.c (msp430_operands): Likewise.
4787 * config/tc-nds32.c (struct suffix_name): Likewise.
4788 (struct nds32_parse_option_table): Likewise.
4789 (struct nds32_set_option_table): Likewise.
4790 (do_pseudo_pushpopm): Likewise.
4791 (do_pseudo_pushpop_stack): Likewise.
4792 (nds32_relax_relocs): Likewise.
4793 (nds32_flag): Likewise.
4794 (struct nds32_hint_map): Likewise.
4795 (nds32_find_reloc_table): Likewise.
4796 (nds32_match_hint_insn): Likewise.
4797 * config/tc-s390.c: Likewise.
4798 * config/tc-sh.c (get_specific): Likewise.
4799 * config/tc-tic30.c: Likewise.
4800 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
4801 (tic4x_indirect_parse): Likewise.
4802 * config/tc-vax.c (vax_cons): Likewise.
4803 * config/tc-z80.c (struct reg_entry): Likewise.
4804 * config/tc-epiphany.c (md_assemble): Adjust.
4805 (epiphany_assemble): New function.
4806 (epiphany_elf_section_rtn): Call do_align directly.
4807 (epiphany_elf_section_text): Likewise.
4808 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
4809 (ip2k_elf_section_text): Likewise.
4810 * read.c (do_align): Make it not static.
4811 * read.h (do_align): New prototype.
4813 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4815 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4816 for ARMv8.1 AdvSIMD use.
4817 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4818 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4820 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4822 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4824 (record_feature_use): New.
4825 (mark_feature_used): Use record_feature_use.
4826 (do_neon_qrdmlah): New.
4827 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4829 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4830 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4831 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4832 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4833 Make source file explicit.
4834 * testsuite/gas/arm/armv8-a+rdma.l: New.
4835 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4836 directives. Fix white-space.
4837 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4839 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4841 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4843 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4844 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4846 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4847 (tc_arc_fix_adjustable): Changed default return value to 1.
4848 * testsuite/gas/arc/j.d: Updated expected symbol
4849 * testsuite/gas/arc/jl.d: Likewise
4850 * testsuite/gas/arc/relax-avoid1.d: Likewise
4851 * testsuite/gas/arc/st.d: Likewise
4853 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4855 * config/tc-arc.c: Enable code density instructions for ARC EM.
4857 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4860 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
4862 * as.c (flag_use_elf_stt_common): New.
4863 (show_usage): Add --elf-stt-common=.
4864 (option_values): Add OPTION_ELF_STT_COMMON.
4865 (std_longopts): Add --elf-stt-common=.
4866 (parse_args): Handle --elf-stt-common=.
4867 * as.h (flag_use_elf_stt_common): New.
4868 * config.in: Regenerated.
4869 * configure: Likewise.
4870 * configure.ac: Add --enable-elf-stt-common and define
4871 DEFAULT_GENERATE_ELF_STT_COMMON.
4872 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
4873 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
4874 * doc/as.texinfo: Document --elf-stt-common=.
4875 * testsuite/gas/elf/common3.s: New file.
4876 * testsuite/gas/elf/common3a.d: Likewise.
4877 * testsuite/gas/elf/common3b.d: Likewise.
4878 * testsuite/gas/elf/common4.s: Likewise.
4879 * testsuite/gas/elf/common4a.d: Likewise.
4880 * testsuite/gas/elf/common4b.d: Likewise.
4881 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
4882 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
4883 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
4885 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
4886 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
4887 --elf-stt-common=no to as.
4888 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
4889 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
4890 --elf-stt-common=no to as.
4891 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
4892 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
4893 of dw2-compress-3 and dw2-compressed-3.
4895 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4897 * as.c (select_emulation_mode): Add const qualifiers.
4899 * config/bfin-defs.h: Likewise.
4900 * config/bfin-parse.y: Likewise.
4901 * config/rx-parse.y: Likewise.
4902 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4903 (struct aarch64_cpu_option_table): Likewise.
4904 (struct aarch64_arch_option_table): Likewise.
4905 (struct aarch64_option_cpu_value_table): Likewise.
4906 (struct aarch64_long_option_table): Likewise.
4907 (struct aarch64_option_abi_value_table): Likewise.
4908 * config/tc-arm.c (struct reloc_entry): Likewise.
4909 (tc_gen_reloc): Likewise.
4910 (struct arm_option_table): Likewise.
4911 (struct arm_legacy_option_table): Likewise.
4912 (struct arm_cpu_option_table): Likewise.
4913 (struct arm_arch_option_table): Likewise.
4914 (struct arm_option_extension_value_table): Likewise.
4915 (struct arm_option_fpu_value_table): Likewise.
4916 (struct arm_option_value_table): Likewise.
4917 (struct arm_long_option_table): Likewise.
4918 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4919 (struct mcu_type_s): Likewise.
4920 (struct exp_mod_s): Likewise.
4921 (avr_operand): Likewise.
4922 (avr_operands): Likewise.
4923 * config/tc-d10v.c (md_begin): Likewise.
4924 * config/tc-dlx.c: Likewise.
4925 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4926 * config/tc-ft32.c (parse_condition): Likewise.
4927 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4928 * config/tc-hppa.c (pa_ip): Likewise.
4929 (hppa_regname_to_dw2regnum): Likewise.
4930 * config/tc-i370.c (i370_elf_suffix): Likewise.
4931 * config/tc-i960.c (struct tabentry): Likewise.
4932 * config/tc-m32r.c: Likewise.
4933 * config/tc-m68k.c: Likewise.
4934 * config/tc-m68k.h: Likewise.
4935 * config/tc-mcore.c (parse_psrmod): Likewise.
4936 * config/tc-metag.c (struct metag_core_option): Likewise.
4937 (struct metag_long_option): Likewise.
4938 * config/tc-microblaze.c: Likewise.
4939 * config/tc-mips.c (macro): Likewise.
4940 * config/tc-mn10200.c: Likewise.
4941 * config/tc-mn10300.c: Likewise.
4942 * config/tc-msp430.c (struct rcodes_s): Likewise.
4943 (struct hcodes_s): Likewise.
4944 (md_parse_option): Likewise.
4945 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4946 (optlist): Likewise.
4947 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4948 (tc_ppc_regname_to_dw2regnum): Likewise.
4949 * config/tc-ppc.h: Likewise.
4950 * config/tc-rl78.c: Likewise.
4951 * config/tc-rx.c (struct cpu_type): Likewise.
4952 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4953 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4954 (sparc_ip): Likewise.
4955 * config/tc-spu.c (insn_fmt_string): Likewise.
4956 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4957 * config/tc-v850.c: Likewise.
4958 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4959 (struct visium_long_option_table): Likewise.
4960 * config/tc-xgate.c: Likewise.
4961 * config/tc-z8k.c: Likewise.
4962 * read.c (add_include_dir): Likewise.
4965 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4967 * testsuite/gas/all/gas.exp: Change target pattern to cover
4969 * testsuite/gas/all/redef3.d: Likewise.
4970 * testsuite/gas/elf/elf.exp: Likewise.
4972 2016-02-24 Renlin Li <renlin.li@arm.com>
4974 * config/tc-arm.c (BAD_FP16): New error message macro.
4975 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4976 fp16 scalar instructions.
4977 (neon_check_type): Allow different size from key.
4978 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4979 (try_vfp_nsyn): Likewise.
4980 (do_vfp_nsyn_mla_mls): Likewise.
4981 (do_vfp_nsyn_fma_fms): Likewise.
4982 (do_vfp_nsyn_ldm_stm): Likewise
4983 (do_vfp_nsyn_sqrt): Likewise
4984 (do_vfp_nsyn_div): Likewise
4985 (do_vfp_nsyn_nmul): Likewise.
4986 (do_vfp_nsyn_cmp): Likewise.
4987 (do_neon_shll): Likewise.
4988 (do_vfp_nsyn_cvt_fpv8): Likewise.
4989 (do_neon_cvttb_2): Likewise.
4990 (do_neon_mov): Likewise.
4991 (do_neon_rshift_round_imm): Likewise.
4992 (do_neon_ldr_str): Likewise.
4993 (do_vfp_nsyn_fpv8): Likewise.
4994 (do_vmaxnm): Likewise.
4995 (do_vrint_1): Likewise.
4996 (insns): New entry for vins, vmovx.
4997 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4998 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4999 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
5000 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
5001 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
5002 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
5003 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
5005 2016-02-24 Renlin Li <renlin.li@arm.com>
5007 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
5008 (neon_shape_class): New SC_HALF.
5009 (neon_shape_el): New SE_H.
5010 (neon_shape_el_size): New size for SE_H.
5011 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
5012 (neon_select_shape): Add SE_H support code.
5013 (el_type_of_type_chk): Use N_F_ALL.
5014 (do_vfp_nsyn_cvt): Add SE_H shape support.
5015 (do_neon_cvtz): Likewise.
5016 (do_neon_cvt_1): Likewise.
5017 (do_neon_cvttb_1): Likewise.
5019 2016-02-24 Renlin Li <renlin.li@arm.com>
5021 * testsuite/gas/arm/copro.d: Adjust output.
5022 * testsuite/gas/arm/copro.s: Adjust co-processor num.
5024 2016-02-24 Renlin Li <renlin.li@arm.com>
5026 * testsuite/gas/arm/mask_1.d: New.
5027 * testsuite/gas/arm/mask_1.s: New.
5029 2016-02-24 Renlin Li <renlin.li@arm.com>
5031 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
5032 * testsuite/gas/arm/copro.d: Update.
5034 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5036 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
5037 * doc/c-arm.texi (ARM Options): Document cortex-a32.
5039 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5041 * doc/c-arm.texi (ARM Options): Document cortex-a17.
5043 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
5045 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
5048 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5050 * output-file.c (output_file_create): Make file name argument const.
5051 (output_file_close): Likewise.
5052 * output-file.h (output_file_create): Adjust.
5053 (output_file_close): Likewise.
5054 * depend.c (quote_string_for_make): Make src argument const char *.
5055 (register_dependency): Likewise.
5056 (wrap_output): Likewise.
5057 * as.h (register_dependency): Adjust.
5058 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
5060 * symbols.c (S_SET_EXTERNAL): Likewise.
5061 * input-scrub.c (as_where): Return the file name.
5062 * as.h (as_where): Adjust prototype.
5063 * app.c (do_scrub_chars): Adjust.
5064 * cond.c (s_elseif): Likewise.
5066 (initialize_cframe): Likewise.
5067 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
5068 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5069 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5070 * config/tc-aarch64.c (output_info): Likewise.
5071 * config/tc-ia64.c (md_assemble): Likewise.
5072 (dot_alias): Likewise.
5073 * config/tc-m68k.c (m68k_frob_label): Likewise.
5074 * config/tc-mmix.c (s_bspec): Likewise.
5075 (mmix_handle_mmixal): Likewise.
5076 * config/tc-rx.c (rx_include): Likewise.
5077 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5078 (tic54x_adjust_symtab): Likewise.
5079 * config/tc-xtensa.c (directive_push): Likewise.
5080 (xtensa_sanity_check): Likewise.
5081 (xtensa_relax_frag): Likewise.
5082 (md_convert_frag): Likewise.
5083 (tinsn_to_slotbuf): Likewise.
5084 * dwarf2dbg.c (dwarf2_where): Likewise.
5085 * ecoff.c (add_file): Likewise.
5086 (ecoff_generate_asm_lineno): Likewise.
5087 * expr.c (make_expr_symbol): Likewise.
5088 * frags.c (frag_new): Likewise.
5089 (frag_var_init): Likewise.
5090 * listing.c (listing_newline): Likewise.
5091 * messages.c (identify): Likewise.
5092 (as_show_where): Likewise.
5093 (as_warn_internal): Likewise.
5094 (as_bad_internal): Likewise.
5095 * read.c (s_irp): Likewise.
5096 (s_macro): Likewise.
5097 (s_reloc): Likewise.
5098 * stabs.c (stabs_generate_asm_file): Likewise.
5099 (stabs_generate_asm_lineno): Likewise.
5100 (stabs_generate_asm_func): Likewise.
5101 * write.c (fix_new_internal): Likewise.
5102 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
5103 (as_warn_value_out_of_range): Adjust prototype.
5104 (as_bad_value_out_of_range): Adjust prototype.
5105 * messages.c (identify): Make file name argument const char *.
5106 (as_warn_internal): Likewise.
5107 (as_warn_where): Likewise.
5108 (as_bad_internal): Likewise.
5109 (as_bad_where): Likewise.
5110 (as_internal_value_out_of_range): Likewise.
5111 (as_warn_value_out_of_range): Likewise.
5112 (as_bad_value_out_of_range): Likewise.
5113 * as.h (found_comment_file): Change type to const char *.
5114 * cond.c (file_line::file): Likewise.
5115 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
5116 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5117 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5118 * config/tc-aarch64.c (output_info): Likewise.
5119 * config/tc-alpha.c (insert_operand): Likewise.
5120 * config/tc-arc.c (insert_operand): Likewise.
5121 * config/tc-d30v.c (check_size): Likewise.
5122 * config/tc-ia64.c (struct alias): Likewise.
5123 * config/tc-m68k.c (struct label_line): Likewise.
5124 * config/tc-mcore.c (md_apply_fix): Likewise.
5125 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
5126 * config/tc-mips.c (mips16_immed): Likewise.
5127 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
5128 * config/tc-ppc.c (ppc_insert_operand): Likewise.
5129 * config/tc-rx.c (rx_include): Likewise.
5130 * config/tc-s390.c (s390_insert_operand): Likewise.
5131 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5132 (tic54x_adjust_symtab): Likewise.
5133 * config/tc-tilegx.c (insert_operand): Likewise.
5134 (apply_special_operator): Likewise.
5135 * config/tc-tilepro.c (insert_operand): Likewise.
5136 * config/tc-xtensa.c (directive_push): Likewise.
5137 * ecoff.c (add_file): Likewise.
5138 (ecoff_generate_asm_lineno): Likewise.
5139 * listing.c (listing_newline): Likewise.
5140 * read.c (s_irp): Likewise.
5141 * write.c (install_reloc): Likewise.
5142 * write.h (struct fix): Likewise.
5143 * input-file.c (file_name): Change type to const char *.
5144 (saved_file::file_name): Likewise.
5145 (input_file_open): Change type of argument to const char *.
5146 * input-file.h (input_file_open): Adjust.
5147 * input-scrub.c (logical_input_file): change type to const char *.
5148 (physical_input_file): Likewise.
5149 (struct input_save): Adjust.
5150 (input_scrub_push): Adjust.
5151 (input_scrub_begin): Adjust.
5153 * input-scrub.c (input_scrub_new_file): Make file name argument const.
5154 (input_scrub_include_file): Likewise.
5155 (new_logical_line_flags): Likewise.
5156 (new_logical_line): Likewise.
5158 * frags.h (struct frag): Change type of fr_file to const char *.
5159 * expr.c (expr_symbol_where): Change type of file argument to
5161 * expr.h (expr_symbol_where): Likewise.
5162 * config/tc-i370.c (md_apply_fix): adjust.
5163 * config/tc-mmix.c (mmix_md_end): Likewise.
5164 * config/tc-ppc.c (md_apply_fix): Likewise.
5165 * config/tc-s390.c (md_apply_fix): Likewise.
5166 * symbols.c (report_op_error): Likewise.
5167 (resolve_symbol_value): Likewise.
5168 * config/tc-ia64.c (slot::src_file): Change type to const char *.
5169 (rsrc::file): Likewise.
5170 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
5172 (xtensa_relax_frag): Likewise.
5173 (md_convert_frag): Likewise.
5174 (tinsn_to_slotbuf): Likewise.
5175 * expr.c (expr_symbol_line): Likewise.
5176 * macro.c (define_macro): Likewise.
5177 * macro.h (macro_struct): Likewise.
5178 * messages.c (as_show_where): Likewise.
5179 * read.c (s_macro): Likewise.
5180 * stabs.c (stabs_generate_asm_file): Likewise.
5181 (generate_asm_file): Likewise.
5182 (stabs_generate_asm_lineno): Likewise.
5183 * write.h (struct reloc_list): Likewise.
5184 * input-scrub.c (as_where): Change return type to const char *.
5185 * as.h (as_wheree): Adjust.
5187 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
5189 * write.c (compress_debug): Move BFD compression bits setting
5191 (write_object_file): Here.
5193 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
5195 * config/tc-i386.c (register_number): Check RegVRex.
5196 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
5197 with %zmm19 and %zmm3.
5198 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
5199 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
5201 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
5202 Jiong Wang <jiong.wang@arm.com>
5204 * config/tc-arm.c (arm_ext_fp16): New.
5205 (arm_extensions): New entry for "fp16".
5207 2016-02-19 Nick Clifton <nickc@redhat.com>
5210 * read.c (read_a_source_file): Check for assemble_one returning
5211 with input_line_pointer set to NULL.
5213 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5215 * listing.c (rebuffer_line): Change return type to void.
5217 * symbols.c (decode_local_label_name): Make type a const char *.
5218 * listing.c (print_source): Make type of p const char *.
5219 (print_line): Make type of string const char *.
5220 (buffer_line): Return const char *.
5221 (title): Make type const char *.
5222 (subtitle): Likewise.
5223 (listing_listing): Make type of p const char *.
5224 * messages.c (as_internal_value_out_of_range): Make type of prefix
5226 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
5227 and string const char *.
5228 * read.c (_bfd_rel): Make type of name const char *.
5229 * app.c (out_string): Change type to const char *.
5230 (struct app_save::out_string): Likewise.
5232 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
5233 Nick Clifton <nickc@redhat.com>
5235 * read.c (finish_bundle): Avoid recording a negative alignment.
5236 (do_align): Use unsigned values for n, len and max. Only create
5237 a frag if the alignment requirement is greater than the minimum
5238 byte alignment. Avoid recording a negative alignment.
5239 (s_align): Use unsigned values where appropriate.
5240 (bss_alloc): Use an unsigned value for the alignment.
5241 (sizeof_sleb128): Add a comment noting that we encode one octet
5242 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
5243 (emit_leb129_expr): Abort if the emitted encoding was longer than
5245 * read.h (output_leb128): Update prototype.
5246 (sizeof_leb128): Update prototype.
5247 (bss_alloc): Update prototype.
5248 * write.c (record_alignment): Use an unsigned value for the
5249 alignment. Do not record alignments less than the minimum
5250 alignment for a byte.
5251 * write.h (record_alignment): Update prototype.
5253 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5255 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
5256 .init.literal/.fini.literal section name.
5257 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
5258 list of xtensa tests.
5259 * testsuite/gas/xtensa/init-fini-literals.d: New file:
5260 init-fini-literals test result patterns.
5261 * testsuite/gas/xtensa/init-fini-literals.s: New file:
5262 init-fini-literals test.
5264 2016-02-17 Nick Clifton <nickc@redhat.com>
5266 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
5267 devices.csv file as of March 2016.
5269 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
5271 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
5273 (tc_arc_regname_to_dw2regnum): Likewise.
5274 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
5275 (tc_cfi_frame_initial_instructions): Likewise.
5276 (tc_regname_to_dw2regnum): Likewise.
5277 * testsuite/gas/cfi/cfi-arc-1.d: New file.
5278 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
5279 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
5281 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
5283 * doc/internals.texi (S_IS_EXTERN): Remove.
5285 2016-02-16 Nick Clifton <nickc@redhat.com>
5287 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
5290 2016-02-16 Renlin Li <renlin.li@arm.com>
5293 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
5294 * testsuite/gas/aarch64/movw_label.d: New.
5295 * testsuite/gas/aarch64/movw_label.s: New.
5297 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
5300 * config/rx-parse.y (MOV): Opcode generation for index
5301 register addressing mode.
5302 * testsuite/gas/rx/rx.exp: Updated for new testcase.
5303 * testsuite/gas/rx/pr19665.s: New file.
5304 * testsuite/gas/rx/pr19665.s: New file.
5305 * testsuite/gas/rx/mov.d: Update expected output.
5307 2016-02-15 Nick Clifton <nickc@redhat.com>
5309 * doc/as.texinfo (.section): Document that numeric values can now
5310 be used for the flags and type fields of the ELF target's .section
5311 directive. Add notes about the restrictions on setting flags and
5313 * config/obj-elf.c (obj_elf_change_section): Allow known sections
5314 to be given processor specific section types. Allow processor and
5315 application specific flags of a section to be set after
5317 (obj_elf_parse_section_letters): Handle parsing numeric values.
5318 (obj_elf_section_type): Handle parsing numeric values.
5319 (obj_elf_section): Allow numeric type values.
5320 * config/obj-elf.h (obj_elf_change_section): Update prototype.
5321 * testsuite/gas/elf/section10.d: New test.
5322 * testsuite/gas/elf/section10.s: Source file for new test.
5323 * testsuite/gas/elf/elf.exp: Run the new test.
5324 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
5325 the description of the flags produced by readelf.
5326 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
5327 * NEWS: Mention the new feature.
5329 2016-02-11 Nick Clifton <nickc@redhat.com>
5332 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
5333 until it is actually used.
5334 (cfi_set_sections): Set cfi_sections_set to true.
5335 (dot_cfi_startproc): Likewise.
5336 (dot_cfi_endproc): Likewise.
5337 (dot_cfi_fde_data): Likewise.
5338 (cfi_finish): Likewise.
5339 (dot_cfi_sections): Do not set cfi_sections_set.
5340 * doc/as.texinfo (.cfi_sections): Note that targets can provide
5341 their own cfi section name. Also note that the directive can be
5342 reissued provided that CFI generation has not started.
5343 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
5344 .cfi_endproc directives so that the redefinition of .cfi_sections
5345 will trigger the generation of the error message.
5346 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
5347 number of error message.
5349 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
5350 Janek van Oirschot <jvanoirs@synopsys.com>
5352 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
5353 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
5355 (arc_flags, arc_relax_type): New structure.
5356 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
5357 (RELAX_TABLE_ENTRY_MAX): New define.
5358 (relaxation_state, md_relax_table, arc_relaxable_insns)
5359 (arc_num_relaxable_ins): New variable.
5360 (rlx_operand_type, arc_rlx_types): New enums.
5361 (arc_relaxable_ins): New structure.
5362 (OPTION_RELAX): New option.
5363 (arc_insn): New relax member.
5364 (arc_flags): Remove.
5365 (relax_insn_p): New function.
5366 (apply_fixups): Likewise.
5367 (relaxable_operand): Likewise.
5368 (may_relax_expr): Likewise.
5369 (relaxable_flag): Likewise.
5370 (arc_pcrel_adjust): Likewise.
5371 (md_estimate_size_before_relax): Implement.
5372 (md_convert_frag): Likewise.
5373 (md_parse_option): Handle new mrelax option.
5374 (md_show_usage): Likewise.
5375 (assemble_insn): Set relax member.
5376 (emit_insn0): New function.
5377 (emit_insn1): Likewise.
5378 (emit_insn): Handle relaxation case.
5379 * NEWS: Mention the new relaxation option.
5380 * doc/c-arc.texi (ARC Options): Document new mrelax option.
5381 * doc/as.texinfo (Target ARC Options): Likewise.
5382 * testsuite/gas/arc/relax-avoid1.d: New file.
5383 * testsuite/gas/arc/relax-avoid1.s: Likewise.
5384 * testsuite/gas/arc/relax-avoid2.d: Likewise.
5385 * testsuite/gas/arc/relax-avoid2.s: Likewise.
5386 * testsuite/gas/arc/relax-avoid3.d: Likewise.
5387 * testsuite/gas/arc/relax-avoid3.s: Likewise.
5388 * testsuite/gas/arc/relax-b.d: Likewise.
5389 * testsuite/gas/arc/relax-b.s: Likewise.
5391 2016-02-08 Nick Clifton <nickc@redhat.com>
5393 * config/tc-ia64.c (dot_prologue): Fix formatting.
5395 2016-02-04 Nick Clifton <nickc@redhat.com>
5397 * config/obj-elf.c (obj_elf_change_section): Remove support for
5398 ARM NOREAD sections.
5399 * config/tc-arm.c (arm_elf_section_letter): Delete.
5400 * config/tc-arm.h (md_elf_section_letter): Delete.
5401 * doc/c-arm.texi (ARM Section Attribute): Delete section.
5402 * testsuite/gas/arm/section-execute-only.d: Delete.
5403 * testsuite/gas/arm/section-execute-only.s: Delete.
5405 2016-02-04 Nick Clifton <nickc@redhat.com>
5408 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
5409 to handle encoding of RRUX instruction.
5410 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
5412 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
5414 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
5416 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
5417 substitutions for BFD_RELOC_* as unsigned.
5418 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
5419 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
5420 * testsuite/gas/xtensa/loc.s: New file: loc test.
5422 2016-02-03 Kevin Buettner <kevinb@redhat.com>
5424 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
5426 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5429 * NEWS: Mention new command line option -mrelax-relocations and
5430 new configure option --enable-x86-relax-relocations for x86
5432 * config.in: Regenerated.
5433 * configure.ac: Add --enable-x86-relax-relocations.
5434 (ac_default_x86_relax_relocations): New. Default to 1 except
5435 for x86 Solaris targets older than Solaris 12.
5436 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
5437 * configure: Likewise.
5438 * config/tc-i386.c (generate_relax_relocations): New.
5439 (OPTION_MRELAX_RELOCATIONS): Likewise.
5440 (output_disp): Don't generate relax relocations if
5441 generate_relax_relocations is 0.
5442 (md_longopts): Add -mrelax-relocations.
5443 (md_show_usage): Likewise.
5444 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
5445 * doc/c-i386.texi: Document -mrelax-relocations=.
5446 * testsuite/gas/i386/got-no-relax.d: New file.
5447 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
5448 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
5449 * testsuite/gas/i386/localpic.d: Likewise.
5450 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
5451 * testsuite/gas/i386/reloc32.d: Likewise.
5452 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
5453 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
5454 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
5455 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
5456 * testsuite/gas/i386/i386.exp: Run got-no-relax and
5457 x86-64-gotpcrel-no-relax.
5459 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5461 * NEWS: Mention new command line option -mfence-as-lock-add=yes
5464 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5466 * NEWS: Remove duplicated marker for 2.26.
5468 2016-02-02 Renlin Li <renlin.li@arm.com>
5470 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
5472 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5474 * testsuite/gas/ip2k/allinsn.d: New file.
5475 * testsuite/gas/ip2k/allinsn.s: New file.
5476 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
5478 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5480 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
5481 some load instructions.
5482 * testsuite/gas/epiphany/allinsn.d: Likewise.
5483 * testsuite/gas/epiphany/regression.d: Likewise.
5485 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5487 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
5488 suffixes from instruction mnemonics in expected output.
5489 * testsuite/gas/epiphany/allinsn.d: Likewise.
5490 * testsuite/gas/epiphany/regression.d: Likewise.
5491 * testsuite/gas/epiphany/sample.d: Likewise.
5493 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5495 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
5497 * testsuite/gas/epiphany/allinsn.d: Likewise.
5498 * testsuite/gas/epiphany/sample.d: Likewise.
5500 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5502 * testsuite/gas/epiphany/sample.d: Update expected output.
5504 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
5506 * config/tc-arc.c (md_apply_fix): Allow addendum.
5507 (arc_reloc_op): Allow complex expressions for tpoff.
5508 (md_apply_fix): Handle resolved TLS local symbol.
5509 * testsuite/gas/arc/tls-relocs1.d: New file.
5510 * testsuite/gas/arc/tls-relocs1.s: Likewise.
5512 2016-02-01 Loria <Loria@phantasia.org>
5515 * config/tc-arm.c (encode_arm_immediate): Recode to improve
5516 efficiency and avoid an LLVM loop optimization bug.
5518 2016-02-01 Nick Clifton <nickc@redhat.com>
5520 * config/tc-microblaze.c (parse_imm): Fix compile time warning
5521 message extending a negative 32-bit value into a larger signed
5522 value on a 32-bit host.
5524 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
5527 * configure.ac (compressed_debug_sections): Replace == with =.
5528 * configure: Regenerated.
5530 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
5531 H.J. Lu <hongjiu.lu@intel.com>
5533 * config/tc-i386.c (avoid_fence): New.
5534 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
5536 (OPTION_FENCE_AS_LOCK_ADD): New.
5537 (md_longopts): Add -mfence-as-lock-add.
5538 (md_parse_option): Handle -mfence-as-lock-add.
5539 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
5540 * doc/c-i386.texi (-mfence-as-lock-add): Document.
5541 * testsuite/gas/i386/i386.exp: Run new tests.
5542 * testsuite/gas/i386/fence-as-lock-add.s: New.
5543 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
5544 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
5545 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
5546 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
5548 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
5550 * configure.ac (compressed_debug_sections): Remove trailing `]'.
5551 * configure: Regenerated.
5553 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
5555 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
5556 (OPTION_MOMIT_LOCK_PREFIX): This.
5557 (md_longopts): Updated.
5558 (md_parse_option): Likewise.
5560 2016-01-25 Catherine Moore <clm@codesourcery.com>
5562 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
5563 if abicalls are in effect.
5564 * testsuite/gas/mips/sdata-gp.s: New test.
5565 * testsuite/gas/mips/sdata-gp.d: New expected output
5566 * testsuite/gas/mips/mips.exp: Run new test.
5568 2016-01-25 Renlin Li <renlin.li@arm.com>
5570 * testsuite/gas/arm/thumb2_it_search.d: New.
5571 * testsuite/gas/arm/thumb2_it_search.s: New.
5573 2016-01-21 Nick Clifton <nickc@redhat.com>
5576 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
5577 with arm-netbsdelf target.
5578 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
5580 2016-01-20 Nick Clifton <nickc@redhat.com>
5583 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
5584 * testsuite/gas/arm/blx-bl-convert.d
5585 * testsuite/gas/arm/plt-1.d: Likewise.
5586 * testsuite/gas/arm/reloc-bad.d: Likewise.
5587 * testsuite/gas/arm/thumb-w-good.d: Likewise.
5588 * testsuite/gas/arm/thumb2_pool.d: Likewise.
5589 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
5590 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
5593 * doc/as.texinfo (Errors): Correct documentation describing the
5594 interaction of .file and .line with warning and error messages.
5597 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
5598 * testsuite/gas/arm/archv8m-main.d: Likewise.
5599 * testsuite/gas/arm/archv8m-base.d: Likewise.
5601 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
5603 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
5604 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
5605 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
5607 2016-01-20 Mickael Guene <mickael.guene@st.com>
5608 Terry Guo <terry.guo@arm.com>
5610 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
5611 SHF_ARM_NOREAD section flag.
5612 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
5614 (arm_elf_section_letter) : Declare it.
5615 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
5616 SHF_ARM_NOREAD section flag.
5617 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
5619 * testsuite/gas/arm/section-execute-only.s: New test case.
5620 * testsuite/gas/arm/section-execute-only.d: Expected output.
5622 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
5624 * config/tc-mips.c (micromips_insn_length): Remove the mention
5625 of 48-bit microMIPS instructions.
5627 2016-01-18 Alan Modra <amodra@gmail.com>
5629 * configure: Regenerate.
5631 2016-01-17 Alan Modra <amodra@gmail.com>
5633 * configure: Regenerate.
5635 2016-01-17 Alan Modra <amodra@gmail.com>
5637 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
5639 2016-01-14 Nick Clifton <nickc@redhat.com>
5641 * testsuite/gas/rl78/sp-relative-movw.s: New test.
5642 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
5643 * testsuite/gas/rl78/rl78.exp: Run the new test.
5645 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
5647 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
5648 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
5650 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
5652 * config/tc-nios2.c (output_movia): Preset `code' to 0.
5654 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
5656 * config/tc-h8300.c (get_operand): Remove spurious condition in
5657 test for closing parenthesis.
5659 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
5661 * config/tc-arm.c (arm_ext_v8_2): New.
5663 * testsuite/gas/arm/armv8_2-a.d: New.
5664 * testsuite/gas/arm/armv8_2-a.s: New.
5666 2016-01-12 Alan Modra <amodra@gmail.com>
5668 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
5670 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
5672 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
5673 xvcmpnesp, xvcmpnesp.>: Delete tests.
5674 * testsuite/gas/ppc/power9.s: Likewise.
5675 * testsuite/gas/ppc/vsx3.d: Likewise.
5676 * testsuite/gas/ppc/vsx3.s: Likewise.
5678 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
5681 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
5682 * testsuite/gas/m68k/p13050-1.s: New file.
5683 * testsuite/gas/m68k/p13050-2.d: New file.
5684 * testsuite/gas/m68k/p13050-2.s: New file.
5686 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5688 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
5689 * testsuite/gas/arc/add.d: Likewise.
5690 * testsuite/gas/arc/and.d: Likewise.
5691 * testsuite/gas/arc/asl.d: Likewise.
5692 * testsuite/gas/arc/asr.d: Likewise.
5693 * testsuite/gas/arc/bic.d: Likewise.
5694 * testsuite/gas/arc/extb.d: Likewise.
5695 * testsuite/gas/arc/extw.d: Likewise.
5696 * testsuite/gas/arc/j.d: Likewise.
5697 * testsuite/gas/arc/jl.d: Likewise.
5698 * testsuite/gas/arc/ld2.d: Likewise.
5699 * testsuite/gas/arc/lsr.d: Likewise.
5700 * testsuite/gas/arc/mov.d: Likewise.
5701 * testsuite/gas/arc/or.d: Likewise.
5702 * testsuite/gas/arc/pcl-relocs.d: Likewise.
5703 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
5704 * testsuite/gas/arc/pic-relocs.d: Likewise.
5705 * testsuite/gas/arc/plt-relocs.d: Likewise.
5706 * testsuite/gas/arc/rlc.d: Likewise.
5707 * testsuite/gas/arc/ror.d: Likewise.
5708 * testsuite/gas/arc/rrc.d: Likewise.
5709 * testsuite/gas/arc/sbc.d: Likewise.
5710 * testsuite/gas/arc/sda-relocs.d: Likewise.
5711 * testsuite/gas/arc/sda-relocs2.d: Likewise.
5712 * testsuite/gas/arc/sexb.d: Likewise.
5713 * testsuite/gas/arc/sexw.d: Likewise.
5714 * testsuite/gas/arc/st.d: Likewise.
5715 * testsuite/gas/arc/sub.d: Likewise.
5716 * testsuite/gas/arc/tls-relocs.d: Likewise.
5717 * testsuite/gas/arc/xor.d: Likewise.
5719 2016-01-01 Alan Modra <amodra@gmail.com>
5721 Update year range in copyright notice of all files.
5723 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
5725 Copyright (C) 2016 Free Software Foundation, Inc.
5727 Copying and distribution of this file, with or without modification,
5728 are permitted in any medium without royalty provided the copyright
5729 notice and this notice are preserved.
5735 version-control: never