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