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