1 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
4 `mips16e' and `mips16' prefixes.
5 (run_list_test_arch): Likewise.
6 Rename `mips16' architecture to `mips16-32'. Add `mips16-64',
7 `mips16e-32' and `mips16e-64' architectures. Update `rol64',
8 `mips16e', `elf${el}-rel2' and `elf-rel4' test invocations
10 * testsuite/gas/mips/mips16e@branch-swap-3.d: New test.
11 * testsuite/gas/mips/mips16e@branch-swap-4.d: New test.
12 * testsuite/gas/mips/mips16e@loc-swap-dis.d: New test.
13 * testsuite/gas/mips/mips16e@loc-swap.d: New test.
15 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
17 * testsuite/gas/mips/loc-swap.s: Use zeros rather than NOPs for
18 trailing alignment padding.
19 * testsuite/gas/mips/loc-swap.d: Adjust accordingly.
20 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
21 * testsuite/gas/mips/mips16@loc-swap-dis.d: Likewise.
23 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
25 * config/tc-mips.c (micromips_insn_length): Use
26 `mips_opcode_32bit_p'.
27 (is_size_valid): Adjust description.
28 (is_size_valid_16): New function.
29 (validate_mips_insn): Use `mips_opcode_32bit_p' in MIPS16
31 (validate_mips16_insn): Remove `a' and `i' operand code special
32 casing, use `mips_opcode_32bit_p' to determine instruction
34 (append_insn): Adjust forced MIPS16 instruction size
36 (match_mips16_insn): Likewise. Don't shift the instruction's
37 opcode with the `a' and `i' operand codes. Use
38 `mips_opcode_32bit_p' in operand decoding.
39 (match_mips16_insns): Check for forced instruction size's
41 (mips16_ip): Don't force instruction size in the `noautoextend'
43 * testsuite/gas/mips/mips16-jal-e.d: New test.
44 * testsuite/gas/mips/mips16-jal-t.d: New test.
45 * testsuite/gas/mips/mips16-macro-e.d: New test.
46 * testsuite/gas/mips/mips16-macro-t.d: New test.
47 * testsuite/gas/mips/mips16-jal-t.l: New stderr output.
48 * testsuite/gas/mips/mips16-macro-e.l: New stderr output.
49 * testsuite/gas/mips/mips16-macro-t.l: New stderr output.
50 * testsuite/gas/mips/mips16-jal-e.s: New test source.
51 * testsuite/gas/mips/mips16-jal-t.s: New test source.
52 * testsuite/gas/mips/mips16-macro-e.s: New test source.
53 * testsuite/gas/mips/mips16-macro-t.s: New test source.
54 * testsuite/gas/mips/mips.exp: Run the new tests.
56 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
58 * testsuite/gas/mips/mips16-macro.l: New list test.
59 * testsuite/gas/mips/mips.exp: Run the new test.
61 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
63 * testsuite/gas/mips/mips16-sdrasp.d: New test.
64 * testsuite/gas/mips/mips16-sdrasp.l: New stderr output.
65 * testsuite/gas/mips/mips16-sdrasp.s: New test source.
66 * testsuite/gas/mips/mips.exp: Run the new test.
68 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
70 * testsuite/gas/mips/mips.exp: Limit remaining tests that
71 require NewABI support to `has_newabi' targets.
73 2015-12-20 Andrew Waterman <andrew@sifive.com>
75 * config/tc-riscv.c (riscv_pseudo_table): Remove "align",
76 "p2align", and "balign".
78 (riscv_handle_align): New function.
79 (riscv_frag_align_code): Likewise.
80 (riscv_make_nops): Likewise.
81 * config/tc-riscv.h (MAX_MEM_FOR_RS_ALIGN_CODE): Change to 7.
82 (HANDLE_ALIGN): Define.
83 (md_do_align): Define.
84 (riscv_handle_align): Declare.
85 (riscv_frag_align_code): Likewise.
87 2016-12-20 Andrew Waterman <andrew@sifive.com>
89 * config/tc-riscv.h (xlen): Delete.
90 * config/tc-riscv.c (xlen): Make static.
91 (abi_xlen): New variable.
92 (options): Replace OPTION_{M32,M64,MSOFT_FLOAT,MHARD_FLOAT,MRVC}
94 (md_longopts): Likewise.
95 (md_parse_option): Likewise.
96 (riscv_elf_final_processing): Likewise.
97 * doc/as.texinfo (Target RISC-V options): Likewise.
98 * doc/c-riscv.texi (OPTIONS): Likewise.
99 * config/tc-riscv.c (float_mode): Removed.
100 (float_abi): New type, specifies the floating-point ABI.
101 (riscv_set_abi): New function.
102 (riscv_add_subset): Only allow lower-case ISA names and require
103 them to start with "rv".
104 (riscv_after_parse_args): Likewise.
106 2016-12-20 Andrew Waterman <andrew@sifive.com>
107 Kuan-Lin Chen <kuanlinchentw@gmail.com>
109 * config/tc-riscv.c (riscv_set_options): Add relax.
110 (riscv_opts): Likewise.
111 (s_riscv_option): Add relax and norelax.
112 (riscv_apply_const_reloc): New function.
113 (append_insn): Move constant relocation handling to
114 riscv_apply_const_reloc.
115 (md_pcrel_from): Likewise.
116 (parse_relocation): Skip BFD_RELOC_UNUSED.
117 (md_pcrel_from): Handle BFD_RELOC_RISCV_SUB6,
118 BFD_RELOC_RISCV_RELAX, BFD_RELOC_RISCV_CFA.
119 (md_apply_fix): Likewise.
120 (riscv_pre_output_hook): New function.
121 * config/tc-riscv.h (md_pre_output_hook): Define.
122 (riscv_pre_output_hook): Declare.
123 (DWARF_CIE_DATA_ALIGNMENT): Always -4.
125 2016-12-20 Andrew Waterman <andrew@sifive.com>
127 * config/tc-riscv.c: Formatting and comment fixes throughout.
129 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
131 * config/tc-mips.c (md_convert_frag): Report an error instead of
133 * testsuite/gas/mips/mips16-branch-unextended-1.d: New test.
134 * testsuite/gas/mips/mips16-branch-unextended-2.d: New test.
135 * testsuite/gas/mips/mips16-branch-unextended-1.s: New test
137 * testsuite/gas/mips/mips16-branch-unextended-2.s: New test.
138 * testsuite/gas/mips/mips16-branch-unextended.l: New stderr
140 * testsuite/gas/mips/mips.exp: Run the new tests.
142 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
144 * testsuite/gas/mips/mips16-sprel-swap.d: New test.
145 * testsuite/gas/mips/mips16-sprel-swap.s: New test source.
146 * testsuite/gas/mips/mips.exp: Run the new test.
148 2016-12-13 Renlin Li <renlin.li@arm.com>
150 * config/tc-aarch64.c (AARCH64_REG_TYPES): Remove CN register.
151 (get_reg_expected_msg): Remove CN register case.
152 (parse_operands): rewrite parser for CRn, CRm operand.
153 (reg_names): Remove CN register.
154 * testsuite/gas/aarch64/diagnostic.s: Add a new test case.
155 * testsuite/gas/aarch64/diagnostic.l: Adjust error message.
157 2016-12-13 Jiong Wang <jiong.wang@arm.com>
159 * gas/testsuite/gas/aarch64/addsub.d: Support ILP32 mode.
160 * gas/testsuite/gas/aarch64/advsimd-across.d: Likewise.
161 * gas/testsuite/gas/aarch64/advsimd-armv8_3.d: Likewise.
162 * gas/testsuite/gas/aarch64/advsimd-fp16.d: Likewise.
163 * gas/testsuite/gas/aarch64/advsimd-misc.d: Likewise.
164 * gas/testsuite/gas/aarch64/advsisd-copy.d: Likewise.
165 * gas/testsuite/gas/aarch64/advsisd-misc.d: Likewise.
166 * gas/testsuite/gas/aarch64/alias.d: Likewise.
167 * gas/testsuite/gas/aarch64/armv8-ras-1.d: Likewise.
168 * gas/testsuite/gas/aarch64/b_1.d: Likewise.
169 * gas/testsuite/gas/aarch64/beq_1.d: Likewise.
170 * gas/testsuite/gas/aarch64/bitfield-dump: Likewise.
171 * gas/testsuite/gas/aarch64/bitfield-no-aliases.d: Likewise.
172 * gas/testsuite/gas/aarch64/codealign.d: Likewise.
173 * gas/testsuite/gas/aarch64/codealign_1.d: Likewise.
174 * gas/testsuite/gas/aarch64/crc32-directive.d: Likewise.
175 * gas/testsuite/gas/aarch64/crc32.d: Likewise.
176 * gas/testsuite/gas/aarch64/crypto-directive.d: Likewise.
177 * gas/testsuite/gas/aarch64/crypto.d: Likewise.
178 * gas/testsuite/gas/aarch64/dwarf.d: Likewise.
179 * gas/testsuite/gas/aarch64/float-fp16.d: Likewise.
180 * gas/testsuite/gas/aarch64/floatdp2.d: Likewise.
181 * gas/testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
182 * gas/testsuite/gas/aarch64/fp-const0-parse.d: Likewise.
183 * gas/testsuite/gas/aarch64/fp_cvt_int.d: Likewise.
184 * gas/testsuite/gas/aarch64/fpmov.d: Likewise.
185 * gas/testsuite/gas/aarch64/inst-directive.d: Likewise.
186 * gas/testsuite/gas/aarch64/ldr_1.d: Likewise.
187 * gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
188 * gas/testsuite/gas/aarch64/ldst-exclusive.d: Likewise.
189 * gas/testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
190 * gas/testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
191 * gas/testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
192 * gas/testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
193 * gas/testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
194 * gas/testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
195 * gas/testsuite/gas/aarch64/lor-directive.d: Likewise.
196 * gas/testsuite/gas/aarch64/lor.d: Likewise.
197 * gas/testsuite/gas/aarch64/lse-atomic.d: Likewise.
198 * gas/testsuite/gas/aarch64/mapmisc.d: Likewise.
199 * gas/testsuite/gas/aarch64/mov-no-aliases.d: Likewise.
200 * gas/testsuite/gas/aarch64/mov.d: Likewise.
201 * gas/testsuite/gas/aarch64/movi.d: Likewise.
202 * gas/testsuite/gas/aarch64/movw_label.d: Likewise.
203 * gas/testsuite/gas/aarch64/msr.d: Likewise.
204 * gas/testsuite/gas/aarch64/neon-fp-cvt-int.d: Likewise.
205 * gas/testsuite/gas/aarch64/neon-frint.d: Likewise.
206 * gas/testsuite/gas/aarch64/neon-ins.d: Likewise.
207 * gas/testsuite/gas/aarch64/neon-not.d: Likewise.
208 * gas/testsuite/gas/aarch64/neon-vfp-reglist-post.d: Likewise.
209 * gas/testsuite/gas/aarch64/neon-vfp-reglist.d: Likewise.
210 * gas/testsuite/gas/aarch64/no-aliases.d: Likewise.
211 * gas/testsuite/gas/aarch64/optional.d: Likewise.
212 * gas/testsuite/gas/aarch64/pac.d: Likewise.
213 * gas/testsuite/gas/aarch64/pan-directive.d: Likewise.
214 * gas/testsuite/gas/aarch64/pan.d: Likewise.
215 * gas/testsuite/gas/aarch64/rdma-directive.d: Likewise.
216 * gas/testsuite/gas/aarch64/rdma.d: Likewise.
217 * gas/testsuite/gas/aarch64/reloc-dtprel_g0.d: Likewise.
218 * gas/testsuite/gas/aarch64/reloc-dtprel_g0_nc.d: Likewise.
219 * gas/testsuite/gas/aarch64/reloc-dtprel_g1.d: Likewise.
220 * gas/testsuite/gas/aarch64/reloc-dtprel_hi12.d: Likewise.
221 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-1.d: Likewise.
222 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc.d: Likewise.
223 * gas/testsuite/gas/aarch64/reloc-tlsldm-1.d: Likewise.
224 * gas/testsuite/gas/aarch64/reloc-tlsldm-page-1.d: Likewise.
225 * gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.d: Likewise.
226 * gas/testsuite/gas/aarch64/shifted.d: Likewise.
227 * gas/testsuite/gas/aarch64/sve.d: Likewise.
228 * gas/testsuite/gas/aarch64/symbol.d: Likewise.
229 * gas/testsuite/gas/aarch64/sysreg-1.d: Likewise.
230 * gas/testsuite/gas/aarch64/sysreg-2.d: Likewise.
231 * gas/testsuite/gas/aarch64/sysreg-3.d: Likewise.
232 * gas/testsuite/gas/aarch64/sysreg.d: Likewise.
233 * gas/testsuite/gas/aarch64/system-2.d: Likewise.
234 * gas/testsuite/gas/aarch64/system-3.d: Likewise.
235 * gas/testsuite/gas/aarch64/system.d: Likewise.
236 * gas/testsuite/gas/aarch64/tbz_1.d: Likewise.
237 * gas/testsuite/gas/aarch64/tlbi_op.d: Likewise.
238 * gas/testsuite/gas/aarch64/tls.d: Likewise.
239 * gas/testsuite/gas/aarch64/uao-directive.d: Likewise.
240 * gas/testsuite/gas/aarch64/uao.d: Likewise.
241 * gas/testsuite/gas/aarch64/virthostext-directive.d: Likewise.
242 * gas/testsuite/gas/aarch64/virthostext.d: Likewise.
243 * gas/testsuite/gas/aarch64/adr_1.d: Restrict test under -mabi=lp64.
244 * gas/testsuite/gas/aarch64/int-insns.d: Likewise.
245 * gas/testsuite/gas/aarch64/programmer-friendly.d: Likewise.
246 * gas/testsuite/gas/aarch64/reloc-data.d: Likewise.
247 * gas/testsuite/gas/aarch64/reloc-dtprel_g1_nc.d: Likewise.
248 * gas/testsuite/gas/aarch64/reloc-dtprel_g2.d: Likewise.
249 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst16.d: Likewise.
250 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst32.d: Likewise.
251 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst64.d: Likewise.
252 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12-ldst8.d: Likewise.
253 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst16.d: Likewise.
254 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst32.d: Likewise.
255 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst64.d: Likewise.
256 * gas/testsuite/gas/aarch64/reloc-dtprel_lo12_nc-ldst8.d: Likewise.
257 * gas/testsuite/gas/aarch64/reloc-gotoff_g0_nc.d: Likewise.
258 * gas/testsuite/gas/aarch64/reloc-gotoff_g1.d: Likewise.
259 * gas/testsuite/gas/aarch64/reloc-gottprel_g0_nc.d: Likewise.
260 * gas/testsuite/gas/aarch64/reloc-gottprel_g1.d: Likewise.
261 * gas/testsuite/gas/aarch64/reloc-insn.d: Likewise.
262 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g0_nc.d: Likewise.
263 * gas/testsuite/gas/aarch64/reloc-tlsdesc_off_g1.d: Likewise.
264 * gas/testsuite/gas/aarch64/reloc-tlsgd_g0_nc.d: Likewise.
265 * gas/testsuite/gas/aarch64/reloc-tlsgd_g1.d: Likewise.
266 * gas/testsuite/gas/aarch64/tail_padding.d: Likewise.
267 * gas/testsuite/gas/aarch64/tls-desc.d: Likewise.
269 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
271 * config/tc-mips.c (mips16_macro_build) <'>'>: Remove case.
273 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
275 * testsuite/gas/mips/mips16-extend.d: New test.
276 * testsuite/gas/mips/mips16-extend.s: New test source.
277 * testsuite/gas/mips/mips.exp: Run the new test.
279 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
281 * config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local
282 variable to `space_buf'.
284 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
286 * config/tc-arm.c (encode_arm_shift): Rename `index' local
287 variable to `op_index'.
289 2016-12-08 Alan Modra <amodra@gmail.com>
291 * configure: Regenerate.
293 2016-12-07 Maciej W. Rozycki <macro@imgtec.com>
295 * config/tc-mips.c (is_opcode_valid): Use local `isa'
298 2016-12-06 Nick Clifton <nickc@redhat.com>
301 * read.c (s_space): Place an upper limit on the number of spaces
305 * testsuite/gas/mmix/err-byte1.s: Adjust expected warning messages
306 to account for patch to next_char_of_string.
308 2016-12-05 Nick Clifton <nickc@redhat.com>
311 * read.c (next_char_of_string): Do end advance past the end of the
315 * as.h (SKIP_ALL_WHITESPACE): New macro.
316 * expr.c (operand): Use it.
318 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
320 * config/tc-arm.c (do_vcmla, do_vcadd): Define.
321 (neon_scalar_for_vcmla): Define.
322 (enum operand_parse_code): Add OP_IROT1 and OP_IROT2.
323 (NEON_ENC_TAB): Add DDSI and QQSI variants.
324 (insns): Add vcmla and vcadd.
325 * testsuite/gas/arm/armv8_3-a-simd.d: New.
326 * testsuite/gas/arm/armv8_3-a-simd.s: New.
327 * testsuite/gas/arm/armv8_3-a-simd-bad.d: New.
328 * testsuite/gas/arm/armv8_3-a-simd-bad.l: New.
329 * testsuite/gas/arm/armv8_3-a-simd-bad.s: New.
331 2016-12-05 Claudiu Zissulescu <claziss@synopsys.com>
333 * testsuite/gas/arc/textauxregister-1.d: New file.
334 * testsuite/gas/arc/textauxregister-1.s: Likewise.
335 * testsuite/gas/arc/textcondcode-err.s: Likewise.
336 * testsuite/gas/arc/textcoreregister-err.s: Likewise.
337 * config/tc-arc.c (tokenize_extregister): Return bfd_boolean,
338 don't check second argument of extension auxiliary register for
340 (arc_extcorereg): Consider the return of tokenize_extregister
343 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
345 * config/tc-arm.c (arm_ext_v8_3, do_vjcvt): Define.
347 * testsuite/gas/aarch64/armv8_3-a-fp.s: New.
348 * testsuite/gas/aarch64/armv8_3-a-fp.d: New.
349 * testsuite/gas/aarch64/armv8_3-a-fp-bad.s: New.
350 * testsuite/gas/aarch64/armv8_3-a-fp-bad.d: New.
351 * testsuite/gas/aarch64/armv8_3-a-fp-bad.l: New.
353 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
355 * config/tc-arm.c (arm_archs): Add "armv8.3-a".
356 * doc/c-arm.texi (-march): Add "armv8.3-a".
358 2016-12-02 Claudiu Zissulescu <claziss@synopsys.com>
360 * testsuite/gas/arc/cpu-em-err.s: New file.
361 * testsuite/gas/arc/cpu-em4-err.s: Likewise.
362 * testsuite/gas/arc/cpu-fpuda-err.s: Likewise.
363 * testsuite/gas/arc/cpu-hs-err.s: Likewise.
364 * testsuite/gas/arc/cpu-quarkse-err.s: Likewise.
365 * testsuite/gas/arc/noargs_a7.s: Add .cpu.
366 * config/tc-arc.c (ARC_CPU_TYPE_A6xx): Define.
367 (ARC_CPU_TYPE_A7xx): Likewise.
368 (ARC_CPU_TYPE_AV2EM): Likewise.
369 (ARC_CPU_TYPE_AV2HS): Likewise.
370 (cpu_types): Update list of known CPU names.
371 (arc_show_cpu_list): New function.
372 (md_show_usage): Print accepted CPU names.
373 (cl_features): New variable.
374 (arc_select_cpu): Use cl_features.
375 (arc_option): Allow various .cpu names.
376 (md_parse_option): Set cl_features.
377 * doc/c-arc.texi: Update -mcpu and .cpu documentation.
379 2016-12-02 Josh Conner <joshconner@google.com>
381 * configure.tgt: Add support for fuchsia (OS).
383 2016-12-01 Nick Clifton <nickc@redhat.com>
386 * app.c (do_scrub_chars): Do not attempt to unget EOF.
389 * subsegs.c (subsegs_print_statistics): Do nothing if no output
393 * symbols.c (resolve_symbol_value): Gracefully handle erroneous
394 symbolic expressions.
396 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
398 * config/tc-arc.c (find_opcode_match): New function argument
400 (assemble_tokens): Collect and report the eventual error message
401 found during opcode matching process.
402 * testsuite/gas/arc/lpcount-err.s: New file.
403 * testsuite/gas/arc/add_s-err.s: Update error message.
405 2016-11-28 Ramiro Polla <ramiro@hex-rays.com>
406 Amit Pawar <amit.pawar@amd.com>
409 * testsuite/gas/i386/xop32reg.d: New file.
410 * testsuite/gas/i386/xop32reg.s: New file.
411 * testsuite/gas/i386/i386.exp: Run new test.
413 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
415 * arparse.y: Fix spelling in comments.
417 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
419 * config/bfin-lex.l: Fix spelling in comments.
421 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
423 * testsuite/gas/all/gas.exp: Fix spelling in comments.
424 * testsuite/gas/cris/cris.exp: Fix spelling in comments.
425 * testsuite/gas/hppa/basic/basic.exp: Fix spelling in comments.
426 * testsuite/gas/hppa/parse/parse.exp: Fix spelling in comments.
427 * testsuite/gas/hppa/reloc/reloc.exp: Fix spelling in comments.
428 * testsuite/gas/sh/arch/arch.exp: Fix spelling in comments.
429 * testsuite/gas/tic4x/tic4x.exp: Fix spelling in comments.
431 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
433 * testsuite/gas/arm/local_function.d: Fix spelling in comments.
434 * testsuite/gas/arm/req.s: Fix spelling in comments.
435 * testsuite/gas/arm/vfp1.s: Fix spelling in comments.
436 * testsuite/gas/arm/vfp1_t2.s: Fix spelling in comments.
437 * testsuite/gas/arm/vfp1xD.s: Fix spelling in comments.
438 * testsuite/gas/arm/vfp1xD_t2.s: Fix spelling in comments.
439 * testsuite/gas/mcore/allinsn.s: Fix spelling in comments.
440 * testsuite/gas/mips/24k-triple-stores-5.s: Fix spelling in comments.
441 * testsuite/gas/mips/delay.d: Fix spelling in comments.
442 * testsuite/gas/mips/nodelay.d: Fix spelling in comments.
443 * testsuite/gas/mips/r5900-full.s: Fix spelling in comments.
444 * testsuite/gas/mips/r5900.s: Fix spelling in comments.
446 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
448 * as.h: Fix spelling in comments.
449 * config/obj-ecoff.c: Fix spelling in comments.
450 * config/obj-macho.c: Fix spelling in comments.
451 * config/tc-aarch64.c: Fix spelling in comments.
452 * config/tc-arc.c: Fix spelling in comments.
453 * config/tc-arm.c: Fix spelling in comments.
454 * config/tc-avr.c: Fix spelling in comments.
455 * config/tc-cr16.c: Fix spelling in comments.
456 * config/tc-epiphany.c: Fix spelling in comments.
457 * config/tc-frv.c: Fix spelling in comments.
458 * config/tc-hppa.c: Fix spelling in comments.
459 * config/tc-hppa.h: Fix spelling in comments.
460 * config/tc-i370.c: Fix spelling in comments.
461 * config/tc-m68hc11.c: Fix spelling in comments.
462 * config/tc-m68k.c: Fix spelling in comments.
463 * config/tc-mcore.c: Fix spelling in comments.
464 * config/tc-mep.c: Fix spelling in comments.
465 * config/tc-metag.c: Fix spelling in comments.
466 * config/tc-mips.c: Fix spelling in comments.
467 * config/tc-mn10200.c: Fix spelling in comments.
468 * config/tc-mn10300.c: Fix spelling in comments.
469 * config/tc-nds32.c: Fix spelling in comments.
470 * config/tc-nios2.c: Fix spelling in comments.
471 * config/tc-ns32k.c: Fix spelling in comments.
472 * config/tc-pdp11.c: Fix spelling in comments.
473 * config/tc-ppc.c: Fix spelling in comments.
474 * config/tc-riscv.c: Fix spelling in comments.
475 * config/tc-rx.c: Fix spelling in comments.
476 * config/tc-score.c: Fix spelling in comments.
477 * config/tc-score7.c: Fix spelling in comments.
478 * config/tc-sparc.c: Fix spelling in comments.
479 * config/tc-tic54x.c: Fix spelling in comments.
480 * config/tc-vax.c: Fix spelling in comments.
481 * config/tc-xgate.h: Fix spelling in comments.
482 * config/tc-xtensa.c: Fix spelling in comments.
483 * config/tc-z80.c: Fix spelling in comments.
484 * dwarf2dbg.c: Fix spelling in comments.
485 * input-file.h: Fix spelling in comments.
486 * itbl-ops.c: Fix spelling in comments.
487 * read.c: Fix spelling in comments.
488 * stabs.c: Fix spelling in comments.
489 * symbols.c: Fix spelling in comments.
490 * write.c: Fix spelling in comments.
491 * testsuite/gas/all/itbl-test.c: Fix spelling in comments.
492 * testsuite/gas/tic4x/opclasses.h: Fix spelling in comments.
494 2016-11-25 Jose E. Marchesi <jose.marchesi@oracle.com>
496 * config/tc-sparc.c (sparc_ip): Avoid emitting a cbcond error
497 messages for non-cbcond instructions.
498 * testsuite/gas/sparc/cbcond-diag.s: New file.
499 * testsuite/gas/sparc/cbcond-diag.l: Likewise.
500 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run cbcond-diag tests.
502 2016-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
504 * testsuite/gas/sparc/sparc.exp (gas_64_check): Make sure the
505 hwcaps-bump test is run with 64-bit objects.
507 2016-11-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
509 * config/tc-riscv.c: Add missing break.
511 2016-11-23 Alan Modra <amodra@gmail.com>
513 * po/POTFILES.in: Regenerate.
515 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
517 * configure: Regenerate.
519 2016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
521 * config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
523 (sparc_arch): Clarify the new role of the hwcap_allowed and
524 hwcap2_allowed fields.
525 (sparc_arch_table): Remove HWS_* and HWS2_* instances from
526 hwcap_allowed and hwcap2_allowed respectively.
527 (md_parse_option): Include the opcode arch hwcaps when processing
529 (sparc_ip): Use the current opcode arch hwcaps to update
530 hwcap_allowed, as well as the hwcaps of the instruction triggering
532 * testsuite/gas/sparc/hwcaps-bump.s: New file.
533 * testsuite/gas/sparc/hwcaps-bump.l: Likewise.
534 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
537 2016-11-22 Claudiu Zissulescu <claziss@synopsys.com>
539 * testsuite/gas/arc/b.d: Update test result.
541 2016-11-22 Alan Modra <amodra@gmail.com>
544 * config/tc-ppc.c: Delete VLE insn defines.
545 (md_assemble): Swap use_a_reloc and use_d_reloc.
546 * testsuite/gas/ppc/vle-reloc.d: Update.
548 2016-11-21 Renlin Li <renlin.li@arm.com>
551 * config/tc-arm.c (encode_arm_shift): Don't assert for operands not
553 * testsuite/gas/arm/add-shift-two.d: New.
554 * testsuite/gas/arm/add-shift-two.s: New.
556 2016-11-21 Alan Modra <amodra@gmail.com>
558 * configure.ac: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
559 * Makefile.am (comparison): Rewrite using do_compare.
560 * configure: Regenerate.
561 * Makefile.in: Regenerate.
562 * doc/Makefile.in: Regenerate.
564 2016-11-18 Claudiu Zissulescu <claziss@synopsys.com>
566 * testsuite/gas/arc/cl-warn.s: New file.
567 * testsuite/gas/arc/cpu-pseudop-1.d: Likewise.
568 * testsuite/gas/arc/cpu-pseudop-1.s: Likewise.
569 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
570 * testsuite/gas/arc/cpu-pseudop-2.s: Likewise.
571 * testsuite/gas/arc/cpu-warn2.s: Likewise.
572 * config/tc-arc.c (selected_cpu): Initialize.
573 (feature_type): New struct.
574 (feature_list): New variable.
575 (arc_check_feature): New function.
576 (arc_select_cpu): Check for .cpu duplicates. Don't overwrite the
577 current cpu features. Check if a feature is available for a given
579 (md_parse_option): Test if features are available for a given cpu.
581 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
583 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
584 * testsuite/gas/aarch64/advsimd-armv8_3.d: New.
585 * testsuite/gas/aarch64/advsimd-armv8_3.s: New.
586 * testsuite/gas/aarch64/illegal-fcmla.s: New.
587 * testsuite/gas/aarch64/illegal-fcmla.l: New.
588 * testsuite/gas/aarch64/illegal-fcmla.d: New.
590 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
592 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
593 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
594 * testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
595 * testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
596 * testsuite/gas/aarch64/illegal-ldapr.l: Likewise.
598 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
600 * testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
601 * testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
602 * testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
603 * testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
604 * testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
605 * testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
606 * testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
607 * testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.
609 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
611 * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
612 (fix_insn): Likewise.
613 (warn_unpredictable_ldst): Handle ldst_imm10.
614 * testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
615 * testsuite/gas/aarch64/pac.d: Likewise.
616 * testsuite/gas/aarch64/illegal-ldraa.s: New.
617 * testsuite/gas/aarch64/illegal-ldraa.l: New.
618 * testsuite/gas/aarch64/illegal-ldraa.d: New.
620 2016-11-15 Nick Clifton <nickc@redhat.com>
623 * config/tc-sparc.c (cons_fix_new_sparc): Use unaligned relocs in
624 the .eh_frame section.
626 2016-11-13 Anthony Green <green@moxielogic.org>
628 * config/tc-moxie.c (md_assemble): Assemble 'bad' opcode.
630 2016-11-11 Nick Clifton <nickc@redhat.com>
633 * expr.c (integer_constant): If tc_allow_L_suffix is defined and
634 non-zero then accept a L or LL suffix.
635 * testsuite/gas/sparc/pr20732.d: New test source file.
636 * testsuite/gas/sparc/pr20732.d: New test output file.
637 * testsuite/gas/sparc/sparc.exp: Run new test.
639 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
641 * testsuite/gas/aarch64/pac.s: Add ARMv8.3 branch instruction tests.
642 * testsuite/gas/aarch64/pac.d: Likewise.
644 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
646 * config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
647 (parse_operands): Likewise.
648 * testsuite/gas/aarch64/pac.s: Add pacga.
649 * testsuite/gas/aarch64/pac.d: Add pacga.
651 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
653 * testsuite/gas/aarch64/pac.s: New.
654 * testsuite/gas/aarch64/pac.d: New.
656 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
658 * testsuite/gas/aarch64/sysreg-3.s: New.
659 * testsuite/gas/aarch64/sysreg-3.d: New.
660 * testsuite/gas/aarch64/illegal-sysreg-3.l: New.
661 * testsuite/gas/aarch64/illegal-sysreg-3.d: New.
663 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
665 * testsuite/gas/aarch64/system-3.s: New.
666 * testsuite/gas/aarch64/system-3.d: New.
667 * testsuite/gas/aarch64/system.d: Update expected output.
669 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
671 * config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
672 * doc/c-aarch64.texi (-march): Likewise.
674 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
676 * config/tc-aarch64.c (aarch64_features): Fix "simd" and "crypto".
677 * testsuite/gas/aarch64/illegal-crypto-nofp.d: New.
678 * testsuite/gas/aarch64/illegal-crypto-nofp.l: New.
679 * testsuite/gas/aarch64/illegal-fp16-nofp.d: New.
680 * testsuite/gas/aarch64/illegal-fp16-nofp.l: New.
681 * testsuite/gas/aarch64/illegal-fp16-nofp.s: New.
683 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
686 * testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
687 * testsuite/gas/i386/opcode-intel.d: Updated.
688 * testsuite/gas/i386/opcode-suffix.d: Likewise.
689 * testsuite/gas/i386/opcode.d: Likewise.
690 * testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
692 * testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
693 * testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.
695 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
698 * testsuite/gas/i386/opcode-suffix.d: Updated.
700 2016-11-07 H.J. Lu <hongjiu.lu@intel.com>
703 * testsuite/gas/i386/i386.exp: Run fpu-bad.
704 * testsuite/gas/i386/fpu-bad.d: New file.
705 * testsuite/gas/i386/fpu-bad.s: Likewise.
707 2016-11-04 Nathan Sidwell <nathan@acm.org>
710 * input-scrub.c (partial_size): Make size_t.
711 (buffer_length): Likewise. Adjust meaning.
712 (struct input_save): Adjust partial_size type.
713 (input_scrub_reinit): New.
714 (input_scrub_push, input_scrub_begin): Use it.
715 (input_scrub_next_buffer): Fix buffer extension logic. Only scan
716 newly read buffer for newline.
718 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
720 * config/tc-arc.c (find_opcode_match): Use insert function to
721 validate matching address type operands.
722 * testsuite/gas/arc/nps400-10.d: New file.
723 * testsuite/gas/arc/nps400-10.s: New file.
725 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
727 * config/tc-arm.c (cortex-m33): Declare new processor.
728 * doc/c-arm.texi (-mcpu ARM command line option): Document new
729 Cortex-M33 processor.
730 * NEWS: Mention ARM Cortex-M33 support.
732 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
734 * config/tc-arm.c (cortex-m23): Declare new processor.
735 * doc/c-arm.texi (-mcpu ARM command line option): Document new
736 Cortex-M23 processor.
737 * NEWS: Mention ARM Cortex-M23 support.
739 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
740 Andrew Waterman <andrew@sifive.com>
742 * Makefile.am (CPU_DOCS): Add c-riscv.texi.
743 * Makefile.in: Regenerate.
744 * doc/all.texi: Set RISCV.
745 * doc/as.texinfo: Add RISCV options.
746 Add RISC-V-Dependent node.
747 Include c-riscv.texi.
748 * doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
750 2016-11-03 Graham Markall <graham.markall@embecosm.com>
752 * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm
753 operands are out of the range of an s9, in order to fix the test.
754 * testsuite/gas/arc/nps400-6.d: Updated to match new expected output.
756 2016-11-03 Graham Markall <graham.markall@embecosm.com>
758 * testsuite/gas/arc/nps-400-9.d: Added.
759 * testsuite/gas/arc/nps-400-9.s: Added.
761 2016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
763 * config/tc-arc.c (struct arc_insn): Change type of insn field.
764 (md_number_to_chars_midend): Support 6- and 8-byte values.
765 (emit_insn0): Update debug output.
766 (find_opcode_match): Likewise.
767 (build_fake_opcode_hash_entry): Delete.
768 (find_special_case_long_opcode): Delete.
769 (find_special_case): Remove long format special case handling.
770 (insert_operand): Change instruction type and update debug print
772 (assemble_insn): Change instruction type, update debug print
773 formats, and remove unneeded assert.
775 2016-11-03 Graham Markall <graham.markall@embecosm.com>
777 * config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
780 2016-11-03 Graham Markall <graham.markall@embecosm.com>
782 * config/tc-arc.c (struct arc_insn): Replace short_insn flag with
784 (apply_fixups): Update to use len field.
785 (emit_insn0): Simplify code, making use of len field.
786 (md_convert_frag): Update to use len field.
787 (assemble_insn): Update to use len field.
789 2016-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
791 * config/tc-aarch64.c (aarch64_cpus): Add falkor.
792 * config/tc-arm.c (arm_cpus): Likewise.
793 * doc/c-aarch64.texi: Likewise.
794 * doc/c-arm.texi: Likewise.
796 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
799 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
800 * testsuite/gas/i386/opcode-intel.d: Updated.
801 * testsuite/gas/i386/opcode.d: Likewise.
803 2016-11-02 Jiong Wang <jiong.wang@arm.com>
805 * config/tc-arm.c (SBIT_SHIFT): New.
806 (T2_SBIT_SHIFT): Likewise.
807 (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
808 (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
810 * testsuite/gas/arm/archv6t2-bad.s: New error case.
811 * testsuite/gas/arm/archv6t2-bad.l: New error match.
812 * testsuite/gas/arm/archv6t2.s: New testcase.
813 * testsuite/gas/arm/archv6t2.d: New expected result.
814 * testsuite/gas/arm/archv8m.s: New testcase.
815 * testsuite/gas/arm/archv8m-base.d: New expected result.
816 * testsuite/gas/arm/archv8m-main.d: Likewise.
817 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
819 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
821 * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
822 (cpu_noarch): Add noavx512_4vnniw.
823 * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
824 * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
825 * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
826 * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
827 * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
828 * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
829 * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
830 * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
831 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
832 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
833 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
834 * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
835 * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
836 * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
838 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
840 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
841 (cpu_noarch): Add noavx512_4fmaps.
842 (process_operands): Handle implicit quad group.
843 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
844 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
845 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
846 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
847 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
848 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
849 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
850 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
851 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
852 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
853 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
854 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
855 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
856 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
857 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
858 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
859 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
860 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
861 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
862 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
863 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
864 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
866 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
867 Andrew Waterman <andrew@sifive.com>
869 Add support for RISC-V architecture.
870 * Makefile.am: Add riscv files.
871 * Makefile.in: Regenerate.
872 * NEWS: Mention the support for this architecture.
873 * configure.in: Define a default architecture.
874 * configure: Regenerate.
875 * configure.tgt: Add entries for riscv.
876 * doc/as.texinfo: Likewise.
877 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
878 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
879 * config/tc-riscv.c: New file.
880 * config/tc-riscv.h: New file.
881 * doc/c-riscv.texi: New file.
882 * testsuite/gas/riscv: New directory.
883 * testsuite/gas/riscv/riscv.exp: New file.
884 * testsuite/gas/riscv/t_insns.d: New file.
885 * testsuite/gas/riscv/t_insns.s: New file.
887 2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
889 * config/tc-arc.c (arc_target): Delete.
890 (arc_target_name): Delete.
891 (arc_features): Delete.
892 (arc_mach_type): Delete.
893 (mach_type_specified_p): Delete.
894 (enum mach_selection_type): New enum.
895 (mach_selection_mode): New static global.
896 (selected_cpu): New static global.
897 (arc_eflag): Rename to ...
898 (arc_initial_eflag): ...this, and make const.
899 (arc_select_cpu): Update comment, new parameter, check how
900 previous machine type selection was made, and record this
901 selection. Use selected_cpu instead of old globals.
902 (arc_option): Remove use of arc_get_mach, instead use
903 arc_select_cpu to validate machine type selection. Use
904 selected_cpu over old globals.
905 (allocate_tok): Use selected_cpu over old globals.
906 (find_opcode_match): Likewise.
907 (assemble_tokens): Likewise.
908 (arc_cons_fix_new): Likewise.
909 (arc_extinsn): Likewise.
910 (arc_extcorereg): Likewise.
911 (md_begin): Update default machine type selection, use
912 selected_cpu over old globals.
913 (md_parse_option): Update machine type selection option handling,
914 use selected_cpu over old globals.
915 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
917 2016-10-26 Alan Modra <amodra@gmail.com>
919 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
920 * config/rl78-parse.y: Do use old %name-prefix syntax.
921 * config/rx-parse.y: Likewise.
923 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
925 * config/tc-i386.c (cpu_arch): Remove .pcommit.
926 * doc/c-i386.texi: Likewise.
927 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
928 * testsuite/gas/i386/pcommit-intel.d: Removed.
929 * testsuite/gas/i386/pcommit.d: Likewise.
930 * testsuite/gas/i386/pcommit.s: Likewise.
931 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
932 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
933 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
935 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
938 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
939 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
940 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
942 2016-10-19 Renlin Li <renlin.li@arm.com>
944 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
945 for register-shifted register instructions.
946 * testsuite/gas/arm/shift-bad-pc.d: New.
947 * testsuite/gas/arm/shift-bad-pc.l: New.
948 * testsuite/gas/arm/shift-bad-pc.s: New.
950 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
952 * testsuite/arc/dis-inv.d: Fixed matching.
954 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
956 * testsuite/arc/dis-inv.s: Test to validate patch.
957 * testsuite/arc/dis-inv.d: Likewise.
959 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
961 * testsuite/gas/arc/shortlimm_a7.d: New file.
962 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
963 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
964 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
966 2016-10-11 Nick Clifton <nickc@redhat.com>
968 * gas/arm/tls.d: Adjust output to match change in objdump.
970 2016-10-11 Jiong Wang <jiong.wang@arm.com>
973 * testsuite/gas/aarch64/alias-2.d: Update expected results.
975 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
977 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
978 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
979 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
980 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
981 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
982 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
983 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
984 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
985 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
987 2016-10-08 Alan Modra <amodra@gmail.com>
989 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
990 config/rx-parse.y. Move config/bfin-parse.y.
991 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
992 ($(srcdir)/config/rl78-defs.h): New rule.
993 * Makefile.in: Regenerate.
995 2016-10-07 Jiong Wang <jiong.wang@arm.com>
998 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
1000 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
1002 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
1004 * testsuite/gas/arc/leave_enter.d: New file.
1005 * testsuite/gas/arc/leave_enter.s: Likewise.
1006 * testsuite/gas/arc/regnames.d: Likewise.
1007 * testsuite/gas/arc/regnames.s: Likewise.
1008 * config/tc-arc.c (arc_parse_name): Don't match reg names against
1009 confirmed symbol names.
1011 2016-10-06 Alan Modra <amodra@gmail.com>
1013 * app.c (do_scrub_chars): Move fall through comment.
1014 * expr.c (operand): Likewise.
1016 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
1019 * dw2gencfi.c (dot_cfi_sections): Refine the check for
1020 inconsistent .cfi_sections to only consider compact vs non
1022 * testsuite/gas/cfi/cfi-common-9.d: New file.
1023 * testsuite/gas/cfi/cfi-common-9.s: New file.
1024 * testsuite/gas/cfi/cfi.exp: Run new test.
1026 2016-10-06 Alan Modra <amodra@gmail.com>
1028 * app.c: Add missing fall through comments.
1029 * dw2gencfi.c: Likewise.
1031 * config/tc-alpha.c: Likewise.
1032 * config/tc-arc.c: Likewise.
1033 * config/tc-arm.c: Likewise.
1034 * config/tc-cr16.c: Likewise.
1035 * config/tc-crx.c: Likewise.
1036 * config/tc-dlx.c: Likewise.
1037 * config/tc-h8300.c: Likewise.
1038 * config/tc-hppa.c: Likewise.
1039 * config/tc-i370.c: Likewise.
1040 * config/tc-i386.c: Likewise.
1041 * config/tc-i960.c: Likewise.
1042 * config/tc-ia64.c: Likewise.
1043 * config/tc-m68hc11.c: Likewise.
1044 * config/tc-m68k.c: Likewise.
1045 * config/tc-mep.c: Likewise.
1046 * config/tc-metag.c: Likewise.
1047 * config/tc-microblaze.c: Likewise.
1048 * config/tc-mips.c: Likewise.
1049 * config/tc-ns32k.c: Likewise.
1050 * config/tc-rx.c: Likewise.
1051 * config/tc-score.c: Likewise.
1052 * config/tc-score7.c: Likewise.
1053 * config/tc-sh.c: Likewise.
1054 * config/tc-tic4x.c: Likewise.
1055 * config/tc-vax.c: Likewise.
1056 * config/tc-xstormy16.c: Likewise.
1057 * config/tc-z80.c: Likewise.
1058 * config/tc-z8k.c: Likewise.
1059 * config/obj-elf.c: Likewise.
1060 * config/tc-i386.c: Likewise.
1061 * depend.c: Spell fall through comments consistently.
1062 * config/tc-arm.c: Likewise.
1063 * config/tc-d10v.c: Likewise.
1064 * config/tc-i960.c: Likewise.
1065 * config/tc-ia64.c: Likewise.
1066 * config/tc-m68k.c: Likewise.
1067 * config/tc-mcore.c: Likewise.
1068 * config/tc-mep.c: Likewise.
1069 * config/tc-ns32k.c: Likewise.
1070 * config/tc-visium.c: Likewise.
1071 * config/tc-xstormy16.c: Likewise.
1072 * config/tc-z8k.c: Likewise.
1074 2016-10-06 Alan Modra <amodra@gmail.com>
1076 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
1078 2016-10-06 Alan Modra <amodra@gmail.com>
1080 * config/tc-arc.c (find_opcode_match): Add missing break.
1081 * config/tc-i960.c (get_cdisp): Likewise.
1082 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
1083 * config/tc-mt.c (md_parse_option): Likewise.
1084 * config/tc-nds32.c (nds32_apply_fix): Likewise.
1085 * config/tc-hppa.c (pa_ip): Assert rather than testing last
1086 condition of multiple if statements.
1087 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
1088 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
1089 out of case rather than falling into next case. Formatting.
1091 2016-10-06 Alan Modra <amodra@gmail.com>
1093 * config/rl78-parse.y: Don't use deprecated %name-prefix.
1094 * config/rx-parse.y: Likewise.
1096 2016-09-29 Jiong Wang <jiong.wang@arm.com>
1099 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
1100 testcases for H and S variants. New low index testcases for D variant.
1101 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
1103 2016-09-29 Alan Modra <amodra@gmail.com>
1105 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
1106 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
1107 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
1109 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1111 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
1114 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
1116 * Makefile.in: Regenerate.
1117 * configure: Likewise.
1118 * doc/Makefile.in: Likewise.
1120 2016-09-26 Alan Modra <amodra@gmail.com>
1122 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
1123 (md_pseudo_table <ELF>): Handle "gnu_attribute".
1125 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1127 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
1128 register and redundant basepri_max.
1130 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1132 * config/tc-aarch64.c (print_operands): Print spaces between
1134 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
1136 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
1137 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
1138 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
1139 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
1140 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
1141 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
1142 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1143 * testsuite/gas/aarch64/sve.d: Likewise.
1144 * testsuite/gas/aarch64/symbol.d: Likewise.
1145 * testsuite/gas/aarch64/system.d: Likewise.
1146 * testsuite/gas/aarch64/tls-desc.d: Likewise.
1147 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
1148 in suggested alternatives.
1149 * testsuite/gas/aarch64/verbose-error.l: Likewise.
1151 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1153 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
1154 rather than "should be" or "expected to be" in error messages.
1155 (parse_operands): Likewise.
1156 * testsuite/gas/aarch64/diagnostic.l: Likewise.
1157 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
1158 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
1159 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
1161 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1163 * config/tc-aarch64.c (opcode_lookup): Search for the end of
1164 a condition name, rather than assuming that it will have exactly
1166 (parse_operands): Likewise.
1167 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
1168 to the expected output.
1169 * testsuite/gas/aarch64/beq_1.d: Likewise.
1170 * testsuite/gas/aarch64/float-fp16.d: Likewise.
1171 * testsuite/gas/aarch64/int-insns.d: Likewise.
1172 * testsuite/gas/aarch64/no-aliases.d: Likewise.
1173 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
1174 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
1175 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
1178 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1180 * testsuite/gas/aarch64/diagnostic.s,
1181 testsuite/gas/aarch64/diagnostic.l: Add tests for
1182 invalid uses of MUL VL and MUL in base AArch64 instructions.
1183 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
1184 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
1185 testsuite/gas/aarch64/sve-invalid.s,
1186 testsuite/gas/aarch64/sve-invalid.d,
1187 testsuite/gas/aarch64/sve-invalid.l,
1188 testsuite/gas/aarch64/sve-reg-diagnostic.s,
1189 testsuite/gas/aarch64/sve-reg-diagnostic.d,
1190 testsuite/gas/aarch64/sve-reg-diagnostic.l,
1191 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
1193 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1195 * doc/c-aarch64.texi: Document the "sve" feature.
1196 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
1197 (get_reg_expected_msg): Handle it.
1198 (parse_operands): When parsing operands of an SVE instruction,
1199 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
1200 (aarch64_features): Add an entry for SVE.
1202 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1204 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
1205 and FP register operands.
1207 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1209 * config/tc-aarch64.c (double_precision_operand_p): New function.
1210 (parse_operands): Use it to calculate the dp_p input to
1211 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
1213 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1215 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
1218 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1220 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
1222 (parse_shift): Handle SHIFTED_MUL_VL.
1223 (parse_address_main): Add an imm_shift_mode parameter.
1224 (parse_address, parse_sve_address): Update accordingly.
1225 (parse_operands): Handle MUL VL addressing modes.
1227 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1229 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
1231 (get_reg_expected_msg): Handle them.
1232 (aarch64_addr_reg_parse): New function, split out from
1233 aarch64_reg_parse_32_64. Handle Z registers too.
1234 (aarch64_reg_parse_32_64): Call it.
1235 (parse_address_main): Add base_qualifier, offset_qualifier,
1236 base_type and offset_type parameters. Handle SVE base and offset
1238 (parse_address): Update call to parse_address_main.
1239 (parse_sve_address): New function.
1240 (parse_operands): Parse the new SVE address operands.
1242 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1244 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
1245 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
1246 shift modes. Skip range tests for AARCH64_MOD_MUL.
1247 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
1248 (parse_operands): Likewise.
1250 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1252 * config/tc-aarch64.c (parse_enum_string): New function.
1253 (po_enum_or_fail): New macro.
1254 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
1255 AARCH64_OPND_SVE_PRFOP.
1257 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1259 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
1260 (parse_vector_type_for_operand): Assert that the skipped character
1262 (parse_predication_for_operand): New function.
1263 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
1264 (vectype_to_qualifier): Handle NT_zero and NT_merge.
1266 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1268 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
1269 (AARCH64_REG_TYPES): Add ZN and PN.
1270 (get_reg_expected_msg): Handle them.
1271 (parse_vector_type_for_operand): Add a reg_type parameter.
1272 Skip the width for Zn and Pn registers.
1273 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
1274 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
1275 expecting the width to be 0.
1276 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
1278 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
1279 (parse_operands): Handle the new Zn and Pn operands.
1280 (REGSET16): New macro, split out from...
1281 (REGSET31): ...here.
1282 (reg_names): Add Zn and Pn entries.
1284 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1286 * config/tc-aarch64.c (output_operand_error_record): Handle
1287 AARCH64_OPDE_UNTIED_OPERAND.
1289 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1291 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
1292 instruction with all-NIL qualifiers to fail to match.
1294 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1296 * config/tc-aarch64.c (parse_address_main): Remove reloc and
1297 accept_reg_post_index parameters. Parse relocations and register
1298 post indexes unconditionally.
1299 (parse_address): Remove accept_reg_post_index parameter.
1300 Update call to parse_address_main.
1301 (parse_address_reloc): Delete.
1302 (parse_operands): Call parse_address instead of parse_address_main.
1303 Update existing callers of parse_address and make them check
1304 inst.reloc.type where appropriate.
1305 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
1306 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
1307 Also test for invalid uses of post-index register addressing.
1308 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1310 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1312 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
1314 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
1315 (aarch64_check_reg_type): Simplify.
1316 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
1317 register number. Return the type as a qualifier rather than an
1318 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
1320 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
1321 Use get_reg_expected_msg.
1322 (parse_address_main): Likewise. Use aarch64_check_reg_type.
1323 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
1324 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
1325 Use aarch64_check_reg_type to test the result.
1326 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
1327 addresses normally before enforcing the syntax restrictions.
1328 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
1329 zero register and for a stack pointer index.
1330 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
1331 Also update existing diagnostic messages after the above changes.
1332 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
1333 for 32-bit register bases.
1335 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1337 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
1338 (parse_operands): Check the range of 8-bit FP immediates here instead.
1340 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1342 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
1343 low-severity error for registers.
1344 (parse_operands): Report an invalid floating point constant for
1345 if parsing an FPIMM8 fails, and if no better error has been
1347 * testsuite/gas/aarch64/diagnostic.s,
1348 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
1351 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1353 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
1355 (can_convert_double_to_float): ...this. Accept any double-precision
1356 value that converts to single precision without loss of precision.
1357 (parse_aarch64_imm_float): Update accordingly.
1359 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1361 * config/tc-aarch64.c (parse_immediate_expression): Add a
1363 (parse_constant_immediate): Likewise, and update calls.
1364 (parse_aarch64_imm_float): Likewise.
1365 (parse_big_immediate): Likewise.
1366 (po_imm_nc_or_fail): Update accordingly, passing down a new
1367 imm_reg_type variable.
1368 (po_imm_of_fail): Likewise.
1369 (parse_operands): Likewise.
1371 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1373 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
1374 (parse_vector_reg_list): ...this and take a register type
1376 (parse_operands): Update accordingly.
1378 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1380 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
1381 (parse_vector_type_for_operand): ...this.
1382 (parse_typed_reg): Update accordingly.
1384 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1386 * config/tc-aarch64.c (neon_type_el): Rename to...
1387 (vector_type_el): ...this.
1388 (parse_neon_type_for_operand): Update accordingly.
1389 (parse_typed_reg): Likewise.
1390 (aarch64_reg_parse): Likewise.
1391 (vectype_to_qualifier): Likewise.
1392 (parse_operands): Likewise.
1393 (eq_neon_type_el): Likewise. Rename to...
1394 (eq_vector_type_el): ...this.
1395 (parse_neon_reg_list): Update accordingly.
1397 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1399 * config/tc-aarch64.c (neon_el_type: Rename to...
1400 (vector_el_type): ...this.
1401 (neon_type_el): Update accordingly.
1402 (parse_neon_type_for_operand): Likewise.
1403 (vectype_to_qualifier): Likewise.
1405 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
1407 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
1408 (parse_typed_reg): Call parse_neon_type_for_operand directly.
1410 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
1412 * testsuite/gas/arc/textinsnxop.d: New file.
1413 * testsuite/gas/arc/textinsnxop.s: Likewise.
1415 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
1417 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1418 dcti-couples-v9 only in ELF targets to avoid spurious failures in
1419 sparc-aout and sparc-coff targets.
1421 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
1423 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
1424 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
1425 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
1426 <copy, paste.>: Update tests.
1427 * testsuite/gas/ppc/power9.s: Likewise.
1429 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1431 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
1432 in "architecture mismatch" error messages.
1434 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1436 * config/tc-sparc.c (md_assemble): Detect and warning on
1437 unpredictable DCTI couples in certain arches.
1438 (dcti_couples_detect): New global.
1439 (md_longopts): Add command line option -dcti-couples-detect.
1440 (md_show_usage): Document -dcti-couples-detect.
1441 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
1442 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
1443 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
1444 * testsuite/gas/sparc/dcti-couples.s: New file.
1445 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
1446 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
1447 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
1448 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
1449 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
1450 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
1451 * doc/c-sparc.texi (Sparc-Opts): Likewise.
1453 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
1455 * testsuite/gas/arc/tls-relocs2.d: New file.
1456 * testsuite/gas/arc/tls-relocs2.s: Likewise.
1457 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
1460 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1462 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
1464 * doc/as.texinfo: Document new arch strings.
1465 * doc/c-s390.texi: Likewise.
1467 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1469 * config/tc-s390.c: Set all facitily bits by default
1471 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
1473 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
1475 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
1477 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
1480 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
1482 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
1483 (set_cpu_arch): Updated.
1484 (md_parse_option): Likewise.
1485 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
1486 iamcu-inval-2 and iamcu-inval-3.
1487 * testsuite/gas/i386/iamcu-4.d: New file.
1488 * testsuite/gas/i386/iamcu-4.s: Likewise.
1489 * testsuite/gas/i386/iamcu-5.d: Likewise.
1490 * testsuite/gas/i386/iamcu-5.s: Likewise.
1491 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
1492 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
1493 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
1494 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
1496 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
1498 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
1499 ARMv8-A CPUs except xgene1.
1501 2016-08-31 Alan Modra <amodra@gmail.com>
1503 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
1504 ppc_cpu rather than calling ppc_mach to determine VLE mode.
1505 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
1507 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
1509 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
1511 * testsuite/gas/sparc/crypto.s: Likewise.
1513 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1515 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
1516 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
1517 their lowecase counterpart special registers. Write register
1519 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
1520 operation, special register and then case. Use different register for
1521 each operation. Add tests for new special registers.
1522 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
1524 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1525 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1527 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
1529 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
1531 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
1533 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1534 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1535 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1537 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
1539 * config/tc-i386.c (cpu_arch): Add .ptwrite.
1540 * doc/c-i386.texi: Document ptwrite and .ptwrite.
1541 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
1542 x86-64-ptwrite and x86-64-ptwrite-intel.
1543 * testsuite/gas/i386/ptwrite-intel.d: New file.
1544 * testsuite/gas/i386/ptwrite.d: Likewise.
1545 * testsuite/gas/i386/ptwrite.s: Likewise.
1546 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
1547 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
1548 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
1550 2016-08-19 Tamar Christina <tamar.christina@arm.com>
1552 * config/tc-arm.c (do_co_reg2c): Added constraint.
1553 * testsuite/gas/arm/dest-unpredictable.s: New.
1554 * testsuite/gas/arm/dest-unpredictable.l: New.
1555 * testsuite/gas/arm/dest-unpredictable.d: New.
1557 2016-08-19 Nick Clifton <nickc@redhat.com>
1559 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
1560 ordering of sections.
1561 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1562 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
1563 * testsuite/gas/ia64/alias.d: Likewise.
1564 * testsuite/gas/ia64/group-1.d: Likewise.
1565 * testsuite/gas/ia64/group-2.d: Likewise.
1566 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
1567 * testsuite/gas/ia64/secname.d: Likewise.
1568 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
1569 * testsuite/gas/ia64/unwind.d: Likewise.
1570 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
1571 * testsuite/gas/ia64/xdata.d: Likewise.
1572 * testsuite/gas/mmix/bspec-1.d: Likewise.
1573 * testsuite/gas/mmix/bspec-2.d: Likewise.
1574 * testsuite/gas/mmix/byte-1.d: Likewise.
1575 * testsuite/gas/mmix/loc-1.d: Likewise.
1576 * testsuite/gas/mmix/loc-2.d: Likewise.
1577 * testsuite/gas/mmix/loc-3.d: Likewise.
1578 * testsuite/gas/mmix/loc-4.d: Likewise.
1579 * testsuite/gas/mmix/loc-5.d: Likewise.
1580 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1582 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
1584 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
1585 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
1586 Add tests for -0.0. Add an end-of-file comment.
1588 2016-08-05 Nick Clifton <nickc@redhat.com>
1591 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
1592 registers are pushed.
1593 (do_vfp_nsyn_pop): Check that no more than 16 registers are
1595 * testsuite/gas/arm/pr20429.s: New test.
1596 * testsuite/gas/arm/pr20429.d: New test driver.
1597 * testsuite/gas/arm/pr20429.1: Expected error output.
1600 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
1602 (aarch64_init): Treat rs_align frags in code sections as
1603 containing code, not data.
1604 * testsuite/gas/aarch64/pr20364.s: New test.
1605 * testsuite/gas/aarch64/pr20364.d: New test driver.
1607 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
1610 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
1611 of 64-bit relocation types when assembling for a 32-bit Solaris
1614 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
1616 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
1618 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
1619 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
1620 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
1621 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
1623 (sparc_elf_setup): Delete.
1624 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
1627 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
1629 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
1630 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
1631 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
1632 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
1633 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
1634 (get_append_method): Also return APPEND_ADD_COMPACT for
1635 microMIPS instructions.
1636 (find_altered_mips16_opcode): Exclude macros from matching.
1638 (find_altered_opcode): ... to this new function.
1639 (find_altered_micromips_opcode): New function.
1640 (frag_branch_delay_slot_size): Likewise.
1641 (append_insn): Handle microMIPS branch/jump compaction.
1642 (macro_start): Likewise.
1643 (relaxed_micromips_32bit_branch_length): Likewise.
1644 (md_convert_frag): Likewise.
1645 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
1646 for delay slot filling.
1647 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
1649 * testsuite/gas/mips/micromips-size-1.s: Likewise.
1650 * testsuite/gas/mips/micromips.l: Adjust line numbers.
1651 * testsuite/gas/mips/micromips-warn.l: Likewise.
1652 * testsuite/gas/mips/micromips-size-1.l: Likewise.
1653 * testsuite/gas/mips/micromips.d: Adjust padding.
1654 * testsuite/gas/mips/micromips-trap.d: Likewise.
1655 * testsuite/gas/mips/micromips-insn32.d: Likewise.
1656 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1657 * testsuite/gas/mips/micromips@beq.d: Update patterns for
1658 branch/jump compaction.
1659 * testsuite/gas/mips/micromips@bge.d: Likewise.
1660 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
1661 * testsuite/gas/mips/micromips@blt.d: Likewise.
1662 * testsuite/gas/mips/micromips@bltu.d: Likewise.
1663 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
1664 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
1665 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
1666 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
1667 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
1668 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1669 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1670 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
1672 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
1674 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
1675 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
1676 * testsuite/gas/mips/micromips@relax.d: Likewise.
1677 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
1678 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
1679 * testsuite/gas/mips/branch-extern-2.d: Likewise.
1680 * testsuite/gas/mips/branch-extern-4.d: Likewise.
1681 * testsuite/gas/mips/branch-section-2.d: Likewise.
1682 * testsuite/gas/mips/branch-section-4.d: Likewise.
1683 * testsuite/gas/mips/branch-weak-2.d: Likewise.
1684 * testsuite/gas/mips/branch-weak-5.d: Likewise.
1685 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
1686 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1687 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1688 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
1690 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1692 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1694 * testsuite/gas/mips/micromips-compact.d: New test.
1695 * testsuite/gas/mips/mips.exp: Run the new test.
1697 2016-07-27 Graham Markall <graham.markall@embecosm.com>
1699 * config/tc-arc.c: Add new global arc_addrtype_hash.
1700 Define O_colon and O_addrtype.
1701 (debug_exp): Add O_colon and O_addrtype.
1702 (tokenize_arguments): Handle colon and address type
1704 (declare_addrtype): New function.
1705 (md_begin): Initialise arc_addrtype_hash.
1706 (arc_parse_name): Add lookup of address types.
1707 (assemble_insn): Handle colons and address types by
1709 * testsuite/gas/arc/nps400-8.s: New file.
1710 * testsuite/gas/arc/nps400-8.d: New file.
1711 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
1712 * testsuite/gas/arc/nps400-8.d: Add expected PMU
1715 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1717 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
1718 (RELAX_MICROMIPS_INSN32): New macro.
1719 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1720 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
1721 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
1722 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
1723 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
1725 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
1727 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
1729 (md_convert_frag): Likewise.
1730 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
1732 * testsuite/gas/mips/micromips-branch-relax.l: Update line
1733 numbers accordingly.
1734 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
1735 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
1736 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
1738 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
1740 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
1742 * testsuite/gas/mips/mips.exp: Run the new tests.
1744 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1746 * configure: Regenerated.
1748 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
1750 * testsuite/gas/arc/dsp.d: New file.
1751 * testsuite/gas/arc/dsp.s: Likewise.
1752 * testsuite/gas/arc/fpu.d: Likewise.
1753 * testsuite/gas/arc/fpu.s: Likewise.
1754 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
1755 * testsuite/gas/arc/ext3op.d: Likewise.
1756 * testsuite/gas/arc/tdpfp.d: Likewise.
1757 * testsuite/gas/arc/tfpuda.d: Likewise.
1759 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
1761 * config/tc-mips.c (mips_force_relocation): Remove
1762 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
1764 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1766 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
1767 Adjust comments for BAL to JALX linker conversion.
1768 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
1769 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
1771 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
1772 * testsuite/gas/mips/branch-local-4.d: New test.
1773 * testsuite/gas/mips/branch-local-n32-4.d: New test.
1774 * testsuite/gas/mips/branch-local-n64-4.d: New test.
1775 * testsuite/gas/mips/branch-addend.d: New test.
1776 * testsuite/gas/mips/branch-addend-n32.d: New test.
1777 * testsuite/gas/mips/branch-addend-n64.d: New test.
1778 * testsuite/gas/mips/branch-local-4.s: New test source.
1779 * testsuite/gas/mips/branch-addend.s: New test source.
1780 * testsuite/gas/mips/mips.exp: Run the new tests.
1782 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1784 * config/tc-mips.c (mips_force_relocation): Also retain branch
1785 relocations against MIPS16 and microMIPS symbols.
1786 (fix_bad_cross_mode_jump_p): New function.
1787 (fix_bad_same_mode_jalx_p): Likewise.
1788 (fix_bad_misaligned_jump_p): Likewise.
1789 (fix_bad_cross_mode_branch_p): Likewise.
1790 (fix_bad_misaligned_branch_p): Likewise.
1791 (fix_validate_branch): Likewise.
1792 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
1793 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
1794 etc. Verify the ISA mode and alignment of the jump target.
1795 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
1796 with a call to `fix_validate_branch'.
1797 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
1798 <BFD_RELOC_16_PCREL_S2>: Likewise.
1799 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1800 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
1801 Verify the ISA mode and alignment of the branch target.
1802 (md_convert_frag): Verify the ISA mode and alignment of resolved
1803 MIPS16 branch targets.
1804 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
1805 branch targets with `.insn'.
1806 * testsuite/gas/mips/branch-misc-5.s: Likewise.
1807 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
1809 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1810 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
1811 non-instruction branch target with `.insn'.
1812 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
1813 with external symbols.
1814 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
1815 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1816 * testsuite/gas/mips/micromips-trap.d: Likewise.
1817 * testsuite/gas/mips/micromips.d: Likewise.
1818 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
1819 targets with `.insn'.
1820 * testsuite/gas/mips/mips16.d: Update accordingly.
1821 * testsuite/gas/mips/mips16-64.d: Likewise.
1822 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
1823 branch target with `.insn'.
1824 * testsuite/gas/mips/relax-swap3.s: Likewise.
1825 * testsuite/gas/mips/branch-local-2.l: New list test.
1826 * testsuite/gas/mips/branch-local-3.l: New list test.
1827 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
1828 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
1829 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
1830 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
1831 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
1832 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
1833 * testsuite/gas/mips/unaligned-jump-3.d: New test.
1834 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
1835 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
1836 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1837 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1839 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1841 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
1842 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
1843 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
1844 * testsuite/gas/mips/unaligned-branch-3.d: New test.
1845 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
1846 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
1847 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
1848 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
1849 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
1850 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
1851 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
1852 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
1853 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
1854 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
1856 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
1858 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
1859 * testsuite/gas/mips/branch-local-2.s: New test source.
1860 * testsuite/gas/mips/branch-local-3.s: New test source.
1861 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
1862 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
1863 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
1864 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1865 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1866 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1867 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1868 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1869 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1871 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1873 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1874 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1875 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1876 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1877 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1878 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1879 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1881 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1883 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1885 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1887 * testsuite/gas/mips/mips.exp: Run the new tests.
1889 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1891 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1893 (do_pseudo_b): Adjust.
1894 (do_pseudo_bal): Likewise.
1895 (do_pseudo_bge): Likewise.
1896 (do_pseudo_bges): Likewise.
1897 (do_pseudo_bgt): Likewise.
1898 (do_pseudo_bgts): Likewise.
1899 (do_pseudo_ble): Likewise.
1900 (do_pseudo_bles): Likewise.
1901 (do_pseudo_blt): Likewise.
1902 (do_pseudo_blts): Likewise.
1903 (do_pseudo_br): Likewise.
1904 (do_pseudo_bral): Likewise.
1905 (do_pseudo_la): Likewise.
1906 (do_pseudo_li): Likewise.
1907 (do_pseudo_ls_bhw): Likewise.
1908 (do_pseudo_ls_bhwp): Likewise.
1909 (do_pseudo_ls_bhwpc): Likewise.
1910 (do_pseudo_ls_bhwi): Likewise.
1911 (do_pseudo_move): Likewise.
1912 (do_pseudo_neg): Likewise.
1913 (do_pseudo_not): Likewise.
1914 (do_pseudo_pushpopm): Likewise.
1915 (do_pseudo_pushpop): Likewise.
1916 (do_pseudo_v3push): Likewise.
1917 (do_pseudo_v3pop): Likewise.
1918 (do_pseudo_pushpop_stack): Likewise.
1919 (do_pseudo_push_bhwd): Likewise.
1920 (do_pseudo_pop_bhwd): Likewise.
1921 (do_pseudo_pusha): Likewise.
1922 (do_pseudo_pushi): Likewise.
1924 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1926 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
1927 bfd_reloc_code_real_type.
1929 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1931 * config/tc-sparc.c (pop_table): Remove sentinel.
1932 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
1935 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1937 * config/tc-z8k.c (newfix): Make type of type argument
1938 bfd_reloc_code_real_type.
1939 (apply_fix): Likewise.
1941 2016-07-16 Alan Modra <amodra@gmail.com>
1943 * config/tc-epiphany.c: Don't include libbfd.h.
1944 * config/tc-frv.c: Likewise.
1945 * config/tc-ip2k.c: Likewise.
1946 * config/tc-iq2000.c: Likewise.
1947 * config/tc-m32c.c: Likewise.
1948 * config/tc-mep.c: Likewise.
1949 * config/tc-mt.c: Likewise.
1950 * config/tc-nios2.c: Likewise.
1952 2016-07-16 Alan Modra <amodra@gmail.com>
1954 * config/bfin-parse.y: Don't include libbfd.h.
1955 * config/tc-bfin.c: Likewise.
1956 * config/tc-rl78.c: Likewise.
1957 * config/tc-rx.c: Likewise.
1958 * config/tc-metag.c: Likewise.
1959 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1960 * Makefile.am: Update dependencies.
1961 * Makefile.in: Regenerate.
1963 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1965 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1966 (mips_force_relocation_abs): New prototype.
1967 * config/tc-mips.c (mips_force_relocation_abs): New function.
1968 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1969 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1970 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1971 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1972 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1974 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1976 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1977 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1978 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1980 * testsuite/gas/mips/mips.exp: Run the new tests.
1982 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1984 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1985 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1986 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1988 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1989 in `bar', export `foo'.
1990 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1992 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1993 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1994 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1996 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1999 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
2001 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
2002 * testsuite/gas/mips/branch-absolute.d: New test.
2003 * testsuite/gas/mips/branch-absolute-n32.d: New test.
2004 * testsuite/gas/mips/branch-absolute-n64.d: New test.
2005 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
2006 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
2007 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
2008 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
2009 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
2011 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
2013 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
2014 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
2015 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
2016 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
2018 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
2020 * testsuite/gas/mips/branch-absolute.s: New test source.
2021 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
2022 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
2024 * testsuite/gas/mips/micromips-branch-absolute.s: New test
2026 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
2028 * testsuite/gas/mips/mips.exp: Run the new tests.
2030 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
2032 * testsuite/gas/mips/nal-1.d: New test.
2033 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
2034 * testsuite/gas/mips/nal-2.d: New test.
2035 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
2036 * testsuite/gas/mips/nal.s: New test source.
2037 * testsuite/gas/mips/mips.exp: Run the new tests.
2039 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
2041 * testsuite/gas/sparc/ldtxa.s: New file.
2042 * testsuite/gas/sparc/ldtxa.d: Likewise.
2043 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
2045 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
2047 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
2048 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
2049 as it is no longer needed.
2051 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
2053 * config/tc-mips.c (append_insn): Remove extraneous
2054 `install_insn' call.
2056 2016-07-04 Jan Beulich <jbeulich@suse.com>
2058 * config/tc-i386.c (check_qword_reg): Correct register kind
2060 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
2061 16-bit register cases.
2062 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
2065 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2067 * testsuite/gas/mips/ecoff@ld.d: Remove test.
2068 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
2069 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
2070 * testsuite/gas/mips/ecoff@sd.d: Remove test.
2071 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
2072 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
2074 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2075 * testsuite/gas/mips/bge.d: Likewise.
2076 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
2077 * testsuite/gas/mips/bgeu.d: Likewise.
2078 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
2079 * testsuite/gas/mips/blt.d: Likewise.
2080 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
2081 * testsuite/gas/mips/bltu.d: Likewise.
2082 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
2083 * testsuite/gas/mips/branch-likely.d: Likewise.
2084 * testsuite/gas/mips/la.d: Likewise.
2085 * testsuite/gas/mips/lb.d: Likewise.
2086 * testsuite/gas/mips/lifloat.d: Likewise.
2087 * testsuite/gas/mips/sb.d: Likewise.
2088 * testsuite/gas/mips/uld.d: Likewise.
2089 * testsuite/gas/mips/ulh.d: Likewise.
2090 * testsuite/gas/mips/ulw.d: Likewise.
2091 * testsuite/gas/mips/usd.d: Likewise.
2092 * testsuite/gas/mips/ush.d: Likewise.
2093 * testsuite/gas/mips/usw.d: Likewise.
2095 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2097 * testsuite/gas/mips/branch-misc-2.s: Move non
2098 locally-defined-global symbol tests...
2099 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
2100 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
2101 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
2102 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
2103 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
2104 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
2105 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
2106 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
2107 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
2108 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
2109 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
2110 * testsuite/gas/mips/branch-misc-5.d: New test.
2111 * testsuite/gas/mips/branch-misc-5pic.d: New test.
2112 * testsuite/gas/mips/branch-misc-5-64.d: New test.
2113 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
2114 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
2115 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
2116 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
2117 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
2118 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
2119 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
2120 * testsuite/gas/mips/mips.exp: Run the new tests.
2122 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2124 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
2126 * testsuite/gas/mips/beq.d: Update accordingly.
2127 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
2128 * testsuite/gas/mips/micromips@beq.d: Likewise.
2130 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2132 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
2133 tests to NewABI targets.
2135 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2137 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
2140 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2142 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
2144 (aarch64_features): Initialize require fields.
2145 (aarch64_parse_features): Handle dependencies.
2146 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
2147 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
2148 * testsuite/gas/aarch64/illegal-nofp16.s: New.
2149 * testsuite/gas/aarch64/illegal-nofp16.l: New.
2150 * testsuite/gas/aarch64/illegal-nofp16.d: New.
2152 2016-07-01 Nick Clifton <nickc@redhat.com>
2154 * macro.c (macro_expand_body): Use a buffer big enough to hold an
2155 extremely large integer.
2157 2016-07-01 Jan Beulich <jbeulich@suse.com>
2159 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
2161 2016-07-01 Tristan Gingold <gingold@adacore.com>
2163 * NEWS: Add marker for 2.27.
2165 2016-07-01 Jan Beulich <jbeulich@suse.com>
2167 * tc-i386.c (i386_index_check): Add special checks for bndmk,
2169 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
2170 as well as scaling by other than 1 tests.
2171 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
2173 2016-07-01 Jan Beulich <jbeulich@suse.com>
2175 * tc-i386.c (md_assemble): Alter address size checking for MPX
2177 * testsuite/gas/i386/mpx-inval-2.s: New.
2178 * testsuite/gas/i386/mpx-inval-2.l: New.
2179 * testsuite/gas/i386/i386.exp: Run new test.
2181 2016-07-01 Jan Beulich <jbeulich@suse.com>
2184 * config/tc-i386.c (match_template): Add char parameter,
2185 consumed in Intel mode for an extra suffix check.
2186 (md_assemble): New local variable mnem_suffix.
2187 * testsuite/gas/i386/suffix-bad.s: New.
2188 * testsuite/gas/i386/suffix-bad.l: New.
2189 * testsuite/gas/i386/i386.exp: Run new test (twice).
2191 2016-07-01 Jan Beulich <jbeulich@suse.com>
2193 * testsuite/gas/i386/movz.s: New.
2194 * testsuite/gas/i386/movz32.d: New.
2195 * testsuite/gas/i386/movz64.d: New.
2196 * testsuite/gas/i386/i386.exp: Run new tests.
2198 2016-07-01 Jan Beulich <jbeulich@suse.com>
2200 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
2201 (md_assemble): Free first memory operand string.
2202 (i386_index_check): Use repprefixok to distingush xlat from
2203 other (real) string ops.
2204 (maybe_adjust_templates): New.
2205 (i386_att_operand). Call it. Store first memory operand string.
2206 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
2207 * testsuite/gas/i386/intel-movs.s: New.
2208 * testsuite/gas/i386/intel-movs32.d: New.
2209 * testsuite/gas/i386/intel-movs64.d: New.
2210 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
2211 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
2213 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2215 * config/tc-mips.c (get_append_method): Fix a comment typo.
2217 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
2218 Maciej W. Rozycki <macro@imgtec.com>
2220 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
2221 case MIPS16 handling.
2222 * testsuite/gas/mips/branch-swap-3.d: New test.
2223 * testsuite/gas/mips/branch-swap-4.d: New test.
2224 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
2225 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
2226 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
2227 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
2228 * testsuite/gas/mips/branch-swap-3.s: New test source.
2229 * testsuite/gas/mips/mips.exp: Run the new tests.
2231 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2233 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
2236 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
2239 * write.c (subsegs_finish_section): Force no section padding to
2240 alignment on failed assembly, always set last frag's alignment
2242 * testsuite/gas/all/pr20312.l: New list test.
2243 * testsuite/gas/all/pr20312.s: New test source.
2244 * testsuite/gas/all/gas.exp: Run the new test
2246 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
2248 * config.in (TARGET_WITH_CPU): Undefine.
2249 * configure.ac: Add --with-cpu support, and define in config.h.
2250 * configure: Regenerate.
2251 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
2252 * NEWS: Mention new configure option.
2254 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
2256 * testsuite/gas/arm/armv8_2+rdma.d: New.
2258 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
2260 * NEWS: Mention --enable-compressed-debug-sections=gas is the
2261 default for Linux/x86 targets.
2262 * configure.tgt (ac_default_compressed_debug_sections): Default
2263 to yes for Linux/x86 targets.
2265 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
2267 * write.c: Remove "libbfd.h" inclusion.
2269 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2271 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
2274 2016-06-28 Alan Modra <amodra@gmail.com>
2277 * testsuite/gas/elf/section11.s: Don't start directives in first column.
2279 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
2281 * testsuite/gas/aarch64/diagnostic.s,
2282 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
2284 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
2286 * config/tc-mips.c (mips16_reloc_p): Handle
2287 BFD_RELOC_MIPS16_16_PCREL_S1.
2288 (b_reloc_p): Likewise.
2289 (limited_pcrel_reloc_p): Likewise.
2290 (md_pcrel_from): Likewise.
2291 (md_apply_fix): Likewise.
2292 (tc_gen_reloc): Likewise.
2293 (md_convert_frag): Likewise.
2294 (mips_fix_adjustable): Update comment.
2295 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
2296 output, add dump patterns.
2297 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
2298 output, add dump patterns.
2299 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
2300 output, add dump patterns.
2301 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
2302 output, add dump patterns.
2303 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
2304 output, add dump patterns.
2305 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
2306 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
2307 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
2308 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
2309 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
2310 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
2311 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
2312 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
2313 * testsuite/gas/mips/branch-weak-6.d: New test.
2314 * testsuite/gas/mips/branch-weak-7.d: New test.
2315 * testsuite/gas/mips/mips.exp: Run the new tests.
2317 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
2319 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
2320 cfi_add_CFA_def_cfa to generate default CFA with offset
2321 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
2323 2016-06-27 Nick Clifton <nickc@redhat.com>
2326 * as.h (do_not_pad_sections_to_alignment): New global variable.
2327 * as.c (show_usage): Add --no-pad-sections.
2328 (parse_args): Likewise.
2329 * write.c (size_seg): Skip padding the end of the section if
2330 requested from the command line.
2331 (SUB_SEGMENT_ALIGN): Likewise.
2332 * doc/as.texinfo: Document the new option.
2333 * NEWS: Mention the new feature.
2334 * testsuite/gas/elf/section11.s: New test.
2335 * testsuite/gas/elf/section11.d: New test driver.
2336 * testsuite/gas/elf/elf.exp: Run the new test.
2338 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2340 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
2341 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
2343 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2345 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
2347 (map_suffix_reloc_to_operator): Likewise.
2348 (map_operator_to_reloc): Likewise.
2350 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2352 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
2353 element in relax_table.
2355 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2357 * config/tc-aarch64.c: Make the type of reg_entry::type
2360 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2362 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
2363 (md_parse_option): Adjust.
2364 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
2365 with iteration from 0 to ARRAY_SIZE.
2366 * config/tc-mcore.c (md_begin): Likewise.
2367 * config/tc-visium.c (visium_parse_arch): Likewise.
2369 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2371 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
2372 and simplify accordingly.
2373 (tic54x_include): Adjust.
2374 (tic54x_mlib): Likewise.
2376 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2378 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
2380 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
2382 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
2383 unchanged with relaxed MIPS16 instructions.
2384 (mips16_extended_frag): Adjust accordingly. Return 1 right
2385 away if a relocation will be required for the symbol requested.
2386 Remove dead first relaxation pass code.
2387 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
2388 (md_convert_frag): Adjust symbol value calculation. Raise an
2389 error if a relocation is required for the symbol requested.
2390 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
2392 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
2393 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
2394 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
2395 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
2396 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
2397 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
2398 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
2399 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
2400 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
2401 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
2402 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
2403 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
2404 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
2405 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
2406 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
2407 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
2408 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
2409 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
2410 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
2411 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
2412 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
2413 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
2414 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
2415 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
2416 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
2417 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
2418 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
2419 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
2420 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
2421 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
2422 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
2423 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
2424 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
2425 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
2426 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
2427 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
2428 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
2429 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
2430 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
2431 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
2432 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
2433 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
2434 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
2435 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
2436 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
2437 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
2438 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
2439 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
2440 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
2441 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
2442 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
2443 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
2444 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
2445 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
2446 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
2447 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
2448 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
2449 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
2450 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
2451 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
2452 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
2453 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
2454 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
2455 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
2456 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
2457 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
2458 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
2459 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
2460 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
2461 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
2462 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
2463 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
2464 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
2465 * testsuite/gas/mips/mips.exp: Run the new tests.
2467 2016-06-24 Alan Modra <amodra@gmail.com>
2469 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
2471 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
2473 * config/tc-mips.c (b_reloc_p): New function.
2474 (mips_fix_adjustable): Also keep the original microMIPS symbol
2475 referred from branch relocations.
2476 * testsuite/gas/mips/branch-local-1.d: New test.
2477 * testsuite/gas/mips/branch-local-n32-1.d: New test.
2478 * testsuite/gas/mips/branch-local-n64-1.d: New test.
2479 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
2481 * testsuite/gas/mips/branch-local-1.s: New test source.
2482 * testsuite/gas/mips/mips.exp: Run the new cases.
2484 2016-06-23 Graham Markall <graham.markall@embecosm.com>
2486 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
2487 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
2488 options. Correct erroneous enabling of SPFP instructions when
2491 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
2493 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
2494 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
2495 setbool, xor3>: New tests.
2496 * testsuite/gas/ppc/power9.s: Likewise.
2498 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2500 * config/tc-xtensa.c: Include elf/xtensa.h.
2502 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2504 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
2505 <BFD_RELOC_LO16_PCREL>: New switch cases.
2506 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
2507 Move switch cases along `BFD_RELOC_MIPS_JMP'.
2508 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
2509 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
2511 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
2512 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
2513 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
2514 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
2515 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
2516 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
2517 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
2518 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
2519 * testsuite/gas/mips/mips.exp: Run the new tests.
2521 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2523 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
2524 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
2525 via `fixP->fx_addsy'.
2527 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2529 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
2530 Calculate relocation from the containing aligned doubleword.
2531 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
2532 addend from the containing aligned doubleword.
2534 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
2536 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
2537 rather than `mips_opts' for the R6 ISA check.
2538 (mips_fix_adjustable): Likewise.
2539 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
2540 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
2541 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
2542 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
2543 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
2544 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
2545 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
2546 * testsuite/gas/mips/mips.exp: Run the new tests.
2548 2016-06-21 Graham Markall <graham.markall@embecosm.com>
2550 * config/tc-arc.c (check_cpu_feature, md_parse_option):
2551 Add nps400 option and feature. Add check for nps400
2552 feature. Refactor existing checks to check subclass before
2554 (md_show_usage): Document flags for NPS-400 and add some other
2556 (cpu_type): Remove nps400 CPU type entry
2557 (check_zol): Remove bfd_mach_arc_nps400 case.
2558 (md_show_usage): Add help on -mcpu=nps400.
2559 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
2561 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
2562 -fpuda flags. Document -mcpu=nps400.
2563 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
2564 expected flags to match ARC700 instead of NPS400.
2565 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
2566 * testsuite/gas/arc/nps-400-2.d: Likewise.
2567 * testsuite/gas/arc/nps-400-3.d: Likewise.
2568 * testsuite/gas/arc/nps-400-4.d: Likewise.
2569 * testsuite/gas/arc/nps-400-5.d: Likewise.
2570 * testsuite/gas/arc/nps-400-6.d: Likewise.
2571 * testsuite/gas/arc/nps-400-7.d: Likewise.
2572 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
2573 avoid clash with cbba instruction.
2574 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2575 * testsuite/gas/arc/textinsn3op.d: Likewise.
2576 * testsuite/gas/arc/textinsn3op.s: Likewise.
2577 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
2578 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
2580 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2582 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
2583 * testsuite/gas/mips/r6-64-n64.d: Likewise.
2585 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
2587 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
2590 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
2592 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
2594 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2596 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
2597 %hmcddfr and %hva_mask_nz.
2598 (sparc_ip): New handling of asr/privileged/hyperprivileged
2599 registers, adapted to the new form of the sparc opcodes table.
2600 * testsuite/gas/sparc/rdasr.s: New file.
2601 * testsuite/gas/sparc/rdasr.d: Likewise.
2602 * testsuite/gas/sparc/wrasr.s: Likewise.
2603 * testsuite/gas/sparc/wrasr.d: Likewise.
2604 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
2606 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
2607 registers require it.
2608 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
2609 registers and write instruction modalities.
2610 * testsuite/gas/sparc/wrpr.d: Likewise.
2611 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
2613 * testsuite/gas/sparc/rdhpr.d: Likewise.
2614 * testsuite/gas/sparc/wrhpr.s: Likewise.
2615 * testsuite/gas/sparc/wrhpr.d: Likewise.
2617 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2619 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
2620 architectures to use the right opcode architecture.
2621 (sparc_md_end): Handle v9{c,d,e,v,m}.
2622 (sparc_ip): Fix some comments.
2623 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
2624 instruction, which is v9d.
2625 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
2626 instruction from the test, as %mwait is not readable.
2627 * testsuite/gas/sparc/mwait.d: Likewise.
2628 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
2629 mismatch architecture errors.
2630 * testsuite/gas/sparc/mism-2.s: New file.
2632 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2634 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
2635 empty string to mark the end of the array.
2636 (hpriv_reg_table): Likewise.
2637 (v9a_asr_table): Likewise.
2638 (cmp_reg_entry): Handle entries with NULL names.
2640 (F_POP_PCREL): Likewise.
2641 (F_POP_TLS_CALL): Likewise.
2642 (F_POP_POSTFIX): Likewise.
2643 (struct pop_entry): New type.
2644 (pop_table): New variable.
2645 (enum pop_entry_type): New type.
2646 (struct perc_entry): Likewise.
2647 (NUM_PERC_ENTRIES): Define.
2648 (perc_table): New variable.
2649 (cmp_perc_entry): New function.
2650 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
2652 (sparc_ip): Handle entries with NULL names in priv_reg_table,
2653 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
2656 2016-06-15 Nick Clifton <nickc@redhat.com>
2658 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
2660 * config/tc-mcore.c (md_assemble): Likewise.
2661 * config/tc-mn10200.c (md_assemble): Likewise.
2662 * config/tc-moxie.c (md_assemble): Likewise.
2663 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
2664 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
2665 exception targets. Add alpha, hppa, microblaze and rl78 to list
2667 (forward): Add microblaze to list of exceptions.
2668 (fwdexp): Add alpha to list of exceptions.
2669 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
2670 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
2671 (do_930509a): Alpha sort list of exception targets. Add h8300 and
2672 mn10200 to list of exceptions.
2673 (align2): Expect to fail for nds32.
2674 (cond): Add alpha and rl78 to list of exceptions.
2675 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
2676 * testsuite/gas/all/string.d: Skip for tic4x.
2677 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
2678 target does not support ELF.
2679 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
2680 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
2681 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
2682 tests for sh-pe and sh-rtemscoff targets.
2683 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
2685 (type): Run the noifunc version for alpha-freebsd and visium.
2686 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
2687 mn10200 or moxie targets.
2688 * testsuite/gas/ft32/insn.d: Update expected disassembly.
2689 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
2691 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
2692 mcore and rx targets.
2693 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
2695 (purge): Expect to fail on the ns32k and vax.
2696 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
2697 * testsuite/gas/nds32/ls.d: Likewise.
2698 * testsuite/gas/nds32/sys-reg.d: Likewise.
2699 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
2700 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
2701 * testsuite/gas/pe/section-align-3.d: Likewise.
2702 * testsuite/gas/pe/section-exclude.d: Likewise.
2703 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
2705 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
2706 for variations in whitespace.
2707 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
2709 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
2710 Installs a 32-bit value without generating warnings on 64-bit
2712 Use the new macro to replace the .word directives.
2714 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2716 * testsuite/gas/arc/add_s.d: New file.
2717 * testsuite/gas/arc/add_s.s: New file.
2719 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2721 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
2722 * testsuite/gas/arc/nps400-6.d: Likewise.
2724 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2726 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
2728 * testsuite/gas/arc/nps400-6.d: Likewise.
2730 2016-06-14 Graham Markall <graham.markall@embecosm.com>
2732 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
2733 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
2734 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
2735 * testsuite/gas/arc/nps400-6.d: Likewise.
2737 2016-06-14 Nick Clifton <nickc@redhat.com>
2739 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
2742 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
2744 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
2745 JALR relocations on R6.
2746 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
2747 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
2748 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
2749 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
2750 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
2751 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
2753 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
2754 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
2756 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
2757 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
2759 * testsuite/gas/mips/mips.exp: Run the new tests.
2761 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
2763 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
2764 * doc/c-aarch64.texi: Document that vulcan is a valid processor
2767 2016-06-13 Nick Clifton <nickc@redhat.com>
2769 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
2770 that are not supported.
2772 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
2774 * config/tc-cr16.c (check_range): Likewise.
2775 * config/tc-nios2.c (nios2_check_overflow): Likewise.
2777 2016-06-08 Renlin Li <renlin.li@arm.com>
2779 * config/tc-aarch64.c (print_operands): Substitute size.
2780 (output_operand_error_record): Likewise.
2782 2016-06-07 Alan Modra <amodra@gmail.com>
2784 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
2785 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
2786 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
2787 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
2788 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
2789 add vle_opcodes twice.
2790 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
2792 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
2794 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
2795 (arm_ext_ras): Renamed from arm_ext_v8_2.
2796 (insns): Update for arm_ext_v8_2 renaming.
2797 (arm_extensions): Add "ras".
2798 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
2799 * testsuite/gas/arm/armv8-a+ras.d: New.
2800 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
2803 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2805 * itbl-parse.y (yyerror): Use modern argument declaration style.
2807 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2809 * config/tc-sh.c (parse_reg): Change type of mode argument to
2811 (get_operand): Adjust.
2812 (insert): Change type of how to bfd_reloc_code_real_type.
2813 (insert4): Likewise.
2814 * config/tc-sh64.c (shmedia_get_operand): Adjust.
2815 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
2817 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2819 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
2822 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
2825 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
2826 stbcx., sthcx., stwcx., stdcx.>: Add tests.
2827 * gas/testsuite/gas/ppc/e6500.d: Likewise.
2828 * gas/testsuite/gas/ppc/power8.s: Likewise.
2829 * gas/testsuite/gas/ppc/power8.d: Likewise.
2830 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
2832 * gas/testsuite/gas/ppc/power4.d: Likewise.
2834 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2837 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2838 * testsuite/gas/i386/x86-64-branch.d: Updated.
2839 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2840 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2841 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
2843 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2845 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
2846 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
2848 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2850 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
2851 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
2853 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2855 * configure.tgt: Replace -uclibc with *.
2857 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2859 * config/tc-arc.c (parse_opcode_flags): New function.
2860 (find_opcode_match): Move flag parsing code out to new function.
2861 Ignore operands marked IGNORE.
2862 (build_fake_opcode_hash_entry): New function.
2863 (find_special_case_long_opcode): New function.
2864 (find_special_case): Lookup long opcodes.
2865 * testsuite/gas/arc/nps400-7.d: New file.
2866 * testsuite/gas/arc/nps400-7.s: New file.
2868 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2870 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2872 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2874 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2875 sentinal with iteration to array size.
2877 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2879 * config/xtensa-relax.h: Move typedefs of enums to the enums
2882 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2884 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2887 2016-06-01 Graham Markall <graham.markall@embecosm.com>
2889 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2890 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2891 * testsuite/gas/arc/nps-400-1.d: Likewise.
2893 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2896 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2897 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2898 noavx512ifma and noavx512vbmi.
2899 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2900 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2902 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2903 * testsuite/gas/i386/noavx512-1.l: New file.
2904 * testsuite/gas/i386/noavx512-1.s: Likewise.
2905 * testsuite/gas/i386/noavx512-2.l: Likewise.
2906 * testsuite/gas/i386/noavx512-2.s: Likewise.
2908 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2911 * config/tc-i386.c (cpu_arch): Add 687.
2912 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2913 nosse4.1, nosse4.2, nosse4 and noavx2.
2914 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2915 register. Check cpuregxmm instead of cpusse for XMM register.
2916 Check cpuregymm instead of cpuavx for YMM register. Check
2917 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
2918 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
2919 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
2920 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
2921 * testsuite/gas/i386/arch-10.d (as): Likewise.
2922 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
2923 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
2924 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
2926 * testsuite/gas/i386/no87-3.l: New file.
2927 * testsuite/gas/i386/no87-3.s: Likewise.
2928 * testsuite/gas/i386/noavx-3.l: Likewise.
2929 * testsuite/gas/i386/noavx-3.s: Likewise.
2930 * testsuite/gas/i386/noavx-4.d: Likewise.
2931 * testsuite/gas/i386/noavx-4.s: Likewise.
2932 * testsuite/gas/i386/nosse-4.l: Likewise.
2933 * testsuite/gas/i386/nosse-4.s: Likewise.
2934 * testsuite/gas/i386/nosse-5.d: Likewise.
2935 * testsuite/gas/i386/nosse-5.s: Likewise.
2937 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2940 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
2942 (match_template): Check Intel64/AMD64 ISA.
2944 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2947 * config/tc-i386.c (intel64): New.
2948 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2949 (md_parse_option): Set intel64 instead of cpuamd64 and
2952 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2954 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2957 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2959 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2960 * testsuite/gas/ppc/altivec3.s: Likewise.
2961 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2962 * testsuite/gas/ppc/power9.s: Likewise.
2964 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2966 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2967 * testsuite/gas/i386/noavx-1.l: Likewise.
2968 * testsuite/gas/i386/nommx-1.l: Likewise.
2969 * testsuite/gas/i386/nosse-1.l: Likewise.
2970 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2971 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2972 * testsuite/gas/i386/noavx-1.s: Likewise.
2973 * testsuite/gas/i386/nommx-1.s: Likewise.
2974 * testsuite/gas/i386/nosse-1.s: Likewise.
2975 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2977 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2979 * config/tc-metag.c (metag_handle_align): Make the type of noop
2982 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2984 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2985 bfd_reloc_code_real_type.
2987 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2990 * config/tc-i386.c (cpu_flags_match): Require another match
2992 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2993 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2994 * testsuite/gas/i386/avx512vl-1.l: New file.
2995 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2996 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2997 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2998 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2999 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
3000 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
3001 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
3003 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3006 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
3007 * testsuite/gas/i386/x86-64-pr20141.d: New file.
3008 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
3010 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
3012 * config/tc-i386.c (arch_entry): Remove negated.
3013 (noarch_entry): New struct.
3014 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
3016 (set_cpu_arch): Check cpu_noarch after cpu_arch.
3017 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
3019 (output_message): New function.
3020 (show_arch): Use it. Handle cpu_noarch.
3021 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
3022 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
3023 * testsuite/gas/i386/noavx-1.l: New file.
3024 * testsuite/gas/i386/noavx-1.s: Likewise.
3025 * testsuite/gas/i386/noavx-2.s: Likewise.
3026 * testsuite/gas/i386/noavx-2.l: Likewise.
3027 * testsuite/gas/i386/nommx-1.s: Likewise.
3028 * testsuite/gas/i386/nommx-1.l: Likewise.
3029 * testsuite/gas/i386/nommx-2.s: Likewise.
3030 * testsuite/gas/i386/nommx-2.l: Likewise.
3031 * testsuite/gas/i386/nommx-3.s: Likewise.
3032 * testsuite/gas/i386/nommx-3.l: Likewise.
3033 * testsuite/gas/i386/nosse-1.s: Likewise.
3034 * testsuite/gas/i386/nosse-1.l: Likewise.
3035 * testsuite/gas/i386/nosse-2.s: Likewise.
3036 * testsuite/gas/i386/nosse-2.l: Likewise.
3037 * testsuite/gas/i386/nosse-3.s: Likewise.
3038 * testsuite/gas/i386/nosse-3.l: Likewise.
3040 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
3043 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
3044 instruction if supported by the currently selected fpu variant.
3045 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
3046 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
3048 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3050 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
3051 jump relocations against MIPS16 or microMIPS symbols on RELA
3053 * testsuite/gas/mips/jalx-local.d: New test.
3054 * testsuite/gas/mips/jalx-local-n32.d: New test.
3055 * testsuite/gas/mips/jalx-local-n64.d: New test.
3056 * testsuite/gas/mips/jalx-local.s: New test source.
3057 * testsuite/gas/mips/mips.exp: Run the new tests.
3059 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
3061 * config/tc-mips.c (md_apply_fix)
3062 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
3065 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3067 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
3068 operator to operatorT.
3069 (map_suffix_reloc_to_operator): Change return type to operatorT.
3071 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3073 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
3075 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3077 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
3078 handler_charp to const char *.
3080 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3082 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
3083 (ft32_target_format): Likewise.
3084 (TARGET_FORMAT): Adjust.
3086 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3088 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
3089 (ia64_frob_label): Likewise.
3091 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3093 * config/tc-cr16.c (check_range): Make type of retval op_err.
3094 * config/tc-crx.c: Likewise.
3096 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
3098 * config/tc-arc.c (md_begin): Add XY registers.
3099 (cpu_types): Code density is default off for ARC EM.
3101 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
3103 * config/tc-arc.c (attributes_t): Renamed attribute class to
3105 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
3107 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
3109 * configuse.tgt: Add entry for arm-phoenix.
3111 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3113 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
3115 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3117 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
3119 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3121 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
3122 (md_begin): Likewise.
3123 (encode_condition): Likewise.
3124 (encode_cc3): Likewise.
3125 (encode_cc2): Likewise.
3126 (encode_operand): Likewise.
3127 (tic54x_undefined_symbol): Likewise.
3129 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
3131 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
3133 * doc/c-mips.texi: Document p6600 -march option.
3135 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
3138 * config/tc-i386.c (md_apply_fix): Preserve addend for
3139 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
3140 * testsuite/gas/i386/addend.d: New file.
3141 * testsuite/gas/i386/addend.s: Likewise.
3142 * testsuite/gas/i386/x86-64-addend.d: Likewise.
3143 * testsuite/gas/i386/x86-64-addend.s: Likewise.
3144 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
3145 * testsuite/gas/i386/reloc32.d: Updated.
3147 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3149 * config/tc-mips.c (append_insn): Correct the encoding of a
3150 constant argument for microMIPS JALX.
3151 (tc_gen_reloc): Correct the encoding of an in-place addend for
3153 * testsuite/gas/mips/jalx-addend.d: New test.
3154 * testsuite/gas/mips/jalx-addend-n32.d: New test.
3155 * testsuite/gas/mips/jalx-addend-n64.d: New test.
3156 * testsuite/gas/mips/jalx-imm.d: New test.
3157 * testsuite/gas/mips/jalx-imm-n32.d: New test.
3158 * testsuite/gas/mips/jalx-imm-n64.d: New test.
3159 * testsuite/gas/mips/jalx-addend.s: New test source.
3160 * testsuite/gas/mips/jalx-imm.s: New test source.
3161 * testsuite/gas/mips/mips.exp: Run the new tests.
3163 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
3165 * config/tc-mips.c: Correct tab-after-space formatting mistakes
3168 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3170 * config/tc-arc.c (find_opcode_match): Remove casting away of
3172 * config/tc-arc.h (struct arc_flags): Make flgp field const.
3174 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3176 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
3178 (md_convert_frag): Likewise.
3180 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3182 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
3183 cached opcode to NULL when we reach a non-matching opcode.
3184 * testsuite/gas/arc/asm-errors-2.d: New file.
3185 * testsuite/gas/arc/asm-errors-2.err: New file.
3186 * testsuite/gas/arc/asm-errors-2.s: New file.
3188 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3190 * config/tc-arc.c (tokenize_arguments): Add checks for array
3192 * testsuite/gas/arc/asm-errors.s: Addition test line added.
3193 * testsuite/gas/arc/asm-errors.err: Update expected results.
3195 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3197 * config/tc-rx.c (struct cpu_type): Change the type of a field from
3198 int to enum rx_cpu_types.
3200 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3202 * config/tc-dlx.c (struct machine_it): change the type of a field from
3203 int to bfd_reloc_code_real_type.
3204 * config/tc-tic4x.c: Likewise.
3206 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3208 * config/tc-v850.c (v850_target_arch): change type to enum
3210 * config/tc-v850.h (v850_target_arch): Likewise.
3212 2016-05-18 Alan Modra <amodra@gmail.com>
3214 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
3215 allowed negative range.
3216 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
3217 * testsuite/gas/ppc/power9.d: Update.
3219 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
3221 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
3222 disassembling and stop skipping targets.
3223 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3224 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3225 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
3226 instruction for targets that have stronger alignment requirement.
3227 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3228 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3229 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3230 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3231 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3232 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3233 * testsuite/gas/arm/archv8m-main.d: Likewise.
3234 * testsuite/gas/arm/archv8m.s: Add label.
3235 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
3236 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3237 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
3239 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3241 * config/tc-m32r.c (mach_table): Make static and const.
3243 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3245 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
3248 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3250 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
3252 * config/tc-msp430.c (md_begin): Likewise.
3254 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3256 * config/tc-m68hc11.c (fixup8): Change variables type from int to
3257 bfd_reloc_code_real_type where appropriate.
3258 (fixup16): Likewise.
3259 (fixup8_xg): Likewise.
3261 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
3263 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
3265 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
3267 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
3268 * testsuite/gas/ppc/power9.s: Likewise.
3270 2016-05-13 Alan Modra <amodra@gmail.com>
3272 * config/obj-coff.c (weak_uniquify): Delete unused var.
3274 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3276 * app.c (app_push): Use XNEW and related macros.
3277 * as.c (parse_args): Likewise.
3278 * cgen.c (make_right_shifted_expr): Likewise.
3279 (gas_cgen_tc_gen_reloc): Likewise.
3280 * config/bfin-defs.h: Likewise.
3281 * config/bfin-parse.y: Likewise.
3282 * config/obj-coff.c (stack_init): Likewise.
3283 (stack_push): Likewise.
3284 (coff_obj_symbol_new_hook): Likewise.
3285 (coff_obj_symbol_clone_hook): Likewise.
3286 (add_lineno): Likewise.
3287 (coff_frob_symbol): Likewise.
3288 * config/obj-elf.c (obj_elf_section_name): Likewise.
3289 (build_group_lists): Likewise.
3290 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
3291 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
3292 * config/tc-aarch64.c (insert_reg_alias): Likewise.
3293 (find_or_make_literal_pool): Likewise.
3294 (add_to_lit_pool): Likewise.
3295 (fill_instruction_hash_table): Likewise.
3296 * config/tc-alpha.c (load_expression): Likewise.
3297 (emit_jsrjmp): Likewise.
3298 (s_alpha_ent): Likewise.
3299 (s_alpha_end): Likewise.
3300 (s_alpha_linkage): Likewise.
3301 (md_begin): Likewise.
3302 (tc_gen_reloc): Likewise.
3303 * config/tc-arc.c (arc_insert_opcode): Likewise.
3304 (arc_extcorereg): Likewise.
3305 * config/tc-bfin.c: Likewise.
3306 * config/tc-cr16.c: Likewise.
3307 * config/tc-cris.c: Likewise.
3308 * config/tc-crx.c (preprocess_reglist): Likewise.
3309 * config/tc-d10v.c: Likewise.
3310 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
3311 (frv_tomcat_shuffle): Likewise.
3312 * config/tc-h8300.c: Likewise.
3313 * config/tc-i370.c (i370_macro): Likewise.
3314 * config/tc-i386.c (lex_got): Likewise.
3315 (md_parse_option): Likewise.
3316 * config/tc-ia64.c (alloc_record): Likewise.
3317 (set_imask): Likewise.
3318 (save_prologue_count): Likewise.
3319 (dot_proc): Likewise.
3320 (dot_endp): Likewise.
3321 (ia64_frob_label): Likewise.
3322 (add_qp_imply): Likewise.
3323 (add_qp_mutex): Likewise.
3324 (mark_resource): Likewise.
3325 (dot_alias): Likewise.
3326 * config/tc-m68hc11.c: Likewise.
3327 * config/tc-m68k.c (m68k_frob_label): Likewise.
3329 (mri_control_label): Likewise.
3330 (push_mri_control): Likewise.
3331 (build_mri_control_operand): Likewise.
3332 (s_mri_else): Likewise.
3333 (s_mri_break): Likewise.
3334 (s_mri_next): Likewise.
3335 (s_mri_for): Likewise.
3336 (s_mri_endw): Likewise.
3337 * config/tc-metag.c (create_mnemonic_htab): Likewise.
3338 * config/tc-microblaze.c: Likewise.
3339 * config/tc-mmix.c (s_loc): Likewise.
3340 * config/tc-nds32.c (nds32_relax_hint): Likewise.
3341 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
3342 * config/tc-rl78.c: Likewise.
3343 * config/tc-rx.c (rx_include): Likewise.
3344 * config/tc-sh.c: Likewise.
3345 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
3346 * config/tc-sparc.c: Likewise.
3347 * config/tc-spu.c: Likewise.
3348 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
3349 (tic6x_start_unwind_section): Likewise.
3350 * config/tc-tilegx.c: Likewise.
3351 * config/tc-tilepro.c: Likewise.
3352 * config/tc-v850.c: Likewise.
3353 * config/tc-visium.c: Likewise.
3354 * config/tc-xgate.c: Likewise.
3355 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
3356 (new_resource_table): Likewise.
3357 (resize_resource_table): Likewise.
3358 (xtensa_create_trampoline_frag): Likewise.
3359 (xtensa_maybe_create_literal_pool_frag): Likewise.
3360 (cache_literal_section): Likewise.
3361 * config/xtensa-relax.c (append_transition): Likewise.
3362 (append_condition): Likewise.
3363 (append_value_condition): Likewise.
3364 (append_constant_value_condition): Likewise.
3365 (append_literal_op): Likewise.
3366 (append_label_op): Likewise.
3367 (append_constant_op): Likewise.
3368 (append_field_op): Likewise.
3369 (append_user_fn_field_op): Likewise.
3370 (enter_opname_n): Likewise.
3371 (enter_opname): Likewise.
3372 (split_string): Likewise.
3373 (parse_insn_templ): Likewise.
3374 (clone_req_or_option_list): Likewise.
3375 (clone_req_option_list): Likewise.
3376 (parse_option_cond): Likewise.
3377 (parse_insn_pattern): Likewise.
3378 (parse_insn_repl): Likewise.
3379 (build_transition): Likewise.
3380 (build_transition_table): Likewise.
3381 * dw2gencfi.c (alloc_fde_entry): Likewise.
3382 (alloc_cfi_insn_data): Likewise.
3383 (cfi_add_CFA_remember_state): Likewise.
3384 (dot_cfi_escape): Likewise.
3385 (dot_cfi_fde_data): Likewise.
3386 (select_cie_for_fde): Likewise.
3387 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
3388 * ecoff.c (ecoff_add_bytes): Likewise.
3389 (ecoff_build_debug): Likewise.
3390 * input-scrub.c (input_scrub_push): Likewise.
3391 (input_scrub_begin): Likewise.
3392 (input_scrub_next_buffer): Likewise.
3393 * itbl-ops.c (append_insns_as_macros): Likewise.
3394 (alloc_entry): Likewise.
3395 (alloc_field): Likewise.
3396 * listing.c (listing_newline): Likewise.
3397 (listing_listing): Likewise.
3398 * macro.c (get_any_string): Likewise.
3399 (delete_macro): Likewise.
3400 * stabs.c (generate_asm_file): Likewise.
3401 (stabs_generate_asm_lineno): Likewise.
3402 * subsegs.c (subseg_change): Likewise.
3403 (subseg_get): Likewise.
3404 * symbols.c (define_dollar_label): Likewise.
3405 (symbol_relc_make_sym): Likewise.
3406 * write.c (write_relocs): Likewise.
3408 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3410 * config/obj-coff.c (obj_coff_def): Simplify string copying.
3411 (weak_name2altname): Likewise.
3412 (weak_uniquify): Likewise.
3413 (obj_coff_section): Likewise.
3414 (obj_coff_init_stab_section): Likewise.
3415 * config/obj-elf.c (obj_elf_section_name): Likewise.
3416 (obj_elf_init_stab_section): Likewise.
3417 * config/obj-evax.c (evax_shorten_name): Likewise.
3418 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
3419 * config/tc-aarch64.c (create_register_alias): Likewise.
3420 * config/tc-alpha.c (load_expression): Likewise.
3421 (s_alpha_file): Likewise.
3422 (s_alpha_section_name): Likewise.
3423 (tc_gen_reloc): Likewise.
3424 * config/tc-arc.c (md_assemble): Likewise.
3425 * config/tc-arm.c (create_neon_reg_alias): Likewise.
3426 (start_unwind_section): Likewise.
3427 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
3428 (hppa_elf_mark_end_of_function): Likewise.
3429 * config/tc-nios2.c (nios2_modify_arg): Likewise.
3430 (nios2_negate_arg): Likewise.
3431 * config/tc-rx.c (rx_section): Likewise.
3432 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
3433 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3434 * config/tc-tic54x.c (tic54x_include): Likewise.
3435 (tic54x_macro_info): Likewise.
3436 (subsym_get_arg): Likewise.
3437 (subsym_substitute): Likewise.
3438 (tic54x_start_line_hook): Likewise.
3439 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
3440 (xg_reverse_shift_count): Likewise.
3441 * config/xtensa-relax.c (enter_opname_n): Likewise.
3442 (split_string): Likewise.
3443 * dwarf2dbg.c (get_filenum): Likewise.
3444 (process_entries): Likewise.
3445 * expr.c (operand): Likewise.
3446 * itbl-ops.c (alloc_entry): Likewise.
3447 * listing.c (listing_message): Likewise.
3448 (listing_title): Likewise.
3449 * macro.c (check_macro): Likewise.
3450 * stabs.c (s_xstab): Likewise.
3451 * symbols.c (symbol_relc_make_expr): Likewise.
3452 * write.c (compress_debug): Likewise.
3454 2016-05-12 Nick Clifton <nickc@redhat.com>
3457 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
3459 2016-05-11 Nick Clifton <nickc@redhat.com>
3462 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
3463 big endian ARM configurations.
3465 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
3466 Matthew Fortune <matthew.fortune@imgtec.com>
3468 * config/tc-mips.c (options): Add OPTION_DSPR3 and
3470 (md_longopts): Likewise.
3471 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
3472 (mips_ases): Define availability for DSPr3.
3473 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
3474 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
3475 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
3477 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
3478 .set nodspr3. Fix -mdspr2 formatting.
3479 * testsuite/gas/mips/mips32-dspr3.d: New file.
3480 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
3481 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
3483 2016-05-11 Nick Clifton <nickc@redhat.com>
3486 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
3487 to the pool uses O_constant.
3488 * testsuite/gas/arm/pr20068.s: New test.
3489 * testsuite/gas/arm/pr20068.d: Test driver.
3491 2016-05-11 Nick Clifton <nickc@redhat.com>
3493 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
3494 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3495 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3496 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3497 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3498 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3499 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3500 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3501 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3503 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3505 * testsuite/gas/i386/i386.exp: Run RDPID tests.
3506 * testsuite/gas/i386/prefix.d: Adjust.
3507 * testsuite/gas/i386/rdpid.s: New test.
3508 * testsuite/gas/i386/rdpid.d: Ditto.
3509 * testsuite/gas/i386/rdpid-intel.d: Ditto.
3510 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
3511 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
3512 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
3514 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3516 * config/tc-i386.c (cpu_arch): Add RDPID.
3517 * doc/c-i386.texi: Document RDPID.
3519 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3521 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
3522 set branch type of a symbol.
3524 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3526 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
3527 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
3529 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
3530 (aeabi_set_public_attributes): Memorize the feature bits of the
3531 architecture selected for Tag_CPU_arch. Use it to set
3532 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
3533 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
3534 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
3535 * testsuite/gas/arm/arch7em-bad-1.d: This.
3536 * testsuite/gas/arm/arch7em-bad-2.d: New file.
3537 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
3538 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
3539 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
3540 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
3541 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
3542 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
3543 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
3545 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3547 * config/tc-arm.c (struct arm_option_extension_value_table): Make
3548 allowed_archs an array with 2 entries.
3549 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
3550 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
3551 (arm_extensions): Use separate entries in allowed_archs when several
3552 archs are allowed to use an extension and change ARCH_ANY in
3553 ARM_ARCH_NONE in allowed_archs.
3554 (arm_parse_extension): Check that, for each allowed_archs entry, all
3555 bits are set in the current architecture, ignoring ARM_ANY entries.
3556 (s_arm_arch_extension): Likewise.
3558 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3560 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
3561 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
3562 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
3563 shared with a non M profile architecture.
3564 (do_rn): New function.
3565 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
3567 (v7m_psrs): Add ARMv8-M security extensions new special registers.
3568 (insns): Add ARMv8-M Security Extensions instructions.
3569 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
3570 arm_ext_v8m_m to decide the profile and the Thumb ISA.
3571 * testsuite/gas/arm/archv8m-cmse.s: New file.
3572 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
3573 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
3574 * testsuite/gas/arm/any-cmse.d: Likewise.
3575 * testsuite/gas/arm/any-cmse-main.d: Likewise.
3576 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
3577 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
3578 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
3579 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
3580 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
3582 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3584 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
3585 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
3587 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3589 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
3590 (fpu_arch_vfp_v3): Likewise.
3591 (fpu_arch_neon_v1): Likewise.
3592 (arm_arch_full): Likewise.
3593 (parse_neon_el_struct_list): Initialize fields of firsttype.
3595 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
3597 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
3598 (arc_extinsn): Handle new introduced syntax.
3599 * testsuite/gas/arc/textinsn1op.d: New file.
3600 * testsuite/gas/arc/textinsn1op.s: Likewise.
3601 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
3603 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3605 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
3606 DW_LNS_fixed_advance_pc.
3608 2016-04-27 Alan Modra <amodra@gmail.com>
3610 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
3611 (xmemdup0): New inline function.
3613 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
3615 * config/tc-mips.c (code_option_type): New enum.
3616 (parse_code_option): Return status indicating option type.
3617 (s_mipsset): Update `parse_code_option' call site accordingly.
3618 Always set register sizes from the ISA with ISA overrides.
3619 (s_module): Update `parse_code_option' call site.
3620 * testsuite/gas/mips/isa-override-1.d: New test.
3621 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
3622 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
3623 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
3624 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
3625 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
3626 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
3627 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
3628 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
3629 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
3630 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
3631 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
3632 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
3633 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
3634 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
3635 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
3636 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
3637 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
3638 * testsuite/gas/mips/isa-override-2.l: New list test.
3639 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
3640 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
3641 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
3642 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
3643 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
3644 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
3645 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
3646 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
3647 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
3648 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
3649 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
3651 * testsuite/gas/mips/isa-override-1.s: New test source.
3652 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
3653 * testsuite/gas/mips/isa-override-2.s: New test source.
3654 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
3655 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
3656 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
3657 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
3658 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
3659 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
3660 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
3661 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
3662 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
3663 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
3664 * testsuite/gas/mips/mips.exp: Run the new tests.
3666 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3669 * config/tc-bfin.c: Likewise.
3670 * config/tc-ia64.c: Likewise.
3671 * config/tc-mep.c: Likewise.
3672 * config/tc-metag.c: Likewise.
3673 * config/tc-nios2.c: Likewise.
3674 * config/tc-rl78.c: Likewise.
3676 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
3678 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
3679 -mcpu. Add cross reference to .cpu directive from -mcpu option.
3680 (ARC Directives): Add NPS400 to .cpu directive list.
3682 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
3684 * config/tc-aarch64.c (aarch64_features): Add "ras".
3685 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
3686 * testsuite/gas/aarch64/armv8-ras-1.d: New.
3687 * testsuite/gas/aarch64/armv8-ras-1.s: New.
3688 * testsuite/gas/aarch64/illegal-ras-1.d: New.
3689 * testsuite/gas/aarch64/illegal-ras-1.s: New.
3691 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3693 * testsuite/gas/arc/nps400-6.d: New file.
3694 * testsuite/gas/arc/nps400-6.s: New file.
3696 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3698 * testsuite/gas/arc/nps400-4.d: New file.
3699 * testsuite/gas/arc/nps400-4.s: New file.
3700 * testsuite/gas/arc/nps400-5.d: New file.
3701 * testsuite/gas/arc/nps400-5.s: New file.
3703 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
3705 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
3708 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
3710 Revert prevous change.
3711 * config/tc-arc.c (arc_option): Make .cpu directive
3712 case-sensitive again.
3714 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3716 * config/tc-arc.c (arc_option): Make .cpu directive
3719 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3721 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
3723 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3725 * config/tc-mips.c (md_begin): Remove useless assignment.
3727 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3729 * Makefile.in: Regenerated with automake 1.11.6.
3730 * aclocal.m4: Likewise.
3731 * doc/Makefile.in: Likewise.
3733 2016-04-15 Alan Modra <amodra@gmail.com>
3735 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
3737 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3739 * config/tc-nios2.c (nios2_as_options): Make file static.
3740 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
3741 * config/tc-sparc.c (native_op_table): Likewise.
3743 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3745 * config/tc-m32c.c (M32C_Macros): Remove.
3746 * config/tc-msp430.c (option_numbers): Likewise.
3748 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3750 * testsuite/gas/arc/nps400-3.d: New file.
3751 * testsuite/gas/arc/nps400-3.s: New file.
3753 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3755 * testsuite/gas/arc/add_s-err.s: Update target pattern.
3756 * testsuite/gas/arc/warn.s: Likewise.
3757 * testsuite/gas/elf/elf.exp: Run test for arc.
3759 2016-04-14 Nick Clifton <nickc@redhat.com>
3762 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
3763 sections possibly having the SHF_STRINGS flag bit set.
3764 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
3766 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3768 * config/tc-arc.c (mach_type_specified_p): Change type to
3770 (arc_option): Set private flags when parsing cpu pseudo-op.
3771 (md_parse_option): Set mach_type_specified_p to TRUE.
3773 2016-04-13 Nick Clifton <nickc@redhat.com>
3776 * testsuite/gas/v850/pr19937.s: New test.
3777 * testsuite/gas/v850/pr19937.d: New test control file.
3778 * testsuite/gas/v850/basic.exp: Run the new test.
3780 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3781 Andrew Bennett <andrew.bennett@imgtec.com>
3783 * config/tc-mips.c (relaxed_branch_length): Use the long
3784 sequence where the target is a weak symbol.
3785 (relaxed_micromips_32bit_branch_length): Likewise.
3786 (relaxed_micromips_16bit_branch_length): Likewise.
3787 * testsuite/gas/mips/branch-weak-1.d: New test.
3788 * testsuite/gas/mips/branch-weak-2.d: New test.
3789 * testsuite/gas/mips/branch-weak-3.d: New test.
3790 * testsuite/gas/mips/branch-weak-4.d: New test.
3791 * testsuite/gas/mips/branch-weak-5.d: New test.
3792 * testsuite/gas/mips/branch-weak.l: New stderr output.
3793 * testsuite/gas/mips/branch-weak.s: New test source.
3794 * testsuite/gas/mips/mips.exp: Run the new tests.
3796 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3798 * config/tc-mips.c (relaxed_branch_length): Use the long
3799 sequence where the distance cannot be determined.
3800 (relaxed_micromips_32bit_branch_length): Likewise.
3801 * testsuite/gas/mips/branch-extern-1.d: New test.
3802 * testsuite/gas/mips/branch-extern-2.d: New test.
3803 * testsuite/gas/mips/branch-extern-3.d: New test.
3804 * testsuite/gas/mips/branch-extern-4.d: New test.
3805 * testsuite/gas/mips/branch-extern.l: New stderr output.
3806 * testsuite/gas/mips/branch-extern.s: New test source.
3807 * testsuite/gas/mips/branch-section-1.d: New test.
3808 * testsuite/gas/mips/branch-section-2.d: New test.
3809 * testsuite/gas/mips/branch-section-3.d: New test.
3810 * testsuite/gas/mips/branch-section-4.d: New test.
3811 * testsuite/gas/mips/branch-section.l: New stderr output.
3812 * testsuite/gas/mips/branch-section.s: New test source.
3813 * testsuite/gas/mips/mips.exp: Run the new tests.
3815 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3817 * testsuite/gas/arc/textauxregister.d: New file.
3818 * testsuite/gas/arc/textauxregister.s: Likewise.
3819 * testsuite/gas/arc/textcondcode.d: Likewise.
3820 * testsuite/gas/arc/textcondcode.s: Likewise.
3821 * testsuite/gas/arc/textcoreregister.d: Likewise.
3822 * testsuite/gas/arc/textcoreregister.s: Likewise.
3823 * testsuite/gas/arc/textpseudoop.d: Likewise.
3824 * testsuite/gas/arc/textpseudoop.s: Likewise.
3825 * testsuite/gas/arc/ld2.d: Update test.
3826 * testsuite/gas/arc/st.d: Likewise.
3827 * testsuite/gas/arc/taux.d: Likewise.
3828 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
3829 .extCoreRegister and .extAuxRegister documentation.
3830 * config/tc-arc.c (arc_extcorereg): New function.
3831 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
3832 .extAuxRegister pseudo-ops.
3833 (extRegister_t): New type.
3834 (ext_condcode, arc_aux_hash): New global variable.
3835 (find_opcode_match): Check for extensions.
3836 (preprocess_operands): Likewise.
3837 (md_begin): Add aux registers in a hash.
3838 (assemble_insn): Update use arc_flags member.
3839 (tokenize_extregister): New function.
3840 (create_extcore_section): Likewise.
3841 * config/tc-arc.h (arc_flags): Delete code, add flgp.
3843 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3845 * testsuite/gas/arc/noargs_a7.d: New file.
3846 * testsuite/gas/arc/noargs_a7.s: Likewise.
3847 * testsuite/gas/arc/noargs_hs.d: Likewise.
3848 * testsuite/gas/arc/noargs_hs.s: Likewise.
3850 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3852 * testsuite/gas/arc/textinsn-errors.d: New File.
3853 * testsuite/gas/arc/textinsn-errors.err: Likewise.
3854 * testsuite/gas/arc/textinsn-errors.s: Likewise.
3855 * testsuite/gas/arc/textinsn2op.d: Likewise.
3856 * testsuite/gas/arc/textinsn2op.s: Likewise.
3857 * testsuite/gas/arc/textinsn2op01.d: Likewise.
3858 * testsuite/gas/arc/textinsn2op01.s: Likewise.
3859 * testsuite/gas/arc/textinsn3op.d: Likewise.
3860 * testsuite/gas/arc/textinsn3op.s: Likewise.
3861 * doc/c-arc.texi (ARC Directives): Add .extInstruction
3863 * config/tc-arc.c (arcext_section): New variable.
3864 (arc_extinsn): New function.
3865 (md_pseudo_table): Add .extInstruction pseudo op.
3866 (attributes_t): New type.
3867 (suffixclass, syntaxclass, syntaxclassmod): New constant
3869 (find_opcode_match): Remove arc_num_opcodes.
3870 (md_begin): Likewise.
3871 (tokenize_extinsn): New function.
3872 (arc_set_ext_seg): Likewise.
3873 (create_extinst_section): Likewise.
3875 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3877 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3878 (arc_adjust_symtab): New function.
3879 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3880 (obj_adjust_symtab): Likewise.
3881 * testsuite/gas/arc/taux.d: New file.
3882 * testsuite/gas/arc/taux.s: Likewise.
3884 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3886 * config/tc-mips.c (s_option): Sanitize `.option picX'
3888 * testsuite/gas/mips/option-pic-1.d: New test.
3889 * testsuite/gas/mips/option-pic-2.l: New list test.
3890 * testsuite/gas/mips/option-pic-1.s: New test source.
3891 * testsuite/gas/mips/option-pic-2.s: New test source.
3892 * testsuite/gas/mips/mips.exp: Run the new tests.
3894 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3896 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3898 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3899 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3900 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3901 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3902 * testsuite/gas/mips/mips.exp: Run the new tests.
3904 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3906 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3908 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3910 * messages.c (as_bad): Fix a typo in description.
3912 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3914 * config/tc-mips.c (mips_check_options): Unify messages.
3916 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3918 * config/tc-mips.c (mips_check_options): Use `opts->isa'
3921 2016-04-08 Nick Clifton <nickc@redhat.com>
3924 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
3925 COFF and AOUT sparc targets.
3927 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3929 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
3930 * testsuite/gas/arc/nps400-2.d: New file.
3931 * testsuite/gas/arc/nps400-2.s: New file.
3933 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3935 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
3937 (arc_opcode_hash_entry_iterator_init): New function.
3938 (arc_opcode_hash_entry_iterator_next): New function.
3939 (find_opcode_match): Iterate over all arc_opcode entries
3940 referenced by the arc_opcode_hash_entry passed in as a parameter.
3942 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3944 * config/tc-arc.c (arc_find_opcode): Now returns
3945 arc_opcode_hash_entry pointer.
3946 (find_opcode_match): Update argument type, extract arc_opcode from
3947 incoming arc_opcode_hash_entry.
3948 (find_special_case_pseudo): Update return type.
3949 (find_special_case_flag): Update return type.
3950 (find_special_case): Update return type.
3951 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3952 instruction mnemonic, then use find_opcode_match to identify
3953 specific arc_opcode.
3955 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3957 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3958 (arc_find_opcode): New function.
3959 (find_special_case_pseudo): Use arc_find_opcode.
3960 (find_special_case_flag): Likewise.
3961 (assemble_tokens): Likewise.
3962 (md_begin): Build hash using struct arc_opcode_hash_entry.
3964 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3966 * config/tc-arc.c (arc_option): Prepare string for automatic
3968 (declare_register): Likewise.
3970 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3972 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3973 Correct entry for RDMA. Alpha sort entries.
3975 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3977 * config/tc-arc.c (tokenize_flags): Allow greater range of
3978 characters into flag names.
3980 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3982 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3984 (preprocess_operands): Delete.
3985 (assemble_tokens): Remove call to preprocess_operands.
3987 2016-04-07 Nick Clifton <nickc@redhat.com>
3990 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3991 inside a %-macro could not be fully parsed.
3992 * expr.c (integer_constant): Accept and ignore U suffixes to
3994 (operand): When a missing closing parenthesis is encountered,
3995 report the character that was found instead.
3996 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3997 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3998 * testsuite/gas/sparc/pr19910-1.s: New test.
3999 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
4000 * testsuite/gas/sparc/pr19910-2.s: New test.
4001 * testsuite/gas/sparc/sparc.exp: Run the new tests.
4003 2016-04-06 Nick Clifton <nickc@redhat.com>
4005 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
4006 an EINT instruction. Warn/fix as necessary.
4007 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
4008 * testsuite/gas/msp430/bad.l: Update expected messages.
4010 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
4012 * testsuite/gas/arc/nps400-1.d: Update expected results.
4013 * testsuite/gas/arc/nps400-1.s: Additional test cases.
4015 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
4017 * config/tc-arc.c (is_code_density_p): Compare directly the
4019 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
4020 (check_cpu_feature): New function.
4021 (find_opcode_match): Use check_cpu_feature function.
4022 (preprocess_operands): Likewise.
4023 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
4024 * testsuite/gas/arc/tdpfp.d: New file.
4025 * testsuite/gas/arc/tfpuda.d: Likewise.
4026 * testsuite/gas/arc/tfpx.s: Likewise.
4028 2016-04-05 Jiong Wang <jiong.wang@arm.com>
4030 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
4031 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
4032 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
4033 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
4034 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
4035 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
4036 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
4037 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
4039 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
4041 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
4043 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
4044 JUMP instructions type.
4045 * testsuite/gas/arc/relocs-errors.d: New file.
4046 * testsuite/gas/arc/relocs-errors.err: Likewise.
4047 * testsuite/gas/arc/relocs-errors.s: Likewise.
4049 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4052 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
4053 only if i.disp_encoding != disp_encoding_32bit.
4054 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
4055 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
4056 * gas/testsuite/gas/i386/disp32.d: Updated.
4057 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
4059 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
4062 * testsuite/gas/i386/i386.exp: Run pr19498.
4063 * testsuite/gas/i386/pr19498.d: New file.
4064 * testsuite/gas/i386/pr19498.s: Likewise.
4066 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
4068 * config/tc-arc.h: Include 'opcode/arc.h'.
4069 (MAX_INSN_ARGS): Delete.
4070 (MAX_INSN_FLGS): Delete.
4072 2016-04-04 Alan Modra <amodra@gmail.com>
4075 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
4076 from function on all paths that set sy_resolving.
4078 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4080 * app.c (app_push): use XNEW macro.
4082 * config/obj-elf.c (obj_elf_change_section): Likewise.
4083 (elf_copy_symbol_attributes): Likewise.
4084 (obj_elf_size): Likewise.
4085 (build_group_lists): Likewise.
4086 * config/tc-aarch64.c (add_operand_error_record): Likewise.
4087 (md_assemble): Likewise.
4088 (tc_gen_reloc): Likewise.
4089 (get_upper_str): Likewise.
4090 (aarch64_parse_features): Likewise.
4091 * config/tc-arm.c (insert_reg_alias): Likewise.
4092 (insert_neon_reg_alias): Likewise.
4093 (find_or_make_literal_pool): Likewise.
4094 (s_arm_elf_cons): Likewise.
4095 (add_unwind_opcode): Likewise.
4096 (arm_parse_extension): Likewise.
4097 * config/tc-avr.c (create_record_for_frag): Likewise.
4098 * config/tc-crx.c: Likewise.
4099 * config/tc-d30v.c: Likewise.
4100 * config/tc-dlx.c (s_proc): Likewise.
4101 * config/tc-ft32.c: Likewise.
4102 * config/tc-h8300.c: Likewise.
4103 * config/tc-hppa.c (pa_proc): Likewise.
4104 (create_new_space): Likewise.
4105 (create_new_subspace): Likewise.
4106 * config/tc-i860.c: Likewise.
4107 * config/tc-i960.c: Likewise.
4108 * config/tc-ia64.c: Likewise.
4109 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
4110 (iq2000_record_hi16): Likewise.
4111 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
4112 * config/tc-m32r.c (debug_sym): Likewise.
4113 (m32r_record_hi16): Likewise.
4114 * config/tc-m68k.c (m68k_ip): Likewise.
4115 (md_begin): Likewise.
4116 * config/tc-mcore.c: Likewise.
4117 * config/tc-microblaze.c (check_got): Likewise.
4118 * config/tc-mips.c (append_insn): Likewise.
4119 (s_mipsset): Likewise.
4120 (mips_record_label): Likewise.
4121 (s_mips_end): Likewise.
4122 * config/tc-mmix.c (mmix_frob_file): Likewise.
4123 * config/tc-mn10200.c: Likewise.
4124 * config/tc-mn10300.c: Likewise.
4125 * config/tc-moxie.c: Likewise.
4126 * config/tc-msp430.c: Likewise.
4127 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
4128 * config/tc-ns32k.c: Likewise.
4129 * config/tc-or1k.c: Likewise.
4130 * config/tc-pdp11.c: Likewise.
4131 * config/tc-pj.c (fake_opcode): Likewise.
4132 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
4133 (ppc_macro): Likewise.
4134 (ppc_dwsect): Likewise.
4135 (ppc_machine): Likewise.
4136 * config/tc-rl78.c (rl78_frag_init): Likewise.
4137 * config/tc-rx.c (rx_frag_init): Likewise.
4138 * config/tc-s390.c (s390_lit_suffix): Likewise.
4139 (s390_machine): Likewise.
4140 (s390_machinemode): Likewise.
4141 * config/tc-score.c (s3_insert_reg): Likewise.
4142 (s3_gen_reloc): Likewise.
4143 * config/tc-score7.c (s7_insert_reg): Likewise.
4144 (s7_gen_reloc): Likewise.
4145 * config/tc-tic30.c (tic30_operand): Likewise.
4146 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
4147 * config/tc-tic54x.c (stag_add_field): Likewise.
4148 (tic54x_struct): Likewise.
4149 (tic54x_space): Likewise.
4150 (tic54x_field): Likewise.
4151 (tic54x_mlib): Likewise.
4152 (subsym_substitute): Likewise.
4153 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
4154 * config/tc-vax.c: Likewise.
4155 * config/tc-xc16x.c: Likewise.
4156 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
4157 (directive_push): Likewise.
4158 (xtensa_begin_directive): Likewise.
4159 (tokenize_arguments): Likewise.
4160 (xtensa_add_literal_sym): Likewise.
4161 (new_resource_table): Likewise.
4162 (resize_resource_table): Likewise.
4163 (emit_single_op): Likewise.
4164 (xtensa_create_trampoline_frag): Likewise.
4165 (xtensa_maybe_create_literal_pool_frag): Likewise.
4166 (xtensa_add_config_info): Likewise.
4167 (xtensa_realloc_fixup_cache): Likewise.
4168 (add_subseg_info): Likewise.
4169 (cache_literal_section): Likewise.
4170 (add_xt_block_frags): Likewise.
4171 (add_xt_prop_frags): Likewise.
4172 (init_op_placement_info_table): Likewise.
4173 (build_section_rename): Likewise.
4174 * config/tc-z80.c: Likewise.
4175 * config/tc-z8k.c: Likewise.
4176 * depend.c (register_dependency): Likewise.
4177 * dwarf2dbg.c (get_line_subseg): Likewise.
4178 (dwarf2_gen_line_info_1): Likewise.
4179 (get_filenum): Likewise.
4180 * ecoff.c (allocate_scope): Likewise.
4181 (allocate_vlinks): Likewise.
4182 (allocate_shash): Likewise.
4183 (allocate_thash): Likewise.
4184 (allocate_tag): Likewise.
4185 (allocate_forward): Likewise.
4186 (allocate_thead): Likewise.
4187 (allocate_lineno_list): Likewise.
4188 * expr.c (make_expr_symbol): Likewise.
4189 * hash.c (hash_new_sized): Likewise.
4190 * input-file.c (input_file_push): Likewise.
4191 * listing.c (file_info): Likewise.
4192 (listing_newline): Likewise.
4193 * macro.c (new_formal): Likewise.
4194 (define_macro): Likewise.
4195 * remap.c (add_debug_prefix_map): Likewise.
4196 * symbols.c (symbol_find_noref): Likewise.
4197 (define_dollar_label): Likewise.
4198 (fb_label_instance_inc): Likewise.
4199 (symbol_relc_make_value): Likewise.
4201 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4203 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
4204 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
4205 (ppc_znop): Likewise.
4206 (ppc_pe_section): Likewise.
4207 (ppc_frob_symbol): Likewise.
4208 * config/tc-tic30.c (tic30_operand): Likewise.
4209 * config/tc-tic4x.c (tic4x_sect): Likewise.
4210 (tic4x_usect): Likewise.
4212 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4214 * config/tc-alpha.c: Const qualify FLT_CHARS.
4215 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
4216 * config/tc-cris.h: Likewise.
4218 * config/tc-mmix.c (md_atof): Adjust comment.
4219 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
4220 * tc.h: Declare FLT_CHARS and EXP_CHARS.
4222 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4224 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
4225 * config/tc-score7.c (s7_gen_reloc): Likewise.
4227 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4229 * config/tc-arm.c (do_t_branch): Change the type of reloc to
4230 bfd_reloc_code_real_type.
4232 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4234 * config/bfin-parse.y (current_inputline): Remove definition.
4235 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
4237 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4239 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
4242 2016-04-02 Alan Modra <amodra@gmail.com>
4245 * read.c (assign_symbol): Consume rest of line after an error
4246 rather than continuing to process the line.
4248 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4250 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
4251 (MAX_FLAG_NAME_LENGTH): ...this.
4252 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
4253 * config/tc-arc.c (tokenize_flags): Likewise.
4255 2016-04-01 Alan Modra <amodra@gmail.com>
4257 * cgen.c (weak_operand_overflow_check): Return const char*.
4258 * messages.c (as_internal_value_out_of_range): Formatting.
4259 (as_warn_value_out_of_range): Consify prefix param.
4260 (as_bad_value_out_of_range): Likewise.
4261 * read.c (s_errwarn): Constify msg..
4262 (s_float_space, float_cons): ..and err.
4263 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
4264 ieee_md_atof, vax_md_atof): Update prototypes.
4265 * tc.h (md_atof): Update prototype.
4266 * config/atof-ieee.c (ieee_md_atof): Return const char*.
4267 * config/atof-vax.c (vax_md_atof): Likewise.
4268 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
4269 * config/tc-aarch64.c (md_atof): Return const char*.
4270 * config/tc-alpha.c (s_alpha_section_name): Likewise.
4271 (s_alpha_comm): Constify sec_name.
4272 (section_name): Constify.
4273 (s_alpha_section): Consify name..
4274 (alpha_elf_section_letter): ..and ptr_msg param..
4275 (md_atof): ..and return.
4276 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
4277 * config/tc-arc.c (md_atof): Return const char*.
4278 * config/tc-arm.c (md_atof): Likewise.
4279 * config/tc-avr.c (md_atof): Likewise.
4280 * config/tc-bfin.c (md_atof): Likewise.
4281 * config/tc-cr16.c (md_atof): Likewise.
4282 * config/tc-cris.c (md_atof): Likewise.
4283 * config/tc-crx.c (md_atof): Likewise.
4284 * config/tc-d10v.c (md_atof): Likewise.
4285 * config/tc-d30v.c (md_atof): Likewise.
4286 * config/tc-dlx.c (md_atof): Likewise.
4287 * config/tc-epiphany.c (md_atof): Likewise.
4288 * config/tc-fr30.c (md_atof): Likewise.
4289 * config/tc-frv.c (md_atof): Likewise.
4290 * config/tc-ft32.c (md_atof): Likewise.
4291 * config/tc-h8300.c (md_atof): Likewise.
4292 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
4293 (struct default_space_dict): Likewise.
4294 (create_new_space): Constify name param.
4295 (create_new_subspace): Likewise.
4296 (is_defined_space, is_defined_subspace): Likewise.
4297 (pa_parse_space_stmt): Constify space_name param.
4298 (md_atof): Return const char*.
4299 (pa_spaces_begin): Constify name.
4300 * config/tc-i370.c (md_atof): Return const char*.
4301 * config/tc-i386.c (md_atof): Likewise.
4302 (x86_64_section_letter): Constify ptr_msg param.
4303 * config/tc-i386.h (x86_64_section_letter): Update prototype.
4304 * config/tc-i860.c (struct i860_it): Constify error.
4305 (md_atof): Return const char*.
4306 * config/tc-i960.c (md_atof): Likewise.
4307 * config/tc-ia64.c (md_atof): Likewise.
4308 (ia64_elf_section_letter): Constify ptr_msg param.
4309 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
4310 * config/tc-ip2k.c (md_atof): Return const char*.
4311 * config/tc-iq2000.c (md_atof): Likewise.
4312 * config/tc-lm32.c (md_atof): Likewise.
4313 * config/tc-m32c.c (md_atof): Likewise.
4314 * config/tc-m32r.c (md_atof): Likewise.
4315 * config/tc-m68hc11.c (md_atof): Likewise.
4316 * config/tc-m68k.c (md_atof): Likewise.
4317 * config/tc-mcore.c (md_atof): Likewise.
4318 * config/tc-mep.c (md_atof): Likewise.
4319 (mep_elf_section_letter): Constify ptr_msg param.
4320 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
4321 * config/tc-metag.c (md_atof): Return const char*.
4322 * config/tc-microblaze.c (md_atof): Likewise.
4323 * config/tc-microblaze.h (md_atof): Delete prototype.
4324 * config/tc-mips.c (mips_parse_argument_token): Constify err.
4325 (md_atof): Return const char*.
4326 * config/tc-mmix.c (md_atof): Likewise.
4327 * config/tc-mn10200.c (md_atof): Likewise.
4328 * config/tc-mn10300.c (md_atof): Likewise.
4329 * config/tc-moxie.c (md_atof): Likewise.
4330 * config/tc-msp430.c (md_atof): Likewise.
4331 * config/tc-mt.c (md_atof): Likewise.
4332 * config/tc-nds32.c (md_atof): Likewise.
4333 * config/tc-nios2.c (md_atof): Likewise.
4334 (nios2_elf_section_letter): Constify ptr_msg param.
4335 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
4336 * config/tc-ns32k.c (md_atof): Return const char*.
4337 * config/tc-or1k.c (md_atof): Likewise.
4338 * config/tc-pdp11.c (struct pdp11_code): Constify error.
4339 (md_atof): Return const char*.
4340 * config/tc-pj.c (md_atof): Likewise.
4341 * config/tc-ppc.c (md_atof): Likewise.
4342 * config/tc-rl78.c (md_atof): Likewise.
4343 * config/tc-rx.c (md_atof): Likewise.
4344 * config/tc-s390.c (md_atof): Likewise.
4345 * config/tc-score.c (s3_atof, md_atof): Likewise.
4346 * config/tc-sh.c (md_atof): Likewise.
4347 * config/tc-sparc.c (struct sparc_it): Constify error.
4348 (md_atof): Return const char*.
4349 * config/tc-spu.c (md_atof): Likewise.
4350 * config/tc-tic30.c (md_atof): Likewise.
4351 * config/tc-tic4x.c (md_atof): Likewise.
4352 * config/tc-tic54x.c (md_atof): Likewise.
4353 * config/tc-tic6x.c (md_atof): Likewise.
4354 * config/tc-tilegx.c (md_atof): Likewise.
4355 * config/tc-tilepro.c (md_atof): Likewise.
4356 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
4357 * config/tc-vax.c (md_atof): Likewise.
4358 * config/tc-visium.c (md_atof): Likewise.
4359 * config/tc-xc16x.c (md_atof): Likewise.
4360 * config/tc-xgate.c (md_atof): Likewise.
4361 * config/tc-xstormy16.c (md_atof): Likewise.
4362 * config/tc-xtensa.c (md_atof): Likewise.
4363 * config/tc-z80.c (md_atof): Likewise.
4364 * config/tc-z8k.c (md_atof): Likewise.
4366 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4368 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
4370 (xtensa_section_rename): Make argument type const char *.
4371 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
4373 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4375 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
4378 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4380 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
4382 (m32c_indirect_operand): Likewise.
4383 * config/tc-nds32.c (do_pseudo_b): Likewise.
4384 (do_pseudo_bal): Likewise.
4385 (do_pseudo_ls_bhw): Likewise.
4387 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4389 * as.c (parse_args): Cast literal to char * when assigning to optarg.
4391 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4393 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
4395 * config/tc-sparc.c (s_register): Cast a literal to char * in
4398 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4400 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
4402 * config/tc-m32r.c (expand_debug_syms): Likewise.
4403 * config/tc-msp430.c (msp430_dstoperand): Likewise.
4404 * config/tc-z80.c (md_begin): Likewise.
4405 * stabs.c (stabs_generate_asm_func): Likewise.
4407 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4409 * cgen.c: Modernize the way functions declare arguments.
4410 * config/tc-bfin.c: Likewise.
4411 * config/tc-pdp11.c: Likewise.
4412 * literal.c: Likewise.
4414 * stabs.c: Likewise.
4416 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4418 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
4419 variables unsigned char[].
4420 * config/tc-alpha.c (alpha_handle_align): Likewise.
4421 * config/tc-arm.c (arm_handle_align): Likewise.
4422 * config/tc-z80.c: Likewise.
4424 2016-03-30 Nick Clifton <nickc@redhat.com>
4427 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
4430 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4432 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
4433 * testsuite/gas/elf/elf.exp: Likewise.
4434 * testsuite/gas/all/redef3.d: Allow execution for ARC.
4436 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
4438 * testsuite/gas/arc/warn.exp: Fix matching pattern.
4440 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
4442 * testsuite/gas/arc/ext2op.d: New file.
4443 * testsuite/gas/arc/ext2op.s: Likewise.
4444 * testsuite/gas/arc/ext3op.d: Likewise.
4445 * testsuite/gas/arc/ext3op.s: Likewise.
4447 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4449 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
4451 * config/tc-alpha.c (md_parse_option): Likewise.
4452 * config/tc-arc.c (md_parse_option): Likewise.
4453 * config/tc-arm.c (struct arm_long_option_table): Likewise.
4454 (md_parse_option): Likewise.
4455 * config/tc-avr.c (md_parse_option): Likewise.
4456 * config/tc-bfin.c (md_parse_option): Likewise.
4457 * config/tc-cr16.c (md_parse_option): Likewise.
4458 * config/tc-cris.c (s_cris_arch): Likewise.
4459 (md_parse_option): Likewise.
4460 * config/tc-crx.c (md_parse_option): Likewise.
4461 * config/tc-d10v.c (md_parse_option): Likewise.
4462 * config/tc-d30v.c (md_parse_option): Likewise.
4463 * config/tc-dlx.c (md_parse_option): Likewise.
4464 * config/tc-epiphany.c (md_parse_option): Likewise.
4465 * config/tc-fr30.c (md_parse_option): Likewise.
4466 * config/tc-frv.c (md_parse_option): Likewise.
4467 * config/tc-ft32.c (md_parse_option): Likewise.
4468 * config/tc-h8300.c (md_parse_option): Likewise.
4469 * config/tc-hppa.c (md_parse_option): Likewise.
4470 * config/tc-i370.c (md_parse_option): Likewise.
4471 * config/tc-i386.c (md_parse_option): Likewise.
4472 * config/tc-i860.c (md_parse_option): Likewise.
4473 * config/tc-i960.c (md_parse_option): Likewise.
4474 * config/tc-ia64.c (md_parse_option): Likewise.
4475 * config/tc-ip2k.c (md_parse_option): Likewise.
4476 * config/tc-iq2000.c (md_parse_option): Likewise.
4477 * config/tc-lm32.c (md_parse_option): Likewise.
4478 * config/tc-m32c.c (md_parse_option): Likewise.
4479 * config/tc-m32r.c (md_parse_option): Likewise.
4480 * config/tc-m68hc11.c (md_parse_option): Likewise.
4481 * config/tc-m68k.c (md_parse_option): Likewise.
4482 * config/tc-mcore.c (md_parse_option): Likewise.
4483 * config/tc-mep.c (md_parse_option): Likewise.
4484 * config/tc-metag.c (struct metag_long_option): Likewise.
4485 (md_parse_option): Likewise.
4486 * config/tc-microblaze.c (md_parse_option): Likewise.
4487 * config/tc-microblaze.h (md_parse_option): Remove prototype.
4488 * config/tc-mips.c (md_parse_option): Adjust.
4489 * config/tc-mmix.c (md_parse_option): Likewise.
4490 * config/tc-mn10200.c (md_parse_option): Likewise.
4491 * config/tc-mn10300.c (md_parse_option): Likewise.
4492 * config/tc-moxie.c (md_parse_option): Likewise.
4493 * config/tc-msp430.c (md_parse_option): Likewise.
4494 * config/tc-mt.c (md_parse_option): Likewise.
4495 * config/tc-nds32.c (md_parse_option): Likewise.
4496 * config/tc-nds32.h (nds32_parse_option): Likewise.
4497 * config/tc-nios2.c (md_parse_option): Likewise.
4498 * config/tc-ns32k.c (md_parse_option): Likewise.
4499 * config/tc-or1k.c (md_parse_option): Likewise.
4500 * config/tc-pdp11.c (md_parse_option): Likewise.
4501 * config/tc-pj.c (md_parse_option): Likewise.
4502 * config/tc-ppc.c (md_parse_option): Likewise.
4503 * config/tc-rl78.c (md_parse_option): Likewise.
4504 * config/tc-rx.c (md_parse_option): Likewise.
4505 * config/tc-s390.c (s390_parse_cpu): Likewise.
4506 * config/tc-score.c (md_parse_option): Likewise.
4507 * config/tc-sh.c (md_parse_option): Likewise.
4508 * config/tc-sparc.c (md_parse_option): Likewise.
4509 * config/tc-spu.c (md_parse_option): Likewise.
4510 * config/tc-tic30.c (md_parse_option): Likewise.
4511 * config/tc-tic4x.c (md_parse_option): Likewise.
4512 * config/tc-tic54x.c (md_parse_option): Likewise.
4513 * config/tc-tic6x.c (md_parse_option): Likewise.
4514 * config/tc-tilegx.c (md_parse_option): Likewise.
4515 * config/tc-tilepro.c (md_parse_option): Likewise.
4516 * config/tc-v850.c (md_parse_option): Likewise.
4517 * config/tc-vax.c (md_parse_option): Likewise.
4518 * config/tc-visium.c (struct visium_long_option_table): Likewise.
4519 * config/tc-xc16x.c (md_parse_option): Likewise.
4520 * config/tc-xgate.c (md_parse_option): Likewise.
4521 * config/tc-xstormy16.c (md_parse_option): Likewise.
4522 * config/tc-xtensa.c (md_parse_option): Likewise.
4523 * config/tc-z80.c (md_parse_option): Likewise.
4524 * config/tc-z8k.c (md_parse_option): Likewise.
4525 * tc.h (md_parse_option): Likewise.
4527 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4529 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
4530 * config/tc-hppa.c (fix_new_hppa): Likewise.
4531 (pa_vtable_entry): Likewise.
4532 (pa_vtable_inherit): Likewise.
4533 * config/tc-m68k.c (md_begin): Likewise.
4535 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4537 * config/obj-elf.c (obj_elf_section_name): Return const char *.
4538 * config/obj-elf.h (obj_elf_section_name): Adjust.
4539 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
4540 (aarch64_parse_cpu): Likewise.
4541 (aarch64_parse_arch): Likewise.
4542 * config/tc-arm.c (arm_parse_extension): Likewise.
4543 (arm_parse_cpu): Likewise.
4544 (arm_parse_arch): Likewise.
4545 * config/tc-nds32.c: Likewise.
4546 * config/xtensa-relax.c (parse_special_fn): Likewise.
4547 * stabs.c (generate_asm_file): Likewise.
4549 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4551 * config/tc-cr16.c (cr16_assemble): New function.
4552 (md_assemble): Call cr16_assemble.
4554 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4556 * as.c (parse_args): Adjust.
4557 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
4558 * config/obj-elf.c (elf_frob_symbol): Adjust.
4560 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
4562 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
4563 registers to be in the 16..31 range.
4565 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4567 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
4570 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4572 * config/tc-visium.c (md_atof): Localize the string returned on
4575 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4577 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
4578 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
4579 * config/tc-m68hc11.c (md_begin): Likewise.
4580 (print_opcode_list): Likewise.
4581 * config/tc-msp430.c (msp430_section): Likewise.
4582 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
4583 (s3_build_dependency_insn_hsh): Likewise.
4584 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
4585 (s7_build_dependency_insn_hsh): Likewise.
4586 * config/tc-tic4x.c: Likewise.
4587 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4588 (subsym_get_arg): Likewise.
4589 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
4590 (get_directive): Likewise.
4591 (cache_literal_section): Likewise.
4592 * config/xtensa-relax.c: Likewise.
4593 * symbols.c (symbol_create): Likewise.
4594 (local_symbol_make): Likewise.
4595 (symbol_relc_make_expr): Likewise.
4597 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4599 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
4602 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4604 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
4607 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4609 * config/tc-ia64.c (ia64_do_align): Remove.
4610 (ia64_cons_align): Call do_align () directly.
4611 (dot_proc): Likewise.
4612 (stmt_float_cons): Likewise.
4614 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4616 * listing.c (listing_message): Use XNEW style allocation macros.
4617 * read.c (read_a_source_file): Likewise.
4618 (read_symbol_name): Likewise.
4619 (s_mri_common): Likewise.
4620 (assign_symbol): Likewise.
4621 (s_reloc): Likewise.
4622 (emit_expr_with_reloc): Likewise.
4623 (s_incbin): Likewise.
4624 (s_include): Likewise.
4625 * sb.c (sb_build): Likewise.
4626 (sb_check): Likewise.
4628 2016-03-22 Alan Modra <amodra@gmail.com>
4630 * write.c (record_alignment): Revert 2016-02-18 change.
4632 2016-03-22 Alan Modra <amodra@gmail.com>
4634 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
4635 (emit_jsrjmp, tc_gen_reloc): Likewise.
4636 * config/tc-i370.c (i370_macro): Likewise.
4638 2016-03-22 Nick Clifton <nickc@redhat.com>
4640 * configure: Regenerate.
4642 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4644 * testsuite/gas/arc/nps400-0.d: New file.
4645 * testsuite/gas/arc/nps400-0.s: New file.
4646 * testsuite/gas/arc/nps400-1.d: New file.
4647 * testsuite/gas/arc/nps400-1.s: New file.
4649 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4651 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
4652 declarations to start of block. Reset code on all flags before
4653 attempting to match them. Handle multiple hits on the same flag.
4655 * testsuite/gas/arc/asm-errors.d: New file.
4656 * testsuite/gas/arc/asm-errors.err: New file.
4657 * testsuite/gas/arc/asm-errors.s: New file.
4659 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4661 * config/tc-arc.c (cpu_types): Add nps400 entry.
4662 (check_zol): Handle nps400.
4664 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4666 * config/tc-arc.c (arc_select_cpu): Remove use of
4669 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4671 * config/tc-arc.c (arc_target): Delay initialisation until
4673 (arc_target_name): Likewise.
4674 (arc_features): Likewise.
4675 (arc_mach_type): Likewise.
4676 (cpu_types): Remove "all" entry.
4677 (arc_select_cpu): New function, most of the content is from...
4678 (md_parse_option): ... here. Call new arc_select_cpu.
4679 (md_begin): Call arc_select_cpu if needed, default is now arc700.
4681 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4683 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
4684 * testsuite/gas/arc/inline-data-2.d: New file.
4686 2016-03-21 Nick Clifton <nickc@redhat.com>
4688 * atof-generic.c: Replace use of alloca with call to xmalloc.
4690 * dwarf2dbg.c: Likewise.
4691 * macro.c: Likewise.
4692 * remap.c: Likewise.
4693 * stabs.c: Likewise.
4694 * symbols.c: Likewise.
4695 * config/obj-elf.c: Likewise.
4696 * config/tc-aarch64.c: Likewise.
4697 * config/tc-arc.c: Likewise.
4698 * config/tc-arm.c: Likewise.
4699 * config/tc-avr.c: Likewise.
4700 * config/tc-ia64.c: Likewise.
4701 * config/tc-mips.c: Likewise.
4702 * config/tc-msp430.c: Likewise.
4703 * config/tc-nds32.c: Likewise.
4704 * config/tc-ppc.c: Likewise.
4705 * config/tc-sh.c: Likewise.
4706 * config/tc-tic30.c: Likewise.
4707 * config/tc-tic54x.c: Likewise.
4708 * config/tc-xstormy16.c: Likewise.
4709 * config/te-vms.c: Likewise.
4710 * configure: Regenerate.
4712 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4714 * tc-i386.c (f32_1): Change type to unsigned char[].
4734 (jump_31): Likewise.
4735 (f32_patt): Likewise.
4736 (f16_patt): Likewise.
4745 (alt_patt): Likewise.
4747 2016-03-18 Nick Clifton <nickc@redhat.com>
4749 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
4750 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
4751 .tlsdescldr and .xword directives.
4754 * testsuite/gas/aarch64/pr19721.s: New test source file.
4755 * testsuite/gas/aarch64/pr19721.d: New test driver file.
4757 * doc/as.texinfo: Place the target specific command line options
4758 into their own man page section.
4760 2016-03-16 Jiong Wang <jiong.wang@arm.com>
4762 * config/tc-arm.c (N_S_32): New.
4763 (N_F_16_32): Likewise.
4764 (N_SUF_32): Support N_F16.
4765 (N_IF_32): Likewise.
4766 (neon_dyadic_misc): Likewise.
4767 (do_neon_cmp): Likewise.
4768 (do_neon_cmp_inv): Likewise.
4769 (do_neon_mul): Likewise.
4770 (do_neon_fcmp_absolute): Likewise.
4771 (do_neon_step): Likewise.
4772 (do_neon_abs_neg): Likewise.
4773 (CVT_FLAVOR_VAR): Likewise.
4774 (do_neon_cvt_1): Likewise.
4775 (do_neon_recip_est): Likewise.
4776 (do_vmaxnm): Likewise.
4777 (do_vrint_1): Likewise.
4778 (neon_check_type): Check architecture support for FP16 extension.
4779 (insns): Update comments.
4780 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
4781 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
4782 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
4783 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
4785 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
4787 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
4790 2016-03-16 Nick Clifton <nickc@redhat.com>
4792 * read.c (emit_expr_with_reloc): Add code check a bignum with
4794 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
4796 * testsuite/gas/elf/bignum.s: New test source file.
4797 * testsuite/gas/elf/bignum.d: New test driver file.
4798 * testsuite/gas/elf/elf.exp: Run the new test.
4800 2016-03-15 Ulrich Drepper <drepper@gmail.com>
4802 * doc/c-i386.texi (Register Naming): Update to details of the
4803 latest architecture version.
4805 2016-03-10 Mickael Guene <mickael.guene@st.com>
4808 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
4810 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
4811 (do_t_mov_cmp): Likewise.
4812 (do_t_add_sub): Protect against bad relocations usage.
4813 (do_t_mov_cmp): Likewise.
4814 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
4815 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
4816 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
4817 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
4819 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4821 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
4823 (do_neon_ld_st_lane): Likewise.
4824 (do_neon_ld_dup): Likewise.
4826 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
4828 * testsuite/gas/arc/inline-data-1.d: New file.
4829 * testsuite/gas/arc/inline-data-1.s: New file.
4831 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
4833 * config/tc-arm.c (arm_cpus): Add cortex-r8.
4834 * doc/c-arm.texi: Add cortex-r8.
4836 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4838 * config/tc-arc.c: Add const qualifiers.
4839 * config/tc-h8300.c (md_begin): Likewise.
4840 * config/tc-ia64.c (print_prmask): Likewise.
4841 * config/tc-msp430.c (msp430_operands): Likewise.
4842 * config/tc-nds32.c (struct suffix_name): Likewise.
4843 (struct nds32_parse_option_table): Likewise.
4844 (struct nds32_set_option_table): Likewise.
4845 (do_pseudo_pushpopm): Likewise.
4846 (do_pseudo_pushpop_stack): Likewise.
4847 (nds32_relax_relocs): Likewise.
4848 (nds32_flag): Likewise.
4849 (struct nds32_hint_map): Likewise.
4850 (nds32_find_reloc_table): Likewise.
4851 (nds32_match_hint_insn): Likewise.
4852 * config/tc-s390.c: Likewise.
4853 * config/tc-sh.c (get_specific): Likewise.
4854 * config/tc-tic30.c: Likewise.
4855 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
4856 (tic4x_indirect_parse): Likewise.
4857 * config/tc-vax.c (vax_cons): Likewise.
4858 * config/tc-z80.c (struct reg_entry): Likewise.
4859 * config/tc-epiphany.c (md_assemble): Adjust.
4860 (epiphany_assemble): New function.
4861 (epiphany_elf_section_rtn): Call do_align directly.
4862 (epiphany_elf_section_text): Likewise.
4863 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
4864 (ip2k_elf_section_text): Likewise.
4865 * read.c (do_align): Make it not static.
4866 * read.h (do_align): New prototype.
4868 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4870 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4871 for ARMv8.1 AdvSIMD use.
4872 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4873 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4875 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4877 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4879 (record_feature_use): New.
4880 (mark_feature_used): Use record_feature_use.
4881 (do_neon_qrdmlah): New.
4882 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4884 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4885 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4886 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4887 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4888 Make source file explicit.
4889 * testsuite/gas/arm/armv8-a+rdma.l: New.
4890 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4891 directives. Fix white-space.
4892 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4894 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4896 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4898 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4899 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4901 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4902 (tc_arc_fix_adjustable): Changed default return value to 1.
4903 * testsuite/gas/arc/j.d: Updated expected symbol
4904 * testsuite/gas/arc/jl.d: Likewise
4905 * testsuite/gas/arc/relax-avoid1.d: Likewise
4906 * testsuite/gas/arc/st.d: Likewise
4908 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4910 * config/tc-arc.c: Enable code density instructions for ARC EM.
4912 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4915 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
4917 * as.c (flag_use_elf_stt_common): New.
4918 (show_usage): Add --elf-stt-common=.
4919 (option_values): Add OPTION_ELF_STT_COMMON.
4920 (std_longopts): Add --elf-stt-common=.
4921 (parse_args): Handle --elf-stt-common=.
4922 * as.h (flag_use_elf_stt_common): New.
4923 * config.in: Regenerated.
4924 * configure: Likewise.
4925 * configure.ac: Add --enable-elf-stt-common and define
4926 DEFAULT_GENERATE_ELF_STT_COMMON.
4927 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
4928 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
4929 * doc/as.texinfo: Document --elf-stt-common=.
4930 * testsuite/gas/elf/common3.s: New file.
4931 * testsuite/gas/elf/common3a.d: Likewise.
4932 * testsuite/gas/elf/common3b.d: Likewise.
4933 * testsuite/gas/elf/common4.s: Likewise.
4934 * testsuite/gas/elf/common4a.d: Likewise.
4935 * testsuite/gas/elf/common4b.d: Likewise.
4936 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
4937 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
4938 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
4940 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
4941 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
4942 --elf-stt-common=no to as.
4943 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
4944 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
4945 --elf-stt-common=no to as.
4946 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
4947 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
4948 of dw2-compress-3 and dw2-compressed-3.
4950 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4952 * as.c (select_emulation_mode): Add const qualifiers.
4954 * config/bfin-defs.h: Likewise.
4955 * config/bfin-parse.y: Likewise.
4956 * config/rx-parse.y: Likewise.
4957 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4958 (struct aarch64_cpu_option_table): Likewise.
4959 (struct aarch64_arch_option_table): Likewise.
4960 (struct aarch64_option_cpu_value_table): Likewise.
4961 (struct aarch64_long_option_table): Likewise.
4962 (struct aarch64_option_abi_value_table): Likewise.
4963 * config/tc-arm.c (struct reloc_entry): Likewise.
4964 (tc_gen_reloc): Likewise.
4965 (struct arm_option_table): Likewise.
4966 (struct arm_legacy_option_table): Likewise.
4967 (struct arm_cpu_option_table): Likewise.
4968 (struct arm_arch_option_table): Likewise.
4969 (struct arm_option_extension_value_table): Likewise.
4970 (struct arm_option_fpu_value_table): Likewise.
4971 (struct arm_option_value_table): Likewise.
4972 (struct arm_long_option_table): Likewise.
4973 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4974 (struct mcu_type_s): Likewise.
4975 (struct exp_mod_s): Likewise.
4976 (avr_operand): Likewise.
4977 (avr_operands): Likewise.
4978 * config/tc-d10v.c (md_begin): Likewise.
4979 * config/tc-dlx.c: Likewise.
4980 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4981 * config/tc-ft32.c (parse_condition): Likewise.
4982 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4983 * config/tc-hppa.c (pa_ip): Likewise.
4984 (hppa_regname_to_dw2regnum): Likewise.
4985 * config/tc-i370.c (i370_elf_suffix): Likewise.
4986 * config/tc-i960.c (struct tabentry): Likewise.
4987 * config/tc-m32r.c: Likewise.
4988 * config/tc-m68k.c: Likewise.
4989 * config/tc-m68k.h: Likewise.
4990 * config/tc-mcore.c (parse_psrmod): Likewise.
4991 * config/tc-metag.c (struct metag_core_option): Likewise.
4992 (struct metag_long_option): Likewise.
4993 * config/tc-microblaze.c: Likewise.
4994 * config/tc-mips.c (macro): Likewise.
4995 * config/tc-mn10200.c: Likewise.
4996 * config/tc-mn10300.c: Likewise.
4997 * config/tc-msp430.c (struct rcodes_s): Likewise.
4998 (struct hcodes_s): Likewise.
4999 (md_parse_option): Likewise.
5000 * config/tc-ns32k.c (struct ns32k_option): Likewise.
5001 (optlist): Likewise.
5002 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
5003 (tc_ppc_regname_to_dw2regnum): Likewise.
5004 * config/tc-ppc.h: Likewise.
5005 * config/tc-rl78.c: Likewise.
5006 * config/tc-rx.c (struct cpu_type): Likewise.
5007 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
5008 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
5009 (sparc_ip): Likewise.
5010 * config/tc-spu.c (insn_fmt_string): Likewise.
5011 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5012 * config/tc-v850.c: Likewise.
5013 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
5014 (struct visium_long_option_table): Likewise.
5015 * config/tc-xgate.c: Likewise.
5016 * config/tc-z8k.c: Likewise.
5017 * read.c (add_include_dir): Likewise.
5020 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5022 * testsuite/gas/all/gas.exp: Change target pattern to cover
5024 * testsuite/gas/all/redef3.d: Likewise.
5025 * testsuite/gas/elf/elf.exp: Likewise.
5027 2016-02-24 Renlin Li <renlin.li@arm.com>
5029 * config/tc-arm.c (BAD_FP16): New error message macro.
5030 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
5031 fp16 scalar instructions.
5032 (neon_check_type): Allow different size from key.
5033 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
5034 (try_vfp_nsyn): Likewise.
5035 (do_vfp_nsyn_mla_mls): Likewise.
5036 (do_vfp_nsyn_fma_fms): Likewise.
5037 (do_vfp_nsyn_ldm_stm): Likewise
5038 (do_vfp_nsyn_sqrt): Likewise
5039 (do_vfp_nsyn_div): Likewise
5040 (do_vfp_nsyn_nmul): Likewise.
5041 (do_vfp_nsyn_cmp): Likewise.
5042 (do_neon_shll): Likewise.
5043 (do_vfp_nsyn_cvt_fpv8): Likewise.
5044 (do_neon_cvttb_2): Likewise.
5045 (do_neon_mov): Likewise.
5046 (do_neon_rshift_round_imm): Likewise.
5047 (do_neon_ldr_str): Likewise.
5048 (do_vfp_nsyn_fpv8): Likewise.
5049 (do_vmaxnm): Likewise.
5050 (do_vrint_1): Likewise.
5051 (insns): New entry for vins, vmovx.
5052 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
5053 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
5054 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
5055 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
5056 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
5057 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
5058 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
5060 2016-02-24 Renlin Li <renlin.li@arm.com>
5062 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
5063 (neon_shape_class): New SC_HALF.
5064 (neon_shape_el): New SE_H.
5065 (neon_shape_el_size): New size for SE_H.
5066 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
5067 (neon_select_shape): Add SE_H support code.
5068 (el_type_of_type_chk): Use N_F_ALL.
5069 (do_vfp_nsyn_cvt): Add SE_H shape support.
5070 (do_neon_cvtz): Likewise.
5071 (do_neon_cvt_1): Likewise.
5072 (do_neon_cvttb_1): Likewise.
5074 2016-02-24 Renlin Li <renlin.li@arm.com>
5076 * testsuite/gas/arm/copro.d: Adjust output.
5077 * testsuite/gas/arm/copro.s: Adjust co-processor num.
5079 2016-02-24 Renlin Li <renlin.li@arm.com>
5081 * testsuite/gas/arm/mask_1.d: New.
5082 * testsuite/gas/arm/mask_1.s: New.
5084 2016-02-24 Renlin Li <renlin.li@arm.com>
5086 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
5087 * testsuite/gas/arm/copro.d: Update.
5089 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5091 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
5092 * doc/c-arm.texi (ARM Options): Document cortex-a32.
5094 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5096 * doc/c-arm.texi (ARM Options): Document cortex-a17.
5098 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
5100 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
5103 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5105 * output-file.c (output_file_create): Make file name argument const.
5106 (output_file_close): Likewise.
5107 * output-file.h (output_file_create): Adjust.
5108 (output_file_close): Likewise.
5109 * depend.c (quote_string_for_make): Make src argument const char *.
5110 (register_dependency): Likewise.
5111 (wrap_output): Likewise.
5112 * as.h (register_dependency): Adjust.
5113 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
5115 * symbols.c (S_SET_EXTERNAL): Likewise.
5116 * input-scrub.c (as_where): Return the file name.
5117 * as.h (as_where): Adjust prototype.
5118 * app.c (do_scrub_chars): Adjust.
5119 * cond.c (s_elseif): Likewise.
5121 (initialize_cframe): Likewise.
5122 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
5123 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5124 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5125 * config/tc-aarch64.c (output_info): Likewise.
5126 * config/tc-ia64.c (md_assemble): Likewise.
5127 (dot_alias): Likewise.
5128 * config/tc-m68k.c (m68k_frob_label): Likewise.
5129 * config/tc-mmix.c (s_bspec): Likewise.
5130 (mmix_handle_mmixal): Likewise.
5131 * config/tc-rx.c (rx_include): Likewise.
5132 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5133 (tic54x_adjust_symtab): Likewise.
5134 * config/tc-xtensa.c (directive_push): Likewise.
5135 (xtensa_sanity_check): Likewise.
5136 (xtensa_relax_frag): Likewise.
5137 (md_convert_frag): Likewise.
5138 (tinsn_to_slotbuf): Likewise.
5139 * dwarf2dbg.c (dwarf2_where): Likewise.
5140 * ecoff.c (add_file): Likewise.
5141 (ecoff_generate_asm_lineno): Likewise.
5142 * expr.c (make_expr_symbol): Likewise.
5143 * frags.c (frag_new): Likewise.
5144 (frag_var_init): Likewise.
5145 * listing.c (listing_newline): Likewise.
5146 * messages.c (identify): Likewise.
5147 (as_show_where): Likewise.
5148 (as_warn_internal): Likewise.
5149 (as_bad_internal): Likewise.
5150 * read.c (s_irp): Likewise.
5151 (s_macro): Likewise.
5152 (s_reloc): Likewise.
5153 * stabs.c (stabs_generate_asm_file): Likewise.
5154 (stabs_generate_asm_lineno): Likewise.
5155 (stabs_generate_asm_func): Likewise.
5156 * write.c (fix_new_internal): Likewise.
5157 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
5158 (as_warn_value_out_of_range): Adjust prototype.
5159 (as_bad_value_out_of_range): Adjust prototype.
5160 * messages.c (identify): Make file name argument const char *.
5161 (as_warn_internal): Likewise.
5162 (as_warn_where): Likewise.
5163 (as_bad_internal): Likewise.
5164 (as_bad_where): Likewise.
5165 (as_internal_value_out_of_range): Likewise.
5166 (as_warn_value_out_of_range): Likewise.
5167 (as_bad_value_out_of_range): Likewise.
5168 * as.h (found_comment_file): Change type to const char *.
5169 * cond.c (file_line::file): Likewise.
5170 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
5171 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
5172 * config/obj-som.c (obj_som_init_stab_section): Likewise.
5173 * config/tc-aarch64.c (output_info): Likewise.
5174 * config/tc-alpha.c (insert_operand): Likewise.
5175 * config/tc-arc.c (insert_operand): Likewise.
5176 * config/tc-d30v.c (check_size): Likewise.
5177 * config/tc-ia64.c (struct alias): Likewise.
5178 * config/tc-m68k.c (struct label_line): Likewise.
5179 * config/tc-mcore.c (md_apply_fix): Likewise.
5180 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
5181 * config/tc-mips.c (mips16_immed): Likewise.
5182 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
5183 * config/tc-ppc.c (ppc_insert_operand): Likewise.
5184 * config/tc-rx.c (rx_include): Likewise.
5185 * config/tc-s390.c (s390_insert_operand): Likewise.
5186 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
5187 (tic54x_adjust_symtab): Likewise.
5188 * config/tc-tilegx.c (insert_operand): Likewise.
5189 (apply_special_operator): Likewise.
5190 * config/tc-tilepro.c (insert_operand): Likewise.
5191 * config/tc-xtensa.c (directive_push): Likewise.
5192 * ecoff.c (add_file): Likewise.
5193 (ecoff_generate_asm_lineno): Likewise.
5194 * listing.c (listing_newline): Likewise.
5195 * read.c (s_irp): Likewise.
5196 * write.c (install_reloc): Likewise.
5197 * write.h (struct fix): Likewise.
5198 * input-file.c (file_name): Change type to const char *.
5199 (saved_file::file_name): Likewise.
5200 (input_file_open): Change type of argument to const char *.
5201 * input-file.h (input_file_open): Adjust.
5202 * input-scrub.c (logical_input_file): change type to const char *.
5203 (physical_input_file): Likewise.
5204 (struct input_save): Adjust.
5205 (input_scrub_push): Adjust.
5206 (input_scrub_begin): Adjust.
5208 * input-scrub.c (input_scrub_new_file): Make file name argument const.
5209 (input_scrub_include_file): Likewise.
5210 (new_logical_line_flags): Likewise.
5211 (new_logical_line): Likewise.
5213 * frags.h (struct frag): Change type of fr_file to const char *.
5214 * expr.c (expr_symbol_where): Change type of file argument to
5216 * expr.h (expr_symbol_where): Likewise.
5217 * config/tc-i370.c (md_apply_fix): adjust.
5218 * config/tc-mmix.c (mmix_md_end): Likewise.
5219 * config/tc-ppc.c (md_apply_fix): Likewise.
5220 * config/tc-s390.c (md_apply_fix): Likewise.
5221 * symbols.c (report_op_error): Likewise.
5222 (resolve_symbol_value): Likewise.
5223 * config/tc-ia64.c (slot::src_file): Change type to const char *.
5224 (rsrc::file): Likewise.
5225 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
5227 (xtensa_relax_frag): Likewise.
5228 (md_convert_frag): Likewise.
5229 (tinsn_to_slotbuf): Likewise.
5230 * expr.c (expr_symbol_line): Likewise.
5231 * macro.c (define_macro): Likewise.
5232 * macro.h (macro_struct): Likewise.
5233 * messages.c (as_show_where): Likewise.
5234 * read.c (s_macro): Likewise.
5235 * stabs.c (stabs_generate_asm_file): Likewise.
5236 (generate_asm_file): Likewise.
5237 (stabs_generate_asm_lineno): Likewise.
5238 * write.h (struct reloc_list): Likewise.
5239 * input-scrub.c (as_where): Change return type to const char *.
5240 * as.h (as_wheree): Adjust.
5242 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
5244 * write.c (compress_debug): Move BFD compression bits setting
5246 (write_object_file): Here.
5248 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
5250 * config/tc-i386.c (register_number): Check RegVRex.
5251 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
5252 with %zmm19 and %zmm3.
5253 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
5254 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
5256 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
5257 Jiong Wang <jiong.wang@arm.com>
5259 * config/tc-arm.c (arm_ext_fp16): New.
5260 (arm_extensions): New entry for "fp16".
5262 2016-02-19 Nick Clifton <nickc@redhat.com>
5265 * read.c (read_a_source_file): Check for assemble_one returning
5266 with input_line_pointer set to NULL.
5268 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
5270 * listing.c (rebuffer_line): Change return type to void.
5272 * symbols.c (decode_local_label_name): Make type a const char *.
5273 * listing.c (print_source): Make type of p const char *.
5274 (print_line): Make type of string const char *.
5275 (buffer_line): Return const char *.
5276 (title): Make type const char *.
5277 (subtitle): Likewise.
5278 (listing_listing): Make type of p const char *.
5279 * messages.c (as_internal_value_out_of_range): Make type of prefix
5281 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
5282 and string const char *.
5283 * read.c (_bfd_rel): Make type of name const char *.
5284 * app.c (out_string): Change type to const char *.
5285 (struct app_save::out_string): Likewise.
5287 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
5288 Nick Clifton <nickc@redhat.com>
5290 * read.c (finish_bundle): Avoid recording a negative alignment.
5291 (do_align): Use unsigned values for n, len and max. Only create
5292 a frag if the alignment requirement is greater than the minimum
5293 byte alignment. Avoid recording a negative alignment.
5294 (s_align): Use unsigned values where appropriate.
5295 (bss_alloc): Use an unsigned value for the alignment.
5296 (sizeof_sleb128): Add a comment noting that we encode one octet
5297 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
5298 (emit_leb129_expr): Abort if the emitted encoding was longer than
5300 * read.h (output_leb128): Update prototype.
5301 (sizeof_leb128): Update prototype.
5302 (bss_alloc): Update prototype.
5303 * write.c (record_alignment): Use an unsigned value for the
5304 alignment. Do not record alignments less than the minimum
5305 alignment for a byte.
5306 * write.h (record_alignment): Update prototype.
5308 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5310 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
5311 .init.literal/.fini.literal section name.
5312 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
5313 list of xtensa tests.
5314 * testsuite/gas/xtensa/init-fini-literals.d: New file:
5315 init-fini-literals test result patterns.
5316 * testsuite/gas/xtensa/init-fini-literals.s: New file:
5317 init-fini-literals test.
5319 2016-02-17 Nick Clifton <nickc@redhat.com>
5321 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
5322 devices.csv file as of March 2016.
5324 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
5326 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
5328 (tc_arc_regname_to_dw2regnum): Likewise.
5329 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
5330 (tc_cfi_frame_initial_instructions): Likewise.
5331 (tc_regname_to_dw2regnum): Likewise.
5332 * testsuite/gas/cfi/cfi-arc-1.d: New file.
5333 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
5334 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
5336 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
5338 * doc/internals.texi (S_IS_EXTERN): Remove.
5340 2016-02-16 Nick Clifton <nickc@redhat.com>
5342 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
5345 2016-02-16 Renlin Li <renlin.li@arm.com>
5348 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
5349 * testsuite/gas/aarch64/movw_label.d: New.
5350 * testsuite/gas/aarch64/movw_label.s: New.
5352 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
5355 * config/rx-parse.y (MOV): Opcode generation for index
5356 register addressing mode.
5357 * testsuite/gas/rx/rx.exp: Updated for new testcase.
5358 * testsuite/gas/rx/pr19665.s: New file.
5359 * testsuite/gas/rx/pr19665.s: New file.
5360 * testsuite/gas/rx/mov.d: Update expected output.
5362 2016-02-15 Nick Clifton <nickc@redhat.com>
5364 * doc/as.texinfo (.section): Document that numeric values can now
5365 be used for the flags and type fields of the ELF target's .section
5366 directive. Add notes about the restrictions on setting flags and
5368 * config/obj-elf.c (obj_elf_change_section): Allow known sections
5369 to be given processor specific section types. Allow processor and
5370 application specific flags of a section to be set after
5372 (obj_elf_parse_section_letters): Handle parsing numeric values.
5373 (obj_elf_section_type): Handle parsing numeric values.
5374 (obj_elf_section): Allow numeric type values.
5375 * config/obj-elf.h (obj_elf_change_section): Update prototype.
5376 * testsuite/gas/elf/section10.d: New test.
5377 * testsuite/gas/elf/section10.s: Source file for new test.
5378 * testsuite/gas/elf/elf.exp: Run the new test.
5379 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
5380 the description of the flags produced by readelf.
5381 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
5382 * NEWS: Mention the new feature.
5384 2016-02-11 Nick Clifton <nickc@redhat.com>
5387 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
5388 until it is actually used.
5389 (cfi_set_sections): Set cfi_sections_set to true.
5390 (dot_cfi_startproc): Likewise.
5391 (dot_cfi_endproc): Likewise.
5392 (dot_cfi_fde_data): Likewise.
5393 (cfi_finish): Likewise.
5394 (dot_cfi_sections): Do not set cfi_sections_set.
5395 * doc/as.texinfo (.cfi_sections): Note that targets can provide
5396 their own cfi section name. Also note that the directive can be
5397 reissued provided that CFI generation has not started.
5398 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
5399 .cfi_endproc directives so that the redefinition of .cfi_sections
5400 will trigger the generation of the error message.
5401 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
5402 number of error message.
5404 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
5405 Janek van Oirschot <jvanoirs@synopsys.com>
5407 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
5408 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
5410 (arc_flags, arc_relax_type): New structure.
5411 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
5412 (RELAX_TABLE_ENTRY_MAX): New define.
5413 (relaxation_state, md_relax_table, arc_relaxable_insns)
5414 (arc_num_relaxable_ins): New variable.
5415 (rlx_operand_type, arc_rlx_types): New enums.
5416 (arc_relaxable_ins): New structure.
5417 (OPTION_RELAX): New option.
5418 (arc_insn): New relax member.
5419 (arc_flags): Remove.
5420 (relax_insn_p): New function.
5421 (apply_fixups): Likewise.
5422 (relaxable_operand): Likewise.
5423 (may_relax_expr): Likewise.
5424 (relaxable_flag): Likewise.
5425 (arc_pcrel_adjust): Likewise.
5426 (md_estimate_size_before_relax): Implement.
5427 (md_convert_frag): Likewise.
5428 (md_parse_option): Handle new mrelax option.
5429 (md_show_usage): Likewise.
5430 (assemble_insn): Set relax member.
5431 (emit_insn0): New function.
5432 (emit_insn1): Likewise.
5433 (emit_insn): Handle relaxation case.
5434 * NEWS: Mention the new relaxation option.
5435 * doc/c-arc.texi (ARC Options): Document new mrelax option.
5436 * doc/as.texinfo (Target ARC Options): Likewise.
5437 * testsuite/gas/arc/relax-avoid1.d: New file.
5438 * testsuite/gas/arc/relax-avoid1.s: Likewise.
5439 * testsuite/gas/arc/relax-avoid2.d: Likewise.
5440 * testsuite/gas/arc/relax-avoid2.s: Likewise.
5441 * testsuite/gas/arc/relax-avoid3.d: Likewise.
5442 * testsuite/gas/arc/relax-avoid3.s: Likewise.
5443 * testsuite/gas/arc/relax-b.d: Likewise.
5444 * testsuite/gas/arc/relax-b.s: Likewise.
5446 2016-02-08 Nick Clifton <nickc@redhat.com>
5448 * config/tc-ia64.c (dot_prologue): Fix formatting.
5450 2016-02-04 Nick Clifton <nickc@redhat.com>
5452 * config/obj-elf.c (obj_elf_change_section): Remove support for
5453 ARM NOREAD sections.
5454 * config/tc-arm.c (arm_elf_section_letter): Delete.
5455 * config/tc-arm.h (md_elf_section_letter): Delete.
5456 * doc/c-arm.texi (ARM Section Attribute): Delete section.
5457 * testsuite/gas/arm/section-execute-only.d: Delete.
5458 * testsuite/gas/arm/section-execute-only.s: Delete.
5460 2016-02-04 Nick Clifton <nickc@redhat.com>
5463 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
5464 to handle encoding of RRUX instruction.
5465 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
5467 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
5469 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
5471 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
5472 substitutions for BFD_RELOC_* as unsigned.
5473 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
5474 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
5475 * testsuite/gas/xtensa/loc.s: New file: loc test.
5477 2016-02-03 Kevin Buettner <kevinb@redhat.com>
5479 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
5481 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5484 * NEWS: Mention new command line option -mrelax-relocations and
5485 new configure option --enable-x86-relax-relocations for x86
5487 * config.in: Regenerated.
5488 * configure.ac: Add --enable-x86-relax-relocations.
5489 (ac_default_x86_relax_relocations): New. Default to 1 except
5490 for x86 Solaris targets older than Solaris 12.
5491 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
5492 * configure: Likewise.
5493 * config/tc-i386.c (generate_relax_relocations): New.
5494 (OPTION_MRELAX_RELOCATIONS): Likewise.
5495 (output_disp): Don't generate relax relocations if
5496 generate_relax_relocations is 0.
5497 (md_longopts): Add -mrelax-relocations.
5498 (md_show_usage): Likewise.
5499 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
5500 * doc/c-i386.texi: Document -mrelax-relocations=.
5501 * testsuite/gas/i386/got-no-relax.d: New file.
5502 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
5503 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
5504 * testsuite/gas/i386/localpic.d: Likewise.
5505 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
5506 * testsuite/gas/i386/reloc32.d: Likewise.
5507 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
5508 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
5509 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
5510 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
5511 * testsuite/gas/i386/i386.exp: Run got-no-relax and
5512 x86-64-gotpcrel-no-relax.
5514 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5516 * NEWS: Mention new command line option -mfence-as-lock-add=yes
5519 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
5521 * NEWS: Remove duplicated marker for 2.26.
5523 2016-02-02 Renlin Li <renlin.li@arm.com>
5525 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
5527 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5529 * testsuite/gas/ip2k/allinsn.d: New file.
5530 * testsuite/gas/ip2k/allinsn.s: New file.
5531 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
5533 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5535 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
5536 some load instructions.
5537 * testsuite/gas/epiphany/allinsn.d: Likewise.
5538 * testsuite/gas/epiphany/regression.d: Likewise.
5540 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5542 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
5543 suffixes from instruction mnemonics in expected output.
5544 * testsuite/gas/epiphany/allinsn.d: Likewise.
5545 * testsuite/gas/epiphany/regression.d: Likewise.
5546 * testsuite/gas/epiphany/sample.d: Likewise.
5548 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5550 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
5552 * testsuite/gas/epiphany/allinsn.d: Likewise.
5553 * testsuite/gas/epiphany/sample.d: Likewise.
5555 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
5557 * testsuite/gas/epiphany/sample.d: Update expected output.
5559 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
5561 * config/tc-arc.c (md_apply_fix): Allow addendum.
5562 (arc_reloc_op): Allow complex expressions for tpoff.
5563 (md_apply_fix): Handle resolved TLS local symbol.
5564 * testsuite/gas/arc/tls-relocs1.d: New file.
5565 * testsuite/gas/arc/tls-relocs1.s: Likewise.
5567 2016-02-01 Loria <Loria@phantasia.org>
5570 * config/tc-arm.c (encode_arm_immediate): Recode to improve
5571 efficiency and avoid an LLVM loop optimization bug.
5573 2016-02-01 Nick Clifton <nickc@redhat.com>
5575 * config/tc-microblaze.c (parse_imm): Fix compile time warning
5576 message extending a negative 32-bit value into a larger signed
5577 value on a 32-bit host.
5579 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
5582 * configure.ac (compressed_debug_sections): Replace == with =.
5583 * configure: Regenerated.
5585 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
5586 H.J. Lu <hongjiu.lu@intel.com>
5588 * config/tc-i386.c (avoid_fence): New.
5589 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
5591 (OPTION_FENCE_AS_LOCK_ADD): New.
5592 (md_longopts): Add -mfence-as-lock-add.
5593 (md_parse_option): Handle -mfence-as-lock-add.
5594 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
5595 * doc/c-i386.texi (-mfence-as-lock-add): Document.
5596 * testsuite/gas/i386/i386.exp: Run new tests.
5597 * testsuite/gas/i386/fence-as-lock-add.s: New.
5598 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
5599 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
5600 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
5601 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
5603 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
5605 * configure.ac (compressed_debug_sections): Remove trailing `]'.
5606 * configure: Regenerated.
5608 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
5610 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
5611 (OPTION_MOMIT_LOCK_PREFIX): This.
5612 (md_longopts): Updated.
5613 (md_parse_option): Likewise.
5615 2016-01-25 Catherine Moore <clm@codesourcery.com>
5617 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
5618 if abicalls are in effect.
5619 * testsuite/gas/mips/sdata-gp.s: New test.
5620 * testsuite/gas/mips/sdata-gp.d: New expected output
5621 * testsuite/gas/mips/mips.exp: Run new test.
5623 2016-01-25 Renlin Li <renlin.li@arm.com>
5625 * testsuite/gas/arm/thumb2_it_search.d: New.
5626 * testsuite/gas/arm/thumb2_it_search.s: New.
5628 2016-01-21 Nick Clifton <nickc@redhat.com>
5631 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
5632 with arm-netbsdelf target.
5633 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
5635 2016-01-20 Nick Clifton <nickc@redhat.com>
5638 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
5639 * testsuite/gas/arm/blx-bl-convert.d
5640 * testsuite/gas/arm/plt-1.d: Likewise.
5641 * testsuite/gas/arm/reloc-bad.d: Likewise.
5642 * testsuite/gas/arm/thumb-w-good.d: Likewise.
5643 * testsuite/gas/arm/thumb2_pool.d: Likewise.
5644 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
5645 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
5648 * doc/as.texinfo (Errors): Correct documentation describing the
5649 interaction of .file and .line with warning and error messages.
5652 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
5653 * testsuite/gas/arm/archv8m-main.d: Likewise.
5654 * testsuite/gas/arm/archv8m-base.d: Likewise.
5656 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
5658 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
5659 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
5660 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
5662 2016-01-20 Mickael Guene <mickael.guene@st.com>
5663 Terry Guo <terry.guo@arm.com>
5665 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
5666 SHF_ARM_NOREAD section flag.
5667 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
5669 (arm_elf_section_letter) : Declare it.
5670 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
5671 SHF_ARM_NOREAD section flag.
5672 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
5674 * testsuite/gas/arm/section-execute-only.s: New test case.
5675 * testsuite/gas/arm/section-execute-only.d: Expected output.
5677 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
5679 * config/tc-mips.c (micromips_insn_length): Remove the mention
5680 of 48-bit microMIPS instructions.
5682 2016-01-18 Alan Modra <amodra@gmail.com>
5684 * configure: Regenerate.
5686 2016-01-17 Alan Modra <amodra@gmail.com>
5688 * configure: Regenerate.
5690 2016-01-17 Alan Modra <amodra@gmail.com>
5692 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
5694 2016-01-14 Nick Clifton <nickc@redhat.com>
5696 * testsuite/gas/rl78/sp-relative-movw.s: New test.
5697 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
5698 * testsuite/gas/rl78/rl78.exp: Run the new test.
5700 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
5702 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
5703 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
5705 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
5707 * config/tc-nios2.c (output_movia): Preset `code' to 0.
5709 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
5711 * config/tc-h8300.c (get_operand): Remove spurious condition in
5712 test for closing parenthesis.
5714 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
5716 * config/tc-arm.c (arm_ext_v8_2): New.
5718 * testsuite/gas/arm/armv8_2-a.d: New.
5719 * testsuite/gas/arm/armv8_2-a.s: New.
5721 2016-01-12 Alan Modra <amodra@gmail.com>
5723 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
5725 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
5727 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
5728 xvcmpnesp, xvcmpnesp.>: Delete tests.
5729 * testsuite/gas/ppc/power9.s: Likewise.
5730 * testsuite/gas/ppc/vsx3.d: Likewise.
5731 * testsuite/gas/ppc/vsx3.s: Likewise.
5733 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
5736 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
5737 * testsuite/gas/m68k/p13050-1.s: New file.
5738 * testsuite/gas/m68k/p13050-2.d: New file.
5739 * testsuite/gas/m68k/p13050-2.s: New file.
5741 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5743 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
5744 * testsuite/gas/arc/add.d: Likewise.
5745 * testsuite/gas/arc/and.d: Likewise.
5746 * testsuite/gas/arc/asl.d: Likewise.
5747 * testsuite/gas/arc/asr.d: Likewise.
5748 * testsuite/gas/arc/bic.d: Likewise.
5749 * testsuite/gas/arc/extb.d: Likewise.
5750 * testsuite/gas/arc/extw.d: Likewise.
5751 * testsuite/gas/arc/j.d: Likewise.
5752 * testsuite/gas/arc/jl.d: Likewise.
5753 * testsuite/gas/arc/ld2.d: Likewise.
5754 * testsuite/gas/arc/lsr.d: Likewise.
5755 * testsuite/gas/arc/mov.d: Likewise.
5756 * testsuite/gas/arc/or.d: Likewise.
5757 * testsuite/gas/arc/pcl-relocs.d: Likewise.
5758 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
5759 * testsuite/gas/arc/pic-relocs.d: Likewise.
5760 * testsuite/gas/arc/plt-relocs.d: Likewise.
5761 * testsuite/gas/arc/rlc.d: Likewise.
5762 * testsuite/gas/arc/ror.d: Likewise.
5763 * testsuite/gas/arc/rrc.d: Likewise.
5764 * testsuite/gas/arc/sbc.d: Likewise.
5765 * testsuite/gas/arc/sda-relocs.d: Likewise.
5766 * testsuite/gas/arc/sda-relocs2.d: Likewise.
5767 * testsuite/gas/arc/sexb.d: Likewise.
5768 * testsuite/gas/arc/sexw.d: Likewise.
5769 * testsuite/gas/arc/st.d: Likewise.
5770 * testsuite/gas/arc/sub.d: Likewise.
5771 * testsuite/gas/arc/tls-relocs.d: Likewise.
5772 * testsuite/gas/arc/xor.d: Likewise.
5774 2016-01-01 Alan Modra <amodra@gmail.com>
5776 Update year range in copyright notice of all files.
5778 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
5780 Copyright (C) 2016 Free Software Foundation, Inc.
5782 Copying and distribution of this file, with or without modification,
5783 are permitted in any medium without royalty provided the copyright
5784 notice and this notice are preserved.
5790 version-control: never