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