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