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