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