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