24155f15441360ffc8aad47bced8ae6875d97bec
[binutils-gdb.git] / gas / ChangeLog
1 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
2
3 * config/tc-mips.c (append_insn): Call `symbol_append' for any
4 expression symbol created for MIPS16 relaxation.
5 (match_mips16_insn): Don't encode a constant value as an
6 immediate with a PC-relative operand.
7
8 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
9 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
10 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
11 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
12 test.
13 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
14 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
15 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
16 test.
17 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
18 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
19 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
20 test.
21 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
22 output.
23 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
24 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
25 source.
26 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
27 source.
28 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
29 source.
30 * testsuite/gas/mips/mips.exp: Run the new tests.
31
32 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
33
34 * config/tc-mips.c (mips16_pcrel_val): New function, factored
35 out from...
36 (mips16_extended_frag): ... here.
37 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
38 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
39
40 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
41
42 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
43 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
44 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
45 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
46 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
47 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
48 (mips16_extended_frag): Adjust accordingly.
49
50 2017-04-27 Alan Modra <amodra@gmail.com>
51
52 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
53
54 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
55
56 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
57 (RELAX_PIC): New macro.
58 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
59 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
60 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
61 Shift bits.
62 (RELAX_BRANCH_ENCODE): Add `pic' flag.
63 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
64 (RELAX_BRANCH_TOOFAR): Shift bits.
65 (RELAX_BRANCH_PIC): New macro.
66 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
67 (RELAX_MICROMIPS_PIC): New macro.
68 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
69 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
70 (RELAX_MICROMIPS_RELAX32): Shift bits.
71 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
72 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
73 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
74 first fixup created.
75 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
76 fixup processed rather than `mips_pic' in choosing to relax an
77 out of range branch to a jump.
78 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
79 rather than `mips_pic'.
80 (relaxed_micromips_32bit_branch_length): Likewise.
81 (md_estimate_size_before_relax): Likewise.
82 (md_convert_frag): Likewise.
83
84 * testsuite/gas/mips/option-pic-relax-0.d: New test.
85 * testsuite/gas/mips/option-pic-relax-1.d: New test.
86 * testsuite/gas/mips/option-pic-relax-2.d: New test.
87 * testsuite/gas/mips/option-pic-relax-3.d: New test.
88 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
89 * testsuite/gas/mips/option-pic-relax-4.d: New test.
90 * testsuite/gas/mips/option-pic-relax-5.d: New test.
91 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
92 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
93 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
94 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
95 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
96 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
97 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
98 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
99 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
100 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
101 * testsuite/gas/mips/mips.exp: Run the new tests.
102
103 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
104
105 * testsuite/gas/arc/leave_enter.d: Update test.
106 * testsuite/gas/arc/leave_enter.s: Likewise.
107
108 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
109
110 * testsuite/gas/arc/b.d: Update test.
111 * testsuite/gas/arc/noargs_hs.d: Likewise.
112
113 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
114
115 * config/tc-mips.c (md_convert_frag): Correct
116 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
117 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
118 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
119 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
120 output.
121 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
122 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
123 * testsuite/gas/mips/mips.exp: Run the new tests.
124
125 2017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
126
127 PR gas/21407
128 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
129 instructions into branch instructions in fixups generating
130 additional relocations.
131 * testsuite/gas/sparc/call-relax.s: New file.
132 * testsuite/gas/sparc/call-relax.d: Likewise.
133 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
134 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
135
136 2017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
137
138 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
139 Forbid MOV.W and MOVW if destination is SP or PC.
140 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
141 expectation of LDR not generating a MOVS for low registers and small
142 constants. Add tests of MOVW generation.
143 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
144 expected disassembly.
145
146 2017-04-22 Alan Modra <amodra@gmail.com>
147
148 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
149 * testsuite/gas/ppc/vle.d: Update.
150
151 2017-04-21 Nick Clifton <nickc@redhat.com>
152
153 PR binutils/21380
154 * testsuite/gas/aarch64/illegal-3.s: New file.
155 * testsuite/gas/aarch64/illegal-3.d: New file.
156
157 2017-04-11 Alan Modra <amodra@gmail.com>
158
159 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
160 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
161
162 2017-04-10 Max Filippov <jcmvbkbc@gmail.com>
163
164 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
165 Initialize lps->frag_count with auto_litpool_limit.
166 (xg_promote_candidate_litpool): New function.
167 (xtensa_move_literals): Extract candidate litpool promotion code
168 into separate function. Call it for all possible found
169 candidates.
170 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
171 call to xtensa_mark_literal_pool_location that it guards.
172 Replace it with call to xtensa_maybe_create_literal_pool_frag.
173 Initialize pool_location with created literal pool candidate.
174 * testsuite/gas/xtensa/all.exp: Add new tests.
175 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
176 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
177 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
178 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
179 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
180 to additional jump instruction.
181
182 2017-04-07 Alan Modra <amodra@gmail.com>
183
184 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
185 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
186
187 2017-04-07 Alan Modra <amodra@gmail.com>
188
189 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
190 for .mbind.text.
191
192 2017-04-06 Pip Cet <pipcet@gmail.com>
193
194 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
195 changes.
196 * testsuite/gas/wasm32/disass.d: New test.
197 * testsuite/gas/wasm32/disass.s: New test.
198 * testsuite/gas/wasm32/disass-2.d: New test.
199 * testsuite/gas/wasm32/disass-2.s: New test.
200 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
201 names.
202 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
203 syntax.
204 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
205 test to succeed.
206
207 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
208
209 * NEWS: Mention support for ELF SHF_GNU_MBIND.
210 * config/obj-elf.c (section_match): New.
211 (get_section): Match both sh_info and group name.
212 (obj_elf_change_section): Add argument for sh_info. Pass both
213 sh_info and group name to get_section. Issue an error for
214 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
215 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
216 (obj_elf_section): Support SHF_GNU_MBIND section info.
217 * config/obj-elf.h (obj_elf_change_section): Add argument for
218 sh_info.
219 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
220 obj_elf_change_section.
221 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
222 * config/tc-microblaze.c (microblaze_s_data): Likewise.
223 (microblaze_s_sdata): Likewise.
224 (microblaze_s_rdata): Likewise.
225 (microblaze_s_bss): Likewise.
226 * config/tc-mips.c (s_change_section): Likewise.
227 * config/tc-msp430.c (msp430_profiler): Likewise.
228 * config/tc-rx.c (parse_rx_section): Likewise.
229 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
230 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
231 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
232 section13.
233 * testsuite/gas/elf/section10.d: Updated.
234 * testsuite/gas/elf/section10.s: Likewise.
235 * testsuite/gas/elf/section12.s: New file.
236 * testsuite/gas/elf/section12a.d: Likewise.
237 * testsuite/gas/elf/section12b.d: Likewise.
238 * testsuite/gas/elf/section13.l: Likewise.
239 * testsuite/gas/elf/section13.d: Likewise.
240 * testsuite/gas/elf/section13.s: Likewise.
241
242 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
243
244 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
245 avoid const warnings.
246
247 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
248
249 * config/tc-riscv.c (riscv_clear_subsets): New function.
250 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
251 clear RVC when it's been previously set.
252
253 2017-03-31 Nick Clifton <nickc@redhat.com>
254
255 PR gas/21333
256 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
257 fixups in mergeable sections to be adjusted.
258
259 2017-03-30 Pip Cet <pipcet@gmail.com>
260
261 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
262 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
263 * Makefile.am: Add WebAssembly assembler target.
264 * configure.tgt: Add WebAssembly assembler target.
265 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
266 assembler.
267 * doc/all.texi: Define WASM32.
268 * doc/as.texinfo: Add WebAssembly entries.
269 * NEWS: Mention the new support.
270 * Makefile.in: Regenerate.
271 * po/gas.pot: Regenerate.
272 * po/POTFILES.in: Regenerate.
273 * testsuite/gas/wasm32: New directory.
274 * testsuite/gas/wasm32/allinsn.d: New file.
275 * testsuite/gas/wasm32/allinsn.s: New file.
276 * testsuite/gas/wasm32/illegal.l: New file.
277 * testsuite/gas/wasm32/illegal.s: New file.
278 * testsuite/gas/wasm32/illegal-2.l: New file.
279 * testsuite/gas/wasm32/illegal-2.s: New file.
280 * testsuite/gas/wasm32/illegal-3.l: New file.
281 * testsuite/gas/wasm32/illegal-3.s: New file.
282 * testsuite/gas/wasm32/illegal-4.l: New file.
283 * testsuite/gas/wasm32/illegal-4.s: New file.
284 * testsuite/gas/wasm32/illegal-5.l: New file.
285 * testsuite/gas/wasm32/illegal-5.s: New file.
286 * testsuite/gas/wasm32/illegal-6.l: New file.
287 * testsuite/gas/wasm32/illegal-6.s: New file.
288 * testsuite/gas/wasm32/illegal-7.l: New file.
289 * testsuite/gas/wasm32/illegal-7.s: New file.
290 * testsuite/gas/wasm32/illegal-8.l: New file.
291 * testsuite/gas/wasm32/illegal-8.s: New file.
292 * testsuite/gas/wasm32/illegal-9.l: New file.
293 * testsuite/gas/wasm32/illegal-9.s: New file.
294 * testsuite/gas/wasm32/illegal-10.l: New file.
295 * testsuite/gas/wasm32/illegal-10.s: New file.
296 * testsuite/gas/wasm32/illegal-11.l: New file.
297 * testsuite/gas/wasm32/illegal-11.s: New file.
298 * testsuite/gas/wasm32/illegal-12.l: New file.
299 * testsuite/gas/wasm32/illegal-12.s: New file.
300 * testsuite/gas/wasm32/illegal-13.l: New file.
301 * testsuite/gas/wasm32/illegal-13.s: New file.
302 * testsuite/gas/wasm32/illegal-14.l: New file.
303 * testsuite/gas/wasm32/illegal-14.s: New file.
304 * testsuite/gas/wasm32/illegal-15.l: New file.
305 * testsuite/gas/wasm32/illegal-15.s: New file.
306 * testsuite/gas/wasm32/illegal-16.l: New file.
307 * testsuite/gas/wasm32/illegal-16.s: New file.
308 * testsuite/gas/wasm32/illegal-17.l: New file.
309 * testsuite/gas/wasm32/illegal-17.s: New file.
310 * testsuite/gas/wasm32/illegal-18.l: New file.
311 * testsuite/gas/wasm32/illegal-18.s: New file.
312 * testsuite/gas/wasm32/illegal-19.l: New file.
313 * testsuite/gas/wasm32/illegal-19.s: New file.
314 * testsuite/gas/wasm32/illegal-20.l: New file.
315 * testsuite/gas/wasm32/illegal-20.s: New file.
316 * testsuite/gas/wasm32/illegal-21.l: New file.
317 * testsuite/gas/wasm32/illegal-21.s: New file.
318 * testsuite/gas/wasm32/illegal-22.l: New file.
319 * testsuite/gas/wasm32/illegal-22.s: New file.
320 * testsuite/gas/wasm32/illegal-24.l: New file.
321 * testsuite/gas/wasm32/illegal-24.s: New file.
322 * testsuite/gas/wasm32/illegal-25.l: New file.
323 * testsuite/gas/wasm32/illegal-25.s: New file.
324 * testsuite/gas/wasm32/reloc.d: New file.
325 * testsuite/gas/wasm32/reloc.s: New file.
326 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
327 architecture.
328
329 2017-03-29 Alan Modra <amodra@gmail.com>
330
331 * config/tc-ppc.c (md_parse_option): Reject -mraw.
332
333 2017-03-27 Alan Modra <amodra@gmail.com>
334
335 PR 21303
336 * testsuite/gas/ppc/pr21303.d,
337 * testsuite/gas/ppc/pr21303.s: New test
338 * testsuite/gas/ppc/ppc.exp: Run it.
339
340 2017-03-27 Rinat Zelig <rinat@mellanox.com>
341
342 * testsuite/gas/arc/nps400-12.s: New file.
343 * testsuite/gas/arc/nps400-12.d: New file.
344
345 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
346
347 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
348 CPU_DEFAULT is defined.
349
350 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
351
352 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
353 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
354 print an invalid default ISA string.
355 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
356
357 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
358
359 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
360 reassigned fixup to size of jump instruction (3) and fx_r_type
361 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
362 (add_jump_to_trampoline): Search
363 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
364 symbol and use that slot instead of slot 0.
365
366 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
367
368 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
369 from cpu_table. Remove vx2, and novx2 from cpu_flags.
370
371 2017-03-21 Rinat Zelig <rinat@mellanox.com>
372
373 * testsuite/gas/arc/nps400-11.s: New file.
374 * testsuite/gas/arc/nps400-11.d: New file.
375
376 2017-03-20 Nick Clifton <nickc@redhat.com>
377
378 * doc/as.texinfo (2byte): Note that if no expressions are present
379 the directive does nothing. Emphasize that the output is
380 unaligned, and that this can have an effect on the relocations
381 generated.
382 (4byte): Simplify description. Refer back to the 2byte
383 description.
384 (8byte): Likewise.
385
386 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
387
388 * config/tc-arm.c (arm_fpus): Note entires that should not be
389 documented.
390 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
391 neon-fp16. Fix spelling error.
392
393 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
394
395 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
396
397 2017-03-16 Rinat Zelig <rinat@mellanox.com>
398
399 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
400 specially for ARCv2.
401
402 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
403
404 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
405 encoding format, which can accept 0-valued immediates.
406 (riscv_ip): Likewise.
407
408 2017-03-15 Nick Clifton <nickc@redhat.com>
409
410 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
411 warning about discarding a const qualifier.
412
413 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
414
415 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
416
417 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
418
419 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
420 fx_next->fx_frag for CFA_advance_loc relocations.
421
422 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
423
424 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
425 for CFA relocations.
426
427 2017-03-13 Nick Clifton <nickc@redhat.com>
428
429 PR binutils/21202
430 * config/tc-aarch64.c (reloc_table): Rename
431 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
432 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
433 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
434 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
435 (md_apply_fix): Likewise.
436 (aarch64_force_relocation): Likewise.
437 * testsuite/gas/aarch64/tls.d: Update regexp.
438
439 2017-03-10 Tobin C. Harding <me@tobin.cc>
440 Nick Clifton <nickc@redhat.com>
441
442 * doc/as.texinfo (2byte): Tidy up wording. Add note that
443 overlarge values will produce a warning message and be trunacted.
444 (4byte): Likewise.
445
446 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
447
448 * config/tc-i386.c (_i386_insn): Add dir_encoding and
449 vec_encoding. Remove swap_operand and need_vrex.
450 (extra_symbol_chars): Add '}'.
451 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
452 mnemonic.
453 (build_vex_prefix): Don't use 2-byte VEX encoding with
454 {vex3}. Check dir_encoding and load.
455 (parse_insn): Check pseudo prefixes. Set dir_encoding.
456 (VEX_check_operands): Likewise.
457 (match_template): Check dir_encoding and load.
458 (parse_real_register): Set vec_encoding instead of need_vrex.
459 (parse_register): Likewise.
460 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
461 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
462 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
463 * testsuite/gas/i386/pseudos.d: New file.
464 * testsuite/gas/i386/pseudos.s: Likewise.
465 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
466 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
467
468 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
469
470 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
471 (objdump): Use the -Mpower8 option.
472
473 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
474
475 * testsuite/gas/ppc/power9.d <lnia> New test.
476 * testsuite/gas/ppc/power9.s: Likewise.
477
478 2017-03-07 Alan Modra <amodra@gmail.com>
479
480 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
481
482 2017-03-07 Tobin C. Harding <me@tobin.cc>
483 Alan Modra <amodra@gmail.com>
484
485 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
486 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
487
488 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
489
490 * config/tc-i386.c (cpu_arch): Add .cet.
491 * doc/c-i386.texi: Document cet.
492 * testsuite/gas/i386/cet-intel.d: New file.
493 * testsuite/gas/i386/cet.d: Likewise.
494 * testsuite/gas/i386/cet.s: Likewise.
495 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
496 * testsuite/gas/i386/x86-64-cet.d: Likewise.
497 * testsuite/gas/i386/x86-64-cet.s: Likewise.
498 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
499
500 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
501
502 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
503 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
504
505 2017-03-06 Alan Modra <amodra@gmail.com>
506
507 * dw2gencfi.c (encoding_size): Return unsigned int.
508 (emit_expr_encoded): Assert size matches reloc bitsize.
509 (output_fde): Use unsigned for offset_size and addr_size. Set
510 addr_size earlier and use in place of constant 4 and uses of
511 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
512
513 2017-03-06 Alan Modra <amodra@gmail.com>
514
515 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
516 auto reformat. Formatting and whitespace fixes.
517
518 2017-03-05 Mark Wielaard <mark@klomp.org>
519
520 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
521 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
522 (out_debug_info): Accept symbols to name, comp_dir and producer in
523 the .debug_str section and emit those offsets not full strings.
524 (out_debug_str): New function that outputs the strings for name,
525 comp_dir and producer in .debug_str and generates symbols to those
526 strings.
527 (out_debug_line): Create a .debug_str section if necessary and call
528 out_debug_str before calling out_debug_info.
529 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
530 output.
531
532 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
533
534 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
535 part of the frag has overrun the location requested.
536
537 * testsuite/gas/all/org-1.d: New test.
538 * testsuite/gas/all/org-2.d: New test.
539 * testsuite/gas/all/org-3.d: New test.
540 * testsuite/gas/all/org-4.d: New test.
541 * testsuite/gas/all/org-5.d: New test.
542 * testsuite/gas/all/org-6.d: New test.
543 * testsuite/gas/all/org-1.l: New stderr output.
544 * testsuite/gas/all/org-2.l: New stderr output.
545 * testsuite/gas/all/org-3.l: New stderr output.
546 * testsuite/gas/all/org-1.s: New test source.
547 * testsuite/gas/all/org-2.s: New test source.
548 * testsuite/gas/all/org-3.s: New test source.
549 * testsuite/gas/all/org-4.s: New test source.
550 * testsuite/gas/all/org-5.s: New test source.
551 * testsuite/gas/all/org-6.s: New test source.
552 * testsuite/gas/all/gas.exp: Run the new tests.
553
554 * testsuite/gas/mips/org-1.d: New test.
555 * testsuite/gas/mips/org-2.d: New test.
556 * testsuite/gas/mips/org-3.d: New test.
557 * testsuite/gas/mips/org-4.d: New test.
558 * testsuite/gas/mips/org-5.d: New test.
559 * testsuite/gas/mips/org-6.d: New test.
560 * testsuite/gas/mips/org-7.d: New test.
561 * testsuite/gas/mips/org-8.d: New test.
562 * testsuite/gas/mips/org-9.d: New test.
563 * testsuite/gas/mips/org-10.d: New test.
564 * testsuite/gas/mips/org-11.d: New test.
565 * testsuite/gas/mips/org-12.d: New test.
566 * testsuite/gas/mips/org-1.l: New stderr output.
567 * testsuite/gas/mips/org-4.l: New stderr output.
568 * testsuite/gas/mips/org-5.l: New stderr output.
569 * testsuite/gas/mips/org-6.l: New stderr output.
570 * testsuite/gas/mips/org-10.l: New stderr output.
571 * testsuite/gas/mips/org-1.s: New test source.
572 * testsuite/gas/mips/org-2.s: New test source.
573 * testsuite/gas/mips/org-3.s: New test source.
574 * testsuite/gas/mips/org-4.s: New test source.
575 * testsuite/gas/mips/org-5.s: New test source.
576 * testsuite/gas/mips/org-6.s: New test source.
577 * testsuite/gas/mips/org-7.s: New test source.
578 * testsuite/gas/mips/org-8.s: New test source.
579 * testsuite/gas/mips/org-9.s: New test source.
580 * testsuite/gas/mips/org-10.s: New test source.
581 * testsuite/gas/mips/org-11.s: New test source.
582 * testsuite/gas/mips/org-12.s: New test source.
583 * testsuite/gas/mips/mips.exp: Run the new tests.
584
585 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
586
587 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
588
589 2017-02-28 Jan Beulich <jbeulich@suse.com>
590
591 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
592 VPCMPESTR{I,M}.
593 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
594 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
595 of PCMPESTR{I,M}.
596 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
597 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
598 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
599 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
600 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
601 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
602 * testsuite/gas/i386/x86-64-avx.d: Likewise.
603 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
604 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
605 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
606
607 2017-02-28 Alan Modra <amodra@gmail.com>
608
609 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
610
611 2017-02-28 Alan Modra <amodra@gmail.com>
612
613 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
614 (md_apply_fix): Remove fx_subsy check. Move code converting to
615 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
616 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
617 that is done now by the generic code via..
618 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
619 (TC_VALIDATE_FIX_SUB): Define.
620
621 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
622
623 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
624 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
625 encoding patterns.
626 * testsuite/gas/mips/jalr4-n64.d: Likewise.
627 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
628 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
629 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
630
631 2017-02-25 Alan Modra <amodra@gmail.com>
632
633 * testsuite/gas/elf/strtab.s: Don't put directives on first
634 column or continuation with labels not in first column.
635
636 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
637
638 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
639 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
640 to be used with SVE registers.
641 (parse_operands): Handle new SVE operands.
642 (aarch64_features): Make "sve" require F16 rather than FP. Also
643 require COMPNUM.
644 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
645 Include compnum tests.
646 * testsuite/gas/aarch64/sve.d: Update accordingly.
647 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
648 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
649 update expected output for new FMOV and MOV alternatives.
650
651 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
652
653 * doc/c-aarch64.texi: Add a "compnum" entry.
654 * config/tc-aarch64.c (aarch64_features): Likewise,
655 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
656 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
657
658 2017-02-24 Jan Beulich <jbeulich@suse.com>
659
660 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
661 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
662 * testsuite/gas/i386/opcode.d: Adjust accordingly.
663 * testsuite/gas/i386/opcode-intel.d: Likewise.
664 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
665 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
666
667 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
668
669 Test cases for the architecture level aware SPARC ASI work.
670 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
671 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
672 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
673 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
674 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
675
676 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
677
678 * testsuite/gas/mips/jalr4.d: New test.
679 * testsuite/gas/mips/jalr4-n32.d: New test.
680 * testsuite/gas/mips/jalr4-n64.d: New test.
681 * testsuite/gas/mips/jalr4.s: New test source.
682 * testsuite/gas/mips/mips.exp: Run the new tests.
683
684 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
685
686 Add support for associating SPARC ASIs with an architecture level.
687 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
688
689 2017-02-23 Jan Beulich <jbeulich@suse.com>
690
691 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
692 of symbols as expression.
693
694 2017-02-23 Jan Beulich <jbeulich@suse.com>
695
696 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
697 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
698 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
699 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
700
701 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
702
703 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
704 `md_flush_pending_output'.
705 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
706 `md_flush_pending_output' unconditionally.
707 * testsuite/gas/mips/debug-label-end-1.d: New test.
708 * testsuite/gas/mips/debug-label-end-2.d: New test.
709 * testsuite/gas/mips/debug-label-end-3.d: New test.
710 * testsuite/gas/mips/debug-label-end.s: New test source.
711 * testsuite/gas/mips/mips.exp: Run the new tests.
712
713 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
714
715 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
716 targets yielding an error message matching "too complex".
717
718 2017-02-22 Nick Clifton <nickc@redhat.com>
719
720 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
721
722 2017-02-21 Jan Beulich <jbeulich@suse.com>
723
724 * expr.c (operand): Handle missing operand to .startof.() and
725 .sizeof.().
726 * testsuite/gas/all/err-sizeof.s: New.
727
728 2017-02-20 Alan Modra <amodra@gmail.com>
729
730 PR 21118
731 * NEWS: Revise powerpc register check.
732 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
733 register expression" a warning.
734
735 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
736
737 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
738 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
739 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
740 * testsuite/gas/mips/aent-2.d: New test.
741 * testsuite/gas/mips/aent-mdebug.d: New test.
742 * testsuite/gas/mips/aent-mdebug-2.d: New test.
743 * testsuite/gas/mips/mips.exp: Run the new tests.
744
745 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
746
747 * testsuite/gas/aarch64/sve-sysreg.s,
748 testsuite/gas/aarch64/sve-sysreg.d,
749 testsuite/gas/aarch64/sve-sysreg-invalid.d,
750 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
751
752 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
753
754 * doc/c-aarch64.texi: Fix sve entry.
755
756 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
757
758 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
759 information from input expression.
760 (assemble_insn): Make sure pcrel is correctly set.
761 (arc_pcrel_adjust): Compensate for PCL rounding.
762 * testsuite/gas/arc/relax-add01.d: New file.
763 * testsuite/gas/arc/relax-add01.s: Likewise.
764 * testsuite/gas/arc/relax-add02.d: Likewise.
765 * testsuite/gas/arc/relax-add02.s: Likewise.
766 * testsuite/gas/arc/relax-add03.d: Likewise.
767 * testsuite/gas/arc/relax-add03.s: Likewise.
768 * testsuite/gas/arc/relax-add04.d: Likewise.
769 * testsuite/gas/arc/relax-add04.s: Likewise.
770 * testsuite/gas/arc/relax-ld01.d: Likewise.
771 * testsuite/gas/arc/relax-ld01.s: Likewise.
772 * testsuite/gas/arc/relax-ld02.d: Likewise.
773 * testsuite/gas/arc/relax-ld02.s: Likewise.
774 * testsuite/gas/arc/relax-mov01.d: Likewise.
775 * testsuite/gas/arc/relax-mov01.s: Likewise.
776 * testsuite/gas/arc/relax-mov02.d: Likewise.
777 * testsuite/gas/arc/relax-mov02.s: Likewise.
778 * testsuite/gas/arc/relax-mpy01.d: Likewise.
779 * testsuite/gas/arc/relax-mpy01.s: Likewise.
780 * testsuite/gas/arc/relax-sub01.d: Likewise.
781 * testsuite/gas/arc/relax-sub01.s: Likewise.
782 * testsuite/gas/arc/relax-sub02.d: Likewise.
783 * testsuite/gas/arc/relax-sub02.s: Likewise.
784 * testsuite/gas/arc/relax-sub03.d: Likewise.
785 * testsuite/gas/arc/relax-sub03.s: Likewise.
786 * testsuite/gas/arc/relax-sub04.d: Likewise.
787 * testsuite/gas/arc/relax-sub04.s: Likewise.
788
789 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
790
791 * testsuite/gas/arc/st.d: Update for 0xe having a name now
792
793 2017-02-14 Alan Modra <amodra@gmail.com>
794
795 PR 21118
796 * NEWS: Mention powerpc register checks.
797 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
798 (pre_defined_registers): Delete fpscr and pmr entries. Set
799 register type in flags.
800 (cr_names): Set type in flags.
801 (reg_name_search): Return pointer to struct pd_reg rather than value.
802 (register_name): Adjust to suit. Set X_md from flags.
803 (ppc_parse_name): Likewise.
804 (ppc_optimize_expr): New function.
805 (md_assemble): Verify expresion reg flags match operand.
806 * config/tc-ppc.h (md_optimize_expr): Define.
807 (ppc_optimize_expr): Declare.
808
809 2017-02-14 Alan Modra <amodra@gmail.com>
810
811 * testsuite/gas/ppc/cell.s: Correct invalid registers.
812 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
813 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
814
815 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
816
817 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
818 syntax.
819 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
820 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
821
822 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
823
824 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
825
826 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
827
828 * doc/as.texinfo (Overview): Select MIPS options for man page
829 inclusion.
830
831 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
832
833 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
834 (options): Add OPTION_IGNORE_BRANCH_ISA and
835 OPTION_NO_IGNORE_BRANCH_ISA enum values.
836 (md_longopts): Add "mignore-branch-isa" and
837 "mno-ignore-branch-isa" options.
838 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
839 OPTION_NO_IGNORE_BRANCH_ISA.
840 (fix_bad_cross_mode_branch_p): Return FALSE if
841 `mips_ignore_branch_isa' has been set.
842 (md_show_usage): Add `-mignore-branch-isa' and
843 `-mno-ignore-branch-isa'.
844
845 * doc/as.texinfo (Target MIPS options): Add
846 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
847 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
848 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
849 `-mno-ignore-branch-isa' options.
850
851 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
852 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
853 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
854 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
855 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
856 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
857 * testsuite/gas/mips/mips.exp: Run the new tests.
858
859 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
860
861 * testsuite/gas/mips/branch-local-2.d: New test.
862 * testsuite/gas/mips/branch-local-3.d: New test.
863 * testsuite/gas/mips/branch-local-n32-2.d: New test.
864 * testsuite/gas/mips/branch-local-n32-3.d: New test.
865 * testsuite/gas/mips/branch-local-n64-2.d: New test.
866 * testsuite/gas/mips/branch-local-n64-3.d: New test.
867 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
868 into the new tests.
869
870 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
871
872 PR 21056
873 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
874 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
875
876 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
877
878 * configure.tgt (aarch64*-*-rtems*): Remove.
879 (bfin-*-rtems*): Likewise.
880 (h8300-*-rtems*): Likewise.
881 (i386-*-rtems*): Likewise.
882 (m32c-*-rtems*): Likewise.
883 (m32r-*-rtems*): Likewise.
884 (m68k-*-rtems*): Likewise.
885 (mips-*-rtems*): Likewise.
886 (nios2-*-rtems*): Likewise.
887 (ppc-*-rtems*): Likewise.
888 (sh-*-rtems*): Likewise.
889 (sparc64-*-rtems*): Likewise.
890 (sparc-*-rtems*): Likewise.
891 (*-*-rtems*) Use ELF format.
892
893 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
894
895 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
896
897 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
898
899 * configure.tgt (sh-*-rtemscoff*): Remove.
900
901 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
902
903 * configure.tgt (riscv*-*-*): Remove em=linux.
904
905 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
906
907 PR gas/21072
908 * asintl.h: Fix spelling mistakes and typos.
909 * atof-generic.c: Likewise.
910 * bit_fix.h: Likewise.
911 * config/atof-ieee.c: Likewise.
912 * config/bfin-defs.h: Likewise.
913 * config/bfin-parse.y: Likewise.
914 * config/obj-coff-seh.h: Likewise.
915 * config/obj-coff.c: Likewise.
916 * config/obj-evax.c: Likewise.
917 * config/obj-macho.c: Likewise.
918 * config/rx-parse.y: Likewise.
919 * config/tc-aarch64.c: Likewise.
920 * config/tc-alpha.c: Likewise.
921 * config/tc-arc.c: Likewise.
922 * config/tc-arm.c: Likewise.
923 * config/tc-avr.c: Likewise.
924 * config/tc-bfin.c: Likewise.
925 * config/tc-cr16.c: Likewise.
926 * config/tc-cris.c: Likewise.
927 * config/tc-crx.c: Likewise.
928 * config/tc-d10v.c: Likewise.
929 * config/tc-d30v.c: Likewise.
930 * config/tc-dlx.c: Likewise.
931 * config/tc-epiphany.c: Likewise.
932 * config/tc-frv.c: Likewise.
933 * config/tc-hppa.c: Likewise.
934 * config/tc-i370.c: Likewise.
935 * config/tc-i386-intel.c: Likewise.
936 * config/tc-i386.c: Likewise.
937 * config/tc-i960.c: Likewise.
938 * config/tc-ia64.c: Likewise.
939 * config/tc-m32r.c: Likewise.
940 * config/tc-m68hc11.c: Likewise.
941 * config/tc-m68k.c: Likewise.
942 * config/tc-mcore.c: Likewise.
943 * config/tc-mep.c: Likewise.
944 * config/tc-mep.h: Likewise.
945 * config/tc-metag.c: Likewise.
946 * config/tc-microblaze.c: Likewise.
947 * config/tc-mips.c: Likewise.
948 * config/tc-mmix.c: Likewise.
949 * config/tc-mn10200.c: Likewise.
950 * config/tc-mn10300.c: Likewise.
951 * config/tc-msp430.c: Likewise.
952 * config/tc-msp430.h: Likewise.
953 * config/tc-nds32.c: Likewise.
954 * config/tc-nds32.h: Likewise.
955 * config/tc-nios2.c: Likewise.
956 * config/tc-nios2.h: Likewise.
957 * config/tc-ns32k.c: Likewise.
958 * config/tc-pdp11.c: Likewise.
959 * config/tc-ppc.c: Likewise.
960 * config/tc-pru.c: Likewise.
961 * config/tc-rx.c: Likewise.
962 * config/tc-s390.c: Likewise.
963 * config/tc-score.c: Likewise.
964 * config/tc-score7.c: Likewise.
965 * config/tc-sh.c: Likewise.
966 * config/tc-sh64.c: Likewise.
967 * config/tc-sparc.c: Likewise.
968 * config/tc-tic4x.c: Likewise.
969 * config/tc-tic54x.c: Likewise.
970 * config/tc-v850.c: Likewise.
971 * config/tc-vax.c: Likewise.
972 * config/tc-visium.c: Likewise.
973 * config/tc-xgate.c: Likewise.
974 * config/tc-xtensa.c: Likewise.
975 * config/tc-z80.c: Likewise.
976 * config/tc-z8k.c: Likewise.
977 * config/te-vms.c: Likewise.
978 * config/xtensa-relax.c: Likewise.
979 * doc/as.texinfo: Likewise.
980 * doc/c-arm.texi: Likewise.
981 * doc/c-hppa.texi: Likewise.
982 * doc/c-i370.texi: Likewise.
983 * doc/c-i386.texi: Likewise.
984 * doc/c-m32r.texi: Likewise.
985 * doc/c-m68k.texi: Likewise.
986 * doc/c-mmix.texi: Likewise.
987 * doc/c-msp430.texi: Likewise.
988 * doc/c-nds32.texi: Likewise.
989 * doc/c-ns32k.texi: Likewise.
990 * doc/c-riscv.texi: Likewise.
991 * doc/c-rx.texi: Likewise.
992 * doc/c-s390.texi: Likewise.
993 * doc/c-tic6x.texi: Likewise.
994 * doc/c-tilegx.texi: Likewise.
995 * doc/c-tilepro.texi: Likewise.
996 * doc/c-v850.texi: Likewise.
997 * doc/c-xgate.texi: Likewise.
998 * doc/c-xtensa.texi: Likewise.
999 * dwarf2dbg.c: Likewise.
1000 * ecoff.c: Likewise.
1001 * itbl-ops.c: Likewise.
1002 * listing.c: Likewise.
1003 * macro.c: Likewise.
1004 * po/gas.pot: Likewise.
1005 * read.c: Likewise.
1006 * struc-symbol.h: Likewise.
1007 * symbols.h: Likewise.
1008 * testsuite/gas/arc/relocs-errors.err: Likewise.
1009 * write.c: Likewise.
1010
1011 2017-01-23 Nick Clifton <nickc@redhat.com>
1012
1013 * po/sv.po: Updated Swedish translation.
1014
1015 2017-01-20 Nick Clifton <nickc@redhat.com>
1016
1017 * config/tc-i386.c (parse_operands): Check for operand overflow
1018 before setting the unspecified bit.
1019
1020 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1021
1022 PR gas/20649
1023 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
1024 symbols, remove the `segtype' parameter.
1025 (mips_frob_file, md_estimate_size_before_relax): Adjust
1026 accordingly.
1027 (s_is_linkonce): Add an explanatory comment.
1028 * testsuite/gas/mips/comdat-reloc.d: New test.
1029 * testsuite/gas/mips/comdat-reloc.s: New test source.
1030 * testsuite/gas/mips/mips.exp: Run the new test.
1031
1032 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1033
1034 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
1035 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
1036
1037 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1038
1039 PR 21059
1040 * config/bfin-lex.l: Support processing with flex 2.6.3.
1041 * itbl-lex.l: Likewise.
1042
1043 2017-01-18 Nathan Sidwell <nathan@acm.org>
1044
1045 * as.h (gas_assert): Use abort.
1046 (as_assert): Remove.
1047 (signal_init): Declare.
1048 * as.c (main): Call signal_init.
1049 * messages.c: #include <signal.h>
1050 (as_assert): Delete.
1051 (as_abort): Allow NULL FILE.
1052 (signal_crash): New.
1053 (signal_init): Register fatal signal handlers.
1054 * configure.ac: Check for strsignal.
1055 * config.in: Rebuilt.
1056 * configure: Rebuilt.
1057
1058 2017-01-17 Nick Clifton <nickc@redhat.com>
1059
1060 * po/sv.po: Updated Swedish translation.
1061
1062 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1063
1064 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
1065 (cpu_noarch): Add noavx512_vpopcntdq.
1066 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
1067 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
1068 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
1069 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
1070 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
1071 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
1072 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
1073 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
1074
1075 2017-01-12 Nick Clifton <nickc@redhat.com>
1076
1077 * read.c (temp_ilp): New function. Installs a temporary input
1078 line pointer.
1079 (restore_ilp): New function. Restores the original input line
1080 pointer.
1081 * read.h (temp_ilp): Prototype.
1082 (restore_ilp): Prototype.
1083 * stabs.c (dot_func_p): Use bfd_boolean type.
1084 (generate_asm_file): Use temp_ilp and restore_ilp.
1085 (stabs_generate_asm_lineno): Likewise.
1086 (stabs_generate_asm_endfunc): Likewise.
1087
1088 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
1089
1090 * configure.tgt: Add entry for i386-redox.
1091
1092 2017-01-10 Nick Clifton <nickc@redhat.com>
1093
1094 * po/sv.po: Updated Swedish translation.
1095
1096 2017-01-10 Tristan Gingold <gingold@adacore.com>
1097
1098 * testsuite/gas/all/sleb128-8.d: Adjust test.
1099 * testsuite/gas/all/gas.exp (test_cond): Likewise.
1100
1101 2017-01-10 Tristan Gingold <gingold@adacore.com>
1102
1103 * read.c (emit_leb128_expr): Extended unsigned big number for
1104 sleb128.
1105 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
1106 * testsuite/gas/all/sleb128.d: New test.
1107 * testsuite/gas/all/sleb128.s: New test source.
1108
1109 2017-01-09 Andrew Waterman <andrew@sifive.com>
1110
1111 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1112 against constants.
1113 (md_apply_fix): Mark relocations against constants as "done."
1114
1115 2017-01-09 Andrew Waterman <andrew@sifive.com>
1116
1117 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1118 against constants.
1119 (md_apply_fix): Mark relocations against constants as "done."
1120
1121 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
1122 Kito Cheng <kito.cheng@gmail.com>
1123
1124 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
1125 Removed.
1126 (SDATA_START_SYMBOLS): Likewise.
1127
1128 2017-01-09 Nick Clifton <nickc@redhat.com>
1129
1130 * po/sv.po: New Swedish translation.
1131 * configure.ac (ALL_LINGUAS): Add sv.
1132 * configure: Regenerate.
1133
1134 2017-01-09 Andrew Waterman <andrew@sifive.com>
1135
1136 * config/tc-riscv.c (relaxed_branch_length): Use the long
1137 sequence when the target is a weak symbol.
1138
1139 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1140
1141 * config/tc-aarch64.c (aarch64_features): Add rcpc.
1142 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1143 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
1144 * testsuite/gas/aarch64/ldst-rcpc.d: This.
1145 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
1146 * testsuite/gas/aarch64/ldst-rcpc.s: This.
1147 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
1148
1149 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
1150
1151 PR gas/20992
1152 * configure.tgt: Treat sparcv9 as sparc64.
1153
1154 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
1155
1156 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
1157 extension.
1158 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
1159 enabled and no other ABI is specified.
1160
1161 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
1162
1163 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
1164 valueT, as declared in tc.h.
1165 (md_apply_fix): Fix to work on 32-bit hosts.
1166
1167 2017-01-02 Alan Modra <amodra@gmail.com>
1168
1169 Update year range in copyright notice of all files.
1170
1171 For older changes see ChangeLog-2016
1172 \f
1173 Copyright (C) 2017 Free Software Foundation, Inc.
1174
1175 Copying and distribution of this file, with or without modification,
1176 are permitted in any medium without royalty provided the copyright
1177 notice and this notice are preserved.
1178
1179 Local Variables:
1180 mode: change-log
1181 left-margin: 8
1182 fill-column: 74
1183 version-control: never
1184 End: