x86: CET v2.0: Update incssp and setssbsy
[binutils-gdb.git] / gas / ChangeLog
1 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
2
3 * testsuite/gas/i386/cet-intel.d: Updated.
4 * testsuite/gas/i386/cet.d: Likewise.
5 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
6 * testsuite/gas/i386/x86-64-cet.d: Likewise.
7 * testsuite/gas/i386/cet.s: Update incsspd and setssbsy tests.
8 * testsuite/gas/i386/x86-64-cet.s: Likewise.
9
10 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
11
12 * testsuite/gas/i386/cet-intel.d: Updated.
13 * testsuite/gas/i386/cet.d: Likewise.
14 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
15 * testsuite/gas/i386/x86-64-cet.d: Likewise.
16 * testsuite/gas/i386/cet.s: Replace savessp with saveprevssp.
17 * testsuite/gas/i386/x86-64-cet.s: Likewise.
18
19 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
20
21 * config/tc-i386.c (md_assemble): Update NOTRACK prefix check.
22 * testsuite/gas/i386/notrack-intel.d: Updated.
23 * testsuite/gas/i386/notrack.d: Likewise.
24 * testsuite/gas/i386/notrackbad.l: Likewise.
25 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
26 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
27 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
28 * testsuite/gas/i386/notrack.s: Add NOTRACK prefix tests with
29 memory indirect branch.
30 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
31 * testsuite/gas/i386/notrackbad.s: Remove memory indirect branch
32 with NOTRACK prefix.
33 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
34
35 2017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
36
37 * config/tc-arm.c (arm_extensions): New duplicate idiv entry to enable
38 Thumb division for ARMv7 architecture.
39 (arm_parse_extension): Document expected behavior for duplicate
40 entries.
41 (s_arm_arch_extension): Likewise.
42 * testsuite/gas/arm/forbid-armv7-idiv-ext.d: New test.
43 * testsuite/gas/arm/forbid-armv7-idiv-ext.l: New expected output for
44 above test.
45
46 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
47
48 * config/tc-arm.c (aeabi_set_public_attributes): Populate flags from
49 feature bits used or selected_cpu depending on whether a CPU was
50 selected by the user.
51
52 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
53
54 * config/tc-arm.c (aeabi_set_public_attributes): Test *mcpu_ext_opt to
55 decide whether to set Tag_DSP_extension build attribute value. Remove
56 now useless arm_arch variable.
57
58 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
59
60 * config/tc-arm.c (dyn_mcpu_ext_opt): New static variable.
61 (dyn_march_ext_opt): Likewise.
62 (md_begin): Copy extension feature bits alongside architecture ones.
63 Merge extensions feature bits in selected_cpu and cpu_variant if there
64 is some.
65 (arm_parse_extension): Pass architecture and extension feature bits in
66 separate parameters, with architecture bits being read only. Update
67 **opt_p directly rather than *ext_set and initialize it if needed.
68 (arm_parse_cpu): Stop merging architecture and extension feature bits
69 and instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
70 respectively. Adapt to change in parameters of arm_parse_extension.
71 (arm_parse_arch): Adapt to change in parameters of arm_parse_extension.
72 (aeabi_set_attribute_string): Make function static.
73 (arm_md_post_relax): New function.
74 (s_arm_cpu): Stop merging architecture and extension feature bits and
75 instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
76 respectively. Merge extension feature bits in cpu_variant
77 if there is any.
78 (s_arm_arch): Reset extension feature bit. Set selected_cpu from
79 *mcpu_cpu_opt and cpu_variant from selected_cpu and *mfpu_opt for
80 consistency with s_arm_cpu.
81 (s_arm_arch_extension): Update *dyn_mcpu_ext_opt rather than
82 selected_cpu, allocating it before hand if needed. Set selected_cpu
83 from it and then cpu_variant.
84 (s_arm_fpu): Merge *mcpu_ext_opt feature bits if any in cpu_variant.
85 * config/tc-arm.h (md_post_relax_hook): Set to arm_md_post_relax.
86 (aeabi_set_public_attributes): Delete external declaration.
87 (arm_md_post_relax): Declare externally.
88
89 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
90
91 * config/tc-arm.c (struct arm_cpu_option_table): New ext field.
92 (ARM_CPU_OPT): Add parameter to set new ext field and reorder canonical
93 name field just after the name field.
94 (arm_cpus): Move extension feature bit from value field to ext field,
95 reorder parameter according to changes in ARM_CPU_OPT and reindent.
96 (arm_parse_cpu): Point mcpu_cpu_opt to a bitfield merging the value and
97 ext field from the selected arm_cpus entry.
98 (s_arm_cpu): Likewise.
99
100 2017-06-21 James Greenhalgh <james.greenhalgh@arm.com>
101
102 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75.
103 * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75.
104
105 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
106
107 PR binutils/21594
108 * testsuite/gas/i386/mpx.s: Add 2 tests with invalid bnd
109 register.
110 * testsuite/gas/i386/x86-64-mpx.s: Likewise.
111 * testsuite/gas/i386/mpx.d: Updated.
112 * testsuite/gas/i386/x86-64-mpx.d: Likewise.
113
114 2017-06-14 Max Filippov <jcmvbkbc@gmail.com>
115
116 * config/tc-xtensa.c (density_supported, xtensa_fetch_width,
117 absolute_literals_supported): Leave definitions uninitialized.
118 (directive_state): Leave entries for directive_density and
119 directive_absolute_literals initialized to false.
120 (xg_init_global_config, xtensa_init): New functions.
121 * config/tc-xtensa.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
122 (HOST_SPECIAL_INIT): New definition.
123 (xtensa_init): New declaration.
124
125 2017-06-07 Michael Collison <michael.collison@arm.com>
126
127 * config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
128 IP1, FP, and LR as register aliases of register 16, 17, 29
129 and 30 respectively.
130 * testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
131 prohibiting register 'lr' which is now an alias.
132 * testsuite/gas/aarch64/diagnostic.s: Remove instruction
133 utilizing register 'lr' which is now an alias.
134
135 2017-06-06 Jiong Wang <jiong.wang@arm.com>
136
137 * config/tc-arm.c (reject_bad_reg): Allow REG_SP on ARMv8-A.
138 (parse_operands): Allow REG_SP for OP_oRRnpcsp and OP_RRnpcsp on
139 ARMv8-A.
140 (do_co_reg): Allow REG_SP for Rd on ARMv8-A.
141 (do_t_add_sub): Likewise.
142 (do_t_mov_cmp): Likewise.
143 (do_t_tb): Likewise.
144 * testsuite/gas/arm/ld-sp-warn.l: Delete the warning on REG_SP as Rt for
145 ldrsb.
146 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: New test.
147 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: New test.
148 * testsuite/gas/arm/sp-pc-validations-bad-t.d: Specifies -march=armv7-a.
149 * testsuite/gas/arm/sp-pc-validations-bad-t.s: Remove ".arch armv7-a".
150 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d: New test.
151 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.l: New test.
152 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v8.d: New test.
153 * testsuite/gas/arm/sp-usage-thumb2-relax.s: New test.
154 * testsuite/gas/arm/strex-bad-t.d: Specifies -march=armv7-a.
155
156 2017-06-05 Jim Wilson <jim.wilson@linaro.org>
157
158 * config/tc-arm.c (arm_cpus): Delete falkor and qdf24xx entries.
159 * doc/c-arm.texi (-mcpu): Likewise.
160
161 2017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
162
163 * config/tc-arc.c (cpu_types): Include arc-cpu.def
164
165 2017-05-23 H.J. Lu <hongjiu.lu@intel.com>
166
167 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
168 targets.
169 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
170
171 2017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
172
173 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
174 (assemble_insn): Use as_bad.
175
176 2017-05-22 H.J. Lu <hongjiu.lu@intel.com>
177
178 * config/tc-i386.c (REX_PREFIX): Changed to 7.
179 (NOTRACK_PREFIX): New.
180 (MAX_PREFIXES): Changed to 8.
181 (_i386_insn): Add notrack_prefix.
182 (PREFIX_GROUP): Add PREFIX_DS.
183 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
184 (md_assemble): Check if NOTRACK prefix is supported.
185 (parse_insn): Set notrack_prefix and issue an error for
186 other prefixes after NOTRACK prefix.
187 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
188 * testsuite/gas/i386/notrack-intel.d: New file.
189 * testsuite/gas/i386/notrack.d: Likewise.
190 * testsuite/gas/i386/notrack.s: Likewise.
191 * testsuite/gas/i386/notrackbad.l: Likewise.
192 * testsuite/gas/i386/notrackbad.s: Likewise.
193 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
194 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
195 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
196 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
197 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
198
199 2017-05-22 Jiong Wang <jiong.wang@arm.com>
200
201 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
202 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
203 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
204 * configure: Regenerate.
205 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
206 (md_after_parse_args): New define.
207 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
208 AARCH64_ABI_NONE.
209 (DEFAULT_ARCH): New define.
210 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
211 (aarch64_after_parse_args): New function.
212
213 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
214
215 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
216 `v9m8' and `v8plusm8'.
217 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
218 (get_hwcap_name): Support the M8 hardware capabilities.
219 (sparc_ip): Handle new operand types.
220 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
221 -Asparc6, and the corresponding -xarch aliases.
222 * testsuite/gas/sparc/sparc6.s: New file.
223 * testsuite/gas/sparc/sparc6.d: Likewise.
224 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
225 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
226 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
227 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
228 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
229 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
230 * testsuite/gas/sparc/ldm-stm.s: Likewise.
231 * testsuite/gas/sparc/ldm-stm.d: Likewise.
232 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
233 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
234 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
235 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
236 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
237 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
238 * testsuite/gas/sparc/on.s: Likewise.
239 * testsuite/gas/sparc/on.d: Likewise.
240 * testsuite/gas/sparc/on-diag.s: Likewise.
241 * testsuite/gas/sparc/on-diag.l: Likewise.
242 * testsuite/gas/sparc/rle.s: Likewise.
243 * testsuite/gas/sparc/rle.d: Likewise.
244 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
245 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
246 * testsuite/gas/sparc/rdasr.d: Likewise.
247
248 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
249
250 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
251 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
252 run asi-bump-warn.
253
254 2017-05-19 Georg-Johann Lay <avr@gjlay.de>
255
256 PR ld/21472
257 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
258 attiny417, attiny816, attiny817.
259
260 2017-05-18 Alan Modra <amodra@gmail.com>
261
262 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
263 * config/tc-hppa.c: Likewise.
264 * config/tc-mips.c: Likewise.
265 * config/tc-score7.c: Likewise.
266
267 2017-05-16 Alan Modra <amodra@gmail.com>
268
269 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
270 (TC_FORCE_RELOCATION_LOCAL): Use it.
271 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
272 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
273 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
274 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
275 * config/tc-aarch64.h: Similarly.
276 * config/tc-avr.h: Similarly.
277 * config/tc-cris.h: Similarly.
278 * config/tc-i386.h: Similarly.
279 * config/tc-i960.h: Similarly.
280 * config/tc-ia64.h: Similarly.
281 * config/tc-microblaze.h: Similarly.
282 * config/tc-mips.h: Similarly.
283 * config/tc-msp430.h: Similarly.
284 * config/tc-nds32.h: Similarly.
285 * config/tc-pru.h: Similarly.
286 * config/tc-riscv.h: Similarly.
287 * config/tc-rl78.h: Similarly.
288 * config/tc-s390.h: Similarly.
289 * config/tc-sh.h: Similarly.
290 * config/tc-sh64.h: Similarly.
291 * config/tc-sparc.h: Similarly.
292 * config/tc-xtensa.h: Similarly.
293 * config/tc-mn10300.h: Similarly.
294 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
295 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
296 be addition to rather than replacement of standard
297 TC_FORCE_RELOCATION_LOCAL.
298
299 2017-05-15 Nick Clifton <nickc@redhat.com>
300
301 PR gas/21458
302 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
303 symbol, ensure that the T bit will be set.
304 (do_adrl): Likewise.
305 (do_t_adr): Likewise.
306 * testsuite/gas/arm/pr21458.s: New test.
307 * testsuite/gas/arm/pr21458.d: New test driver.
308
309 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
310
311 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
312 flags.
313 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
314 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
315 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
316 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
317 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
318 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
319 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
320 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
321 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
322 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
323 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
324 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
325 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
326 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
327 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
328 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
329 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
330 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
331 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
332 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
333 Likewise.
334 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
335 Likewise.
336 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
337 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
338 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
339 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
340 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
341 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
342 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
343 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
344 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
345 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
346 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
347 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
348 Likewise.
349 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
350 Likewise.
351 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
352 Likewise.
353 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
354 Likewise.
355 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
356 Likewise.
357 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
358 Likewise.
359 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
360 Likewise.
361 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
362 Likewise.
363 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
364 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
365 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
366 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
367 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
368 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
369 test.
370 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
371 test.
372 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
373 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
374 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
375 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
376 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
377 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
378 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
379 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
380 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
381 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
382 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
383 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
384 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
385 test.
386 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
387 test.
388 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
389 New test.
390 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
391 New test.
392 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
393 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
394 test.
395 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
396 test.
397 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
398 test.
399 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
400 test.
401 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
402 test.
403 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
404 test.
405 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
406 test.
407 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
408 test.
409 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
410 test.
411 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
412 test.
413 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
414 test.
415 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
416 New test.
417 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
418 New test.
419 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
420 New test.
421 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
422 New test.
423 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
424 New test.
425 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
426 New test.
427 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
428 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
429 preservation between MIPS16 and MIPS16e2 code.
430 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
431 all MIPS16 architectures.
432
433 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
434
435 * testsuite/gas/mips/mips16e2.d: New test.
436 * testsuite/gas/mips/mips16e2-mt.d: New test.
437 * testsuite/gas/mips/mips16e2-sub.d: New test.
438 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
439 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
440 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
441 * testsuite/gas/mips/mips16e2-hilo.d: New test.
442 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
443 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
444 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
445 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
446 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
447 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
448 * testsuite/gas/mips/mips16e2-lui.d: New test.
449 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
450 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
451 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
452 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
453 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
454 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
455 * testsuite/gas/mips/mips16e2.s: New test source.
456 * testsuite/gas/mips/mips16e2-mt.s: New test source.
457 * testsuite/gas/mips/mips16e2-sub.s: New test source.
458 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
459 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
460 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
461 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
462 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
463 * testsuite/gas/mips/mips16e2-lui.s: New test source.
464 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
465 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
466 architectures. Run the new tests.
467
468 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
469
470 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
471 `mips16e2@' prefix.
472 (run_list_test_arch): Likewise.
473 (mips16e2-32, mips16e2-64): New architectures.
474 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
475 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
476 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
477 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
478 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
479 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
480 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
481 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
482 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
483 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
484 tag. Add `-I$srcdir/$subdir' to `as' flags.
485 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
486 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
487 output.
488 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
489 output.
490 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
491 output.
492 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
493 output.
494 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
495 output.
496 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
497 * testsuite/gas/mips/mips16e-sub.s: Likewise.
498 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
499 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
500 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
501 source.
502 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
503 source.
504
505 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
506 Matthew Fortune <matthew.fortune@imgtec.com>
507 Andrew Bennett <andrew.bennett@imgtec.com>
508
509 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
510 (RELAX_MIPS16_E2): New macro.
511 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
512 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
513 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
514 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
515 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
516 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
517 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
518 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
519 (mips16_immed_extend): New prototype.
520 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
521 values.
522 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
523 (mips_ases): Add "mips16e2" entry.
524 (mips_set_ase): Handle MIPS16e2 ASE.
525 (insn_insert_operand): Explicitly handle immediates with MIPS16
526 instructions that require 32-bit encoding.
527 (is_opcode_valid_16): Pass enabled ASE bitmask on to
528 `opcode_is_member'.
529 (validate_mips_insn): Explicitly handle immediates with MIPS16
530 instructions that require 32-bit encoding.
531 (operand_reg_mask) <OP_REG28>: Add handler.
532 (match_reg28_operand): New function.
533 (match_operand) <OP_REG28>: Add handler.
534 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
535 (match_mips16_insn): Handle MIPS16 instructions that require
536 32-bit encoding and `V' and `u' operand codes.
537 (mips16_ip): Allow any characters except from `.' in opcodes.
538 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
539 immediates whose width is not one of these listed.
540 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
541 (mips_relax_frag): Likewise.
542 (md_convert_frag): Likewise.
543 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
544
545 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
546 `-mno-mips16e2' options.
547 (-mmips16e2, -mno-mips16e2): New options.
548 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
549 `-mno-mips16e2' options.
550 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
551 and `.set nomips16e2'.
552
553 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
554
555 * config/tc-mips.c (match_int_operand): Call
556 `match_out_of_range' before returning failure for 0x8000-0xffff
557 values conditionally allowed.
558
559 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
560
561 * config/tc-mips.c (match_int_operand): Call
562 `match_not_constant' before returning failure for a non-constant
563 16-bit immediate conditionally allowed.
564
565 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
566
567 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
568 rather than `match_not_constant' for unrelocated operands
569 retrieved as an `O_big' expression.
570 (match_int_operand): Call `match_out_of_range' for relocatable
571 operands retrieved as an `O_big' expression.
572 (match_mips16_insn): Call `match_out_of_range' for relaxable
573 operands retrieved as an `O_big' expression.
574 * testsuite/gas/mips/addiu-error.d: New test.
575 * testsuite/gas/mips/mips16@addiu-error.d: New test.
576 * testsuite/gas/mips/micromips@addiu-error.d: New test.
577 * testsuite/gas/mips/break-error.d: New test.
578 * testsuite/gas/mips/lui-1.l: Adjust error message.
579 * testsuite/gas/mips/addiu-error.l: New stderr output.
580 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
581 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
582 * testsuite/gas/mips/break-error.l: New stderr output.
583 * testsuite/gas/mips/addiu-error.s: New test source.
584 * testsuite/gas/mips/break-error.s: New test source.
585 * testsuite/gas/mips/mips.exp: Run the new tests.
586
587 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
588
589 * config/tc-mips.c (match_mips16_insn): Remove the explicit
590 OT_INTEGER check before the `match_expression' call.
591 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
592 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
593 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
594 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
595 * testsuite/gas/mips/mips16-reg-error.d: New test.
596 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
597 * testsuite/gas/mips/mips16-reg-error.s: New test source.
598 * testsuite/gas/mips/mips.exp: Run the new test.
599
600 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
601
602 * config/tc-mips.c (match_mips16_insn): Call
603 `match_not_constant' for a disallowed relocation operation.
604 * testsuite/gas/mips/mips16-reloc-error.d: New test.
605 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
606 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
607 * testsuite/gas/mips/mips.exp: Run the new test.
608
609 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
610
611 * testsuite/gas/mips/lui-1.d: New test.
612 * testsuite/gas/mips/lui-2.d: New test.
613 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
614 into the new tests.
615
616 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
617
618 * config/tc-mips.c (match_const_int): Update description.
619
620 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
621
622 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
623 mips16' rather than `.set mips16'.
624 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
625 `.module nomicromips' rather than `.set micromips' and `.set
626 nomicromips'.
627 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
628 rather than `.set smartmips'.
629 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
630 `.module micromips', `.module nomicromips' and `.module
631 smartmips' rather than `.set mips16', `.set micromips', `.set
632 nomicromips' and `.set smartmips' respectively.
633
634 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
635 Matthew Fortune <matthew.fortune@imgtec.com>
636
637 * config/tc-mips.c (mips_percent_op): Add "%gprel".
638 (mips16_percent_op): Add "%gp_rel".
639 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
640 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
641 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
642 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
643
644 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
645
646 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
647 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
648 * testsuite/gas/mips/mips16-64.d: Likewise.
649 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
650 * testsuite/gas/mips/mips16-macro.d: Likewise.
651 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
652 * testsuite/gas/mips/mips16-sub.d: Likewise.
653 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
654
655 2017-05-11 Maciej W. Rozycki <macro@imgtec.com>
656
657 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
658 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
659 * testsuite/gas/mips/mips.exp: Run the new tests.
660
661 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
662
663 * testsuite/gas/mips/isa-override-2.d: New test.
664 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
665 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
666 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
667 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
668 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
669 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
670 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
671 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
672 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
673 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
674 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
675 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
676 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
677 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
678 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
679 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
680 source.
681 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
682 source.
683 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
684 source.
685 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
686 source.
687 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
688 source.
689 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
690 source.
691 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
692 into the new tests.
693
694 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
695
696 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
697 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
698 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
699 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
700 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
701 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
702 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
703
704 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
705
706 * testsuite/gas/mips/mips16-macro.l: Remove list test.
707
708 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
709
710 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
711 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
712 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
713 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
714 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
715 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
716 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
717 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
718 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
719 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
720 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
721 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
722 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
723 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
724 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
725 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
726 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
727 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
728 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
729 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
730
731 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
732
733 * testsuite/gas/arc/attr-arc600.d: New file.
734 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
735 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
736 * testsuite/gas/arc/attr-arc601.d: Likewise.
737 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
738 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
739 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
740 * testsuite/gas/arc/attr-arc700.d: Likewise.
741 * testsuite/gas/arc/attr-arcem.d: Likewise.
742 * testsuite/gas/arc/attr-archs.d: Likewise.
743 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
744 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
745 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
746 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
747 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
748 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
749 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
750 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
751 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
752 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
753 * testsuite/gas/arc/attr-em.d: Likewise.
754 * testsuite/gas/arc/attr-em4.d: Likewise.
755 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
756 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
757 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
758 * testsuite/gas/arc/attr-hs.d: Likewise.
759 * testsuite/gas/arc/attr-hs34.d: Likewise.
760 * testsuite/gas/arc/attr-hs38.d: Likewise.
761 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
762 * testsuite/gas/arc/attr-mul64.d: Likewise.
763 * testsuite/gas/arc/attr-name.d: Likewise.
764 * testsuite/gas/arc/attr-name.s: Likewise.
765 * testsuite/gas/arc/attr-nps400.d: Likewise.
766 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
767 * testsuite/gas/arc/attr-override-mcpu.s
768 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
769 * testsuite/gas/arc/blank.s: Likewise.
770 * testsuite/gas/elf/section2.e-arc: Likewise.
771 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
772 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
773 * testsuite/gas/arc/nps400-0.d: Likewise.
774 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
775 * config/tc-arc.c (opcode/arc-attrs.h): Include.
776 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
777 (arc_attribute): Declare new function.
778 (md_pseudo_table): Add arc_attribute.
779 (cpu_types): Rename default cpu features.
780 (selected_cpu): Set the default OSABI flag.
781 (mpy_option): New variable.
782 (pic_option): Likewise.
783 (sda_option): Likewise.
784 (tls_option): Likewise.
785 (feature_type, feature_list): Remove.
786 (arc_initial_eflag): Likewise.
787 (attributes_set_explicitly): New variable.
788 (arc_check_feature): Check also for the conflicting features.
789 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
790 (arc_option): Remove setting of private flags and architecture.
791 (check_cpu_feature): Refactor feature names.
792 (autodetect_attributes): New function.
793 (assemble_tokens): Use above function.
794 (md_parse_option): Refactor feature names.
795 (arc_attribute): New function.
796 (arc_set_attribute_int): Likewise.
797 (arc_set_attribute_string): Likewise.
798 (arc_stralloc): Likewise.
799 (arc_set_public_attributes): Likewise.
800 (arc_md_end): Likewise.
801 (arc_copy_symbol_attributes): Likewise.
802 (rc_convert_symbolic_attribute): Likewise.
803 * config/tc-arc.h (md_end): Define.
804 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
805 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
806 * doc/c-arc.texi: Document ARC object attributes.
807
808 2017-05-03 Maciej W. Rozycki <macro@imgtec.com>
809
810 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
811 `nomacro' flags.
812 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
813 New macros.
814 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
815 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
816 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
817 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
818 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
819 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
820 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
821 (RELAX_MIPS16_CLEAR_MACRO): New macros.
822 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
823 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
824 (mips16_macro_frag): New function.
825 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
826 (mips_relax_frag): Likewise.
827 (md_convert_frag): Likewise.
828
829 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
830 add dump patterns.
831 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
832 subarchitecture.
833 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
834 NOP padding.
835 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
836 output, add dump patterns.
837 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
838 output, add dump patterns.
839 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
840 output, add dump patterns.
841 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
842 output, add dump patterns.
843 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
844 output, add dump patterns.
845 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
846 output, add dump patterns.
847 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
848 output, add dump patterns.
849 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
850 output, add dump patterns.
851 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
852 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
853 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
854 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
855 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
856 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
857 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
858 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
859 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
860 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
861
862 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
863 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
864 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
865 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
866 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
867 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
868 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
869 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
870 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
871 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
872 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
873 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
874 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
875 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
876 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
877 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
878 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
879 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
880 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
881 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
882 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
883 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
884 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
885 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
886 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
887 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
888 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
889 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
890 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
891 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
892 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
893 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
894 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
895 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
896 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
897 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
898 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
899 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
900 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
901 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
902 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
903 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
904 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
905 test.
906 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
907 test.
908 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
909 test.
910 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
911 test.
912 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
913 test.
914 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
915 test.
916 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
917 New test.
918 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
919 New test.
920 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
921 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
922 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
923 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
924 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
925 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
926 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
927 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
928 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
929 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
930 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
931 output.
932 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
933 output.
934 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
935 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
936 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
937 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
938 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
939 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
940 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
941 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
942 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
943 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
944 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
945 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
946 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
947 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
948 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
949 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
950 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
951 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
952 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
953 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
954 * testsuite/gas/mips/mips.exp: Run the new tests.
955
956 2017-05-03 Nick Clifton <nickc@redhat.com>
957
958 PR gas/20941
959 * symbols.c (snapshot_symbol): Handle the case where
960 resolve_expression returns a local symbol.
961
962 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
963
964 * config/tc-mips.c (append_insn): Call `symbol_append' for any
965 expression symbol created for MIPS16 relaxation.
966 (match_mips16_insn): Don't encode a constant value as an
967 immediate with a PC-relative operand.
968
969 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
970 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
971 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
972 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
973 test.
974 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
975 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
976 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
977 test.
978 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
979 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
980 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
981 test.
982 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
983 output.
984 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
985 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
986 source.
987 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
988 source.
989 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
990 source.
991 * testsuite/gas/mips/mips.exp: Run the new tests.
992
993 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
994
995 * config/tc-mips.c (mips16_pcrel_val): New function, factored
996 out from...
997 (mips16_extended_frag): ... here.
998 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
999 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
1000
1001 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
1002
1003 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
1004 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
1005 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
1006 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
1007 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
1008 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
1009 (mips16_extended_frag): Adjust accordingly.
1010
1011 2017-04-27 Alan Modra <amodra@gmail.com>
1012
1013 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
1014
1015 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
1016
1017 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
1018 (RELAX_PIC): New macro.
1019 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
1020 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
1021 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
1022 Shift bits.
1023 (RELAX_BRANCH_ENCODE): Add `pic' flag.
1024 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
1025 (RELAX_BRANCH_TOOFAR): Shift bits.
1026 (RELAX_BRANCH_PIC): New macro.
1027 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
1028 (RELAX_MICROMIPS_PIC): New macro.
1029 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1030 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
1031 (RELAX_MICROMIPS_RELAX32): Shift bits.
1032 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
1033 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
1034 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
1035 first fixup created.
1036 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
1037 fixup processed rather than `mips_pic' in choosing to relax an
1038 out of range branch to a jump.
1039 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
1040 rather than `mips_pic'.
1041 (relaxed_micromips_32bit_branch_length): Likewise.
1042 (md_estimate_size_before_relax): Likewise.
1043 (md_convert_frag): Likewise.
1044
1045 * testsuite/gas/mips/option-pic-relax-0.d: New test.
1046 * testsuite/gas/mips/option-pic-relax-1.d: New test.
1047 * testsuite/gas/mips/option-pic-relax-2.d: New test.
1048 * testsuite/gas/mips/option-pic-relax-3.d: New test.
1049 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
1050 * testsuite/gas/mips/option-pic-relax-4.d: New test.
1051 * testsuite/gas/mips/option-pic-relax-5.d: New test.
1052 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
1053 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
1054 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
1055 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
1056 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
1057 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
1058 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
1059 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
1060 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
1061 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
1062 * testsuite/gas/mips/mips.exp: Run the new tests.
1063
1064 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
1065
1066 * testsuite/gas/arc/leave_enter.d: Update test.
1067 * testsuite/gas/arc/leave_enter.s: Likewise.
1068
1069 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
1070
1071 * testsuite/gas/arc/b.d: Update test.
1072 * testsuite/gas/arc/noargs_hs.d: Likewise.
1073
1074 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
1075
1076 * config/tc-mips.c (md_convert_frag): Correct
1077 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
1078 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
1079 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
1080 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
1081 output.
1082 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
1083 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
1084 * testsuite/gas/mips/mips.exp: Run the new tests.
1085
1086 2017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
1087
1088 PR gas/21407
1089 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
1090 instructions into branch instructions in fixups generating
1091 additional relocations.
1092 * testsuite/gas/sparc/call-relax.s: New file.
1093 * testsuite/gas/sparc/call-relax.d: Likewise.
1094 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
1095 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
1096
1097 2017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1098
1099 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
1100 Forbid MOV.W and MOVW if destination is SP or PC.
1101 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
1102 expectation of LDR not generating a MOVS for low registers and small
1103 constants. Add tests of MOVW generation.
1104 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
1105 expected disassembly.
1106
1107 2017-04-22 Alan Modra <amodra@gmail.com>
1108
1109 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
1110 * testsuite/gas/ppc/vle.d: Update.
1111
1112 2017-04-21 Nick Clifton <nickc@redhat.com>
1113
1114 PR binutils/21380
1115 * testsuite/gas/aarch64/illegal-3.s: New file.
1116 * testsuite/gas/aarch64/illegal-3.d: New file.
1117
1118 2017-04-11 Alan Modra <amodra@gmail.com>
1119
1120 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
1121 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
1122
1123 2017-04-10 Max Filippov <jcmvbkbc@gmail.com>
1124
1125 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
1126 Initialize lps->frag_count with auto_litpool_limit.
1127 (xg_promote_candidate_litpool): New function.
1128 (xtensa_move_literals): Extract candidate litpool promotion code
1129 into separate function. Call it for all possible found
1130 candidates.
1131 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
1132 call to xtensa_mark_literal_pool_location that it guards.
1133 Replace it with call to xtensa_maybe_create_literal_pool_frag.
1134 Initialize pool_location with created literal pool candidate.
1135 * testsuite/gas/xtensa/all.exp: Add new tests.
1136 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
1137 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
1138 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
1139 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
1140 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
1141 to additional jump instruction.
1142
1143 2017-04-07 Alan Modra <amodra@gmail.com>
1144
1145 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
1146 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
1147
1148 2017-04-07 Alan Modra <amodra@gmail.com>
1149
1150 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
1151 for .mbind.text.
1152
1153 2017-04-06 Pip Cet <pipcet@gmail.com>
1154
1155 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
1156 changes.
1157 * testsuite/gas/wasm32/disass.d: New test.
1158 * testsuite/gas/wasm32/disass.s: New test.
1159 * testsuite/gas/wasm32/disass-2.d: New test.
1160 * testsuite/gas/wasm32/disass-2.s: New test.
1161 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
1162 names.
1163 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
1164 syntax.
1165 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
1166 test to succeed.
1167
1168 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
1169
1170 * NEWS: Mention support for ELF SHF_GNU_MBIND.
1171 * config/obj-elf.c (section_match): New.
1172 (get_section): Match both sh_info and group name.
1173 (obj_elf_change_section): Add argument for sh_info. Pass both
1174 sh_info and group name to get_section. Issue an error for
1175 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
1176 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
1177 (obj_elf_section): Support SHF_GNU_MBIND section info.
1178 * config/obj-elf.h (obj_elf_change_section): Add argument for
1179 sh_info.
1180 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
1181 obj_elf_change_section.
1182 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1183 * config/tc-microblaze.c (microblaze_s_data): Likewise.
1184 (microblaze_s_sdata): Likewise.
1185 (microblaze_s_rdata): Likewise.
1186 (microblaze_s_bss): Likewise.
1187 * config/tc-mips.c (s_change_section): Likewise.
1188 * config/tc-msp430.c (msp430_profiler): Likewise.
1189 * config/tc-rx.c (parse_rx_section): Likewise.
1190 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
1191 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
1192 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
1193 section13.
1194 * testsuite/gas/elf/section10.d: Updated.
1195 * testsuite/gas/elf/section10.s: Likewise.
1196 * testsuite/gas/elf/section12.s: New file.
1197 * testsuite/gas/elf/section12a.d: Likewise.
1198 * testsuite/gas/elf/section12b.d: Likewise.
1199 * testsuite/gas/elf/section13.l: Likewise.
1200 * testsuite/gas/elf/section13.d: Likewise.
1201 * testsuite/gas/elf/section13.s: Likewise.
1202
1203 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
1204
1205 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
1206 avoid const warnings.
1207
1208 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
1209
1210 * config/tc-riscv.c (riscv_clear_subsets): New function.
1211 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
1212 clear RVC when it's been previously set.
1213
1214 2017-03-31 Nick Clifton <nickc@redhat.com>
1215
1216 PR gas/21333
1217 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
1218 fixups in mergeable sections to be adjusted.
1219
1220 2017-03-30 Pip Cet <pipcet@gmail.com>
1221
1222 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
1223 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
1224 * Makefile.am: Add WebAssembly assembler target.
1225 * configure.tgt: Add WebAssembly assembler target.
1226 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
1227 assembler.
1228 * doc/all.texi: Define WASM32.
1229 * doc/as.texinfo: Add WebAssembly entries.
1230 * NEWS: Mention the new support.
1231 * Makefile.in: Regenerate.
1232 * po/gas.pot: Regenerate.
1233 * po/POTFILES.in: Regenerate.
1234 * testsuite/gas/wasm32: New directory.
1235 * testsuite/gas/wasm32/allinsn.d: New file.
1236 * testsuite/gas/wasm32/allinsn.s: New file.
1237 * testsuite/gas/wasm32/illegal.l: New file.
1238 * testsuite/gas/wasm32/illegal.s: New file.
1239 * testsuite/gas/wasm32/illegal-2.l: New file.
1240 * testsuite/gas/wasm32/illegal-2.s: New file.
1241 * testsuite/gas/wasm32/illegal-3.l: New file.
1242 * testsuite/gas/wasm32/illegal-3.s: New file.
1243 * testsuite/gas/wasm32/illegal-4.l: New file.
1244 * testsuite/gas/wasm32/illegal-4.s: New file.
1245 * testsuite/gas/wasm32/illegal-5.l: New file.
1246 * testsuite/gas/wasm32/illegal-5.s: New file.
1247 * testsuite/gas/wasm32/illegal-6.l: New file.
1248 * testsuite/gas/wasm32/illegal-6.s: New file.
1249 * testsuite/gas/wasm32/illegal-7.l: New file.
1250 * testsuite/gas/wasm32/illegal-7.s: New file.
1251 * testsuite/gas/wasm32/illegal-8.l: New file.
1252 * testsuite/gas/wasm32/illegal-8.s: New file.
1253 * testsuite/gas/wasm32/illegal-9.l: New file.
1254 * testsuite/gas/wasm32/illegal-9.s: New file.
1255 * testsuite/gas/wasm32/illegal-10.l: New file.
1256 * testsuite/gas/wasm32/illegal-10.s: New file.
1257 * testsuite/gas/wasm32/illegal-11.l: New file.
1258 * testsuite/gas/wasm32/illegal-11.s: New file.
1259 * testsuite/gas/wasm32/illegal-12.l: New file.
1260 * testsuite/gas/wasm32/illegal-12.s: New file.
1261 * testsuite/gas/wasm32/illegal-13.l: New file.
1262 * testsuite/gas/wasm32/illegal-13.s: New file.
1263 * testsuite/gas/wasm32/illegal-14.l: New file.
1264 * testsuite/gas/wasm32/illegal-14.s: New file.
1265 * testsuite/gas/wasm32/illegal-15.l: New file.
1266 * testsuite/gas/wasm32/illegal-15.s: New file.
1267 * testsuite/gas/wasm32/illegal-16.l: New file.
1268 * testsuite/gas/wasm32/illegal-16.s: New file.
1269 * testsuite/gas/wasm32/illegal-17.l: New file.
1270 * testsuite/gas/wasm32/illegal-17.s: New file.
1271 * testsuite/gas/wasm32/illegal-18.l: New file.
1272 * testsuite/gas/wasm32/illegal-18.s: New file.
1273 * testsuite/gas/wasm32/illegal-19.l: New file.
1274 * testsuite/gas/wasm32/illegal-19.s: New file.
1275 * testsuite/gas/wasm32/illegal-20.l: New file.
1276 * testsuite/gas/wasm32/illegal-20.s: New file.
1277 * testsuite/gas/wasm32/illegal-21.l: New file.
1278 * testsuite/gas/wasm32/illegal-21.s: New file.
1279 * testsuite/gas/wasm32/illegal-22.l: New file.
1280 * testsuite/gas/wasm32/illegal-22.s: New file.
1281 * testsuite/gas/wasm32/illegal-24.l: New file.
1282 * testsuite/gas/wasm32/illegal-24.s: New file.
1283 * testsuite/gas/wasm32/illegal-25.l: New file.
1284 * testsuite/gas/wasm32/illegal-25.s: New file.
1285 * testsuite/gas/wasm32/reloc.d: New file.
1286 * testsuite/gas/wasm32/reloc.s: New file.
1287 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
1288 architecture.
1289
1290 2017-03-29 Alan Modra <amodra@gmail.com>
1291
1292 * config/tc-ppc.c (md_parse_option): Reject -mraw.
1293
1294 2017-03-27 Alan Modra <amodra@gmail.com>
1295
1296 PR 21303
1297 * testsuite/gas/ppc/pr21303.d,
1298 * testsuite/gas/ppc/pr21303.s: New test
1299 * testsuite/gas/ppc/ppc.exp: Run it.
1300
1301 2017-03-27 Rinat Zelig <rinat@mellanox.com>
1302
1303 * testsuite/gas/arc/nps400-12.s: New file.
1304 * testsuite/gas/arc/nps400-12.d: New file.
1305
1306 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
1307
1308 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
1309 CPU_DEFAULT is defined.
1310
1311 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
1312
1313 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
1314 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
1315 print an invalid default ISA string.
1316 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
1317
1318 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
1319
1320 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
1321 reassigned fixup to size of jump instruction (3) and fx_r_type
1322 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
1323 (add_jump_to_trampoline): Search
1324 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
1325 symbol and use that slot instead of slot 0.
1326
1327 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1328
1329 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
1330 from cpu_table. Remove vx2, and novx2 from cpu_flags.
1331
1332 2017-03-21 Rinat Zelig <rinat@mellanox.com>
1333
1334 * testsuite/gas/arc/nps400-11.s: New file.
1335 * testsuite/gas/arc/nps400-11.d: New file.
1336
1337 2017-03-20 Nick Clifton <nickc@redhat.com>
1338
1339 * doc/as.texinfo (2byte): Note that if no expressions are present
1340 the directive does nothing. Emphasize that the output is
1341 unaligned, and that this can have an effect on the relocations
1342 generated.
1343 (4byte): Simplify description. Refer back to the 2byte
1344 description.
1345 (8byte): Likewise.
1346
1347 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
1348
1349 * config/tc-arm.c (arm_fpus): Note entires that should not be
1350 documented.
1351 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
1352 neon-fp16. Fix spelling error.
1353
1354 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
1355
1356 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
1357
1358 2017-03-16 Rinat Zelig <rinat@mellanox.com>
1359
1360 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
1361 specially for ARCv2.
1362
1363 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
1364
1365 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
1366 encoding format, which can accept 0-valued immediates.
1367 (riscv_ip): Likewise.
1368
1369 2017-03-15 Nick Clifton <nickc@redhat.com>
1370
1371 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
1372 warning about discarding a const qualifier.
1373
1374 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1375
1376 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
1377
1378 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1379
1380 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
1381 fx_next->fx_frag for CFA_advance_loc relocations.
1382
1383 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1384
1385 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
1386 for CFA relocations.
1387
1388 2017-03-13 Nick Clifton <nickc@redhat.com>
1389
1390 PR binutils/21202
1391 * config/tc-aarch64.c (reloc_table): Rename
1392 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
1393 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
1394 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
1395 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
1396 (md_apply_fix): Likewise.
1397 (aarch64_force_relocation): Likewise.
1398 * testsuite/gas/aarch64/tls.d: Update regexp.
1399
1400 2017-03-10 Tobin C. Harding <me@tobin.cc>
1401 Nick Clifton <nickc@redhat.com>
1402
1403 * doc/as.texinfo (2byte): Tidy up wording. Add note that
1404 overlarge values will produce a warning message and be trunacted.
1405 (4byte): Likewise.
1406
1407 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
1408
1409 * config/tc-i386.c (_i386_insn): Add dir_encoding and
1410 vec_encoding. Remove swap_operand and need_vrex.
1411 (extra_symbol_chars): Add '}'.
1412 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
1413 mnemonic.
1414 (build_vex_prefix): Don't use 2-byte VEX encoding with
1415 {vex3}. Check dir_encoding and load.
1416 (parse_insn): Check pseudo prefixes. Set dir_encoding.
1417 (VEX_check_operands): Likewise.
1418 (match_template): Check dir_encoding and load.
1419 (parse_real_register): Set vec_encoding instead of need_vrex.
1420 (parse_register): Likewise.
1421 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
1422 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
1423 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
1424 * testsuite/gas/i386/pseudos.d: New file.
1425 * testsuite/gas/i386/pseudos.s: Likewise.
1426 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1427 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
1428
1429 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1430
1431 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
1432 (objdump): Use the -Mpower8 option.
1433
1434 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1435
1436 * testsuite/gas/ppc/power9.d <lnia> New test.
1437 * testsuite/gas/ppc/power9.s: Likewise.
1438
1439 2017-03-07 Alan Modra <amodra@gmail.com>
1440
1441 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
1442
1443 2017-03-07 Tobin C. Harding <me@tobin.cc>
1444 Alan Modra <amodra@gmail.com>
1445
1446 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
1447 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
1448
1449 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1450
1451 * config/tc-i386.c (cpu_arch): Add .cet.
1452 * doc/c-i386.texi: Document cet.
1453 * testsuite/gas/i386/cet-intel.d: New file.
1454 * testsuite/gas/i386/cet.d: Likewise.
1455 * testsuite/gas/i386/cet.s: Likewise.
1456 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1457 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1458 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1459 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
1460
1461 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
1464 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
1465
1466 2017-03-06 Alan Modra <amodra@gmail.com>
1467
1468 * dw2gencfi.c (encoding_size): Return unsigned int.
1469 (emit_expr_encoded): Assert size matches reloc bitsize.
1470 (output_fde): Use unsigned for offset_size and addr_size. Set
1471 addr_size earlier and use in place of constant 4 and uses of
1472 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
1473
1474 2017-03-06 Alan Modra <amodra@gmail.com>
1475
1476 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
1477 auto reformat. Formatting and whitespace fixes.
1478
1479 2017-03-05 Mark Wielaard <mark@klomp.org>
1480
1481 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
1482 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
1483 (out_debug_info): Accept symbols to name, comp_dir and producer in
1484 the .debug_str section and emit those offsets not full strings.
1485 (out_debug_str): New function that outputs the strings for name,
1486 comp_dir and producer in .debug_str and generates symbols to those
1487 strings.
1488 (out_debug_line): Create a .debug_str section if necessary and call
1489 out_debug_str before calling out_debug_info.
1490 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
1491 output.
1492
1493 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
1494
1495 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
1496 part of the frag has overrun the location requested.
1497
1498 * testsuite/gas/all/org-1.d: New test.
1499 * testsuite/gas/all/org-2.d: New test.
1500 * testsuite/gas/all/org-3.d: New test.
1501 * testsuite/gas/all/org-4.d: New test.
1502 * testsuite/gas/all/org-5.d: New test.
1503 * testsuite/gas/all/org-6.d: New test.
1504 * testsuite/gas/all/org-1.l: New stderr output.
1505 * testsuite/gas/all/org-2.l: New stderr output.
1506 * testsuite/gas/all/org-3.l: New stderr output.
1507 * testsuite/gas/all/org-1.s: New test source.
1508 * testsuite/gas/all/org-2.s: New test source.
1509 * testsuite/gas/all/org-3.s: New test source.
1510 * testsuite/gas/all/org-4.s: New test source.
1511 * testsuite/gas/all/org-5.s: New test source.
1512 * testsuite/gas/all/org-6.s: New test source.
1513 * testsuite/gas/all/gas.exp: Run the new tests.
1514
1515 * testsuite/gas/mips/org-1.d: New test.
1516 * testsuite/gas/mips/org-2.d: New test.
1517 * testsuite/gas/mips/org-3.d: New test.
1518 * testsuite/gas/mips/org-4.d: New test.
1519 * testsuite/gas/mips/org-5.d: New test.
1520 * testsuite/gas/mips/org-6.d: New test.
1521 * testsuite/gas/mips/org-7.d: New test.
1522 * testsuite/gas/mips/org-8.d: New test.
1523 * testsuite/gas/mips/org-9.d: New test.
1524 * testsuite/gas/mips/org-10.d: New test.
1525 * testsuite/gas/mips/org-11.d: New test.
1526 * testsuite/gas/mips/org-12.d: New test.
1527 * testsuite/gas/mips/org-1.l: New stderr output.
1528 * testsuite/gas/mips/org-4.l: New stderr output.
1529 * testsuite/gas/mips/org-5.l: New stderr output.
1530 * testsuite/gas/mips/org-6.l: New stderr output.
1531 * testsuite/gas/mips/org-10.l: New stderr output.
1532 * testsuite/gas/mips/org-1.s: New test source.
1533 * testsuite/gas/mips/org-2.s: New test source.
1534 * testsuite/gas/mips/org-3.s: New test source.
1535 * testsuite/gas/mips/org-4.s: New test source.
1536 * testsuite/gas/mips/org-5.s: New test source.
1537 * testsuite/gas/mips/org-6.s: New test source.
1538 * testsuite/gas/mips/org-7.s: New test source.
1539 * testsuite/gas/mips/org-8.s: New test source.
1540 * testsuite/gas/mips/org-9.s: New test source.
1541 * testsuite/gas/mips/org-10.s: New test source.
1542 * testsuite/gas/mips/org-11.s: New test source.
1543 * testsuite/gas/mips/org-12.s: New test source.
1544 * testsuite/gas/mips/mips.exp: Run the new tests.
1545
1546 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1547
1548 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1549
1550 2017-02-28 Jan Beulich <jbeulich@suse.com>
1551
1552 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
1553 VPCMPESTR{I,M}.
1554 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
1555 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
1556 of PCMPESTR{I,M}.
1557 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
1558 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
1559 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
1560 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
1561 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
1562 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
1563 * testsuite/gas/i386/x86-64-avx.d: Likewise.
1564 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
1565 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
1566 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
1567
1568 2017-02-28 Alan Modra <amodra@gmail.com>
1569
1570 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1571
1572 2017-02-28 Alan Modra <amodra@gmail.com>
1573
1574 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
1575 (md_apply_fix): Remove fx_subsy check. Move code converting to
1576 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
1577 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
1578 that is done now by the generic code via..
1579 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
1580 (TC_VALIDATE_FIX_SUB): Define.
1581
1582 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1583
1584 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
1585 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
1586 encoding patterns.
1587 * testsuite/gas/mips/jalr4-n64.d: Likewise.
1588 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
1589 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
1590 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
1591
1592 2017-02-25 Alan Modra <amodra@gmail.com>
1593
1594 * testsuite/gas/elf/strtab.s: Don't put directives on first
1595 column or continuation with labels not in first column.
1596
1597 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1598
1599 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
1600 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
1601 to be used with SVE registers.
1602 (parse_operands): Handle new SVE operands.
1603 (aarch64_features): Make "sve" require F16 rather than FP. Also
1604 require COMPNUM.
1605 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
1606 Include compnum tests.
1607 * testsuite/gas/aarch64/sve.d: Update accordingly.
1608 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
1609 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
1610 update expected output for new FMOV and MOV alternatives.
1611
1612 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1613
1614 * doc/c-aarch64.texi: Add a "compnum" entry.
1615 * config/tc-aarch64.c (aarch64_features): Likewise,
1616 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
1617 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
1618
1619 2017-02-24 Jan Beulich <jbeulich@suse.com>
1620
1621 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
1622 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
1623 * testsuite/gas/i386/opcode.d: Adjust accordingly.
1624 * testsuite/gas/i386/opcode-intel.d: Likewise.
1625 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
1626 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
1627
1628 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
1629
1630 Test cases for the architecture level aware SPARC ASI work.
1631 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
1632 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
1633 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
1634 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
1635 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
1636
1637 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1638
1639 * testsuite/gas/mips/jalr4.d: New test.
1640 * testsuite/gas/mips/jalr4-n32.d: New test.
1641 * testsuite/gas/mips/jalr4-n64.d: New test.
1642 * testsuite/gas/mips/jalr4.s: New test source.
1643 * testsuite/gas/mips/mips.exp: Run the new tests.
1644
1645 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
1646
1647 Add support for associating SPARC ASIs with an architecture level.
1648 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
1649
1650 2017-02-23 Jan Beulich <jbeulich@suse.com>
1651
1652 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
1653 of symbols as expression.
1654
1655 2017-02-23 Jan Beulich <jbeulich@suse.com>
1656
1657 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
1658 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
1659 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
1660 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
1661
1662 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1663
1664 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
1665 `md_flush_pending_output'.
1666 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
1667 `md_flush_pending_output' unconditionally.
1668 * testsuite/gas/mips/debug-label-end-1.d: New test.
1669 * testsuite/gas/mips/debug-label-end-2.d: New test.
1670 * testsuite/gas/mips/debug-label-end-3.d: New test.
1671 * testsuite/gas/mips/debug-label-end.s: New test source.
1672 * testsuite/gas/mips/mips.exp: Run the new tests.
1673
1674 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
1675
1676 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
1677 targets yielding an error message matching "too complex".
1678
1679 2017-02-22 Nick Clifton <nickc@redhat.com>
1680
1681 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
1682
1683 2017-02-21 Jan Beulich <jbeulich@suse.com>
1684
1685 * expr.c (operand): Handle missing operand to .startof.() and
1686 .sizeof.().
1687 * testsuite/gas/all/err-sizeof.s: New.
1688
1689 2017-02-20 Alan Modra <amodra@gmail.com>
1690
1691 PR 21118
1692 * NEWS: Revise powerpc register check.
1693 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
1694 register expression" a warning.
1695
1696 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
1697
1698 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
1699 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
1700 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
1701 * testsuite/gas/mips/aent-2.d: New test.
1702 * testsuite/gas/mips/aent-mdebug.d: New test.
1703 * testsuite/gas/mips/aent-mdebug-2.d: New test.
1704 * testsuite/gas/mips/mips.exp: Run the new tests.
1705
1706 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1707
1708 * testsuite/gas/aarch64/sve-sysreg.s,
1709 testsuite/gas/aarch64/sve-sysreg.d,
1710 testsuite/gas/aarch64/sve-sysreg-invalid.d,
1711 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
1712
1713 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1714
1715 * doc/c-aarch64.texi: Fix sve entry.
1716
1717 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
1718
1719 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
1720 information from input expression.
1721 (assemble_insn): Make sure pcrel is correctly set.
1722 (arc_pcrel_adjust): Compensate for PCL rounding.
1723 * testsuite/gas/arc/relax-add01.d: New file.
1724 * testsuite/gas/arc/relax-add01.s: Likewise.
1725 * testsuite/gas/arc/relax-add02.d: Likewise.
1726 * testsuite/gas/arc/relax-add02.s: Likewise.
1727 * testsuite/gas/arc/relax-add03.d: Likewise.
1728 * testsuite/gas/arc/relax-add03.s: Likewise.
1729 * testsuite/gas/arc/relax-add04.d: Likewise.
1730 * testsuite/gas/arc/relax-add04.s: Likewise.
1731 * testsuite/gas/arc/relax-ld01.d: Likewise.
1732 * testsuite/gas/arc/relax-ld01.s: Likewise.
1733 * testsuite/gas/arc/relax-ld02.d: Likewise.
1734 * testsuite/gas/arc/relax-ld02.s: Likewise.
1735 * testsuite/gas/arc/relax-mov01.d: Likewise.
1736 * testsuite/gas/arc/relax-mov01.s: Likewise.
1737 * testsuite/gas/arc/relax-mov02.d: Likewise.
1738 * testsuite/gas/arc/relax-mov02.s: Likewise.
1739 * testsuite/gas/arc/relax-mpy01.d: Likewise.
1740 * testsuite/gas/arc/relax-mpy01.s: Likewise.
1741 * testsuite/gas/arc/relax-sub01.d: Likewise.
1742 * testsuite/gas/arc/relax-sub01.s: Likewise.
1743 * testsuite/gas/arc/relax-sub02.d: Likewise.
1744 * testsuite/gas/arc/relax-sub02.s: Likewise.
1745 * testsuite/gas/arc/relax-sub03.d: Likewise.
1746 * testsuite/gas/arc/relax-sub03.s: Likewise.
1747 * testsuite/gas/arc/relax-sub04.d: Likewise.
1748 * testsuite/gas/arc/relax-sub04.s: Likewise.
1749
1750 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
1751
1752 * testsuite/gas/arc/st.d: Update for 0xe having a name now
1753
1754 2017-02-14 Alan Modra <amodra@gmail.com>
1755
1756 PR 21118
1757 * NEWS: Mention powerpc register checks.
1758 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
1759 (pre_defined_registers): Delete fpscr and pmr entries. Set
1760 register type in flags.
1761 (cr_names): Set type in flags.
1762 (reg_name_search): Return pointer to struct pd_reg rather than value.
1763 (register_name): Adjust to suit. Set X_md from flags.
1764 (ppc_parse_name): Likewise.
1765 (ppc_optimize_expr): New function.
1766 (md_assemble): Verify expresion reg flags match operand.
1767 * config/tc-ppc.h (md_optimize_expr): Define.
1768 (ppc_optimize_expr): Declare.
1769
1770 2017-02-14 Alan Modra <amodra@gmail.com>
1771
1772 * testsuite/gas/ppc/cell.s: Correct invalid registers.
1773 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
1774 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
1775
1776 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1777
1778 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
1779 syntax.
1780 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
1781 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
1782
1783 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
1784
1785 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
1786
1787 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1788
1789 * doc/as.texinfo (Overview): Select MIPS options for man page
1790 inclusion.
1791
1792 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1793
1794 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
1795 (options): Add OPTION_IGNORE_BRANCH_ISA and
1796 OPTION_NO_IGNORE_BRANCH_ISA enum values.
1797 (md_longopts): Add "mignore-branch-isa" and
1798 "mno-ignore-branch-isa" options.
1799 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
1800 OPTION_NO_IGNORE_BRANCH_ISA.
1801 (fix_bad_cross_mode_branch_p): Return FALSE if
1802 `mips_ignore_branch_isa' has been set.
1803 (md_show_usage): Add `-mignore-branch-isa' and
1804 `-mno-ignore-branch-isa'.
1805
1806 * doc/as.texinfo (Target MIPS options): Add
1807 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
1808 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
1809 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
1810 `-mno-ignore-branch-isa' options.
1811
1812 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
1813 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
1814 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
1815 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
1816 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
1817 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
1818 * testsuite/gas/mips/mips.exp: Run the new tests.
1819
1820 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1821
1822 * testsuite/gas/mips/branch-local-2.d: New test.
1823 * testsuite/gas/mips/branch-local-3.d: New test.
1824 * testsuite/gas/mips/branch-local-n32-2.d: New test.
1825 * testsuite/gas/mips/branch-local-n32-3.d: New test.
1826 * testsuite/gas/mips/branch-local-n64-2.d: New test.
1827 * testsuite/gas/mips/branch-local-n64-3.d: New test.
1828 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
1829 into the new tests.
1830
1831 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
1832
1833 PR 21056
1834 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
1835 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
1836
1837 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1838
1839 * configure.tgt (aarch64*-*-rtems*): Remove.
1840 (bfin-*-rtems*): Likewise.
1841 (h8300-*-rtems*): Likewise.
1842 (i386-*-rtems*): Likewise.
1843 (m32c-*-rtems*): Likewise.
1844 (m32r-*-rtems*): Likewise.
1845 (m68k-*-rtems*): Likewise.
1846 (mips-*-rtems*): Likewise.
1847 (nios2-*-rtems*): Likewise.
1848 (ppc-*-rtems*): Likewise.
1849 (sh-*-rtems*): Likewise.
1850 (sparc64-*-rtems*): Likewise.
1851 (sparc-*-rtems*): Likewise.
1852 (*-*-rtems*) Use ELF format.
1853
1854 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1855
1856 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
1857
1858 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1859
1860 * configure.tgt (sh-*-rtemscoff*): Remove.
1861
1862 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
1863
1864 * configure.tgt (riscv*-*-*): Remove em=linux.
1865
1866 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
1867
1868 PR gas/21072
1869 * asintl.h: Fix spelling mistakes and typos.
1870 * atof-generic.c: Likewise.
1871 * bit_fix.h: Likewise.
1872 * config/atof-ieee.c: Likewise.
1873 * config/bfin-defs.h: Likewise.
1874 * config/bfin-parse.y: Likewise.
1875 * config/obj-coff-seh.h: Likewise.
1876 * config/obj-coff.c: Likewise.
1877 * config/obj-evax.c: Likewise.
1878 * config/obj-macho.c: Likewise.
1879 * config/rx-parse.y: Likewise.
1880 * config/tc-aarch64.c: Likewise.
1881 * config/tc-alpha.c: Likewise.
1882 * config/tc-arc.c: Likewise.
1883 * config/tc-arm.c: Likewise.
1884 * config/tc-avr.c: Likewise.
1885 * config/tc-bfin.c: Likewise.
1886 * config/tc-cr16.c: Likewise.
1887 * config/tc-cris.c: Likewise.
1888 * config/tc-crx.c: Likewise.
1889 * config/tc-d10v.c: Likewise.
1890 * config/tc-d30v.c: Likewise.
1891 * config/tc-dlx.c: Likewise.
1892 * config/tc-epiphany.c: Likewise.
1893 * config/tc-frv.c: Likewise.
1894 * config/tc-hppa.c: Likewise.
1895 * config/tc-i370.c: Likewise.
1896 * config/tc-i386-intel.c: Likewise.
1897 * config/tc-i386.c: Likewise.
1898 * config/tc-i960.c: Likewise.
1899 * config/tc-ia64.c: Likewise.
1900 * config/tc-m32r.c: Likewise.
1901 * config/tc-m68hc11.c: Likewise.
1902 * config/tc-m68k.c: Likewise.
1903 * config/tc-mcore.c: Likewise.
1904 * config/tc-mep.c: Likewise.
1905 * config/tc-mep.h: Likewise.
1906 * config/tc-metag.c: Likewise.
1907 * config/tc-microblaze.c: Likewise.
1908 * config/tc-mips.c: Likewise.
1909 * config/tc-mmix.c: Likewise.
1910 * config/tc-mn10200.c: Likewise.
1911 * config/tc-mn10300.c: Likewise.
1912 * config/tc-msp430.c: Likewise.
1913 * config/tc-msp430.h: Likewise.
1914 * config/tc-nds32.c: Likewise.
1915 * config/tc-nds32.h: Likewise.
1916 * config/tc-nios2.c: Likewise.
1917 * config/tc-nios2.h: Likewise.
1918 * config/tc-ns32k.c: Likewise.
1919 * config/tc-pdp11.c: Likewise.
1920 * config/tc-ppc.c: Likewise.
1921 * config/tc-pru.c: Likewise.
1922 * config/tc-rx.c: Likewise.
1923 * config/tc-s390.c: Likewise.
1924 * config/tc-score.c: Likewise.
1925 * config/tc-score7.c: Likewise.
1926 * config/tc-sh.c: Likewise.
1927 * config/tc-sh64.c: Likewise.
1928 * config/tc-sparc.c: Likewise.
1929 * config/tc-tic4x.c: Likewise.
1930 * config/tc-tic54x.c: Likewise.
1931 * config/tc-v850.c: Likewise.
1932 * config/tc-vax.c: Likewise.
1933 * config/tc-visium.c: Likewise.
1934 * config/tc-xgate.c: Likewise.
1935 * config/tc-xtensa.c: Likewise.
1936 * config/tc-z80.c: Likewise.
1937 * config/tc-z8k.c: Likewise.
1938 * config/te-vms.c: Likewise.
1939 * config/xtensa-relax.c: Likewise.
1940 * doc/as.texinfo: Likewise.
1941 * doc/c-arm.texi: Likewise.
1942 * doc/c-hppa.texi: Likewise.
1943 * doc/c-i370.texi: Likewise.
1944 * doc/c-i386.texi: Likewise.
1945 * doc/c-m32r.texi: Likewise.
1946 * doc/c-m68k.texi: Likewise.
1947 * doc/c-mmix.texi: Likewise.
1948 * doc/c-msp430.texi: Likewise.
1949 * doc/c-nds32.texi: Likewise.
1950 * doc/c-ns32k.texi: Likewise.
1951 * doc/c-riscv.texi: Likewise.
1952 * doc/c-rx.texi: Likewise.
1953 * doc/c-s390.texi: Likewise.
1954 * doc/c-tic6x.texi: Likewise.
1955 * doc/c-tilegx.texi: Likewise.
1956 * doc/c-tilepro.texi: Likewise.
1957 * doc/c-v850.texi: Likewise.
1958 * doc/c-xgate.texi: Likewise.
1959 * doc/c-xtensa.texi: Likewise.
1960 * dwarf2dbg.c: Likewise.
1961 * ecoff.c: Likewise.
1962 * itbl-ops.c: Likewise.
1963 * listing.c: Likewise.
1964 * macro.c: Likewise.
1965 * po/gas.pot: Likewise.
1966 * read.c: Likewise.
1967 * struc-symbol.h: Likewise.
1968 * symbols.h: Likewise.
1969 * testsuite/gas/arc/relocs-errors.err: Likewise.
1970 * write.c: Likewise.
1971
1972 2017-01-23 Nick Clifton <nickc@redhat.com>
1973
1974 * po/sv.po: Updated Swedish translation.
1975
1976 2017-01-20 Nick Clifton <nickc@redhat.com>
1977
1978 * config/tc-i386.c (parse_operands): Check for operand overflow
1979 before setting the unspecified bit.
1980
1981 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1982
1983 PR gas/20649
1984 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
1985 symbols, remove the `segtype' parameter.
1986 (mips_frob_file, md_estimate_size_before_relax): Adjust
1987 accordingly.
1988 (s_is_linkonce): Add an explanatory comment.
1989 * testsuite/gas/mips/comdat-reloc.d: New test.
1990 * testsuite/gas/mips/comdat-reloc.s: New test source.
1991 * testsuite/gas/mips/mips.exp: Run the new test.
1992
1993 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1994
1995 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
1996 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
1997
1998 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1999
2000 PR 21059
2001 * config/bfin-lex.l: Support processing with flex 2.6.3.
2002 * itbl-lex.l: Likewise.
2003
2004 2017-01-18 Nathan Sidwell <nathan@acm.org>
2005
2006 * as.h (gas_assert): Use abort.
2007 (as_assert): Remove.
2008 (signal_init): Declare.
2009 * as.c (main): Call signal_init.
2010 * messages.c: #include <signal.h>
2011 (as_assert): Delete.
2012 (as_abort): Allow NULL FILE.
2013 (signal_crash): New.
2014 (signal_init): Register fatal signal handlers.
2015 * configure.ac: Check for strsignal.
2016 * config.in: Rebuilt.
2017 * configure: Rebuilt.
2018
2019 2017-01-17 Nick Clifton <nickc@redhat.com>
2020
2021 * po/sv.po: Updated Swedish translation.
2022
2023 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2024
2025 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
2026 (cpu_noarch): Add noavx512_vpopcntdq.
2027 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
2028 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
2029 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
2030 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
2031 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
2032 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
2033 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
2034 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
2035
2036 2017-01-12 Nick Clifton <nickc@redhat.com>
2037
2038 * read.c (temp_ilp): New function. Installs a temporary input
2039 line pointer.
2040 (restore_ilp): New function. Restores the original input line
2041 pointer.
2042 * read.h (temp_ilp): Prototype.
2043 (restore_ilp): Prototype.
2044 * stabs.c (dot_func_p): Use bfd_boolean type.
2045 (generate_asm_file): Use temp_ilp and restore_ilp.
2046 (stabs_generate_asm_lineno): Likewise.
2047 (stabs_generate_asm_endfunc): Likewise.
2048
2049 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
2050
2051 * configure.tgt: Add entry for i386-redox.
2052
2053 2017-01-10 Nick Clifton <nickc@redhat.com>
2054
2055 * po/sv.po: Updated Swedish translation.
2056
2057 2017-01-10 Tristan Gingold <gingold@adacore.com>
2058
2059 * testsuite/gas/all/sleb128-8.d: Adjust test.
2060 * testsuite/gas/all/gas.exp (test_cond): Likewise.
2061
2062 2017-01-10 Tristan Gingold <gingold@adacore.com>
2063
2064 * read.c (emit_leb128_expr): Extended unsigned big number for
2065 sleb128.
2066 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
2067 * testsuite/gas/all/sleb128.d: New test.
2068 * testsuite/gas/all/sleb128.s: New test source.
2069
2070 2017-01-09 Andrew Waterman <andrew@sifive.com>
2071
2072 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
2073 against constants.
2074 (md_apply_fix): Mark relocations against constants as "done."
2075
2076 2017-01-09 Andrew Waterman <andrew@sifive.com>
2077
2078 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
2079 against constants.
2080 (md_apply_fix): Mark relocations against constants as "done."
2081
2082 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
2083 Kito Cheng <kito.cheng@gmail.com>
2084
2085 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
2086 Removed.
2087 (SDATA_START_SYMBOLS): Likewise.
2088
2089 2017-01-09 Nick Clifton <nickc@redhat.com>
2090
2091 * po/sv.po: New Swedish translation.
2092 * configure.ac (ALL_LINGUAS): Add sv.
2093 * configure: Regenerate.
2094
2095 2017-01-09 Andrew Waterman <andrew@sifive.com>
2096
2097 * config/tc-riscv.c (relaxed_branch_length): Use the long
2098 sequence when the target is a weak symbol.
2099
2100 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2101
2102 * config/tc-aarch64.c (aarch64_features): Add rcpc.
2103 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
2104 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
2105 * testsuite/gas/aarch64/ldst-rcpc.d: This.
2106 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
2107 * testsuite/gas/aarch64/ldst-rcpc.s: This.
2108 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
2109
2110 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
2111
2112 PR gas/20992
2113 * configure.tgt: Treat sparcv9 as sparc64.
2114
2115 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
2116
2117 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
2118 extension.
2119 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
2120 enabled and no other ABI is specified.
2121
2122 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
2123
2124 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
2125 valueT, as declared in tc.h.
2126 (md_apply_fix): Fix to work on 32-bit hosts.
2127
2128 2017-01-02 Alan Modra <amodra@gmail.com>
2129
2130 Update year range in copyright notice of all files.
2131
2132 For older changes see ChangeLog-2016
2133 \f
2134 Copyright (C) 2017 Free Software Foundation, Inc.
2135
2136 Copying and distribution of this file, with or without modification,
2137 are permitted in any medium without royalty provided the copyright
2138 notice and this notice are preserved.
2139
2140 Local Variables:
2141 mode: change-log
2142 left-margin: 8
2143 fill-column: 74
2144 version-control: never
2145 End: