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