[binutils, ARM, 8/16] BFL infrastructure with new global reloc R_ARM_THM_BF18
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2019-04-15 Sudakshina Das <sudi.das@arm.com>
2
3 * config/tc-arm.c (md_pcrel_from_section): New switch case for
4 BFD_RELOC_ARM_THUMB_BF19.
5 (md_appdy_fix): Likewise.
6 (tc_gen_reloc): Likewise.
7
8 2019-04-15 Sudakshina Das <sudi.das@arm.com>
9
10 * config/tc-arm.c (T16_32_TAB): New entries for bfx and bflx.
11 (do_t_v8_1_branch): New switch cases for bfx and bflx.
12 (insns): New instruction for bfx and bflx.
13 * testsuite/gas/arm/armv8_1-m-bf-exchange.d: New.
14 * testsuite/gas/arm/armv8_1-m-bf-exchange.s: New.
15 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s: New
16 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l: New
17 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d: New
18
19 2019-04-15 Sudakshina Das <sudi.das@arm.com>
20 Andre Vieira <andre.simoesdiasvieira@arm.com>
21
22 * config/tc-arm.c (T16_32_TAB): New entries for bf.
23 (do_t_branch_future): New.
24 (insns): New instruction for bf.
25 * testsuite/gas/arm/armv8_1-m-bf.d: New.
26 * testsuite/gas/arm/armv8_1-m-bf.s: New.
27 * testsuite/gas/arm/armv8_1-m-bf-bad.s: New.
28 * testsuite/gas/arm/armv8_1-m-bf-bad.l: New.
29 * testsuite/gas/arm/armv8_1-m-bf-bad.d: New.
30 * testsuite/gas/arm/armv8_1-m-bf-rel.d: New.
31 * testsuite/gas/arm/armv8_1-m-bf-rel.s: New.
32
33 2019-04-15 Sudakshina Das <sudi.das@arm.com>
34
35 * config/tc-arm.c (md_pcrel_from_section): New switch case for
36 BFD_RELOC_ARM_THUMB_BF17.
37 (md_appdy_fix): Likewise.
38 (tc_gen_reloc): Likewise.
39
40 2019-04-15 Sudakshina Das <sudi.das@arm.com>
41
42 * config/tc-arm.c (ARM_IT_MAX_RELOCS): New macro.
43 (arm_it): Member reloc renamed relocs and updated to an array.
44 Rest: Replace all occurrences of reloc to relocs[0].
45
46 2019-04-15 Sudakshina Das <sudi.das@arm.com>
47
48 * config/tc-arm.c (md_pcrel_from_section): New switch case
49 for BFD_RELOC_THUMB_PCREL_BRANCH5.
50 (v8_1_branch_value_check): New function to check branch
51 offsets.
52 (md_appdy_fix): New switch case for
53 BFD_RELOC_THUMB_PCREL_BRANCH5.
54 (tc_gen_reloc): Likewise.
55
56 2019-04-15 Andre Vieira <andre.simoesdiasvieira@arm.com>
57
58 * config/tc-arm.c (do_neon_movhf): Remove fp-armv8 check.
59 (armv8_1m_main_ext_table): New extension table.
60 (arm_archs): Use the new extension table.
61 * doc/c-arm.texi: Add missing arch and document new extensions.
62 * testsuite/gas/arm/armv8.1-m.main-fp.d: New.
63 * testsuite/gas/arm/armv8.1-m.main-fp-dp.d: New.
64 * testsuite/gas/arm/armv8.1-m.main-hp.d: New.
65
66 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
67
68 * config/tc-arm.c (cpu_arch_ver): Add entry for Armv8.1-M Mainline
69 Tag_CPU_arch build attribute value. Reindent.
70 (get_aeabi_cpu_arch_from_fset): Update assert.
71 (aeabi_set_public_attributes): Update assert for Tag_DIV_use logic.
72 * testsuite/gas/arm/attr-march-armv8_1-m.main.d: New test.
73
74 2019-04-09 Matthew Fortune <matthew.fortune@mips.com>
75
76 * config/tc-mips.c (mips_cpu_info_table): Add i6500. Update
77 default ASEs for i6400.
78 * doc/c-mips.texi (-march): Document i6500.
79 * testsuite/gas/mips/elf_mach_i6400.d: New test.
80 * testsuite/gas/mips/elf_mach_i6500.d: New test.
81 * testsuite/gas/mips/mips.exp: Run the new tests.
82
83 2019-04-09 Matthew Fortune <matthew.fortune@mips.com>
84
85 * config/tc-mips.c (mips_set_options) <init_ase>: New field.
86 (file_mips_opts, mips_opts) <init_ase>: Initialize new field.
87 (file_mips_check_options): Propagate initial ASE settings.
88 (mips_after_parse_args, parse_code_option): Track the initial
89 ASE settings for a CPU.
90 (s_mipsset): Restore the initial ASE settings when reverting
91 to the default arch.
92 * testsuite/gas/mips/elf_mach_p6600.d: New test.
93 * testsuite/gas/mips/mips.exp: Run the new test.
94
95 2019-04-12 John Darrington <john@darrington.wattle.id.au>
96
97 config/tc-s12z.h: Remove definition of macro TC_M68K
98
99 2019-04-01 John Darrington <john@darrington.wattle.id.au>
100
101 config/tc-s12z.c: Use bfd_boolean where appropriate.
102
103 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
104
105 * testsuite/gas/xtensa/loop-relax-2.d: New test definition.
106 * testsuite/gas/xtensa/loop-relax.d: New test definition.
107 * testsuite/gas/xtensa/loop-relax.s: New test source.
108 * testsuite/gas/xtensa/text-section-literals-1a.d: New test
109 definition.
110 * testsuite/gas/xtensa/text-section-literals-2.d: New test
111 definition.
112 * testsuite/gas/xtensa/text-section-literals-2.s: New test
113 source.
114 * testsuite/gas/xtensa/text-section-literals-2a.d: New test
115 definition.
116 * testsuite/gas/xtensa/text-section-literals-3.d: New test
117 definition.
118 * testsuite/gas/xtensa/text-section-literals-3.s: New test
119 source.
120 * testsuite/gas/xtensa/text-section-literals-4.d: New test
121 definition.
122 * testsuite/gas/xtensa/text-section-literals-4.s: New test
123 source.
124 * testsuite/gas/xtensa/text-section-literals-4a.d: New test
125 definition.
126
127 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
128
129 * testsuite/gas/xtensa/all.exp: Remove all expect-based
130 tests and all explicit run_dump_test / run_list_test
131 invocations. Add run_dump_tests for all .d files in the
132 test subdirectory.
133 * testsuite/gas/xtensa/entry_align.d: New test definition.
134 * testsuite/gas/xtensa/entry_align.l: New test output.
135 * testsuite/gas/xtensa/entry_misalign.d: New test definition.
136 * testsuite/gas/xtensa/entry_misalign2.d: New test definition.
137 * testsuite/gas/xtensa/j_too_far.d: New test definition.
138 * testsuite/gas/xtensa/j_too_far.l: New test output.
139 * testsuite/gas/xtensa/loop_align.d: New test definition.
140 * testsuite/gas/xtensa/loop_misalign.d: New test definition.
141 * testsuite/gas/xtensa/trampoline-2.d: New test definition.
142 * testsuite/gas/xtensa/trampoline-2.l: Remove empty output.
143 * testsuite/gas/xtensa/xtensa-err.exp: Use positive logic.
144
145 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
146
147 * config/tc-xtensa.c (xtensa_literal_pseudo): Drop code that has
148 no effect.
149 (get_literal_pool_location): Only search for the literal pool
150 when auto litpools is used, otherwise take one recorded in the
151 tc_segment_info_data.
152 (xtensa_assign_litpool_addresses): New function.
153 (xtensa_move_literals): Don't duplicate 'literal pool location
154 required...' error message. Call xtensa_assign_litpool_addresses.
155
156 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
157
158 * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration.
159 (xtensa_mark_literal_pool_location): Don't add fill frag to literal
160 section that records literal pool location.
161 (md_begin): Call xtensa_mark_literal_pool_location when text
162 section literals or auto litpools are used.
163 (xtensa_elf_section_change_hook): Call
164 xtensa_mark_literal_pool_location when text section literals or
165 auto litpools are used, there's no literal pool location defined
166 for the current section and it's not .init or .fini.
167 * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses.
168 * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise.
169 * testsuite/gas/xtensa/auto-litpools.d: Likewise.
170
171 2019-04-11 Sudakshina Das <sudi.das@arm.com>
172
173 * config/tc-aarch64.c (process_omitted_operand): Add case for
174 AARCH64_OPND_Rt_SP.
175 (parse_operands): Likewise.
176 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Update tests.
177 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
178 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
179 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
180
181 2019-04-11 Sudakshina Das <sudi.das@arm.com>
182
183 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for ldgm and stgm.
184 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
185 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
186 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
187
188 2019-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
189
190 * config/tc-i386.c (need_plt32_p) [TE_SOLARIS]: Return FALSE.
191 * testsuite/gas/i386/solaris/solaris.exp: New driver.
192 * testsuite/gas/i386/solaris/reloc64.d,
193 testsuite/gas/i386/solaris/x86-64-jump.d,
194 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
195 testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d,
196 testsuite/gas/i386/solaris/x86-64-nop-3.d,
197 testsuite/gas/i386/solaris/x86-64-nop-4.d,
198 testsuite/gas/i386/solaris/x86-64-nop-5.d,
199 testsuite/gas/i386/solaris/x86-64-relax-2.d,
200 testsuite/gas/i386/solaris/x86-64-relax-3.d: New tests.
201 * testsuite/gas/i386/reloc64.d,
202 testsuite/gas/i386/x86-64-jump.d,
203 testsuite/gas/i386/x86-64-mpx-branch-1.d,
204 testsuite/gas/i386/x86-64-mpx-branch-2.d,
205 testsuite/gas/i386/x86-64-nop-3.d,
206 testsuite/gas/i386/x86-64-nop-4.d,
207 testsuite/gas/i386/x86-64-nop-5.d,
208 testsuite/gas/i386/x86-64-relax-2.d,
209 testsuite/gas/i386/x86-64-relax-3.d: Skip on *-*-solaris*.
210
211 2019-04-10 Alan Modra <amodra@gmail.com>
212
213 * config/te-cloudabi.h: New file.
214 * config/tc-aarch64.c (aarch64_after_parse_args): Use TE_CLOUDABI
215 rather than TARGET_OS to select cloudabi.
216 * config/tc-i386.h (ELF_TARGET_FORMAT64): Define for TE_CLOUDABI.
217 * configure.tgt (*-*-cloudabi*): Set em=cloudabi.
218
219 2019-04-09 Robert Suchanek <robert.suchanek@mips.com>
220
221 * testsuite/gas/mips/mips.exp: Run hwr-names test.
222 * testsuite/gas/mips/hwr-names.s: Add test cases for RDHWR with
223 the SEL field.
224 * testsuite/gas/mips/mipsr6@hwr-names.d: New file.
225
226 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
227
228 * config/tc-i386.c (output_insn): Support
229 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
230 * testsuite/gas/i386/property-2.s: Add AVX512_BF16 test.
231 * testsuite/gas/i386/property-2.d: Updated.
232 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
233
234 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
235
236 * configure.tgt: Remove i386-*-kaos* and i386-*-chaos targets.
237 * testsuite/gas/i386/i386.exp: Remove *-*-caos* and "*-*-kaos*
238 check.
239
240 2019-04-05 H.J. Lu <hongjiu.lu@intel.com>
241
242 * testsuite/gas/i386/i386.exp: Run -mx86-used-note=yes tests.
243 * testsuite/gas/i386/property-2.d: New file.
244 * testsuite/gas/i386/property-2.s: Likewise.
245 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
246
247 2019-04-05 Xuepeng Guo <xuepeng.guo@intel.com>
248
249 * config/tc-i386.c (cpu_arch): Add .avx512_bf16.
250 (cpu_noarch): Add noavx512_bf16.
251 * doc/c-i386.texi: Document avx512_bf16.
252 * testsuite/gas/i386/avx512_bf16.d: New file.
253 * testsuite/gas/i386/avx512_bf16.s: Likewise.
254 * testsuite/gas/i386/avx512_bf16_vl-inval.l: Likewise.
255 * testsuite/gas/i386/avx512_bf16_vl-inval.s: Likewise.
256 * testsuite/gas/i386/avx512_bf16_vl.d: Likewise.
257 * testsuite/gas/i386/avx512_bf16_vl.s: Likewise.
258 * testsuite/gas/i386/x86-64-avx512_bf16.d: Likewise.
259 * testsuite/gas/i386/x86-64-avx512_bf16.s: Likewise.
260 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Likesie.
261 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Likewise.
262 * testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Likewise.
263 * testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Likewise.
264 * testsuite/gas/i386/i386.exp: Add BF16 related tests.
265
266 2019-04-05 Alan Modra <amodra@gmail.com>
267
268 * testsuite/gas/ppc/bc.s,
269 * testsuite/gas/ppc/bcat.d,
270 * testsuite/gas/ppc/bcaterr.d,
271 * testsuite/gas/ppc/bcaterr.l,
272 * testsuite/gas/ppc/bcy.d,
273 * testsuite/gas/ppc/bcyerr.d,
274 * testsuite/gas/ppc/bcyerr.l: New tests.
275 * testsuite/gas/ppc/ppc.exp: Run them.
276
277 2019-04-05 Alan Modra <amodra@gmail.com>
278
279 * testsuite/gas/ppc/476.d: Remove trailing spaces.
280 * testsuite/gas/ppc/a2.d: Likewise.
281 * testsuite/gas/ppc/booke.d: Likewise.
282 * testsuite/gas/ppc/booke_xcoff.d: Likewise.
283 * testsuite/gas/ppc/e500.d: Likewise.
284 * testsuite/gas/ppc/e500mc.d: Likewise.
285 * testsuite/gas/ppc/e6500.d: Likewise.
286 * testsuite/gas/ppc/htm.d: Likewise.
287 * testsuite/gas/ppc/power6.d: Likewise.
288 * testsuite/gas/ppc/power8.d: Likewise.
289 * testsuite/gas/ppc/power9.d: Likewise.
290 * testsuite/gas/ppc/vle.d: Likewise.
291
292 2019-04-04 Peter Bergner <bergner@linux.ibm.com>
293
294 PR gas/24349
295 * testsuite/gas/ppc/power8.s: (bdnztar, bdnztarl, bdztar, bdztarl,
296 btar, btarl, bdnztar-, bdnztarl-, bdnztar+, bdnztarl+, bdztar-,
297 bdztarl-, bdztar+, bdztarl+, bgetar, bnltar, bgetarl, bnltarl,
298 bletar, bngtar, bletarl, bngtarl, bnetar, bnetarl, bnstar, bnutar,
299 bnstarl, bnutarl, bgetar-, bnltar-, bgetarl-, bnltarl-, bletar-,
300 bngtar-, bletarl-, bngtarl-, bnetar-, bnetarl-, bnstar-, bnutar-,
301 bnstarl-, bnutarl-, bgetar+, bnltar+, bgetarl+, bnltarl+, bletar+,
302 bngtar+, bletarl+, bngtarl+, bnetar+, bnetarl+, bnstar+, bnutar+,
303 bnstarl+, bnutarl+, blttar, blttarl, bgttar, bgttarl, beqtar,
304 beqtarl, bsotar, buntar, bsotarl, buntarl, blttar-, blttarl-,
305 bgttar-, bgttarl-, beqtar-, beqtarl-, bsotar-, buntar-, bsotarl-,
306 buntarl-, blttar+, blttarl+, bgttar+, bgttarl+, beqtar+, beqtarl+,
307 bsotar+, buntar+, bsotarl+, buntarl+, bdnzftar, bdnzftarl, bdzftar,
308 bdzftarl, bftar, bftarl, bftar-, bftarl-, bftar+, bftarl+, bdnzttar,
309 bdnzttarl, bdzttar, bdzttarl, bttar, bttarl, bttar-, bttarl-, bttar+,
310 bttarl+): Add tests of extended mnemonics.
311 * testsuite/gas/ppc/power8.d: Likewise. Update previous bctar tests
312 to expect new extended mnemonics.
313 * testsuite/gas/ppc/a2.s: <bc, bc-, bc+, bcl, bcl-, bcl+>: Update test
314 to not use illegal BO value. Use a more convenient BI value.
315 * testsuite/gas/ppc/a2.d: Update tests for new expect output.
316
317 2019-04-03 Max Filippov <jcmvbkbc@gmail.com>
318
319 * config/tc-xtensa.c (convert_frag_immed): Drop
320 convert_frag_immed_finish_loop invocation.
321 (convert_frag_immed_finish_loop): Drop declaration and
322 definition.
323 * config/xtensa-relax.c (widen_spec_list): Replace loop
324 widening that uses addi/addmi with widening that uses l32r
325 and const16.
326
327 2019-04-01 Andre Vieira <andre.simoesdiasvieira@arm.com>
328
329 * config/tc-arm.c (arm_ext_table): New struct type.
330 (arm_arch_option_table): Add new 'arm_ext_table' field.
331 (ARM_EXT,ARM_ADD,ARM_REMOVE, ALL_FP): New macros.
332 (armv5te_ext_table, armv7ve_ext_table, armv7a_ext_table,
333 armv7r_ext_table, armv7em_ext_table, armv8a_ext_table,
334 armv81a_ext_table, armv82a_ext_table, armv84a_ext_table,
335 armv85a_ext_table, armv8m_main_ext_table,
336 armv8r_ext_table): New architecture extension tables.
337 (ARM_ARCH_OPT): Add new default field.
338 (ARM_ARCH_OPT2): New macro.
339 (arm_archs): Extend some architectures with the new architecture
340 extension tables mentioned above.
341 (arm_extensions): Add DEPRECATED comment with instructions to
342 use new table.
343 (arm_parse_extension): Change to use new extension tables.
344 (arm_parse_cpu): Don't change existing behavior.
345 (arm_parse_arch): Change to use new extension tables.
346 * doc/c-arm.texi: Document new architecture extensions.
347 * testsuite/gas/arm/attr-mfpu-neon-fp16.d: Change test to use new
348 extension option rather than -mfpu and change expected behaviour to
349 sane outputs.
350 * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: New.
351 * testsuite/gas/arm/armv8-2-fp16-scalar-ext.d: New.
352 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb-ext.d: New.
353 * testsuite/gas/arm/armv8-2-fp16-simd-ext.d: New.
354 * testsuite/gas/arm/armv8-2-fp16-simd-thumb-ext.d: New.
355 * testsuite/gas/arm/armv8-2-fp16-simd-warning-ext.d: New.
356 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb-ext.d: New.
357 * testsuite/gas/arm/armv8_2+rdma-ext.d: New.
358 * testsuite/gas/arm/armv8_2-a-fp16-thumb2-ext.d: New.
359 * testsuite/gas/arm/armv8_2-a-fp16_ext.d: New.
360 * testsuite/gas/arm/armv8_3-a-fp-bad-ext.d: New.
361 * testsuite/gas/arm/armv8_3-a-fp-ext.d: New.
362 * testsuite/gas/arm/armv8_3-a-fp16-ext.d: New.
363 * testsuite/gas/arm/armv8_3-a-simd-bad-ext.d: New.
364 * testsuite/gas/arm/armv8_4-a-fp16-ext.d: New.
365 * testsuite/gas/arm/armv8m.main+fp.d: New.
366 * testsuite/gas/arm/armv8m.main+fp.dp.d: New.
367 * testsuite/gas/arm/attr-ext-fpv5-d16.d: New.
368 * testsuite/gas/arm/attr-ext-fpv5.d: New.
369 * testsuite/gas/arm/attr-ext-idiv.d: New.
370 * testsuite/gas/arm/attr-ext-mp.d: New.
371 * testsuite/gas/arm/attr-ext-neon-fp16.d: New.
372 * testsuite/gas/arm/attr-ext-neon-vfpv3.d: New.
373 * testsuite/gas/arm/attr-ext-neon-vfpv4.d: New.
374 * testsuite/gas/arm/attr-ext-sec.d: New.
375 * testsuite/gas/arm/attr-ext-vfpv3-d16-fp16.d: New.
376 * testsuite/gas/arm/attr-ext-vfpv3-d16.d: New.
377 * testsuite/gas/arm/attr-ext-vfpv3-fp16.d: New.
378 * testsuite/gas/arm/attr-ext-vfpv3.d: New.
379 * testsuite/gas/arm/attr-ext-vfpv3xd-fp.d: New.
380 * testsuite/gas/arm/attr-ext-vfpv3xd.d: New.
381 * testsuite/gas/arm/attr-ext-vfpv4-d16.d: New.
382 * testsuite/gas/arm/attr-ext-vfpv4-sp-d16.d: New.
383 * testsuite/gas/arm/attr-ext-vfpv4.d: New.
384 * testsuite/gas/arm/dotprod-mandatory-ext.d: New.
385 * testsuite/gas/arm/fpv5-d16.s: New.
386 * testsuite/gas/arm/fpv5-sp-d16.s: New.
387
388 2019-03-28 Alan Modra <amodra@gmail.com>
389
390 PR 24390
391 * testsuite/gas/ppc/476.d: Update mtfsb*.
392 * testsuite/gas/ppc/a2.d: Likewise.
393
394 2019-03-21 Alan Modra <amodra@gmail.com>
395
396 * emul.h (struct emulation): Delete strip_underscore.
397 * emul-target.h (emul_strip_underscore): Don't define.
398 (emul_struct_name): Update initialization.
399
400 2019-03-21 Alan Modra <amodra@gmail.com>
401
402 * config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8.
403 * config/tc-pdp11.c (md_apply_fix): Likewise.
404 * config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8,
405 BFD_RELOC_16, and BFD_RELOC_64.
406 * testsuite/gas/all/gas.exp: Move target exclusions for forward
407 test, but not cr16, to..
408 * testsuite/gas/all/forward.d: ..here, with explanation. Remove
409 d10v, d30v, and pdp11 xfails.
410
411 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
412
413 * config/tc-i386.c (optimize_encoding): Don't check AVX for
414 EVEX vector load/store optimization. Check both operands for
415 ZMM register. Update EVEX vector load/store opcode check.
416 Choose EVEX Disp8 over VEX Disp32.
417 * testsuite/gas/i386/optimize-1.d: Updated.
418 * testsuite/gas/i386/optimize-1a.d: Likewise.
419 * testsuite/gas/i386/optimize-2.d: Likewise.
420 * testsuite/gas/i386/optimize-4.d: Likewise.
421 * testsuite/gas/i386/optimize-5.d: Likewise.
422 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
423 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
424 * testsuite/gas/i386/x86-64-optimize-2b.d: Likewise.
425 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
426 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
427 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
428 * testsuite/gas/i386/optimize-1.s: Add ZMM register load
429 test.
430 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
431
432 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
433
434 PR gas/24352
435 * config/tc-i386.c (optimize_encoding): Check only
436 cpu_arch_flags.bitfield.cpuavx512vl.
437 * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
438 * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
439 change.
440 * testsuite/gas/i386/x86-64-optimize-2b.d: New file.
441 * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
442
443 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
444
445 PR gas/24359
446 * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
447 x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
448 Remove optimize-6c and x86-64-optimize-7c tests.
449 * testsuite/gas/i386/noavx-3.l: Updated.
450 * testsuite/gas/i386/noavx-4.d: Likewise.
451 * testsuite/gas/i386/noavx-5.d: Likewise.
452 * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
453 * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
454 * testsuite/gas/i386/nosse-5.s: Likewise.
455 * testsuite/gas/i386/optimize-6a.d: Removed.
456 * testsuite/gas/i386/optimize-6c.d: Likewise.
457 * testsuite/gas/i386/optimize-7.d: Likewise.
458 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
459 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
460 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
461 * testsuite/gas/i386/optimize-6a.l: New file.
462 * testsuite/gas/i386/optimize-6a.s: Likewise.
463 * testsuite/gas/i386/optimize-7.l: Likewise.
464 * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
465 * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
466 * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
467
468 2019-03-18 Alan Modra <amodra@gmail.com>
469
470 * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
471 * as.c (macro_expr): Likewise.
472 * macro.c (buffer_and_nest): Likewise.
473 * read.c (temp_ilp): Remove FIXME.
474
475 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
476
477 * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
478 * testsuite/gas/i386/avx512bw-intel.d: Likewise.
479 * testsuite/gas/i386/avx512bw.d: Likewise.
480 * testsuite/gas/i386/avx512f-intel.d: Likewise.
481 * testsuite/gas/i386/avx512f.d: Likewise.
482 * testsuite/gas/i386/disp32.d: Likewise.
483 * testsuite/gas/i386/intel-regs.d: Likewise.
484 * testsuite/gas/i386/pseudos.d: Likewise.
485 * testsuite/gas/i386/x86-64-disp32.d: Likewise.
486 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
487
488 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
489
490 PR gas/24348
491 * config/tc-i386.c (optimize_encoding): Encode 128-bit and
492 256-bit EVEX vector register load/store instructions as VEX
493 vector register load/store instructions for -O1.
494 * doc/c-i386.texi: Update -O1 documentation.
495 * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
496 * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
497 load/store instructions.
498 * testsuite/gas/i386/optimize-2.s: Likewise.
499 * testsuite/gas/i386/optimize-3.s: Likewise.
500 * testsuite/gas/i386/optimize-5.s: Likewise.
501 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
502 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
503 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
504 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
505 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
506 * testsuite/gas/i386/optimize-1.d: Updated.
507 * testsuite/gas/i386/optimize-2.d: Likewise.
508 * testsuite/gas/i386/optimize-3.d: Likewise.
509 * testsuite/gas/i386/optimize-4.d: Likewise.
510 * testsuite/gas/i386/optimize-5.d: Likewise.
511 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
512 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
513 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
514 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
515 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
516 * testsuite/gas/i386/optimize-7.d: New file.
517 * testsuite/gas/i386/optimize-7.s: Likewise.
518 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
519 * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
520
521 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
522
523 * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
524 VEX/EVEX vector register clearing instructions with 128-bit VEX
525 vector register clearing instructions at -O1.
526 * doc/c-i386.texi: Update -O1 and -O2 documentation.
527 * testsuite/gas/i386/i386.exp: Run optimize-1a and
528 x86-64-optimize-2a.
529 * testsuite/gas/i386/optimize-1a.d: New file.
530 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
531
532 2019-03-17 H.J. Lu <hongjiu.lu@intel.com>
533
534 PR gas/24353
535 * config/tc-i386.c: Include <limits.h> if it exists and try
536 including <sys/param.h> if we have it.
537 (INT_MAX): Define if not defined.
538 (md_parse_option): Set optimize to INT_MAX for -Os.
539 * testsuite/gas/i386/optimize-2.s: Add a test.
540 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
541 * testsuite/gas/i386/optimize-2.d: Updated.
542 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
543
544 2019-03-17 H.J. Lu <hongjiu.lu@intel.com>
545
546 PR gas/24352
547 * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
548 with 128-bit VEX encoding only when AVX is enabled and with
549 128-bit EVEX encoding only when AVX512VL is enabled.
550 * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
551 * testsuite/gas/i386/optimize-6.s: New file.
552 * testsuite/gas/i386/optimize-6a.d: Likewise.
553 * testsuite/gas/i386/optimize-6b.d: Likewise.
554 * testsuite/gas/i386/optimize-6c.d: Likewise.
555 * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
556 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
557 * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
558 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
559 * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
560
561 2019-03-15 Li Hao <li.hao296@zte.com.cn>
562
563 PR 24308
564 * config/tc-i386.c (parse_insn): Check mnemp before using it to
565 determine if a suffix can be trimmed.
566
567 2019-03-13 Christian Eggers <ceggers@gmx.de>
568
569 * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
570
571 2019-03-13 Christian Eggers <ceggers@gmx.de>
572
573 * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
574
575 2019-03-13 Christian Eggers <ceggers@gmx.de>
576
577 * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
578
579 2019-03-13 Christian Eggers <ceggers@gmx.de>
580
581 * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
582
583 2019-03-13 Christian Eggers <ceggers@gmx.de>
584
585 * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
586 (out_debug_aranges, out_debug_info): Likewise.
587
588 2019-03-13 Christian Eggers <ceggers@gmx.de>
589
590 * symbols.h (symbol_temp_new_now_octets): Declare.
591 (symbol_set_value_now_octets, symbol_octets_p): Declare.
592 * symbols.c (struct symbol_flags): New member sy_octets.
593 (symbol_temp_new_now_octets): New function.
594 (resolve_symbol_value): Return octets instead of bytes if
595 sy_octets is set.
596 (symbol_set_value_now_octets): New function.
597 (symbol_octets_p): New function.
598
599 2019-03-13 Christian Eggers <ceggers@gmx.de>
600
601 * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
602
603 2019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
604
605 * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
606 * testsuite/gas/s390/zarch-arch13.d: Likewise.
607
608 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
609
610 * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
611 * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
612 * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
613 * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
614 lines.
615 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
616 * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
617
618 2019-02-24 Alan Modra <amodra@gmail.com>
619
620 * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
621
622 2019-02-24 Alan Modra <amodra@gmail.com>
623
624 PR 24144
625 * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
626 of section to ensure file contents cover aligned section size.
627
628 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
629
630 * config/tc-arm.c (arm_cpus): Add neoverse-n1.
631 * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
632
633 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
634
635 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
636 * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
637
638 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
639
640 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
641 * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
642
643 2019-02-19 Paul Hua <paul.hua.gm@gmail.com>
644
645 * NEWS: Mention -m[no-]fix-loongson3-llsc.
646 * configure.ac: Add --enable-mips-fix-loongson3-llsc.
647 Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
648 * config.in: Regenerated.
649 * configure: Likewise.
650 * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
651 New variables.
652 (options): New OPTION_FIX_LOONGSON3_LLSC,
653 OPTION_NO_FIX_LOONGSON3_LLSC.
654 (md_longopts): Add -m[no-]fix-loongson3-llsc.
655 (md_begin): Initialize sync insn.
656 (fix_loongson3_llsc): New.
657 (append_insn): Call fix_loongson3_llsc.
658 (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
659 OPTION_NO_FIX_LOONGSON3_LLSC.
660 (md_show_usage): Display -m[no-]fix-loongson3-llsc.
661 * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
662 --enable-mips-fix-loongson3-llsc=[yes|no].
663
664 2019-02-10 H.J. Lu <hongjiu.lu@intel.com>
665
666 PR gas/24165
667 * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
668 max_bytes.
669 * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
670 aarch64_init_frag.
671 * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
672 arm_init_frag.
673 * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
674 * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
675 * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
676 * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
677 * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
678 * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
679 * config/tc-rx.h (TC_FRAG_INIT): Likewise.
680 * config/tc-score.h (TC_FRAG_INIT): Likewise.
681 * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
682 * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
683 * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
684 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
685 (alignment ? ((1 << alignment) - 1) : 1)
686 (i386_tc_frag_data): Add max_bytes.
687 (TC_FRAG_INIT): Add and track max_bytes.
688 (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
689 fragP->tc_frag_data.max_bytes.
690 * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
691
692 2019-02-08 Jim Wilson <jimw@sifive.com>
693
694 * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
695 (riscv_ip) <'C'>: Add 'z' support.
696
697 2019-02-07 Tamar Christina <tamar.christina@arm.com>
698
699 * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
700 hlt to armv1.
701 * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
702 * testsuite/gas/arm/hlt.d: New test.
703 * testsuite/gas/arm/hlt.s: New test.
704
705 2019-02-07 Tamar Christina <tamar.christina@arm.com>
706
707 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
708 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
709
710 2019-02-07 Tamar Christina <tamar.christina@arm.com>
711
712 PR binutils/23212
713 * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
714 * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
715
716 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
717
718 * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
719 64-bit boundaries for the GR6.
720 * testsuite/gas/visium/allinsn_gr6.s: Tweak.
721 * testsuite/gas/visium/allinsn_gr6.d: Likewise.
722 * testsuite/gas/visium/bra-1.d: New test.
723 * testsuite/gas/visium/bra-1.s: Likewise.
724 * testsuite/gas/visium/visium.exp: Run bra-1 test.
725
726 2019-01-31 John Darrington <john@darrington.wattle.id.au>
727
728 * config/tc-s12z.c (lex_imm): Add new argument exp_o.
729 (emit_reloc): New function.
730 (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
731 can be either 2 bytes or 3 bytes long.
732 * testsuite/gas/s12z/mov-imm-reloc.d: New file.
733 * testsuite/gas/s12z/mov-imm-reloc.s: New file.
734 * testsuite/gas/s12z/s12z.exp: Add them.
735
736 2019-01-31 John Darrington <john@darrington.wattle.id.au>
737
738 * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
739 * testsuite/gas/s12z/pc-rel-bad.d: New file.
740 * testsuite/gas/s12z/pc-rel-bad.l: New file.
741 * testsuite/gas/s12z/pc-rel-bad.s: New file.
742 * testsuite/gas/s12z/pc-rel-good.d: New file.
743 * testsuite/gas/s12z/pc-rel-good.s: New file.
744 * testsuite/gas/s12z/s12z.exp: Add them.
745
746 2019-01-31 John Darrington <john@darrington.wattle.id.au>
747
748 * config/tc-s12z.c (tfr): Emit warning if operands are the same.
749 * testsuite/gas/s12z/exg.d: New test case.
750 * testsuite/gas/s12z/exg.l: New file.
751
752 2019-01-31 John Darrington <john@darrington.wattle.id.au>
753
754 * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
755 immediate mode operands should be permitted.
756 * testsuite/s12z/imm-dest.d: New file.
757 * testsuite/s12z/imm-dest.l: New file.
758 * testsuite/s12z/imm-dest.s: New file.
759 * testsuite/s12z/s12z.exp: Add them.
760
761 2019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
762
763 * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
764 * doc/c-s390.texi: Document arch13 march option.
765 * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
766 * testsuite/gas/s390/zarch-arch13.d: New test.
767 * testsuite/gas/s390/zarch-arch13.s: New test.
768 * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
769 also for z13.
770
771 2019-01-31 Alan Modra <amodra@gmail.com>
772
773 * config/tc-alpha.c (md_apply_fix): Correct range checks for
774 BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
775 * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
776 * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
777
778 2019-01-28 Max Filippov <jcmvbkbc@gmail.com>
779
780 * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
781 symbols as done in md_apply_fix.
782 * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
783
784 2019-01-28 Nick Clifton <nickc@redhat.com>
785
786 * po/fr.po: Updated French translation.
787 * po/ru.po: Updated Russian translation.
788
789 2019-01-28 Alan Modra <amodra@gmail.com>
790
791 * configure.ac (ac_checking): Set from bfd/development.sh
792 development variable.
793 * configure: Regenerate.
794
795 2019-01-25 Sudakshina Das <sudi.das@arm.com>
796
797 * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
798 stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
799 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
800 stg, stzg, st2g and stz2g.
801 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
802 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
803 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
804
805 2019-01-25 Sudakshina Das <sudi.das@arm.com>
806
807 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
808 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
809 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
810 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
811
812 2019-01-25 Sudakshina Das <sudi.das@arm.com>
813 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
814
815 * config/tc-aarch64.c (parse_address_main): Remove support for
816 [base]! address expression.
817 (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
818 (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
819 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
820 and stgv.
821 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
822 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
823 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
824
825 2019-01-25 Wu Heng <wu.heng@zte.com.cn>
826
827 PR gas/23940
828 * macro.c (getstring): Check array bound before accessing.
829
830 2019-01-25 Alan Modra <amodra@gmail.com>
831
832 PR 20902
833 PR 24125
834 * read.c (stringer): Delete assertion.
835
836 2019-01-21 Nick Clifton <nickc@redhat.com>
837
838 * po/uk.po: Updated Ukranian translation.
839
840 2019-01-19 Nick Clifton <nickc@redhat.com>
841
842 * config.in: Regenerate.
843 * configure: Regenerate.
844 * po/gas.pot: Regenerate.
845
846 2018-06-24 Nick Clifton <nickc@redhat.com>
847
848 2.32 branch created.
849
850 2019-01-17 Tamar Christina <tamar.christina@arm.com>
851
852 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
853 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
854 * testsuite/gas/arm/csdb.d: Skip pe.
855 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
856 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
857 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
858 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
859 * testsuite/gas/arm/udf.d: Skip pe.
860
861 2019-01-16 Kito Cheng <kito@andestech.com>
862
863 * testsuite/gas/riscv/attribute-empty.d: New.
864
865 2019-01-16 Kito Cheng <kito@andestech.com>
866 Nelson Chu <nelson@andestech.com>
867
868 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
869 (riscv_set_options): Add `arch_attr` field.
870 (riscv_opts): Set default value for arch_attr.
871 (riscv_write_out_arch_attr): New.
872 (riscv_set_public_attributes): Likewise.
873 (riscv_md_end): Likewise.
874 (riscv_convert_symbolic_attribute): Likewise.
875 (s_riscv_attribute): Likewise.
876 (explicit_arch_attr): Likewise.
877 (riscv_pseudo_table): Add .attribute to the table.
878 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
879 enumeration constants.
880 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
881 (md_parse_option): Handle the new options.
882 (md_show_usage): Document the `march-attr' option.
883 * config/tc-riscv.h (md_end): Define as riscv_md_end
884 (riscv_md_end): Declare.
885 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
886 riscv_convert_symbolic_attribute.
887 (riscv_convert_symbolic_attribute): Declare.
888 (start_assemble): Declare.
889 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
890 * testsuite/gas/elf/section2.e-riscv: New.
891 * testsuite/gas/riscv/attribute-01.d: New test
892 * testsuite/gas/riscv/attribute-02.d: Likewise.
893 * testsuite/gas/riscv/attribute-03.d: Likewise.
894 * testsuite/gas/riscv/attribute-04.d: Likewise.
895 * testsuite/gas/riscv/attribute-04.s: Likewise.
896 * testsuite/gas/riscv/attribute-05.d: Likewise.
897 * testsuite/gas/riscv/attribute-05.s: Likewise.
898 * testsuite/gas/riscv/attribute-06.d: Likewise.
899 * testsuite/gas/riscv/attribute-06.s: Likewise.
900 * testsuite/gas/riscv/attribute-07.d: Likewise.
901 * testsuite/gas/riscv/attribute-07.s: Likewise.
902 * testsuite/gas/riscv/attribute-08.d: Likewise.
903 * testsuite/gas/riscv/attribute-08.s: Likewise.
904 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
905 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
906 * testsuite/gas/riscv/empty.l: Likewise.
907 * doc/c-riscv.texi (.attribute): Add documentation.
908 * configure.ac (--enable-default-riscv-attribute): New options.
909 * configure: Re-generate.
910 * config.in: Re-generate.
911
912 2019-01-16 John Darrington <john@darrington.wattle.id.au>
913
914 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
915 before the contents.
916 * testsuite/gas/s12z/labels.d: New file.
917 * testsuite/gas/s12z/labels.s: New file.
918 * testsuite/gas/s12z/s12z.exp: Add them.
919 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
920 Also fix message typo and semantics.
921 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
922 BFD_RELOC_24.
923 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
924 of R_S12Z_EXT24.
925
926 2019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
927
928 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
929 (insns) [ARM_VARIANT]: Modified.
930 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
931 in ARMv6T2 as well.
932 * testsuite/gas/arm/archv6t2-1.d: New test.
933 * testsuite/gas/arm/archv6t2-1.s: Likewise.
934 * testsuite/gas/arm/archv6t2-2.d: Likewise.
935
936 2019-01-11 Alan Modra <amodra@gmail.com>
937
938 PR 23963
939 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
940 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
941
942 2019-01-10 Nick Clifton <nickc@redhat.com>
943
944 PR 23963
945 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
946 fact that control characters are now displayed as escape
947 sequences.
948 * testsuite/gas/mips/mips16-e.d: Likewise.
949 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
950 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
951 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
952 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
953 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
954 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
955 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
956 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
957 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
958 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
959 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
960 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
961 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
962 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
963 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
964 Likewise.
965 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
966 Likewise.
967 * testsuite/gas/mips/mipsel16-e.d: Likewise.
968 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
969 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
970 * testsuite/gas/mips/r6-64-n32.d: Likewise.
971 * testsuite/gas/mips/r6-64-n64.d: Likewise.
972 * testsuite/gas/mips/r6-n32.d: Likewise.
973 * testsuite/gas/mips/r6-n64.d: Likewise.
974 * testsuite/gas/mips/r6.d: Likewise.
975 * testsuite/gas/mips/tmips16-e.d: Likewise.
976 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
977 * testsuite/gas/mn10300/relax.d: Likewise.
978
979 2019-01-09 John Darrington <john@darrington.wattle.id.au>
980
981 * testsuite/gas/s12z/jsr.s: New case.
982 * testsuite/gas/s12z/jsr.d: New case.
983
984 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
985
986 * configure: Regenerate.
987
988 2019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
989
990 * config/tc-aarch64.c (aarch64_cpus): Add ares.
991 * doc/c-aarch64.texi (-mcpu): Document ares value.
992
993 2019-01-08 Alan Modra <amodra@gmail.com>
994
995 * testsuite/gas/rx/rx.exp: Create generated test source in
996 current directory.
997 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
998 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
999 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
1000 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
1001 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
1002 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
1003 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
1004 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
1005 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
1006 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
1007 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
1008 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
1009 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
1010 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
1011 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
1012 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
1013 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
1014 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
1015 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
1016 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
1017 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
1018 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
1019 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
1020 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
1021 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
1022 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
1023 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
1024 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
1025 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
1026 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
1027 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
1028 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
1029 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
1030 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
1031 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
1032 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
1033 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
1034 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
1035 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
1036 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
1037 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
1038 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
1039 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
1040 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
1041 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
1042 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
1043 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
1044 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
1045 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
1046 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
1047 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
1048 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
1049 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
1050 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
1051 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
1052 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
1053 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
1054 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
1055 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
1056 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
1057 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
1058 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
1059 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
1060 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
1061 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
1062 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
1063 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
1064 * testsuite/gas/rx/xor.d: Add #source line.
1065
1066 2019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1067
1068 * config/tc-arm.c (arm_cpus): Add ares.
1069 * doc/c-arm.texi (-mcpu): Document ares value.
1070
1071 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1072
1073 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
1074 (rx_bfield): Add prototype.
1075 (rx_post): Likewise.
1076 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
1077 (DSIZE): Define.
1078 (POST): Define.
1079 (rx_check_v3): New. check v3 type.
1080 (rx_check_dfpu): New. check have double support.
1081 (double_condition_table): New. dcmp<cond> contiditon.
1082 (check_condition): Multiple condition support.
1083 (rx_lex): RXv3 instructions support.
1084 Add parse dcmp<cond> instruction and Double FPU registers.
1085 (immediate): Disable optimize in dmov #imm case.
1086 (displacement): Add double displacement in dmov instraction.
1087 * config/tc-rx.c (rx_use_conventional_section_names):
1088 Invert default value in rx-*-linux target.
1089 (cpu_type): Add additional ELF flags.
1090 (cpu_type_list): Add RXv3.
1091 (md_parse_option): Refer elf_flags from cpu_type_list.
1092 (md_show_usage): Add rxv3 and rxv3-dfpu.
1093 (rx_bytesT): Add post byte.
1094 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
1095 (rx_post): New. Set instruction post byte.
1096 (md_assemble): Add post byte.
1097 doc/c-rx.texi: Add cpu types.
1098 * testsuite/gas/rx/Xtod.d: New.
1099 * testsuite/gas/rx/Xtod.sm: New.
1100 * testsuite/gas/rx/bfmov.d: New.
1101 * testsuite/gas/rx/bfmov.sm: New.
1102 * testsuite/gas/rx/dabs.d: New.
1103 * testsuite/gas/rx/dabs.sm: New.
1104 * testsuite/gas/rx/dadd.d: New.
1105 * testsuite/gas/rx/dadd.sm: New.
1106 * testsuite/gas/rx/dcmp.d: New.
1107 * testsuite/gas/rx/dcmp.sm: New.
1108 * testsuite/gas/rx/ddiv.d: New.
1109 * testsuite/gas/rx/ddiv.sm: New.
1110 * testsuite/gas/rx/dmov.d: New.
1111 * testsuite/gas/rx/dmov.sm: New.
1112 * testsuite/gas/rx/dmul.d: New.
1113 * testsuite/gas/rx/dmul.sm: New.
1114 * testsuite/gas/rx/dneg.d: New.
1115 * testsuite/gas/rx/dneg.sm: New.
1116 * testsuite/gas/rx/dpopm.d: New.
1117 * testsuite/gas/rx/dpopm.sm: New.
1118 * testsuite/gas/rx/dpushm.d: New.
1119 * testsuite/gas/rx/dpushm.sm: New.
1120 * testsuite/gas/rx/dround.d: New.
1121 * testsuite/gas/rx/dround.sm: New.
1122 * testsuite/gas/rx/dsqrt.d: New.
1123 * testsuite/gas/rx/dsqrt.sm: New.
1124 * testsuite/gas/rx/dsub.d: New.
1125 * testsuite/gas/rx/dsub.sm: New.
1126 * testsuite/gas/rx/dtoX.d: New.
1127 * testsuite/gas/rx/dtoX.sm: New.
1128 * testsuite/gas/rx/macros.inc: Add double FPU registers.
1129 * testsuite/gas/rx/mvfdc.d: New.
1130 * testsuite/gas/rx/mvfdc.sm: New.
1131 * testsuite/gas/rx/mvfdr.d: New.
1132 * testsuite/gas/rx/mvfdr.sm: New.
1133 * testsuite/gas/rx/mvtdc.d: New.
1134 * testsuite/gas/rx/mvtdc.sm: New.
1135 * testsuite/gas/rx/rstr.d: New.
1136 * testsuite/gas/rx/rstr.sm: New.
1137 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
1138 * testsuite/gas/rx/save.d: New.
1139 * testsuite/gas/rx/save.sm: New.
1140 * testsuite/gas/rx/xor.d: New.
1141 * testsuite/gas/rx/xor.sm: Add pattern.
1142
1143 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
1144
1145 PR 24010
1146 * macro.c (get_any_string): Check for end of input whilst scanning
1147 for separators.
1148
1149 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
1150
1151 PR 24009
1152 * read.c (stringer): Fix handling of missing '>' character at end
1153 of <...> sequence.
1154
1155 2019-01-01 Alan Modra <amodra@gmail.com>
1156
1157 Update year range in copyright notice of all files.
1158
1159 For older changes see ChangeLog-2018
1160 \f
1161 Copyright (C) 2019 Free Software Foundation, Inc.
1162
1163 Copying and distribution of this file, with or without modification,
1164 are permitted in any medium without royalty provided the copyright
1165 notice and this notice are preserved.
1166
1167 Local Variables:
1168 mode: change-log
1169 left-margin: 8
1170 fill-column: 74
1171 version-control: never
1172 End:
This page took 0.052159 seconds and 5 git commands to generate.