1 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
3 * NEWS: Mention support for ELF SHF_GNU_MBIND.
4 * config/obj-elf.c (section_match): New.
5 (get_section): Match both sh_info and group name.
6 (obj_elf_change_section): Add argument for sh_info. Pass both
7 sh_info and group name to get_section. Issue an error for
8 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
9 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
10 (obj_elf_section): Support SHF_GNU_MBIND section info.
11 * config/obj-elf.h (obj_elf_change_section): Add argument for
13 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
14 obj_elf_change_section.
15 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
16 * config/tc-microblaze.c (microblaze_s_data): Likewise.
17 (microblaze_s_sdata): Likewise.
18 (microblaze_s_rdata): Likewise.
19 (microblaze_s_bss): Likewise.
20 * config/tc-mips.c (s_change_section): Likewise.
21 * config/tc-msp430.c (msp430_profiler): Likewise.
22 * config/tc-rx.c (parse_rx_section): Likewise.
23 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
24 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
25 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
27 * testsuite/gas/elf/section10.d: Updated.
28 * testsuite/gas/elf/section10.s: Likewise.
29 * testsuite/gas/elf/section12.s: New file.
30 * testsuite/gas/elf/section12a.d: Likewise.
31 * testsuite/gas/elf/section12b.d: Likewise.
32 * testsuite/gas/elf/section13.l: Likewise.
33 * testsuite/gas/elf/section13.d: Likewise.
34 * testsuite/gas/elf/section13.s: Likewise.
36 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
38 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
41 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
43 * config/tc-riscv.c (riscv_clear_subsets): New function.
44 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
45 clear RVC when it's been previously set.
47 2017-03-31 Nick Clifton <nickc@redhat.com>
50 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
51 fixups in mergeable sections to be adjusted.
53 2017-03-30 Pip Cet <pipcet@gmail.com>
55 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
56 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
57 * Makefile.am: Add WebAssembly assembler target.
58 * configure.tgt: Add WebAssembly assembler target.
59 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
61 * doc/all.texi: Define WASM32.
62 * doc/as.texinfo: Add WebAssembly entries.
63 * NEWS: Mention the new support.
64 * Makefile.in: Regenerate.
65 * po/gas.pot: Regenerate.
66 * po/POTFILES.in: Regenerate.
67 * testsuite/gas/wasm32: New directory.
68 * testsuite/gas/wasm32/allinsn.d: New file.
69 * testsuite/gas/wasm32/allinsn.s: New file.
70 * testsuite/gas/wasm32/illegal.l: New file.
71 * testsuite/gas/wasm32/illegal.s: New file.
72 * testsuite/gas/wasm32/illegal-2.l: New file.
73 * testsuite/gas/wasm32/illegal-2.s: New file.
74 * testsuite/gas/wasm32/illegal-3.l: New file.
75 * testsuite/gas/wasm32/illegal-3.s: New file.
76 * testsuite/gas/wasm32/illegal-4.l: New file.
77 * testsuite/gas/wasm32/illegal-4.s: New file.
78 * testsuite/gas/wasm32/illegal-5.l: New file.
79 * testsuite/gas/wasm32/illegal-5.s: New file.
80 * testsuite/gas/wasm32/illegal-6.l: New file.
81 * testsuite/gas/wasm32/illegal-6.s: New file.
82 * testsuite/gas/wasm32/illegal-7.l: New file.
83 * testsuite/gas/wasm32/illegal-7.s: New file.
84 * testsuite/gas/wasm32/illegal-8.l: New file.
85 * testsuite/gas/wasm32/illegal-8.s: New file.
86 * testsuite/gas/wasm32/illegal-9.l: New file.
87 * testsuite/gas/wasm32/illegal-9.s: New file.
88 * testsuite/gas/wasm32/illegal-10.l: New file.
89 * testsuite/gas/wasm32/illegal-10.s: New file.
90 * testsuite/gas/wasm32/illegal-11.l: New file.
91 * testsuite/gas/wasm32/illegal-11.s: New file.
92 * testsuite/gas/wasm32/illegal-12.l: New file.
93 * testsuite/gas/wasm32/illegal-12.s: New file.
94 * testsuite/gas/wasm32/illegal-13.l: New file.
95 * testsuite/gas/wasm32/illegal-13.s: New file.
96 * testsuite/gas/wasm32/illegal-14.l: New file.
97 * testsuite/gas/wasm32/illegal-14.s: New file.
98 * testsuite/gas/wasm32/illegal-15.l: New file.
99 * testsuite/gas/wasm32/illegal-15.s: New file.
100 * testsuite/gas/wasm32/illegal-16.l: New file.
101 * testsuite/gas/wasm32/illegal-16.s: New file.
102 * testsuite/gas/wasm32/illegal-17.l: New file.
103 * testsuite/gas/wasm32/illegal-17.s: New file.
104 * testsuite/gas/wasm32/illegal-18.l: New file.
105 * testsuite/gas/wasm32/illegal-18.s: New file.
106 * testsuite/gas/wasm32/illegal-19.l: New file.
107 * testsuite/gas/wasm32/illegal-19.s: New file.
108 * testsuite/gas/wasm32/illegal-20.l: New file.
109 * testsuite/gas/wasm32/illegal-20.s: New file.
110 * testsuite/gas/wasm32/illegal-21.l: New file.
111 * testsuite/gas/wasm32/illegal-21.s: New file.
112 * testsuite/gas/wasm32/illegal-22.l: New file.
113 * testsuite/gas/wasm32/illegal-22.s: New file.
114 * testsuite/gas/wasm32/illegal-24.l: New file.
115 * testsuite/gas/wasm32/illegal-24.s: New file.
116 * testsuite/gas/wasm32/illegal-25.l: New file.
117 * testsuite/gas/wasm32/illegal-25.s: New file.
118 * testsuite/gas/wasm32/reloc.d: New file.
119 * testsuite/gas/wasm32/reloc.s: New file.
120 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
123 2017-03-29 Alan Modra <amodra@gmail.com>
125 * config/tc-ppc.c (md_parse_option): Reject -mraw.
127 2017-03-27 Alan Modra <amodra@gmail.com>
130 * testsuite/gas/ppc/pr21303.d,
131 * testsuite/gas/ppc/pr21303.s: New test
132 * testsuite/gas/ppc/ppc.exp: Run it.
134 2017-03-27 Rinat Zelig <rinat@mellanox.com>
136 * testsuite/gas/arc/nps400-12.s: New file.
137 * testsuite/gas/arc/nps400-12.d: New file.
139 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
141 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
142 CPU_DEFAULT is defined.
144 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
146 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
147 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
148 print an invalid default ISA string.
149 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
151 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
153 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
154 reassigned fixup to size of jump instruction (3) and fx_r_type
155 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
156 (add_jump_to_trampoline): Search
157 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
158 symbol and use that slot instead of slot 0.
160 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
162 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
163 from cpu_table. Remove vx2, and novx2 from cpu_flags.
165 2017-03-21 Rinat Zelig <rinat@mellanox.com>
167 * testsuite/gas/arc/nps400-11.s: New file.
168 * testsuite/gas/arc/nps400-11.d: New file.
170 2017-03-20 Nick Clifton <nickc@redhat.com>
172 * doc/as.texinfo (2byte): Note that if no expressions are present
173 the directive does nothing. Emphasize that the output is
174 unaligned, and that this can have an effect on the relocations
176 (4byte): Simplify description. Refer back to the 2byte
180 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
182 * config/tc-arm.c (arm_fpus): Note entires that should not be
184 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
185 neon-fp16. Fix spelling error.
187 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
189 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
191 2017-03-16 Rinat Zelig <rinat@mellanox.com>
193 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
196 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
198 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
199 encoding format, which can accept 0-valued immediates.
200 (riscv_ip): Likewise.
202 2017-03-15 Nick Clifton <nickc@redhat.com>
204 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
205 warning about discarding a const qualifier.
207 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
209 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
211 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
213 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
214 fx_next->fx_frag for CFA_advance_loc relocations.
216 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
218 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
221 2017-03-13 Nick Clifton <nickc@redhat.com>
224 * config/tc-aarch64.c (reloc_table): Rename
225 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
226 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
227 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
228 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
229 (md_apply_fix): Likewise.
230 (aarch64_force_relocation): Likewise.
231 * testsuite/gas/aarch64/tls.d: Update regexp.
233 2017-03-10 Tobin C. Harding <me@tobin.cc>
234 Nick Clifton <nickc@redhat.com>
236 * doc/as.texinfo (2byte): Tidy up wording. Add note that
237 overlarge values will produce a warning message and be trunacted.
240 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
242 * config/tc-i386.c (_i386_insn): Add dir_encoding and
243 vec_encoding. Remove swap_operand and need_vrex.
244 (extra_symbol_chars): Add '}'.
245 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
247 (build_vex_prefix): Don't use 2-byte VEX encoding with
248 {vex3}. Check dir_encoding and load.
249 (parse_insn): Check pseudo prefixes. Set dir_encoding.
250 (VEX_check_operands): Likewise.
251 (match_template): Check dir_encoding and load.
252 (parse_real_register): Set vec_encoding instead of need_vrex.
253 (parse_register): Likewise.
254 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
255 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
256 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
257 * testsuite/gas/i386/pseudos.d: New file.
258 * testsuite/gas/i386/pseudos.s: Likewise.
259 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
260 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
262 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
264 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
265 (objdump): Use the -Mpower8 option.
267 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
269 * testsuite/gas/ppc/power9.d <lnia> New test.
270 * testsuite/gas/ppc/power9.s: Likewise.
272 2017-03-07 Alan Modra <amodra@gmail.com>
274 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
276 2017-03-07 Tobin C. Harding <me@tobin.cc>
277 Alan Modra <amodra@gmail.com>
279 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
280 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
282 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
284 * config/tc-i386.c (cpu_arch): Add .cet.
285 * doc/c-i386.texi: Document cet.
286 * testsuite/gas/i386/cet-intel.d: New file.
287 * testsuite/gas/i386/cet.d: Likewise.
288 * testsuite/gas/i386/cet.s: Likewise.
289 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
290 * testsuite/gas/i386/x86-64-cet.d: Likewise.
291 * testsuite/gas/i386/x86-64-cet.s: Likewise.
292 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
294 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
296 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
297 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
299 2017-03-06 Alan Modra <amodra@gmail.com>
301 * dw2gencfi.c (encoding_size): Return unsigned int.
302 (emit_expr_encoded): Assert size matches reloc bitsize.
303 (output_fde): Use unsigned for offset_size and addr_size. Set
304 addr_size earlier and use in place of constant 4 and uses of
305 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
307 2017-03-06 Alan Modra <amodra@gmail.com>
309 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
310 auto reformat. Formatting and whitespace fixes.
312 2017-03-05 Mark Wielaard <mark@klomp.org>
314 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
315 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
316 (out_debug_info): Accept symbols to name, comp_dir and producer in
317 the .debug_str section and emit those offsets not full strings.
318 (out_debug_str): New function that outputs the strings for name,
319 comp_dir and producer in .debug_str and generates symbols to those
321 (out_debug_line): Create a .debug_str section if necessary and call
322 out_debug_str before calling out_debug_info.
323 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
326 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
328 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
329 part of the frag has overrun the location requested.
331 * testsuite/gas/all/org-1.d: New test.
332 * testsuite/gas/all/org-2.d: New test.
333 * testsuite/gas/all/org-3.d: New test.
334 * testsuite/gas/all/org-4.d: New test.
335 * testsuite/gas/all/org-5.d: New test.
336 * testsuite/gas/all/org-6.d: New test.
337 * testsuite/gas/all/org-1.l: New stderr output.
338 * testsuite/gas/all/org-2.l: New stderr output.
339 * testsuite/gas/all/org-3.l: New stderr output.
340 * testsuite/gas/all/org-1.s: New test source.
341 * testsuite/gas/all/org-2.s: New test source.
342 * testsuite/gas/all/org-3.s: New test source.
343 * testsuite/gas/all/org-4.s: New test source.
344 * testsuite/gas/all/org-5.s: New test source.
345 * testsuite/gas/all/org-6.s: New test source.
346 * testsuite/gas/all/gas.exp: Run the new tests.
348 * testsuite/gas/mips/org-1.d: New test.
349 * testsuite/gas/mips/org-2.d: New test.
350 * testsuite/gas/mips/org-3.d: New test.
351 * testsuite/gas/mips/org-4.d: New test.
352 * testsuite/gas/mips/org-5.d: New test.
353 * testsuite/gas/mips/org-6.d: New test.
354 * testsuite/gas/mips/org-7.d: New test.
355 * testsuite/gas/mips/org-8.d: New test.
356 * testsuite/gas/mips/org-9.d: New test.
357 * testsuite/gas/mips/org-10.d: New test.
358 * testsuite/gas/mips/org-11.d: New test.
359 * testsuite/gas/mips/org-12.d: New test.
360 * testsuite/gas/mips/org-1.l: New stderr output.
361 * testsuite/gas/mips/org-4.l: New stderr output.
362 * testsuite/gas/mips/org-5.l: New stderr output.
363 * testsuite/gas/mips/org-6.l: New stderr output.
364 * testsuite/gas/mips/org-10.l: New stderr output.
365 * testsuite/gas/mips/org-1.s: New test source.
366 * testsuite/gas/mips/org-2.s: New test source.
367 * testsuite/gas/mips/org-3.s: New test source.
368 * testsuite/gas/mips/org-4.s: New test source.
369 * testsuite/gas/mips/org-5.s: New test source.
370 * testsuite/gas/mips/org-6.s: New test source.
371 * testsuite/gas/mips/org-7.s: New test source.
372 * testsuite/gas/mips/org-8.s: New test source.
373 * testsuite/gas/mips/org-9.s: New test source.
374 * testsuite/gas/mips/org-10.s: New test source.
375 * testsuite/gas/mips/org-11.s: New test source.
376 * testsuite/gas/mips/org-12.s: New test source.
377 * testsuite/gas/mips/mips.exp: Run the new tests.
379 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
381 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
383 2017-02-28 Jan Beulich <jbeulich@suse.com>
385 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
387 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
388 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
390 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
391 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
392 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
393 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
394 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
395 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
396 * testsuite/gas/i386/x86-64-avx.d: Likewise.
397 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
398 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
399 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
401 2017-02-28 Alan Modra <amodra@gmail.com>
403 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
405 2017-02-28 Alan Modra <amodra@gmail.com>
407 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
408 (md_apply_fix): Remove fx_subsy check. Move code converting to
409 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
410 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
411 that is done now by the generic code via..
412 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
413 (TC_VALIDATE_FIX_SUB): Define.
415 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
417 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
418 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
420 * testsuite/gas/mips/jalr4-n64.d: Likewise.
421 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
422 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
423 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
425 2017-02-25 Alan Modra <amodra@gmail.com>
427 * testsuite/gas/elf/strtab.s: Don't put directives on first
428 column or continuation with labels not in first column.
430 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
432 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
433 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
434 to be used with SVE registers.
435 (parse_operands): Handle new SVE operands.
436 (aarch64_features): Make "sve" require F16 rather than FP. Also
438 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
439 Include compnum tests.
440 * testsuite/gas/aarch64/sve.d: Update accordingly.
441 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
442 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
443 update expected output for new FMOV and MOV alternatives.
445 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
447 * doc/c-aarch64.texi: Add a "compnum" entry.
448 * config/tc-aarch64.c (aarch64_features): Likewise,
449 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
450 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
452 2017-02-24 Jan Beulich <jbeulich@suse.com>
454 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
455 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
456 * testsuite/gas/i386/opcode.d: Adjust accordingly.
457 * testsuite/gas/i386/opcode-intel.d: Likewise.
458 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
459 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
461 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
463 Test cases for the architecture level aware SPARC ASI work.
464 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
465 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
466 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
467 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
468 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
470 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
472 * testsuite/gas/mips/jalr4.d: New test.
473 * testsuite/gas/mips/jalr4-n32.d: New test.
474 * testsuite/gas/mips/jalr4-n64.d: New test.
475 * testsuite/gas/mips/jalr4.s: New test source.
476 * testsuite/gas/mips/mips.exp: Run the new tests.
478 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
480 Add support for associating SPARC ASIs with an architecture level.
481 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
483 2017-02-23 Jan Beulich <jbeulich@suse.com>
485 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
486 of symbols as expression.
488 2017-02-23 Jan Beulich <jbeulich@suse.com>
490 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
491 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
492 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
493 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
495 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
497 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
498 `md_flush_pending_output'.
499 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
500 `md_flush_pending_output' unconditionally.
501 * testsuite/gas/mips/debug-label-end-1.d: New test.
502 * testsuite/gas/mips/debug-label-end-2.d: New test.
503 * testsuite/gas/mips/debug-label-end-3.d: New test.
504 * testsuite/gas/mips/debug-label-end.s: New test source.
505 * testsuite/gas/mips/mips.exp: Run the new tests.
507 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
509 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
510 targets yielding an error message matching "too complex".
512 2017-02-22 Nick Clifton <nickc@redhat.com>
514 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
516 2017-02-21 Jan Beulich <jbeulich@suse.com>
518 * expr.c (operand): Handle missing operand to .startof.() and
520 * testsuite/gas/all/err-sizeof.s: New.
522 2017-02-20 Alan Modra <amodra@gmail.com>
525 * NEWS: Revise powerpc register check.
526 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
527 register expression" a warning.
529 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
531 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
532 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
533 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
534 * testsuite/gas/mips/aent-2.d: New test.
535 * testsuite/gas/mips/aent-mdebug.d: New test.
536 * testsuite/gas/mips/aent-mdebug-2.d: New test.
537 * testsuite/gas/mips/mips.exp: Run the new tests.
539 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
541 * testsuite/gas/aarch64/sve-sysreg.s,
542 testsuite/gas/aarch64/sve-sysreg.d,
543 testsuite/gas/aarch64/sve-sysreg-invalid.d,
544 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
546 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
548 * doc/c-aarch64.texi: Fix sve entry.
550 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
552 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
553 information from input expression.
554 (assemble_insn): Make sure pcrel is correctly set.
555 (arc_pcrel_adjust): Compensate for PCL rounding.
556 * testsuite/gas/arc/relax-add01.d: New file.
557 * testsuite/gas/arc/relax-add01.s: Likewise.
558 * testsuite/gas/arc/relax-add02.d: Likewise.
559 * testsuite/gas/arc/relax-add02.s: Likewise.
560 * testsuite/gas/arc/relax-add03.d: Likewise.
561 * testsuite/gas/arc/relax-add03.s: Likewise.
562 * testsuite/gas/arc/relax-add04.d: Likewise.
563 * testsuite/gas/arc/relax-add04.s: Likewise.
564 * testsuite/gas/arc/relax-ld01.d: Likewise.
565 * testsuite/gas/arc/relax-ld01.s: Likewise.
566 * testsuite/gas/arc/relax-ld02.d: Likewise.
567 * testsuite/gas/arc/relax-ld02.s: Likewise.
568 * testsuite/gas/arc/relax-mov01.d: Likewise.
569 * testsuite/gas/arc/relax-mov01.s: Likewise.
570 * testsuite/gas/arc/relax-mov02.d: Likewise.
571 * testsuite/gas/arc/relax-mov02.s: Likewise.
572 * testsuite/gas/arc/relax-mpy01.d: Likewise.
573 * testsuite/gas/arc/relax-mpy01.s: Likewise.
574 * testsuite/gas/arc/relax-sub01.d: Likewise.
575 * testsuite/gas/arc/relax-sub01.s: Likewise.
576 * testsuite/gas/arc/relax-sub02.d: Likewise.
577 * testsuite/gas/arc/relax-sub02.s: Likewise.
578 * testsuite/gas/arc/relax-sub03.d: Likewise.
579 * testsuite/gas/arc/relax-sub03.s: Likewise.
580 * testsuite/gas/arc/relax-sub04.d: Likewise.
581 * testsuite/gas/arc/relax-sub04.s: Likewise.
583 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
585 * testsuite/gas/arc/st.d: Update for 0xe having a name now
587 2017-02-14 Alan Modra <amodra@gmail.com>
590 * NEWS: Mention powerpc register checks.
591 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
592 (pre_defined_registers): Delete fpscr and pmr entries. Set
593 register type in flags.
594 (cr_names): Set type in flags.
595 (reg_name_search): Return pointer to struct pd_reg rather than value.
596 (register_name): Adjust to suit. Set X_md from flags.
597 (ppc_parse_name): Likewise.
598 (ppc_optimize_expr): New function.
599 (md_assemble): Verify expresion reg flags match operand.
600 * config/tc-ppc.h (md_optimize_expr): Define.
601 (ppc_optimize_expr): Declare.
603 2017-02-14 Alan Modra <amodra@gmail.com>
605 * testsuite/gas/ppc/cell.s: Correct invalid registers.
606 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
607 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
609 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
611 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
613 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
614 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
616 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
618 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
620 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
622 * doc/as.texinfo (Overview): Select MIPS options for man page
625 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
627 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
628 (options): Add OPTION_IGNORE_BRANCH_ISA and
629 OPTION_NO_IGNORE_BRANCH_ISA enum values.
630 (md_longopts): Add "mignore-branch-isa" and
631 "mno-ignore-branch-isa" options.
632 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
633 OPTION_NO_IGNORE_BRANCH_ISA.
634 (fix_bad_cross_mode_branch_p): Return FALSE if
635 `mips_ignore_branch_isa' has been set.
636 (md_show_usage): Add `-mignore-branch-isa' and
637 `-mno-ignore-branch-isa'.
639 * doc/as.texinfo (Target MIPS options): Add
640 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
641 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
642 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
643 `-mno-ignore-branch-isa' options.
645 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
646 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
647 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
648 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
649 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
650 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
651 * testsuite/gas/mips/mips.exp: Run the new tests.
653 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
655 * testsuite/gas/mips/branch-local-2.d: New test.
656 * testsuite/gas/mips/branch-local-3.d: New test.
657 * testsuite/gas/mips/branch-local-n32-2.d: New test.
658 * testsuite/gas/mips/branch-local-n32-3.d: New test.
659 * testsuite/gas/mips/branch-local-n64-2.d: New test.
660 * testsuite/gas/mips/branch-local-n64-3.d: New test.
661 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
664 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
667 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
668 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
670 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
672 * configure.tgt (aarch64*-*-rtems*): Remove.
673 (bfin-*-rtems*): Likewise.
674 (h8300-*-rtems*): Likewise.
675 (i386-*-rtems*): Likewise.
676 (m32c-*-rtems*): Likewise.
677 (m32r-*-rtems*): Likewise.
678 (m68k-*-rtems*): Likewise.
679 (mips-*-rtems*): Likewise.
680 (nios2-*-rtems*): Likewise.
681 (ppc-*-rtems*): Likewise.
682 (sh-*-rtems*): Likewise.
683 (sparc64-*-rtems*): Likewise.
684 (sparc-*-rtems*): Likewise.
685 (*-*-rtems*) Use ELF format.
687 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
689 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
691 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
693 * configure.tgt (sh-*-rtemscoff*): Remove.
695 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
697 * configure.tgt (riscv*-*-*): Remove em=linux.
699 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
702 * asintl.h: Fix spelling mistakes and typos.
703 * atof-generic.c: Likewise.
704 * bit_fix.h: Likewise.
705 * config/atof-ieee.c: Likewise.
706 * config/bfin-defs.h: Likewise.
707 * config/bfin-parse.y: Likewise.
708 * config/obj-coff-seh.h: Likewise.
709 * config/obj-coff.c: Likewise.
710 * config/obj-evax.c: Likewise.
711 * config/obj-macho.c: Likewise.
712 * config/rx-parse.y: Likewise.
713 * config/tc-aarch64.c: Likewise.
714 * config/tc-alpha.c: Likewise.
715 * config/tc-arc.c: Likewise.
716 * config/tc-arm.c: Likewise.
717 * config/tc-avr.c: Likewise.
718 * config/tc-bfin.c: Likewise.
719 * config/tc-cr16.c: Likewise.
720 * config/tc-cris.c: Likewise.
721 * config/tc-crx.c: Likewise.
722 * config/tc-d10v.c: Likewise.
723 * config/tc-d30v.c: Likewise.
724 * config/tc-dlx.c: Likewise.
725 * config/tc-epiphany.c: Likewise.
726 * config/tc-frv.c: Likewise.
727 * config/tc-hppa.c: Likewise.
728 * config/tc-i370.c: Likewise.
729 * config/tc-i386-intel.c: Likewise.
730 * config/tc-i386.c: Likewise.
731 * config/tc-i960.c: Likewise.
732 * config/tc-ia64.c: Likewise.
733 * config/tc-m32r.c: Likewise.
734 * config/tc-m68hc11.c: Likewise.
735 * config/tc-m68k.c: Likewise.
736 * config/tc-mcore.c: Likewise.
737 * config/tc-mep.c: Likewise.
738 * config/tc-mep.h: Likewise.
739 * config/tc-metag.c: Likewise.
740 * config/tc-microblaze.c: Likewise.
741 * config/tc-mips.c: Likewise.
742 * config/tc-mmix.c: Likewise.
743 * config/tc-mn10200.c: Likewise.
744 * config/tc-mn10300.c: Likewise.
745 * config/tc-msp430.c: Likewise.
746 * config/tc-msp430.h: Likewise.
747 * config/tc-nds32.c: Likewise.
748 * config/tc-nds32.h: Likewise.
749 * config/tc-nios2.c: Likewise.
750 * config/tc-nios2.h: Likewise.
751 * config/tc-ns32k.c: Likewise.
752 * config/tc-pdp11.c: Likewise.
753 * config/tc-ppc.c: Likewise.
754 * config/tc-pru.c: Likewise.
755 * config/tc-rx.c: Likewise.
756 * config/tc-s390.c: Likewise.
757 * config/tc-score.c: Likewise.
758 * config/tc-score7.c: Likewise.
759 * config/tc-sh.c: Likewise.
760 * config/tc-sh64.c: Likewise.
761 * config/tc-sparc.c: Likewise.
762 * config/tc-tic4x.c: Likewise.
763 * config/tc-tic54x.c: Likewise.
764 * config/tc-v850.c: Likewise.
765 * config/tc-vax.c: Likewise.
766 * config/tc-visium.c: Likewise.
767 * config/tc-xgate.c: Likewise.
768 * config/tc-xtensa.c: Likewise.
769 * config/tc-z80.c: Likewise.
770 * config/tc-z8k.c: Likewise.
771 * config/te-vms.c: Likewise.
772 * config/xtensa-relax.c: Likewise.
773 * doc/as.texinfo: Likewise.
774 * doc/c-arm.texi: Likewise.
775 * doc/c-hppa.texi: Likewise.
776 * doc/c-i370.texi: Likewise.
777 * doc/c-i386.texi: Likewise.
778 * doc/c-m32r.texi: Likewise.
779 * doc/c-m68k.texi: Likewise.
780 * doc/c-mmix.texi: Likewise.
781 * doc/c-msp430.texi: Likewise.
782 * doc/c-nds32.texi: Likewise.
783 * doc/c-ns32k.texi: Likewise.
784 * doc/c-riscv.texi: Likewise.
785 * doc/c-rx.texi: Likewise.
786 * doc/c-s390.texi: Likewise.
787 * doc/c-tic6x.texi: Likewise.
788 * doc/c-tilegx.texi: Likewise.
789 * doc/c-tilepro.texi: Likewise.
790 * doc/c-v850.texi: Likewise.
791 * doc/c-xgate.texi: Likewise.
792 * doc/c-xtensa.texi: Likewise.
793 * dwarf2dbg.c: Likewise.
795 * itbl-ops.c: Likewise.
796 * listing.c: Likewise.
798 * po/gas.pot: Likewise.
800 * struc-symbol.h: Likewise.
801 * symbols.h: Likewise.
802 * testsuite/gas/arc/relocs-errors.err: Likewise.
805 2017-01-23 Nick Clifton <nickc@redhat.com>
807 * po/sv.po: Updated Swedish translation.
809 2017-01-20 Nick Clifton <nickc@redhat.com>
811 * config/tc-i386.c (parse_operands): Check for operand overflow
812 before setting the unspecified bit.
814 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
817 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
818 symbols, remove the `segtype' parameter.
819 (mips_frob_file, md_estimate_size_before_relax): Adjust
821 (s_is_linkonce): Add an explanatory comment.
822 * testsuite/gas/mips/comdat-reloc.d: New test.
823 * testsuite/gas/mips/comdat-reloc.s: New test source.
824 * testsuite/gas/mips/mips.exp: Run the new test.
826 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
828 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
829 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
831 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
834 * config/bfin-lex.l: Support processing with flex 2.6.3.
835 * itbl-lex.l: Likewise.
837 2017-01-18 Nathan Sidwell <nathan@acm.org>
839 * as.h (gas_assert): Use abort.
841 (signal_init): Declare.
842 * as.c (main): Call signal_init.
843 * messages.c: #include <signal.h>
845 (as_abort): Allow NULL FILE.
847 (signal_init): Register fatal signal handlers.
848 * configure.ac: Check for strsignal.
849 * config.in: Rebuilt.
850 * configure: Rebuilt.
852 2017-01-17 Nick Clifton <nickc@redhat.com>
854 * po/sv.po: Updated Swedish translation.
856 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
858 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
859 (cpu_noarch): Add noavx512_vpopcntdq.
860 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
861 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
862 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
863 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
864 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
865 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
866 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
867 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
869 2017-01-12 Nick Clifton <nickc@redhat.com>
871 * read.c (temp_ilp): New function. Installs a temporary input
873 (restore_ilp): New function. Restores the original input line
875 * read.h (temp_ilp): Prototype.
876 (restore_ilp): Prototype.
877 * stabs.c (dot_func_p): Use bfd_boolean type.
878 (generate_asm_file): Use temp_ilp and restore_ilp.
879 (stabs_generate_asm_lineno): Likewise.
880 (stabs_generate_asm_endfunc): Likewise.
882 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
884 * configure.tgt: Add entry for i386-redox.
886 2017-01-10 Nick Clifton <nickc@redhat.com>
888 * po/sv.po: Updated Swedish translation.
890 2017-01-10 Tristan Gingold <gingold@adacore.com>
892 * testsuite/gas/all/sleb128-8.d: Adjust test.
893 * testsuite/gas/all/gas.exp (test_cond): Likewise.
895 2017-01-10 Tristan Gingold <gingold@adacore.com>
897 * read.c (emit_leb128_expr): Extended unsigned big number for
899 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
900 * testsuite/gas/all/sleb128.d: New test.
901 * testsuite/gas/all/sleb128.s: New test source.
903 2017-01-09 Andrew Waterman <andrew@sifive.com>
905 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
907 (md_apply_fix): Mark relocations against constants as "done."
909 2017-01-09 Andrew Waterman <andrew@sifive.com>
911 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
913 (md_apply_fix): Mark relocations against constants as "done."
915 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
916 Kito Cheng <kito.cheng@gmail.com>
918 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
920 (SDATA_START_SYMBOLS): Likewise.
922 2017-01-09 Nick Clifton <nickc@redhat.com>
924 * po/sv.po: New Swedish translation.
925 * configure.ac (ALL_LINGUAS): Add sv.
926 * configure: Regenerate.
928 2017-01-09 Andrew Waterman <andrew@sifive.com>
930 * config/tc-riscv.c (relaxed_branch_length): Use the long
931 sequence when the target is a weak symbol.
933 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
935 * config/tc-aarch64.c (aarch64_features): Add rcpc.
936 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
937 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
938 * testsuite/gas/aarch64/ldst-rcpc.d: This.
939 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
940 * testsuite/gas/aarch64/ldst-rcpc.s: This.
941 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
943 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
946 * configure.tgt: Treat sparcv9 as sparc64.
948 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
950 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
952 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
953 enabled and no other ABI is specified.
955 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
957 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
958 valueT, as declared in tc.h.
959 (md_apply_fix): Fix to work on 32-bit hosts.
961 2017-01-02 Alan Modra <amodra@gmail.com>
963 Update year range in copyright notice of all files.
965 For older changes see ChangeLog-2016
967 Copyright (C) 2017 Free Software Foundation, Inc.
969 Copying and distribution of this file, with or without modification,
970 are permitted in any medium without royalty provided the copyright
971 notice and this notice are preserved.
977 version-control: never