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