testsuite/gas/all/fill-1.s: Use L2 rather than .L2.
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2017-10-26 Hans-Peter Nilsson <hp@bitrange.com>
2
3 * testsuite/gas/all/fill-1.s: Use L2 rather than .L2.
4
5 2017-10-25 Alan Modra <amodra@gmail.com>
6
7 PR 22348
8 * config/tc-crx.c (instruction, output_opcode): Make static.
9 (relocatable, ins_parse, cur_arg_num): Likewise.
10 (parse_insn): Adjust for renamed opcodes globals.
11 (check_range): Likewise
12
13 2017-10-25 Alan Modra <amodra@gmail.com>
14
15 * testsuite/gas/all/fill-1.d: Exclude tic4x and tic54x.
16 * testsuite/gas/all/fill-1.s: Use L1 rather than .L1.
17
18 2017-10-24 Andrew Waterman <andrew@sifive.com>
19
20 * testsuite/gas/riscv/c-addi16sp-fail.d: New test.
21 * testsuite/gas/riscv/c-addi16sp-fail.l: Likewise.
22 * testsuite/gas/riscv/c-addi16sp-fail.s: Likewise.
23 * testsuite/gas/riscv/c-addi4spn-fail.d: Likewise.
24 * testsuite/gas/riscv/c-addi4spn-fail.l: Likewise.
25 * testsuite/gas/riscv/c-addi4spn-fail.s: Likewise.
26 * testsuite/gas/riscv/riscv.exp: Add new tests.
27
28 2017-10-24 Andrew Waterman <andrew@sifive.com>
29
30 * testsuite/gas/riscv/c-lui-fail.d: New testcase.
31 * gas/testsuite/gas/riscv/c-lui-fail.l: Likewise.
32 * gas/testsuite/gas/riscv/c-lui-fail.s: Likewise.
33 * gas/testsuite/gas/riscv/riscv.exp: Likewise.
34
35 2017-10-24 H.J. Lu <hongjiu.lu@intel.com>
36
37 * config/tc-i386.c (md_pseudo_table): Add .code64 directive
38 only if BFD64 is defined.
39 * testsuite/gas/i386/code64-inval.l: New file.
40 * gas/testsuite/gas/i386/code64-inval.s: Likewise.
41 * gas/testsuite/gas/i386/code64.d: Likewise.
42 * gas/testsuite/gas/i386/code64.s: Likewise.
43 * testsuite/gas/i386/i386.exp: Run mixed-mode-reloc32,
44 att-regs, intel-regs, intel-expr and string-ok tests only if
45 assembler supports x86-64. Run code64 and code64-inval.
46
47 2017-10-23 Palmer Dabbelt <palmer@dabbelt.com>
48
49 * config/tc-riscv.c (riscv_frag_align_code): Align code by 4
50 bytes on non-RVC systems.
51
52 2017-10-23 Maciej W. Rozycki <macro@imgtec.com>
53
54 * config/tc-mips.c (mips_elf_final_processing): Don't set
55 EF_MIPS_ABI2 in `e_flags'.
56
57 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
58
59 * config/tc-i386.c (cpu_arch): Add .avx512_bitalg.
60 (cpu_noarch): noavx512_bitalg.
61 * doc/c-i386.texi: Document .avx512_bitalg, noavx512_bitalg.
62 * testsuite/gas/i386/i386.exp: Add AVX512_BITALG tests.
63 * testsuite/gas/i386/avx512f_bitalg-intel.d: New test.
64 * testsuite/gas/i386/avx512f_bitalg.d: Likewise.
65 * testsuite/gas/i386/avx512f_bitalg.s: Likewise.
66 * testsuite/gas/i386/avx512vl_bitalg-intel.d: Likewise.
67 * testsuite/gas/i386/avx512vl_bitalg.d: Likewise.
68 * testsuite/gas/i386/avx512vl_bitalg.s: Likewise.
69 * testsuite/gas/i386/x86-64-avx512f_bitalg-intel.d: Likewise.
70 * testsuite/gas/i386/x86-64-avx512f_bitalg.d: Likewise.
71 * testsuite/gas/i386/x86-64-avx512f_bitalg.s: Likewise.
72 * testsuite/gas/i386/x86-64-avx512vl_bitalg-intel.d: Likewise.
73 * testsuite/gas/i386/x86-64-avx512vl_bitalg.d: Likewise.
74 * testsuite/gas/i386/x86-64-avx512vl_bitalg.s: Likewise.
75
76 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
77
78 * config/tc-i386.c (cpu_arch): Add .avx512_vnni.
79 (cpu_noarch): Add noavx512_vnni.
80 * doc/c-i386.texi: Document .avx512_vnni.
81 * testsuite/gas/i386/i386.exp: Add AVX512_VNNI tests.
82 * testsuite/gas/i386/avx512vnni-intel.d: New test.
83 * testsuite/gas/i386/avx512vnni.d: Likewise.
84 * testsuite/gas/i386/avx512vnni.s: Likewise.
85 * testsuite/gas/i386/avx512vnni_vl-intel.d: Likewise.
86 * testsuite/gas/i386/avx512vnni_vl.d: Likewise.
87 * testsuite/gas/i386/avx512vnni_vl.s: Likewise.
88 * testsuite/gas/i386/x86-64-avx512vnni-intel.d: Likewise.
89 * testsuite/gas/i386/x86-64-avx512vnni.d: Likewise.
90 * testsuite/gas/i386/x86-64-avx512vnni.s: Likewise.
91 * testsuite/gas/i386/x86-64-avx512vnni_vl-intel.d: Likewise.
92 * testsuite/gas/i386/x86-64-avx512vnni_vl.d: Likewise.
93 * testsuite/gas/i386/x86-64-avx512vnni_vl.s: Likewise.
94
95 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
96
97 * config/tc-i386.c (cpu_arch): Add VPCLMULQDQ.
98 * doc/c-i386.texi: Document VPCLMULQDQ.
99 * testsuite/gas/i386/i386.exp: Run VPCLMULQDQ tests.
100 * testsuite/gas/i386/avx512f_vpclmulqdq-intel.d: New test.
101 * testsuite/gas/i386/avx512f_vpclmulqdq-wig.s: Ditto.
102 * testsuite/gas/i386/avx512f_vpclmulqdq-wig1-intel.d: Ditto.
103 * testsuite/gas/i386/avx512f_vpclmulqdq-wig1.d: Ditto.
104 * testsuite/gas/i386/avx512f_vpclmulqdq.d: Ditto.
105 * testsuite/gas/i386/avx512f_vpclmulqdq.s: Ditto.
106 * testsuite/gas/i386/avx512vl_vpclmulqdq-intel.d: Ditto.
107 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig.s: Ditto.
108 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig1-intel.d: Ditto.
109 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig1.d: Ditto.
110 * testsuite/gas/i386/avx512vl_vpclmulqdq.d: Ditto.
111 * testsuite/gas/i386/avx512vl_vpclmulqdq.s: Ditto.
112 * testsuite/gas/i386/vpclmulqdq-intel.d: Ditto.
113 * testsuite/gas/i386/vpclmulqdq.d: Ditto.
114 * testsuite/gas/i386/vpclmulqdq.s: Ditto.
115 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-intel.d: Ditto.
116 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig.s: Ditto.
117 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig1-intel.d: Ditto.
118 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig1.d: Ditto.
119 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.d: Ditto.
120 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s: Ditto.
121 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-intel.d: Ditto.
122 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig.s: Ditto.
123 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig1-intel.d: Ditto.
124 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig1.d: Ditto.
125 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.d: Ditto.
126 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s: Ditto.
127 * testsuite/gas/i386/x86-64-vpclmulqdq-intel.d: Ditto.
128 * testsuite/gas/i386/x86-64-vpclmulqdq.d: Ditto.
129 * testsuite/gas/i386/x86-64-vpclmulqdq.s: Ditto.
130
131 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
132
133 * config/tc-i386.c (cpu_arch): Add VAES.
134 * doc/c-i386.texi: Document VAES.
135 * testsuite/gas/i386/i386.exp: Run VAES tests.
136 * testsuite/gas/i386/avx512f_vaes-intel.d: New test.
137 * testsuite/gas/i386/avx512f_vaes-wig.s: Ditto.
138 * testsuite/gas/i386/avx512f_vaes-wig1-intel.d: Ditto.
139 * testsuite/gas/i386/avx512f_vaes-wig1.d: Ditto.
140 * testsuite/gas/i386/avx512f_vaes.d: Ditto.
141 * testsuite/gas/i386/avx512f_vaes.s: Ditto.
142 * testsuite/gas/i386/avx512vl_vaes-intel.d: Ditto.
143 * testsuite/gas/i386/avx512vl_vaes-wig.s: Ditto.
144 * testsuite/gas/i386/avx512vl_vaes-wig1-intel.d: Ditto.
145 * testsuite/gas/i386/avx512vl_vaes-wig1.d: Ditto.
146 * testsuite/gas/i386/avx512vl_vaes.d: Ditto.
147 * testsuite/gas/i386/avx512vl_vaes.s: Ditto.
148 * testsuite/gas/i386/vaes-intel.d: Ditto.
149 * testsuite/gas/i386/vaes.d: Ditto.
150 * testsuite/gas/i386/vaes.s: Ditto.
151 * testsuite/gas/i386/x86-64-avx512f_vaes-intel.d: Ditto.
152 * testsuite/gas/i386/x86-64-avx512f_vaes-wig.s: Ditto.
153 * testsuite/gas/i386/x86-64-avx512f_vaes-wig1-intel.d: Ditto.
154 * testsuite/gas/i386/x86-64-avx512f_vaes-wig1.d: Ditto.
155 * testsuite/gas/i386/x86-64-avx512f_vaes.d: Ditto.
156 * testsuite/gas/i386/x86-64-avx512f_vaes.s: Ditto.
157 * testsuite/gas/i386/x86-64-avx512vl_vaes-intel.d: Ditto.
158 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig.s: Ditto.
159 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1-intel.d: Ditto.
160 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1.d: Ditto.
161 * testsuite/gas/i386/x86-64-avx512vl_vaes.d: Ditto.
162 * testsuite/gas/i386/x86-64-avx512vl_vaes.s: Ditto.
163 * testsuite/gas/i386/x86-64-vaes-intel.d: Ditto.
164 * testsuite/gas/i386/x86-64-vaes.d: Ditto.
165 * testsuite/gas/i386/x86-64-vaes.s: Ditto.
166
167 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
168
169 * config/tc-i386.c (cpu_arch): Add .gfni.
170 * doc/c-i386.texi: Document .gfni.
171 * testsuite/gas/i386/i386.exp: Add GFNI tests.
172 * testsuite/gas/i386/avx.s: New GFNI test.
173 * testsuite/gas/i386/x86-64-avx.s: Likewise.
174 * testsuite/gas/i386/avx.d: Adjust.
175 * testsuite/gas/i386/avx-intel.d: Likewise
176 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
177 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
178 * testsuite/gas/i386/avx512f_gfni-intel.d: New test.
179 * testsuite/gas/i386/avx512f_gfni.d: Likewise.
180 * testsuite/gas/i386/avx512f_gfni.s: Likewise.
181 * testsuite/gas/i386/avx512vl_gfni-intel.d: Likewise.
182 * testsuite/gas/i386/avx512vl_gfni.d: Likewise.
183 * testsuite/gas/i386/avx512vl_gfni.s: Likewise.
184 * testsuite/gas/i386/gfni-intel.d: Likewise.
185 * testsuite/gas/i386/gfni.d: Likewise.
186 * testsuite/gas/i386/gfni.s: Likewise.
187 * testsuite/gas/i386/x86-64-avx512f_gfni-intel.d: Likewise.
188 * testsuite/gas/i386/x86-64-avx512f_gfni.d: Likewise.
189 * testsuite/gas/i386/x86-64-avx512f_gfni.s: Likewise.
190 * testsuite/gas/i386/x86-64-avx512vl_gfni-intel.d: Likewise.
191 * testsuite/gas/i386/x86-64-avx512vl_gfni.d: Likewise.
192 * testsuite/gas/i386/x86-64-avx512vl_gfni.s: Likewise.
193 * testsuite/gas/i386/x86-64-avx_gfni-intel.d: Likewise.
194 * testsuite/gas/i386/x86-64-avx_gfni.d: Likewise.
195 * testsuite/gas/i386/x86-64-avx_gfni.s: Likewise.
196 * testsuite/gas/i386/x86-64-gfni-intel.d: Likewise.
197 * testsuite/gas/i386/x86-64-gfni.d: Likewise.
198 * testsuite/gas/i386/x86-64-gfni.s: Likewise.
199
200 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
201
202 * config/tc-i386.c (cpu_arch): Add .avx512_vbmi2.
203 (cpu_noarch): noavx512_vbmi2.
204 * doc/c-i386.texi: Document .avx512_vbmi2, noavx512_vbmi2.
205 * testsuite/gas/i386/i386.exp: Add AVX512_VBMI2 tests.
206 * testsuite/gas/i386/avx512vbmi2-intel.d: New test.
207 * testsuite/gas/i386/avx512vbmi2.d: Likewise.
208 * testsuite/gas/i386/avx512vbmi2.s: Likewise.
209 * testsuite/gas/i386/avx512vbmi2_vl-intel.d: Likewise.
210 * testsuite/gas/i386/avx512vbmi2_vl.d: Likewise.
211 * testsuite/gas/i386/avx512vbmi2_vl.s: Likewise.
212 * testsuite/gas/i386/x86-64-avx512vbmi2-intel.d: Likewise.
213 * testsuite/gas/i386/x86-64-avx512vbmi2.d: Likewise.
214 * testsuite/gas/i386/x86-64-avx512vbmi2.s: Likewise.
215 * testsuite/gas/i386/x86-64-avx512vbmi2_vl-intel.d: Likewise.
216 * testsuite/gas/i386/x86-64-avx512vbmi2_vl.d: Likewise.
217 * testsuite/gas/i386/x86-64-avx512vbmi2_vl.s: Likewise.
218
219 2017-10-22 Hans-Peter Nilsson <hp@axis.com>
220
221 PR gas/22304
222 * testsuite/gas/cris/range-err-1.s: Remove quotes left from last edit.
223
224 2017-10-20 Nick Clifton <nickc@redhat.com>
225
226 PR 22324
227 * read.c (s_rept): Use size_t type for count parameter.
228 (do_repeat): Change type of count parameter to size_t.
229 Issue an error is the count parameter is negative.
230 (do_repeat_with_expression): Likewise.
231 * read.h: Update prototypes for do_repeat and
232 do_repeat_with_expression.
233 * doc/as.texinfo (Rept): Document that a zero count is allowed but
234 negative counts are not.
235 * config/tc-rx.c (rx_rept): Use size_t type for count parameter.
236 * config/tc-tic54x.c (tic54x_loop): Cast count parameter to size_t
237 type.
238 * testsuite/gas/macros/end.s: Add a test using a negative repeat
239 count.
240 * testsuite/gas/macros/end.l: Add expected error message.
241
242 2017-10-19 Palmer Dabbelt <palmer@dabbelt.com>
243
244 * config/tc-riscv.c (md_apply_fix): Mark
245 BFD_RELOC_RISCV_PCREL_HI20 as relaxable when relaxations are
246 enabled.
247
248 2017-10-19 Nick Clifton <nickc@redhat.com>
249
250 PR 21621
251 * config/tc-avr.h (struct avr_frag_data): Add prev_opcode field.
252 (TC_FRAG_INIT): Define.
253 (avr_frag_init): Add prototype.
254 * config/tc-avr.c (avr_frag_init): New function.
255 (avr_operands): Replace static local 'prev' variable with
256 prev_opcode field in current frag.
257 * testsuite/gas/avr/pr21621.s: New test source file.
258 * testsuite/gas/avr/pr21621.d: New test driver file.
259 * testsuite/gas/avr/pr21621.s: New test error output file.
260
261 2017-10-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
262
263 * testsuite/gas/all/fill-1.s: Use normal labels. Change .text to
264 .data. Pick different values. Use .dc.w instead of .word.
265 * testsuite/gas/all/fill-1.d: New objdump output check.
266 * testsuite/gas/all/gas.exp: Use run_dump_test to execute fill-1
267 testcase.
268
269 2017-10-18 Palmer Dabbelt <palmer@dabbelt.com>
270
271 * testsuite/gas/all/align.d: Mark as unsupported on RISC-V.
272 testsuite/gas/all/relax.d: Likewise.
273 testsuite/gas/all/sleb128-2.d: Likewise.
274 testsuite/gas/all/sleb128-4.d: Likewise.
275 testsuite/gas/all/sleb128-5.d: Likewise.
276 testsuite/gas/all/sleb128-7.d: Likewise.
277 testsuite/gas/elf/section11.d: Likewise.
278 testsuite/gas/all/gas.exp (diff1.s): Likewise.
279
280 2017-10-18 Nick Clifton <nickc@redhat.com>
281
282 PR gas/22304
283 * testsuite/gas/cris/range-err-1.s: Remove spurious xfails.
284 * testsuite/gas/cris/cris.exp: Expect the shexpr-1 test to pass.
285
286 2017-10-18 Nick Clifton <nickc@redhat.com>
287
288 * po/sv.po: Updated Swedish translation.
289
290 2017-10-16 Sandra Loosemore <sandra@codesourcery.com>
291 Henry Wong <henry@stuffedcow.net>
292
293 * config/tc-nios2.c (nios2_translate_pseudo_insn): Check for
294 correct number of arguments.
295 (md_assemble): Handle failure of nios2_translate_pseudo_insn.
296 * testsuite/gas/nios2/illegal_pseudoinst.l: New file.
297 * testsuite/gas/nios2/illegal_pseudoinst.s: New file.
298 * testsuite/gas/nios2/nios2.exp: Add illegal_pseudoinst test.
299
300 2017-10-12 James Bowman <james.bowman@ftdichip.com>
301
302 * config/tc-ft32.c (md_assemble): Replace FT32_FLD_K8 with
303 K15.
304 (md_apply_fix, tc_gen_reloc): Add BFD_RELOC_FT32_15.
305
306 2017-10-11 Nick Clifton <nickc@redhat.com>
307
308 PR 21977
309 * listing.c (listing_newline): Use the name of the current
310 physical input file, rather than the current logical input file,
311 unless including high level source in the listing.
312 * input-scrub.c (as_where_physical): New function. Returns the
313 name of the current physical input file.
314 * as.h: Add prototype for as_where_physical.
315
316 2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
317
318 * testsuite/gas/s390/zarch-arch12.d (prno, tpei, irbm): New
319 instructions added.
320 * testsuite/gas/s390/zarch-arch12.s: Likewise.
321 * testsuite/gas/s390/zarch-z13.d: Rename ppno to prno.
322
323 2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
324
325 * testsuite/gas/all/fill-1.s: Replace nop with .word 42
326
327 2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
328
329 * read.c (s_fill): Invoke expression instead of
330 get_known_segmented_expression.
331 * testsuite/gas/all/fill-1.s: New testcase.
332 * testsuite/gas/all/gas.exp: Run fill-1 testcase
333
334 2017-10-05 Nick Clifton <nickc@redhat.com>
335
336 PR 22133
337 * config/tc-msp430.c (parse_exp): Skip an 'h' suffix to constant
338 expressions.
339 (msp430_srcoperand): Check that the entire text was parsed by
340 parse_exp.
341 (msp430_operands): Likewise.
342 * testsuite/gas/msp430/pr22133.s: New test file.
343 * testsuite/gas/msp430/pr22133.d: New test driver.
344 * testsuite/gas/msp430/pr22133.s: Expected error output.
345 * testsuite/gas/msp430/msp430.exp: Run the new test.
346
347 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
348
349 PR gas/21167
350 * testsuite/gas/elf/elf.exp: Run group3.
351 * testsuite/gas/elf/group3.d: New file.
352 * testsuite/gas/elf/group3.s: Likewise.
353
354 2017-10-05 Alan Modra <amodra@gmail.com>
355
356 PR 21167
357 * config/obj-elf.c (struct group_list): Delete elt_count.
358 (groups): New static.
359 (build_group_lists): Don't count elements.
360 (elf_adjust_symtab): Use "groups" rather than auto "list". Set up
361 pointer from group member to SHT_GROUP section. Don't size
362 SHT_GROUP section or clean up here..
363 (elf_frob_file_after_relocs): ..do so here instead.
364 * testsuite/gas/arc/jli-1.d,
365 * testsuite/gas/elf/groupautob.d,
366 * testsuite/gas/mips/compact-eh-eb-2.d,
367 * testsuite/gas/mips/compact-eh-eb-5.d,
368 * testsuite/gas/mips/compact-eh-el-2.d,
369 * testsuite/gas/mips/compact-eh-el-5.d: Adjust.
370
371 2017-10-01 Alexander Fedotov <alfedotov@gmail.com>
372
373 * testsuite/gas/ppc/vle-mult-ld-st-insns.s: New file: Tests the
374 support for the VLE multiple load/store instructions.
375 * testsuite/gas/ppc/vle-mult-ld-st-insns.d: New file: Test
376 driver.
377 * testsuite/gas/ppc/ppc.exp: Run it.
378
379 2017-09-27 Nick Clifton <nickc@redhat.com>
380
381 PR 22179
382 * testsuite/gas/riscv/fmv.x.s: New file: Tests the support for the
383 renamed fmv.x.s and fmv.s.x instructions.
384 * testsuite/gas/riscv/fmv.x.d: New file: Test driver.
385
386 2017-09-21 Maciej W. Rozycki <macro@imgtec.com>
387
388 * testsuite/gas/mips/elf_mach_5900.d: New test.
389 * testsuite/gas/mips/mips.exp: Run it.
390
391 2017-09-21 James Cowgill <James.Cowgill@imgtec.com>
392
393 PR gas/21762
394 * config/tc-mips.c (s_mips_stab): Insert call to
395 file_mips_check_options.
396 * testsuite/gas/mips/micromips@stabs-symbol-type.d: New test.
397 * testsuite/gas/mips/mips.exp: Run the new tests.
398 * testsuite/gas/mips/mips16@stabs-symbol-type.d: New test.
399 * testsuite/gas/mips/stabs-symbol-type.d: New test.
400 * testsuite/gas/mips/stabs-symbol-type.s: New test source.
401
402 2017-09-21 Alan Modra <amodra@gmail.com>
403
404 * config/tc-ppc.h (EH_FRAME_ALIGNMENT): Define.
405
406 2017-09-14 Alan Modra <amodra@gmail.com>
407
408 PR 22127
409 * write.c (resolve_reloc_expr_symbols): Don't segfault when
410 sec has been set to NULL.
411
412 2017-09-09 H.J. Lu <hongjiu.lu@intel.com>
413
414 * config/tc-i386.c (NOTRACK_PREFIX): Removed.
415 (REX_PREFIX): Updated.
416 (MAX_PREFIXES): Likewise.
417 (parse_insn): Remove restriction on NOTRACK prefix position.
418 * testsuite/gas/i386/notrack.s: Add tests with NOTRACK prefix
419 before other prefixes.
420 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
421 * testsuite/gas/i386/notrackbad.s: Remove tests with NOTRACK
422 prefix before other prefixes.
423 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
424 * testsuite/gas/i386/notrack-intel.d: Updated.
425 * testsuite/gas/i386/notrack.d: Likewise.
426 * testsuite/gas/i386/notrackbad.l: Likewise.
427 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
428 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
429 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
430
431 2017-09-07 Palmer Dabbelt <palmer@dabbelt.com>
432
433 * config/tc-riscv.c (riscv_frag_align_code): Emit the entire
434 alignment sequence inside R_RISCV_ALIGN.
435
436 2017-09-05 Alexander Fedotov <alexander.fedotov@nxp.com>
437 Edmar Wienskoski <edmar.wienskoski@nxp.com
438
439 * config/tc-ppc.c (md_parse_option): Handle "mno-vle" flag.
440 (ppc_elf_section_letter): New function.
441 * config/tc-ppc.h (md_elf_section_letter): New.
442 * testsuite/gas/elf/section10.d: Adjust for VLE.
443
444 2017-09-01 Tamar Christina <tamar.christina@arm.com>
445
446 * config/tc-aarch64.c (aarch64_cpus): Enable DOTPROD for
447 cortex-a55 and cortx-a75.
448
449 2017-08-30 Maciej W. Rozycki <macro@imgtec.com>
450
451 * testsuite/gas/mips/branch-addend-micromips.d: New test.
452 * testsuite/gas/mips/branch-addend-micromips-n32.d: New test.
453 * testsuite/gas/mips/branch-addend-micromips-n64.d: New test.
454 * testsuite/gas/mips/branch-addend-micromips.s: New test source.
455 * testsuite/gas/mips/mips.exp: Run the new tests.
456
457 2017-08-30 Maciej W. Rozycki <macro@imgtec.com>
458
459 * config/tc-mips.c (md_convert_frag): Respect
460 `mips_ignore_branch_isa'.
461 * testsuite/gas/mips/branch-local-5.d: New test.
462 * testsuite/gas/mips/branch-local-n32-5.d: New test.
463 * testsuite/gas/mips/branch-local-n64-5.d: New test.
464 * testsuite/gas/mips/branch-local-6.d: New test.
465 * testsuite/gas/mips/branch-local-n32-6.d: New test.
466 * testsuite/gas/mips/branch-local-n64-6.d: New test.
467 * testsuite/gas/mips/branch-local-7.d: New test.
468 * testsuite/gas/mips/branch-local-n32-7.d: New test.
469 * testsuite/gas/mips/branch-local-n64-7.d: New test.
470 * testsuite/gas/mips/branch-local-ignore-5.d: New test.
471 * testsuite/gas/mips/branch-local-ignore-n32-5.d: New test.
472 * testsuite/gas/mips/branch-local-ignore-n64-5.d: New test.
473 * testsuite/gas/mips/branch-local-ignore-6.d: New test.
474 * testsuite/gas/mips/branch-local-ignore-n32-6.d: New test.
475 * testsuite/gas/mips/branch-local-ignore-n64-6.d: New test.
476 * testsuite/gas/mips/branch-local-5.l: New stderr output.
477 * testsuite/gas/mips/branch-local-6.l: New stderr output.
478 * testsuite/gas/mips/branch-local-5.s: New test source.
479 * testsuite/gas/mips/branch-local-6.s: New test source.
480 * testsuite/gas/mips/branch-local-7.s: New test source.
481 * testsuite/gas/mips/mips.exp: Run the new tests.
482
483 2017-08-30 Maciej W. Rozycki <macro@imgtec.com>
484
485 * testsuite/gas/mips/branch-local-n32-2.d: Use `branch-local-2.l'
486 for `error-output'.
487 * testsuite/gas/mips/branch-local-n64-2.d: Likewise.
488 * testsuite/gas/mips/branch-local-n32-3.d: Use `branch-local-3.l'
489 for `error-output'.
490 * testsuite/gas/mips/branch-local-n64-3.d: Likewise.
491 * testsuite/gas/mips/branch-local-n32-2.l: Remove file.
492 * testsuite/gas/mips/branch-local-n64-2.l: Remove file.
493 * testsuite/gas/mips/branch-local-n32-3.l: Remove file.
494 * testsuite/gas/mips/branch-local-n64-3.l: Remove file.
495
496 2017-08-29 Jozef Lawrynowicz <jozef.l@somniumtech.com>
497
498 * config/tc-msp430.c (md_parse_option): Define high data and high
499 bss symbols if -mdata-region is passed.
500 Define -mdata-region open.
501 * doc/c-msp430.texi: Document -mdata-region.
502 * testsuite/gas/msp430/high-data-bss-sym.d: New test.
503 * testsuite/gas/msp430/high-data-bss-sym.s: New.
504 * testsuite/gas/msp430/msp430.exp: Add -mdata-region tests.
505
506 2017-08-23 Alexander Fedotov <alexander.fedotov@nxp.com>
507 Edmar Wienskoski <edmar.wienskoski@nxp.com
508
509 * config/tc-ppc.c:
510 (md_parse_option): Add mspe2 switch.
511 (md_show_usage): Document -mspe2.
512 (ppc_setup_opcodes): Handle spe2_opcodes.
513 * doc/as.texinfo: Document -mspe2.
514 * doc/c-ppc.texi: Likewise.
515 * testsuite/gas/ppc/efs.d: New file.
516 * testsuite/gas/ppc/efs.s: Likewise.
517 * testsuite/gas/ppc/efs2.d: Likewise.
518 * testsuite/gas/ppc/efs2.s: Likewise.
519 * testsuite/gas/ppc/ppc.exp: Run new tests.
520 * testsuite/gas/ppc/spe.d: New file.
521 * testsuite/gas/ppc/spe.s: Likewise.
522 * testsuite/gas/ppc/spe2-checks.d: Likewise.
523 * testsuite/gas/ppc/spe2-checks.l: Likewise.
524 * testsuite/gas/ppc/spe2-checks.s: Likewise.
525 * testsuite/gas/ppc/spe2.d: Likewise.
526 * testsuite/gas/ppc/spe2.s: Likewise.
527 * testsuite/gas/ppc/spe_ambiguous.d: Likewise.
528 * testsuite/gas/ppc/spe_ambiguous.s: Likewise.
529
530 2017-08-23 James Clarke <jrtc27@jrtc27.com>
531
532 * config/tc-sparc.c (tc_gen_reloc): Convert BFD_RELOC_8/16/32/64
533 into the corresponding BFD_RELOC_8/16/32/64_PCREL relocation
534 when requested.
535 * config/tc-sparc.h (DIFF_EXPR_OK): Define to enable PC-relative
536 diff relocations.
537 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to ensure only supported
538 relocations are made PC-relative.
539 (CFI_DIFF_EXPR_OK): Define to 0 to force BFD_RELOC_32_PCREL to
540 be used directly, since otherwise BFD_RELOC_SPARC_UA32 will be
541 used for .eh_frame which cannot in general be converted to a
542 BFD_RELOC_32_PCREL due to alignment requirements.
543
544 2017-08-22 Alan Modra <amodra@gmail.com>
545
546 * testsuite/gas/ppc/lsp-checks.d: Assemble with -a32.
547 * testsuite/gas/ppc/lsp.d: Likewise.
548
549 2017-08-21 Alexander Fedotov <alexander.fedotov@nxp.com>
550 Edmar Wienskoski <edmar.wienskoski@nxp.com
551
552 * testsuite/gas/ppc/lsp-checks.d,
553 * testsuite/gas/ppc/lsp-checks.l,
554 * testsuite/gas/ppc/lsp-checks.s: New test.
555 * testsuite/gas/ppc/lsp.d,
556 * testsuite/gas/ppc/lsp.s: New test.
557 * testsuite/gas/ppc/ppc.exp: Run new tests.
558
559 2017-08-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
560
561 * config/tc-aarch64.c (REGDEF_ALIAS): Define
562 (reg_names): Update for ip0, ip1, fp, lr to use REGDEF_ALIAS
563 * doc/c-aarch64.texi: Update documentation on .req.
564 * testsuite/gas/diagnostic.s: Update
565 * testsuite/gas/diagnostic.l: Likewise
566 * testsuite/gas/register_aliases.s: New file.
567 * testsuite/gas/register_aliases.d: New file.
568
569 2017-08-11 H.J. Lu <hongjiu.lu@intel.com>
570
571 PR gas/21667
572 * read.c (pseudo_set): Update error message for alias of common
573 symbol.
574 * write.c (write_object_file): Disallow both local and global
575 aliases of common symbol.
576 * testsuite/gas/elf/common5a.d: New file.
577 * testsuite/gas/elf/common5a.l: Likewise.
578 * testsuite/gas/elf/common5a.s: Likewise.
579 * testsuite/gas/elf/common5b.d: Likewise.
580 * testsuite/gas/elf/common5b.l: Likewise.
581 * testsuite/gas/elf/common5b.s: Likewise.
582 * testsuite/gas/elf/common5c.d: Likewise.
583 * testsuite/gas/elf/common5c.s: Likewise.
584 * testsuite/gas/elf/common5d.d: Likewise.
585 * testsuite/gas/elf/common5d.s: Likewise.
586 * testsuite/gas/elf/elf.exp: Run common5a, common5b, common5c
587 and common5d.
588
589 2017-08-10 Nick Clifton <nickc@redhat.com>
590
591 PR gas/21939
592 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Increase
593 size of indirect_syms array so that it is large enough to hold
594 every symbol if necessary.
595
596 2017-08-09 Jiong Wang <jiong.wang@arm.com>
597
598 * config/tc-arm.c (do_crc32_1): Remove warning on REG_SP for thumb_mode.
599 * testsuite/gas/arm/crc32-armv8-a-bad.d: Update exepcted result.
600 * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
601 * testsuite/gas/arm/crc32-armv8-a.d: Likewise.
602 * testsuite/gas/arm/crc32-armv8-r.d: Likewise.
603 * testsuite/gas/arm/crc32-armv8-ar-bad.s: Update test case.
604 * testsuite/gas/arm/crc32-armv8-ar.s: Likewise.
605 * testsuite/gas/arm/crc32-bad.l: Update expected error message.
606
607 2017-08-02 Nick Clifton <nickc@redhat.com>
608
609 * testsuite/gas/all/gas.exp: Add am33 to the skip lists of tests
610 passed over by the mn10300 target.
611 * testsuite/gas/elf/elf.exp: Likewise.
612 * testsuite/gas/elf/dwarf2-11.d: Correct skip of am33 target.
613 * testsuite/gas/elf/dwarf2-12.d: Likewise.
614 * testsuite/gas/elf/dwarf2-13.d: Likewise.
615 * testsuite/gas/elf/dwarf2-14.d: Likewise.
616 * testsuite/gas/elf/dwarf2-15.d: Likewise.
617 * testsuite/gas/elf/dwarf2-16.d: Likewise.
618 * testsuite/gas/elf/dwarf2-17.d: Likewise.
619 * testsuite/gas/elf/dwarf2-18.d: Likewise.
620 * testsuite/gas/elf/dwarf2-5.d: Likewise.
621 * testsuite/gas/elf/dwarf2-6.d: Likewise.
622 * testsuite/gas/elf/dwarf2-7.d: Likewise.
623
624 2017-08-01 H.J. Lu <hongjiu.lu@intel.com>
625
626 PR gas/21874
627 * config/tc-i386-intel.c (i386_intel_operand): Update segment
628 register check.
629 * testsuite/gas/i386/intelok.s: Replace "fs:gs:[eax]" with
630 "fs:[eax]".
631 * testsuite/gas/i386/inval-seg.s: Add tests for invalid segment
632 register.
633 * testsuite/gas/i386/x86-64-inval-seg.s: Likewise.
634 * testsuite/gas/i386/inval-seg.l: Updated.
635 * testsuite/gas/i386/x86-64-inval-seg.l: Likewise.
636
637 2017-07-31 John David Anglin <danglin@gcc.gnu.org>
638
639 * config/tc-hppa.c (pa_ip): Clear `d' bit in branch on bit instructions
640 with a double-word condition and a fixed bit position greater than 31.
641
642 2017-07-28 Andrew Waterman <andrew@sifive.com>
643
644 * config/tc-riscv.c (riscv_set_arch): Handle the Q subset like
645 all other subsets.
646 Obviate use-after-free.
647
648 2017-07-25 Nick Clifton <nickc@redhat.com>
649
650 PR 21739
651 * testsuite/gas/arc/add_s-err.s: Update expected error message.
652
653 2017-07-24 Nick Clifton <nickc@redhat.com>
654
655 PR 21809
656 * config/tc-aarch64.c (aarch64_init_frag): Do not set a mapping
657 state for frags in debug sections.
658 * config/tc-arm.c (arm_init_frag): Likewise.
659
660 2017-07-24 Hans-Peter Nilsson <hp@bitrange.com>
661
662 * dwarf2dbg.c (dwarf2dbg_final_check): Rename local variable exp
663 from expr.
664
665 2017-07-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
666
667 * config/tc-s390.c (s390_parse_cpu): Add z14 as alternate CPU
668 name.
669 * doc/as.texinfo: Add z14 to CPU string list.
670 * doc/c-s390.texi: Likewise.
671
672 2017-07-21 Alexandre Oliva <aoliva@redhat.com>
673
674 * dwarf2dbg.c (unused): Check offset of next in struct line_entry.
675 (current): Initialize view.
676 (force_reset_view, view_assert_failed): New variables.
677 (reverse_line_entry_list): New function.
678 (set_or_check_view): Likewise.
679 (dwarf2_gen_line_info_1): Call it.
680 (dwarf2_where): Set view to NULL.
681 (dwarf2_emit_insn): Return early when called before first file.
682 (dwarf2_directive_loc): Add view support. Emit insn
683 immediately when view option is given.
684 (process_entries): Avoid set_address to reset view when a known
685 address change already implies the view reset.
686 (dwarf2dbg_final_check): New function.
687 * dwarf2dbg.h (struct dwarf2_line_info): Add view.
688 (dwarf2dbg_final_check): Declare.
689 * read.c (s_leb128): Parse expression as deferred.
690 * write.c (write_object_file): Check pending view asserts.
691 (cvt_frag_to_fill): Complain about undefined leb128 operand.
692 * doc/as.texinfo (.loc): Document view support.
693 * NEWS: Mention the new feature.
694 * testsuite/gas/all/gas.exp: Run sleb128-9.
695 * testsuite/gas/all/sleb128-9.d: New.
696 * testsuite/gas/all/sleb128-9.l: New.
697 * testsuite/gas/all/sleb128-9.s: New.
698 * testsuite/gas/elf/dwarf2-1.d: Add nonzero views.
699 * testsuite/gas/elf/dwarf2-2.d: Likewise.
700 * testsuite/gas/elf/dwarf2-5.d: New.
701 * testsuite/gas/elf/dwarf2-5.s: New.
702 * testsuite/gas/elf/dwarf2-6.d: New.
703 * testsuite/gas/elf/dwarf2-6.s: New.
704 * testsuite/gas/elf/dwarf2-7.d: New.
705 * testsuite/gas/elf/dwarf2-7.s: New.
706 * testsuite/gas/elf/dwarf2-8.d: New.
707 * testsuite/gas/elf/dwarf2-8.l: New.
708 * testsuite/gas/elf/dwarf2-8.s: New.
709 * testsuite/gas/elf/dwarf2-9.d: New.
710 * testsuite/gas/elf/dwarf2-9.l: New.
711 * testsuite/gas/elf/dwarf2-9.s: New.
712 * testsuite/gas/elf/dwarf2-10.d: New.
713 * testsuite/gas/elf/dwarf2-10.l: New.
714 * testsuite/gas/elf/dwarf2-10.s: New.
715 * testsuite/gas/elf/dwarf2-11.d: New.
716 * testsuite/gas/elf/dwarf2-11.s: New.
717 * testsuite/gas/elf/dwarf2-12.d: New.
718 * testsuite/gas/elf/dwarf2-12.s: New.
719 * testsuite/gas/elf/dwarf2-13.d: New.
720 * testsuite/gas/elf/dwarf2-13.s: New.
721 * testsuite/gas/elf/dwarf2-14.d: New.
722 * testsuite/gas/elf/dwarf2-14.s: New.
723 * testsuite/gas/elf/dwarf2-15.d: New.
724 * testsuite/gas/elf/dwarf2-15.s: New.
725 * testsuite/gas/elf/dwarf2-16.d: New.
726 * testsuite/gas/elf/dwarf2-16.s: New.
727 * testsuite/gas/elf/dwarf2-17.d: New.
728 * testsuite/gas/elf/dwarf2-17.s: New.
729 * testsuite/gas/elf/dwarf2-18.d: New.
730 * testsuite/gas/elf/dwarf2-18.s: New.
731 * testsuite/gas/elf/elf.exp: Run dwarf2-5..18 tests.
732 * testsuite/gas/i386/dw2-compress-1.d: Add nonzero views.
733 * testsuite/gas/i386/dw2-compressed-1.d: Likewise.
734 * testsuite/gas/i386/ilp32/lns/lns-duplicate.d: Likewise.
735 * testsuite/gas/lns/lns-big-delta.d: Likewise.
736 * testsuite/gas/lns/lns-duplicate.d: Likewise.
737 * testsuite/gas/mips/loc-swap-2.d: Likewise.
738 * testsuite/gas/mips/loc-swap-3.d: Likewise.
739 * testsuite/gas/mips/loc-swap.d: Likewise.
740 * testsuite/gas/mips/micromips@loc-swap-2.d: Likewise.
741 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
742 * testsuite/gas/mips/mips16@loc-swap-2.d: Likewise.
743 * testsuite/gas/mips/mips16@loc-swap.d: Likewise.
744 * testsuite/gas/mips/mips16e@loc-swap.d: Likewise.
745
746 2017-07-19 Claudiu Zissulescu <claziss@synopsys.com>
747
748 * testsuite/gas/arc/jli-1.d: New file.
749 * testsuite/gas/arc/jli-1.s: Likewise.
750 * testsuite/gas/arc/taux.d: Update for jli_base.
751
752 2017-07-19 Tristan Gingold <gingold@adacore.com>
753
754 * as.c (start_sbrk): Remove.
755 (main): Remove assignment.
756 (dump_statistics): Remove display of data size.
757
758 2017-07-19 Tristan Gingold <gingold@adacore.com>
759
760 * testsuite/gas/pe/seh-x64-err-2.s: New test.
761 * testsuite/gas/pe/seh-x64-err-2.l: New stderr output.
762 * testsuite/gas/pe/pe.exp: Add test.
763 * config/obj-coff-seh.c (obj_coff_seh_do_final): Don't try to end
764 seh part.
765
766 2017-07-18 Nick Clifton <nickc@redhat.com>
767
768 PR 21775
769 * config/tc-arm.c: Fix spelling typos.
770 * config/tc-mips.c: Likewise.
771 * config/tc-msp430.c: Likewise.
772 * config/tc-sh64.c: Likewise.
773 * config/tc-tic4x.c: Likewise.
774 * ecoff.c: Likewise.
775 * testsuite/gas/arm/ldr-bad.l: Likewise.
776 * testsuite/gas/arm/ldr-t-bad.l: Likewise.
777 * testsuite/gas/tic54x/opcodes.s: Likewise.
778 * testsuite/gas/msp340/errata_warns.l: Likewise.
779
780 2017-07-18 Nick Clifton <nickc@redhat.com>
781
782 * po/uk.po: Updated Ukranian translation.
783
784 2017-07-17 Georg-Johann Lay <avr@gjlay.de>
785
786 PR 21472
787 * config/tc-avr.c (mcu_types): Add entries for: attiny212,
788 attiny214, attiny412, attiny414, attiny814, attiny1614,
789 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
790 (md_show_usage): Adjust doc for "avrxmega3".
791 * doc/c-avr.texi (AVR options) [-mmcu=]: Adjust doc for avrxmega3.
792 Add MCUs: attiny212, attiny214, attiny412, attiny414, attiny416,
793 attiny417, attiny814, attiny816, attiny817, attiny1614,
794 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
795
796 2017-07-13 Jim Wilson <jim.wilson@linaro.org>
797
798 * config/tc-arch64.c (aarch64_cpus): Add AARCH64_FEATURE_RDMA to
799 falkor and qdf24xx entries.
800
801 2017-07-12 Alan Modra <amodra@gmail.com>
802
803 * po/es.po: Update from translationproject.org/latest/gas/.
804 * po/fi.po: Likewise.
805 * po/fr.po: Likewise.
806 * po/id.po: Likewise.
807 * po/ja.po: Likewise.
808 * po/ru.po: Likewise.
809 * po/sv.po: Likewise.
810 * po/tr.po: Likewise.
811 * po/uk.po: Likewise.
812 * po/zh_CN.po: Likewise.
813
814 2017-07-12 Nick Clifton <nickc@redhat.com>
815
816 Fix compile time warnings using gcc 7.1.1.
817 * config/tc-pru.c (md_assemble): Add continue statement after
818 handling 'E' operand character.
819 * config/tc-v850.c (md_assemble): Initialise the 'insn' variable.
820
821 2017-07-05 James Greenhalgh <james.greenhalgh@arm.com>
822
823 * config/tc-arm.c (arm_cpus): Add Cortex-A55 and Cortex-A75.
824 * doc/c-arm.texi (-mcpu): Document Cortex-A55 and Cortex-A75.
825
826 2017-07-05 Borislav Petkov <bp@suse.de>
827
828 * testsuite/gas/i386/opcode.s: Add tests for ModRM.reg == 6 variants.
829 * testsuite/gas/i386/opcode.d: ditto.
830 * testsuite/gas/i386/x86-64-opcode.s: Add x86_64 variants too.
831 * testsuite/gas/i386/x86-64-opcode.d: ditto.
832
833 2017-07-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
834
835 * config/tc-arm.c (arm_regs): Add MVFR2.
836 (do_vmrs): Constraint for MVFR2 and armv8.
837 (do_vmsr): Likewise.
838 * testsuite/gas/arm/armv8-a+fp.d: Update.
839 * testsuite/gas/arm/armv8-ar+fp.s: Likewise.
840 * testsuite/gas/arm/armv8-r+fp.d: Likewise.
841 * testsuite/gas/arm/vfp-bad.s: Likewise.
842 * testsuite/gas/arm/vfp-bad.l: Likewise.
843
844 2017-07-04 Tristan Gingold <gingold@adacore.com>
845
846 * configure: Regenerate.
847
848 2017-07-04 Tristan Gingold <gingold@adacore.com>
849
850 * NEWS: Add marker for 2.29.
851
852 2017-07-03 Alan Modra <amodra@gmail.com>
853
854 * testsuite/gas/elf/symver.d: Don't run on hppa64-hpux.
855
856 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
857
858 * config/tc-mips.c (md_convert_frag): Use a switch on the
859 microMIPS relaxation type rather than a chain of conditionals.
860
861 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
862
863 * config/tc-mips.c (md_convert_frag): Rewrite `fix_new_exp'
864 calls in terms of `fix_new'.
865
866 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
867
868 * config/tc-mips.c (md_convert_frag): Don't make a helper
869 expression symbol for `fix_new_exp' called with a non-zero
870 offset.
871 * testsuite/gas/mips/relax-offset.d: New test.
872 * testsuite/gas/mips/mips1@relax-offset.d: New test.
873 * testsuite/gas/mips/r3000@relax-offset.d: New test.
874 * testsuite/gas/mips/r3900@relax-offset.d: New test.
875 * testsuite/gas/mips/micromips@relax-offset.d: New test.
876 * testsuite/gas/mips/relax-offset.l: New stderr output.
877 * testsuite/gas/mips/relax-offset.s: New test source.
878 * testsuite/gas/mips/mips.exp: Run the new tests.
879
880 2017-06-30 Georg-Johann Lay <avr@gjlay.de>
881
882 PR gas/21683
883 * doc/c-avr.texi (AVR Options) <-mgcc-isr>: Document it.
884 (AVR Pseudo Instructions): New node.
885 * config/tc-avr.h (md_pre_output_hook): Define to avr_pre_output_hook.
886 (md_undefined_symbol): Define to avr_undefined_symbol.
887 (avr_pre_output_hook, avr_undefined_symbol): New protos.
888 * config/tc-avr.c (struc-symbol.h): Include it.
889 (ISR_CHUNK_Done, ISR_CHUNK_Prologue, ISR_CHUNK_Epilogue): New enums.
890 (avr_isr, avr_gccisr_opcode)
891 (avr_no_sreg_hash, avr_no_sreg): New static variables.
892 (avr_opt_s) <have_gccisr>: Add field.
893 (avr_opt): Add initializer for have_gccisr.
894 (enum options) <OPTION_HAVE_GCCISR>: Add enum.
895 (md_longopts) <"mgcc-isr">: Add entry.
896 (md_show_usage): Document -mgcc-isr.
897 (md_parse_option) [OPTION_HAVE_GCCISR]: Handle it.
898 (md_undefined_symbol): Remove.
899 (avr_undefined_symbol, avr_pre_output_hook): New fuctions.
900 (md_begin) <avr_no_sreg_hash, avr_gccisr_opcode>: Initialize them.
901 (avr_operand) <pregno>: Add argument and set *pregno if function
902 is called for a register constraint.
903 [N]: Handle constraint.
904 (avr_operands) <avr_operand>: Pass 5th parameter to calls.
905 [avr_opt.have_gccisr]: Call avr_update_gccisr. Call
906 avr_gccisr_operands instead of avr_operands.
907 (avr_update_gccisr, avr_emit_insn, avr_patch_gccisr_frag)
908 (avr_gccisr_operands, avr_check_gccisr_done): New static functions.
909 * testsuite/gas/avr/gccisr-01.d: New test.
910 * testsuite/gas/avr/gccisr-01.s: New test.
911 * testsuite/gas/avr/gccisr-02.d: New test.
912 * testsuite/gas/avr/gccisr-02.s: New test.
913 * testsuite/gas/avr/gccisr-03.d: New test.
914 * testsuite/gas/avr/gccisr-03.s: New test.
915
916 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
917
918 * config/tc-mips.c (match_float_constant): Update description.
919 (match_operand): Likewise.
920
921 2017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
922 Maciej W. Rozycki <macro@imgtec.com>
923
924 * config/tc-mips.c (mips_ases): Add microMIPS XPA support.
925 * testsuite/gas/mips/micromips@xpa.d: New test.
926 * testsuite/gas/mips/mips.exp: Run the new test. Enable
927 `xpa-virt-err' test for `micromips'.
928
929 2017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
930 Maciej W. Rozycki <macro@imgtec.com>
931
932 * testsuite/gas/mips/micromips@r5.d: New test.
933 * testsuite/gas/mips/mips.exp: Run the new test.
934
935 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
936 Andrew Bennett <andrew.bennett@imgtec.com>
937
938 * config/tc-mips.c (mips_set_ase): Handle the ASE_XPA_VIRT flag.
939 * testsuite/gas/mips/xpa.d: Remove `xpa' from `-M' in `objdump'
940 flags. Add `-mvirt' to `as' flags.
941 * testsuite/gas/mips/xpa-err.d: New test.
942 * testsuite/gas/mips/xpa-virt-err.d: New test.
943 * testsuite/gas/mips/xpa-err.l: New stderr output.
944 * testsuite/gas/mips/xpa-virt-err.l: New stderr output.
945 * testsuite/gas/mips/xpa-err.s: New test source.
946 * testsuite/gas/mips/xpa-virt-err.s: New test source.
947 * testsuite/gas/mips/mips.exp: Run the new tests.
948
949 2017-06-29 Maciej W. Rozycki <macro@imgtec.com>
950
951 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: Adjust for the
952 ASE_MIPS16E2_MT flag disassembler fix.
953 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
954 Likewise.
955
956 2017-06-29 Maciej W. Rozycki <macro@imgtec.com>
957
958 * config/tc-mips.c (mips_set_ase): Clear the ASE_MIPS16E2_MT
959 flag before recalculating.
960 * testsuite/gas/mips/mips16e2-mt-err.d: New test.
961 * testsuite/gas/mips/mips16e2-mt-err.l: New stderr output.
962 * testsuite/gas/mips/mips16e2-mt-err.s: New test source.
963 * testsuite/gas/mips/mips.exp: Run the new test.
964
965 2017-06-28 Tamar Christina <tamar.christina@arm.com>
966
967 * config/tc-aarch64.c (aarch64_reg_parse_32_64): Accept 4B.
968 (aarch64_features): Added dotprod.
969 * doc/c-aarch64.texi: Added dotprod.
970 * testsuite/gas/aarch64/dotproduct.d: New.
971 * testsuite/gas/aarch64/dotproduct.s: New.
972
973 2017-06-28 Jiong Wang <jiong.wang@arm.com>
974
975 * config/tc-arm.c (fpu_neon_ext_dotprod): New variable.
976 (neon_scalar_for_mul): Improve comments.
977 (do_neon_dotproduct): New function to encode Dot Product instructions.
978 (do_neon_dotproduct_s): Wrapper function for signed Dot Product
979 instructions.
980 (do_neon_dotproduct_u): Wrapper function for unsigned Dot Product
981 instructions.
982 (insns): New entries for vsdot and vudot.
983 (arm_extensions): New entry for "dotprod".
984 * doc/c-arm.texi: Document new "dotprod" extension.
985 * testsuite/gas/arm/dotprod.s: New test source.
986 * testsuite/gas/arm/dotprod-illegal.s: New test source.
987 * testsuite/gas/arm/dotprod.d: New test.
988 * testsuite/gas/arm/dotprod-thumb2.d: New test.
989 * testsuite/gas/arm/dotprod-illegal.d: New test.
990 * testsuite/gas/arm/dotprod-legacy-arch.d: New test.
991 * testsuite/gas/arm/dotprod-illegal.l: New error file.
992 * testsuite/gas/arm/dotprod-legacy-arch.l: New error file.
993
994 2017-06-28 Maciej W. Rozycki <macro@imgtec.com>
995
996 * testsuite/gas/mips/elf_mach_interaptiv-mr2.d: New test.
997 * testsuite/gas/mips/save-err.d: New test.
998 * testsuite/gas/mips/save-sub.d: New test.
999 * testsuite/gas/mips/interaptiv-mr2@save.d: New test.
1000 * testsuite/gas/mips/mips1@save-sub.d: New test.
1001 * testsuite/gas/mips/mips2@save-sub.d: New test.
1002 * testsuite/gas/mips/mips3@save-sub.d: New test.
1003 * testsuite/gas/mips/mips4@save-sub.d: New test.
1004 * testsuite/gas/mips/mips5@save-sub.d: New test.
1005 * testsuite/gas/mips/mips32@save-sub.d: New test.
1006 * testsuite/gas/mips/mips64@save-sub.d: New test.
1007 * testsuite/gas/mips/mips16@save-sub.d: New test.
1008 * testsuite/gas/mips/mips16e@save-sub.d: New test.
1009 * testsuite/gas/mips/r3000@save-sub.d: New test.
1010 * testsuite/gas/mips/r3900@save-sub.d: New test.
1011 * testsuite/gas/mips/r4000@save-sub.d: New test.
1012 * testsuite/gas/mips/vr5400@save-sub.d: New test.
1013 * testsuite/gas/mips/interaptiv-mr2@save-sub.d: New test.
1014 * testsuite/gas/mips/sb1@save-sub.d: New test.
1015 * testsuite/gas/mips/octeon2@save-sub.d: New test.
1016 * testsuite/gas/mips/octeon3@save-sub.d: New test.
1017 * testsuite/gas/mips/xlr@save-sub.d: New test.
1018 * testsuite/gas/mips/r5900@save-sub.d: New test.
1019 * testsuite/gas/mips/mips16e2-copy.d: New test.
1020 * testsuite/gas/mips/mips16e2-copy-err.d: New test.
1021 * testsuite/gas/mips/save.d: Remove `MIPS16e' from the `name'
1022 option. Adjust for trailing padding change.
1023 * testsuite/gas/mips/mips16e2-copy-err.l: New stderr output.
1024 * testsuite/gas/mips/save-sub.s: New test source.
1025 * testsuite/gas/mips/mips16e2-copy.s: New test source.
1026 * testsuite/gas/mips/mips16e2-copy-err.s: New test source.
1027 * testsuite/gas/mips/save.s: Update description, change trailing
1028 padding and remove trailing white space.
1029 * testsuite/gas/mips/mips.exp: Expand `save' and `save-err'
1030 tests across the regular MIPS interAptiv MR2 architecture. Run
1031 the new tests.
1032
1033 2017-06-28 Maciej W. Rozycki <macro@imgtec.com>
1034
1035 * testsuite/gas/mips/mips.exp (interaptiv-mr2): New architecture.
1036 (mips16e2-interaptiv-mr2): Likewise.
1037 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d: New
1038 test.
1039 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d:
1040 New test.
1041 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d:
1042 New test.
1043 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d:
1044 New test.
1045 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d:
1046 New test.
1047 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d: New
1048 test.
1049 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d: New
1050 test.
1051 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d: New
1052 test.
1053 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d:
1054 New test.
1055 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
1056 New test.
1057 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-asmacro.d:
1058 New test.
1059 * testsuite/gas/mips/interaptiv-mr2@mcu.d: New test.
1060 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d: New test.
1061 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d: New test.
1062 * testsuite/gas/mips/attr-gnu-4-5.d: Ignore any number of ASE
1063 flag lines present rather than just one.
1064 * testsuite/gas/mips/attr-gnu-4-6.d: Likewise.
1065 * testsuite/gas/mips/attr-gnu-4-7.d: Likewise.
1066 * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d: Likewise.
1067 * testsuite/gas/mips/attr-none-o32-fp64.d: Likewise.
1068 * testsuite/gas/mips/attr-none-o32-fpxx.d: Likewise.
1069 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.l: New
1070 stderr output.
1071 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.l:
1072 New stderr output.
1073 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.l:
1074 New stderr output.
1075 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.l:
1076 New stderr output.
1077 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.l:
1078 New stderr output.
1079 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.l: New
1080 stderr output.
1081 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.l: New
1082 stderr output.
1083 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.l:
1084 New stderr output.
1085 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.l: New stderr
1086 output.
1087 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.l: New stderr
1088 output.
1089
1090 2017-06-28 Maciej W. Rozycki <macro@imgtec.com>
1091 Matthew Fortune <matthew.fortune@imgtec.com>
1092
1093 * config/tc-mips.c (validate_mips_insn): Handle
1094 OP_SAVE_RESTORE_LIST specially.
1095 (mips_encode_save_restore, mips16_encode_save_restore): New
1096 functions.
1097 (match_save_restore_list_operand): Factor out SAVE/RESTORE
1098 operand insertion into the instruction word or halfword to these
1099 new functions.
1100 (mips_cpu_info_table): Add "interaptiv-mr2" entry.
1101
1102 * doc/c-mips.texi (MIPS Options): Add `interaptiv-mr2' to the
1103 `-march=' argument list.
1104
1105 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1106
1107 * testsuite/gas/mips/mips16e-save.d: Rename to...
1108 * testsuite/gas/mips/save.d: ... this.
1109 * testsuite/gas/mips/mips16e-save-err.d: Update the
1110 `error-output' option and rename to...
1111 * testsuite/gas/mips/save-err.d: ... this.
1112 * testsuite/gas/mips/mips16e-save-err.l: Rename to...
1113 * testsuite/gas/mips/save-err.l: ... this.
1114 * testsuite/gas/mips/mips16e-save.s: Rename to...
1115 * testsuite/gas/mips/save.s: ... this.
1116 * testsuite/gas/mips/mips16e-save-err.s: Rename to...
1117 * testsuite/gas/mips/save-err.s: ... this.
1118 * testsuite/gas/mips/mips.exp: Rename `mips16e-save' and
1119 `mips16e-save-err' invocations to `save' and `save-err'
1120 respectively and reorder these tests away from MIPS16 tests.
1121
1122 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1123
1124 * testsuite/gas/mips/mips16e-save.d: Remove `-mmips:isa32
1125 -mmips:16' from `objdump' flags and `-march=mips32 -mips16' from
1126 `as' flags.
1127 * testsuite/gas/mips/mips16e-save-err.d: Remove `-march=mips32'
1128 from `as' flags.
1129 * testsuite/gas/mips/mips16e-save.s: Remove the `.set mips16'
1130 pseudo-op.
1131 * testsuite/gas/mips/mips16e-save-err.s: Likewise.
1132 * testsuite/gas/mips/mips.exp: Run SAVE/RESTORE tests across all
1133 MIPS16e architectures.
1134
1135 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1136
1137 * testsuite/gas/mips/mips16e-save-err.d: New test.
1138 * gas/testsuite/gas/mips/mips.exp: Fold `mips16e-save-err' list
1139 test into the new test.
1140
1141 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1142
1143 * testsuite/gas/mips/mips16e-save.d: Capitalize the `name'
1144 option.
1145
1146 2017-06-26 Kuan-Lin Chen <rufus@andestech.com>
1147
1148 * config/tc-riscv.c (md_apply_fix) [BFD_RELOC_32]: Convert to a
1149 R_RISCV_32_PCREL relocation.
1150
1151 2017-06-26 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 PR gas/21661
1154 * config/obj-elf.c (obj_elf_symver): Don't allow .symver with
1155 common symbol.
1156 (elf_frob_symbol): Likewise.
1157 * testsuite/gas/elf/elf.exp: Run pr21661.
1158 * testsuite/gas/elf/pr21661.d: New file.
1159 * testsuite/gas/elf/pr21661.s: Likewise.
1160
1161 2017-06-26 Nick Clifton <nickc@redhat.com>
1162
1163 * config/tc-arm.c (fpu_any): Only define for ELF based targets.
1164
1165 2017-06-26 Claudiu Zissulescu <claziss@synopsys.com>
1166
1167 * /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known
1168 instructions to be accounted as jumps.
1169 (assemble_insn): Check for limms into the delay slots. Emit an
1170 error if so.
1171 * testsuite/gas/arc/asm-errors-3.d: New file.
1172 * testsuite/gas/arc/asm-errors-3.err: Likewise.
1173 * testsuite/gas/arc/asm-errors-3.s: Likewise.
1174
1175 2017-06-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1176
1177 * NEWS: Mention support of ARM Cortex-R52 processor.
1178 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-R52 processor.
1179 * doc/c-arm.texi: Mention support for -mcpu=cortex-r52.
1180
1181 2017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1182
1183 * NEWS: Mention support for ARMv8-R architecture.
1184 * config/tc-arm.c (arm_archs): Add entry for ARMv8-R.
1185 (arm_extensions): Restrict pan, ras and rdma extension to
1186 ARMv8-A and make crypto, fp and simd extensions available to
1187 ARMv8-R.
1188 (cpu_arch_ver): Add entry for ARMv8-R.
1189 (aeabi_set_public_attributes): Update gas_assert for Tag_DIV_use
1190 logic.
1191 * testsuite/gas/arm/armv8-a+fp.s: Rename into ...
1192 * testsuite/gas/arm/armv8-ar+fp.s: This. Remove .arch directive.
1193 * testsuite/gas/arm/armv8-a+fp.d: Specify source to assemble and
1194 architecture to assemble for.
1195 * testsuite/gas/arm/armv8-r+fp.d: New.
1196 * testsuite/gas/arm/armv8-a+simd.s: Rename into ...
1197 * testsuite/gas/arm/armv8-ar+simd.s: This. Remove .arch directive.
1198 * testsuite/gas/arm/armv8-a+simd.d: Specify source to assemble and
1199 architecture to assemble for.
1200 * testsuite/gas/arm/armv8-r+simd.d: New.
1201 * testsuite/gas/arm/armv8-a-bad.s: Rename into ...
1202 * testsuite/gas/arm/armv8-ar-bad.s: This. Remove .arch directive.
1203 * testsuite/gas/arm/armv8-a-bad.l: Rename into ...
1204 * testsuite/gas/arm/armv8-ar-bad.l: This. Decrement line number by 1.
1205 * testsuite/gas/arm/armv8-a-bad.d: Specify source to assemble,
1206 architecture to assemble for and adjust error output file.
1207 * testsuite/gas/arm/armv8-r-bad.d: New.
1208 * testsuite/gas/arm/armv8-a-barrier.s: Rename into ...
1209 * testsuite/gas/arm/armv8-ar-barrier.s: This.
1210 * testsuite/gas/arm/armv8-a-barrier-arm.d: Adjust source.
1211 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
1212 * testsuite/gas/arm/armv8-r-barrier-arm.d: New.
1213 * testsuite/gas/arm/armv8-r-barrier-thumb.d: New.
1214 * testsuite/gas/arm/armv8-a-it-bad.s: Rename into ...
1215 * testsuite/gas/arm/armv8-ar-it-bad.s: This. Remove .arch directive.
1216 * testsuite/gas/arm/armv8-a-it-bad.l: Rename into ...
1217 * testsuite/gas/arm/armv8-ar-it-bad.l: This. Decrement line number
1218 by 1.
1219 * testsuite/gas/arm/armv8-a-it-bad.d: Specify source to assemble,
1220 architecture to assemble for and adjust error output file.
1221 * testsuite/gas/arm/armv8-r-it-bad.d: New.
1222 * testsuite/gas/arm/armv8-a.s: Rename into ...
1223 * testsuite/gas/arm/armv8-ar.s: This. Remove .arch directive.
1224 * testsuite/gas/arm/armv8-a.d: Specify source to assemble and
1225 architecture to assemble for.
1226 * testsuite/gas/arm/armv8-r.d: New.
1227 * testsuite/gas/arm/attr-march-armv8-r+crypto.d: New.
1228 * testsuite/gas/arm/attr-march-armv8-r+fp.d: New.
1229 * testsuite/gas/arm/attr-march-armv8-r+simd.d: New.
1230 * testsuite/gas/arm/attr-march-armv8-r.d: New.
1231 * testsuite/gas/arm/crc32.s: Rename into ...
1232 * testsuite/gas/arm/crc32-armv8-ar.s: This.
1233 * testsuite/gas/arm/crc32.d: Rename into ...
1234 * testsuite/gas/arm/crc32-armv8-a.d: This. Specify source to assemble.
1235 * testsuite/gas/arm/crc32-armv8-r.d: New.
1236 * testsuite/gas/arm/crc32-bad.s: Rename into ...
1237 * testsuite/gas/arm/crc32-armv8-ar-bad.s: This.
1238 * testsuite/gas/arm/crc32-bad.d: Rename into ...
1239 * testsuite/gas/arm/crc32-armv8-a-bad.d: This. Specify source to
1240 assemble.
1241 * testsuite/gas/arm/crc32-armv8-r-bad.d: New.
1242 * testsuite/gas/arm/mask_1.s: Rename into ...
1243 * testsuite/gas/arm/mask_1-armv8-ar.s: This.
1244 * testsuite/gas/arm/mask_1.d: Rename into ...
1245 * testsuite/gas/arm/mask_1-armv8-a.d: This. Specify source to
1246 assemble.
1247 * testsuite/gas/arm/mask_1-armv8-r.d: new.
1248
1249 2017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1250
1251 * config/tc-arm.c (arm_ext_v6m): Delete.
1252 (arm_ext_v7m): Delete.
1253 (arm_ext_m): Remove ARM_EXT_OS from the set of feature defined M
1254 profile.
1255 (arm_arch_v6m_only): Delete.
1256 (do_t_swi): Remove special case for ARMv6S-M.
1257 (md_assemble): Display error message previously in do_t_swi when
1258 SVC is not available.
1259 (insns): Guard swi and svc by arm_ext_os for Thumb mode.
1260 (aeabi_set_public_attributes): Remove special case for ARMv6S-M.
1261
1262 2017-05-11 Andrew Waterman <andrew@sifive.com>
1263
1264 * config/tc-riscv.c (riscv_ip): Changes as_warn to as_bad for improper
1265 shift amounts.
1266
1267 2017-06-22 Nick Clifton <nickc@redhat.com>
1268
1269 * config/tc-arm.c (arm_ext_v7m): Add ATTRIBUTE_UNUSED.
1270
1271 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1272
1273 * config/tc-arm.c (fpu_any): Defined from FPU_ANY.
1274 (cpu_arch_ver): Add all architectures and sort by release date.
1275 (have_ext_for_needed_feat_p): New.
1276 (get_aeabi_cpu_arch_from_fset): New.
1277 (aeabi_set_public_attributes): Call above function to determine
1278 Tag_CPU_arch and Tag_CPU_arch_profile values. Adapt Tag_ARM_ISA_use
1279 and Tag_THUMB_ISA_use selection logic to check absence of feature bit
1280 accordingly.
1281 * testsuite/gas/arm/attr-march-armv1.d: Fix expected Tag_CPU_arch build
1282 attribute value.
1283 * testsuite/gas/arm/attr-march-armv2.d: Likewise.
1284 * testsuite/gas/arm/attr-march-armv2a.d: Likewise.
1285 * testsuite/gas/arm/attr-march-armv2s.d: Likewise.
1286 * testsuite/gas/arm/attr-march-armv3.d: Likewise.
1287 * testsuite/gas/arm/attr-march-armv3m.d: Likewise.
1288 * testsuite/gas/arm/pr12198-2.d: Likewise.
1289
1290 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1291
1292 * testsuite/gas/i386/cet-intel.d: Updated.
1293 * testsuite/gas/i386/cet.d: Likewise.
1294 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1295 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1296 * testsuite/gas/i386/cet.s: Update incsspd and setssbsy tests.
1297 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1298
1299 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1300
1301 * testsuite/gas/i386/cet-intel.d: Updated.
1302 * testsuite/gas/i386/cet.d: Likewise.
1303 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1304 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1305 * testsuite/gas/i386/cet.s: Replace savessp with saveprevssp.
1306 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1307
1308 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1309
1310 * config/tc-i386.c (md_assemble): Update NOTRACK prefix check.
1311 * testsuite/gas/i386/notrack-intel.d: Updated.
1312 * testsuite/gas/i386/notrack.d: Likewise.
1313 * testsuite/gas/i386/notrackbad.l: Likewise.
1314 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
1315 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
1316 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1317 * testsuite/gas/i386/notrack.s: Add NOTRACK prefix tests with
1318 memory indirect branch.
1319 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
1320 * testsuite/gas/i386/notrackbad.s: Remove memory indirect branch
1321 with NOTRACK prefix.
1322 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
1323
1324 2017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
1325
1326 * config/tc-arm.c (arm_extensions): New duplicate idiv entry to enable
1327 Thumb division for ARMv7 architecture.
1328 (arm_parse_extension): Document expected behavior for duplicate
1329 entries.
1330 (s_arm_arch_extension): Likewise.
1331 * testsuite/gas/arm/forbid-armv7-idiv-ext.d: New test.
1332 * testsuite/gas/arm/forbid-armv7-idiv-ext.l: New expected output for
1333 above test.
1334
1335 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1336
1337 * config/tc-arm.c (aeabi_set_public_attributes): Populate flags from
1338 feature bits used or selected_cpu depending on whether a CPU was
1339 selected by the user.
1340
1341 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1342
1343 * config/tc-arm.c (aeabi_set_public_attributes): Test *mcpu_ext_opt to
1344 decide whether to set Tag_DSP_extension build attribute value. Remove
1345 now useless arm_arch variable.
1346
1347 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1348
1349 * config/tc-arm.c (dyn_mcpu_ext_opt): New static variable.
1350 (dyn_march_ext_opt): Likewise.
1351 (md_begin): Copy extension feature bits alongside architecture ones.
1352 Merge extensions feature bits in selected_cpu and cpu_variant if there
1353 is some.
1354 (arm_parse_extension): Pass architecture and extension feature bits in
1355 separate parameters, with architecture bits being read only. Update
1356 **opt_p directly rather than *ext_set and initialize it if needed.
1357 (arm_parse_cpu): Stop merging architecture and extension feature bits
1358 and instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
1359 respectively. Adapt to change in parameters of arm_parse_extension.
1360 (arm_parse_arch): Adapt to change in parameters of arm_parse_extension.
1361 (aeabi_set_attribute_string): Make function static.
1362 (arm_md_post_relax): New function.
1363 (s_arm_cpu): Stop merging architecture and extension feature bits and
1364 instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
1365 respectively. Merge extension feature bits in cpu_variant
1366 if there is any.
1367 (s_arm_arch): Reset extension feature bit. Set selected_cpu from
1368 *mcpu_cpu_opt and cpu_variant from selected_cpu and *mfpu_opt for
1369 consistency with s_arm_cpu.
1370 (s_arm_arch_extension): Update *dyn_mcpu_ext_opt rather than
1371 selected_cpu, allocating it before hand if needed. Set selected_cpu
1372 from it and then cpu_variant.
1373 (s_arm_fpu): Merge *mcpu_ext_opt feature bits if any in cpu_variant.
1374 * config/tc-arm.h (md_post_relax_hook): Set to arm_md_post_relax.
1375 (aeabi_set_public_attributes): Delete external declaration.
1376 (arm_md_post_relax): Declare externally.
1377
1378 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1379
1380 * config/tc-arm.c (struct arm_cpu_option_table): New ext field.
1381 (ARM_CPU_OPT): Add parameter to set new ext field and reorder canonical
1382 name field just after the name field.
1383 (arm_cpus): Move extension feature bit from value field to ext field,
1384 reorder parameter according to changes in ARM_CPU_OPT and reindent.
1385 (arm_parse_cpu): Point mcpu_cpu_opt to a bitfield merging the value and
1386 ext field from the selected arm_cpus entry.
1387 (s_arm_cpu): Likewise.
1388
1389 2017-06-21 James Greenhalgh <james.greenhalgh@arm.com>
1390
1391 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75.
1392 * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75.
1393
1394 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1395
1396 PR binutils/21594
1397 * testsuite/gas/i386/mpx.s: Add 2 tests with invalid bnd
1398 register.
1399 * testsuite/gas/i386/x86-64-mpx.s: Likewise.
1400 * testsuite/gas/i386/mpx.d: Updated.
1401 * testsuite/gas/i386/x86-64-mpx.d: Likewise.
1402
1403 2017-06-14 Max Filippov <jcmvbkbc@gmail.com>
1404
1405 * config/tc-xtensa.c (density_supported, xtensa_fetch_width,
1406 absolute_literals_supported): Leave definitions uninitialized.
1407 (directive_state): Leave entries for directive_density and
1408 directive_absolute_literals initialized to false.
1409 (xg_init_global_config, xtensa_init): New functions.
1410 * config/tc-xtensa.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
1411 (HOST_SPECIAL_INIT): New definition.
1412 (xtensa_init): New declaration.
1413
1414 2017-06-07 Michael Collison <michael.collison@arm.com>
1415
1416 * config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
1417 IP1, FP, and LR as register aliases of register 16, 17, 29
1418 and 30 respectively.
1419 * testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
1420 prohibiting register 'lr' which is now an alias.
1421 * testsuite/gas/aarch64/diagnostic.s: Remove instruction
1422 utilizing register 'lr' which is now an alias.
1423
1424 2017-06-06 Jiong Wang <jiong.wang@arm.com>
1425
1426 * config/tc-arm.c (reject_bad_reg): Allow REG_SP on ARMv8-A.
1427 (parse_operands): Allow REG_SP for OP_oRRnpcsp and OP_RRnpcsp on
1428 ARMv8-A.
1429 (do_co_reg): Allow REG_SP for Rd on ARMv8-A.
1430 (do_t_add_sub): Likewise.
1431 (do_t_mov_cmp): Likewise.
1432 (do_t_tb): Likewise.
1433 * testsuite/gas/arm/ld-sp-warn.l: Delete the warning on REG_SP as Rt for
1434 ldrsb.
1435 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: New test.
1436 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: New test.
1437 * testsuite/gas/arm/sp-pc-validations-bad-t.d: Specifies -march=armv7-a.
1438 * testsuite/gas/arm/sp-pc-validations-bad-t.s: Remove ".arch armv7-a".
1439 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d: New test.
1440 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.l: New test.
1441 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v8.d: New test.
1442 * testsuite/gas/arm/sp-usage-thumb2-relax.s: New test.
1443 * testsuite/gas/arm/strex-bad-t.d: Specifies -march=armv7-a.
1444
1445 2017-06-05 Jim Wilson <jim.wilson@linaro.org>
1446
1447 * config/tc-arm.c (arm_cpus): Delete falkor and qdf24xx entries.
1448 * doc/c-arm.texi (-mcpu): Likewise.
1449
1450 2017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
1451
1452 * config/tc-arc.c (cpu_types): Include arc-cpu.def
1453
1454 2017-05-23 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
1457 targets.
1458 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1459
1460 2017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1461
1462 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
1463 (assemble_insn): Use as_bad.
1464
1465 2017-05-22 H.J. Lu <hongjiu.lu@intel.com>
1466
1467 * config/tc-i386.c (REX_PREFIX): Changed to 7.
1468 (NOTRACK_PREFIX): New.
1469 (MAX_PREFIXES): Changed to 8.
1470 (_i386_insn): Add notrack_prefix.
1471 (PREFIX_GROUP): Add PREFIX_DS.
1472 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
1473 (md_assemble): Check if NOTRACK prefix is supported.
1474 (parse_insn): Set notrack_prefix and issue an error for
1475 other prefixes after NOTRACK prefix.
1476 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
1477 * testsuite/gas/i386/notrack-intel.d: New file.
1478 * testsuite/gas/i386/notrack.d: Likewise.
1479 * testsuite/gas/i386/notrack.s: Likewise.
1480 * testsuite/gas/i386/notrackbad.l: Likewise.
1481 * testsuite/gas/i386/notrackbad.s: Likewise.
1482 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
1483 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
1484 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
1485 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1486 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
1487
1488 2017-05-22 Jiong Wang <jiong.wang@arm.com>
1489
1490 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
1491 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
1492 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
1493 * configure: Regenerate.
1494 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
1495 (md_after_parse_args): New define.
1496 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
1497 AARCH64_ABI_NONE.
1498 (DEFAULT_ARCH): New define.
1499 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
1500 (aarch64_after_parse_args): New function.
1501
1502 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1503
1504 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
1505 `v9m8' and `v8plusm8'.
1506 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
1507 (get_hwcap_name): Support the M8 hardware capabilities.
1508 (sparc_ip): Handle new operand types.
1509 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
1510 -Asparc6, and the corresponding -xarch aliases.
1511 * testsuite/gas/sparc/sparc6.s: New file.
1512 * testsuite/gas/sparc/sparc6.d: Likewise.
1513 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
1514 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
1515 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
1516 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
1517 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
1518 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
1519 * testsuite/gas/sparc/ldm-stm.s: Likewise.
1520 * testsuite/gas/sparc/ldm-stm.d: Likewise.
1521 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
1522 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
1523 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
1524 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
1525 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
1526 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
1527 * testsuite/gas/sparc/on.s: Likewise.
1528 * testsuite/gas/sparc/on.d: Likewise.
1529 * testsuite/gas/sparc/on-diag.s: Likewise.
1530 * testsuite/gas/sparc/on-diag.l: Likewise.
1531 * testsuite/gas/sparc/rle.s: Likewise.
1532 * testsuite/gas/sparc/rle.d: Likewise.
1533 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
1534 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
1535 * testsuite/gas/sparc/rdasr.d: Likewise.
1536
1537 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1538
1539 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
1540 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
1541 run asi-bump-warn.
1542
1543 2017-05-19 Georg-Johann Lay <avr@gjlay.de>
1544
1545 PR ld/21472
1546 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
1547 attiny417, attiny816, attiny817.
1548
1549 2017-05-18 Alan Modra <amodra@gmail.com>
1550
1551 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
1552 * config/tc-hppa.c: Likewise.
1553 * config/tc-mips.c: Likewise.
1554 * config/tc-score7.c: Likewise.
1555
1556 2017-05-16 Alan Modra <amodra@gmail.com>
1557
1558 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
1559 (TC_FORCE_RELOCATION_LOCAL): Use it.
1560 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
1561 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
1562 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
1563 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
1564 * config/tc-aarch64.h: Similarly.
1565 * config/tc-avr.h: Similarly.
1566 * config/tc-cris.h: Similarly.
1567 * config/tc-i386.h: Similarly.
1568 * config/tc-i960.h: Similarly.
1569 * config/tc-ia64.h: Similarly.
1570 * config/tc-microblaze.h: Similarly.
1571 * config/tc-mips.h: Similarly.
1572 * config/tc-msp430.h: Similarly.
1573 * config/tc-nds32.h: Similarly.
1574 * config/tc-pru.h: Similarly.
1575 * config/tc-riscv.h: Similarly.
1576 * config/tc-rl78.h: Similarly.
1577 * config/tc-s390.h: Similarly.
1578 * config/tc-sh.h: Similarly.
1579 * config/tc-sh64.h: Similarly.
1580 * config/tc-sparc.h: Similarly.
1581 * config/tc-xtensa.h: Similarly.
1582 * config/tc-mn10300.h: Similarly.
1583 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
1584 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
1585 be addition to rather than replacement of standard
1586 TC_FORCE_RELOCATION_LOCAL.
1587
1588 2017-05-15 Nick Clifton <nickc@redhat.com>
1589
1590 PR gas/21458
1591 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
1592 symbol, ensure that the T bit will be set.
1593 (do_adrl): Likewise.
1594 (do_t_adr): Likewise.
1595 * testsuite/gas/arm/pr21458.s: New test.
1596 * testsuite/gas/arm/pr21458.d: New test driver.
1597
1598 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1599
1600 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
1601 flags.
1602 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
1603 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
1604 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
1605 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
1606 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
1607 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
1608 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
1609 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
1610 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
1611 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
1612 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
1613 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
1614 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
1615 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
1616 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
1617 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
1618 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
1619 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
1620 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
1621 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
1622 Likewise.
1623 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
1624 Likewise.
1625 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
1626 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
1627 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
1628 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
1629 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
1630 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
1631 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
1632 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
1633 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
1634 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
1635 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
1636 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
1637 Likewise.
1638 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
1639 Likewise.
1640 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
1641 Likewise.
1642 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
1643 Likewise.
1644 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
1645 Likewise.
1646 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
1647 Likewise.
1648 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
1649 Likewise.
1650 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
1651 Likewise.
1652 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
1653 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
1654 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
1655 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
1656 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
1657 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
1658 test.
1659 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
1660 test.
1661 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
1662 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
1663 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
1664 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
1665 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
1666 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
1667 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
1668 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
1669 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
1670 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
1671 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
1672 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
1673 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
1674 test.
1675 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
1676 test.
1677 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
1678 New test.
1679 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
1680 New test.
1681 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
1682 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
1683 test.
1684 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
1685 test.
1686 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
1687 test.
1688 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
1689 test.
1690 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
1691 test.
1692 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
1693 test.
1694 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
1695 test.
1696 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
1697 test.
1698 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
1699 test.
1700 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
1701 test.
1702 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
1703 test.
1704 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
1705 New test.
1706 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
1707 New test.
1708 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
1709 New test.
1710 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
1711 New test.
1712 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
1713 New test.
1714 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
1715 New test.
1716 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
1717 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
1718 preservation between MIPS16 and MIPS16e2 code.
1719 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
1720 all MIPS16 architectures.
1721
1722 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1723
1724 * testsuite/gas/mips/mips16e2.d: New test.
1725 * testsuite/gas/mips/mips16e2-mt.d: New test.
1726 * testsuite/gas/mips/mips16e2-sub.d: New test.
1727 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
1728 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
1729 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
1730 * testsuite/gas/mips/mips16e2-hilo.d: New test.
1731 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
1732 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
1733 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
1734 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
1735 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
1736 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
1737 * testsuite/gas/mips/mips16e2-lui.d: New test.
1738 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
1739 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
1740 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
1741 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
1742 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
1743 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
1744 * testsuite/gas/mips/mips16e2.s: New test source.
1745 * testsuite/gas/mips/mips16e2-mt.s: New test source.
1746 * testsuite/gas/mips/mips16e2-sub.s: New test source.
1747 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
1748 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
1749 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
1750 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
1751 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
1752 * testsuite/gas/mips/mips16e2-lui.s: New test source.
1753 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
1754 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
1755 architectures. Run the new tests.
1756
1757 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1758
1759 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
1760 `mips16e2@' prefix.
1761 (run_list_test_arch): Likewise.
1762 (mips16e2-32, mips16e2-64): New architectures.
1763 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
1764 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
1765 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
1766 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
1767 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
1768 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
1769 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
1770 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
1771 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
1772 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
1773 tag. Add `-I$srcdir/$subdir' to `as' flags.
1774 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
1775 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
1776 output.
1777 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
1778 output.
1779 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
1780 output.
1781 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
1782 output.
1783 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
1784 output.
1785 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
1786 * testsuite/gas/mips/mips16e-sub.s: Likewise.
1787 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
1788 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
1789 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
1790 source.
1791 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
1792 source.
1793
1794 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1795 Matthew Fortune <matthew.fortune@imgtec.com>
1796 Andrew Bennett <andrew.bennett@imgtec.com>
1797
1798 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
1799 (RELAX_MIPS16_E2): New macro.
1800 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
1801 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
1802 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
1803 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
1804 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
1805 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
1806 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
1807 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
1808 (mips16_immed_extend): New prototype.
1809 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
1810 values.
1811 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
1812 (mips_ases): Add "mips16e2" entry.
1813 (mips_set_ase): Handle MIPS16e2 ASE.
1814 (insn_insert_operand): Explicitly handle immediates with MIPS16
1815 instructions that require 32-bit encoding.
1816 (is_opcode_valid_16): Pass enabled ASE bitmask on to
1817 `opcode_is_member'.
1818 (validate_mips_insn): Explicitly handle immediates with MIPS16
1819 instructions that require 32-bit encoding.
1820 (operand_reg_mask) <OP_REG28>: Add handler.
1821 (match_reg28_operand): New function.
1822 (match_operand) <OP_REG28>: Add handler.
1823 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
1824 (match_mips16_insn): Handle MIPS16 instructions that require
1825 32-bit encoding and `V' and `u' operand codes.
1826 (mips16_ip): Allow any characters except from `.' in opcodes.
1827 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
1828 immediates whose width is not one of these listed.
1829 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
1830 (mips_relax_frag): Likewise.
1831 (md_convert_frag): Likewise.
1832 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
1833
1834 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
1835 `-mno-mips16e2' options.
1836 (-mmips16e2, -mno-mips16e2): New options.
1837 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
1838 `-mno-mips16e2' options.
1839 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
1840 and `.set nomips16e2'.
1841
1842 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1843
1844 * config/tc-mips.c (match_int_operand): Call
1845 `match_out_of_range' before returning failure for 0x8000-0xffff
1846 values conditionally allowed.
1847
1848 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1849
1850 * config/tc-mips.c (match_int_operand): Call
1851 `match_not_constant' before returning failure for a non-constant
1852 16-bit immediate conditionally allowed.
1853
1854 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1855
1856 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
1857 rather than `match_not_constant' for unrelocated operands
1858 retrieved as an `O_big' expression.
1859 (match_int_operand): Call `match_out_of_range' for relocatable
1860 operands retrieved as an `O_big' expression.
1861 (match_mips16_insn): Call `match_out_of_range' for relaxable
1862 operands retrieved as an `O_big' expression.
1863 * testsuite/gas/mips/addiu-error.d: New test.
1864 * testsuite/gas/mips/mips16@addiu-error.d: New test.
1865 * testsuite/gas/mips/micromips@addiu-error.d: New test.
1866 * testsuite/gas/mips/break-error.d: New test.
1867 * testsuite/gas/mips/lui-1.l: Adjust error message.
1868 * testsuite/gas/mips/addiu-error.l: New stderr output.
1869 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
1870 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
1871 * testsuite/gas/mips/break-error.l: New stderr output.
1872 * testsuite/gas/mips/addiu-error.s: New test source.
1873 * testsuite/gas/mips/break-error.s: New test source.
1874 * testsuite/gas/mips/mips.exp: Run the new tests.
1875
1876 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1877
1878 * config/tc-mips.c (match_mips16_insn): Remove the explicit
1879 OT_INTEGER check before the `match_expression' call.
1880 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
1881 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
1882 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
1883 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
1884 * testsuite/gas/mips/mips16-reg-error.d: New test.
1885 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
1886 * testsuite/gas/mips/mips16-reg-error.s: New test source.
1887 * testsuite/gas/mips/mips.exp: Run the new test.
1888
1889 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1890
1891 * config/tc-mips.c (match_mips16_insn): Call
1892 `match_not_constant' for a disallowed relocation operation.
1893 * testsuite/gas/mips/mips16-reloc-error.d: New test.
1894 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
1895 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
1896 * testsuite/gas/mips/mips.exp: Run the new test.
1897
1898 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1899
1900 * testsuite/gas/mips/lui-1.d: New test.
1901 * testsuite/gas/mips/lui-2.d: New test.
1902 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
1903 into the new tests.
1904
1905 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1906
1907 * config/tc-mips.c (match_const_int): Update description.
1908
1909 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1910
1911 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
1912 mips16' rather than `.set mips16'.
1913 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
1914 `.module nomicromips' rather than `.set micromips' and `.set
1915 nomicromips'.
1916 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
1917 rather than `.set smartmips'.
1918 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
1919 `.module micromips', `.module nomicromips' and `.module
1920 smartmips' rather than `.set mips16', `.set micromips', `.set
1921 nomicromips' and `.set smartmips' respectively.
1922
1923 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
1924 Matthew Fortune <matthew.fortune@imgtec.com>
1925
1926 * config/tc-mips.c (mips_percent_op): Add "%gprel".
1927 (mips16_percent_op): Add "%gp_rel".
1928 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
1929 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
1930 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
1931 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
1932
1933 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
1934
1935 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
1936 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
1937 * testsuite/gas/mips/mips16-64.d: Likewise.
1938 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
1939 * testsuite/gas/mips/mips16-macro.d: Likewise.
1940 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
1941 * testsuite/gas/mips/mips16-sub.d: Likewise.
1942 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
1943
1944 2017-05-11 Maciej W. Rozycki <macro@imgtec.com>
1945
1946 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
1947 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
1948 * testsuite/gas/mips/mips.exp: Run the new tests.
1949
1950 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1951
1952 * testsuite/gas/mips/isa-override-2.d: New test.
1953 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
1954 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
1955 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
1956 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
1957 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
1958 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
1959 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
1960 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
1961 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
1962 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
1963 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
1964 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
1965 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
1966 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
1967 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
1968 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
1969 source.
1970 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
1971 source.
1972 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
1973 source.
1974 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
1975 source.
1976 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
1977 source.
1978 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
1979 source.
1980 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
1981 into the new tests.
1982
1983 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1984
1985 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
1986 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
1987 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
1988 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
1989 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
1990 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
1991 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
1992
1993 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1994
1995 * testsuite/gas/mips/mips16-macro.l: Remove list test.
1996
1997 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1998
1999 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
2000 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
2001 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
2002 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
2003 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
2004 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
2005 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
2006 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
2007 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
2008 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
2009 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
2010 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
2011 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
2012 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
2013 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
2014 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
2015 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
2016 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
2017 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
2018 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
2019
2020 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
2021
2022 * testsuite/gas/arc/attr-arc600.d: New file.
2023 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
2024 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
2025 * testsuite/gas/arc/attr-arc601.d: Likewise.
2026 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
2027 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
2028 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
2029 * testsuite/gas/arc/attr-arc700.d: Likewise.
2030 * testsuite/gas/arc/attr-arcem.d: Likewise.
2031 * testsuite/gas/arc/attr-archs.d: Likewise.
2032 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
2033 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
2034 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
2035 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
2036 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
2037 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
2038 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
2039 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
2040 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
2041 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
2042 * testsuite/gas/arc/attr-em.d: Likewise.
2043 * testsuite/gas/arc/attr-em4.d: Likewise.
2044 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
2045 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
2046 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
2047 * testsuite/gas/arc/attr-hs.d: Likewise.
2048 * testsuite/gas/arc/attr-hs34.d: Likewise.
2049 * testsuite/gas/arc/attr-hs38.d: Likewise.
2050 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
2051 * testsuite/gas/arc/attr-mul64.d: Likewise.
2052 * testsuite/gas/arc/attr-name.d: Likewise.
2053 * testsuite/gas/arc/attr-name.s: Likewise.
2054 * testsuite/gas/arc/attr-nps400.d: Likewise.
2055 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
2056 * testsuite/gas/arc/attr-override-mcpu.s
2057 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
2058 * testsuite/gas/arc/blank.s: Likewise.
2059 * testsuite/gas/elf/section2.e-arc: Likewise.
2060 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
2061 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
2062 * testsuite/gas/arc/nps400-0.d: Likewise.
2063 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
2064 * config/tc-arc.c (opcode/arc-attrs.h): Include.
2065 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
2066 (arc_attribute): Declare new function.
2067 (md_pseudo_table): Add arc_attribute.
2068 (cpu_types): Rename default cpu features.
2069 (selected_cpu): Set the default OSABI flag.
2070 (mpy_option): New variable.
2071 (pic_option): Likewise.
2072 (sda_option): Likewise.
2073 (tls_option): Likewise.
2074 (feature_type, feature_list): Remove.
2075 (arc_initial_eflag): Likewise.
2076 (attributes_set_explicitly): New variable.
2077 (arc_check_feature): Check also for the conflicting features.
2078 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
2079 (arc_option): Remove setting of private flags and architecture.
2080 (check_cpu_feature): Refactor feature names.
2081 (autodetect_attributes): New function.
2082 (assemble_tokens): Use above function.
2083 (md_parse_option): Refactor feature names.
2084 (arc_attribute): New function.
2085 (arc_set_attribute_int): Likewise.
2086 (arc_set_attribute_string): Likewise.
2087 (arc_stralloc): Likewise.
2088 (arc_set_public_attributes): Likewise.
2089 (arc_md_end): Likewise.
2090 (arc_copy_symbol_attributes): Likewise.
2091 (rc_convert_symbolic_attribute): Likewise.
2092 * config/tc-arc.h (md_end): Define.
2093 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
2094 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
2095 * doc/c-arc.texi: Document ARC object attributes.
2096
2097 2017-05-03 Maciej W. Rozycki <macro@imgtec.com>
2098
2099 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
2100 `nomacro' flags.
2101 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
2102 New macros.
2103 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
2104 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
2105 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
2106 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
2107 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
2108 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
2109 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
2110 (RELAX_MIPS16_CLEAR_MACRO): New macros.
2111 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
2112 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
2113 (mips16_macro_frag): New function.
2114 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
2115 (mips_relax_frag): Likewise.
2116 (md_convert_frag): Likewise.
2117
2118 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
2119 add dump patterns.
2120 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
2121 subarchitecture.
2122 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
2123 NOP padding.
2124 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
2125 output, add dump patterns.
2126 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
2127 output, add dump patterns.
2128 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
2129 output, add dump patterns.
2130 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
2131 output, add dump patterns.
2132 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
2133 output, add dump patterns.
2134 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
2135 output, add dump patterns.
2136 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
2137 output, add dump patterns.
2138 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
2139 output, add dump patterns.
2140 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
2141 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
2142 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
2143 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
2144 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
2145 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
2146 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
2147 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
2148 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
2149 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
2150
2151 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
2152 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
2153 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
2154 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
2155 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
2156 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
2157 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
2158 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
2159 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
2160 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
2161 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
2162 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
2163 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
2164 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
2165 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
2166 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
2167 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
2168 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
2169 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
2170 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
2171 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
2172 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
2173 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
2174 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
2175 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
2176 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
2177 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
2178 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
2179 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
2180 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
2181 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
2182 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
2183 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
2184 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
2185 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
2186 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
2187 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
2188 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
2189 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
2190 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
2191 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
2192 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
2193 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
2194 test.
2195 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
2196 test.
2197 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
2198 test.
2199 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
2200 test.
2201 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
2202 test.
2203 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
2204 test.
2205 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
2206 New test.
2207 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
2208 New test.
2209 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
2210 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
2211 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
2212 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
2213 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
2214 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
2215 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
2216 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
2217 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
2218 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
2219 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
2220 output.
2221 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
2222 output.
2223 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
2224 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
2225 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
2226 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
2227 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
2228 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
2229 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
2230 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
2231 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
2232 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
2233 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
2234 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
2235 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
2236 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
2237 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
2238 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
2239 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
2240 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
2241 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
2242 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
2243 * testsuite/gas/mips/mips.exp: Run the new tests.
2244
2245 2017-05-03 Nick Clifton <nickc@redhat.com>
2246
2247 PR gas/20941
2248 * symbols.c (snapshot_symbol): Handle the case where
2249 resolve_expression returns a local symbol.
2250
2251 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
2252
2253 * config/tc-mips.c (append_insn): Call `symbol_append' for any
2254 expression symbol created for MIPS16 relaxation.
2255 (match_mips16_insn): Don't encode a constant value as an
2256 immediate with a PC-relative operand.
2257
2258 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
2259 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
2260 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
2261 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
2262 test.
2263 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
2264 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
2265 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
2266 test.
2267 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
2268 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
2269 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
2270 test.
2271 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
2272 output.
2273 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
2274 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
2275 source.
2276 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
2277 source.
2278 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
2279 source.
2280 * testsuite/gas/mips/mips.exp: Run the new tests.
2281
2282 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
2283
2284 * config/tc-mips.c (mips16_pcrel_val): New function, factored
2285 out from...
2286 (mips16_extended_frag): ... here.
2287 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
2288 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
2289
2290 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
2291
2292 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
2293 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
2294 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
2295 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
2296 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
2297 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
2298 (mips16_extended_frag): Adjust accordingly.
2299
2300 2017-04-27 Alan Modra <amodra@gmail.com>
2301
2302 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
2303
2304 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
2305
2306 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
2307 (RELAX_PIC): New macro.
2308 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
2309 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
2310 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
2311 Shift bits.
2312 (RELAX_BRANCH_ENCODE): Add `pic' flag.
2313 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
2314 (RELAX_BRANCH_TOOFAR): Shift bits.
2315 (RELAX_BRANCH_PIC): New macro.
2316 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
2317 (RELAX_MICROMIPS_PIC): New macro.
2318 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
2319 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
2320 (RELAX_MICROMIPS_RELAX32): Shift bits.
2321 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
2322 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
2323 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
2324 first fixup created.
2325 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
2326 fixup processed rather than `mips_pic' in choosing to relax an
2327 out of range branch to a jump.
2328 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
2329 rather than `mips_pic'.
2330 (relaxed_micromips_32bit_branch_length): Likewise.
2331 (md_estimate_size_before_relax): Likewise.
2332 (md_convert_frag): Likewise.
2333
2334 * testsuite/gas/mips/option-pic-relax-0.d: New test.
2335 * testsuite/gas/mips/option-pic-relax-1.d: New test.
2336 * testsuite/gas/mips/option-pic-relax-2.d: New test.
2337 * testsuite/gas/mips/option-pic-relax-3.d: New test.
2338 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
2339 * testsuite/gas/mips/option-pic-relax-4.d: New test.
2340 * testsuite/gas/mips/option-pic-relax-5.d: New test.
2341 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
2342 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
2343 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
2344 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
2345 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
2346 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
2347 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
2348 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
2349 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
2350 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
2351 * testsuite/gas/mips/mips.exp: Run the new tests.
2352
2353 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
2354
2355 * testsuite/gas/arc/leave_enter.d: Update test.
2356 * testsuite/gas/arc/leave_enter.s: Likewise.
2357
2358 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
2359
2360 * testsuite/gas/arc/b.d: Update test.
2361 * testsuite/gas/arc/noargs_hs.d: Likewise.
2362
2363 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
2364
2365 * config/tc-mips.c (md_convert_frag): Correct
2366 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
2367 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
2368 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
2369 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
2370 output.
2371 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
2372 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
2373 * testsuite/gas/mips/mips.exp: Run the new tests.
2374
2375 2017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
2376
2377 PR gas/21407
2378 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
2379 instructions into branch instructions in fixups generating
2380 additional relocations.
2381 * testsuite/gas/sparc/call-relax.s: New file.
2382 * testsuite/gas/sparc/call-relax.d: Likewise.
2383 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
2384 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
2385
2386 2017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
2387
2388 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
2389 Forbid MOV.W and MOVW if destination is SP or PC.
2390 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
2391 expectation of LDR not generating a MOVS for low registers and small
2392 constants. Add tests of MOVW generation.
2393 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
2394 expected disassembly.
2395
2396 2017-04-22 Alan Modra <amodra@gmail.com>
2397
2398 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
2399 * testsuite/gas/ppc/vle.d: Update.
2400
2401 2017-04-21 Nick Clifton <nickc@redhat.com>
2402
2403 PR binutils/21380
2404 * testsuite/gas/aarch64/illegal-3.s: New file.
2405 * testsuite/gas/aarch64/illegal-3.d: New file.
2406
2407 2017-04-11 Alan Modra <amodra@gmail.com>
2408
2409 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
2410 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
2411
2412 2017-04-10 Max Filippov <jcmvbkbc@gmail.com>
2413
2414 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
2415 Initialize lps->frag_count with auto_litpool_limit.
2416 (xg_promote_candidate_litpool): New function.
2417 (xtensa_move_literals): Extract candidate litpool promotion code
2418 into separate function. Call it for all possible found
2419 candidates.
2420 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
2421 call to xtensa_mark_literal_pool_location that it guards.
2422 Replace it with call to xtensa_maybe_create_literal_pool_frag.
2423 Initialize pool_location with created literal pool candidate.
2424 * testsuite/gas/xtensa/all.exp: Add new tests.
2425 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
2426 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
2427 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
2428 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
2429 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
2430 to additional jump instruction.
2431
2432 2017-04-07 Alan Modra <amodra@gmail.com>
2433
2434 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
2435 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
2436
2437 2017-04-07 Alan Modra <amodra@gmail.com>
2438
2439 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
2440 for .mbind.text.
2441
2442 2017-04-06 Pip Cet <pipcet@gmail.com>
2443
2444 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
2445 changes.
2446 * testsuite/gas/wasm32/disass.d: New test.
2447 * testsuite/gas/wasm32/disass.s: New test.
2448 * testsuite/gas/wasm32/disass-2.d: New test.
2449 * testsuite/gas/wasm32/disass-2.s: New test.
2450 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
2451 names.
2452 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
2453 syntax.
2454 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
2455 test to succeed.
2456
2457 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
2458
2459 * NEWS: Mention support for ELF SHF_GNU_MBIND.
2460 * config/obj-elf.c (section_match): New.
2461 (get_section): Match both sh_info and group name.
2462 (obj_elf_change_section): Add argument for sh_info. Pass both
2463 sh_info and group name to get_section. Issue an error for
2464 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
2465 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
2466 (obj_elf_section): Support SHF_GNU_MBIND section info.
2467 * config/obj-elf.h (obj_elf_change_section): Add argument for
2468 sh_info.
2469 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
2470 obj_elf_change_section.
2471 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2472 * config/tc-microblaze.c (microblaze_s_data): Likewise.
2473 (microblaze_s_sdata): Likewise.
2474 (microblaze_s_rdata): Likewise.
2475 (microblaze_s_bss): Likewise.
2476 * config/tc-mips.c (s_change_section): Likewise.
2477 * config/tc-msp430.c (msp430_profiler): Likewise.
2478 * config/tc-rx.c (parse_rx_section): Likewise.
2479 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
2480 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
2481 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
2482 section13.
2483 * testsuite/gas/elf/section10.d: Updated.
2484 * testsuite/gas/elf/section10.s: Likewise.
2485 * testsuite/gas/elf/section12.s: New file.
2486 * testsuite/gas/elf/section12a.d: Likewise.
2487 * testsuite/gas/elf/section12b.d: Likewise.
2488 * testsuite/gas/elf/section13.l: Likewise.
2489 * testsuite/gas/elf/section13.d: Likewise.
2490 * testsuite/gas/elf/section13.s: Likewise.
2491
2492 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
2493
2494 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
2495 avoid const warnings.
2496
2497 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
2498
2499 * config/tc-riscv.c (riscv_clear_subsets): New function.
2500 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
2501 clear RVC when it's been previously set.
2502
2503 2017-03-31 Nick Clifton <nickc@redhat.com>
2504
2505 PR gas/21333
2506 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
2507 fixups in mergeable sections to be adjusted.
2508
2509 2017-03-30 Pip Cet <pipcet@gmail.com>
2510
2511 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
2512 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
2513 * Makefile.am: Add WebAssembly assembler target.
2514 * configure.tgt: Add WebAssembly assembler target.
2515 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
2516 assembler.
2517 * doc/all.texi: Define WASM32.
2518 * doc/as.texinfo: Add WebAssembly entries.
2519 * NEWS: Mention the new support.
2520 * Makefile.in: Regenerate.
2521 * po/gas.pot: Regenerate.
2522 * po/POTFILES.in: Regenerate.
2523 * testsuite/gas/wasm32: New directory.
2524 * testsuite/gas/wasm32/allinsn.d: New file.
2525 * testsuite/gas/wasm32/allinsn.s: New file.
2526 * testsuite/gas/wasm32/illegal.l: New file.
2527 * testsuite/gas/wasm32/illegal.s: New file.
2528 * testsuite/gas/wasm32/illegal-2.l: New file.
2529 * testsuite/gas/wasm32/illegal-2.s: New file.
2530 * testsuite/gas/wasm32/illegal-3.l: New file.
2531 * testsuite/gas/wasm32/illegal-3.s: New file.
2532 * testsuite/gas/wasm32/illegal-4.l: New file.
2533 * testsuite/gas/wasm32/illegal-4.s: New file.
2534 * testsuite/gas/wasm32/illegal-5.l: New file.
2535 * testsuite/gas/wasm32/illegal-5.s: New file.
2536 * testsuite/gas/wasm32/illegal-6.l: New file.
2537 * testsuite/gas/wasm32/illegal-6.s: New file.
2538 * testsuite/gas/wasm32/illegal-7.l: New file.
2539 * testsuite/gas/wasm32/illegal-7.s: New file.
2540 * testsuite/gas/wasm32/illegal-8.l: New file.
2541 * testsuite/gas/wasm32/illegal-8.s: New file.
2542 * testsuite/gas/wasm32/illegal-9.l: New file.
2543 * testsuite/gas/wasm32/illegal-9.s: New file.
2544 * testsuite/gas/wasm32/illegal-10.l: New file.
2545 * testsuite/gas/wasm32/illegal-10.s: New file.
2546 * testsuite/gas/wasm32/illegal-11.l: New file.
2547 * testsuite/gas/wasm32/illegal-11.s: New file.
2548 * testsuite/gas/wasm32/illegal-12.l: New file.
2549 * testsuite/gas/wasm32/illegal-12.s: New file.
2550 * testsuite/gas/wasm32/illegal-13.l: New file.
2551 * testsuite/gas/wasm32/illegal-13.s: New file.
2552 * testsuite/gas/wasm32/illegal-14.l: New file.
2553 * testsuite/gas/wasm32/illegal-14.s: New file.
2554 * testsuite/gas/wasm32/illegal-15.l: New file.
2555 * testsuite/gas/wasm32/illegal-15.s: New file.
2556 * testsuite/gas/wasm32/illegal-16.l: New file.
2557 * testsuite/gas/wasm32/illegal-16.s: New file.
2558 * testsuite/gas/wasm32/illegal-17.l: New file.
2559 * testsuite/gas/wasm32/illegal-17.s: New file.
2560 * testsuite/gas/wasm32/illegal-18.l: New file.
2561 * testsuite/gas/wasm32/illegal-18.s: New file.
2562 * testsuite/gas/wasm32/illegal-19.l: New file.
2563 * testsuite/gas/wasm32/illegal-19.s: New file.
2564 * testsuite/gas/wasm32/illegal-20.l: New file.
2565 * testsuite/gas/wasm32/illegal-20.s: New file.
2566 * testsuite/gas/wasm32/illegal-21.l: New file.
2567 * testsuite/gas/wasm32/illegal-21.s: New file.
2568 * testsuite/gas/wasm32/illegal-22.l: New file.
2569 * testsuite/gas/wasm32/illegal-22.s: New file.
2570 * testsuite/gas/wasm32/illegal-24.l: New file.
2571 * testsuite/gas/wasm32/illegal-24.s: New file.
2572 * testsuite/gas/wasm32/illegal-25.l: New file.
2573 * testsuite/gas/wasm32/illegal-25.s: New file.
2574 * testsuite/gas/wasm32/reloc.d: New file.
2575 * testsuite/gas/wasm32/reloc.s: New file.
2576 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
2577 architecture.
2578
2579 2017-03-29 Alan Modra <amodra@gmail.com>
2580
2581 * config/tc-ppc.c (md_parse_option): Reject -mraw.
2582
2583 2017-03-27 Alan Modra <amodra@gmail.com>
2584
2585 PR 21303
2586 * testsuite/gas/ppc/pr21303.d,
2587 * testsuite/gas/ppc/pr21303.s: New test
2588 * testsuite/gas/ppc/ppc.exp: Run it.
2589
2590 2017-03-27 Rinat Zelig <rinat@mellanox.com>
2591
2592 * testsuite/gas/arc/nps400-12.s: New file.
2593 * testsuite/gas/arc/nps400-12.d: New file.
2594
2595 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
2596
2597 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
2598 CPU_DEFAULT is defined.
2599
2600 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
2601
2602 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
2603 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
2604 print an invalid default ISA string.
2605 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
2606
2607 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
2608
2609 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
2610 reassigned fixup to size of jump instruction (3) and fx_r_type
2611 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
2612 (add_jump_to_trampoline): Search
2613 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
2614 symbol and use that slot instead of slot 0.
2615
2616 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2617
2618 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
2619 from cpu_table. Remove vx2, and novx2 from cpu_flags.
2620
2621 2017-03-21 Rinat Zelig <rinat@mellanox.com>
2622
2623 * testsuite/gas/arc/nps400-11.s: New file.
2624 * testsuite/gas/arc/nps400-11.d: New file.
2625
2626 2017-03-20 Nick Clifton <nickc@redhat.com>
2627
2628 * doc/as.texinfo (2byte): Note that if no expressions are present
2629 the directive does nothing. Emphasize that the output is
2630 unaligned, and that this can have an effect on the relocations
2631 generated.
2632 (4byte): Simplify description. Refer back to the 2byte
2633 description.
2634 (8byte): Likewise.
2635
2636 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
2637
2638 * config/tc-arm.c (arm_fpus): Note entires that should not be
2639 documented.
2640 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
2641 neon-fp16. Fix spelling error.
2642
2643 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
2644
2645 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
2646
2647 2017-03-16 Rinat Zelig <rinat@mellanox.com>
2648
2649 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
2650 specially for ARCv2.
2651
2652 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
2653
2654 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
2655 encoding format, which can accept 0-valued immediates.
2656 (riscv_ip): Likewise.
2657
2658 2017-03-15 Nick Clifton <nickc@redhat.com>
2659
2660 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
2661 warning about discarding a const qualifier.
2662
2663 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2664
2665 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
2666
2667 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2668
2669 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
2670 fx_next->fx_frag for CFA_advance_loc relocations.
2671
2672 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2673
2674 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
2675 for CFA relocations.
2676
2677 2017-03-13 Nick Clifton <nickc@redhat.com>
2678
2679 PR binutils/21202
2680 * config/tc-aarch64.c (reloc_table): Rename
2681 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
2682 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
2683 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
2684 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
2685 (md_apply_fix): Likewise.
2686 (aarch64_force_relocation): Likewise.
2687 * testsuite/gas/aarch64/tls.d: Update regexp.
2688
2689 2017-03-10 Tobin C. Harding <me@tobin.cc>
2690 Nick Clifton <nickc@redhat.com>
2691
2692 * doc/as.texinfo (2byte): Tidy up wording. Add note that
2693 overlarge values will produce a warning message and be trunacted.
2694 (4byte): Likewise.
2695
2696 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
2697
2698 * config/tc-i386.c (_i386_insn): Add dir_encoding and
2699 vec_encoding. Remove swap_operand and need_vrex.
2700 (extra_symbol_chars): Add '}'.
2701 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
2702 mnemonic.
2703 (build_vex_prefix): Don't use 2-byte VEX encoding with
2704 {vex3}. Check dir_encoding and load.
2705 (parse_insn): Check pseudo prefixes. Set dir_encoding.
2706 (VEX_check_operands): Likewise.
2707 (match_template): Check dir_encoding and load.
2708 (parse_real_register): Set vec_encoding instead of need_vrex.
2709 (parse_register): Likewise.
2710 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
2711 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
2712 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
2713 * testsuite/gas/i386/pseudos.d: New file.
2714 * testsuite/gas/i386/pseudos.s: Likewise.
2715 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
2716 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
2717
2718 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
2719
2720 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
2721 (objdump): Use the -Mpower8 option.
2722
2723 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
2724
2725 * testsuite/gas/ppc/power9.d <lnia> New test.
2726 * testsuite/gas/ppc/power9.s: Likewise.
2727
2728 2017-03-07 Alan Modra <amodra@gmail.com>
2729
2730 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
2731
2732 2017-03-07 Tobin C. Harding <me@tobin.cc>
2733 Alan Modra <amodra@gmail.com>
2734
2735 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
2736 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
2737
2738 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
2739
2740 * config/tc-i386.c (cpu_arch): Add .cet.
2741 * doc/c-i386.texi: Document cet.
2742 * testsuite/gas/i386/cet-intel.d: New file.
2743 * testsuite/gas/i386/cet.d: Likewise.
2744 * testsuite/gas/i386/cet.s: Likewise.
2745 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
2746 * testsuite/gas/i386/x86-64-cet.d: Likewise.
2747 * testsuite/gas/i386/x86-64-cet.s: Likewise.
2748 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
2749
2750 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
2751
2752 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
2753 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
2754
2755 2017-03-06 Alan Modra <amodra@gmail.com>
2756
2757 * dw2gencfi.c (encoding_size): Return unsigned int.
2758 (emit_expr_encoded): Assert size matches reloc bitsize.
2759 (output_fde): Use unsigned for offset_size and addr_size. Set
2760 addr_size earlier and use in place of constant 4 and uses of
2761 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
2762
2763 2017-03-06 Alan Modra <amodra@gmail.com>
2764
2765 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
2766 auto reformat. Formatting and whitespace fixes.
2767
2768 2017-03-05 Mark Wielaard <mark@klomp.org>
2769
2770 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
2771 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
2772 (out_debug_info): Accept symbols to name, comp_dir and producer in
2773 the .debug_str section and emit those offsets not full strings.
2774 (out_debug_str): New function that outputs the strings for name,
2775 comp_dir and producer in .debug_str and generates symbols to those
2776 strings.
2777 (out_debug_line): Create a .debug_str section if necessary and call
2778 out_debug_str before calling out_debug_info.
2779 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
2780 output.
2781
2782 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
2783
2784 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
2785 part of the frag has overrun the location requested.
2786
2787 * testsuite/gas/all/org-1.d: New test.
2788 * testsuite/gas/all/org-2.d: New test.
2789 * testsuite/gas/all/org-3.d: New test.
2790 * testsuite/gas/all/org-4.d: New test.
2791 * testsuite/gas/all/org-5.d: New test.
2792 * testsuite/gas/all/org-6.d: New test.
2793 * testsuite/gas/all/org-1.l: New stderr output.
2794 * testsuite/gas/all/org-2.l: New stderr output.
2795 * testsuite/gas/all/org-3.l: New stderr output.
2796 * testsuite/gas/all/org-1.s: New test source.
2797 * testsuite/gas/all/org-2.s: New test source.
2798 * testsuite/gas/all/org-3.s: New test source.
2799 * testsuite/gas/all/org-4.s: New test source.
2800 * testsuite/gas/all/org-5.s: New test source.
2801 * testsuite/gas/all/org-6.s: New test source.
2802 * testsuite/gas/all/gas.exp: Run the new tests.
2803
2804 * testsuite/gas/mips/org-1.d: New test.
2805 * testsuite/gas/mips/org-2.d: New test.
2806 * testsuite/gas/mips/org-3.d: New test.
2807 * testsuite/gas/mips/org-4.d: New test.
2808 * testsuite/gas/mips/org-5.d: New test.
2809 * testsuite/gas/mips/org-6.d: New test.
2810 * testsuite/gas/mips/org-7.d: New test.
2811 * testsuite/gas/mips/org-8.d: New test.
2812 * testsuite/gas/mips/org-9.d: New test.
2813 * testsuite/gas/mips/org-10.d: New test.
2814 * testsuite/gas/mips/org-11.d: New test.
2815 * testsuite/gas/mips/org-12.d: New test.
2816 * testsuite/gas/mips/org-1.l: New stderr output.
2817 * testsuite/gas/mips/org-4.l: New stderr output.
2818 * testsuite/gas/mips/org-5.l: New stderr output.
2819 * testsuite/gas/mips/org-6.l: New stderr output.
2820 * testsuite/gas/mips/org-10.l: New stderr output.
2821 * testsuite/gas/mips/org-1.s: New test source.
2822 * testsuite/gas/mips/org-2.s: New test source.
2823 * testsuite/gas/mips/org-3.s: New test source.
2824 * testsuite/gas/mips/org-4.s: New test source.
2825 * testsuite/gas/mips/org-5.s: New test source.
2826 * testsuite/gas/mips/org-6.s: New test source.
2827 * testsuite/gas/mips/org-7.s: New test source.
2828 * testsuite/gas/mips/org-8.s: New test source.
2829 * testsuite/gas/mips/org-9.s: New test source.
2830 * testsuite/gas/mips/org-10.s: New test source.
2831 * testsuite/gas/mips/org-11.s: New test source.
2832 * testsuite/gas/mips/org-12.s: New test source.
2833 * testsuite/gas/mips/mips.exp: Run the new tests.
2834
2835 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2836
2837 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
2838
2839 2017-02-28 Jan Beulich <jbeulich@suse.com>
2840
2841 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
2842 VPCMPESTR{I,M}.
2843 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
2844 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
2845 of PCMPESTR{I,M}.
2846 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
2847 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
2848 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
2849 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
2850 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
2851 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
2852 * testsuite/gas/i386/x86-64-avx.d: Likewise.
2853 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
2854 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
2855 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
2856
2857 2017-02-28 Alan Modra <amodra@gmail.com>
2858
2859 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
2860
2861 2017-02-28 Alan Modra <amodra@gmail.com>
2862
2863 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
2864 (md_apply_fix): Remove fx_subsy check. Move code converting to
2865 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
2866 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
2867 that is done now by the generic code via..
2868 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
2869 (TC_VALIDATE_FIX_SUB): Define.
2870
2871 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
2872
2873 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
2874 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
2875 encoding patterns.
2876 * testsuite/gas/mips/jalr4-n64.d: Likewise.
2877 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
2878 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
2879 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
2880
2881 2017-02-25 Alan Modra <amodra@gmail.com>
2882
2883 * testsuite/gas/elf/strtab.s: Don't put directives on first
2884 column or continuation with labels not in first column.
2885
2886 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
2887
2888 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
2889 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
2890 to be used with SVE registers.
2891 (parse_operands): Handle new SVE operands.
2892 (aarch64_features): Make "sve" require F16 rather than FP. Also
2893 require COMPNUM.
2894 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
2895 Include compnum tests.
2896 * testsuite/gas/aarch64/sve.d: Update accordingly.
2897 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
2898 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
2899 update expected output for new FMOV and MOV alternatives.
2900
2901 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
2902
2903 * doc/c-aarch64.texi: Add a "compnum" entry.
2904 * config/tc-aarch64.c (aarch64_features): Likewise,
2905 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
2906 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
2907
2908 2017-02-24 Jan Beulich <jbeulich@suse.com>
2909
2910 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
2911 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
2912 * testsuite/gas/i386/opcode.d: Adjust accordingly.
2913 * testsuite/gas/i386/opcode-intel.d: Likewise.
2914 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
2915 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
2916
2917 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
2918
2919 Test cases for the architecture level aware SPARC ASI work.
2920 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
2921 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
2922 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
2923 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
2924 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
2925
2926 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
2927
2928 * testsuite/gas/mips/jalr4.d: New test.
2929 * testsuite/gas/mips/jalr4-n32.d: New test.
2930 * testsuite/gas/mips/jalr4-n64.d: New test.
2931 * testsuite/gas/mips/jalr4.s: New test source.
2932 * testsuite/gas/mips/mips.exp: Run the new tests.
2933
2934 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
2935
2936 Add support for associating SPARC ASIs with an architecture level.
2937 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
2938
2939 2017-02-23 Jan Beulich <jbeulich@suse.com>
2940
2941 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
2942 of symbols as expression.
2943
2944 2017-02-23 Jan Beulich <jbeulich@suse.com>
2945
2946 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
2947 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
2948 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
2949 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
2950
2951 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
2952
2953 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
2954 `md_flush_pending_output'.
2955 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
2956 `md_flush_pending_output' unconditionally.
2957 * testsuite/gas/mips/debug-label-end-1.d: New test.
2958 * testsuite/gas/mips/debug-label-end-2.d: New test.
2959 * testsuite/gas/mips/debug-label-end-3.d: New test.
2960 * testsuite/gas/mips/debug-label-end.s: New test source.
2961 * testsuite/gas/mips/mips.exp: Run the new tests.
2962
2963 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
2964
2965 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
2966 targets yielding an error message matching "too complex".
2967
2968 2017-02-22 Nick Clifton <nickc@redhat.com>
2969
2970 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
2971
2972 2017-02-21 Jan Beulich <jbeulich@suse.com>
2973
2974 * expr.c (operand): Handle missing operand to .startof.() and
2975 .sizeof.().
2976 * testsuite/gas/all/err-sizeof.s: New.
2977
2978 2017-02-20 Alan Modra <amodra@gmail.com>
2979
2980 PR 21118
2981 * NEWS: Revise powerpc register check.
2982 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
2983 register expression" a warning.
2984
2985 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
2986
2987 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
2988 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
2989 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
2990 * testsuite/gas/mips/aent-2.d: New test.
2991 * testsuite/gas/mips/aent-mdebug.d: New test.
2992 * testsuite/gas/mips/aent-mdebug-2.d: New test.
2993 * testsuite/gas/mips/mips.exp: Run the new tests.
2994
2995 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
2996
2997 * testsuite/gas/aarch64/sve-sysreg.s,
2998 testsuite/gas/aarch64/sve-sysreg.d,
2999 testsuite/gas/aarch64/sve-sysreg-invalid.d,
3000 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
3001
3002 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
3003
3004 * doc/c-aarch64.texi: Fix sve entry.
3005
3006 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
3007
3008 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
3009 information from input expression.
3010 (assemble_insn): Make sure pcrel is correctly set.
3011 (arc_pcrel_adjust): Compensate for PCL rounding.
3012 * testsuite/gas/arc/relax-add01.d: New file.
3013 * testsuite/gas/arc/relax-add01.s: Likewise.
3014 * testsuite/gas/arc/relax-add02.d: Likewise.
3015 * testsuite/gas/arc/relax-add02.s: Likewise.
3016 * testsuite/gas/arc/relax-add03.d: Likewise.
3017 * testsuite/gas/arc/relax-add03.s: Likewise.
3018 * testsuite/gas/arc/relax-add04.d: Likewise.
3019 * testsuite/gas/arc/relax-add04.s: Likewise.
3020 * testsuite/gas/arc/relax-ld01.d: Likewise.
3021 * testsuite/gas/arc/relax-ld01.s: Likewise.
3022 * testsuite/gas/arc/relax-ld02.d: Likewise.
3023 * testsuite/gas/arc/relax-ld02.s: Likewise.
3024 * testsuite/gas/arc/relax-mov01.d: Likewise.
3025 * testsuite/gas/arc/relax-mov01.s: Likewise.
3026 * testsuite/gas/arc/relax-mov02.d: Likewise.
3027 * testsuite/gas/arc/relax-mov02.s: Likewise.
3028 * testsuite/gas/arc/relax-mpy01.d: Likewise.
3029 * testsuite/gas/arc/relax-mpy01.s: Likewise.
3030 * testsuite/gas/arc/relax-sub01.d: Likewise.
3031 * testsuite/gas/arc/relax-sub01.s: Likewise.
3032 * testsuite/gas/arc/relax-sub02.d: Likewise.
3033 * testsuite/gas/arc/relax-sub02.s: Likewise.
3034 * testsuite/gas/arc/relax-sub03.d: Likewise.
3035 * testsuite/gas/arc/relax-sub03.s: Likewise.
3036 * testsuite/gas/arc/relax-sub04.d: Likewise.
3037 * testsuite/gas/arc/relax-sub04.s: Likewise.
3038
3039 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
3040
3041 * testsuite/gas/arc/st.d: Update for 0xe having a name now
3042
3043 2017-02-14 Alan Modra <amodra@gmail.com>
3044
3045 PR 21118
3046 * NEWS: Mention powerpc register checks.
3047 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
3048 (pre_defined_registers): Delete fpscr and pmr entries. Set
3049 register type in flags.
3050 (cr_names): Set type in flags.
3051 (reg_name_search): Return pointer to struct pd_reg rather than value.
3052 (register_name): Adjust to suit. Set X_md from flags.
3053 (ppc_parse_name): Likewise.
3054 (ppc_optimize_expr): New function.
3055 (md_assemble): Verify expresion reg flags match operand.
3056 * config/tc-ppc.h (md_optimize_expr): Define.
3057 (ppc_optimize_expr): Declare.
3058
3059 2017-02-14 Alan Modra <amodra@gmail.com>
3060
3061 * testsuite/gas/ppc/cell.s: Correct invalid registers.
3062 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
3063 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
3064
3065 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3066
3067 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
3068 syntax.
3069 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
3070 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
3071
3072 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
3073
3074 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
3075
3076 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
3077
3078 * doc/as.texinfo (Overview): Select MIPS options for man page
3079 inclusion.
3080
3081 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
3082
3083 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
3084 (options): Add OPTION_IGNORE_BRANCH_ISA and
3085 OPTION_NO_IGNORE_BRANCH_ISA enum values.
3086 (md_longopts): Add "mignore-branch-isa" and
3087 "mno-ignore-branch-isa" options.
3088 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
3089 OPTION_NO_IGNORE_BRANCH_ISA.
3090 (fix_bad_cross_mode_branch_p): Return FALSE if
3091 `mips_ignore_branch_isa' has been set.
3092 (md_show_usage): Add `-mignore-branch-isa' and
3093 `-mno-ignore-branch-isa'.
3094
3095 * doc/as.texinfo (Target MIPS options): Add
3096 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
3097 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
3098 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
3099 `-mno-ignore-branch-isa' options.
3100
3101 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
3102 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
3103 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
3104 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
3105 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
3106 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
3107 * testsuite/gas/mips/mips.exp: Run the new tests.
3108
3109 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
3110
3111 * testsuite/gas/mips/branch-local-2.d: New test.
3112 * testsuite/gas/mips/branch-local-3.d: New test.
3113 * testsuite/gas/mips/branch-local-n32-2.d: New test.
3114 * testsuite/gas/mips/branch-local-n32-3.d: New test.
3115 * testsuite/gas/mips/branch-local-n64-2.d: New test.
3116 * testsuite/gas/mips/branch-local-n64-3.d: New test.
3117 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
3118 into the new tests.
3119
3120 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
3121
3122 PR 21056
3123 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
3124 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
3125
3126 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3127
3128 * configure.tgt (aarch64*-*-rtems*): Remove.
3129 (bfin-*-rtems*): Likewise.
3130 (h8300-*-rtems*): Likewise.
3131 (i386-*-rtems*): Likewise.
3132 (m32c-*-rtems*): Likewise.
3133 (m32r-*-rtems*): Likewise.
3134 (m68k-*-rtems*): Likewise.
3135 (mips-*-rtems*): Likewise.
3136 (nios2-*-rtems*): Likewise.
3137 (ppc-*-rtems*): Likewise.
3138 (sh-*-rtems*): Likewise.
3139 (sparc64-*-rtems*): Likewise.
3140 (sparc-*-rtems*): Likewise.
3141 (*-*-rtems*) Use ELF format.
3142
3143 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3144
3145 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
3146
3147 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3148
3149 * configure.tgt (sh-*-rtemscoff*): Remove.
3150
3151 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
3152
3153 * configure.tgt (riscv*-*-*): Remove em=linux.
3154
3155 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
3156
3157 PR gas/21072
3158 * asintl.h: Fix spelling mistakes and typos.
3159 * atof-generic.c: Likewise.
3160 * bit_fix.h: Likewise.
3161 * config/atof-ieee.c: Likewise.
3162 * config/bfin-defs.h: Likewise.
3163 * config/bfin-parse.y: Likewise.
3164 * config/obj-coff-seh.h: Likewise.
3165 * config/obj-coff.c: Likewise.
3166 * config/obj-evax.c: Likewise.
3167 * config/obj-macho.c: Likewise.
3168 * config/rx-parse.y: Likewise.
3169 * config/tc-aarch64.c: Likewise.
3170 * config/tc-alpha.c: Likewise.
3171 * config/tc-arc.c: Likewise.
3172 * config/tc-arm.c: Likewise.
3173 * config/tc-avr.c: Likewise.
3174 * config/tc-bfin.c: Likewise.
3175 * config/tc-cr16.c: Likewise.
3176 * config/tc-cris.c: Likewise.
3177 * config/tc-crx.c: Likewise.
3178 * config/tc-d10v.c: Likewise.
3179 * config/tc-d30v.c: Likewise.
3180 * config/tc-dlx.c: Likewise.
3181 * config/tc-epiphany.c: Likewise.
3182 * config/tc-frv.c: Likewise.
3183 * config/tc-hppa.c: Likewise.
3184 * config/tc-i370.c: Likewise.
3185 * config/tc-i386-intel.c: Likewise.
3186 * config/tc-i386.c: Likewise.
3187 * config/tc-i960.c: Likewise.
3188 * config/tc-ia64.c: Likewise.
3189 * config/tc-m32r.c: Likewise.
3190 * config/tc-m68hc11.c: Likewise.
3191 * config/tc-m68k.c: Likewise.
3192 * config/tc-mcore.c: Likewise.
3193 * config/tc-mep.c: Likewise.
3194 * config/tc-mep.h: Likewise.
3195 * config/tc-metag.c: Likewise.
3196 * config/tc-microblaze.c: Likewise.
3197 * config/tc-mips.c: Likewise.
3198 * config/tc-mmix.c: Likewise.
3199 * config/tc-mn10200.c: Likewise.
3200 * config/tc-mn10300.c: Likewise.
3201 * config/tc-msp430.c: Likewise.
3202 * config/tc-msp430.h: Likewise.
3203 * config/tc-nds32.c: Likewise.
3204 * config/tc-nds32.h: Likewise.
3205 * config/tc-nios2.c: Likewise.
3206 * config/tc-nios2.h: Likewise.
3207 * config/tc-ns32k.c: Likewise.
3208 * config/tc-pdp11.c: Likewise.
3209 * config/tc-ppc.c: Likewise.
3210 * config/tc-pru.c: Likewise.
3211 * config/tc-rx.c: Likewise.
3212 * config/tc-s390.c: Likewise.
3213 * config/tc-score.c: Likewise.
3214 * config/tc-score7.c: Likewise.
3215 * config/tc-sh.c: Likewise.
3216 * config/tc-sh64.c: Likewise.
3217 * config/tc-sparc.c: Likewise.
3218 * config/tc-tic4x.c: Likewise.
3219 * config/tc-tic54x.c: Likewise.
3220 * config/tc-v850.c: Likewise.
3221 * config/tc-vax.c: Likewise.
3222 * config/tc-visium.c: Likewise.
3223 * config/tc-xgate.c: Likewise.
3224 * config/tc-xtensa.c: Likewise.
3225 * config/tc-z80.c: Likewise.
3226 * config/tc-z8k.c: Likewise.
3227 * config/te-vms.c: Likewise.
3228 * config/xtensa-relax.c: Likewise.
3229 * doc/as.texinfo: Likewise.
3230 * doc/c-arm.texi: Likewise.
3231 * doc/c-hppa.texi: Likewise.
3232 * doc/c-i370.texi: Likewise.
3233 * doc/c-i386.texi: Likewise.
3234 * doc/c-m32r.texi: Likewise.
3235 * doc/c-m68k.texi: Likewise.
3236 * doc/c-mmix.texi: Likewise.
3237 * doc/c-msp430.texi: Likewise.
3238 * doc/c-nds32.texi: Likewise.
3239 * doc/c-ns32k.texi: Likewise.
3240 * doc/c-riscv.texi: Likewise.
3241 * doc/c-rx.texi: Likewise.
3242 * doc/c-s390.texi: Likewise.
3243 * doc/c-tic6x.texi: Likewise.
3244 * doc/c-tilegx.texi: Likewise.
3245 * doc/c-tilepro.texi: Likewise.
3246 * doc/c-v850.texi: Likewise.
3247 * doc/c-xgate.texi: Likewise.
3248 * doc/c-xtensa.texi: Likewise.
3249 * dwarf2dbg.c: Likewise.
3250 * ecoff.c: Likewise.
3251 * itbl-ops.c: Likewise.
3252 * listing.c: Likewise.
3253 * macro.c: Likewise.
3254 * po/gas.pot: Likewise.
3255 * read.c: Likewise.
3256 * struc-symbol.h: Likewise.
3257 * symbols.h: Likewise.
3258 * testsuite/gas/arc/relocs-errors.err: Likewise.
3259 * write.c: Likewise.
3260
3261 2017-01-23 Nick Clifton <nickc@redhat.com>
3262
3263 * po/sv.po: Updated Swedish translation.
3264
3265 2017-01-20 Nick Clifton <nickc@redhat.com>
3266
3267 * config/tc-i386.c (parse_operands): Check for operand overflow
3268 before setting the unspecified bit.
3269
3270 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
3271
3272 PR gas/20649
3273 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
3274 symbols, remove the `segtype' parameter.
3275 (mips_frob_file, md_estimate_size_before_relax): Adjust
3276 accordingly.
3277 (s_is_linkonce): Add an explanatory comment.
3278 * testsuite/gas/mips/comdat-reloc.d: New test.
3279 * testsuite/gas/mips/comdat-reloc.s: New test source.
3280 * testsuite/gas/mips/mips.exp: Run the new test.
3281
3282 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3283
3284 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
3285 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
3286
3287 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
3288
3289 PR 21059
3290 * config/bfin-lex.l: Support processing with flex 2.6.3.
3291 * itbl-lex.l: Likewise.
3292
3293 2017-01-18 Nathan Sidwell <nathan@acm.org>
3294
3295 * as.h (gas_assert): Use abort.
3296 (as_assert): Remove.
3297 (signal_init): Declare.
3298 * as.c (main): Call signal_init.
3299 * messages.c: #include <signal.h>
3300 (as_assert): Delete.
3301 (as_abort): Allow NULL FILE.
3302 (signal_crash): New.
3303 (signal_init): Register fatal signal handlers.
3304 * configure.ac: Check for strsignal.
3305 * config.in: Rebuilt.
3306 * configure: Rebuilt.
3307
3308 2017-01-17 Nick Clifton <nickc@redhat.com>
3309
3310 * po/sv.po: Updated Swedish translation.
3311
3312 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3313
3314 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
3315 (cpu_noarch): Add noavx512_vpopcntdq.
3316 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
3317 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
3318 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
3319 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
3320 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
3321 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
3322 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
3323 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
3324
3325 2017-01-12 Nick Clifton <nickc@redhat.com>
3326
3327 * read.c (temp_ilp): New function. Installs a temporary input
3328 line pointer.
3329 (restore_ilp): New function. Restores the original input line
3330 pointer.
3331 * read.h (temp_ilp): Prototype.
3332 (restore_ilp): Prototype.
3333 * stabs.c (dot_func_p): Use bfd_boolean type.
3334 (generate_asm_file): Use temp_ilp and restore_ilp.
3335 (stabs_generate_asm_lineno): Likewise.
3336 (stabs_generate_asm_endfunc): Likewise.
3337
3338 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
3339
3340 * configure.tgt: Add entry for i386-redox.
3341
3342 2017-01-10 Nick Clifton <nickc@redhat.com>
3343
3344 * po/sv.po: Updated Swedish translation.
3345
3346 2017-01-10 Tristan Gingold <gingold@adacore.com>
3347
3348 * testsuite/gas/all/sleb128-8.d: Adjust test.
3349 * testsuite/gas/all/gas.exp (test_cond): Likewise.
3350
3351 2017-01-10 Tristan Gingold <gingold@adacore.com>
3352
3353 * read.c (emit_leb128_expr): Extended unsigned big number for
3354 sleb128.
3355 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
3356 * testsuite/gas/all/sleb128.d: New test.
3357 * testsuite/gas/all/sleb128.s: New test source.
3358
3359 2017-01-09 Andrew Waterman <andrew@sifive.com>
3360
3361 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
3362 against constants.
3363 (md_apply_fix): Mark relocations against constants as "done."
3364
3365 2017-01-09 Andrew Waterman <andrew@sifive.com>
3366
3367 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
3368 against constants.
3369 (md_apply_fix): Mark relocations against constants as "done."
3370
3371 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
3372 Kito Cheng <kito.cheng@gmail.com>
3373
3374 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
3375 Removed.
3376 (SDATA_START_SYMBOLS): Likewise.
3377
3378 2017-01-09 Nick Clifton <nickc@redhat.com>
3379
3380 * po/sv.po: New Swedish translation.
3381 * configure.ac (ALL_LINGUAS): Add sv.
3382 * configure: Regenerate.
3383
3384 2017-01-09 Andrew Waterman <andrew@sifive.com>
3385
3386 * config/tc-riscv.c (relaxed_branch_length): Use the long
3387 sequence when the target is a weak symbol.
3388
3389 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3390
3391 * config/tc-aarch64.c (aarch64_features): Add rcpc.
3392 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
3393 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
3394 * testsuite/gas/aarch64/ldst-rcpc.d: This.
3395 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
3396 * testsuite/gas/aarch64/ldst-rcpc.s: This.
3397 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
3398
3399 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
3400
3401 PR gas/20992
3402 * configure.tgt: Treat sparcv9 as sparc64.
3403
3404 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
3405
3406 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
3407 extension.
3408 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
3409 enabled and no other ABI is specified.
3410
3411 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
3412
3413 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
3414 valueT, as declared in tc.h.
3415 (md_apply_fix): Fix to work on 32-bit hosts.
3416
3417 2017-01-02 Alan Modra <amodra@gmail.com>
3418
3419 Update year range in copyright notice of all files.
3420
3421 For older changes see ChangeLog-2016
3422 \f
3423 Copyright (C) 2017 Free Software Foundation, Inc.
3424
3425 Copying and distribution of this file, with or without modification,
3426 are permitted in any medium without royalty provided the copyright
3427 notice and this notice are preserved.
3428
3429 Local Variables:
3430 mode: change-log
3431 left-margin: 8
3432 fill-column: 74
3433 version-control: never
3434 End:
This page took 0.09974 seconds and 5 git commands to generate.