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