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