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