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