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