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