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