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