Commit | Line | Data |
---|---|---|
880fc278 AM |
1 | 2020-08-31 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * config/tc-crx.c: Formatting. | |
4 | (CRX_PRINT): Wrap params in parentheses. Remove parens from uses | |
5 | throughout file. | |
6 | (reset_vars, get_register, get_copregister, get_optype, get_opbits), | |
7 | (get_opflags, get_number_of_operands, parse_operand, gettrap), | |
8 | (handle_LoadStor, getconstant, check_range, getreg_image), | |
9 | (parse_operands, parse_insn, print_operand, print_constant), | |
10 | (exponent2scale, mask_reg, process_label_constant, set_operand), | |
11 | (assemble_insn, print_insn): Delete unnecessary forward declaration. | |
12 | (print_insn): Make static. | |
13 | (print_constant): Make "constant" unsigned. | |
14 | (assemble_insn): Tidy REVERSE_MATCH index calc. | |
15 | * expr.c (generic_bignum_to_int32): Cast elements to valueT. | |
16 | ||
26e3de8e AM |
17 | 2020-08-31 Alan Modra <amodra@gmail.com> |
18 | ||
19 | PR 26509 | |
20 | * config/tc-z80.c (is_overflow): Use 1UL in mask shift expression. | |
21 | ||
737d2190 AM |
22 | 2020-08-30 Alan Modra <amodra@gmail.com> |
23 | ||
24 | * config/tc-tic4x.c (tic4x_gen_to_words): Rewrite mantissa | |
25 | overflow test without UB. Avoid other UB shifts by making them | |
26 | unsigned. | |
27 | ||
e2e82b11 CQ |
28 | 2020-08-31 Cooper Qu <cooper.qu@linux.alibaba.com> |
29 | ||
30 | * config/tc-csky.c (csky_error_state): New member 'arg_int'. | |
31 | (SET_ERROR_NUMBER): Rename to SET_ERROR_STRING. | |
32 | (SET_ERROR_INTEGER): New. | |
33 | (err_formats): Add error format for ERROR_FREG_OVER_RANGE and | |
34 | ERROR_VREG_OVER_RANGE. | |
35 | (csky_show_error): Pass an integer argument for some error | |
36 | numbers. | |
37 | (parse_exp): Call SET_ERROR_STRING instead of SET_ERROR_NUMBER. | |
38 | (parse_rt): Likewise. | |
39 | (parse_type_ctrlreg): Likewise. | |
40 | (csky_get_reg_val): Likewise. | |
41 | (is_reglist_legal): Likewise. | |
42 | (is_freglist_legal): Likewise. | |
43 | (is_reglist_dash_comma_legal): Likewise. | |
44 | (is_reg_lshift_illegal): Likewise. | |
45 | (is_psr_bit): Likewise. | |
46 | (parse_type_cpreg): Likewise. | |
47 | (parse_type_cpcreg): Likewise. | |
48 | (parse_type_areg): Likewise. | |
49 | (parse_type_freg): Likewise. | |
50 | (parse_ldst_imm): Likewise and call SET_ERROR_INTEGER. | |
51 | (get_operand_value): Likewise. | |
52 | (parse_operands_op): Likewise and call is_imm_within_range, | |
53 | is_imm_within_range_ext and is_oimm_within_range. | |
54 | (md_assemble): Likewise. | |
55 | (is_imm_within_range): New. | |
56 | (is_imm_within_range_ext): Rename from is_imm_over_range. | |
57 | (is_oimm_within_range): Rename from is_oimm_over_range. | |
58 | (v2_work_add_sub): Call SET_ERROR_INTEGER. | |
59 | (csky_rolc): call is_imm_within_range instead of | |
60 | is_imm_over_range. | |
61 | ||
dd221981 CQ |
62 | 2020-08-31 Cooper Qu <cooper.qu@linux.alibaba.com> |
63 | ||
64 | * config/tc-csky.c (md_begin): Add warning when -mdsp and | |
65 | -mcpu=ck803ern are both added. | |
66 | (parse_ldst_imm): Fix error message. | |
67 | ||
2781f857 AM |
68 | 2020-08-30 Alan Modra <amodra@gmail.com> |
69 | ||
70 | * testsuite/gas/cr16/cbitb_test.d: Update expected output. | |
71 | * testsuite/gas/cr16/cbitw_test.d: Likewise. | |
72 | * testsuite/gas/cr16/sbitb_test.d: Likewise. | |
73 | * testsuite/gas/cr16/sbitw_test.d: Likewise. | |
74 | * testsuite/gas/cr16/storb_test.d: Likewise. | |
75 | * testsuite/gas/cr16/storw_test.d: Likewise. | |
76 | * testsuite/gas/cr16/tbitb_test.d: Likewise. | |
77 | * testsuite/gas/cr16/tbitw_test.d: Likewise. | |
78 | ||
c9302810 AM |
79 | 2020-08-30 Alan Modra <amodra@gmail.com> |
80 | ||
d0ed6fdd AM |
81 | PR 26437 |
82 | PR 26438 | |
c9302810 AM |
83 | * config/tc-cr16.c: Include limits.h, formatting. |
84 | (CR16_PRINT): Wrap params in parentheses. Remove parens from uses | |
85 | throughout file. | |
86 | (getconstant): Handle zero nbits. | |
87 | (print_operand): Use unsigned variables. Simplify handling of | |
88 | index regs. | |
89 | (check_range): Use int32_t variables. Correct range checks. | |
90 | ||
8a267ea8 AM |
91 | 2020-08-29 Alan Modra <amodra@gmail.com> |
92 | ||
93 | PR 26481 | |
94 | * config/tc-pj.c (md_assemble): Don't loop past end of | |
95 | opcode->arg array. | |
96 | ||
ed2ed4dc AM |
97 | 2020-08-28 Alan Modra <amodra@gmail.com> |
98 | ||
99 | PR 26460 | |
100 | * config/tc-ia64.c (parse_operands): Don't access past end of | |
101 | idesc->operands. | |
102 | ||
4a5700b6 MW |
103 | 2020-08-26 Mark Wielaard <mark@klomp.org> |
104 | ||
105 | * as.c (parse_args): Handle bad -gdwarf options. | |
106 | ||
0861f561 CQ |
107 | 2020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com> |
108 | ||
109 | * gas/config/tc-csky.c (md_begin): Set attributes. | |
110 | (isa_flag): Change type to unsigned 64 bits. | |
111 | (struct csky_cpu_info): Likewise. | |
112 | (struct csky_macro_info): Likewise. | |
113 | (set_csky_attribute): New. | |
114 | * testsuite/gas/csky/802j.d: Ignore .csky.attributes section. | |
115 | * testsuite/gas/csky/all.d: Likewise. | |
116 | * testsuite/gas/csky/bsr1.d: Likewise. | |
117 | * testsuite/gas/csky/csky_vdsp.d: Likewise. | |
118 | * testsuite/gas/csky/cskyv2_all.d: Likewise. | |
119 | * testsuite/gas/csky/cskyv2_ck803r2.d: Likewise. | |
120 | * testsuite/gas/csky/cskyv2_ck860.d: Likewise. | |
121 | * testsuite/gas/csky/cskyv2_dsp.d: Likewise. | |
122 | * testsuite/gas/csky/cskyv2_elrw.d: Likewise. | |
123 | * testsuite/gas/csky/cskyv2_float.d: Likewise. | |
124 | * testsuite/gas/csky/enhance_dsp.d: Likewise. | |
125 | * testsuite/gas/csky/java.d: Likewise. | |
126 | * testsuite/gas/csky/v1_float.d: Likewise. | |
127 | * testsuite/gas/csky/v2_float_part1.d: Likewise. | |
128 | * testsuite/gas/csky/v2_float_part2.d: Likewise. | |
129 | * testsuite/gas/csky/v2_tls_gd.d: Likewise. | |
130 | * testsuite/gas/csky/v2_tls_ie.d: Likewise. | |
131 | * testsuite/gas/csky/v2_tls_ld.d: Likewise. | |
132 | * testsuite/gas/csky/v2_tls_le.d: Likewise. | |
133 | * testsuite/gas/elf/elf.exp: Add handler for CSKY. | |
134 | * testsuite/gas/elf/section2.e-csky: New. | |
135 | ||
6fbd4a8e AM |
136 | 2020-08-27 Alan Modra <amodra@gmail.com> |
137 | ||
138 | PR 26467 | |
139 | * cgen.c (weak_operand_overflow_check): Handle opmask for | |
140 | operand length zero. Use 1UL constant. | |
141 | ||
e637b7ba AM |
142 | 2020-08-26 Alan Modra <amodra@gmail.com> |
143 | ||
144 | PR 26508 | |
145 | * config/tc-xtensa.c (xg_get_trampoline_chain): Return early | |
146 | when n_entries is zero. | |
147 | ||
d8d6da13 AM |
148 | 2020-08-26 Alan Modra <amodra@gmail.com> |
149 | ||
150 | PR 26448 | |
151 | * symbols.c: Include limits.h. | |
152 | (resolve_symbol_value <O_left_shift, O_right_shift>): Do an | |
153 | unsigned shift. Warn if shift count larger than valueT size. | |
154 | ||
b2f386b9 AM |
155 | 2020-08-26 Alan Modra <amodra@gmail.com> |
156 | ||
157 | PR 26447 | |
158 | * expr.c (expr <O_left_shift>): Do an unsigned shift. | |
159 | ||
160 | 2020-08-25 Alan Modra <amodra@gmail.com> | |
161 | ||
4449c81a DF |
162 | 2020-08-26 David Faust <david.faust@oracle.com> |
163 | ||
164 | * config/tc-bpf.c: Add option -mxbpf to select xbpf isa. | |
165 | * testsuite/gas/bpf/indcall-1.d: New file. | |
166 | * testsuite/gas/bpf/indcall-1.s: Likewise. | |
167 | * testsuite/gas/bpf/indcall-bad-1.l: Likewise. | |
168 | * testsuite/gas/bpf/indcall-bad-1.s: Likewise. | |
169 | * testsuite/gas/bpf/bpf.exp: Run new tests. | |
170 | ||
69ff2100 AM |
171 | 2020-08-25 Alan Modra <amodra@gmail.com> |
172 | ||
b2f386b9 | 173 | PR 26501 |
69ff2100 AM |
174 | * gas/config/tc-tic54x.c (tic54x_undefined_symbol): Properly treat |
175 | misc_symbol_hash entries without values. | |
176 | ||
1de153a1 AM |
177 | 2020-08-25 Alan Modra <amodra@gmail.com> |
178 | ||
179 | PR 26500 | |
180 | * tc-tic4x.c (tic4x_inst_make): Don't die on terminating insn | |
181 | with name = "". | |
182 | ||
d3e0badd AM |
183 | 2020-08-25 Alan Modra <amodra@gmail.com> |
184 | ||
185 | PR 26441 | |
186 | * config/tc-cr16.c (get_b_cc): Return NULL early if op isn't | |
187 | two or three chars, and don't bother copying. | |
188 | ||
250dd99f AM |
189 | 2020-08-25 Alan Modra <amodra@gmail.com> |
190 | ||
191 | PR 26426 | |
192 | * config/tc-arm.c (do_neon_mvn, do_neon_swp): Bail out on | |
193 | NS_NULL shape. | |
194 | ||
30b940a0 AM |
195 | 2020-08-25 Alan Modra <amodra@gmail.com> |
196 | ||
197 | PR 26410 | |
198 | * symbols.c (dollar_label_count, dollar_label_max): Make size_t. | |
199 | (dollar_label_clear): Don't call memset with NULL pointer. | |
200 | ||
ca159256 AM |
201 | 2020-08-25 Alan Modra <amodra@gmail.com> |
202 | ||
203 | * config/tc-arc.c (declare_register_set): Avoid false positive | |
204 | format-overflow warning. | |
205 | * config/tc-epiphany.c (md_assemble): Likewise. | |
206 | * config/tc-mips.c (md_begin): Likewise. | |
207 | * config/tc-mmix.c (mmix_md_begin): Likewise. | |
208 | * config/tc-nds32.c (nds32_elf_append_relax_relocs): Avoid false | |
209 | positive "may be used uninitialized" warning. | |
210 | ||
531c73a3 CQ |
211 | 2020-08-24 Cooper Qu <cooper.qu@linux.alibaba.com> |
212 | ||
213 | * config/tc-csky.c (csky_archs): Add item for CK860, | |
214 | change ck810 and ck807's arch_flag. | |
215 | (csky_cpus): Add item for CK860. | |
216 | (md_begin): Enable DSP for CK810 and CK807 by default. | |
217 | (md_apply_fix): Fix CKCORE_TLS_IE32 relocation failure. | |
218 | * gas/testsuite/gas/csky/cskyv2_all.d: Change 'sync 0' | |
219 | to 'sync'. | |
220 | * gas/testsuite/gas/csky/cskyv2_all.s: Likewise. | |
221 | * gas/testsuite/gas/csky/cskyv2_ck860.d: New. | |
222 | * gas/testsuite/gas/csky/cskyv2_ck860.s: New. | |
223 | * gas/testsuite/gas/csky/enhance_dsp.d: Change plsli.u16 | |
224 | to plsli.16. | |
225 | * gas/testsuite/gas/csky/enhance_dsp.s: Likewise. | |
226 | ||
12c4b9aa AM |
227 | 2020-08-24 Alan Modra <amodra@gmail.com> |
228 | ||
229 | * config/tc-tic54x.c (stag_add_field_symbols): Don't free "name" | |
230 | in case where it isn't copied. | |
231 | * config/tc-tic54x.h (LOCAL_LABELS_FB): Undef. | |
232 | * testsuite/gas/tic54x/field.d: Dump section contents and symbols | |
233 | rather than disassembling. | |
234 | * testsuite/gas/tic54x/set.d: Adjust for newer disassembly. | |
235 | ||
f16c3d4f AM |
236 | 2020-08-24 Alan Modra <amodra@gmail.com> |
237 | ||
238 | * config/tc-aarch64.c (md_begin): Don't bother checking for | |
239 | out of memory failure from str_htab_create. | |
240 | * config/tc-arc.c (arc_insert_opcode, md_begin): Likewise. | |
241 | (arc_extcorereg, arc_stralloc): Likewise. | |
242 | * config/tc-arm.c (md_begin): Likewise. | |
243 | * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise. | |
244 | * config/tc-cris.c (md_begin): Likewise. | |
245 | * config/tc-crx.c (md_begin): Likewise. | |
246 | * config/tc-pdp11.c (md_begin): Likewise. | |
247 | * config/tc-score.c (s3_build_reg_hsh, s3_begin): Likewise. | |
248 | * config/tc-score7.c (s7_build_reg_hsh, s7_begin): Likewise. | |
249 | ||
f3da8a96 AM |
250 | 2020-08-24 Alan Modra <amodra@gmail.com> |
251 | ||
252 | * config/tc-arm.c (move_or_literal_pool): Avoid false positive | |
253 | "may be used uninitialised". | |
254 | (opcode_lookup): Likewise. | |
255 | ||
85d14aae AM |
256 | 2020-08-24 Alan Modra <amodra@gmail.com> |
257 | ||
258 | PR 26526 | |
259 | * symbols.c (local_symbol_convert): Clear out xtra. | |
260 | ||
d04aee0f CQ |
261 | 2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com> |
262 | ||
263 | * config/tc-csky.c (CSKY_ISA_803R2): New. | |
264 | (csky_archs): Add ck803r2 series. | |
265 | (md_begin): Fix warning about -medsp. | |
266 | (csky_get_freg_val): Support lowercase of fpu register name. | |
267 | * testsuite/gas/csky/cskyv2_ck803r2.s: New file. | |
268 | * testsuite/gas/csky/cskyv2_ck803r2.d: New file. | |
269 | ||
fe0e921f AM |
270 | 2020-08-23 Alan Modra <amodra@gmail.com> |
271 | ||
272 | PR 26513 | |
273 | * hash.h (htab_insert): Update prototype and comment. | |
274 | (struct string_tuple): Make "value" a const void*. | |
275 | (string_tuple_alloc): Likewise. | |
276 | (str_hash_find, str_hash_find_n): Cast returned value. | |
277 | (str_hash_insert): Add "replace" parameter, and return slot pointer. | |
278 | Free alloc'd element when not inserted. | |
279 | * hash.c (htab_insert): Likewise. Return slot when element exists, | |
280 | otherwise return NULL. | |
281 | * read.c (pop_insert): Insert into hash table without first searching. | |
282 | * config/tc-avr.c (md_begin): Likewise. | |
283 | * config/tc-msp430.c (md_begin): Likewise. | |
284 | * config/tc-nds32.c (nds32_init_nds32_pseudo_opcodes): Likewise. | |
285 | * config/tc-v850.c (md_begin): Likewise. | |
286 | * macro.c (do_formals, define_macro, macro_expand_body): Likewise. | |
287 | (delete_macro): Delete from hash table. | |
288 | * config/tc-tic54x.c (subsym_create_or_replace): Correct logic. | |
289 | ||
290 | * symbols.c (local_symbol_make, symbol_table_insert): Allow | |
291 | replacement of hash table entries. | |
292 | * config/obj-coff-seh.c (seh_hash_insert): Likewise. | |
293 | * config/obj-coff.c (tag_insert): Likewise. | |
294 | * config/tc-iq2000.c (iq2000_add_macro): Likewise. | |
295 | * config/tc-m68k.c (md_begin): Likewise for aliases. | |
296 | * config/tc-tic4x.c (tic4x_asg): Likewise. | |
297 | * config/tc-tic6x.c (md_begin): Likewise. | |
298 | ||
299 | * dw2gencfi.c (dwcfi_hash_find_or_make): Disallow replacement of | |
300 | hash table entries. | |
301 | * ecoff.c (add_string, get_tag): Likewise. | |
302 | * macro.c (expand_irp): Likewise. | |
303 | * config/obj-elf.c (build_additional_section_info): Likewise. | |
304 | * config/tc-aarch64.c (insert_reg_alias): Likewise. | |
305 | (checked_hash_insert): Likewise. | |
306 | * config/tc-alpha.c (get_alpha_reloc_tag, md_begin): Likewise. | |
307 | * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise. | |
308 | (declare_addrtype, md_begin, arc_extcorereg): Likewise. | |
309 | * config/tc-arm.c (insert_reg_alias): Likewise. | |
310 | (arm_tc_equal_in_insn, md_begin): Likewise. | |
311 | * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise. | |
312 | * config/tc-cris.c (md_begin): Likewise. | |
313 | * config/tc-crx.c (md_begin): Likewise. | |
314 | * config/tc-csky.c (md_begin): Likewise. | |
315 | * config/tc-d10v.c (md_begin): Likewise. | |
316 | * config/tc-dlx.c (md_begin): Likewise. | |
317 | * config/tc-ft32.c (md_begin): Likewise. | |
318 | * config/tc-h8300.c (md_begin): Likewise. | |
319 | * config/tc-hppa.c (md_begin): Likewise. | |
320 | * config/tc-i386.c (md_begin): Likewise. | |
321 | * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise. | |
322 | (md_begin, dot_alias): Likewise. | |
323 | * config/tc-m68hc11.c (md_begin): Likewise. | |
324 | * config/tc-m68k.c (md_begin): Likewise. | |
325 | * config/tc-mcore.c (md_begin): Likewise. | |
326 | * config/tc-microblaze.c (md_begin): Likewise. | |
327 | * config/tc-mips.c (md_begin): Likewise. | |
328 | * config/tc-mmix.c (md_begin): Likewise. | |
329 | * config/tc-mn10200.c (md_begin): Likewise. | |
330 | * config/tc-mn10300.c (md_begin): Likewise. | |
331 | * config/tc-moxie.c (md_begin): Likewise. | |
332 | * config/tc-nds32.c (nds32_relax_hint, md_begin): Likewise. | |
333 | * config/tc-nios2.c (md_begin): Likewise. | |
334 | * config/tc-ns32k.c (md_begin): Likewise. | |
335 | * config/tc-pdp11.c (md_begin): Likewise. | |
336 | * config/tc-pj.c (fake_opcode, md_begin): Likewise. | |
337 | * config/tc-ppc.c (ppc_setup_opcodes): Likewise. | |
338 | * config/tc-pru.c (md_begin): Likewise. | |
339 | * config/tc-riscv.c (init_ext_version_hash): Likewise. | |
340 | (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise. | |
341 | (riscv_init_csr_hash): Likewise. | |
342 | * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise. | |
343 | * config/tc-score.c (s3_insert_reg): Likewise. | |
344 | (s3_build_score_ops_hsh, s3_build_dependency_insn_hsh): Likewise. | |
345 | * config/tc-score7.c (s7_build_score_ops_hsh): Likewise. | |
346 | (s7_build_dependency_insn_hsh, s7_insert_reg): Likewise. | |
347 | * config/tc-sh.c (md_begin): Likewise. | |
348 | * config/tc-sparc.c (md_begin): Likewise. | |
349 | * config/tc-spu.c (md_begin): Likewise. | |
350 | * config/tc-tic30.c (md_begin): Likewise. | |
351 | * config/tc-tic4x.c (tic4x_inst_insert): Likewise. | |
352 | * config/tc-tic54x.c (stag_add_field_symbols, md_begin): Likewise. | |
353 | (tic54x_endstruct, tic54x_var, tic54x_macro_info): Likewise. | |
354 | (subsym_substitute): Likewise. | |
355 | * config/tc-tilegx.c (md_begin): Likewise. | |
356 | * config/tc-tilepro.c (md_begin): Likewise. | |
357 | * config/tc-vax.c (vip_begin): Likewise. | |
358 | * config/tc-wasm32.c (md_begin): Likewise. | |
359 | * config/tc-xgate.c (md_begin): Likewise. | |
360 | * config/tc-z8k.c (md_begin): Likewise. | |
361 | * testsuite/gas/ppc/dcbt.d, | |
362 | * testsuite/gas/ppc/dcbt.s: New test. | |
363 | * testsuite/gas/ppc/ppc.exp: Run it. | |
364 | ||
365 | * ecoff.c (add_string): Report fatal error on duplicates. | |
366 | * config/tc-alpha.c (md_begin): Likewise. | |
367 | * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise. | |
368 | (declare_addrtype, md_begin, arc_extcorereg): Likewise. | |
369 | * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise. | |
370 | * config/tc-cris.c (md_begin): Likewise. | |
371 | * config/tc-crx.c (md_begin): Likewise. | |
372 | * config/tc-dlx.c (md_begin): Likewise. | |
373 | * config/tc-hppa.c (md_begin): Likewise. | |
374 | * config/tc-i386.c (md_begin): Likewise. | |
375 | * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise. | |
376 | (md_begin): Likewise. | |
377 | * config/tc-m68k.c (md_begin): Likewise. | |
378 | * config/tc-mips.c (md_begin): Likewise. | |
379 | * config/tc-nios2.c (md_begin): Likewise. | |
380 | * config/tc-ns32k.c (md_begin): Likewise. | |
381 | * config/tc-ppc.c (ppc_setup_opcodes): Likewise. | |
382 | * config/tc-pru.c (md_begin): Likewise. | |
383 | * config/tc-riscv.c (init_ext_version_hash): Likewise. | |
384 | (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise. | |
385 | * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise. | |
386 | * config/tc-sparc.c (md_begin): Likewise. | |
387 | * config/tc-tic30.c (md_begin): Likewise. | |
388 | * config/tc-tic4x.c (tic4x_inst_insert): Likewise. | |
389 | * config/tc-tilegx.c (md_begin): Likewise. | |
390 | * config/tc-tilepro.c (md_begin): Likewise. | |
391 | * config/tc-vax.c (vip_begin): Likewise. | |
392 | ||
393 | * config/tc-alpha.c, | |
394 | * config/tc-arm.c, | |
395 | * config/tc-avr.c, | |
396 | * config/tc-cr16.c, | |
397 | * config/tc-csky.c, | |
398 | * config/tc-i386.c, | |
399 | * config/tc-m68hc11.c, | |
400 | * config/tc-m68k.c, | |
401 | * config/tc-microblaze.c, | |
402 | * config/tc-ns32k.c, | |
403 | * config/tc-pj.c, | |
404 | * config/tc-ppc.c, | |
405 | * config/tc-score.c, | |
406 | * config/tc-score7.c, | |
407 | * config/tc-tic4x.c, | |
408 | * config/tc-tic54x.c, | |
409 | * config/tc-tilegx.c, | |
410 | * config/tc-tilepro.c, | |
411 | * config/tc-xgate.c: Formatting. | |
412 | ||
5014c2d2 AM |
413 | 2020-08-21 Alan Modra <amodra@gmail.com> |
414 | ||
415 | * symbols.c (struct local_symbol): Add "hash" entry. Reorder fields. | |
416 | Delete union. Adjust code throughout file. | |
417 | (struct symbol): Add "hash", "name" and "x" entries. Reorder fields. | |
418 | Split off some to.. | |
419 | (struct xsymbol): ..this. New struct. Adjust code throughout file | |
420 | accessing these fields. | |
421 | (struct symbol_entry): Delete. | |
422 | (union symbol_entry): New. | |
423 | (hash_symbol_entry): Adjust for symbol_entry_t change. | |
424 | (symbol_entry_find): Likewise. | |
425 | (eq_symbol_entry): Compare hash values too. | |
426 | (symbol_entry_alloc): Delete. | |
427 | (local_symbol_converted_p, local_symbol_mark_converted): Delete. | |
428 | (local_symbol_get_real_symbol, local_symbol_set_real_symbol): Delete. | |
429 | (local_hash): Delete. | |
430 | (abs_symbol_x, dot_symbol_x): New static var. | |
431 | (symbol_init): New function. | |
432 | (symbol_create): Rewrite. | |
433 | (LOCAL_SYMBOL_CHECK): Delete. Replace uses throughout with simple | |
434 | test of flags.local_symbol. | |
435 | (local_symbol_make): Adjust for struct local_symbol changes. | |
436 | (local_symbol_convert): Rewrite. Adjust all callers. | |
437 | (symbol_table_insert): Simplify. | |
438 | (symbol_clone): Comment on local sym cloning. Handle split symbol | |
439 | struct. | |
440 | (get_real_sym): Delete. Remove all uses. | |
441 | (symbol_find_exact_noref): Simplify. | |
442 | (resolve_local_symbol): Don't resolve non-locals. | |
443 | (S_SET_SEGMENT): Don't special case reg_section. | |
444 | (S_SET_NAME): Set both name and bsym->name. | |
445 | (symbol_mark_resolved, symbol_resolved_p): Simplify. | |
446 | (symbol_symbolS): Update comment. | |
447 | (symbol_begin): Don't create local_hash. Adjust abs_symbol setup. | |
448 | (dot_symbol_init): Adjust dot_symbol setup. | |
449 | (symbol_print_statistics): Delete local_hash stats. | |
450 | ||
3c0d9d71 AM |
451 | 2020-08-21 Alan Modra <amodra@gmail.com> |
452 | ||
453 | * symbols.c (struct symbol_flags): Rename sy_volatile to volatil, | |
454 | and remove sy_ from other field names. Update throughout. | |
455 | (struct symbol): Remove sy_ from field names. Delete unused | |
456 | TARGET_SYMBOL_FIELDS. Update throughout file. Move after.. | |
457 | (struct local_symbol): ..here. Remove lsy_ from field names. | |
458 | Delete unused TC_LOCAL_SYMFIELD_TYPE. Update throughout file. | |
459 | (local_symbol_resolved_p, local_symbol_mark_resolved): Delete. | |
460 | Expand uses throughout file. | |
461 | (local_symbol_get_frag, local_symbol_set_frag): Likewise. | |
462 | (symbol_new): Move symbol_table_frozen test to.. | |
463 | (symbol_append): ..here, and.. | |
464 | (symbol_insert): ..here. | |
465 | (resolve_symbol_value, symbol_relc_make_expr): White space fixes. | |
466 | (HANDLE_XADD_OPT1, HANDLE_XADD_OPT2): Likewise. | |
467 | * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Update. | |
468 | ||
e01e1cee AM |
469 | 2020-08-21 Alan Modra <amodra@gmail.com> |
470 | ||
471 | * symbols.h (symbol_new, symbol_create, local_symbol_make), | |
472 | (symbol_temp_new): Arrange params as section, frag, offset. | |
473 | * symbols.c: Adjust to suit. | |
474 | * as.c: Likewise. | |
475 | * cgen.c: Likewise. | |
476 | * dwarf2dbg.c: Likewise. | |
477 | * ecoff.c: Likewise. | |
478 | * expr.c: Likewise. | |
479 | * itbl-ops.c: Likewise. | |
480 | * read.c: Likewise. | |
481 | * stabs.c: Likewise. | |
482 | * subsegs.c: Likewise. | |
483 | * config/obj-coff.c: Likewise. | |
484 | * config/obj-elf.c: Likewise. | |
485 | * config/obj-macho.c: Likewise. | |
486 | * config/tc-aarch64.c: Likewise. | |
487 | * config/tc-alpha.c: Likewise. | |
488 | * config/tc-arc.c: Likewise. | |
489 | * config/tc-arm.c: Likewise. | |
490 | * config/tc-avr.c: Likewise. | |
491 | * config/tc-cr16.c: Likewise. | |
492 | * config/tc-cris.c: Likewise. | |
493 | * config/tc-csky.c: Likewise. | |
494 | * config/tc-dlx.c: Likewise. | |
495 | * config/tc-hppa.c: Likewise. | |
496 | * config/tc-i386.c: Likewise. | |
497 | * config/tc-ia64.c: Likewise. | |
498 | * config/tc-m32r.c: Likewise. | |
499 | * config/tc-m68k.c: Likewise. | |
500 | * config/tc-mips.c: Likewise. | |
501 | * config/tc-mmix.c: Likewise. | |
502 | * config/tc-mn10200.c: Likewise. | |
503 | * config/tc-mn10300.c: Likewise. | |
504 | * config/tc-nds32.c: Likewise. | |
505 | * config/tc-nios2.c: Likewise. | |
506 | * config/tc-ppc.c: Likewise. | |
507 | * config/tc-riscv.c: Likewise. | |
508 | * config/tc-s390.c: Likewise. | |
509 | * config/tc-sh.c: Likewise. | |
510 | * config/tc-tic4x.c: Likewise. | |
511 | * config/tc-tic54x.c: Likewise. | |
512 | * config/tc-xtensa.c: Likewise. | |
513 | ||
d285ba8d CQ |
514 | 2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com> |
515 | ||
516 | * config/tc-csky.c (csky_insn_info): Add member last_isize. | |
517 | (md_assemble): Assign value to csky_insn.last_isize. | |
518 | * testsuite/gas/csky/enhance_dsp.d: Test bloop's two operands form. | |
519 | * testsuite/gas/csky/enhance_dsp.s: Likewise. | |
520 | ||
a0522545 ML |
521 | 2020-08-20 Martin Liska <mliska@suse.cz> |
522 | ||
523 | * NEWS: Mention --reduce-memory-overheads and --hash-size arguments | |
524 | options. | |
525 | * as.c: Remove the options from help. | |
526 | * doc/as.texi: Remove options. | |
527 | * doc/internals.texi: Remove hash from documentation. | |
528 | * hash.c (struct hash_entry): Remove. | |
529 | (struct hash_control): Likewise. | |
530 | (set_gas_hash_table_size): Likewise. | |
531 | (hash_new_sized): Likewise. | |
532 | (hash_new): Likewise. | |
533 | (hash_die): Likewise. | |
534 | (hash_lookup): Likewise. | |
535 | (hash_insert): Likewise. | |
536 | (hash_jam): Likewise. | |
537 | (hash_replace): Likewise. | |
538 | (hash_find): Likewise. | |
539 | (hash_find_n): Likewise. | |
540 | (hash_delete): Likewise. | |
541 | (hash_traverse): Likewise. | |
542 | (hash_print_statistics): Likewise. | |
543 | (TABLES): Likewise. | |
544 | (STATBUFSIZE): Likewise. | |
545 | (main): Likewise. | |
546 | (what): Likewise. | |
547 | (destroy): Likewise. | |
548 | (applicatee): Likewise. | |
549 | (whattable): Likewise. | |
550 | * hash.h (struct hash_control): Likewise. | |
551 | (set_gas_hash_table_size): Likewise. | |
552 | (hash_new): Likewise. | |
553 | (hash_new_sized): Likewise. | |
554 | (hash_die): Likewise. | |
555 | (hash_insert): Likewise. | |
556 | (hash_jam): Likewise. | |
557 | (hash_replace): Likewise. | |
558 | (hash_find): Likewise. | |
559 | (hash_find_n): Likewise. | |
560 | (hash_delete): Likewise. | |
561 | (hash_traverse): Likewise. | |
562 | (hash_print_statistics): Likewise. | |
563 | ||
629310ab ML |
564 | 2020-08-20 Martin Liska <mliska@suse.cz> |
565 | ||
566 | * config/obj-coff-seh.c (seh_hash_insert): Port to use new | |
567 | str_htab type. | |
568 | (seh_hash_find): Likewise. | |
569 | (seh_hash_find_or_make): Likewise. | |
570 | * config/obj-coff.c (tag_init): Likewise. | |
571 | (tag_insert): Likewise. | |
572 | (tag_find): Likewise. | |
573 | * config/obj-elf.c (struct group_list): Likewise. | |
574 | (build_additional_section_info): Likewise. | |
575 | (free_section_idx): Likewise. | |
576 | (elf_adjust_symtab): Likewise. | |
577 | (elf_frob_file_after_relocs): Likewise. | |
578 | * config/tc-aarch64.c (INSN_SIZE): Likewise. | |
579 | (parse_reg): Likewise. | |
580 | (insert_reg_alias): Likewise. | |
581 | (create_register_alias): Likewise. | |
582 | (s_unreq): Likewise. | |
583 | (parse_shift): Likewise. | |
584 | (parse_pldop): Likewise. | |
585 | (parse_barrier): Likewise. | |
586 | (parse_barrier_psb): Likewise. | |
587 | (parse_bti_operand): Likewise. | |
588 | (parse_sys_reg): Likewise. | |
589 | (parse_sys_ins_reg): Likewise. | |
590 | (lookup_mnemonic): Likewise. | |
591 | (opcode_lookup): Likewise. | |
592 | (parse_operands): Likewise. | |
593 | (checked_hash_insert): Likewise. | |
594 | (sysreg_hash_insert): Likewise. | |
595 | (fill_instruction_hash_table): Likewise. | |
596 | (md_begin): Likewise. | |
597 | * config/tc-alpha.c (struct alpha_reloc_tag): Likewise. | |
598 | (get_alpha_reloc_tag): Likewise. | |
599 | (assemble_tokens_to_insn): Likewise. | |
600 | (assemble_tokens): Likewise. | |
601 | (md_begin): Likewise. | |
602 | * config/tc-arc.c (arc_find_opcode): Likewise. | |
603 | (arc_insert_opcode): Likewise. | |
604 | (find_opcode_match): Likewise. | |
605 | (declare_register): Likewise. | |
606 | (declare_addrtype): Likewise. | |
607 | (md_begin): Likewise. | |
608 | (arc_parse_name): Likewise. | |
609 | (tc_arc_regname_to_dw2regnum): Likewise. | |
610 | (arc_extcorereg): Likewise. | |
611 | * config/tc-arm.c (MVE_BAD_QREG): Likewise. | |
612 | (arm_reg_parse_multi): Likewise. | |
613 | (parse_reloc): Likewise. | |
614 | (insert_reg_alias): Likewise. | |
615 | (create_register_alias): Likewise. | |
616 | (s_unreq): Likewise. | |
617 | (parse_shift): Likewise. | |
618 | (parse_psr): Likewise. | |
619 | (parse_cond): Likewise. | |
620 | (parse_barrier): Likewise. | |
621 | (do_vfp_nsyn_opcode): Likewise. | |
622 | (opcode_lookup): Likewise. | |
623 | (arm_tc_equal_in_insn): Likewise. | |
624 | (md_begin): Likewise. | |
625 | * config/tc-avr.c (md_begin): Likewise. | |
626 | (avr_ldi_expression): Likewise. | |
627 | (md_assemble): Likewise. | |
628 | (avr_update_gccisr): Likewise. | |
629 | (avr_emit_insn): Likewise. | |
630 | * config/tc-cr16.c (get_register): Likewise. | |
631 | (get_register_pair): Likewise. | |
632 | (get_index_register): Likewise. | |
633 | (get_index_register_pair): Likewise. | |
634 | (get_pregister): Likewise. | |
635 | (get_pregisterp): Likewise. | |
636 | (initialise_reg_hash_table): Likewise. | |
637 | (md_begin): Likewise. | |
638 | (cr16_assemble): Likewise. | |
639 | (md_assemble): Likewise. | |
640 | * config/tc-cris.c (cris_insn_first_word_frag): Likewise. | |
641 | (md_begin): Likewise. | |
642 | (cris_process_instruction): Likewise. | |
643 | * config/tc-crx.c (get_register): Likewise. | |
644 | (get_copregister): Likewise. | |
645 | (md_begin): Likewise. | |
646 | (md_assemble): Likewise. | |
647 | * config/tc-csky.c (md_begin): Likewise. | |
648 | (parse_opcode): Likewise. | |
649 | (get_operand_value): Likewise. | |
650 | (v1_work_jbsr): Likewise. | |
651 | (v2_work_rotlc): Likewise. | |
652 | (v2_work_bgeni): Likewise. | |
653 | (v2_work_not): Likewise. | |
654 | * config/tc-d10v.c (sizeof): Likewise. | |
655 | (md_begin): Likewise. | |
656 | (do_assemble): Likewise. | |
657 | (md_apply_fix): Likewise. | |
658 | * config/tc-d30v.c (sizeof): Likewise. | |
659 | (md_begin): Likewise. | |
660 | (do_assemble): Likewise. | |
661 | * config/tc-dlx.c (RELOC_DLX_VTENTRY): Likewise. | |
662 | (md_begin): Likewise. | |
663 | (machine_ip): Likewise. | |
664 | * config/tc-ft32.c (md_begin): Likewise. | |
665 | (md_assemble): Likewise. | |
666 | * config/tc-h8300.c (md_begin): Likewise. | |
667 | (md_assemble): Likewise. | |
668 | * config/tc-hppa.c (pa_ip): Likewise. | |
669 | (md_begin): Likewise. | |
670 | * config/tc-i386.c (md_begin): Likewise. | |
671 | (i386_print_statistics): Likewise. | |
672 | (parse_insn): Likewise. | |
673 | (process_operands): Likewise. | |
674 | (i386_index_check): Likewise. | |
675 | (parse_real_register): Likewise. | |
676 | * config/tc-ia64.c (dot_rot): Likewise. | |
677 | (dot_entry): Likewise. | |
678 | (declare_register): Likewise. | |
679 | (md_begin): Likewise. | |
680 | (ia64_parse_name): Likewise. | |
681 | (md_assemble): Likewise. | |
682 | (dot_alias): Likewise. | |
683 | (do_alias): Likewise. | |
684 | (ia64_adjust_symtab): Likewise. | |
685 | (do_secalias): Likewise. | |
686 | (ia64_frob_file): Likewise. | |
687 | * config/tc-m68hc11.c (m68hc11_print_statistics): Likewise. | |
688 | (md_begin): Likewise. | |
689 | (print_insn_format): Likewise. | |
690 | (md_assemble): Likewise. | |
691 | * config/tc-m68k.c (tc_gen_reloc): Likewise. | |
692 | (m68k_ip): Likewise. | |
693 | (md_begin): Likewise. | |
694 | * config/tc-mcore.c (md_begin): Likewise. | |
695 | (md_assemble): Likewise. | |
696 | * config/tc-microblaze.c (md_begin): Likewise. | |
697 | (md_assemble): Likewise. | |
698 | (md_apply_fix): Likewise. | |
699 | * config/tc-mips.c (nopic_need_relax): Likewise. | |
700 | (md_begin): Likewise. | |
701 | (macro_build): Likewise. | |
702 | (mips16_macro_build): Likewise. | |
703 | (mips_lookup_insn): Likewise. | |
704 | (mips_ip): Likewise. | |
705 | (mips16_ip): Likewise. | |
706 | * config/tc-mmix.c (sizeof): Likewise. | |
707 | (mmix_md_begin): Likewise. | |
708 | (md_assemble): Likewise. | |
709 | * config/tc-mn10200.c (md_begin): Likewise. | |
710 | (md_assemble): Likewise. | |
711 | * config/tc-mn10300.c (HAVE_AM30): Likewise. | |
712 | (md_begin): Likewise. | |
713 | (md_assemble): Likewise. | |
714 | * config/tc-moxie.c (md_begin): Likewise. | |
715 | (md_assemble): Likewise. | |
716 | * config/tc-msp430.c (md_begin): Likewise. | |
717 | (msp430_operands): Likewise. | |
718 | (md_assemble): Likewise. | |
719 | * config/tc-nds32.c (PV_DONT_CARE): Likewise. | |
720 | (builtin_isreg): Likewise. | |
721 | (builtin_regnum): Likewise. | |
722 | (nds32_init_nds32_pseudo_opcodes): Likewise. | |
723 | (nds32_lookup_pseudo_opcode): Likewise. | |
724 | (nds32_relax_hint): Likewise. | |
725 | (md_begin): Likewise. | |
726 | (nds32_find_reloc_table): Likewise. | |
727 | (nds32_elf_append_relax_relocs_traverse): Likewise. | |
728 | (nds32_relax_branch_instructions): Likewise. | |
729 | (md_convert_frag): Likewise. | |
730 | (nds32_elf_analysis_relax_hint): Likewise. | |
731 | (tc_nds32_regname_to_dw2regnum): Likewise. | |
732 | * config/tc-nios2.c (nios2_opcode_lookup): Likewise. | |
733 | (nios2_reg_lookup): Likewise. | |
734 | (nios2_ps_lookup): Likewise. | |
735 | (md_begin): Likewise. | |
736 | * config/tc-ns32k.c (struct hash_control): Likewise. | |
737 | (parse): Likewise. | |
738 | (md_begin): Likewise. | |
739 | * config/tc-pdp11.c (md_begin): Likewise. | |
740 | (md_assemble): Likewise. | |
741 | * config/tc-pj.c (fake_opcode): Likewise. | |
742 | (alias): Likewise. | |
743 | (md_begin): Likewise. | |
744 | (md_assemble): Likewise. | |
745 | * config/tc-ppc.c (ppc_setup_opcodes): Likewise. | |
746 | (md_assemble): Likewise. | |
747 | * config/tc-pru.c (pru_opcode_lookup): Likewise. | |
748 | (pru_reg_lookup): Likewise. | |
749 | (md_begin): Likewise. | |
750 | (md_end): Likewise. | |
751 | * config/tc-riscv.c (init_ext_version_hash): Likewise. | |
752 | (riscv_get_default_ext_version): Likewise. | |
753 | (riscv_set_arch): Likewise. | |
754 | (init_opcode_names_hash): Likewise. | |
755 | (opcode_name_lookup): Likewise. | |
756 | (enum reg_class): Likewise. | |
757 | (hash_reg_name): Likewise. | |
758 | (riscv_init_csr_hash): Likewise. | |
759 | (reg_csr_lookup_internal): Likewise. | |
760 | (reg_lookup_internal): Likewise. | |
761 | (init_opcode_hash): Likewise. | |
762 | (md_begin): Likewise. | |
763 | (DECLARE_CSR): Likewise. | |
764 | (macro_build): Likewise. | |
765 | (riscv_ip): Likewise. | |
766 | * config/tc-s390.c (register_name): Likewise. | |
767 | (s390_setup_opcodes): Likewise. | |
768 | (md_begin): Likewise. | |
769 | (md_assemble): Likewise. | |
770 | (s390_insn): Likewise. | |
771 | * config/tc-score.c (struct s3_reg_map): Likewise. | |
772 | (s3_score_reg_parse): Likewise. | |
773 | (s3_dependency_type_from_insn): Likewise. | |
774 | (s3_parse_16_32_inst): Likewise. | |
775 | (s3_parse_48_inst): Likewise. | |
776 | (s3_insert_reg): Likewise. | |
777 | (s3_build_reg_hsh): Likewise. | |
778 | (s3_build_score_ops_hsh): Likewise. | |
779 | (s3_build_dependency_insn_hsh): Likewise. | |
780 | (s3_begin): Likewise. | |
781 | * config/tc-score7.c (struct s7_reg_map): Likewise. | |
782 | (s7_score_reg_parse): Likewise. | |
783 | (s7_dependency_type_from_insn): Likewise. | |
784 | (s7_parse_16_32_inst): Likewise. | |
785 | (s7_build_score_ops_hsh): Likewise. | |
786 | (s7_build_dependency_insn_hsh): Likewise. | |
787 | (s7_insert_reg): Likewise. | |
788 | (s7_build_reg_hsh): Likewise. | |
789 | (s7_begin): Likewise. | |
790 | * config/tc-sh.c (EMPTY): Likewise. | |
791 | (md_begin): Likewise. | |
792 | (find_cooked_opcode): Likewise. | |
793 | * config/tc-sparc.c (md_begin): Likewise. | |
794 | (sparc_ip): Likewise. | |
795 | * config/tc-spu.c (md_begin): Likewise. | |
796 | (md_assemble): Likewise. | |
797 | * config/tc-tic30.c (md_begin): Likewise. | |
798 | (tic30_operand): Likewise. | |
799 | (tic30_parallel_insn): Likewise. | |
800 | (md_assemble): Likewise. | |
801 | * config/tc-tic4x.c (TIC4X_ALT_SYNTAX): Likewise. | |
802 | (tic4x_asg): Likewise. | |
803 | (tic4x_inst_insert): Likewise. | |
804 | (tic4x_inst_add): Likewise. | |
805 | (md_begin): Likewise. | |
806 | (tic4x_operand_parse): Likewise. | |
807 | (md_assemble): Likewise. | |
808 | * config/tc-tic54x.c (MAX_SUBSYM_HASH): Likewise. | |
809 | (stag_add_field_symbols): Likewise. | |
810 | (tic54x_endstruct): Likewise. | |
811 | (tic54x_tag): Likewise. | |
812 | (tic54x_remove_local_label): Likewise. | |
813 | (tic54x_clear_local_labels): Likewise. | |
814 | (tic54x_var): Likewise. | |
815 | (tic54x_macro_start): Likewise. | |
816 | (tic54x_macro_info): Likewise. | |
817 | (tic54x_macro_end): Likewise. | |
818 | (subsym_isreg): Likewise. | |
819 | (subsym_structsz): Likewise. | |
820 | (md_begin): Likewise. | |
821 | (is_mmreg): Likewise. | |
822 | (is_type): Likewise. | |
823 | (encode_condition): Likewise. | |
824 | (encode_cc3): Likewise. | |
825 | (encode_cc2): Likewise. | |
826 | (encode_operand): Likewise. | |
827 | (tic54x_parse_insn): Likewise. | |
828 | (tic54x_parse_parallel_insn_firstline): Likewise. | |
829 | (subsym_create_or_replace): Likewise. | |
830 | (subsym_lookup): Likewise. | |
831 | (subsym_substitute): Likewise. | |
832 | (tic54x_undefined_symbol): Likewise. | |
833 | * config/tc-tic6x.c (md_begin): Likewise. | |
834 | (md_assemble): Likewise. | |
835 | * config/tc-tilegx.c (O_hw2_last_plt): Likewise. | |
836 | (INSERT_SPECIAL_OP): Likewise. | |
837 | (md_begin): Likewise. | |
838 | (tilegx_parse_name): Likewise. | |
839 | (parse_reg_expression): Likewise. | |
840 | (md_assemble): Likewise. | |
841 | * config/tc-tilepro.c (O_tls_ie_load): Likewise. | |
842 | (INSERT_SPECIAL_OP): Likewise. | |
843 | (tilepro_parse_name): Likewise. | |
844 | (parse_reg_expression): Likewise. | |
845 | (md_assemble): Likewise. | |
846 | * config/tc-v850.c (md_begin): Likewise. | |
847 | (md_assemble): Likewise. | |
848 | * config/tc-vax.c (md_ri_to_chars): Likewise. | |
849 | (vip_begin): Likewise. | |
850 | (vip): Likewise. | |
851 | (main): Likewise. | |
852 | (md_begin): Likewise. | |
853 | * config/tc-wasm32.c (md_begin): Likewise. | |
854 | (md_assemble): Likewise. | |
855 | * config/tc-xgate.c (xgate_parse_operand): Likewise. | |
856 | (md_begin): Likewise. | |
857 | (md_assemble): Likewise. | |
858 | * config/tc-z8k.c (md_begin): Likewise. | |
859 | (md_assemble): Likewise. | |
860 | ||
494b2fc8 ML |
861 | 2020-08-20 Martin Liska <mliska@suse.cz> |
862 | ||
863 | * dw2gencfi.c (dwcfi_hash_insert): Use htab_t and str_hash_* | |
864 | functions. | |
865 | (dwcfi_hash_find): Likewise. | |
866 | (dwcfi_hash_find_or_make): Likewise. | |
867 | ||
f7a5981b ML |
868 | 2020-08-20 Martin Liska <mliska@suse.cz> |
869 | ||
870 | * ecoff.c (INIT_VARRAY): Use htab_t. | |
871 | (add_string): Likewise. | |
872 | (ecoff_read_begin_hook): Use new str_htab_create. | |
873 | (get_tag): Use htab_t. | |
874 | (add_file): Likewise. | |
875 | ||
8d32ded0 ML |
876 | 2020-08-20 Martin Liska <mliska@suse.cz> |
877 | ||
878 | * hash.h (struct string_tuple): New. | |
879 | (hash_string_tuple): Likewise. | |
880 | (eq_string_tuple): Likewise. | |
881 | (string_tuple_alloc): Likewise. | |
882 | (str_hash_find): Likewise. | |
883 | (str_hash_find_n): Likewise. | |
884 | (str_hash_delete): Likewise. | |
885 | (str_hash_insert): Likewise. | |
886 | (str_htab_create): Likewise. | |
887 | ||
d3b740ca ML |
888 | 2020-08-20 Martin Liska <mliska@suse.cz> |
889 | ||
890 | * symbols.c (struct symbol_entry): New. | |
891 | (hash_symbol_entry): Likewise. | |
892 | (eq_symbol_entry): Likewise. | |
893 | (symbol_entry_alloc): Likewise. | |
894 | (symbol_entry_find): Likewise. | |
895 | (local_symbol_make): Use htab hash table. | |
896 | (local_symbol_convert): Likewise. | |
897 | (symbol_table_insert): Likewise. | |
898 | (symbol_find_exact_noref): Likewise. | |
899 | (resolve_local_symbol): Likewise. | |
900 | (resolve_local_symbol_values): Likewise. | |
901 | (symbol_begin): Likewise. | |
902 | (symbol_print_statistics): Likewise. | |
903 | ||
32e4c1c2 ML |
904 | 2020-08-20 Martin Liska <mliska@suse.cz> |
905 | ||
906 | * read.c (struct po_entry): New. | |
907 | (hash_po_entry): Likewise. | |
908 | (eq_po_entry): Likewise. | |
909 | (po_entry_alloc): Likewise. | |
910 | (po_entry_find): Likewise. | |
911 | (pop_insert): Likewise. | |
912 | (pobegin): Use htab hash table. | |
913 | (read_a_source_file): Likewise. | |
914 | (s_macro): Likewise. | |
915 | (read_print_statistics): Likewise. | |
916 | * config/tc-m68k.c (m68k_conditional_pseudoop): Add const qualifier. | |
917 | * config/tc-m68k.h (m68k_conditional_pseudoop): Likewise. | |
918 | ||
2b272f44 ML |
919 | 2020-08-20 Martin Liska <mliska@suse.cz> |
920 | ||
921 | * config/tc-iq2000.c (iq2000_add_macro): Use htab hash table. | |
922 | * macro.c (struct hash_control): Use htab. | |
923 | (macro_init): Likewise. | |
924 | (do_formals): Likewise. | |
925 | (free_macro): Likewise. | |
926 | (define_macro): Likewise. | |
927 | (sub_actual): Likewise. | |
928 | (macro_expand_body): Likewise. | |
929 | (macro_expand): Likewise. | |
930 | (check_macro): Likewise. | |
931 | (delete_macro): Likewise. | |
932 | (expand_irp): Likewise. | |
933 | * macro.h (struct macro_hash_entry): New struct. | |
934 | (hash_macro_entry): New. | |
935 | (eq_macro_entry): Likewise. | |
936 | (macro_entry_alloc): Likewise. | |
937 | (macro_entry_find): Likewise. | |
938 | (struct formal_hash_entry): Likewise. | |
939 | (hash_formal_entry): Likewise. | |
940 | (eq_formal_entry): Likewise. | |
941 | (formal_entry_alloc): Likewise. | |
942 | (formal_entry_find): Likewise. | |
943 | ||
abebb03c ML |
944 | 2020-08-20 Martin Liska <mliska@suse.cz> |
945 | ||
946 | * as.h: Include hashtab.h. | |
947 | * hash.c (htab_insert): New. | |
948 | (htab_print_statistics): Likewise. | |
949 | * hash.h (htab_insert): Likewise. | |
950 | (htab_print_statistics): Likewise. | |
951 | ||
18a8a00e AM |
952 | 2020-08-19 Alan Modra <amodra@gmail.com> |
953 | ||
954 | * testsuite/gas/ppc/int128.s: Correct vcmpuq. | |
955 | * testsuite/gas/ppc/int128.d: Update. | |
956 | * testsuite/gas/ppc/xvtlsbb.d: Update. | |
957 | ||
587a4371 PB |
958 | 2020-08-18 Peter Bergner <bergner@linux.ibm.com> |
959 | ||
960 | * testsuite/gas/ppc/vsx4.s: Update test to use new mnemonic. | |
961 | * testsuite/gas/ppc/vsx4.d: Likewise. | |
962 | ||
d4d05d13 AC |
963 | 2020-08-17 Alex Coplan <alex.coplan@arm.com> |
964 | ||
965 | * config/obj-elf.c (obj_elf_change_section): When repurposing an | |
966 | existing symbol, ensure that we set sy_value as per other (fresh) | |
967 | section symbols. | |
968 | * testsuite/gas/elf/elf.exp: Add new test. | |
969 | * testsuite/gas/elf/section-symbol-redef.d: New test. | |
970 | * testsuite/gas/elf/section-symbol-redef.s: Input for test. | |
971 | ||
8118fd43 NC |
972 | 2020-08-13 Nick Clifton <nickc@redhat.com> |
973 | ||
974 | PR 26359 | |
975 | * config/obj-som.c (obj_som_init_stab_section): Do nothing if the | |
976 | $GDB_DEBUG$ section has already been created. | |
977 | ||
225f1684 JR |
978 | 2020-08-12 Joe Ramsay <joe.ramsay@.arm.com> |
979 | ||
980 | * config/tc-arm.c (do_neon_cvt_1): Parse vcvtne as vcvt-ne for | |
981 | NS_FD shape when MVE is present | |
982 | * testsuite/gas/arm/mve-vcvtne-it-bad.d: New test. | |
983 | * testsuite/gas/arm/mve-vcvtne-it-bad.l: New test. | |
984 | * testsuite/gas/arm/mve-vcvtne-it-bad.s: New test. | |
985 | * testsuite/gas/arm/mve-vcvtne-it.d: New test. | |
986 | * testsuite/gas/arm/mve-vcvtne-it.s: New test. | |
987 | ||
2e49fd1e AC |
988 | 2020-08-12 Alex Coplan <alex.coplan@arm.com> |
989 | ||
990 | * testsuite/gas/aarch64/mpam-bad.d: New test. | |
991 | * testsuite/gas/aarch64/mpam-bad.l: Error output. | |
992 | * testsuite/gas/aarch64/mpam-bad.s: Input. | |
993 | * testsuite/gas/aarch64/mpam.d: New test. | |
994 | * testsuite/gas/aarch64/mpam.s: Input. | |
995 | ||
369afd50 NC |
996 | 2020-08-12 Nick Clifton <nickc@redhat.com> |
997 | ||
998 | PR 26346 | |
999 | * doc/c-riscv.texi (RISC-V-Options): Fix typo in the description | |
1000 | of the -mno-csr-check option. | |
1001 | ||
79ddc884 NC |
1002 | 2020-08-12 Nick Clifton <nickc@redhat.com> |
1003 | ||
1004 | * po/ru.po: Updated Russian translation. | |
1005 | ||
fa63795f AC |
1006 | 2020-08-10 Alex Coplan <alex.coplan@arm.com> |
1007 | ||
1008 | * config/tc-aarch64.c (parse_sys_reg): Don't assert when parsing | |
1009 | a long system register. | |
1010 | (parse_sys_ins_reg): Likewise. | |
1011 | (sysreg_hash_insert): New. | |
1012 | (md_begin): Use sysreg_hash_insert() to ensure all system | |
1013 | registers are no longer than the maximum length at startup. | |
1014 | * testsuite/gas/aarch64/invalid-sysreg-assert.d: New test. | |
1015 | * testsuite/gas/aarch64/invalid-sysreg-assert.l: Error output. | |
1016 | * testsuite/gas/aarch64/invalid-sysreg-assert.s: Input. | |
1017 | ||
f7cb161e PW |
1018 | 2020-08-10 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> |
1019 | ||
1020 | * config/tc-aarch64.c (parse_sys_reg): Call to | |
1021 | aarch64_sys_ins_reg_supported_p instead of | |
1022 | aarch64_sys_reg_supported_p. | |
1023 | (parse_sys_ins_reg): Add aarch64_sys_reg_deprecated_p check. | |
1024 | * testsuite/gas/aarch64/illegal-sysreg-5.d: New test. | |
1025 | * testsuite/gas/aarch64/illegal-sysreg-5.l: New test. | |
1026 | * testsuite/gas/aarch64/sysreg-5.s: New test. | |
1027 | ||
8b2742a1 AM |
1028 | 2020-08-10 Alan Modra <amodra@gmail.com> |
1029 | ||
1030 | * testsuite/gas/ppc/power8.d, | |
1031 | * testsuite/gas/ppc/power8.s: Add miso. | |
1032 | * testsuite/gas/ppc/power9.d, | |
1033 | * testsuite/gas/ppc/power8.s: Add exser, msgsndu, msgclru. | |
1034 | ||
5fbec329 AM |
1035 | 2020-08-10 Alan Modra <amodra@gmail.com> |
1036 | ||
1037 | * testsuite/gas/ppc/power8.d: Update. | |
1038 | * testsuite/gas/ppc/vsx2.d: Update. | |
1039 | ||
86c0f617 AM |
1040 | 2020-08-10 Alan Modra <amodra@gmail.com> |
1041 | ||
1042 | * config/tc-ppc.c (md_assemble): Error for lmw, stmw, lswi, lswx, | |
1043 | stswi, or stswx in little-endian mode. | |
1044 | * testsuite/gas/ppc/476.d, | |
1045 | * testsuite/gas/ppc/476.s: Delete lmw, stmw, lswi, lswx, stswi, stswx. | |
1046 | * testsuite/gas/ppc/a2.d, | |
1047 | * testsuite/gas/ppc/a2.s: Move lmw, stmw, lswi, lswx, stswi, stswx.. | |
1048 | * testsuite/gas/ppc/be.d, | |
1049 | * testsuite/gas/ppc/be.s: ..to here, new big-endian only test. | |
1050 | * testsuite/gas/ppc/le_error.d, | |
1051 | * testsuite/gas/ppc/le_error.l: New little-endian test. | |
1052 | * testsuite/gas/ppc/ppc.exp: Run new tests. | |
1053 | ||
7bb178ec L |
1054 | 2020-08-07 H.J. Lu <hongjiu.lu@intel.com> |
1055 | ||
1056 | * read.c (read_a_source_file): Ignore rest of line on overflow | |
1057 | error. | |
1058 | ||
d27aad4e AC |
1059 | 2020-08-06 Alex Coplan <alex.coplan@arm.com> |
1060 | ||
1061 | * read.c (read_a_source_file): Use long for local labels, detect | |
1062 | overflow and raise an error for overly-long labels. | |
1063 | * testsuite/gas/all/gas.exp: Add local-label-overflow test. | |
1064 | * testsuite/gas/all/local-label-overflow.d: New test. | |
1065 | * testsuite/gas/all/local-label-overflow.l: Error output. | |
1066 | * testsuite/gas/all/local-label-overflow.s: Input. | |
1067 | ||
563a3225 CG |
1068 | 2020-08-04 Christian Groessler <chris@groessler.org> |
1069 | ||
1070 | * gas/testsuite/gas/z8k/inout.d: Adapt to correct encoding of | |
1071 | "sout/soutb #imm,reg" | |
1072 | ||
789198ca L |
1073 | 2020-08-04 H.J. Lu <hongjiu.lu@intel.com> |
1074 | ||
1075 | * NEWS: Mention {disp16} pseudo prefix. | |
1076 | ||
b0a72f49 L |
1077 | 2020-08-04 H.J. Lu <hongjiu.lu@intel.com> |
1078 | ||
1079 | * testsuite/gas/i386/x86-64-pseudos.d: Revert an accidental | |
1080 | change. | |
1081 | ||
6b9a135d MW |
1082 | 2020-08-04 Mark Wielaard <mark@klomp.org> |
1083 | ||
1084 | * dwarf2dbg.c (out_debug_abbrev): When DWARF2_VERSION >= 4, use | |
1085 | DW_FORM_udata for DW_AT_high_pc. | |
1086 | (out_debug_info): Use emit_leb128_expr for DW_AT_high_pc, when | |
1087 | DWARF2_VERSION >= 4. | |
1088 | * read.c (emit_leb128_exp): No longer static. | |
1089 | * read.h (emit_leb128_exp): Define. | |
1090 | ||
f63d03dd MW |
1091 | 2020-08-02 Mark Wielaard <mark@klomp.org> |
1092 | ||
1093 | * gas/dwarf2dbg.c (out_dir_and_file_list): For DWARF5 emit at | |
1094 | least one directory if there is at least one file. Use dirs[1] | |
1095 | if dirs[0] is not set, or if there is no dirs[1] the current | |
1096 | working directory. Use files[1] filename, when files[0] filename | |
1097 | isn't set. | |
1098 | ||
a3b3e858 MW |
1099 | 2020-08-02 Mark Wielaard <mark@klomp.org> |
1100 | ||
1101 | * dwarf2dbg.c (out_debug_info): Emit unit type and abbrev offset | |
1102 | for DWARF5. | |
1103 | * gas/testsuite/gas/elf/dwarf-4-cu.d: New file. | |
1104 | * gas/testsuite/gas/elf/dwarf-4-cu.s: Likewise. | |
1105 | * gas/testsuite/gas/elf/dwarf-5-cu.d: Likewise. | |
1106 | * gas/testsuite/gas/elf/dwarf-5-cu.s: Likewise. | |
1107 | * testsuite/gas/elf/elf.exp: Run dwarf-4-cu and dwarf-5-cu. | |
1108 | ||
25b1f10d MW |
1109 | 2020-08-02 Mark Wielaard <mark@klomp.org> |
1110 | ||
1111 | * doc/as.texi (--gdwarf-[345]): Fix typo. | |
1112 | ||
e4ae357f JL |
1113 | 2020-08-03 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
1114 | ||
1115 | * config/tc-msp430.c (OPTION_MOVE_DATA): Remove. | |
1116 | (md_parse_option): Remove case for OPTION_MOVE_DATA. | |
1117 | (md_longopts): Remove "md" entry. | |
1118 | (md_show_usage): Likewise. | |
1119 | ||
41eb8e88 L |
1120 | 2020-07-30 H.J. Lu <hongjiu.lu@intel.com> |
1121 | ||
1122 | PR gas/26305 | |
1123 | * config/tc-i386.c (_i386_insn::disp_encoding): Add | |
1124 | disp_encoding_16bit. | |
1125 | (parse_insn): Check Prefix_XXX for pseudo prefixes. Handle | |
1126 | {disp16}. | |
1127 | (build_modrm_byte): Handle {disp16}. | |
1128 | (i386_index_check): Check invalid {disp16} and {disp32} pseudo | |
1129 | prefixes. | |
1130 | * doc/c-i386.texi: Update {disp32} documentation and document | |
1131 | {disp16}. | |
1132 | * testsuite/gas/i386/i386.exp: Run x86-64-inval-pseudo. | |
1133 | * testsuite/gas/i386/inval-pseudo.s: Add {disp32}/{disp16} | |
1134 | tests. | |
1135 | * testsuite/gas/i386/pseudos.s: Add {disp8}/{disp32} vmovaps | |
1136 | tests with 128-byte displacement. Add {disp16} tests. | |
1137 | * testsuite/gas/i386/x86-64-pseudos.s: Add {disp8}/{disp32} | |
1138 | vmovaps test. Add (%r13)/(%r13d) tests. | |
1139 | * testsuite/gas/i386/x86-64-inval-pseudo.l: New file. | |
1140 | * testsuite/gas/i386/x86-64-inval-pseudo.s: Likewise. | |
1141 | * testsuite/gas/i386/inval-pseudo.l: Updated. | |
1142 | * testsuite/gas/i386/pseudos.d: Likewise. | |
1143 | * testsuite/gas/i386/x86-64-pseudos.d: Likewise. | |
1144 | ||
c8693053 RO |
1145 | 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1146 | ||
1147 | * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS. | |
1148 | * Makefile.in, doc/Makefile.in: Regenerate. | |
1149 | * configure: Regenerate. | |
1150 | ||
ac2599c4 L |
1151 | 2020-07-30 H.J. Lu <hongjiu.lu@intel.com> |
1152 | ||
1153 | * testsuite/gas/elf/dwarf2-3.d:Pass --gdwarf-3 to assembler. | |
1154 | * testsuite/gas/elf/dwarf2-5.d: Likewise. | |
1155 | * testsuite/gas/i386/dw2-compress-3a.d: Likewise. | |
1156 | * testsuite/gas/i386/dw2-compress-3b.d: Likewise. | |
1157 | * testsuite/gas/i386/dw2-compressed-3a.d: Likewise. | |
1158 | * testsuite/gas/i386/dw2-compressed-3b.d: Likewise. | |
1159 | ||
4d8ee860 NC |
1160 | 2020-07-30 Nick Clifton <nickc@redhat.com> |
1161 | ||
f291783b | 1162 | * as.c (dwarf_level): Initialise to 3 in case this is not set on |
4d8ee860 NC |
1163 | the command line. |
1164 | ||
c77cb2a0 MR |
1165 | 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org> |
1166 | ||
1167 | * testsuite/gas/mips/global-local-symtab-sort-o32.d: New test. | |
1168 | * testsuite/gas/mips/global-local-symtab-sort-o32t.d: New test. | |
1169 | * testsuite/gas/mips/global-local-symtab-sort-n32.d: New test. | |
1170 | * testsuite/gas/mips/global-local-symtab-sort-n32t.d: New test. | |
1171 | * testsuite/gas/mips/global-local-symtab-sort-n64.d: New test. | |
1172 | * testsuite/gas/mips/global-local-symtab-sort-n64t.d: New test. | |
1173 | * testsuite/gas/mips/mips.exp: Run the new tests. | |
1174 | ||
3f1b17bb MR |
1175 | 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org> |
1176 | ||
1177 | * testsuite/gas/mips/global-local-symtab-o32.d: New test. | |
1178 | * testsuite/gas/mips/global-local-symtab-o32t.d: New test. | |
1179 | * testsuite/gas/mips/global-local-symtab-n32.d: New test. | |
1180 | * testsuite/gas/mips/global-local-symtab-n32t.d: New test. | |
1181 | * testsuite/gas/mips/global-local-symtab-n64.d: New test. | |
1182 | * testsuite/gas/mips/global-local-symtab.s: New test source. | |
1183 | * testsuite/gas/mips/mips.exp: Run the new tests. | |
1184 | ||
1a02d6b0 L |
1185 | 2020-07-28 H.J. Lu <hongjiu.lu@intel.com> |
1186 | ||
1187 | PR gas/26305 | |
1188 | * config/tc-i386.c (build_modrm_byte): Use disp32/disp16 on | |
1189 | (%bp)/(%ebp)/(%rbp) for {disp32}. | |
1190 | * doc/c-i386.texi: Update {disp32} documentation. | |
1191 | * testsuite/gas/i386/pseudos.s: Add (%bp)/(%ebp) tests. | |
1192 | * testsuite/gas/i386/x86-64-pseudos.s: Add (%ebp)/(%rbp) tests. | |
1193 | * testsuite/gas/i386/pseudos.d: Updated. | |
1194 | * testsuite/gas/i386/x86-64-pseudos.d: Likewise. | |
1195 | ||
608d61c2 L |
1196 | 2020-07-27 H.J. Lu <hongjiu.lu@intel.com> |
1197 | ||
1198 | * doc/as.texi: Replace preceeded with preceded. | |
1199 | ||
39fdda07 MR |
1200 | 2020-07-22 Maciej W. Rozycki <macro@linux-mips.org> |
1201 | ||
1202 | * testsuite/gas/mips/jal-svr4pic-irix.d: New file. | |
1203 | * testsuite/gas/mips/mips1@jal-svr4pic-irix.d: New file. | |
1204 | * testsuite/gas/mips/mipsr6@jal-svr4pic-irix.d: New file. | |
1205 | * testsuite/gas/mips/micromips@jal-svr4pic-irix.d: New file. | |
1206 | * testsuite/gas/mips/r3000@jal-svr4pic-irix.d: New file. | |
1207 | * testsuite/gas/mips/jal-svr4pic-local-irix.d: New file. | |
1208 | * testsuite/gas/mips/mips1@jal-svr4pic-local-irix.d: New file. | |
1209 | * testsuite/gas/mips/micromips@jal-svr4pic-local-irix.d: New | |
1210 | file. | |
1211 | * testsuite/gas/mips/r3000@jal-svr4pic-local-irix.d: New file. | |
1212 | * testsuite/gas/mips/jal-svr4pic-noreorder-irix.d: New file. | |
1213 | * testsuite/gas/mips/mips1@jal-svr4pic-noreorder-irix.d: New | |
1214 | file. | |
1215 | * testsuite/gas/mips/mipsr6@jal-svr4pic-noreorder-irix.d: New | |
1216 | file. | |
1217 | * testsuite/gas/mips/micromips@jal-svr4pic-noreorder-irix.d: New | |
1218 | file. | |
1219 | * testsuite/gas/mips/r3000@jal-svr4pic-noreorder-irix.d: New | |
1220 | file. | |
1221 | * testsuite/gas/mips/jal-xgot-irix.d: New file. | |
1222 | * testsuite/gas/mips/jalr2-irix.d: New file. | |
1223 | * testsuite/gas/mips/micromips-branch-relax-insn32-pic-irix.d: | |
1224 | New file. | |
1225 | * testsuite/gas/mips/micromips-branch-relax-pic-irix.d: New | |
1226 | file. | |
1227 | * testsuite/gas/mips/mips-abi32-pic2-irix.d: New file. | |
1228 | * testsuite/gas/mips/jal-svr4pic-local.d: Don't exclude | |
1229 | `*-*-irix*' targets. Add source file designator. | |
1230 | * testsuite/gas/mips/mips1@jal-svr4pic-local.d: Don't exclude | |
1231 | `*-*-irix*' targets. | |
1232 | * testsuite/gas/mips/r3000@jal-svr4pic-local.d: Likewise. | |
1233 | * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise. | |
1234 | * testsuite/gas/mips/jalr2.d: Add name designator. | |
1235 | * testsuite/gas/mips/mips.exp: Use respective IRIX variants for | |
1236 | tests involving the JALR relocation throughout. | |
1237 | ||
b83d958f MR |
1238 | 2020-07-22 Maciej W. Rozycki <macro@linux-mips.org> |
1239 | ||
1240 | * testsuite/gas/mips/mips.exp: Use a helper variable for | |
1241 | IRIX/non-IRIX test selection. | |
1242 | ||
bf4ba07c JB |
1243 | 2020-07-21 Jan Beulich <jbeulich@suse.com> |
1244 | ||
1245 | * testsuite/gas/i386/evex-no-scale-64.d, | |
1246 | testsuite/gas/i386/addr32.d, | |
1247 | testsuite/gas/i386/x86-64-addr32-intel.d, | |
1248 | testsuite/gas/i386/x86-64-addr32.d: Adjust expectations. | |
1249 | ||
2b42b041 CQ |
1250 | 2020-07-21 Cooper Qu <cooper.qu@linux.alibaba.com> |
1251 | ||
1252 | * config/tc-csky.c (md_begin): Fix tests of arch and mach flags. | |
1253 | ||
185a798e JB |
1254 | 2020-07-21 Jan Beulich <jbeulich@suse.com> |
1255 | ||
1256 | * testsuite/gas/i386/evex-no-scale-32.d, | |
1257 | testsuite/gas/i386/evex-no-scale-64.d: Add #source and #pass. | |
1258 | * testsuite/gas/i386/evex-no-scale-32.s, | |
1259 | testsuite/gas/i386/evex-no-scale-64.s: Rename / fold into ... | |
1260 | * testsuite/gas/i386/evex-no-scale.s: ... this. Use .struct | |
1261 | instead of .section. | |
1262 | * testsuite/gas/i386/i386.exp: Move above tests out of ELF- | |
1263 | specific section. | |
1264 | ||
ec4fcab0 MR |
1265 | 2020-07-21 Maciej W. Rozycki <macro@linux-mips.org> |
1266 | ||
1267 | * config/tc-mips.c (prev_reloc_op_frag): Remove variable. | |
1268 | (my_getSmallExpression): Adjust accordingly. | |
1269 | ||
b3983e5f JB |
1270 | 2020-07-20 Jan Beulich <jbeulich@suse.com> |
1271 | ||
1272 | PR gas/4572 | |
1273 | * config/tc-i386.c (i386_comment_chars): Drop TE_I386AIX from | |
1274 | conditional around it. | |
1275 | (md_begin): Insert backslash into operand_chars[] when slash is | |
1276 | a comment character. | |
1277 | * config/tc-i386-intel.c (i386_operator): Recognize \/, \%, and | |
1278 | \* as operators when / may be a comment character. | |
1279 | * testsuite/gas/i386/svr4.s, testsuite/gas/i386/svr4.d: New. | |
1280 | * testsuite/gas/i386/i386.exp: Run new test. | |
1281 | ||
750e4bf7 JB |
1282 | 2020-07-20 Jan Beulich <jbeulich@suse.com> |
1283 | ||
1284 | PR gas/4572 | |
1285 | * app.c (last_char): Drop TC_ARM conditional around it. | |
1286 | (struct app_save): Drop TC_ARM conditional around last_char. | |
1287 | (app_push, app_pop): Drop TC_ARM conditional from last_char | |
1288 | accesses. | |
1289 | (do_scrub_chars): Likewise. Drop TC_ARM conditional from | |
1290 | backslash-precedes-comment-character check. | |
1291 | ||
48ef937e JB |
1292 | 2020-07-20 Jan Beulich <jbeulich@suse.com> |
1293 | ||
1294 | * config/tc-i386.c (frag_opcode_byte): New. | |
1295 | (output_branch): Emit error when in absolute section. | |
1296 | (output_jump, output_insn): Use frag_opcode_byte. Handle being | |
1297 | in absolute section. | |
1298 | (output_interseg_jump, output_disp, output_imm): Handle being in | |
1299 | absolute section. | |
1300 | * testsuite/gas/i386/sizing.s, | |
1301 | testsuite/gas/i386/sizing32.d, | |
1302 | testsuite/gas/i386/sizing64.d: New. | |
1303 | * testsuite/gas/i386/i386.exp: Run new tests. | |
1304 | ||
693bec1e JB |
1305 | 2020-07-20 Jan Beulich <jbeulich@suse.com> |
1306 | ||
1307 | * testsuite/gas/i386/i386.exp: Include *-*-vxworks alongside | |
1308 | is_elf_format as applicable; merely exclude iamcu tests. | |
1309 | ||
2585b7a5 L |
1310 | 2020-07-19 H.J. Lu <hongjiu.lu@intel.com> |
1311 | ||
1312 | PR gas/26263 | |
1313 | * config/tc-i386.c (i386_validate_fix): Change PLT32 reloc | |
1314 | against section to PC32 reloc. | |
1315 | * testsuite/gas/i386/relax-5.d: Updated. | |
1316 | * testsuite/gas/i386/x86-64-relax-4.d: Likewise. | |
1317 | ||
04c662e2 L |
1318 | 2020-07-15 H.J. Lu <hongjiu.lu@intel.com> |
1319 | ||
1320 | PR gas/26237 | |
1321 | * testsuite/gas/i386/evex-no-scale-64.d: Updated. | |
1322 | * testsuite/gas/i386/addr32.d: Likewise. | |
1323 | * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise. | |
1324 | * testsuite/gas/i386/x86-64-addr32.d: Likewise. | |
1325 | ||
56c1b507 NC |
1326 | 2020-07-15 Nick Clifton <nickc@redhat.com> |
1327 | ||
1328 | * write.c (create_note_reloc): Add desc2_size parameter. Zero out | |
1329 | the addend field of REL relocations. Store the full addend into | |
1330 | the note for REL relocations. | |
1331 | ||
e2e018c3 JB |
1332 | 2020-07-15 Jan Beulich <jbeulich@suse.com> |
1333 | ||
1334 | * testsuite/gas/i386/x86-64-stack.s: Adjust 32-bit push | |
1335 | immediate. | |
1336 | * testsuite/gas/i386/x86-64-stack-intel.d, | |
1337 | testsuite/gas/i386/x86-64-stack-suffix.d, | |
1338 | testsuite/gas/i386/x86-64-stack.d: Adjust expectations. | |
1339 | ||
36938cab JB |
1340 | 2020-07-15 Jan Beulich <jbeulich@suse.com> |
1341 | ||
1342 | * testsuite/gas/i386/disassem.d, | |
1343 | testsuite/gas/i386/ilp32/x86-64-branch.d, | |
1344 | testsuite/gas/i386/intel.d, testsuite/gas/i386/jump16.d, | |
1345 | testsuite/gas/i386/lfence-load.d, testsuite/gas/i386/noreg16.d, | |
1346 | testsuite/gas/i386/noreg32.d, | |
1347 | testsuite/gas/i386/noreg64-rex64.d, | |
1348 | testsuite/gas/i386/noreg64.d, testsuite/gas/i386/notrack.d, | |
1349 | testsuite/gas/i386/opcode.d, | |
1350 | testsuite/gas/i386/solaris/x86-64-branch-2.d, | |
1351 | testsuite/gas/i386/solaris/x86-64-jump.d, | |
1352 | testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d, | |
1353 | testsuite/gas/i386/solaris/x86-64-nop-3.d, | |
1354 | testsuite/gas/i386/solaris/x86-64-nop-4.d, | |
1355 | testsuite/gas/i386/solaris/x86-64-nop-5.d, | |
1356 | testsuite/gas/i386/solaris/x86-64-relax-2.d, | |
1357 | testsuite/gas/i386/solaris/x86-64-relax-3.d, | |
1358 | testsuite/gas/i386/x86-64-align-branch-1a.d, | |
1359 | testsuite/gas/i386/x86-64-align-branch-1b.d, | |
1360 | testsuite/gas/i386/x86-64-align-branch-1c.d, | |
1361 | testsuite/gas/i386/x86-64-align-branch-1d.d, | |
1362 | testsuite/gas/i386/x86-64-align-branch-1e.d, | |
1363 | testsuite/gas/i386/x86-64-align-branch-1f.d, | |
1364 | testsuite/gas/i386/x86-64-align-branch-1g.d, | |
1365 | testsuite/gas/i386/x86-64-align-branch-1h.d, | |
1366 | testsuite/gas/i386/x86-64-align-branch-1i.d, | |
1367 | testsuite/gas/i386/x86-64-align-branch-2a.d, | |
1368 | testsuite/gas/i386/x86-64-align-branch-2b.d, | |
1369 | testsuite/gas/i386/x86-64-align-branch-2c.d, | |
1370 | testsuite/gas/i386/x86-64-align-branch-3.d, | |
1371 | testsuite/gas/i386/x86-64-align-branch-4a.d, | |
1372 | testsuite/gas/i386/x86-64-align-branch-4b.d, | |
1373 | testsuite/gas/i386/x86-64-align-branch-5.d, | |
1374 | testsuite/gas/i386/x86-64-align-branch-6.d, | |
1375 | testsuite/gas/i386/x86-64-branch-2.d, | |
1376 | testsuite/gas/i386/x86-64-branch-3.d, | |
1377 | testsuite/gas/i386/x86-64-branch.d, | |
1378 | testsuite/gas/i386/x86-64-disassem.d, | |
1379 | testsuite/gas/i386/x86-64-disp32.d, | |
1380 | testsuite/gas/i386/x86-64-gotpcrel-no-relax.d, | |
1381 | testsuite/gas/i386/x86-64-gotpcrel.d, | |
1382 | testsuite/gas/i386/x86-64-ifunc.d, | |
1383 | testsuite/gas/i386/x86-64-jump.d, | |
1384 | testsuite/gas/i386/x86-64-lfence-byte.d, | |
1385 | testsuite/gas/i386/x86-64-lfence-indbr-a.d, | |
1386 | testsuite/gas/i386/x86-64-lfence-indbr-b.d, | |
1387 | testsuite/gas/i386/x86-64-lfence-indbr-c.d, | |
1388 | testsuite/gas/i386/x86-64-lfence-load.d, | |
1389 | testsuite/gas/i386/x86-64-lfence-ret-a.d, | |
1390 | testsuite/gas/i386/x86-64-lfence-ret-b.d, | |
1391 | testsuite/gas/i386/x86-64-lfence-ret-c.d, | |
1392 | testsuite/gas/i386/x86-64-lfence-ret-d.d, | |
1393 | testsuite/gas/i386/x86-64-lfence-ret-e.d, | |
1394 | testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d, | |
1395 | testsuite/gas/i386/x86-64-mpx-branch-1.d, | |
1396 | testsuite/gas/i386/x86-64-mpx.d, | |
1397 | testsuite/gas/i386/x86-64-nop-3.d, | |
1398 | testsuite/gas/i386/x86-64-nop-4.d, | |
1399 | testsuite/gas/i386/x86-64-nop-5.d, | |
1400 | testsuite/gas/i386/x86-64-nops-7.d, | |
1401 | testsuite/gas/i386/x86-64-notrack.d, | |
1402 | testsuite/gas/i386/x86-64-opcode.d, | |
1403 | testsuite/gas/i386/x86-64-relax-2.d, | |
1404 | testsuite/gas/i386/x86-64-relax-3.d, | |
1405 | testsuite/gas/i386/x86-64-relax-4.d, | |
1406 | testsuite/gas/i386/x86-64-rtm.d, | |
1407 | testsuite/gas/i386/x86-64-stack.d, | |
1408 | testsuite/gas/i386/x86-64-unique.d, | |
1409 | testsuite/gas/i386/x86_64-intel.d: Adjust expectations. | |
1410 | ||
8e58ef80 L |
1411 | 2020-07-14 H.J. Lu <hongjiu.lu@intel.com> |
1412 | ||
1413 | PR gas/26237 | |
1414 | * testsuite/gas/i386/addr32.s: Add tests for 32-bit wrapped around | |
1415 | address. | |
1416 | * testsuite/gas/i386/x86-64-addr32.s: Likewise. | |
1417 | * testsuite/gas/i386/addr32.d: Updated. | |
1418 | * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise. | |
1419 | * testsuite/gas/i386/x86-64-addr32.d: Likewise. | |
1420 | * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise. | |
1421 | * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise. | |
1422 | ||
bfbd9438 JB |
1423 | 2020-07-14 Jan Beulich <jbeulich@suse.com> |
1424 | ||
1425 | * testsuite/gas/i386/intel.s: Use dr<N> instead of db<N>. | |
1426 | * testsuite/gas/i386/intel-intel.d: Disambiguate name. | |
1427 | * testsuite/gas/i386/intel.d, | |
1428 | testsuite/gas/i386/opcode-intel.d: Adjust expectations. | |
1429 | ||
7531c613 JB |
1430 | 2020-07-14 Jan Beulich <jbeulich@suse.com> |
1431 | ||
1432 | * testsuite/gas/i386/prefix.d: Adjust expectations. | |
1433 | ||
b24d668c JB |
1434 | 2020-07-14 Jan Beulich <jbeulich@suse.com> |
1435 | ||
1436 | * testsuite/gas/i386/x86-64-avx-intel.d, | |
1437 | testsuite/gas/i386/x86-64-sse4_2-intel.d: Adjust expectations. | |
1438 | ||
9ab00b61 JB |
1439 | 2020-07-14 Jan Beulich <jbeulich@suse.com> |
1440 | ||
1441 | * testsuite/gas/i386/movbe-suffix.d, | |
1442 | testsuite/gas/i386/x86-64-movbe-suffix.d: New. | |
1443 | * testsuite/gas/i386/i386.exp: Run new tests. | |
1444 | ||
2875b28a JB |
1445 | 2020-07-14 Jan Beulich <jbeulich@suse.com> |
1446 | ||
1447 | * testsuite/gas/i386/crc32-suffix.d, | |
1448 | testsuite/gas/i386/x86-64-crc32-suffix.d: New. | |
1449 | * testsuite/gas/i386/i386.exp: Run new tests. | |
1450 | * testsuite/gas/i386/arch-10-bdver1.d, | |
1451 | testsuite/gas/i386/arch-10-bdver2.d, | |
1452 | testsuite/gas/i386/arch-10-bdver3.d, | |
1453 | testsuite/gas/i386/arch-10-bdver4.d, | |
1454 | testsuite/gas/i386/arch-10-btver1.d, | |
1455 | testsuite/gas/i386/arch-10-btver2.d, | |
1456 | testsuite/gas/i386/arch-10-lzcnt.d, | |
1457 | testsuite/gas/i386/arch-10-prefetchw.d, | |
1458 | testsuite/gas/i386/arch-10.d, testsuite/gas/i386/arch-2.d, | |
1459 | testsuite/gas/i386/arch-3.d, testsuite/gas/i386/arch-5.d, | |
1460 | testsuite/gas/i386/arch-6.d, testsuite/gas/i386/crc32.d, | |
1461 | testsuite/gas/i386/sse-noavx.d, testsuite/gas/i386/sse4_2.d, | |
1462 | testsuite/gas/i386/x86-64-arch-2-bdver1.d, | |
1463 | testsuite/gas/i386/x86-64-arch-2-bdver2.d, | |
1464 | testsuite/gas/i386/x86-64-arch-2-bdver3.d, | |
1465 | testsuite/gas/i386/x86-64-arch-2-bdver4.d, | |
1466 | testsuite/gas/i386/x86-64-arch-2-btver1.d, | |
1467 | testsuite/gas/i386/x86-64-arch-2-btver2.d, | |
1468 | testsuite/gas/i386/x86-64-arch-2-lzcnt.d, | |
1469 | testsuite/gas/i386/x86-64-arch-2-prefetchw.d, | |
1470 | testsuite/gas/i386/x86-64-arch-2.d, | |
1471 | testsuite/gas/i386/x86-64-crc32.d, | |
1472 | testsuite/gas/i386/x86-64-pseudos.d, | |
1473 | testsuite/gas/i386/x86-64-sse-noavx.d, | |
1474 | testsuite/gas/i386/x86-64-sse4_2.d: Adjust expectations. | |
1475 | ||
e184e611 JB |
1476 | 2020-07-14 Jan Beulich <jbeulich@suse.com> |
1477 | ||
1478 | * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for | |
1479 | ModR/M-encoded byte register cases. | |
1480 | * testsuite/gas/i386/x86-64-pseudos.d, | |
1481 | testsuite/gas/i386/x86-64-reg-intel.d, | |
1482 | testsuite/gas/i386/x86-64-reg.d: Adjust expectations. | |
1483 | ||
e8b5d5f9 JB |
1484 | 2020-07-14 Jan Beulich <jbeulich@suse.com> |
1485 | ||
1486 | * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for | |
1487 | not-ModR/M-encoded byte register cases. | |
1488 | * testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations. | |
1489 | ||
38397794 JB |
1490 | 2020-07-14 Jan Beulich <jbeulich@suse.com> |
1491 | ||
1492 | * testsuite/gas/i386/ilp32/x86-64-arch-1.d, | |
1493 | testsuite/gas/i386/ilp32/x86-64-arch-2.d, | |
1494 | testsuite/gas/i386/ilp32/x86-64-avx-intel.d, | |
1495 | testsuite/gas/i386/ilp32/x86-64-avx.d, | |
1496 | testsuite/gas/i386/ilp32/x86-64-crc32-intel.d, | |
1497 | testsuite/gas/i386/ilp32/x86-64-crc32.d, | |
1498 | testsuite/gas/i386/ilp32/x86-64-gotpcrel.d, | |
1499 | testsuite/gas/i386/ilp32/x86-64-ifunc.d, | |
1500 | testsuite/gas/i386/ilp32/x86-64-reg-intel.d, | |
1501 | testsuite/gas/i386/ilp32/x86-64-reg.d, | |
1502 | testsuite/gas/i386/ilp32/x86-64-rep-suffix.d, | |
1503 | testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d, | |
1504 | testsuite/gas/i386/ilp32/x86-64-sse4_2.d, | |
1505 | testsuite/gas/i386/ilp32/x86-64-stack-intel.d, | |
1506 | testsuite/gas/i386/ilp32/x86-64-stack-suffix.d, | |
1507 | testsuite/gas/i386/ilp32/x86-64-stack.d: Reference parent dir | |
1508 | dump expectations. | |
1509 | ||
7a705315 L |
1510 | 2020-07-13 H.J. Lu <hongjiu.lu@intel.com> |
1511 | ||
1512 | * config/tc-i386.c (offset_in_range): Remove 32-bit sign | |
1513 | extension. | |
1514 | ||
0a5c31d1 NC |
1515 | 2020-07-13 Nick Clifton <nickc@redhat.com> |
1516 | ||
1517 | * po/fr.po: Updated French translation. | |
1518 | ||
8884c29c AM |
1519 | 2020-07-13 Alan Modra <amodra@gmail.com> |
1520 | ||
1521 | * testsuite/gas/elf/dwarf2-7.d: Remove most xfails. | |
1522 | * testsuite/gas/elf/dwarf2-12.d: Likewise. | |
1523 | * testsuite/gas/elf/dwarf2-13.d: Likewise. | |
1524 | * testsuite/gas/elf/dwarf2-14.d: Likewise. | |
1525 | ||
a308b89d L |
1526 | 2020-07-11 H.J. Lu <hongjiu.lu@intel.com> |
1527 | ||
1528 | * config/tc-i386.c (output_insn): Check i.xstate to set | |
1529 | GNU_PROPERTY_X86_FEATURE_2_TMM. | |
1530 | * testsuite/gas/i386/i386.exp: Run x86-64-property-7, | |
1531 | x86-64-property-8 and x86-64-property-9. | |
1532 | * testsuite/gas/i386/x86-64-property-7.d: New file. | |
1533 | * testsuite/gas/i386/x86-64-property-7.s: Likewise. | |
1534 | * testsuite/gas/i386/x86-64-property-8.d: Likewise. | |
1535 | * testsuite/gas/i386/x86-64-property-8.s: Likewise. | |
1536 | * testsuite/gas/i386/x86-64-property-9.d: Likewise. | |
1537 | * testsuite/gas/i386/x86-64-property-9.s: Likewise. | |
1538 | ||
921eafea L |
1539 | 2020-07-10 H.J. Lu <hongjiu.lu@intel.com> |
1540 | ||
1541 | * config/tc-i386.c (_i386_insn): Remove has_regmmx, has_regxmm, | |
1542 | has_regymm, has_regzmm and has_regtmm. Add xstate. | |
1543 | (md_assemble): Set i.xstate from operand types in instruction | |
1544 | template. | |
1545 | (build_modrm_byte): Updated. | |
1546 | (output_insn): Check i.xstate. | |
1547 | * testsuite/gas/i386/i386.exp: Run property-6 and | |
1548 | x86-64-property-6. | |
1549 | * testsuite/gas/i386/property-6.d: New file. | |
1550 | * testsuite/gas/i386/property-6.s: Updated. | |
1551 | * testsuite/gas/i386/x86-64-property-6.d: Likewise. | |
1552 | ||
d249bf86 L |
1553 | 2020-07-10 H.J. Lu <hongjiu.lu@intel.com> |
1554 | ||
1555 | * testsuite/gas/i386/property-5.d: Correct test name. | |
1556 | ||
260cd341 LC |
1557 | 2020-07-10 Lili Cui <lili.cui@intel.com> |
1558 | ||
1559 | * NEWS: Mention support for Intel AMX instructions. | |
1560 | * config/tc-i386.c (i386_error): Add invalid_sib_address. | |
1561 | (cpu_arch): Add .amx_int8, .amx_bf16 and .amx_tile. | |
1562 | (cpu_noarch): Add noamx_int8, noamx_bf16 and noamx_tile. | |
1563 | (match_simd_size): Add tmmword check. | |
1564 | (operand_type_match): Add tmmword. | |
1565 | (type_names): Add rTMM. | |
1566 | (i386_error): Add invalid_tmm_register_set. | |
1567 | (check_VecOperands): Handle invalid_sib_address and | |
1568 | invalid_tmm_register_set. | |
1569 | (match_template): Handle invalid_sib_address. | |
1570 | (build_modrm_byte): Handle non-vector SIB and zmmword. | |
1571 | (i386_index_check): Disallow RegIP for non-vector SIB. | |
1572 | (check_register): Handle zmmword. | |
1573 | * doc/c-i386.texi: Document amx_int8, amx_bf16 and amx_tile. | |
1574 | * testsuite/gas/i386/i386.exp: Add AMX new tests. | |
1575 | * testsuite/gas/i386/intel-regs.d: Add tmm. | |
1576 | * testsuite/gas/i386/intel-regs.s: Add tmm. | |
1577 | * testsuite/gas/i386/x86-64-amx-intel.d: New. | |
1578 | * testsuite/gas/i386/x86-64-amx-inval.l: New. | |
1579 | * testsuite/gas/i386/x86-64-amx-inval.s: New. | |
1580 | * testsuite/gas/i386/x86-64-amx.d: New. | |
1581 | * testsuite/gas/i386/x86-64-amx.s: New. | |
1582 | * testsuite/gas/i386/x86-64-amx-bad.d: New. | |
1583 | * testsuite/gas/i386/x86-64-amx-bad.s: New. | |
1584 | ||
af2b3186 TV |
1585 | 2020-07-10 Tom de Vries <tdevries@suse.de> |
1586 | ||
1587 | * testsuite/gas/elf/dwarf2-11.d: Update expected output from | |
1588 | readelf's line table decoding. | |
1589 | * testsuite/gas/elf/dwarf2-12.d: Likewise. | |
1590 | * testsuite/gas/elf/dwarf2-13.d: Likewise. | |
1591 | * testsuite/gas/elf/dwarf2-14.d: Likewise. | |
1592 | * testsuite/gas/elf/dwarf2-15.d: Likewise. | |
1593 | * testsuite/gas/elf/dwarf2-16.d: Likewise. | |
1594 | * testsuite/gas/elf/dwarf2-17.d: Likewise. | |
1595 | * testsuite/gas/elf/dwarf2-18.d: Likewise. | |
1596 | * testsuite/gas/elf/dwarf2-19.d: Likewise. | |
1597 | * testsuite/gas/elf/dwarf2-5.d: Likewise. | |
1598 | * testsuite/gas/elf/dwarf2-6.d: Likewise. | |
1599 | * testsuite/gas/elf/dwarf2-7.d: Likewise. | |
1600 | ||
39776b11 L |
1601 | 2020-07-09 H.J. Lu <hongjiu.lu@intel.com> |
1602 | ||
1603 | * config/tc-i386.c (output_insn): Set YMM/ZMM features for | |
1604 | VEX/EVEX vector instructions. | |
1605 | * testsuite/gas/i386/property-4.d: New file. | |
1606 | * testsuite/gas/i386/property-4.s: Likewise. | |
1607 | * testsuite/gas/i386/property-5.d: Likewise. | |
1608 | * testsuite/gas/i386/property-5.s: Likewise. | |
1609 | * testsuite/gas/i386/x86-64-property-4.d: Likewise. | |
1610 | * testsuite/gas/i386/x86-64-property-5.d: Likewise. | |
1611 | ||
939b95c7 L |
1612 | 2020-07-09 H.J. Lu <hongjiu.lu@intel.com> |
1613 | ||
1614 | * NEWS: Mention --enable-x86-used-note. | |
1615 | * configure.ac: Configure with --enable-x86-used-note by default | |
1616 | for Linux/x86. | |
1617 | * configure: Regenerated. | |
1618 | ||
fe49679d AM |
1619 | 2020-07-09 Alan Modra <amodra@gmail.com> |
1620 | ||
1621 | * config/obj-coff.h: Remove TE_PE support. | |
1622 | * config/tc-ppc.c: Likewise. | |
1623 | * config/tc-ppc.h: Likewise. | |
1624 | * configure.tgt: Remove powerpc PE and powerpc lynxos. | |
1625 | * testsuite/gas/cfi/cfi.exp (cfi-common-6): Remove powerpc PE | |
1626 | condition. | |
1627 | * testsuite/gas/macros/macros.exp: Don't xfail powerpc PE. | |
1628 | ||
6384fd9e JB |
1629 | 2020-07-08 Jan Beulich <jbeulich@suse.com> |
1630 | ||
1631 | * testsuite/gas/i386/fma4-lig.d, testsuite/gas/i386/xop-lig.d: | |
1632 | New. | |
1633 | * testsuite/gas/i386/i386.exp: Run new tests. | |
1634 | ||
3128916d CZ |
1635 | 2020-07-07 Claudiu Zissulescu <claziss@synopsys.com> |
1636 | ||
1637 | * config/tc-arc.c (find_opcode_match): Add error messages. | |
1638 | * testsuite/gas/arc/add_s-err.s: Update test. | |
1639 | * testsuite/gas/arc/asm-errors.err: Likewise. | |
1640 | * testsuite/gas/arc/cpu-em-err.s: Likewise. | |
1641 | * testsuite/gas/arc/hregs-err.s: Likewise. | |
1642 | * testsuite/gas/arc/warn.s: Likewise. | |
1643 | ||
dbdba9b0 L |
1644 | 2020-07-07 H.J. Lu <hongjiu.lu@intel.com> |
1645 | ||
1646 | PR gas/26212 | |
1647 | * doc/c-i386.texi: Remove an incorrect AVX2 entry. | |
1648 | ||
34e79798 AM |
1649 | 2020-07-07 Alan Modra <amodra@gmail.com> |
1650 | ||
1651 | * testsuite/gas/all/gas.exp: Use is_xcoff_format. | |
1652 | * testsuite/gas/ppc/ppc.exp: Likewise. | |
1653 | * testsuite/gas/all/weakref1l.d: Likewise. | |
1654 | ||
3c6e74ce NC |
1655 | 2020-07-07 Nick Clifton <nickc@redhat.com> |
1656 | ||
1657 | * testsuite/gas/arm/cde-missing-fp.l: Fix spelling mistake in | |
1658 | expected output. | |
1659 | ||
e74d9fa9 JB |
1660 | 2020-07-06 Jan Beulich <jbeulich@suse.com> |
1661 | ||
1662 | * testsuite/gas/i386/x86-64-avx512bw-wig1.d, | |
1663 | testsuite/gas/i386/x86-64-avx512bw-wig1-intel.d, | |
1664 | testsuite/gas/i386/x86-64-evex-wig1.d, | |
1665 | testsuite/gas/i386/x86-64-evex-wig1-intel.d: Adjust | |
1666 | expectations. | |
1667 | ||
39e0f456 JB |
1668 | 2020-07-06 Jan Beulich <jbeulich@suse.com> |
1669 | ||
1670 | * testsuite/gas/i386/avx512f-opts.s: Add EVEX movq tests. | |
1671 | * testsuite/gas/i386/x86-64-avx512f-opts.s: Add blank line. | |
1672 | * testsuite/gas/i386/avx512f-opts-intel.d, | |
1673 | testsuite/gas/i386/avx512f-opts.d | |
1674 | testsuite/gas/i386/x86-64-avx512f-opts-intel.d | |
1675 | testsuite/gas/i386/x86-64-avx512f-opts.d: Adjust expectations. | |
1676 | ||
ddc73fa9 NC |
1677 | 2020-07-06 Yuri Chornoivan <yurchor@ukr.net> |
1678 | ||
1679 | PR 26204 | |
1680 | * config/tc-arm.c: Fix spelling mistake. | |
1681 | * config/tc-riscv.c: Likewise. | |
1682 | * config/tc-z80.c: Likewise. | |
1683 | * po/gas.pot: Regenerate. | |
1684 | ||
17550be7 NC |
1685 | 2020-07-06 Nick Clifton <nickc@redhat.com> |
1686 | ||
1687 | * po/uk.po: Updated Ukranian translation. | |
1688 | ||
b19d852d NC |
1689 | 2020-07-04 Nick Clifton <nickc@redhat.com> |
1690 | ||
1691 | * configure: Regenerate. | |
1692 | * po/gas.pot: Regenerate. | |
1693 | ||
1694 | 2020-07-04 Nick Clifton <nickc@redhat.com> | |
1695 | ||
1696 | * version.m4: Change version number to 2.35.50. | |
1697 | * configure: Regenerate. | |
1698 | * po/bfd.pot: Regenerate. | |
1699 | ||
b115b9fd NC |
1700 | 2020-07-04 Nick Clifton <nickc@redhat.com> |
1701 | ||
1702 | Binutils 2.35 branch created. | |
1703 | ||
b657622c AM |
1704 | 2020-07-03 Alan Modra <amodra@gmail.com> |
1705 | ||
1706 | PR 26028 | |
1707 | * testsuite/gas/ia64/unwind-ilp32.d: Add -T to readelf options. | |
1708 | ||
c2ecccb3 L |
1709 | 2020-07-02 H.J. Lu <hongjiu.lu@intel.com> |
1710 | ||
1711 | * config/tc-i386.c (build_modrm_byte): Check vexswapsources to | |
1712 | swap two source operands. | |
1713 | ||
f436f38e NC |
1714 | 2020-07-02 Nick Clifton <nickc@redhat.com> |
1715 | ||
1716 | * testsuite/gas/all/fill-1.d: Skip for MeP targets. | |
1717 | ||
f405494f AC |
1718 | 2020-07-02 Alex Coplan <alex.coplan@arm.com> |
1719 | ||
1720 | * config/tc-aarch64.c (reg_name_p): Fix cast so that we don't | |
1721 | segfault on negative chars. | |
1722 | * testsuite/gas/aarch64/reglike-label-unicode-segv.d: New test. | |
1723 | * testsuite/gas/aarch64/reglike-label-unicode-segv.s: Input. | |
1724 | ||
0942c7ab NC |
1725 | 2020-07-02 Nick Clifton <nickc@redhat.com> |
1726 | ||
1727 | PR 26028 | |
1728 | * testsuite/gas/ia64/group-2.d: Add -T option to readelf | |
1729 | command line. | |
1730 | * testsuite/gas/ia64/unwind.d: Likewise. | |
1731 | * testsuite/gas/mmix/bspec-1.d: Likewise. | |
1732 | * testsuite/gas/mmix/bspec-2.d: Likewise. | |
1733 | * testsuite/gas/mmix/comment-1.d: Likewise. | |
1734 | * testsuite/gas/tic6x/scomm-directive-4.d: Likewise. | |
1735 | ||
3443489c AM |
1736 | 2020-07-01 Alan Modra <amodra@gmail.com> |
1737 | ||
1738 | * config/tc-xc16x.c (md_apply_fix): Add FIXME. | |
1739 | ||
054b336d AM |
1740 | 2020-07-01 Alan Modra <amodra@gmail.com> |
1741 | ||
1742 | * testsuite/gas/all/eqv-dot.d: xfail targets that set linkrelax | |
1743 | in data sections, and mep. | |
1744 | ||
bbd19b19 L |
1745 | 2020-06-30 H.J. Lu <hongjiu.lu@intel.com> |
1746 | ||
1747 | * NEWS: Mention x86 NaCl target support removal. | |
1748 | * config/tc-i386.c: Remove x86 NaCl target support. | |
1749 | * config/tc-i386.h: Likewise. | |
1750 | * configure.tgt: Likewise. | |
1751 | * testsuite/gas/i386/i386.exp: Likewise. | |
1752 | * testsuite/gas/i386/iamcu-1.d: Likewise. | |
1753 | * testsuite/gas/i386/iamcu-2.d: Likewise. | |
1754 | * testsuite/gas/i386/iamcu-3.d: Likewise. | |
1755 | * testsuite/gas/i386/iamcu-4.d: Likewise. | |
1756 | * testsuite/gas/i386/iamcu-5.d: Likewise. | |
1757 | * testsuite/gas/i386/k1om.d: Likewise. | |
1758 | * testsuite/gas/i386/l1om.d: Likewise. | |
1759 | ||
08ccfccf NC |
1760 | 2020-06-30 Nelson Chu <nelson.chu@sifive.com> |
1761 | ||
1762 | * config/tc-riscv.c (riscv_csr_class_check): Removed. Move the | |
1763 | checking into riscv_csr_address. | |
1764 | (riscv_csr_version_check): Likewise. | |
1765 | (riscv_csr_address): New function. Return the suitable CSR address | |
1766 | after checking the ISA dependency and versions. Issue warnings if | |
1767 | we find any conflict and -mcsr-check is set. CSR_CLASS_F and | |
1768 | CSR_CLASS_DEBUG are unprivileged CSR for now, so don't check the | |
1769 | priv spec versions for them. | |
1770 | (reg_csr_lookup_internal): Call riscv_csr_address to find the | |
1771 | suitable CSR address. | |
1772 | * testsuite/gas/riscv/priv-reg-fail-fext.d: Remove -mpriv-spec=1.11. | |
1773 | * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise. | |
1774 | * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise. | |
1775 | * testsuite/gas/riscv/priv-reg-fail-fext.l: We don't care the | |
1776 | priv spec warnings here. These warnings are added by accident. | |
1777 | Remove them and only focus on the ISA dependency warnings. | |
1778 | * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise. | |
1779 | * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise. | |
1780 | * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Updated since | |
1781 | dscratch0 and dscratch1 are regarded as the unprivileged CSR rather | |
1782 | than the privileged ones. | |
1783 | * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise. | |
1784 | * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise. | |
1785 | * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise. | |
1786 | * testsuite/gas/riscv/priv-reg.s: Likewise. Add missing debug CSR. | |
1787 | * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise. | |
1788 | * testsuite/gas/riscv/priv-reg-version-1p9p1.d: Likewise. | |
1789 | * testsuite/gas/riscv/priv-reg-version-1p10.d: Likewise. | |
1790 | * testsuite/gas/riscv/priv-reg-version-1p11.d: Likewise. | |
1791 | * testsuite/gas/riscv/csr-dw-regnums.d: Likewise. | |
1792 | * testsuite/gas/riscv/csr-dw-regnums.s: Likewise. | |
1793 | ||
8c190ce0 L |
1794 | 2020-06-29 H.J. Lu <hongjiu.lu@intel.com> |
1795 | ||
1796 | * tc-i386.c (build_vex_prefix): Support VEX base opcode length > 1. | |
1797 | (md_assemble): Don't process ImmExt without operands. | |
1798 | ||
b20e7614 HPN |
1799 | 2020-06-29 Hans-Peter Nilsson <hp@bitrange.com> |
1800 | ||
1801 | PR gas/25331 | |
1802 | * config/tc-mmix.c (md_assemble) <fixup for | |
1803 | BFD_RELOC_MMIX_BASE_PLUS_OFFSET>: This fixup affects 1 byte, not 8. | |
1804 | Also, set its fx_no_overflow. | |
1805 | (md_convert_frag) <case ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO)>: | |
1806 | Similarly this fixup affects 4 bytes, not 8 and needs its | |
1807 | fx_no_overflow set. | |
1808 | * config/tc-mmix.h (TC_FX_SIZE_SLACK): Don't define. | |
4e394b28 | 1809 | * testsuite/gas/mmix/pr25331.d, testsuite/gas/mmix/pr25331.s: New test. |
b20e7614 | 1810 | |
279edac5 AM |
1811 | 2020-06-29 Alan Modra <amodra@gmail.com> |
1812 | ||
1813 | * config/tc-s12z.c: Use C style comments. | |
1814 | * config/tc-z80.c: Likewise. | |
1815 | * config/tc-xtensa.c (emit_ld_r_n): Remove commented out code. | |
1816 | ||
b6cd5d10 L |
1817 | 2020-06-26 H.J. Lu <hongjiu.lu@intel.com> |
1818 | ||
1819 | * config/tc-i386.c (md_assemble): Process ImmExt without | |
1820 | operands. | |
1821 | ||
63112cd6 L |
1822 | 2020-06-26 H.J. Lu <hongjiu.lu@intel.com> |
1823 | ||
1824 | * config/tc-i386.c (check_VecOperands): Replace vecsib with sib. | |
1825 | Replace VecSIB128, VecSIB256 and VecSIB512 with VECSIB128, | |
1826 | VECSIB256 and VECSIB512, respectively. | |
1827 | (build_modrm_byte): Replace vecsib with sib. | |
1828 | ||
2a1bb84c JB |
1829 | 2020-06-26 Jan Beulich <jbeulich@suse.com> |
1830 | ||
1831 | * testsuite/gas/i386/nop-1-suffix.d: New. | |
1832 | * testsuite/gas/i386/i386.exp: Run new test. | |
1833 | ||
85f7484a PB |
1834 | 2020-06-26 Pat Bernardi <bernardi@adacore.com> |
1835 | ||
1836 | * config/tc-m68k.c (m68k_elf_gnu_attribute): New function. | |
1837 | (md_pseudo_table): Handle "gnu_attribute". | |
1838 | * doc/as.texi: Document GNU attribute for M68K. | |
1839 | ||
b59d128a NC |
1840 | 2020-06-25 Nick Clifton <nickc@redhat.com> |
1841 | ||
1842 | PR 26141 | |
1843 | * config/tc-arm.c (arm_force_relocation): Force resolution of | |
1844 | BFD_RELOC_THUMB_PCREL_BRANCH12 relocations. | |
1845 | * testsuite/gas/arm/plt-1.d: Adjust expected disassembly. | |
1846 | ||
c423d21a JB |
1847 | 2020-06-25 Jan Beulich <jbeulich@suse.com> |
1848 | ||
1849 | * config/tc-i386.c (md_assemble): Move call to process_immext() | |
1850 | ... | |
1851 | (process_operands): ... here. | |
1852 | ||
8bbb3ad8 JB |
1853 | 2020-06-25 Jan Beulich <jbeulich@suse.com> |
1854 | ||
1855 | * config/tc-i386.c (process_suffix): Skip ambiguous operand size | |
1856 | diagnostic when there is a sizing prefix. Switch to word/dword/ | |
1857 | qword encoding when there is a sizing prefix and no (explicit or | |
1858 | derived) suffix. | |
1859 | (update_imm): Handle presence of a sizing prefix. | |
1860 | * testsuite/gas/i386/noreg16-data32.d, | |
1861 | testsuite/gas/i386/noreg32-data16.d, | |
1862 | testsuite/gas/i386/noreg32-data16.e, | |
1863 | testsuite/gas/i386/noreg64-data16.d, | |
1864 | testsuite/gas/i386/noreg64-data16.e, | |
1865 | testsuite/gas/i386/noreg64-rex64.d: New. | |
1866 | * testsuite/gas/i386/i386.exp: Run new tests. | |
1867 | * testsuite/gas/i386/noreg32.s, testsuite/gas/i386/noreg64.s: | |
1868 | Introduce and use pfx* macros. | |
1869 | * testsuite/gas/i386/noreg16.s: Likewise. Replace 32-bit | |
1870 | addressing. | |
1871 | * testsuite/gas/i386/noreg16.d: Adjust expectations. | |
1872 | ||
589958d6 JB |
1873 | 2020-06-25 Jan Beulich <jbeulich@suse.com> |
1874 | ||
1875 | * testsuite/gas/i386/avx-16bit.d, | |
1876 | testsuite/gas/i386/avx-scalar.d, testsuite/gas/i386/avx.d, | |
1877 | testsuite/gas/i386/avx512f-16bit.d, | |
1878 | testsuite/gas/i386/avx512f.d, | |
1879 | testsuite/gas/i386/evex-lig256.d, | |
1880 | testsuite/gas/i386/evex-lig512.d | |
1881 | testsuite/gas/i386/evex-wig1.d, testsuite/gas/i386/katmai.d, | |
1882 | testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg32.d, | |
1883 | testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/simd.d, | |
1884 | testsuite/gas/i386/sse2-16bit.d, | |
1885 | testsuite/gas/i386/sse2.d, testsuite/gas/i386/sse2avx.d: Adjust | |
1886 | expectations. | |
1887 | ||
0b9404fd JB |
1888 | 2020-06-25 Jan Beulich <jbeulich@suse.com> |
1889 | ||
1890 | * config/tc-i386.c (md_assemble): Also reject explicit REX | |
1891 | prefixes with VEX and alike encoded insns. Zap consumed bits | |
1892 | from i.rex. | |
1893 | (output_insn): Don't ignore REX prefix for VEX and alike | |
1894 | encodings; abort() instead if encountered. | |
1895 | * testsuite/gas/i386/x86-64-pseudos.s: Move REX-with-VEX cases | |
1896 | ... | |
1897 | * testsuite/gas/i386/x86-64-pseudos-bad.s: ... here. | |
1898 | * testsuite/gas/i386/x86-64-pseudos.d, | |
1899 | testsuite/gas/i386/x86-64-pseudos-bad.l: Adjust expectations. | |
1900 | ||
a5aeccd9 JB |
1901 | 2020-06-25 Jan Beulich <jbeulich@suse.com> |
1902 | ||
1903 | * config/tc-i386.c (process_operands): Translate explicit REX | |
1904 | prefix into i.rex for SSE2AVX templates. | |
1905 | (set_rex_vrex): New helper. | |
1906 | (build_modrm_byte): Use it. | |
1907 | * testsuite/gas/i386/x86-64-sse2avx.s: Add cases with explict | |
1908 | REX prefixes. | |
1909 | * testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations. | |
1910 | ||
40d231b4 JB |
1911 | 2020-06-25 Jan Beulich <jbeulich@suse.com> |
1912 | ||
1913 | * config/tc-i386.c (cpu_flags_match): Only match SSE2AVX | |
1914 | templates when there's no data size prefix. | |
1915 | (md_assemble): Reject data size prefix also for legacy encoded | |
1916 | SIMD templates. | |
1917 | * testsuite/gas/i386/prefix32.s, testsuite/gas/i386/prefix64.s: | |
1918 | Uncomment previously not working line. | |
1919 | * testsuite/gas/i386/sse2avx.s: Add ldmxcsr/stmxcsr cases with | |
1920 | data16 prefix. | |
1921 | * testsuite/gas/i386/prefix32.l, testsuite/gas/i386/prefix64.l, | |
1922 | testsuite/gas/i386/sse2avx.d: Adjust expectations. | |
1923 | ||
11abe426 JB |
1924 | 2020-06-25 Jan Beulich <jbeulich@suse.com> |
1925 | ||
1926 | * config/tc-i386.c (build_evex_prefix): Drop early setting of | |
1927 | vec_length. | |
1928 | ||
1a79004f NC |
1929 | 2020-06-23 Nelson Chu <nelson.chu@sifive.com> |
1930 | ||
1931 | * config/tc-riscv.c (explicit_priv_attr): Rename explicit_csr to | |
1932 | explicit_priv_attr. It used to indicate CSR or priv instructions are | |
1933 | explictly used. | |
1934 | (riscv_is_priv_insn): Return True if it is a privileged instruction. | |
1935 | (riscv_ip): Call riscv_is_priv_insn to check whether the instruction | |
1936 | is privileged or not. If it is, then set explicit_priv_attr to TRUE. | |
1937 | (riscv_write_out_attrs): Clarification of when to generate the elf | |
1938 | priv spec attributes. | |
1939 | * testsuite/gas/riscv/attribute-11.s: Add comments. | |
1940 | * testsuite/gas/riscv/attribute-14.s: New testcase. Use symbol | |
1941 | `priv_insn_<n>` to decide which priv instruction is expected to used. | |
1942 | (<n> is a to e.) | |
1943 | * testsuite/gas/riscv/attribute-14a.d: Likewise. | |
1944 | * testsuite/gas/riscv/attribute-14b.d: Likewise. | |
1945 | * testsuite/gas/riscv/attribute-14c.d: Likewise. | |
1946 | * testsuite/gas/riscv/attribute-14d.d: Likewise. | |
1947 | * testsuite/gas/riscv/attribute-14e.d: Likewise. | |
1948 | ||
39ff0b81 NC |
1949 | 2020-06-22 Nelson Chu <nelson.chu@sifive.com> |
1950 | ||
1951 | * config/tc-riscv.c (buf_size, buf): Remove the unused variables. | |
1952 | (riscv_set_default_priv_spec): Get the priv spec version from the | |
1953 | priv spec attributes by riscv_get_priv_spec_class_from_numbers. | |
1954 | ||
e2201c2a AM |
1955 | 2020-06-20 Alan Modra <amodra@gmail.com> |
1956 | ||
1957 | * configure.tgt: Set bfd_gas for all SH targets. | |
1958 | ||
d27c357a JB |
1959 | 2020-06-18 Jan Beulich <jbeulich@suse.com> |
1960 | ||
1961 | * testsuite/gas/i386/arch-13.s: Add alternative VMGEXIT case. | |
1962 | * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust | |
1963 | expectations. | |
1964 | ||
708a2fff CL |
1965 | 2020-06-16 Lili Cui <lili.cui@intel.com> |
1966 | ||
1967 | * config/tc-i386.c (cpu_arch): Correct noavx512_vp2intersect | |
1968 | cpu_arch to CPU_ANY_VP2INTERSECT_FLAGS. | |
1969 | * doc/c-i386.texi: Add avx512_vp2intersect. | |
1970 | ||
2106ed9b JB |
1971 | 2020-06-16 Jan Beulich <jbeulich@suse.com> |
1972 | ||
1973 | * config/tc-i386.c (md_assemble): Drop SSE4a from SSE check | |
1974 | conditional. | |
1975 | * testsuite/gas/i386/sse-check.s: Adjust comment. | |
1976 | * testsuite/gas/i386/sse-check-error.l, | |
1977 | testsuite/gas/i386/sse-check-warn.e, | |
1978 | testsuite/gas/i386/x86-64-sse-check-error.l: Adjust | |
1979 | expectations. | |
1980 | ||
a435742a AM |
1981 | 2020-06-16 Alan Modra <amodra@gmail.com> |
1982 | ||
1983 | * config/tc-tic30.h: Remove OBJ_AOUT support. | |
1984 | * configure.tgt: Delete tic30-*-*aout* entry. | |
1985 | ||
7a77f1ac MF |
1986 | 2020-06-15 Max Filippov <jcmvbkbc@gmail.com> |
1987 | ||
1988 | * config/tc-xtensa.c (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New | |
1989 | macros. | |
1990 | (elf32xtensa_abi): New declaration. | |
1991 | (option_abi_windowed, option_abi_call0): New enum constants. | |
1992 | (md_longopts): Add entries for --abi-windowed and --abi-call0. | |
1993 | (md_parse_option): Add handlers for --abi-windowed and | |
1994 | --abi-call0. | |
1995 | (xtensa_add_config_info): Use xtensa_abi_choice instead of | |
1996 | XSHAL_ABI to format ABI tag. | |
1997 | * doc/as.texi (Target Xtensa options): Add --abi-windowed and | |
1998 | --abi-call0 to the list of options. | |
1999 | * doc/c-xtensa.texi: Add description for options --abi-windowed | |
2000 | and --abi-call0. | |
2001 | * testsuite/gas/xtensa/abi-call0.d: New test definition. | |
2002 | * testsuite/gas/xtensa/abi-windowed.d: New test definition. | |
2003 | * testsuite/gas/xtensa/abi.s: New test source. | |
2004 | ||
efe30057 L |
2005 | 2020-06-14 H.J. Lu <hongjiu.lu@intel.com> |
2006 | ||
2007 | PR gas/26115 | |
2008 | * testsuite/gas/i386/tsxldtrk.d: Replace xsuspldtrk with | |
2009 | xsusldtrk. | |
2010 | * testsuite/gas/i386/tsxldtrk.s: Likewise. | |
2011 | * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise. | |
2012 | * testsuite/gas/i386/x86-64-tsxldtrk.s: Likewise. | |
2013 | ||
d8af286f NC |
2014 | 2020-06-12 Nelson Chu <nelson.chu@sifive.com> |
2015 | ||
2016 | * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Removed. | |
2017 | * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise. | |
2018 | * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise. | |
2019 | ||
18ca16be SG |
2020 | 2020-06-09 Seth Girvan <snth@snthhacks.com> |
2021 | ||
2022 | * doc/c-avr.texi: Improve wording. | |
2023 | ||
6778f1c4 JB |
2024 | 2020-06-09 Jan Beulich <jbeulich@suse.com> |
2025 | ||
2026 | * testsuite/gas/i386/x86-64-pseudos-bad.s, | |
2027 | testsuite/gas/i386/x86-64-pseudos-bad.l: New. | |
2028 | ||
73239888 JB |
2029 | 2020-06-09 Jan Beulich <jbeulich@suse.com> |
2030 | ||
2031 | * testsuite/gas/i386/prefix.s: Add bogus prefix-with-VEX/EVEX | |
2032 | encoding tests. | |
2033 | * testsuite/gas/i386/prefix.d: Adjust expectations. | |
2034 | ||
bf926894 JB |
2035 | 2020-06-09 Jan Beulich <jbeulich@suse.com> |
2036 | ||
2037 | * testsuite/gas/i386/prefix.s: Add bogus REP / EVEX.W prefix | |
2038 | with VEX/EVEX encoding tests. | |
2039 | * testsuite/gas/i386/prefix.d: Adjust expectations. | |
2040 | ||
828c2a25 JB |
2041 | 2020-06-09 Jan Beulich <jbeulich@suse.com> |
2042 | ||
2043 | * config/tc-i386.c (process_suffix): Restrict defaulting to 'q' | |
2044 | suffix. | |
2045 | * testsuite/gas/i386/noreg64.s: Add lcall/ljmp cases. | |
2046 | * testsuite/gas/i386/noreg64.d: Adjust expectations. | |
2047 | * testsuite/gas/i386/noreg-intel64.d, | |
2048 | testsuite/gas/i386/noreg-intel64.l, | |
2049 | testsuite/gas/i386/noreg-intel64.s: New. | |
2050 | * testsuite/gas/i386/i386.exp: Run new tests. | |
2051 | ||
da4977e0 JB |
2052 | 2020-06-09 Jan Beulich <jbeulich@suse.com> |
2053 | ||
2054 | * config/tc-i386.c (vex_encoding_error): New enumerator. | |
2055 | (VEX_check_operands): Rename to VEX_check_encoding. Check | |
2056 | for vex_encoding_error. Move Imm4 handling ... | |
2057 | (check_VecOperands): ... here. | |
2058 | (match_template): Call VEX_check_encoding when there are no | |
2059 | operands. Split construct calling check_VecOperands and | |
2060 | VEX_check_encoding (when there are operands). | |
2061 | (check_register): Don't blindly set vex_encoding_evex. | |
2062 | * testsuite/gas/i386/pseudos-bad.s, | |
2063 | testsuite/gas/i386/pseudos-bad.l: New. | |
2064 | * testsuite/gas/i386/i386.exp: Run new test. | |
2065 | * testsuite/gas/i386/xmmhi64.s: Drop {vex2}. | |
2066 | ||
26417f19 AC |
2067 | 2020-06-08 Alex Coplan <alex.coplan@arm.com> |
2068 | ||
2069 | * config/tc-arm.c (insns): Add dfb. | |
2070 | * testsuite/gas/arm/dfb.d: New test. | |
2071 | * testsuite/gas/arm/dfb.s: Input for test. | |
2072 | ||
9f3e7dbc NC |
2073 | 2020-06-08 Nick Clifton <nickc@redhat.com> |
2074 | ||
2075 | * testsuite/gas/cfi/cfi-i386-2.d: Skip for PE based targets. | |
2076 | ||
dd6b8a0b JB |
2077 | 2020-06-08 Jan Beulich <jbeulich@suse.com> |
2078 | ||
2079 | * config/tc-i386.c (pi): Add checks for RegMask and RegBND. | |
2080 | ||
73c76375 JB |
2081 | 2020-06-08 Jan Beulich <jbeulich@suse.com> |
2082 | ||
2083 | * config/tc-i386.c (check_byte_reg): Drop dead conditional | |
2084 | around as_bad(). | |
2085 | ||
22e00a3f JB |
2086 | 2020-06-08 Jan Beulich <jbeulich@suse.com> |
2087 | ||
2088 | * config/tc-i386.c (check_register): Split RegTR handling, to | |
2089 | fail recognition also in 64-bit mode as well as with i586 or | |
2090 | i686 explicitly enabled. | |
2091 | * testsuite/gas/i386/x86_64.s: Add insns referencing tr<N>. | |
2092 | * testsuite/gas/i386/x86_64-intel.d, | |
2093 | testsuite/gas/i386/x86_64.d: Adjust expectations. | |
2094 | ||
1ab84e02 JB |
2095 | 2020-06-08 Jan Beulich <jbeulich@suse.com> |
2096 | ||
2097 | * testsuite/gas/cfi/cfi-i386-2.d: Adjust expectations. | |
2098 | * testsuite/gas/cfi/cfi.exp: Run this test. | |
2099 | ||
af32b722 JB |
2100 | 2020-06-08 Jan Beulich <jbeulich@suse.com> |
2101 | ||
2102 | * config/tc-i386.c (parse_real_register): Add allow_pseudo_reg | |
2103 | check to %st(N) parsing logic. | |
2104 | * testsuite/gas/cfi/cfi-i386.s: Set "generic32" arch. | |
2105 | ||
8a6fb3f9 JB |
2106 | 2020-06-08 Jan Beulich <jbeulich@suse.com> |
2107 | ||
2108 | * config/tc-i386.c (bad_reg): New. | |
2109 | (check_VecOperations, i386_att_operand, i386_parse_name): Check | |
2110 | for it. | |
2111 | (check_register): New, broken out from ... | |
2112 | (parse_real_register): ... here. Call it. | |
2113 | (parse_register): Call it, and error upon failure. | |
2114 | * testsuite/gas/i386/equ-bad.s, testsuite/gas/i386/equ-bad.l, | |
2115 | testsuite/gas/i386/x86-64-equ-bad.s, | |
2116 | testsuite/gas/i386/x86-64-equ-bad.l: New. | |
2117 | * testsuite/gas/i386/i386.exp: Run new tests. | |
2118 | ||
1424c35d AM |
2119 | 2020-06-06 Alan Modra <amodra@gmail.com> |
2120 | ||
2121 | * config/tc-ppc.c (md_show_usage): Mention -mpower10 and -mpwr10. | |
2122 | * doc/c-ppc.texi: Likewise. | |
2123 | ||
87c69f97 AM |
2124 | 2020-06-06 Alan Modra <amodra@gmail.com> |
2125 | ||
2126 | * config/tc-ppc.c: Update throughout for reloc renaming. | |
2127 | ||
f1919c56 JM |
2128 | 2020-06-05 Jose E. Marchesi <jose.marchesi@oracle.com> |
2129 | ||
2130 | * config/tc-bpf.c (md_apply_fix): Avoid GCC 10 warning | |
2131 | stringop-overflow. | |
2132 | ||
3fc6c3dc NC |
2133 | 2020-06-05 Nelson Chu <nelson.chu@sifive.com> |
2134 | ||
2135 | * config/tc-riscv.c (explicit_csr): New static boolean. | |
2136 | Used to indicate CSR are explictly used. | |
2137 | (riscv_ip): Set explicit_csr to TRUE if any CSR is used. | |
2138 | (riscv_write_out_attrs): If we already have set elf priv | |
2139 | attributes, then generate them. Otherwise, don't generate | |
2140 | them when no CSR are used. | |
2141 | * testsuite/gas/riscv/attribute-01.d: Remove the priv attributes. | |
2142 | * testsuite/gas/riscv/attribute-02.d: Likewise. | |
2143 | * testsuite/gas/riscv/attribute-03.d: Likewise. | |
2144 | * testsuite/gas/riscv/attribute-04.d: Likewise. | |
2145 | * testsuite/gas/riscv/attribute-05.d: Likewise. | |
2146 | * testsuite/gas/riscv/attribute-06.d: Likewise. | |
2147 | * testsuite/gas/riscv/attribute-07.d: Likewise. | |
2148 | * testsuite/gas/riscv/attribute-08.d: Likewise. | |
2149 | * testsuite/gas/riscv/attribute-09.d: Likewise. | |
2150 | * testsuite/gas/riscv/attribute-10.d: Likewise. | |
2151 | * testsuite/gas/riscv/attribute-unknown.d: Likewise. | |
2152 | * testsuite/gas/riscv/attribute-11.s: New testcase. | |
2153 | * testsuite/gas/riscv/attribute-11.d: New testcase. The CSR is | |
2154 | used, so we should output the ELF priv attributes. | |
2155 | * testsuite/gas/riscv/attribute-12.d: New testcase. The CSR is | |
2156 | used, so output the priv attributes according to the -mpriv-spec. | |
2157 | * testsuite/gas/riscv/attribute-13.d: New testcase. The CSR isn't | |
2158 | used, so ignore the -mpriv-spec setting. | |
2159 | ||
d413a623 L |
2160 | 2020-06-04 H.J. Lu <hongjiu.lu@intel.com> |
2161 | ||
2162 | * config/tc-ip2k. (ip2k_apply_fix): Pass endianness to | |
2163 | cgen_get_insn_value. | |
2164 | * config/tc-xstormy16.c (xstormy16_md_apply_fix): Pass | |
2165 | endianness to cgen_get_insn_value and cgen_put_insn_value. | |
2166 | ||
7d8b91fd JM |
2167 | 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com> |
2168 | ||
2169 | * config/tc-bpf.c (md_apply_fix): Simplify and avoid using | |
2170 | cgen_put_insn_value. | |
2171 | ||
d8740be1 JM |
2172 | 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com> |
2173 | ||
2174 | * config/tc-bpf.c (md_begin): Pass CGEN_CPU_OPEN_INSN_ENDIAN to | |
2175 | bpf_cgen_cpu_open. | |
2176 | (md_assemble): Remove no longer needed hack. | |
2177 | ||
e9bffec9 JM |
2178 | 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com> |
2179 | ||
2180 | * cgen.c (gas_cgen_finish_insn): Pass the endianness to | |
2181 | cgen_put_insn_value. | |
2182 | (gas_cgen_md_apply_fix): Likewise. | |
2183 | (gas_cgen_md_apply_fix): Likewise. | |
2184 | * config/tc-bpf.c (md_apply_fix): Pass data endianness to | |
2185 | cgen_put_insn_value. | |
2186 | * config/tc-mep.c (mep_check_ivc2_scheduling): Pass endianness to | |
2187 | cgen_put_insn_value. | |
2188 | ||
1cf67587 AM |
2189 | 2020-06-04 Alan Modra <amodra@gmail.com> |
2190 | ||
2191 | * testsuite/config/default.exp: Remove global directive outside | |
2192 | proc body. | |
2193 | * testsuite/gas/mep/complex-relocs.exp: Likewise. | |
2194 | * testsuite/gas/microblaze/relax_size.exp: Likewise. | |
2195 | * testsuite/gas/microblaze/reloc_sym.exp: Likewise. | |
2196 | * testsuite/gas/mt/relocs.exp: Likewise. | |
2197 | * testsuite/gas/rx/rx.exp: Likewise. | |
2198 | ||
338d56a8 SC |
2199 | 2020-06-03 Stephen Casner <casner@acm.org> |
2200 | ||
2201 | * doc/c-riscv.texi (RISC-V-Options): Fix non-ASCII apostrophe. | |
2202 | ||
bb7322c6 JW |
2203 | 2020-06-02 Frédéric Pétrot <frederic.petrot@univ-grenoble-alpes.fr> |
2204 | Jim Wilson <jimw@sifive.com> | |
2205 | ||
2206 | PR 26051 | |
2207 | * doc/c-riscv.texi (RISC-V-Formats): Add missing I format using | |
2208 | simm12(rs1). Correct S format to use simm12(rs1). Drop SB and B | |
2209 | formats using simm12(rs1). Correct SB and B to use rs1 and rs2. | |
2210 | Move B before SB. Move J before UJ. | |
2211 | ||
c39c821c AC |
2212 | 2020-06-01 Alex Coplan <alex.coplan@arm.com> |
2213 | ||
2214 | * write.c (relax_segment): Fix handling of negative offset when | |
2215 | relaxing an rs_org frag. | |
2216 | * testsuite/gas/aarch64/org-neg.d: New test. | |
2217 | * testsuite/gas/aarch64/org-neg.l: Error output for test. | |
2218 | * testsuite/gas/aarch64/org-neg.s: Input for test. | |
2219 | * testsuite/gas/arm/org-neg.d: New test. | |
2220 | * testsuite/gas/arm/org-neg.l: Error output for test. | |
2221 | * testsuite/gas/arm/org-neg.s: Input for test. | |
2222 | ||
66e3eb08 SC |
2223 | 2020-05-28 Stephen Casner <casner@acm.org> |
2224 | ||
2225 | Fix unexpected failures in gas testsuite for pdp11-aout target. | |
2226 | These are caused by the PDP11's mix of little-endian octets in | |
2227 | shorts but shorts in big endian order for long or quad. | |
2228 | ||
2229 | * config/tc-pdp11.c (md_number_to_chars): Implement .quad | |
2230 | * testsuite/gas/all/gas.exp: Select alternate test scripts for | |
2231 | pdp11, skip octa test completely. | |
2232 | * testsuite/gas/all/eqv-dot-pdp11.s: Identical to eqv-dot.s | |
2233 | * testsuite/gas/all/eqv-dot-pdp11.d: Match different octet order. | |
2234 | * testsuite/gas/all/cond-pdp11.l: Match different octet order. | |
2235 | ||
9e85f042 NC |
2236 | 2020-05-28 Alex Coplan <alex.coplan@arm.com> |
2237 | ||
2238 | * frags.c (frag_grow): Fix comment. | |
2239 | ||
1c912705 SC |
2240 | 2020-05-27 Stephen Casner <casner@acm.org> |
2241 | ||
2242 | PR gas/26001 | |
2243 | * config/tc-pdp11.c (parse_reg): Distinguish register names from | |
2244 | symbols that begin with a register name. | |
2245 | * testsuite/gas/pdp11/pdp11.exp: Add test of such symbols. | |
2246 | * testsuite/gas/pdp11/pr26001.s: Likewise. | |
2247 | * testsuite/gas/pdp11/pr26001.d: Likewise. | |
2248 | ||
5c505568 SC |
2249 | 2020-05-27 Simon Cook <simon.cook@embecosm.com> |
2250 | ||
2251 | * config/tc-riscv.c (riscv_init_csr_hash): NULL initilize next | |
2252 | pointer when creating struct riscv_csr_extra. | |
2253 | ||
3c730740 L |
2254 | 2020-05-26 H.J. Lu <hongjiu.lu@intel.com> |
2255 | ||
2256 | * testsuite/gas/i386/align-branch-9.d: Updated for PECOFF. | |
2257 | * testsuite/gas/i386/inval-avx512f.s: Add .p2align for PECOFF. | |
2258 | * testsuite/gas/i386/inval-avx512f.l: Updated. | |
2259 | ||
57b17940 SSF |
2260 | 2020-05-26 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com> |
2261 | ||
2262 | * testsuite/gas/s390/zarch-z13.d: Add regexp checks for vector | |
2263 | load/store instruction variants with alignment hints. | |
2264 | * testsuite/gas/s390/zarch-z13.s: Emit new vector load/store | |
2265 | instruction variants with alignment hints. | |
2266 | ||
e3fed0f2 L |
2267 | 2020-05-26 H.J. Lu <hongjiu.lu@intel.com> |
2268 | ||
2269 | PR gas/26044 | |
2270 | * config/tc-xgate.c (md_apply_fix): Check BFD_RELOC_XGATE_PCREL_X | |
2271 | instead of R_XGATE_PCREL_X. | |
2272 | (xgate_parse_operand): Replace R_XGATE_PCREL_X with | |
2273 | BFD_RELOC_XGATE_PCREL_X. | |
2274 | ||
8bbc5da5 L |
2275 | 2020-05-26 H.J. Lu <hongjiu.lu@intel.com> |
2276 | ||
2277 | PR gas/26044 | |
2278 | * config/tc-visium.c (md_convert_frag): Replace fragP->fr_literal | |
2279 | with &fragP->fr_literal[0]. | |
2280 | ||
c4612b92 L |
2281 | 2020-05-26 H.J. Lu <hongjiu.lu@intel.com> |
2282 | ||
2283 | PR gas/26044 | |
2284 | * config/tc-vax.c (md_estimate_size_before_relax): Replace | |
2285 | fragP->fr_literal with &fragP->fr_literal[0]. | |
2286 | (md_convert_frag): Likewise. | |
2287 | ||
70b1b570 L |
2288 | 2020-05-26 H.J. Lu <hongjiu.lu@intel.com> |
2289 | ||
2290 | PR gas/26044 | |
2291 | * config/tc-v850.c (md_convert_frag): Replace fragP->fr_literal | |
2292 | with &fragP->fr_literal[0]. | |
2293 | ||
e67e940f L |
2294 | 2020-05-26 H.J. Lu <hongjiu.lu@intel.com> |
2295 | ||
2296 | PR gas/26044 | |
2297 | * config/tc-crx.c (getreg_image): Change argument type to int. | |
2298 | (md_convert_frag): Replace fragP->fr_literal with | |
2299 | &fragP->fr_literal[0]. | |
2300 | ||
a05e3e20 L |
2301 | 2020-05-26 H.J. Lu <hongjiu.lu@intel.com> |
2302 | ||
2303 | PR gas/26044 | |
2304 | * onfig/tc-score.c (s3_do_macro_bcmp): Replace overlapping | |
2305 | sprintf with memmove. | |
2306 | ||
c6412eee L |
2307 | 2020-05-25 H.J. Lu <hongjiu.lu@intel.com> |
2308 | ||
2309 | * config/tc-mcore.c (md_convert_frag): Replace fragP->fr_literal | |
2310 | with &fragP->fr_literal[0]. | |
2311 | ||
9fcc3457 L |
2312 | 2020-05-25 H.J. Lu <hongjiu.lu@intel.com> |
2313 | ||
2314 | PR gas/26041 | |
2315 | * config/tc-cr16.c (md_assemble): Use memmove to concatenate | |
2316 | 2 overlapping strings. | |
2317 | ||
6c115e16 L |
2318 | 2020-05-25 H.J. Lu <hongjiu.lu@intel.com> |
2319 | ||
2320 | * config/tc-cr16.c (md_convert_frag): Replace fragP->fr_literal | |
2321 | with &fragP->fr_literal[0]. | |
2322 | ||
a39d29cd L |
2323 | 2020-05-25 H.J. Lu <hongjiu.lu@intel.com> |
2324 | ||
2325 | * config/tc-csky.c (md_convert_frag): Replace fragp->fr_literal | |
2326 | with &fragp->fr_literal[0]. | |
2327 | * config/tc-microblaze.c (md_apply_fix): Likewise. | |
2328 | * config/tc-sh.c (md_convert_frag): Likewise. | |
2329 | ||
72393fd1 JW |
2330 | 2020-05-24 Jim Wilson <jimw@sifive.com> |
2331 | ||
2332 | PR 26025 | |
2333 | * config/tc-riscv.c (riscv_pre_output_hook): Change s type from const | |
2334 | asection to segT. New locals seg and subseg. Call subseg_set before | |
2335 | fix_new_exp. Call subseg_set after loop to restore original values. | |
2336 | ||
9fbb53c7 AM |
2337 | 2020-05-21 Alan Modra <amodra@gmail.com> |
2338 | ||
2339 | * atof-generic.c: Replace "if (x) free (x)" with "free (x)" | |
2340 | throughout. | |
2341 | * config/obj-elf.c: Likewise. | |
2342 | * config/tc-aarch64.c: Likewise. | |
2343 | * config/tc-arm.c: Likewise. | |
2344 | * config/tc-m68k.c: Likewise. | |
2345 | * config/tc-nios2.c: Likewise. | |
2346 | * config/tc-tic30.c: Likewise. | |
2347 | * ecoff.c: Likewise. | |
2348 | * read.c: Likewise. | |
2349 | * stabs.c: Likewise. | |
2350 | * symbols.c: Likewise. | |
2351 | * testsuite/gas/all/test-gen.c: Likewise. | |
2352 | ||
8f595e9b NC |
2353 | 2020-05-20 Nelson Chu <nelson.chu@sifive.com> |
2354 | ||
2355 | * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: Updated. | |
2356 | * config/tc-riscv.c (default_arch_with_ext, default_isa_spec): | |
2357 | Static variables which are used to set the ISA extensions. You can | |
2358 | use -march (or ELF build attributes) and -misa-spec to set them, | |
2359 | respectively. | |
2360 | (ext_version_hash): The hash table used to handle the extensions | |
2361 | with versions. | |
2362 | (init_ext_version_hash): Initialize the ext_version_hash according | |
2363 | to riscv_ext_version_table. | |
2364 | (riscv_get_default_ext_version): The callback function of | |
2365 | riscv_parse_subset_t. According to the choosed ISA spec, | |
2366 | get the default version for the specific extension. | |
2367 | (riscv_set_arch): Set the callback function. | |
2368 | (enum options, struct option md_longopts): Add new option -misa-spec. | |
2369 | (md_parse_option): Do not call riscv_set_arch for -march. We will | |
2370 | call it later in riscv_after_parse_args. Call riscv_get_isa_spec_class | |
2371 | to set default_isa_spec class. | |
2372 | (riscv_after_parse_args): Call init_ext_version_hash to initialize the | |
2373 | ext_version_hash, and then call riscv_set_arch to set the architecture | |
2374 | with versions according to default_arch_with_ext. | |
2375 | * testsuite/gas/riscv/attribute-02.d: Set 0p0 as default version for | |
2376 | x extensions. | |
2377 | * testsuite/gas/riscv/attribute-03.d: Likewise. | |
2378 | * testsuite/gas/riscv/attribute-09.d: New testcase. For i-ext, we | |
2379 | already set it's version to 2p1 by march, so no need to use the default | |
2380 | 2p2 version. For m-ext, we do not set the version by -march and ELF arch | |
2381 | attribute, so set the default 2p0 to it. For zicsr, it is not defined in | |
2382 | ISA spec 2p2, so set 0p0 to it. | |
2383 | * testsuite/gas/riscv/attribute-10.d: New testcase. The version of | |
2384 | zicsr is 2p0 according to ISA spec 20191213. | |
2385 | * config/tc-riscv.c (DEFAULT_RISCV_ARCH_WITH_EXT) | |
2386 | (DEFAULT_RISCV_ISA_SPEC): Default configure option settings. | |
2387 | You can set them by configure options --with-arch and | |
2388 | --with-isa-spec, respectively. | |
2389 | (riscv_set_default_isa_spec): New function used to set the | |
2390 | default ISA spec. | |
2391 | (md_parse_option): Call riscv_set_default_isa_spec rather than | |
2392 | call riscv_get_isa_spec_class directly. | |
2393 | (riscv_after_parse_args): If the -isa-spec is not set, then we | |
2394 | set the default ISA spec according to DEFAULT_RISCV_ISA_SPEC by | |
2395 | calling riscv_set_default_isa_spec. | |
2396 | * testsuite/gas/riscv/attribute-01.d: Add -misa-spec=2.2, since | |
2397 | the --with-isa-spec may be set to different ISA spec. | |
2398 | * testsuite/gas/riscv/attribute-02.d: Likewise. | |
2399 | * testsuite/gas/riscv/attribute-03.d: Likewise. | |
2400 | * testsuite/gas/riscv/attribute-04.d: Likewise. | |
2401 | * testsuite/gas/riscv/attribute-05.d: Likewise. | |
2402 | * testsuite/gas/riscv/attribute-06.d: Likewise. | |
2403 | * testsuite/gas/riscv/attribute-07.d: Likewise. | |
2404 | * configure.ac: Add configure options, --with-arch and | |
2405 | --with-isa-spec. | |
2406 | * configure: Regenerated. | |
2407 | * config.in: Regenerated. | |
2408 | * config/tc-riscv.c (default_priv_spec): Static variable which is | |
2409 | used to check if the CSR is valid for the chosen privilege spec. You | |
2410 | can use -mpriv-spec to set it. | |
2411 | (enum reg_class): We now get the CSR address from csr_extra_hash rather | |
2412 | than reg_names_hash. Therefore, move RCLASS_CSR behind RCLASS_MAX. | |
2413 | (riscv_init_csr_hashes): Only need to initialize one hash table | |
2414 | csr_extra_hash. | |
2415 | (riscv_csr_class_check): Change the return type to void. Don't check | |
2416 | the ISA dependency if -mcsr-check isn't set. | |
2417 | (riscv_csr_version_check): New function. Check and find the CSR address | |
2418 | from csr_extra_hash, according to default_priv_spec. Report warning | |
2419 | for the invalid CSR if -mcsr-check is set. | |
2420 | (reg_csr_lookup_internal): Updated. | |
2421 | (reg_lookup_internal): Likewise. | |
2422 | (md_begin): Updated since DECLARE_CSR and DECLARE_CSR_ALIAS are changed. | |
2423 | (enum options, struct option md_longopts): Add new GAS option -mpriv-spec. | |
2424 | (md_parse_option): Call riscv_set_default_priv_version to set | |
2425 | default_priv_spec. | |
2426 | (riscv_after_parse_args): If -mpriv-spec isn't set, then set the default | |
2427 | privilege spec to the newest one. | |
2428 | (enum riscv_csr_class, struct riscv_csr_extra): Move them to | |
2429 | include/opcode/riscv.h. | |
2430 | * testsuite/gas/riscv/priv-reg-fail-fext.d: This test case just want | |
2431 | to check the ISA dependency for CSR, so fix the spec version by adding | |
2432 | -mpriv-spec=1.11. | |
2433 | * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise. There are some | |
2434 | version warnings for the test case. | |
2435 | * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise. | |
2436 | * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise. | |
2437 | * gas/testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise. | |
2438 | * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise. | |
2439 | * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise. | |
2440 | * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.d: New test case. | |
2441 | Check whether the CSR is valid when privilege version 1.9 is choosed. | |
2442 | * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise. | |
2443 | * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: New test case. | |
2444 | Check whether the CSR is valid when privilege version 1.9.1 is choosed. | |
2445 | * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise. | |
2446 | * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.d: New test case. | |
2447 | Check whether the CSR is valid when privilege version 1.10 is choosed. | |
2448 | * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise. | |
2449 | * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.d: New test case. | |
2450 | Check whether the CSR is valid when privilege version 1.11 is choosed. | |
2451 | * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise. | |
2452 | * config/tc-riscv.c (DEFAULT_RISCV_ISA_SPEC): Default configure option | |
2453 | setting. You can set it by configure option --with-priv-spec. | |
2454 | (riscv_set_default_priv_spec): New function used to set the default | |
2455 | privilege spec. | |
2456 | (md_parse_option): Call riscv_set_default_priv_spec rather than | |
2457 | call riscv_get_priv_spec_class directly. | |
2458 | (riscv_after_parse_args): If -mpriv-spec isn't set, then we set the | |
2459 | default privilege spec according to DEFAULT_RISCV_PRIV_SPEC by | |
2460 | calling riscv_set_default_priv_spec. | |
2461 | * testsuite/gas/riscv/csr-dw-regnums.d: Add -mpriv-spec=1.11, since | |
2462 | the --with-priv-spec may be set to different privilege spec. | |
2463 | * testsuite/gas/riscv/priv-reg.d: Likewise. | |
2464 | * configure.ac: Add configure option --with-priv-spec. | |
2465 | * configure: Regenerated. | |
2466 | * config.in: Regenerated. | |
2467 | * config/tc-riscv.c (explicit_attr): Rename explicit_arch_attr to | |
2468 | explicit_attr. Set it to TRUE if any ELF attribute is found. | |
2469 | (riscv_set_default_priv_spec): Try to set the default_priv_spec if | |
2470 | the priv attributes are set. | |
2471 | (md_assemble): Set the default_priv_spec according to the priv | |
2472 | attributes when we start to assemble instruction. | |
2473 | (riscv_write_out_attrs): Rename riscv_write_out_arch_attr to | |
2474 | riscv_write_out_attrs. Update the arch and priv attributes. If we | |
2475 | don't set the corresponding ELF attributes, then try to output the | |
2476 | default ones. | |
2477 | (riscv_set_public_attributes): If any ELF attribute or -march-attr | |
2478 | options is set (explicit_attr is TRUE), then call riscv_write_out_attrs | |
2479 | to update the arch and priv attributes. | |
2480 | (s_riscv_attribute): Make sure all arch and priv attributes are set | |
2481 | before any instruction. | |
2482 | * testsuite/gas/riscv/attribute-01.d: Update the priv attributes if any | |
2483 | ELF attribute or -march-attr is set. If the priv attributes are not | |
2484 | set, then try to update them by the default setting (-mpriv-spec or | |
2485 | --with-priv-spec). | |
2486 | * testsuite/gas/riscv/attribute-02.d: Likewise. | |
2487 | * testsuite/gas/riscv/attribute-03.d: Likewise. | |
2488 | * testsuite/gas/riscv/attribute-04.d: Likewise. | |
2489 | * testsuite/gas/riscv/attribute-06.d: Likewise. | |
2490 | * testsuite/gas/riscv/attribute-07.d: Likewise. | |
2491 | * testsuite/gas/riscv/attribute-08.d: Likewise. | |
2492 | * testsuite/gas/riscv/attribute-09.d: Likewise. | |
2493 | * testsuite/gas/riscv/attribute-10.d: Likewise. | |
2494 | * testsuite/gas/riscv/attribute-unknown.d: Likewise. | |
2495 | * testsuite/gas/riscv/attribute-05.d: Likewise. Also, the priv spec | |
2496 | set by priv attributes must be supported. | |
2497 | * testsuite/gas/riscv/attribute-05.s: Likewise. | |
2498 | * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Likewise. Updated | |
2499 | priv attributes according to the -mpriv-spec option. | |
2500 | * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: Likewise. | |
2501 | * testsuite/gas/riscv/priv-reg-fail-version-1p10.d: Likewise. | |
2502 | * testsuite/gas/riscv/priv-reg-fail-version-1p11.d: Likewise. | |
2503 | * testsuite/gas/riscv/priv-reg.d: Removed. | |
2504 | * testsuite/gas/riscv/priv-reg-version-1p9.d: New test case. Dump the | |
2505 | CSR according to the priv spec 1.9. | |
2506 | * testsuite/gas/riscv/priv-reg-version-1p9p1.d: New test case. Dump the | |
2507 | CSR according to the priv spec 1.9.1. | |
2508 | * testsuite/gas/riscv/priv-reg-version-1p10.d: New test case. Dump the | |
2509 | CSR according to the priv spec 1.10. | |
2510 | * testsuite/gas/riscv/priv-reg-version-1p11.d: New test case. Dump the | |
2511 | CSR according to the priv spec 1.11. | |
2512 | * config/tc-riscv.c (md_show_usage): Add descriptions about | |
2513 | the new GAS options. | |
2514 | * doc/c-riscv.texi: Likewise. | |
2515 | ||
3d205eb4 PB |
2516 | 2020-05-19 Peter Bergner <bergner@linux.ibm.com> |
2517 | ||
2518 | * testsuite/gas/ppc/power9.s <dcbf, dcbfl, dcbflp>: Add tests. | |
2519 | * testsuite/gas/ppc/power9.d: Likewise. | |
2520 | * testsuite/gas/ppc/power10.s <dcbf, dcbfps, dcbstps, hwsync, lwsync, | |
2521 | pause_short, phwsync, plwsync, ptesync, stcisync, stncisync, stsync, | |
2522 | sync, wait, waitrsv>: Add tests. | |
2523 | * testsuite/gas/ppc/power10.d: Likewise. | |
2524 | ||
164446e0 AF |
2525 | 2020-05-19 Alexander Fedotov <alfedotov@gmail.com> |
2526 | ||
2527 | PR 25992 | |
2528 | * config/tc-arm.c : Add arm_ext_v8r feature. | |
2529 | (it_fsm_post_encode): Check arm_ext_v8r feature. | |
2530 | (get_aeabi_cpu_arch_from_fset): Check arm_ext_v8r feature. | |
2531 | ||
69f57659 AM |
2532 | 2020-05-19 Alan Modra <amodra@gmail.com> |
2533 | ||
2534 | * write.c (write_contents): Use bfd_get_filename rather than | |
2535 | accessing bfd->filename directly. Use bfd_section_name rather | |
2536 | than accessing section->name directly. | |
2537 | ||
0e1d094e AM |
2538 | 2020-05-19 Alan Modra <amodra@gmail.com> |
2539 | ||
2540 | * symbols.c (local_symbol_make): Init all of lsy_flags. | |
2541 | ||
d402189f AM |
2542 | 2020-05-18 Alan Modra <amodra@gmail.com> |
2543 | ||
2544 | * symbols.c (resolve_symbol_value): Invoke LOCAL_SYMBOL_CHECK | |
2545 | before looking at add_symbol->sy_flags. | |
2546 | ||
503648e4 | 2547 | 2020-05-18 Hongtao Liu <hongtao.liu@intel.com> |
2548 | ||
2549 | * config/tc-i386.c: Not handle lret/iret. | |
2550 | * testsuite/gas/i386/lfence-ret-a.d: Adjust testcase. | |
2551 | * testsuite/gas/i386/lfence-ret-b.d: Ditto. | |
2552 | * testsuite/gas/i386/lfence-ret-c.d: Ditto. | |
2553 | * testsuite/gas/i386/lfence-ret-d.d: Ditto. | |
2554 | * testsuite/gas/i386/lfence-ret.s: Ditto. | |
2555 | * testsuite/gas/i386/x86-64-lfence-ret-a.d: Ditto. | |
2556 | * testsuite/gas/i386/x86-64-lfence-ret-b.d: Ditto. | |
2557 | * testsuite/gas/i386/x86-64-lfence-ret-c.d: Ditto. | |
2558 | * testsuite/gas/i386/x86-64-lfence-ret-d.d: Ditto. | |
2559 | * testsuite/gas/i386/x86-64-lfence-ret-e.d: Ditto. | |
2560 | * testsuite/gas/i386/x86-64-lfence-ret.s: Ditto. | |
2561 | * testsuite/gas/i386/x86-64-lfence-ret.e: Deleted. | |
2562 | ||
2a50b401 AM |
2563 | 2020-05-15 Alan Modra <amodra@gmail.com> |
2564 | Alex Coplan <alex.coplan@arm.com> | |
2565 | ||
2566 | * symbols.c (struct local_symbol): Update comment. | |
2567 | (resolve_symbol_value): For resolved symbols equated to other | |
2568 | symbols, verify that the referenced symbol is not a local_symbol | |
2569 | before accessing sy_value. Don't leave symbol loops during | |
2570 | finalize_syms resolution. | |
2571 | * testsuite/gas/all/assign-bad-recursive.d: New test. | |
2572 | * testsuite/gas/all/assign-bad-recursive.l: Error output for test. | |
2573 | * testsuite/gas/all/assign-bad-recursive.s: Assembly for test. | |
2574 | * testsuite/gas/all/gas.exp: Run it. | |
2575 | ||
9d95b8e9 NC |
2576 | 2020-05-14 Nick Clifton <nickc@redhat.com> |
2577 | ||
2578 | * po/sv.po: Updated Swedish translation. | |
2579 | ||
3b646889 AM |
2580 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2581 | ||
2582 | * testsuite/gas/ppc/scalarquad.d, | |
2583 | * testsuite/gas/ppc/scalarquad.s: New test. | |
2584 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2585 | ||
9cc4ce88 AM |
2586 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2587 | ||
2588 | * testsuite/gas/ppc/rightmost.d, | |
2589 | * testsuite/gas/ppc/rightmost.s: New test. | |
2590 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2591 | ||
5d57bc3f AM |
2592 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2593 | ||
2594 | * testsuite/gas/ppc/xvtlsbb.d, | |
2595 | * testsuite/gas/ppc/xvtlsbb.s: New test. | |
2596 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2597 | ||
66ef5847 AM |
2598 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2599 | ||
2600 | * testsuite/gas/ppc/stringop.d, | |
2601 | * testsuite/gas/ppc/stringop.s: New test. | |
2602 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2603 | ||
4f3e9537 PB |
2604 | 2020-05-11 Peter Bergner <bergner@linux.ibm.com> |
2605 | ||
2606 | * testsuite/gas/ppc/set_bool.d, | |
2607 | * testsuite/gas/ppc/set_bool.s: New test. | |
2608 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2609 | ||
ec40e91c AM |
2610 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2611 | ||
2612 | * testsuite/gas/ppc/bitmanip.d, | |
2613 | * testsuite/gas/ppc/bitmanip.s: New test. | |
2614 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2615 | ||
d7e97a76 AM |
2616 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2617 | ||
2618 | * testsuite/gas/ppc/genpcv.d, | |
2619 | * testsuite/gas/ppc/genpcv.s: New test. | |
2620 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2621 | ||
fdefed7c AM |
2622 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2623 | ||
2624 | * testsuite/gas/ppc/maskmanip.d, | |
2625 | * testsuite/gas/ppc/maskmanip.s: New test. | |
2626 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2627 | ||
aa3c112f AM |
2628 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2629 | Peter Bergner <bergner@linux.ibm.com> | |
2630 | ||
2631 | * config/tc-ppc.c (pre_defined_registers): Add accumulators. | |
2632 | (md_assemble): Check acc specified in correct operand. | |
2633 | * testsuite/gas/ppc/outerprod.d, | |
2634 | * testsuite/gas/ppc/outerprod.s, | |
2635 | * testsuite/gas/ppc/vsx4.d, | |
2636 | * testsuite/gas/ppc/vsx4.s: New tests. | |
2637 | * testsuite/gas/ppc/ppc.exp: Run them. | |
2638 | ||
6edbfd3b AM |
2639 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2640 | ||
2641 | * testsuite/gas/ppc/simd_perm.d, | |
2642 | * testsuite/gas/ppc/simd_perm.s: New test. | |
2643 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2644 | ||
c7d7aea2 AM |
2645 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2646 | ||
2647 | * testsuite/gas/ppc/int128.d, | |
2648 | * testsuite/gas/ppc/int128.s: New test. | |
2649 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2650 | ||
94ba9882 AM |
2651 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2652 | ||
2653 | * testsuite/gas/ppc/vsx_32byte.d, | |
2654 | * testsuite/gas/ppc/vsx_32byte.s: New test. | |
2655 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2656 | ||
f4791f1a AM |
2657 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2658 | ||
2659 | * testsuite/gas/ppc/vec_mul.s, | |
2660 | * testsuite/gas/ppc/vec_mul.d: New test. | |
2661 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2662 | ||
3ff0a5ba PB |
2663 | 2020-05-11 Peter Bergner <bergner@linux.ibm.com> |
2664 | ||
2665 | * testsuite/gas/ppc/byte_rev.d, | |
2666 | * testsuite/gas/ppc/byte_rev.s: New test. | |
2667 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2668 | ||
afef4fe9 PB |
2669 | 2020-05-11 Peter Bergner <bergner@linux.ibm.com> |
2670 | ||
2671 | * testsuite/gas/ppc/power10.d: Add paste. tests. | |
2672 | * testsuite/gas/ppc/power10.s: Likewise. | |
2673 | ||
1224c05d PB |
2674 | 2020-05-11 Peter Bergner <bergner@linux.ibm.com> |
2675 | ||
2676 | * testsuite/gas/ppc/power10.s: New test. | |
2677 | * testsuite/gas/ppc/power10.d: Likewise. | |
2678 | * testsuite/gas/ppc/ppc.exp: Run it. | |
2679 | ||
7c1f4227 AM |
2680 | 2020-05-11 Alan Modra <amodra@gmail.com> |
2681 | ||
2682 | * config/tc-ppc.c (md_assemble): Update for PPC_OPCODE_POWER10 | |
2683 | renaming. | |
2684 | * testsuite/gas/ppc/prefix-align.d: Use -mpower10/-Mpower10 in | |
2685 | place of -mfuture/-Mfuture. | |
2686 | * testsuite/gas/ppc/prefix-pcrel.d: Likewise. | |
2687 | * testsuite/gas/ppc/prefix-reloc.d: Likewise. | |
2688 | ||
bfeaed38 NC |
2689 | 2020-05-06 Nick Clifton <nickc@redhat.com> |
2690 | ||
2691 | * po/sv.po: Updated Swedish translation. | |
2692 | ||
6ef719c0 NC |
2693 | 2020-05-06 Nick Clifton <nickc@redhat.com> |
2694 | ||
2695 | PR 25927 | |
2696 | * doc/as.texi (Preprocessing): Replace cross reference to not | |
2697 | existant document with a URL to the equivalent page in the GCC | |
2698 | manual. | |
2699 | ||
546cb2d8 NC |
2700 | 2020-05-05 Nick Clifton <nickc@redhat.com> |
2701 | ||
2702 | * dwarf2dbg.c (out_dir_and_file_list): Add comments describing the | |
2703 | construction of a DWARF-5 directory name table. | |
2704 | * testsuite/gas/elf/pr25917.d: Update expected output. | |
2705 | ||
7d0bd487 GN |
2706 | 2020-05-05 Gunther Nikl <gnikl@justmail.de> |
2707 | ||
2708 | * config/tc-rx.c (elf_flags): Initialize for non-linux targets. | |
2709 | (md_parse_option): Remove initialization of elf_flags. | |
070b775f | 2710 | |
fe05f369 ASDV |
2711 | 2020-05-04 Andre Vieira <andre.simoesdiasvieira@arm.com> |
2712 | ||
2713 | PR gas/25863 | |
2714 | * config/tc-arm.c (do_mve_vmull): Fix scalar and NEON parsing of vmul. | |
2715 | * testsuite/gas/arm/mve-scalar-vmult-it.d: New test. | |
2716 | * testsuite/gas/arm/mve-scalar-vmult-it.s: New test. | |
2717 | ||
4706679d NC |
2718 | 2020-05-04 Nick Clifton <nickc@redhat.com> |
2719 | ||
2720 | PR 25917 | |
2721 | * dwarf2dbg.c (out_dir_and_file_list): Check for the directory | |
2722 | table's existence before looking at its entries. | |
070b775f NC |
2723 | Also do not emit a default directory entry if there are no |
2724 | directories in use. | |
2725 | ||
4706679d NC |
2726 | * testsuite/gas/elf/pr25917.s: New test source file. |
2727 | * testsuite/gas/elf/pr25917.d: New test driver. | |
2728 | * testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test. | |
2729 | ||
09c1e68a AC |
2730 | 2020-04-30 Alex Coplan <alex.coplan@arm.com> |
2731 | ||
2732 | * config/tc-aarch64.c (fix_insn): Implement for | |
2733 | AARCH64_OPND_UNDEFINED. | |
2734 | (parse_operands): Implement for AARCH64_OPND_UNDEFINED. | |
2735 | * testsuite/gas/aarch64/udf.s: New. | |
2736 | * testsuite/gas/aarch64/udf.d: New. | |
2737 | * testsuite/gas/aarch64/udf-invalid.s: New. | |
2738 | * testsuite/gas/aarch64/udf-invalid.l: New. | |
2739 | * testsuite/gas/aarch64/udf-invalid.d: New. | |
2740 | ||
c578f16e YS |
2741 | 2020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp> |
2742 | ||
2743 | * config/tc-rx.c (elf_flags): Reset default value. | |
2744 | (md_parse_option): For rx-elf Initialize elf_flags with RX_ABI. | |
2745 | ||
935f1f4b MF |
2746 | 2020-04-29 Max Filippov <jcmvbkbc@gmail.com> |
2747 | ||
2748 | * config/tc-xtensa.c (XTENSA_MARCH_EARLIEST): Define macro as 0 | |
2749 | if it's not defined. | |
2750 | (microarch_earliest): New static variable. | |
2751 | (xg_translate_idioms): Translate "simcall" to "simcall 0" when | |
2752 | simcall opcode has mandatory parameter. | |
2753 | (xg_init_global_config): Initialize microarch_earliest. | |
2754 | ||
5c936ef5 NC |
2755 | 2020-04-29 Nick Clifton <nickc@redhat.com> |
2756 | ||
2757 | PR 22699 | |
2758 | * config/tc-sh.c (build_Mytes): Change operand type IMM0_8 to | |
2759 | IMM0_8S and add support for IMM0_8U. | |
2760 | * testsuite/gas/sh/sh4a.s: Add test of a logical insn using an | |
2761 | unsigned 8-bit immediate. | |
2762 | * testsuite/gas/sh/sh4a.d: Extended expected disassembly. | |
241e541d | 2763 | * testsuite/gas/sh/sh4al-dsp.d: Update expected disassembly. |
5c936ef5 | 2764 | |
251dae91 TC |
2765 | 2020-04-27 Tamar Christina <tamar.christina@arm.com> |
2766 | ||
2767 | * NEWS: Add news entry for big-obj. | |
2768 | * config/tc-i386.c (i386_target_format): Support new format. | |
2769 | * doc/c-i386.texi: Add i386 support. | |
2770 | * testsuite/gas/pe/big-obj.d: Rename test to not be x64 specific. | |
2771 | * testsuite/gas/pe/pe.exp (big-obj): Make test run on i386 as well. | |
2772 | ||
714e6c96 NC |
2773 | 2020-04-27 Nick Clifton <nickc@redhat.com> |
2774 | ||
2775 | PR 25878 | |
2776 | * dwarf2dbg.c (struct file_entry): Add auto_assigned field. | |
2777 | (assign_file_to_slot): New function. Fills in an entry in the | |
2778 | files table. | |
2779 | (allocate_filenum): Use new function. | |
2780 | (allocate_filename_to_slot): Use new function. If the specified | |
2781 | slot entry is already in use, but was chosen automatically then | |
2782 | reassign the automatic entry. | |
2783 | ||
a09f656b | 2784 | 2020-04-26 Hongtao Liu <hongtao.liu@intel.com |
2785 | ||
2786 | * config/tc-i386.c (lfence_before_ret_shl): New member. | |
2787 | (load_insn_p): implict load for POP/POPA/POPF/XLATB, no load | |
2788 | for Anysize insns. | |
2789 | (insert_after_load): Issue warning for REP CMPS/SCAS. | |
2790 | (insert_before_before): Handle iret, Handle | |
2791 | -mlfence-before-ret=shl, Adjust operand size of or/not/shl to ret's, | |
2792 | (md_parse_option): Change -mlfence-before-ret=[none|not|or] to | |
2793 | -mlfence-before-ret=[none/not/or/shl/yes]. | |
2794 | Enable -mlfence-before-ret=shl when | |
2795 | -mlfence-beofre-indirect-branch=all and no explict -mlfence-before-ret option. | |
2796 | (md_show_usage): Ditto. | |
2797 | * doc/c-i386.texi: Ditto. | |
2798 | * testsuite/gas/i386/i386.exp: Add new testcases. | |
2799 | * testsuite/gas/i386/lfence-load-b.d: New. | |
2800 | * testsuite/gas/i386/lfence-load-b.e: New. | |
2801 | * testsuite/gas/i386/lfence-load.d: Modified. | |
2802 | * testsuite/gas/i386/lfence-load.e: New. | |
2803 | * testsuite/gas/i386/lfence-load.s: Modified. | |
2804 | * testsuite/gas/i386/lfence-ret-a.d: Modified. | |
2805 | * testsuite/gas/i386/lfence-ret-b.d: Modified. | |
2806 | * testsuite/gas/i386/lfence-ret-c.d: New. | |
2807 | * testsuite/gas/i386/lfence-ret-d.d: New. | |
2808 | * testsuite/gas/i386/lfence-ret.s: Modified. | |
2809 | * testsuite/gas/i386/x86-64-lfence-load-b.d: New. | |
2810 | * testsuite/gas/i386/x86-64-lfence-load.d: Modified. | |
2811 | * testsuite/gas/i386/x86-64-lfence-load.s: Modified. | |
2812 | * testsuite/gas/i386/x86-64-lfence-ret-a.d: Modified. | |
2813 | * testsuite/gas/i386/x86-64-lfence-ret-b.d: Modified. | |
2814 | * testsuite/gas/i386/x86-64-lfence-ret-c.d: New. | |
2815 | * testsuite/gas/i386/x86-64-lfence-ret-d.d: New | |
2816 | * testsuite/gas/i386/x86-64-lfence-ret-e.d: New. | |
2817 | * testsuite/gas/i386/x86-64-lfence-ret.e: New. | |
2818 | * testsuite/gas/i386/x86-64-lfence-ret.s: New. | |
2819 | ||
30ce8e47 MF |
2820 | 2020-04-22 Max Filippov <jcmvbkbc@gmail.com> |
2821 | ||
2822 | PR ld/25861 | |
2823 | * config/tc-xtensa.c (md_apply_fix): Replace | |
2824 | BFD_RELOC_XTENSA_DIFF{8,16,32} generation with | |
2825 | BFD_RELOC_XTENSA_PDIFF{8,16,32} and | |
2826 | BFD_RELOC_XTENSA_NDIFF{8,16,32} generation. | |
2827 | * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16 | |
2828 | with BFD_RELOC_XTENSA_PDIFF16 in the expected output. | |
2829 | ||
31c89d60 AM |
2830 | 2020-04-22 Alan Modra <amodra@gmail.com> |
2831 | ||
2832 | * config/obj-elf.c (elf_frob_symbol): Unconditionally remove | |
2833 | symbol for ".symver .. remove". | |
2834 | * doc/as.texi (.symver): Update. | |
2835 | * testsuite/gas/symver/symver11.s: Make foo weak. | |
2836 | * testsuite/gas/symver/symver11.d: Expect an error. | |
2837 | * testsuite/gas/symver/symver7.d: Allow other random symbols. | |
2838 | ||
1d3eb556 L |
2839 | 2020-04-21 H.J. Lu <hongjiu.lu@intel.com> |
2840 | ||
2841 | * testsuite/gas/symver/symver11.s: Add ".balign 8". | |
2842 | ||
bb2a1453 AS |
2843 | 2020-04-21 Andreas Schwab <schwab@linux-m68k.org> |
2844 | ||
2845 | PR 25848 | |
2846 | * testsuite/gas/m68k/operands.s: Add tests for cmpi. | |
2847 | * testsuite/gas/m68k/operands.d: Update. | |
2848 | * testsuite/gas/m68k/op68000.d: Update for new error messages. | |
2849 | ||
c36876fe TC |
2850 | 2020-04-21 Tamar Christina <tamar.christina@arm.com> |
2851 | ||
2852 | PR binutils/24753 | |
2853 | * testsuite/gas/arm/pr24753.d: New test. | |
2854 | * testsuite/gas/arm/pr24753.s: New test. | |
2855 | ||
6914be53 L |
2856 | 2020-04-21 H.J. Lu <hongjiu.lu@intel.com> |
2857 | ||
2858 | PR gas/23840 | |
2859 | PR gas/25295 | |
2860 | * NEWS: Mention .symver extension. | |
2861 | * config/obj-elf.c (obj_elf_find_and_add_versioned_name): New | |
2862 | function. | |
2863 | (obj_elf_symver): Call obj_elf_find_and_add_versioned_name to | |
2864 | add a version name. Add local, hidden and remove visibility | |
2865 | support. | |
2866 | (elf_frob_symbol): Handle the list of version names. Update the | |
2867 | original symbol to local, hidden or remove it from the symbol | |
2868 | table. | |
2869 | (elf_frob_file_before_adjust): Handle the list of version names. | |
2870 | * config/obj-elf.h (elf_visibility): New. | |
2871 | (elf_versioned_name_list): Likewise. | |
2872 | (elf_obj_sy): Change local to bitfield. Add rename, bad_version | |
2873 | and visibility. Change versioned_name pointer to struct | |
2874 | elf_versioned_name_list. | |
2875 | * doc/as.texi: Update .symver directive. | |
2876 | * testsuite/gas/symver/symver.exp: Run all *.d tests. Add more | |
2877 | error checking tests. | |
2878 | * testsuite/gas/symver/symver6.d: New file. | |
2879 | * testsuite/gas/symver/symver7.d: Likewise. | |
2880 | * testsuite/gas/symver/symver7.s: Likewise. | |
2881 | * testsuite/gas/symver/symver8.d: Likewise. | |
2882 | * testsuite/gas/symver/symver8.s: Likewise. | |
2883 | * testsuite/gas/symver/symver9.s: Likewise. | |
2884 | * testsuite/gas/symver/symver9a.d: Likewise. | |
2885 | * testsuite/gas/symver/symver9b.d: Likewise. | |
2886 | * testsuite/gas/symver/symver10.s: Likewise. | |
2887 | * testsuite/gas/symver/symver10a.d: Likewise. | |
2888 | * testsuite/gas/symver/symver10b.d: Likewise. | |
2889 | * testsuite/gas/symver/symver11.d: Likewise. | |
2890 | * testsuite/gas/symver/symver11.s: Likewise. | |
2891 | * testsuite/gas/symver/symver12.d: Likewise. | |
2892 | * testsuite/gas/symver/symver12.s: Likewise. | |
2893 | * testsuite/gas/symver/symver13.d: Likewise. | |
2894 | * testsuite/gas/symver/symver13.s: Likewise. | |
2895 | * testsuite/gas/symver/symver14.d: Likewise. | |
2896 | * testsuite/gas/symver/symver14.l: Likewise. | |
2897 | * testsuite/gas/symver/symver15.d: Likewise. | |
2898 | * testsuite/gas/symver/symver15.l: Likewise. | |
2899 | * testsuite/gas/symver/symver6.l: Removed. | |
2900 | * testsuite/gas/symver/symver6.s: Updated. | |
2901 | ||
c2e5c986 SD |
2902 | 2020-04-20 Sudakshina Das <sudi.das@arm.com> |
2903 | ||
2904 | * config/tc-aarch64.c (parse_barrier_psb): Update error messages | |
2905 | to include TSB. | |
2906 | * testsuite/gas/aarch64/system-2.d: Update -march and new tsb tests. | |
2907 | * testsuite/gas/aarch64/system-2.s: Add new tsb tests. | |
2908 | * testsuite/gas/aarch64/system.d: Update. | |
2909 | ||
8a6e1d1d SD |
2910 | 2020-04-20 Sudakshina Das <sudi.das@arm.com> |
2911 | ||
2912 | * testsuite/gas/aarch64/bti.d: Update -march option. | |
2913 | * testsuite/gas/aarch64/illegal-bti.d: Remove. | |
2914 | * testsuite/gas/aarch64/illegal-bti.l: Remove. | |
2915 | * testsuite/gas/aarch64/illegal-ras-1.l: Remove esb. | |
2916 | * testsuite/gas/aarch64/illegal-ras-1.s: Remove esb. | |
2917 | ||
49af2f5c AM |
2918 | 2020-04-17 Alan Modra <amodra@gmail.com> |
2919 | ||
2920 | * config/tc-bfin.h (TC_EQUAL_IN_INSN): Allow assignment to dot. | |
2921 | ||
8e4979ac NC |
2922 | 2020-04-16 Gagan Singh Sidhu <broly@mac.com> |
2923 | Nick Clifton <nickc@redhat.com> | |
2924 | ||
2925 | PR 25803 | |
2926 | * config/obj-elf.c (obj_elf_type): Reject ifunc symbols on MIPS | |
2927 | targets. | |
2928 | * testsuite/gas/elf/elf.exp: Add MIPS targets to the list to skip | |
2929 | for the type-2 test. | |
2930 | * testsuite/gas/elf/type-noifunc.e: Update to allow for MIPS | |
2931 | targets running this test. | |
2932 | ||
c54a9b56 DF |
2933 | 2020-02-16 David Faust <david.faust@oracle.com> |
2934 | ||
2935 | * testsuite/gas/bpf/bpf.exp: Run jump32 tests. | |
2936 | * testsuite/gas/bpf/jump32.s: New file. | |
2937 | * testsuite/gas/bpf/jump32.d: Likewise. | |
2938 | ||
3071b197 L |
2939 | 2020-04-08 H.J. Lu <hongjiu.lu@intel.com> |
2940 | ||
2941 | * doc/c-i386.texi: Correct -mlfence-before-indirect-branch= | |
2942 | documentation. | |
2943 | ||
6a3ab923 GN |
2944 | 2020-04-08 Gunther Nikl <gnikl@justmail.de> |
2945 | ||
2946 | * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define. | |
2947 | (md_pcrel_from): Remove prototytpe. | |
d9f19885 GN |
2948 | * config/tc-m32c.h (MD_PCREL_FROM_SECTION): Delete duplicate |
2949 | define. | |
2950 | (md_pcrel_from_section): Remove duplicate prototype. | |
9ad4cfa8 GN |
2951 | * tc.h (md_pcrel_from_section): Add prototype. |
2952 | * config/tc-aarch64.h (md_pcrel_from_section): Remove prototype. | |
2953 | * config/tc-arc.h (md_pcrel_from_section): Likewise. | |
2954 | * config/tc-arm.h (md_pcrel_from_section): Likewise. | |
2955 | * config/tc-avr.h (md_pcrel_from_section): Likewise. | |
2956 | * config/tc-bfin.h (md_pcrel_from_section): Likewise. | |
2957 | * config/tc-bpf.h (md_pcrel_from_section): Likewise. | |
2958 | * config/tc-csky.h (md_pcrel_from_section): Likewise. | |
2959 | * config/tc-d10v.h (md_pcrel_from_section): Likewise. | |
2960 | * config/tc-d30v.h (md_pcrel_from_section): Likewise. | |
2961 | * config/tc-epiphany.h (md_pcrel_from_section): Likewise. | |
2962 | * config/tc-fr30.h (md_pcrel_from_section): Likewise. | |
2963 | * config/tc-frv.h (md_pcrel_from_section): Likewise. | |
2964 | * config/tc-iq2000.h (md_pcrel_from_section): Likewise. | |
2965 | * config/tc-lm32.h (md_pcrel_from_section): Likewise. | |
2966 | * config/tc-m32c.h (md_pcrel_from_section): Likewise. | |
2967 | * config/tc-m32r.h (md_pcrel_from_section): Likewise. | |
2968 | * config/tc-mcore.h (md_pcrel_from_section): Likewise. | |
2969 | * config/tc-mep.h (md_pcrel_from_section): Likewise. | |
2970 | * config/tc-metag.h (md_pcrel_from_section): Likewise. | |
2971 | * config/tc-microblaze.h (md_pcrel_from_section): Likewise. | |
2972 | * config/tc-mmix.h (md_pcrel_from_section): Likewise. | |
2973 | * config/tc-moxie.h (md_pcrel_from_section): Likewise. | |
2974 | * config/tc-msp430.h (md_pcrel_from_section): Likewise. | |
2975 | * config/tc-mt.h (md_pcrel_from_section): Likewise. | |
2976 | * config/tc-or1k.h (md_pcrel_from_section): Likewise. | |
2977 | * config/tc-ppc.h (md_pcrel_from_section): Likewise. | |
2978 | * config/tc-rl78.h (md_pcrel_from_section): Likewise. | |
2979 | * config/tc-rx.h (md_pcrel_from_section): Likewise. | |
2980 | * config/tc-s390.h (md_pcrel_from_section): Likewise. | |
2981 | * config/tc-sh.h (md_pcrel_from_section): Likewise. | |
2982 | * config/tc-xc16x.h (md_pcrel_from_section): Likewise. | |
2983 | * config/tc-xstormy16.h (md_pcrel_from_section): Likewise. | |
4c09b8c4 GN |
2984 | * config/tc-microblaze.h (md_begin, md_assemble, md_undefined_symbol, |
2985 | md_show_usage, md_convert_frag, md_operand, md_number_to_chars, | |
2986 | md_estimate_size_before_relax, md_section_align, tc_gen_reloc, | |
2987 | md_apply_fix3): Delete prototypes. | |
6a3ab923 | 2988 | |
6e0e8b45 L |
2989 | 2020-04-07 H.J. Lu <hongjiu.lu@intel.com> |
2990 | ||
2991 | * NEWS: Mention support for Intel SERIALIZE and TSXLDTRK | |
2992 | instructions. | |
2993 | ||
266803a2 L |
2994 | 2020-04-07 H.J. Lu <hongjiu.lu@intel.com> |
2995 | ||
2996 | * doc/c-z80.texi: Fix @xref warnings. | |
2997 | ||
bb651e8b CL |
2998 | 2020-04-07 Lili Cui <lili.cui@intel.com> |
2999 | ||
3000 | * config/tc-i386.c (cpu_arch): Add .TSXLDTRK. | |
3001 | (cpu_noarch): Likewise. | |
3002 | * doc/c-i386.texi: Document TSXLDTRK. | |
3003 | * testsuite/gas/i386/i386.exp: Run TSXLDTRK tests. | |
3004 | * testsuite/gas/i386/tsxldtrk.d: Likewise. | |
3005 | * testsuite/gas/i386/tsxldtrk.s: Likewise. | |
3006 | * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise. | |
3007 | ||
4b27d27c L |
3008 | 2020-04-02 Lili Cui <lili.cui@intel.com> |
3009 | ||
3010 | * config/tc-i386.c (cpu_arch): Add .serialize. | |
3011 | (cpu_noarch): Likewise. | |
3012 | * doc/c-i386.texi: Document serialize. | |
3013 | * testsuite/gas/i386/i386.exp: Run serialize tests | |
3014 | * testsuite/gas/i386/serialize.d: Likewise. | |
3015 | * testsuite/gas/i386/x86-64-serialize.d: Likewise. | |
3016 | * testsuite/gas/i386/serialize.s: Likewise. | |
3017 | ||
bb897477 RO |
3018 | 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3019 | ||
3020 | * testsuite/gas/elf/section12a.d: Use notarget instead of xfail. | |
3021 | * testsuite/gas/elf/section12b.d: Likewise. | |
3022 | * testsuite/gas/elf/section16a.d: Likewise. | |
3023 | * testsuite/gas/elf/section16b.d: Likewise. | |
3024 | ||
59e28a97 GN |
3025 | 2020-04-02 Gunther Nikl <gnikl@justmail.de> |
3026 | ||
3027 | * config/tc-m68k.c (m68k_ip): Fix range check for index register | |
3028 | with a suppressed address register. | |
3029 | ||
efc3a950 L |
3030 | 2020-04-01 H.J. Lu <hongjiu.lu@intel.com> |
3031 | ||
3032 | PR gas/25756 | |
3033 | * config/tc-i386.h (TC_FORCE_RELOCATION_ABS): New. | |
3034 | * testsuite/gas/i386/localpic.s: Add a test for relocation | |
3035 | against local absolute symbol. | |
3036 | * testsuite/gas/i386/x86-64-localpic.s: Likewise. | |
3037 | * testsuite/gas/i386/localpic.d: Updated. | |
3038 | * testsuite/gas/i386/x86-64-localpic.d: Likewise. | |
3039 | * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise. | |
3040 | ||
15d47c3a RO |
3041 | 2020-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3042 | ||
3043 | PR gas/25732 | |
3044 | * testsuite/gas/i386/solaris/x86-64-branch-2.d: New file. | |
3045 | * testsuite/gas/i386/solaris/x86-64-branch-3.d: New file. | |
3046 | * testsuite/gas/i386/solaris/x86-64-jump.d: Incorporate changes to | |
3047 | testsuite/gas/i386/x86-64-jump.d. | |
3048 | * gas/testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d: | |
3049 | Incorporate changes to | |
3050 | gas/testsuite/gas/i386/x86-64-mpx-branch-1.d. | |
3051 | * testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d : Incorporate | |
3052 | changes to testsuite/gas/i386/x86-64-mpx-branch-2.d. | |
3053 | * testsuite/gas/i386/x86-64-branch-2.d: Skip on *-*-solaris*. | |
3054 | * testsuite/gas/i386/x86-64-branch-3.d: Likewise. | |
3055 | ||
876678f0 MR |
3056 | 2020-03-31 Maciej W. Rozycki <macro@linux-mips.org> |
3057 | ||
3058 | PR 25611 | |
3059 | PR 25614 | |
3060 | * dwarf2dbg.c: Do not include "bignum.h". | |
3061 | ||
d1a89da5 NC |
3062 | 2020-03-30 Nelson Chu <nelson.chu@sifive.com> |
3063 | ||
3064 | * testsuite/gas/riscv/alias-csr.d: Move this to priv-reg-pseudo. | |
3065 | * testsuite/gas/riscv/alias-csr.s: Likewise. | |
3066 | * testsuite/gas/riscv/no-aliases-csr.d: Move this | |
3067 | to priv-reg-pseudo-noalias. | |
3068 | * testsuite/gas/riscv/bad-csr.d: Rename to priv-reg-fail-nonexistent. | |
3069 | * testsuite/gas/riscv/bad-csr.l: Likewise. | |
3070 | * testsuite/gas/riscv/bad-csr.s: Likewise. | |
3071 | * testsuite/gas/riscv/satp.d: Removed. Already included in priv-reg. | |
3072 | * testsuite/gas/riscv/satp.s: Likewise. | |
3073 | * testsuite/gas/riscv/priv-reg-pseudo.d: New testcase for all pseudo | |
3074 | csr instruction, including alias-csr testcase. | |
3075 | * testsuite/gas/riscv/priv-reg-pseudo.s: Likewise. | |
3076 | * testsuite/gas/riscv/priv-reg-pseudo-noalias.d: New testcase for all | |
3077 | pseudo instruction with objdump -Mno-aliases. | |
3078 | * testsuite/gas/riscv/priv-reg-fail-nonexistent.d: New testcase. | |
3079 | * testsuite/gas/riscv/priv-reg-fail-nonexistent.l: Likewise. | |
3080 | * testsuite/gas/riscv/priv-reg-fail-nonexistent.s: Likewise. | |
3081 | * testsuite/gas/riscv/priv-reg.d: Update CSR to 1.11. | |
3082 | * testsuite/gas/riscv/priv-reg.s: Likewise. | |
3083 | * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise. | |
3084 | * testsuite/gas/riscv/csr-dw-regnums.d: Likewise. | |
3085 | * testsuite/gas/riscv/csr-dw-regnums.s: Likewise. | |
3086 | ||
b7780957 J |
3087 | 2020-03-25 J.W. Jagersma <jwjagersma@gmail.com> |
3088 | ||
3089 | * config/obj-coff.c (obj_coff_section): Set the bss flag on | |
3090 | sections with the "b" attribute. | |
3091 | ||
d1023b5d AM |
3092 | 2020-03-22 Alan Modra <amodra@gmail.com> |
3093 | ||
3094 | * testsuite/gas/s12z/truncated.d: Update expected output. | |
3095 | ||
0d832e7f SB |
3096 | 2020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com> |
3097 | ||
3098 | PR 25690 | |
3099 | * config/tc-z80.c (md_pseudo_table): Add xdef anf xref pseudo ops. | |
3100 | * doc/c-z80.texi: Update documentation. | |
3101 | ||
327ef784 NC |
3102 | 2020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com> |
3103 | ||
3104 | PR 25641 | |
3105 | PR 25668 | |
3106 | PR 25633 | |
3107 | Fix disassembling ED+A4/AC/B4/BC opcodes. | |
3108 | Fix assembling lines containing colonless label and instruction | |
3109 | with first operand inside parentheses. | |
3110 | Fix registration of unsupported by target CPU registers. | |
3111 | * config/tc-z80.c: See above. | |
3112 | * config/tc-z80.h: See above. | |
3113 | * testsuite/gas/z80/colonless.d: Update test. | |
3114 | * testsuite/gas/z80/colonless.s: Likewise. | |
3115 | * testsuite/gas/z80/ez80_adl_all.d: Likewise. | |
3116 | * testsuite/gas/z80/ez80_unsup_regs.d: Likewise. | |
3117 | * testsuite/gas/z80/ez80_z80_all.d: Likewise. | |
3118 | * testsuite/gas/z80/gbz80_unsup_regs.d: Likewise. | |
3119 | * testsuite/gas/z80/r800_unsup_regs.d: Likewise. | |
3120 | * testsuite/gas/z80/unsup_regs.s: Likewise. | |
3121 | * testsuite/gas/z80/z180_unsup_regs.d: Likewise. | |
3122 | * testsuite/gas/z80/z80.exp: Likewise. | |
3123 | * testsuite/gas/z80/z80_strict_unsup_regs.d: Likewise. | |
3124 | * testsuite/gas/z80/z80_unsup_regs.d: Likewise. | |
3125 | * testsuite/gas/z80/z80n_unsup_regs.d: Likewise. | |
3126 | ||
66d1f7cc AV |
3127 | 2020-03-13 Andre Vieira <andre.simoesdiasvieira@arm.com> |
3128 | ||
3129 | PR 25660 | |
3130 | * config/tc-arm.c (operand_parse_code): Add OP_RNSDMQR and OP_oRNSDMQ. | |
3131 | (parse_operands): Handle new operand codes. | |
3132 | (do_neon_dyadic_long): Make shape check accept the scalar variants. | |
3133 | (asm_opcode_insns): Fix operand codes for vaddl and vsubl. | |
3134 | * testsuite/gas/arm/mve-vaddsub-it.s: New test. | |
3135 | * testsuite/gas/arm/mve-vaddsub-it.d: New test. | |
3136 | * testsuite/gas/arm/mve-vaddsub-it-bad.s: New test. | |
3137 | * testsuite/gas/arm/mve-vaddsub-it-bad.l: New test. | |
3138 | * testsuite/gas/arm/mve-vaddsub-it-bad.d: New test. | |
3139 | * testsuite/gas/arm/nomve-vaddsub-it.d: New test. | |
3140 | ||
9e8f1c90 L |
3141 | 2020-03-11 H.J. Lu <hongjiu.lu@intel.com> |
3142 | ||
3143 | * NEWS: Mention x86 assembler options for CVE-2020-0551. | |
3144 | ||
97b4a8f7 L |
3145 | 2020-03-11 H.J. Lu <hongjiu.lu@intel.com> |
3146 | ||
3147 | * testsuite/gas/i386/i386.exp: Run new tests. | |
3148 | * testsuite/gas/i386/lfence-byte.d: New file. | |
3149 | * testsuite/gas/i386/lfence-byte.e: Likewise. | |
3150 | * testsuite/gas/i386/lfence-byte.s: Likewise. | |
3151 | * testsuite/gas/i386/lfence-indbr-a.d: Likewise. | |
3152 | * testsuite/gas/i386/lfence-indbr-b.d: Likewise. | |
3153 | * testsuite/gas/i386/lfence-indbr-c.d: Likewise. | |
3154 | * testsuite/gas/i386/lfence-indbr.e: Likewise. | |
3155 | * testsuite/gas/i386/lfence-indbr.s: Likewise. | |
3156 | * testsuite/gas/i386/lfence-load.d: Likewise. | |
3157 | * testsuite/gas/i386/lfence-load.s: Likewise. | |
3158 | * testsuite/gas/i386/lfence-ret-a.d: Likewise. | |
3159 | * testsuite/gas/i386/lfence-ret-b.d: Likewise. | |
3160 | * testsuite/gas/i386/lfence-ret.s: Likewise. | |
3161 | * testsuite/gas/i386/x86-64-lfence-byte.d: Likewise. | |
3162 | * testsuite/gas/i386/x86-64-lfence-byte.e: Likewise. | |
3163 | * testsuite/gas/i386/x86-64-lfence-byte.s: Likewise. | |
3164 | * testsuite/gas/i386/x86-64-lfence-indbr-a.d: Likewise. | |
3165 | * testsuite/gas/i386/x86-64-lfence-indbr-b.d: Likewise. | |
3166 | * testsuite/gas/i386/x86-64-lfence-indbr-c.d: Likewise. | |
3167 | * testsuite/gas/i386/x86-64-lfence-indbr.e: Likewise. | |
3168 | * testsuite/gas/i386/x86-64-lfence-indbr.s: Likewise. | |
3169 | * testsuite/gas/i386/x86-64-lfence-load.d: Likewise. | |
3170 | * testsuite/gas/i386/x86-64-lfence-load.s: Likewise. | |
3171 | * testsuite/gas/i386/x86-64-lfence-ret-a.d: Likewise. | |
3172 | * testsuite/gas/i386/x86-64-lfence-ret-b.d: Likewise. | |
3173 | ||
ae531041 L |
3174 | 2020-03-11 H.J. Lu <hongjiu.lu@intel.com> |
3175 | ||
3176 | * config/tc-i386.c (lfence_after_load): New. | |
3177 | (lfence_before_indirect_branch_kind): New. | |
3178 | (lfence_before_indirect_branch): New. | |
3179 | (lfence_before_ret_kind): New. | |
3180 | (lfence_before_ret): New. | |
3181 | (last_insn): New. | |
3182 | (load_insn_p): New. | |
3183 | (insert_lfence_after): New. | |
3184 | (insert_lfence_before): New. | |
3185 | (md_assemble): Call insert_lfence_before and insert_lfence_after. | |
3186 | Set last_insn. | |
3187 | (OPTION_MLFENCE_AFTER_LOAD): New. | |
3188 | (OPTION_MLFENCE_BEFORE_INDIRECT_BRANCH): New. | |
3189 | (OPTION_MLFENCE_BEFORE_RET): New. | |
3190 | (md_longopts): Add -mlfence-after-load=, | |
3191 | -mlfence-before-indirect-branch= and -mlfence-before-ret=. | |
3192 | (md_parse_option): Handle -mlfence-after-load=, | |
3193 | -mlfence-before-indirect-branch= and -mlfence-before-ret=. | |
3194 | (md_show_usage): Display -mlfence-after-load=, | |
3195 | -mlfence-before-indirect-branch= and -mlfence-before-ret=. | |
3196 | (i386_cons_align): New. | |
3197 | * config/tc-i386.h (i386_cons_align): New. | |
3198 | (md_cons_align): New. | |
3199 | * doc/c-i386.texi: Document -mlfence-after-load=, | |
3200 | -mlfence-before-indirect-branch= and -mlfence-before-ret=. | |
3201 | ||
5496f3c6 NC |
3202 | 2020-03-11 Nick Clifton <nickc@redhat.com> |
3203 | ||
3204 | PR 25611 | |
3205 | PR 25614 | |
3206 | * dwarf2dbg.c (DWARF2_FILE_TIME_NAME): Default to -1. | |
3207 | (DWARF2_FILE_SIZE_NAME): Default to -1. | |
3208 | (DWARF2_LINE_VERSION): Default to the current dwarf level or 3, | |
3209 | whichever is higher. | |
3210 | (DWARF2_LINE_MAX_OPS_PER_INSN): Provide a default value of 1. | |
3211 | (NUM_MD5_BYTES): Define. | |
3212 | (struct file entry): Add md5 field. | |
3213 | (get_filenum): Delete and replace with... | |
3214 | (get_basename): New function. | |
3215 | (get_directory_table_entry): New function. | |
3216 | (allocate_filenum): New function. | |
3217 | (allocate_filename_to_slot): New function. | |
3218 | (dwarf2_where): Use new functions. | |
3219 | (dwarf2_directive_filename): Add support for extended .file | |
3220 | pseudo-op. | |
3221 | (dwarf2_directive_loc): Allow the use of file number zero with | |
3222 | DWARF 5 or higher. | |
3223 | (out_file_list): Rename to... | |
3224 | (out_dir_and_file_list): Add DWARF 5 support. | |
3225 | (out_debug_line): Emit extra values into the section header for | |
3226 | DWARF 5. | |
3227 | (out_debug_str): Allow for file 0 to be used with DWARF 5. | |
3228 | * doc/as.texi (.file): Update the description of this pseudo-op. | |
3229 | * testsuite/gas/elf-dwarf-5-file0.s: Add more lines. | |
3230 | * testsuite/gas/elf-dwarf-5-file0.d: Update expected dump output. | |
3231 | * testsuite/gas/lns/lns-diag-1.l: Update expected error message. | |
3232 | * NEWS: Mention the new feature. | |
3233 | ||
a6a1f5e0 AM |
3234 | 2020-03-10 Alan Modra <amodra@gmail.com> |
3235 | ||
3236 | * config/tc-csky.c (get_operand_value): Rewrite 1 << 31 expressions | |
3237 | to avoid signed overflow. | |
3238 | * config/tc-mcore.c (md_assemble): Likewise. | |
3239 | * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Likewise. | |
3240 | * config/tc-nds32.c (SET_ADDEND): Likewise. | |
3241 | * config/tc-nios2.c (nios2_assemble_arg_R): Likewise. | |
3242 | ||
3fabc179 JB |
3243 | 2020-03-09 Jan Beulich <jbeulich@suse.com> |
3244 | ||
3245 | * testsuite/gas/i386/avx.s: Add long-form VCMP[PS][SD] pseudos. | |
3246 | * testsuite/gas/i386/avx.d, testsuite/gas/i386/avx-16bit.d, | |
3247 | testsuite/gas/i386/avx-intel.d: Adjust expectations. | |
3248 | ||
190e5fc8 AM |
3249 | 2020-03-07 Alan Modra <amodra@gmail.com> |
3250 | ||
3251 | * testsuite/gas/elf/dwarf-5-file0.s: Don't start directives in | |
3252 | first column. | |
3253 | ||
84d9ab33 NC |
3254 | 2020-03-06 Nick Clifton <nickc@redhat.com> |
3255 | ||
3256 | PR 25614 | |
3257 | * dwarf2dbg.c (dwarf2_directive_filename): Allow a file number of | |
3258 | 0 if the dwarf_level is 5 or more. Complain if a filename follows | |
3259 | a file 0. | |
3260 | * testsuite/gas/elf/dwarf-5-file0.s: New test. | |
3261 | * testsuite/gas/elf/dwarf-5-file0.d: New test driver. | |
3262 | * testsuite/gas/elf/elf.exp: Run the new test. | |
3263 | ||
3264 | PR 25612 | |
3265 | * config/tc-ia64.h (DWARF2_VERISION): Fix typo. | |
3266 | * doc/as.texi: Fix another typo. | |
3267 | ||
31bf1864 NC |
3268 | 2020-03-06 Nick Clifton <nickc@redhat.com> |
3269 | ||
3270 | PR 25612 | |
3271 | * as.c (dwarf_level): Define. | |
3272 | (show_usage): Add --gdwarf-3, --gdwarf-4 and --gdwarf-5. | |
3273 | (parse_args): Add support for the new options. | |
3274 | as.h (dwarf_level): Prototype. | |
3275 | * dwarf2dbg.c (DWARF2_VERSION): Use dwarf_level as default version | |
3276 | value. | |
3277 | * config/tc-ia64.h (DWARF2_VERISION): Update definition. | |
3278 | (DWARF2_LINE_VERSION): Remove definition. | |
3279 | * doc/as.texi: Document the new options. | |
3280 | ||
3c968de5 NC |
3281 | 2020-03-06 Nick Clifton <nickc@redhat.com> |
3282 | ||
3283 | PR 25572 | |
3284 | * as.c (main): Allow matching input and outputs when they are | |
3285 | not regular files. | |
3286 | ||
bc49bfd8 JB |
3287 | 2020-03-06 Jan Beulich <jbeulich@suse.com> |
3288 | ||
3289 | * config/tc-i386.c (match_mem_size): Generalize broadcast special | |
3290 | casing. | |
3291 | (check_VecOperands): Zap xmmword/ymmword/zmmword when more than | |
3292 | one of byte/word/dword/qword is set alongside a SIMD register in | |
3293 | a template's operand. | |
3294 | ||
4873e243 JB |
3295 | 2020-03-06 Jan Beulich <jbeulich@suse.com> |
3296 | ||
3297 | * config/tc-i386.c (match_template): Extend code in logic | |
3298 | rejecting certain suffixes in certain modes to also cover mask | |
3299 | register use and VecSIB. Drop special casing of broadcast. Skip | |
3300 | immediates in the check. | |
3301 | ||
e365e234 JB |
3302 | 2020-03-06 Jan Beulich <jbeulich@suse.com> |
3303 | ||
3304 | * config/tc-i386.c (match_template): Fold duplicate code in | |
3305 | logic rejecting certain suffixes in certain modes. Drop | |
3306 | pointless "else". | |
3307 | ||
4ed21b58 JB |
3308 | 2020-03-06 Jan Beulich <jbeulich@suse.com> |
3309 | ||
3310 | * config/tc-i386.c (process_suffix): Exlucde !vexw insns | |
3311 | alongside !norex64 ones. | |
3312 | * testsuite/gas/i386/x86-64-avx512bw.s: Test VPEXTR* and VPINSR* | |
3313 | with both 32- and 64-bit GPR operands. | |
3314 | * testsuite/gas/i386/x86-64-avx512f.s: Test VEXTRACTPS with both | |
3315 | 32- and 64-bit GPR operands. | |
3316 | * testsuite/gas/i386/x86-64-avx512bw-intel.d, | |
3317 | testsuite/gas/i386/x86-64-avx512bw.d, | |
3318 | testsuite/gas/i386/x86-64-avx512f-intel.d, | |
3319 | testsuite/gas/i386/x86-64-avx512f.d: Adjust expectations. | |
3320 | ||
643bb870 JB |
3321 | 2020-03-06 Jan Beulich <jbeulich@suse.com> |
3322 | ||
3323 | * config/tc-i386.c (md_assemble): Drop use of rex64. | |
3324 | (process_suffix): For REX.W for 64-bit CRC32. | |
3325 | ||
a23b33b3 JB |
3326 | 2020-03-06 Jan Beulich <jbeulich@suse.com> |
3327 | ||
3328 | * config/tc-i386.c (i386_addressing_mode): For 32-bit | |
3329 | addressing for MPX insns without base/index. | |
3330 | * testsuite/gas/i386/mpx-16bit.s, | |
3331 | * testsuite/gas/i386/mpx-16bit.d: New. | |
3332 | * testsuite/gas/i386/i386.exp: Run new test. | |
3333 | ||
a0497384 JB |
3334 | 2020-03-06 Jan Beulich <jbeulich@suse.com> |
3335 | ||
3336 | * testsuite/gas/i386/adx.s, testsuite/gas/i386/cet.s, | |
3337 | testsuite/gas/i386/ept.s, testsuite/gas/i386/fsgs.s, | |
3338 | testsuite/gas/i386/invpcid.s, testsuite/gas/i386/movdir.s, | |
3339 | testsuite/gas/i386/ptwrite.s, testsuite/gas/i386/vmx.s, | |
3340 | * testsuite/gas/i386/code16.s: Add CR, DR, and TR access cases | |
3341 | as well as a BSWAP one. | |
3342 | * testsuite/gas/i386/rdpid.s: Add 16-bit case. | |
3343 | * testsuite/gas/i386/sse2-16bit.s: Cover more insns. | |
3344 | * testsuite/gas/i386/adx-intel.d, testsuite/gas/i386/adx.d, | |
3345 | testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d, | |
3346 | testsuite/gas/i386/code16.d, testsuite/gas/i386/ept-intel.d, | |
3347 | testsuite/gas/i386/ept.d, testsuite/gas/i386/fsgs-intel.d, | |
3348 | testsuite/gas/i386/fsgs.d, testsuite/gas/i386/invpcid-intel.d, | |
3349 | testsuite/gas/i386/invpcid.d, testsuite/gas/i386/movdir-intel.d, | |
3350 | testsuite/gas/i386/movdir.d, testsuite/gas/i386/ptwrite-intel.d, | |
3351 | testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/rdpid-intel.d, | |
3352 | testsuite/gas/i386/rdpid.d, testsuite/gas/i386/sse2-16bit.d, | |
3353 | testsuite/gas/i386/vmx.d: Adjust expectations. | |
3354 | ||
b630c145 JB |
3355 | 2020-03-06 Jan Beulich <jbeulich@suse.com> |
3356 | ||
3357 | * config/tc-i386.c (md_assemble): Also exclude tpause and umwait | |
3358 | from having their operands swapped. | |
3359 | * testsuite/gas/i386/waitpkg.s, | |
3360 | testsuite/gas/i386/x86-64-waitpkg.s: Add tpause and umwait | |
3361 | 3-operand cases as well as testing of 16-bit code generation. | |
3362 | * testsuite/gas/i386/waitpkg.d, | |
3363 | testsuite/gas/i386/waitpkg-intel.d, | |
3364 | testsuite/gas/i386/x86-64-waitpkg.d, | |
3365 | testsuite/gas/i386/x86-64-waitpkg-intel.d: Adjust expectations. | |
3366 | ||
de48783e NC |
3367 | 2020-03-04 Nelson Chu <nelson.chu@sifive.com> |
3368 | ||
dee35d02 NC |
3369 | * config/tc-riscv.c (percent_op_utype): Support the modifier |
3370 | %got_pcrel_hi. | |
3371 | * doc/c-riscv.texi: Add documentation. | |
3372 | * testsuite/gas/riscv/no-relax-reloc.d: Add test case for the new | |
3373 | modifier %got_pcrel_hi. | |
3374 | * testsuite/gas/riscv/no-relax-reloc.s: Likewise. | |
3375 | * testsuite/gas/riscv/relax-reloc.d: Likewise. | |
3376 | * testsuite/gas/riscv/relax-reloc.s: Likewise. | |
3377 | ||
de48783e NC |
3378 | * doc/c-riscv.texi (relocation modifiers): Add documentation. |
3379 | (RISC-V-Formats): Update the section name from "Instruction Formats" | |
3380 | to "RISC-V Instruction Formats". | |
3381 | ||
749479c8 AO |
3382 | 2020-03-04 Alexandre Oliva <oliva@adacore.com> |
3383 | ||
3384 | * config/tc-arm.c (md_apply_fix): Warn if a PC-relative load is | |
3385 | detected in a section which does not have at least 4 byte | |
3386 | alignment. | |
3387 | * testsuite/gas/arm/armv8-ar-it-bad.s: Add alignment directive. | |
3388 | * testsuite/gas/arm/ldr-t.s: Likewise. | |
3389 | * testsuite/gas/arm/sp-pc-usage-t.s: Likewise. | |
3390 | * testsuite/gas/arm/sp-pc-usage-t.d: Finish test at end of | |
3391 | disassembly, ignoring any NOPs that may have been inserted because | |
3392 | of section alignment. | |
3393 | * testsuite/gas/arm/ldr-t.d: Likewise. | |
3394 | ||
a847e322 JB |
3395 | 2020-03-04 Jan Beulich <jbeulich@suse.com> |
3396 | ||
3397 | * config/tc-i386.c (cpu_arch): Add .sev_es entry. | |
3398 | * doc/c-i386.texi: Mention sev_es. | |
3399 | * testsuite/gas/i386/arch-13.s: Add SEV-ES case. | |
3400 | * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust | |
3401 | expectations. | |
3402 | * testsuite/gas/i386/arch-13-znver1.d, | |
3403 | testsuite/gas/i386/arch-13-znver2.d: Extend -march=. | |
3404 | ||
3cd7f3e3 L |
3405 | 2020-03-03 H.J. Lu <hongjiu.lu@intel.com> |
3406 | ||
3407 | * config/tc-i386.c (match_template): Replace ignoresize and | |
3408 | defaultsize with mnemonicsize. | |
3409 | (process_suffix): Likewise. | |
3410 | ||
b8ba1385 SB |
3411 | 2020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com> |
3412 | ||
3413 | PR 25627 | |
3414 | * config/tc-z80.c (emit_ld_rr_m): Fix invalid compilation of | |
3415 | instruction LD IY,(HL). | |
3416 | * testsuite/gas/z80/ez80_adl_all.d: Update expected disassembly. | |
3417 | * testsuite/gas/z80/ez80_adl_all.s: Add tests of the instruction. | |
3418 | * testsuite/gas/z80/ez80_z80_all.d: Update expected disassembly. | |
3419 | * testsuite/gas/z80/ez80_z80_all.s: Add tests of the instruction. | |
3420 | ||
10d97a0f L |
3421 | 2020-03-03 H.J. Lu <hongjiu.lu@intel.com> |
3422 | ||
3423 | PR gas/25622 | |
3424 | * testsuite/gas/i386/i386.exp: Run x86-64-default-suffix and | |
3425 | x86-64-default-suffix-avx. | |
3426 | * testsuite/gas/i386/noreg64.s: Remove cvtsi2sd, cvtsi2ss, | |
3427 | vcvtsi2sd, vcvtsi2ss, vcvtusi2sd and vcvtusi2ss entries. | |
3428 | * testsuite/gas/i386/noreg64.d: Updated. | |
3429 | * testsuite/gas/i386/noreg64.l: Likewise. | |
3430 | * testsuite/gas/i386/x86-64-default-suffix-avx.d: New file. | |
3431 | * testsuite/gas/i386/x86-64-default-suffix.d: Likewise. | |
3432 | * testsuite/gas/i386/x86-64-default-suffix.s: Likewise. | |
3433 | ||
8326546e SB |
3434 | 2020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com> |
3435 | ||
3436 | PR 25604 | |
3437 | * config/tc-z80.c (contains_register): Prevent an illegal memory | |
3438 | access when checking an expression for a register name. | |
3439 | ||
e3e896e6 AM |
3440 | 2020-03-03 Alan Modra <amodra@gmail.com> |
3441 | ||
3442 | * config/obj-coff.h: Remove vestiges of coff-m68k and pe-mips | |
3443 | support. | |
3444 | ||
a4dd6c97 AM |
3445 | 2020-03-02 Alan Modra <amodra@gmail.com> |
3446 | ||
3447 | * config/tc-m32r.c (md_begin): Set SEC_SMALL_DATA on .scommon section. | |
3448 | * config/tc-mips.c (s_change_sec): Set SEC_SMALL_DATA for .sdata | |
3449 | and .sbss sections. | |
3450 | * config/tc-score.c: Delete !BFD_ASSEMBLER code throughout. | |
3451 | (s3_s_change_sec): Set SEC_SMALL_DATA for .sbss section. | |
3452 | (s3_s_score_lcomm): Likewise. | |
3453 | * config/tc-score7.c: Similarly. | |
3454 | * read.c (bss_alloc): Set SEC_SMALL_DATA for .sbss section. | |
3455 | ||
dec7b24b YS |
3456 | 2020-02-28 YunQiang Su <syq@debian.org> |
3457 | ||
3458 | PR gas/25539 | |
3459 | * config/tc-mips.c (fix_loongson3_llsc): Compare label value | |
3460 | to handle multi-labels. | |
3461 | (has_label_name): New. | |
3462 | ||
cceb53b8 MM |
3463 | 2020-02-26 Matthew Malcomson <matthew.malcomson@arm.com> |
3464 | ||
3465 | * config/tc-arm.c (enum pred_instruction_type): Remove | |
3466 | NEUTRAL_IT_NO_VPT_INSN predication type. | |
3467 | (cxn_handle_predication): Modify to require condition suffixes. | |
3468 | (handle_pred_state): Remove NEUTRAL_IT_NO_VPT_INSN cases. | |
3469 | * testsuite/gas/arm/cde-scalar.s: Update test. | |
3470 | * testsuite/gas/arm/cde-warnings.l: Update test. | |
3471 | * testsuite/gas/arm/cde-warnings.s: Update test. | |
3472 | ||
da3ec71f AM |
3473 | 2020-02-26 Alan Modra <amodra@gmail.com> |
3474 | ||
3475 | * config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use | |
3476 | N_() on empty string. | |
3477 | ||
42135cad AM |
3478 | 2020-02-26 Alan Modra <amodra@gmail.com> |
3479 | ||
3480 | * read.c (read_a_source_file): Call strncpy with length one | |
3481 | less than size of original_case_string. | |
3482 | ||
dc1e8a47 AM |
3483 | 2020-02-26 Alan Modra <amodra@gmail.com> |
3484 | ||
3485 | * config/obj-elf.c: Indent labels correctly. | |
3486 | * config/obj-macho.c: Likewise. | |
3487 | * config/tc-aarch64.c: Likewise. | |
3488 | * config/tc-alpha.c: Likewise. | |
3489 | * config/tc-arm.c: Likewise. | |
3490 | * config/tc-cr16.c: Likewise. | |
3491 | * config/tc-crx.c: Likewise. | |
3492 | * config/tc-frv.c: Likewise. | |
3493 | * config/tc-i386-intel.c: Likewise. | |
3494 | * config/tc-i386.c: Likewise. | |
3495 | * config/tc-ia64.c: Likewise. | |
3496 | * config/tc-mn10200.c: Likewise. | |
3497 | * config/tc-mn10300.c: Likewise. | |
3498 | * config/tc-nds32.c: Likewise. | |
3499 | * config/tc-riscv.c: Likewise. | |
3500 | * config/tc-s12z.c: Likewise. | |
3501 | * config/tc-xtensa.c: Likewise. | |
3502 | * config/tc-z80.c: Likewise. | |
3503 | * read.c: Likewise. | |
3504 | * symbols.c: Likewise. | |
3505 | * write.c: Likewise. | |
3506 | ||
bd0cf5a6 NC |
3507 | 2020-02-20 Nelson Chu <nelson.chu@sifive.com> |
3508 | ||
54b2aec1 NC |
3509 | * config/tc-riscv.c (riscv_ip): New boolean insn_with_csr to indicate |
3510 | we are assembling instruction with CSR. Call riscv_csr_read_only_check | |
3511 | after parsing all arguments. | |
3512 | (enum csr_insn_type): New enum is used to classify the CSR instruction. | |
3513 | (riscv_csr_insn_type, riscv_csr_read_only_check): New functions. These | |
3514 | are used to check if we write a read-only CSR by the CSR instruction. | |
3515 | * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: New testcase. Test | |
3516 | all CSR for the read-only CSR checking. | |
3517 | * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise. | |
3518 | * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise. | |
3519 | * testsuite/gas/riscv/priv-reg-fail-read-only-02.s: New testcase. Test | |
3520 | all CSR instructions for the read-only CSR checking. | |
3521 | * testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise. | |
3522 | * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise. | |
3523 | ||
2ca89224 NC |
3524 | * config/tc-riscv.c (struct riscv_set_options): New field csr_check. |
3525 | (riscv_opts): Initialize it. | |
3526 | (reg_lookup_internal): Check the `riscv_opts.csr_check` | |
3527 | before doing the CSR checking. | |
3528 | (enum options): Add OPTION_CSR_CHECK and OPTION_NO_CSR_CHECK. | |
3529 | (md_longopts): Add mcsr-check and mno-csr-check. | |
3530 | (md_parse_option): Handle new enum option values. | |
3531 | (s_riscv_option): Handle new long options. | |
3532 | * doc/c-riscv.texi: Add description for the new .option and assembler | |
3533 | options. | |
3534 | * testsuite/gas/riscv/priv-reg-fail-fext.d: Add `-mcsr-check` to enable | |
3535 | the CSR checking. | |
3536 | * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise. | |
3537 | ||
bd0cf5a6 NC |
3538 | * config/tc-riscv.c (csr_extra_hash): New. |
3539 | (enum riscv_csr_class): New enum. Used to decide | |
3540 | whether or not this CSR is legal in the current ISA string. | |
3541 | (struct riscv_csr_extra): New structure to hold all extra information | |
3542 | of CSR. | |
3543 | (riscv_init_csr_hashes): New. According to the DECLARE_CSR and | |
3544 | DECLARE_CSR_ALIAS, insert CSR extra information into csr_extra_hash. | |
3545 | Call hash_reg_name to insert CSR address into reg_names_hash. | |
3546 | (reg_csr_lookup_internal, riscv_csr_class_check): New functions. | |
3547 | Decide whether the CSR is valid according to the csr_extra_hash. | |
3548 | (reg_lookup_internal): Call reg_csr_lookup_internal for CSRs. | |
3549 | (init_opcode_hash): Update 'if (hash_error != NULL)' as hash_error is | |
3550 | not a boolean. This is same as riscv_init_csr_hash, so keep the | |
3551 | consistent usage. | |
3552 | (md_begin): Call riscv_init_csr_hashes for each DECLARE_CSR. | |
3553 | * testsuite/gas/riscv/csr-dw-regnums.d: Add -march=rv32if option. | |
3554 | * testsuite/gas/riscv/priv-reg.d: Add f-ext by -march option. | |
3555 | * testsuite/gas/riscv/priv-reg-fail-fext.d: New testcase. The source | |
3556 | file is `priv-reg.s`, and the ISA is rv32i without f-ext, so the | |
3557 | f-ext CSR are not allowed. | |
3558 | * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise. | |
3559 | * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: New testcase. The | |
3560 | source file is `priv-reg.s`, and the ISA is rv64if, so the | |
3561 | rv32-only CSR are not allowed. | |
3562 | * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise. | |
3563 | ||
10a95fcc AM |
3564 | 2020-02-21 Alan Modra <amodra@gmail.com> |
3565 | ||
3566 | * config/tc-pdp11.c (md_apply_fix): Handle BFD_RELOC_32. | |
3567 | (tc_gen_reloc): Only give a BAD_CASE assertion on pcrel relocs. | |
3568 | ||
dda2980f AM |
3569 | 2020-02-21 Alan Modra <amodra@gmail.com> |
3570 | ||
3571 | PR 25569 | |
3572 | * config/obj-aout.c (obj_aout_frob_file_before_fix): Don't loop | |
3573 | on section size adjustment, instead perform another write if | |
3574 | exec header size is larger than section size. | |
3575 | ||
bd3380bc NC |
3576 | 2020-02-19 Nelson Chu <nelson.chu@sifive.com> |
3577 | ||
3578 | * doc/c-riscv.texi: Add the doc entries for -march-attr/ | |
3579 | -mno-arch-attr command line options. | |
3580 | ||
fa164239 JW |
3581 | 2020-02-19 Nelson Chu <nelson.chu@sifive.com> |
3582 | ||
3583 | * testsuite/gas/riscv/c-add-addi.d: New testcase. | |
3584 | * testsuite/gas/riscv/c-add-addi.s: Likewise. | |
3585 | ||
fcaaac0a SB |
3586 | 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com> |
3587 | ||
3588 | PR 25576 | |
3589 | * config/tc-z80.c (md_parse_option): Do not use an underscore | |
3590 | prefix for local labels in SDCC compatability mode. | |
3591 | (z80_start_line_hook): Remove SDCC dollar label support. | |
3592 | * testsuite/gas/z80/sdcc.d: Update expected disassembly. | |
3593 | * testsuite/gas/z80/sdcc.s: Likewise. | |
3594 | ||
3595 | 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com> | |
3596 | ||
3597 | PR 25517 | |
3598 | * config/tc-z80.c: Add -march option. | |
3599 | * doc/as.texi: Update Z80 documentation. | |
3600 | * doc/c-z80.texi: Likewise. | |
3601 | * testsuite/gas/z80/ez80_adl_all.d: Update command line. | |
3602 | * testsuite/gas/z80/ez80_adl_suf.d: Likewise. | |
3603 | * testsuite/gas/z80/ez80_pref_dis.d: Likewise. | |
3604 | * testsuite/gas/z80/ez80_z80_all.d: Likewise. | |
3605 | * testsuite/gas/z80/ez80_z80_suf.d: Likewise. | |
3606 | * testsuite/gas/z80/gbz80_all.d: Likewise. | |
3607 | * testsuite/gas/z80/r800_extra.d: Likewise. | |
3608 | * testsuite/gas/z80/r800_ii8.d: Likewise. | |
3609 | * testsuite/gas/z80/r800_z80_doc.d: Likewise. | |
3610 | * testsuite/gas/z80/sdcc.d: Likewise. | |
3611 | * testsuite/gas/z80/z180.d: Likewise. | |
3612 | * testsuite/gas/z80/z180_z80_doc.d: Likewise. | |
3613 | * testsuite/gas/z80/z80_doc.d: Likewise. | |
3614 | * testsuite/gas/z80/z80_ii8.d: Likewise. | |
3615 | * testsuite/gas/z80/z80_in_f_c.d: Likewise. | |
3616 | * testsuite/gas/z80/z80_op_ii_ld.d: Likewise. | |
3617 | * testsuite/gas/z80/z80_out_c_0.d: Likewise. | |
3618 | * testsuite/gas/z80/z80_sli.d: Likewise. | |
3619 | * testsuite/gas/z80/z80n_all.d: Likewise. | |
3620 | * testsuite/gas/z80/z80n_reloc.d: Likewise. | |
3621 | ||
a7e12755 L |
3622 | 2020-02-19 H.J. Lu <hongjiu.lu@intel.com> |
3623 | ||
3624 | * config/tc-i386.c (output_insn): Mark cvtpi2ps and cvtpi2pd | |
3625 | with GNU_PROPERTY_X86_FEATURE_2_MMX. | |
3626 | * testsuite/gas/i386/i386.exp: Run property-3 and | |
3627 | x86-64-property-3. | |
3628 | * testsuite/gas/i386/property-3.d: New file. | |
3629 | * testsuite/gas/i386/property-3.s: Likewise. | |
3630 | * testsuite/gas/i386/x86-64-property-3.d: Likewise. | |
3631 | ||
272a84b1 L |
3632 | 2020-02-17 H.J. Lu <hongjiu.lu@intel.com> |
3633 | ||
3634 | * config/tc-i386.c (cpu_arch): Add .popcnt. | |
3635 | * doc/c-i386.texi: Remove abm and .abm. Add popcnt and .popcnt. | |
3636 | Add a tab before @samp{.sse4a}. | |
3637 | ||
c8f8eebc JB |
3638 | 2020-02-17 Jan Beulich <jbeulich@suse.com> |
3639 | ||
3640 | * config/tc-i386.c (process_suffix): Don't try to guess a suffix | |
3641 | for AddrPrefixOpReg templates. Combine the two pieces of | |
3642 | addrprefixopreg handling. Reject 16-bit address reg in 64-bit | |
3643 | mode. | |
3644 | ||
eedb0f2c JB |
3645 | 2020-02-17 Jan Beulich <jbeulich@suse.com> |
3646 | ||
3647 | PR gas/14439 | |
3648 | * config/tc-i386.c (md_assemble): Also suppress operand | |
3649 | swapping for MONITOR{,X} and MWAIT{,X}. | |
3650 | * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s: | |
3651 | Add Intel syntax monitor/mwait tests. | |
3652 | * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d: | |
3653 | Adjust expectations. | |
3654 | *testsuite/gas/i386/sse3-intel.d, | |
3655 | testsuite/gas/i386/x86-64-sse3-intel.d: New. | |
3656 | * testsuite/gas/i386/i386.exp: Run new tests. | |
3657 | ||
b9915cbc JB |
3658 | 2020-02-17 Jan Beulich <jbeulich@suse.com> |
3659 | ||
3660 | PR gas/6518 | |
3661 | * config/tc-i386.c (process_suffix): Re-work Intel-syntax | |
3662 | [XYZ]MMWord memory operand ambiguity recognition logic (largely | |
3663 | re-indentation). | |
3664 | * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps | |
3665 | cases. | |
3666 | * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16. | |
3667 | * testsuite/gas/i386/avx512dq-inval.l, | |
3668 | testsuite/gas/i386/inval-avx.l, | |
3669 | testsuite/gas/i386/inval-avx512f.l: Adjust expectations. | |
3670 | * testsuite/gas/i386/avx512vl-ambig.s, | |
3671 | testsuite/gas/i386/avx512vl-ambig.l: New. | |
3672 | * testsuite/gas/i386/i386.exp: Run new test. | |
3673 | ||
af5c13b0 L |
3674 | 2020-02-16 H.J. Lu <hongjiu.lu@intel.com> |
3675 | ||
3676 | * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore | |
3677 | nosse4. | |
3678 | * doc/c-i386.texi: Document sse4a and nosse4a. | |
3679 | ||
07d98387 L |
3680 | 2020-02-14 H.J. Lu <hongjiu.lu@intel.com> |
3681 | ||
3682 | * doc/c-i386.texi: Remove the old movsx and movzx documentation | |
3683 | for AT&T syntax. | |
3684 | ||
65fca059 JB |
3685 | 2020-02-14 Jan Beulich <jbeulich@suse.com> |
3686 | ||
3687 | PR gas/25438 | |
3688 | * config/tc-i386.c (md_assemble): Move movsx/movzx special | |
3689 | casing ... | |
3690 | (process_suffix): ... here. Consider just the first operand | |
3691 | initially. | |
3692 | (check_long_reg): Drop opcode 0x63 special case again. | |
3693 | * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s, | |
3694 | testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s: | |
3695 | Move ambiguous operand size tests ... | |
3696 | * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s, | |
3697 | testsuite/gas/i386/noreg64.s: ... here. | |
3698 | * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d | |
3699 | testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d, | |
3700 | testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d, | |
3701 | testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l, | |
3702 | testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d, | |
3703 | testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d, | |
3704 | testsuite/gas/i386/x86-64-movsxd.d, | |
3705 | testsuite/gas/i386/x86-64-movsxd-intel.d, | |
3706 | testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d: | |
3707 | Adjust expectations. | |
3708 | * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l, | |
3709 | testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l, | |
3710 | testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New. | |
3711 | * testsuite/gas/i386/i386.exp: Run new tests. | |
3712 | ||
b6773884 JB |
3713 | 2020-02-14 Jan Beulich <jbeulich@suse.com> |
3714 | ||
3715 | * config/tc-i386.c (process_operands): Also skip segment | |
3716 | override prefix emission if it matches an already present one. | |
3717 | * testsuite/gas/i386/prefix32.s: Add double segment override | |
3718 | cases. | |
3719 | * testsuite/gas/i386/prefix32.l: Adjust expectations. | |
3720 | ||
92334ad2 JB |
3721 | 2020-02-14 Jan Beulich <jbeulich@suse.com> |
3722 | ||
3723 | * config/tc-i386.c (process_operands): Drop ineffectual segment | |
3724 | overrides when optimizing. | |
3725 | * testsuite/gas/i386/lea-optimize.d: New. | |
3726 | * testsuite/gas/i386/i386.exp: Run new test. | |
3727 | ||
3728 | 2020-02-14 Jan Beulich <jbeulich@suse.com> | |
514a8bb0 JB |
3729 | |
3730 | * config/tc-i386.c (process_operands): Also check insn prefix | |
3731 | for ineffectual segment override warning. Don't cover possible | |
3732 | VEX/EVEX encoded insns there. | |
3733 | * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d, | |
3734 | testsuite/gas/i386/lea.e: New. | |
3735 | * testsuite/gas/i386/i386.exp: Run new test. | |
3736 | ||
0e6724de L |
3737 | 2020-02-14 H.J. Lu <hongjiu.lu@intel.com> |
3738 | ||
3739 | PR gas/25438 | |
3740 | * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T | |
3741 | syntax. | |
3742 | ||
292676c1 L |
3743 | 2020-02-13 Fangrui Song <maskray@google.com> |
3744 | H.J. Lu <hongjiu.lu@intel.com> | |
3745 | ||
3746 | PR gas/25551 | |
3747 | * config/tc-i386.c (tc_i386_fix_adjustable): Don't check | |
3748 | BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32. | |
3749 | * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4. | |
3750 | * testsuite/gas/i386/relax-5.d: New file. | |
3751 | * testsuite/gas/i386/relax-5.s: Likewise. | |
3752 | * testsuite/gas/i386/x86-64-relax-4.d: Likewise. | |
3753 | * testsuite/gas/i386/x86-64-relax-4.s: Likewise. | |
3754 | ||
7deea9aa JB |
3755 | 2020-02-13 Jan Beulich <jbeulich@suse.com> |
3756 | ||
3757 | * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in | |
3758 | "nosse4" entry. | |
3759 | ||
6c0946d0 JB |
3760 | 2020-02-12 Jan Beulich <jbeulich@suse.com> |
3761 | ||
3762 | * config/tc-i386.c (avx512): New (at file scope), moved from | |
3763 | (check_VecOperands): ... here. | |
3764 | (process_suffix): Add [XYZ]MMword operand size handling. | |
3765 | * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests. | |
3766 | * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS | |
3767 | tests. | |
3768 | * testsuite/gas/i386/avx512dq-inval.l, | |
3769 | testsuite/gas/i386/noavx512-2.l: Adjust expectations. | |
3770 | ||
5990e377 JB |
3771 | 2020-02-12 Jan Beulich <jbeulich@suse.com> |
3772 | ||
3773 | PR gas/24546 | |
3774 | * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit | |
3775 | code only. | |
3776 | * config/tc-i386-intel.c (i386_intel_operand): Also handle | |
3777 | CALL/JMP in O_tbyte_ptr case. | |
3778 | * doc/c-i386.texi: Mention far call and full pointer load ISA | |
3779 | differences. | |
3780 | * testsuite/gas/i386/x86-64-branch-3.s, | |
3781 | testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases. | |
3782 | * testsuite/gas/i386/x86-64-branch-3.d, | |
3783 | testsuite/gas/i386/x86-64-intel64.d: Adjust expectations. | |
3784 | * testsuite/gas/i386/x86-64-branch-5.l, | |
3785 | testsuite/gas/i386/x86-64-branch-5.s: New. | |
3786 | * testsuite/gas/i386/i386.exp: Run new test. | |
3787 | ||
9706160a JB |
3788 | 2020-02-12 Jan Beulich <jbeulich@suse.com> |
3789 | ||
3790 | PR gas/25438 | |
3791 | * config/tc-i386.c (REGISTER_WARNINGS): Delete. | |
3792 | (check_byte_reg): Skip only source operand of CRC32. Drop Non- | |
3793 | 64-bit-only warning. | |
3794 | (check_word_reg): Consistently error on mismatching register | |
3795 | size and suffix. | |
3796 | * testsuite/gas/i386/general.s: Replace dword GPR with word one | |
3797 | for movw. Replace suffix / GPR for orb. | |
3798 | * testsuite/gas/i386/inval.s: Add tests for movw with dword and | |
3799 | byte GPRs as well as ones for inb/outb with a word accumulator. | |
3800 | * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l, | |
3801 | testsuite/gas/i386/inval.l: Adjust expectations. | |
3802 | ||
5de4d9ef JB |
3803 | 2020-02-12 Jan Beulich <jbeulich@suse.com> |
3804 | ||
3805 | * config/tc-i386.c (operand_type_register_match): Also fall | |
3806 | through initial two if()-s when the template allows for a GPR | |
3807 | operand. Adjust comment. | |
3808 | ||
50128d0c JB |
3809 | 2020-02-11 Jan Beulich <jbeulich@suse.com> |
3810 | ||
3811 | (struct _i386_insn): New field "short_form". | |
3812 | (optimize_encoding): Drop setting of shortform field. | |
3813 | (process_suffix): Set i.short_form. Replace shortform use. | |
3814 | (process_operands): Replace shortform use. | |
3815 | ||
1ed818b4 MM |
3816 | 2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com> |
3817 | ||
3818 | * config/tc-arm.c (vcx_handle_register_arguments): Remove `for` | |
3819 | loop initial declaration. | |
3820 | ||
5aae9ae9 MM |
3821 | 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com> |
3822 | ||
3823 | * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for | |
3824 | instructions that can have 5 arguments. | |
3825 | (enum operand_parse_code): Add new operands. | |
3826 | (parse_operands): Account for new operands. | |
3827 | (S5): New macro. | |
3828 | (enum neon_shape_el): Introduce P suffixes for coprocessor. | |
3829 | (neon_select_shape): Account for P suffix. | |
3830 | (LOW1): Move macro to global position. | |
3831 | (HI4): Move macro to global position. | |
3832 | (vcx_assign_vec_d): New. | |
3833 | (vcx_assign_vec_m): New. | |
3834 | (vcx_assign_vec_n): New. | |
3835 | (enum vcx_reg_type): New. | |
3836 | (vcx_get_reg_type): New. | |
3837 | (vcx_size_pos): New. | |
3838 | (vcx_vec_pos): New. | |
3839 | (vcx_handle_shape): New. | |
3840 | (vcx_ensure_register_in_range): New. | |
3841 | (vcx_handle_register_arguments): New. | |
3842 | (vcx_handle_insn_block): New. | |
3843 | (vcx_handle_common_checks): New. | |
3844 | (do_vcx1): New. | |
3845 | (do_vcx2): New. | |
3846 | (do_vcx3): New. | |
3847 | * testsuite/gas/arm/cde-missing-fp.d: New test. | |
3848 | * testsuite/gas/arm/cde-missing-fp.l: New test. | |
3849 | * testsuite/gas/arm/cde-missing-mve.d: New test. | |
3850 | * testsuite/gas/arm/cde-missing-mve.l: New test. | |
3851 | * testsuite/gas/arm/cde-mve-or-neon.d: New test. | |
3852 | * testsuite/gas/arm/cde-mve-or-neon.s: New test. | |
3853 | * testsuite/gas/arm/cde-mve.s: New test. | |
3854 | * testsuite/gas/arm/cde-warnings.l: | |
3855 | * testsuite/gas/arm/cde-warnings.s: | |
3856 | * testsuite/gas/arm/cde.d: | |
3857 | * testsuite/gas/arm/cde.s: | |
3858 | ||
4934a27c MM |
3859 | 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com> |
3860 | Matthew Malcomson <matthew.malcomson@arm.com> | |
3861 | ||
3862 | * config/tc-arm.c (arm_ext_cde*): New feature sets for each | |
3863 | CDE coprocessor that can be enabled. | |
3864 | (enum pred_instruction_type): New pred type. | |
3865 | (BAD_NO_VPT): New error message. | |
3866 | (BAD_CDE): New error message. | |
3867 | (BAD_CDE_COPROC): New error message. | |
3868 | (enum operand_parse_code): Add new immediate operands. | |
3869 | (parse_operands): Account for new immediate operands. | |
3870 | (check_cde_operand): New. | |
3871 | (cde_coproc_enabled): New. | |
3872 | (cde_coproc_pos): New. | |
3873 | (cde_handle_coproc): New. | |
3874 | (cxn_handle_predication): New. | |
3875 | (do_custom_instruction_1): New. | |
3876 | (do_custom_instruction_2): New. | |
3877 | (do_custom_instruction_3): New. | |
3878 | (do_cx1): New. | |
3879 | (do_cx1a): New. | |
3880 | (do_cx1d): New. | |
3881 | (do_cx1da): New. | |
3882 | (do_cx2): New. | |
3883 | (do_cx2a): New. | |
3884 | (do_cx2d): New. | |
3885 | (do_cx2da): New. | |
3886 | (do_cx3): New. | |
3887 | (do_cx3a): New. | |
3888 | (do_cx3d): New. | |
3889 | (do_cx3da): New. | |
3890 | (handle_pred_state): Define new IT block behaviour. | |
3891 | (insns): Add newn CX*{,d}{,a} instructions. | |
3892 | (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table): | |
3893 | Define new cdecp extension strings. | |
3894 | * doc/c-arm.texi: Document new cdecp extension arguments. | |
3895 | * testsuite/gas/arm/cde-scalar.d: New test. | |
3896 | * testsuite/gas/arm/cde-scalar.s: New test. | |
3897 | * testsuite/gas/arm/cde-warnings.d: New test. | |
3898 | * testsuite/gas/arm/cde-warnings.l: New test. | |
3899 | * testsuite/gas/arm/cde-warnings.s: New test. | |
3900 | * testsuite/gas/arm/cde.d: New test. | |
3901 | * testsuite/gas/arm/cde.s: New test. | |
3902 | ||
4b5aaf5f L |
3903 | 2020-02-10 H.J. Lu <hongjiu.lu@intel.com> |
3904 | ||
3905 | PR gas/25516 | |
3906 | * config/tc-i386.c (intel64): Renamed to ... | |
3907 | (isa64): This. | |
3908 | (match_template): Accept Intel64 only instruction by default. | |
3909 | (i386_displacement): Updated. | |
3910 | (md_parse_option): Updated. | |
3911 | * c-i386.texi: Update -mamd64/-mintel64 documentation. | |
3912 | * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass | |
3913 | -mamd64 to x86-64-sysenter-amd. | |
3914 | * testsuite/gas/i386/x86-64-sysenter.d: New file. | |
3915 | ||
33176d91 AM |
3916 | 2020-02-10 Alan Modra <amodra@gmail.com> |
3917 | ||
3918 | * config/obj-elf.c (obj_elf_change_section): Error for section | |
3919 | type, attr or entsize changes in assembly. | |
3920 | * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test. | |
3921 | * testsuite/gas/elf/section5.l: Update. | |
3922 | ||
82194874 AM |
3923 | 2020-02-10 Alan Modra <amodra@gmail.com> |
3924 | ||
3925 | * output-file.c (output_file_close): Do a normal close when | |
3926 | flag_always_generate_output. | |
3927 | * write.c (write_object_file): Don't stop output when | |
3928 | flag_always_generate_output. | |
3929 | ||
9fc0b501 SB |
3930 | 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com> |
3931 | ||
3932 | PR 25469 | |
3933 | * config/tc-z80.c: Add -gbz80 command line option to generate code | |
3934 | for the GameBoy Z80. Add support for generating DWARF. | |
3935 | * config/tc-z80.h: Add support for DWARF debug information | |
3936 | generation. | |
3937 | * doc/c-z80.texi: Document new command line option. | |
3938 | * testsuite/gas/z80/gbz80_all.d: New file. | |
3939 | * testsuite/gas/z80/gbz80_all.s: New file. | |
3940 | * testsuite/gas/z80/z80.exp: Run the new tests. | |
3941 | * testsuite/gas/z80/z80n_all.d: New file. | |
3942 | * testsuite/gas/z80/z80n_all.s: New file. | |
3943 | * testsuite/gas/z80/z80n_reloc.d: New file. | |
3944 | ||
b7d07216 L |
3945 | 2020-02-06 H.J. Lu <hongjiu.lu@intel.com> |
3946 | ||
3947 | PR gas/25381 | |
3948 | * config/obj-elf.c (get_section): Also check | |
3949 | linked_to_symbol_name. | |
3950 | (obj_elf_change_section): Also set map_head.linked_to_symbol_name. | |
3951 | (obj_elf_parse_section_letters): Handle the 'o' flag. | |
3952 | (build_group_lists): Renamed to ... | |
3953 | (build_additional_section_info): This. Set elf_linked_to_section | |
3954 | from map_head.linked_to_symbol_name. | |
3955 | (elf_adjust_symtab): Updated. | |
3956 | * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name. | |
3957 | * doc/as.texi: Document the 'o' flag. | |
3958 | * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests. | |
3959 | * testsuite/gas/elf/section18.d: New file. | |
3960 | * testsuite/gas/elf/section18.s: Likewise. | |
3961 | * testsuite/gas/elf/section19.d: Likewise. | |
3962 | * testsuite/gas/elf/section19.s: Likewise. | |
3963 | * testsuite/gas/elf/section20.d: Likewise. | |
3964 | * testsuite/gas/elf/section20.s: Likewise. | |
3965 | * testsuite/gas/elf/section21.d: Likewise. | |
3966 | * testsuite/gas/elf/section21.l: Likewise. | |
3967 | * testsuite/gas/elf/section21.s: Likewise. | |
3968 | ||
5eb617a7 L |
3969 | 2020-02-06 H.J. Lu <hongjiu.lu@intel.com> |
3970 | ||
3971 | * NEWS: Mention x86 assembler options to align branches for | |
3972 | binutils 2.34. | |
3973 | ||
986ac314 L |
3974 | 2020-02-06 H.J. Lu <hongjiu.lu@intel.com> |
3975 | ||
3976 | * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique | |
3977 | only for ELF targets. | |
3978 | * testsuite/gas/i386/unique.d: Don't xfail. | |
3979 | * testsuite/gas/i386/x86-64-unique.d: Likewise. | |
3980 | ||
19234a6d AM |
3981 | 2020-02-06 Alan Modra <amodra@gmail.com> |
3982 | ||
3983 | * testsuite/gas/i386/unique.d: xfail for non-elf targets. | |
3984 | * testsuite/gas/i386/x86-64-unique.d: Likewise. | |
3985 | ||
02e0be69 AM |
3986 | 2020-02-06 Alan Modra <amodra@gmail.com> |
3987 | ||
3988 | * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in | |
3989 | xfail, and rename test. | |
3990 | * testsuite/gas/elf/section12b.d: Likewise. | |
3991 | * testsuite/gas/elf/section16a.d: Likewise. | |
3992 | * testsuite/gas/elf/section16b.d: Likewise. | |
3993 | ||
a8c4d40b L |
3994 | 2020-02-02 H.J. Lu <hongjiu.lu@intel.com> |
3995 | ||
3996 | PR gas/25380 | |
3997 | * config/obj-elf.c (section_match): Removed. | |
3998 | (get_section): Also match SEC_ASSEMBLER_SECTION_ID and | |
3999 | section_id. | |
4000 | (obj_elf_change_section): Replace info and group_name arguments | |
4001 | with match_p. Also update the section ID and flags from match_p. | |
4002 | (obj_elf_section): Handle "unique,N". Update call to | |
4003 | obj_elf_change_section. | |
4004 | * config/obj-elf.h (elf_section_match): New. | |
4005 | (obj_elf_change_section): Updated. | |
4006 | * config/tc-arm.c (start_unwind_section): Update call to | |
4007 | obj_elf_change_section. | |
4008 | * config/tc-ia64.c (obj_elf_vms_common): Likewise. | |
4009 | * config/tc-microblaze.c (microblaze_s_data): Likewise. | |
4010 | (microblaze_s_sdata): Likewise. | |
4011 | (microblaze_s_rdata): Likewise. | |
4012 | (microblaze_s_bss): Likewise. | |
4013 | * config/tc-mips.c (s_change_section): Likewise. | |
4014 | * config/tc-msp430.c (msp430_profiler): Likewise. | |
4015 | * config/tc-rx.c (parse_rx_section): Likewise. | |
4016 | * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise. | |
4017 | * doc/as.texi: Document "unique,N" in .section directive. | |
4018 | * testsuite/gas/elf/elf.exp: Run "unique,N" tests. | |
4019 | * testsuite/gas/elf/section15.d: New file. | |
4020 | * testsuite/gas/elf/section15.s: Likewise. | |
4021 | * testsuite/gas/elf/section16.s: Likewise. | |
4022 | * testsuite/gas/elf/section16a.d: Likewise. | |
4023 | * testsuite/gas/elf/section16b.d: Likewise. | |
4024 | * testsuite/gas/elf/section17.d: Likewise. | |
4025 | * testsuite/gas/elf/section17.l: Likewise. | |
4026 | * testsuite/gas/elf/section17.s: Likewise. | |
4027 | * testsuite/gas/i386/unique.d: Likewise. | |
4028 | * testsuite/gas/i386/unique.s: Likewise. | |
4029 | * testsuite/gas/i386/x86-64-unique.d: Likewise. | |
4030 | * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique. | |
4031 | ||
575d37ae L |
4032 | 2020-02-02 H.J. Lu <hongjiu.lu@intel.com> |
4033 | ||
4034 | * testsuite/gas/elf/section13.s: Replace @nobits with %nobits. | |
4035 | ||
2384096c G |
4036 | 2020-02-01 Anthony Green <green@moxielogic.com> |
4037 | ||
4038 | * config/tc-moxie.c (md_begin): Don't force big-endian mode. | |
4039 | ||
95441c43 SL |
4040 | 2020-01-31 Sandra Loosemore <sandra@codesourcery.com> |
4041 | ||
4042 | * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as | |
4043 | %tls_ldo. | |
4044 | ||
d465d695 AV |
4045 | 2020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com> |
4046 | ||
4047 | PR gas/25472 | |
4048 | * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding. | |
4049 | (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for | |
4050 | +mve. | |
4051 | * testsuite/gas/arm/mve_dsp.d: New test. | |
4052 | ||
d26cc8a9 NC |
4053 | 2020-01-31 Nick Clifton <nickc@redhat.com> |
4054 | ||
4055 | * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE | |
4056 | rather than BFD_RELOC_NONE. | |
4057 | ||
90e9955a SP |
4058 | 2020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com> |
4059 | ||
4060 | * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" | |
4061 | to support VLDMIA instruction for MVE. | |
4062 | (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB | |
4063 | instruction for MVE. | |
4064 | (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA | |
4065 | instruction for MVE. | |
4066 | (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB | |
4067 | instruction for MVE. | |
4068 | * testsuite/gas/arm/mve-ldst.d: New test. | |
4069 | * testsuite/gas/arm/mve-ldst.s: Likewise. | |
4070 | ||
53943f32 NC |
4071 | 2020-01-31 Nick Clifton <nickc@redhat.com> |
4072 | ||
4073 | * po/fr.po: Updated French translation. | |
4074 | * po/ru.po: Updated Russian translation. | |
4075 | ||
c3036ed0 RS |
4076 | 2020-01-31 Richard Sandiford <richard.sandiford@arm.com> |
4077 | ||
4078 | * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than | |
4079 | .s for the movprfx. | |
4080 | * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly. | |
4081 | * testsuite/gas/aarch64/sve-movprfx_28.d, | |
4082 | * testsuite/gas/aarch64/sve-movprfx_28.l, | |
4083 | * testsuite/gas/aarch64/sve-movprfx_28.s: New test. | |
4084 | ||
2ae4c703 JB |
4085 | 2020-01-30 Jan Beulich <jbeulich@suse.com> |
4086 | ||
4087 | * config/tc-i386.c (output_disp): Tighten base_opcode check. | |
4088 | * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases. | |
4089 | * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d: | |
4090 | Adjust expectations. | |
4091 | ||
bd434cc4 JM |
4092 | 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com> |
4093 | ||
4094 | * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'. | |
4095 | * testsuite/gas/bpf/alu-be.d: Likewise. | |
4096 | * testsuite/gas/bpf/alu32.d: Likewise for `neg32'. | |
4097 | * testsuite/gas/bpf/alu32-be.d: Likewise. | |
4098 | ||
aeab2b26 JB |
4099 | 2020-01-30 Jan Beulich <jbeulich@suse.com> |
4100 | ||
4101 | * testsuite/gas/i386/x86-64-branch-2.s, | |
4102 | testsuite/gas/i386/x86-64-branch-4.s, | |
4103 | testsuite/gas/i386/x86-64-branch.s: Add RETW cases. | |
4104 | * testsuite/gas/i386/ilp32/x86-64-branch.d, | |
4105 | testsuite/gas/i386/x86-64-branch-2.d, | |
4106 | testsuite/gas/i386/x86-64-branch-4.l, | |
4107 | testsuite/gas/i386/x86-64-branch.d: Adjust expectations. | |
4108 | ||
873494c8 JB |
4109 | 2020-01-30 Jan Beulich <jbeulich@suse.com> |
4110 | ||
4111 | * config/tc-i386.c (process_suffix): . | |
4112 | testsuite/gas/i386/noreg64.s: Add IRET and LRET cases. | |
4113 | testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET. | |
4114 | Add LRETQ case. | |
4115 | testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without | |
4116 | suffix. | |
4117 | testsuite/gas/i386/x86_64.s: Add RETF cases. | |
4118 | * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d, | |
4119 | testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l, | |
4120 | testsuite/gas/i386/x86-64-opcode.d, | |
4121 | testsuite/gas/i386/x86-64-suffix-intel.d, | |
4122 | testsuite/gas/i386/x86-64-suffix.d, | |
4123 | testsuite/gas/i386/x86_64-intel.d | |
4124 | testsuite/gas/i386/x86_64.d: Adjust expectations. | |
4125 | * testsuite/gas/i386/x86-64-suffix.e, | |
4126 | testsuite/gas/i386/x86_64.e: New. | |
4127 | ||
62b3f548 JB |
4128 | 2020-01-30 Jan Beulich <jbeulich@suse.com> |
4129 | ||
4130 | * config/tc-i386.c (process_suffix): Redo and move FLDENV et al | |
4131 | special case. | |
4132 | ||
bc31405e L |
4133 | 2020-01-27 H.J. Lu <hongjiu.lu@intel.com> |
4134 | ||
4135 | PR binutils/25445 | |
4136 | * config/tc-i386.c (check_long_reg): Also convert to QWORD for | |
4137 | movsxd. | |
4138 | * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA | |
4139 | differences. Document movslq and movsxd. | |
4140 | * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests. | |
4141 | * testsuite/gas/i386/x86-64-movsxd-intel.d: New file. | |
4142 | * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise. | |
4143 | * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise. | |
4144 | * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise. | |
4145 | * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise. | |
4146 | * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise. | |
4147 | * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise. | |
4148 | * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise. | |
4149 | * testsuite/gas/i386/x86-64-movsxd.d: Likewise. | |
4150 | * testsuite/gas/i386/x86-64-movsxd.s: Likewise. | |
4151 | ||
e3696f67 AM |
4152 | 2020-01-27 Alan Modra <amodra@gmail.com> |
4153 | ||
4154 | * testsuite/gas/all/gas.exp: Replace case statements with switch | |
4155 | statements. | |
4156 | * testsuite/gas/elf/elf.exp: Likewise. | |
4157 | * testsuite/gas/macros/macros.exp: Likewise. | |
4158 | * testsuite/lib/gas-defs.exp: Likewise. | |
4159 | ||
7568c93b TC |
4160 | 2020-01-27 Tamar Christina <tamar.christina@arm.com> |
4161 | ||
4162 | PR 25403 | |
4163 | * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv. | |
4164 | * testsuite/gas/aarch64/armv8_4-a.s: Likewise. | |
4165 | ||
403d1bd9 JW |
4166 | 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com> |
4167 | ||
4168 | * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and | |
4169 | s exts must be known, so rename *ok* to *fail*. | |
4170 | * testsuite/gas/riscv/march-ok-sx.d: Likewise. | |
4171 | * testsuite/gas/riscv/march-ok-s-with-version: Likewise. | |
4172 | * testsuite/gas/riscv/march-fail-s.l: Expected error messages for | |
4173 | above change. | |
4174 | * testsuite/gas/riscv/march-fail-sx.l: Likewise. | |
4175 | * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise. | |
4176 | ||
be4c5e58 L |
4177 | 2020-01-22 H.J. Lu <hongjiu.lu@intel.com> |
4178 | ||
4179 | PR gas/25438 | |
4180 | * config/tc-i386.c (check_long_reg): Always disallow double word | |
4181 | suffix in mnemonic with word general register. | |
4182 | * testsuite/gas/i386/general.s: Replace word general register | |
4183 | with double word general register for movl. | |
4184 | * testsuite/gas/i386/inval.s: Add tests for movl with word general | |
4185 | register. | |
4186 | * testsuite/gas/i386/general.l: Updated. | |
4187 | * testsuite/gas/i386/inval.l: Likewise. | |
4188 | ||
9e7028aa AM |
4189 | 2020-01-22 Alan Modra <amodra@gmail.com> |
4190 | ||
4191 | * config/tc-ppc.c (parse_tls_arg): Handle tls arg for | |
4192 | __tls_get_addr_desc and __tls_get_addr_opt. | |
4193 | ||
e3ed17f3 JB |
4194 | 2020-01-21 Jan Beulich <jbeulich@suse.com> |
4195 | ||
4196 | * testsuite/gas/i386/inval-crc32.s, | |
4197 | testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive. | |
4198 | * testsuite/gas/i386/inval-crc32.l, | |
4199 | testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations. | |
4200 | ||
1a035124 JB |
4201 | 2020-01-21 Jan Beulich <jbeulich@suse.com> |
4202 | ||
4203 | * config/tc-i386.c (process_suffix): Merge CRC32 handling into | |
4204 | generic code path. Deal with No_lSuf being set in a template. | |
4205 | * testsuite/gas/i386/inval-crc32.l, | |
4206 | testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s) | |
4207 | instead of error(s) when operand size is ambiguous. | |
4208 | * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s, | |
4209 | testsuite/gas/i386/noreg64.s: Add CRC32 tests. | |
4210 | * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l, | |
4211 | testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l, | |
4212 | testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l: | |
4213 | Adjust expectations. | |
4214 | ||
c006a730 JB |
4215 | 2020-01-21 Jan Beulich <jbeulich@suse.com> |
4216 | ||
4217 | * config/tc-i386.c (process_suffix): Drop SYSRET special case | |
4218 | and an intel_syntax check. Re-write lack-of-suffix processing | |
4219 | logic. | |
4220 | * doc/c-i386.texi: Document operand size defaults for suffix- | |
4221 | less AT&T syntax insns. | |
4222 | * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s, | |
4223 | testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s, | |
4224 | testsuite/gas/i386/x86-64-avx-scalar.s, | |
4225 | testsuite/gas/i386/x86-64-avx.s, | |
4226 | testsuite/gas/i386/x86-64-bundle.s, | |
4227 | testsuite/gas/i386/x86-64-intel64.s, | |
4228 | testsuite/gas/i386/x86-64-lock-1.s, | |
4229 | testsuite/gas/i386/x86-64-opcode.s, | |
4230 | testsuite/gas/i386/x86-64-sse2avx.s, | |
4231 | testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes. | |
4232 | * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s, | |
4233 | testsuite/gas/i386/x86-64-nops.s, | |
4234 | testsuite/gas/i386/x86-64-ptwrite.s, | |
4235 | testsuite/gas/i386/x86-64-simd.s, | |
4236 | testsuite/gas/i386/x86-64-sse-noavx.s, | |
4237 | testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less | |
4238 | insns. | |
4239 | * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s, | |
4240 | testsuite/gas/i386/noreg64.s: Add further tests. | |
4241 | * testsuite/gas/i386/ilp32/x86-64-nops.d, | |
4242 | testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d, | |
4243 | testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d, | |
4244 | testsuite/gas/i386/sse-noavx.d, | |
4245 | testsuite/gas/i386/x86-64-intel64.d, | |
4246 | testsuite/gas/i386/x86-64-nops.d, | |
4247 | testsuite/gas/i386/x86-64-opcode.d, | |
4248 | testsuite/gas/i386/x86-64-ptwrite-intel.d, | |
4249 | testsuite/gas/i386/x86-64-ptwrite.d, | |
4250 | testsuite/gas/i386/x86-64-simd-intel.d, | |
4251 | testsuite/gas/i386/x86-64-simd-suffix.d, | |
4252 | testsuite/gas/i386/x86-64-simd.d, | |
4253 | testsuite/gas/i386/x86-64-sse-noavx.d | |
4254 | testsuite/gas/i386/x86-64-suffix.d, | |
4255 | testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations. | |
4256 | * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l, | |
4257 | testsuite/gas/i386/noreg64.l: New. | |
4258 | * testsuite/gas/i386/i386.exp: Run new tests. | |
4259 | ||
c906a69a JB |
4260 | 2020-01-21 Jan Beulich <jbeulich@suse.com> |
4261 | ||
4262 | * testsuite/gas/i386/avx512_bf16_vl.s, | |
4263 | testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms | |
4264 | of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax | |
4265 | broadcast forms of VCVTNEPS2BF16. | |
4266 | * testsuite/gas/i386/avx512_bf16_vl.d, | |
4267 | testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations. | |
4268 | ||
26916852 NC |
4269 | 2020-01-20 Nick Clifton <nickc@redhat.com> |
4270 | ||
4271 | * po/uk.po: Updated Ukranian translation. | |
4272 | ||
14470f07 L |
4273 | 2020-01-20 H.J. Lu <hongjiu.lu@intel.com> |
4274 | ||
4275 | PR ld/25416 | |
4276 | * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix | |
4277 | for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating | |
4278 | x32 object. | |
4279 | * testsuite/gas/i386/ilp32/x32-tls.d: Updated. | |
4280 | * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with | |
4281 | R_X86_64_GOTPC32_TLSDESC relocation. | |
4282 | ||
1b1bb2c6 NC |
4283 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
4284 | ||
4285 | * configure: Regenerate. | |
4286 | * po/gas.pot: Regenerate. | |
4287 | ||
ae774686 NC |
4288 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
4289 | ||
4290 | Binutils 2.34 branch created. | |
4291 | ||
42e04b36 L |
4292 | 2020-01-17 H.J. Lu <hongjiu.lu@intel.com> |
4293 | ||
4294 | * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2 | |
4295 | with vex_encoding_vex. | |
4296 | (parse_insn): Likewise. | |
4297 | * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex} | |
4298 | and {vex3} documentation. | |
4299 | * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with | |
4300 | {vex}. | |
4301 | * testsuite/gas/i386/x86-64-pseudos.s: Likewise. | |
4302 | ||
2da2eaf4 AV |
4303 | 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com> |
4304 | ||
4305 | PR 25376 | |
4306 | * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH. | |
4307 | (armv8_1m_main_ext_table): Use CORE_HIGH for mve. | |
4308 | * testsuite/arm/armv8_1-m-fpu-mve-1.s: New. | |
4309 | * testsuite/arm/armv8_1-m-fpu-mve-1.d: New. | |
4310 | * testsuite/arm/armv8_1-m-fpu-mve-2.s: New. | |
4311 | * testsuite/arm/armv8_1-m-fpu-mve-2.d: New. | |
4312 | ||
45a4bb20 JB |
4313 | 2020-01-16 Jan Beulich <jbeulich@suse.com> |
4314 | ||
4315 | * config/tc-i386.c (match_template): Drop found_cpu_match local | |
4316 | variable. | |
4317 | ||
4814632e JB |
4318 | 2020-01-16 Jan Beulich <jbeulich@suse.com> |
4319 | ||
4320 | * testsuite/gas/i386/avx512dq-inval.l, | |
4321 | testsuite/gas/i386/avx512dq-inval.s: New. | |
4322 | * testsuite/gas/i386/i386.exp: Run new test. | |
4323 | ||
131cb553 JL |
4324 | 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
4325 | ||
4326 | * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X | |
4327 | relocations when the target is 430X, except when extracting part of an | |
4328 | expression. | |
4329 | (msp430_srcoperand): Adjust comment. | |
4330 | Initialize the expp member of the msp430_operand_s struct as | |
4331 | appropriate. | |
4332 | (msp430_dstoperand): Likewise. | |
4333 | * testsuite/gas/msp430/msp430.exp: Run new test. | |
4334 | * testsuite/gas/msp430/reloc-lo-430x.d: New test. | |
4335 | * testsuite/gas/msp430/reloc-lo-430x.s: New test. | |
4336 | ||
c24d0e8d AM |
4337 | 2020-01-15 Alan Modra <amodra@gmail.com> |
4338 | ||
4339 | * configure.tgt: Add sparc-*-freebsd case. | |
4340 | ||
e44925ae LC |
4341 | 2020-01-14 Lili Cui <lili.cui@intel.com> |
4342 | ||
4343 | * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin. | |
4344 | * testsuite/gas/i386/align-branch-1b.d: Likewise. | |
4345 | * testsuite/gas/i386/align-branch-1c.d: Likewise. | |
4346 | * testsuite/gas/i386/align-branch-1d.d: Likewise. | |
4347 | * testsuite/gas/i386/align-branch-1e.d: Likewise. | |
4348 | * testsuite/gas/i386/align-branch-1f.d: Likewise. | |
4349 | * testsuite/gas/i386/align-branch-1g.d: Likewise. | |
4350 | * testsuite/gas/i386/align-branch-1h.d: Likewise. | |
4351 | * testsuite/gas/i386/align-branch-1i.d: Likewise. | |
4352 | * testsuite/gas/i386/align-branch-5.d: Likewise. | |
4353 | * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise. | |
4354 | * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise. | |
4355 | * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise. | |
4356 | * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise. | |
4357 | * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise. | |
4358 | * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise. | |
4359 | * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise. | |
4360 | * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise. | |
4361 | * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise. | |
4362 | * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise. | |
4363 | * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a, | |
4364 | x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin. | |
4365 | ||
7a6bf3be SB |
4366 | 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com> |
4367 | ||
4368 | PR 25377 | |
4369 | * config/tc-z80.c: Add support for half precision, single | |
4370 | precision and double precision floating point values. | |
4371 | * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes. | |
4372 | * doc/as.texi: Add new z80 command line options. | |
4373 | * doc/c-z80.texi: Document new z80 command line options. | |
4374 | * testsuite/gas/z80/ez80_pref_dis.s: New test. | |
4375 | * testsuite/gas/z80/ez80_pref_dis.d: New test driver. | |
4376 | * testsuite/gas/z80/z80.exp: Run the new test. | |
4377 | * testsuite/gas/z80/fp_math48.d: Use correct command line option. | |
4378 | * testsuite/gas/z80/fp_zeda32.d: Likewise. | |
4379 | * testsuite/gas/z80/strings.d: Update expected output. | |
4380 | ||
82e9597c MM |
4381 | 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com> |
4382 | ||
4383 | * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature | |
4384 | dependency. | |
4385 | ||
5e4f7e05 CZ |
4386 | 2020-01-13 Claudiu Zissulescu <claziss@gmail.com> |
4387 | ||
4388 | * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change | |
4389 | the CPU. | |
4390 | * config/tc-arc.h: Add header if/defs. | |
4391 | * testsuite/gas/arc/pseudos.d: Improve matching pattern. | |
4392 | ||
febda64f AM |
4393 | 2020-01-13 Alan Modra <amodra@gmail.com> |
4394 | ||
4395 | * testsuite/gas/wasm32/allinsn.d: Update expected output. | |
4396 | ||
5496abe1 AM |
4397 | 2020-01-13 Alan Modra <amodra@gmail.com> |
4398 | ||
4399 | * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap | |
4400 | insertion. | |
4401 | ||
ec4181f2 AM |
4402 | 2020-01-10 Alan Modra <amodra@gmail.com> |
4403 | ||
4404 | * testsuite/gas/elf/pr14891.s: Don't start directives in first column. | |
4405 | * testsuite/gas/elf/pr21661.d: Don't run on hpux. | |
4406 | ||
40c75bc8 SB |
4407 | 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com> |
4408 | ||
4409 | PR 25224 | |
4410 | * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking | |
4411 | opcode byte values. | |
4412 | (emit_ld_r_r): Likewise. | |
4413 | (emit_ld_rr_m): Likewise. | |
4414 | (emit_ld_rr_nn): Likewise. | |
4415 | ||
72aea328 JB |
4416 | 2020-01-09 Jan Beulich <jbeulich@suse.com> |
4417 | ||
4418 | * config/tc-i386.c (optimize_encoding): Add | |
4419 | is_any_vex_encoding() invocations. Drop respective | |
4420 | i.tm.extension_opcode == None checks. | |
4421 | ||
3f93af61 JB |
4422 | 2020-01-09 Jan Beulich <jbeulich@suse.com> |
4423 | ||
4424 | * config/tc-i386.c (md_assemble): Check RegRex is clear during | |
4425 | REX transformations. Correct comment indentation. | |
4426 | ||
7697afb6 JB |
4427 | 2020-01-09 Jan Beulich <jbeulich@suse.com> |
4428 | ||
4429 | * config/tc-i386.c (optimize_encoding): Generalize register | |
4430 | transformation for TEST optimization. | |
4431 | ||
d835a58b JB |
4432 | 2020-01-09 Jan Beulich <jbeulich@suse.com> |
4433 | ||
4434 | * testsuite/gas/i386/x86-64-sysenter-amd.s, | |
4435 | testsuite/gas/i386/x86-64-sysenter-amd.d, | |
4436 | testsuite/gas/i386/x86-64-sysenter-amd.l, | |
4437 | testsuite/gas/i386/x86-64-sysenter-intel.d, | |
4438 | testsuite/gas/i386/x86-64-sysenter-mixed.d: New. | |
4439 | * testsuite/gas/i386/i386.exp: Run new tests. | |
4440 | ||
915808f6 NC |
4441 | 2020-01-08 Nick Clifton <nickc@redhat.com> |
4442 | ||
4443 | PR 25284 | |
4444 | * doc/as.texi (Align): Document the fact that all arguments can be | |
4445 | omitted. | |
4446 | (Balign): Likewise. | |
4447 | (P2align): Likewise. | |
4448 | ||
f1f28025 NC |
4449 | 2020-01-08 Nick Clifton <nickc@redhat.com> |
4450 | ||
4451 | PR 14891 | |
4452 | * config/obj-elf.c (obj_elf_section): Fail if the section name is | |
4453 | already defined as a different symbol type. | |
4454 | * testsuite/gas/elf/pr14891.s: New test source file. | |
4455 | * testsuite/gas/elf/pr14891.d: New test driver. | |
4456 | * testsuite/gas/elf/pr14891.s: New test expected error output. | |
4457 | * testsuite/gas/elf/elf.exp: Run the new test. | |
4458 | ||
030a2e78 AM |
4459 | 2020-01-08 Alan Modra <amodra@gmail.com> |
4460 | ||
4461 | * config/tc-z8k.c (md_begin): Make idx unsigned. | |
4462 | (get_specific): Likewise for this_index. | |
4463 | ||
2a1ebfb2 CZ |
4464 | 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com> |
4465 | ||
4466 | * onfig/tc-arc.c (parse_reloc_symbol): New function. | |
4467 | (tokenize_arguments): Clean up, use parse_reloc_symbol function. | |
4468 | (md_operand): Set X_md to absent. | |
4469 | (arc_parse_name): Check for X_md. | |
4470 | ||
16d87673 SB |
4471 | 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com> |
4472 | ||
4473 | PR 25311 | |
4474 | * as.h (TC_STRING_ESCAPES): Provide a default definition. | |
4475 | * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of | |
4476 | NO_STRING_ESCAPES. | |
4477 | * read.c (next_char_of_string): Likewise. | |
4478 | * config/tc-ppc.h (TC_STRING_ESCAPES): Define. | |
4479 | * config/tc-z80.h (TC_STRING_ESCAPES): Define. | |
4480 | ||
a2322019 NC |
4481 | 2020-01-03 Nick Clifton <nickc@redhat.com> |
4482 | ||
4483 | * po/sv.po: Updated Swedish translation. | |
4484 | ||
5437a02a JB |
4485 | 2020-01-03 Jan Beulich <jbeulich@suse.com> |
4486 | ||
4487 | * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}. | |
4488 | * testsuite/gas/aarch64/f64mm.d: Adjust expectations. | |
4489 | ||
567dfba2 JB |
4490 | 2020-01-03 Jan Beulich <jbeulich@suse.com> |
4491 | ||
4492 | * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for | |
4493 | by-element usdot. Add 64-bit form tests for by-element sudot. | |
4494 | * testsuite/gas/aarch64/i8mm.d: Adjust expectations. | |
4495 | ||
8c45011a JB |
4496 | 2020-01-03 Jan Beulich <jbeulich@suse.com> |
4497 | ||
4498 | * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>. | |
4499 | * testsuite/gas/aarch64/f64mm.d: Adjust expectations. | |
4500 | ||
f4950f76 JB |
4501 | 2020-01-03 Jan Beulich <jbeulich@suse.com> |
4502 | ||
4503 | * testsuite/gas/aarch64/f64mm.d, | |
4504 | testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations. | |
4505 | ||
6655dba2 SB |
4506 | 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com> |
4507 | ||
4508 | * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add | |
4509 | support for assembler code generated by SDCC. Add new relocation | |
4510 | types. Add z80-elf target support. | |
4511 | * config/tc-z80.h: Add z80-elf target support. Enable dollar local | |
4512 | labels. Local labels starts from ".L". | |
4513 | * NEWS: Mention the new support. | |
4514 | * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict. | |
4515 | * testsuite/gas/all/fwdexp.s: Likewise. | |
4516 | * testsuite/gas/all/cond.l: Likewise. | |
4517 | * testsuite/gas/all/cond.s: Likewise. | |
4518 | * testsuite/gas/all/fwdexp.d: Likewise. | |
4519 | * testsuite/gas/all/fwdexp.s: Likewise. | |
4520 | * testsuite/gas/elf/section2.e-mips: Likewise. | |
4521 | * testsuite/gas/elf/section2.l: Likewise. | |
4522 | * testsuite/gas/elf/section2.s: Likewise. | |
4523 | * testsuite/gas/macros/app1.d: Likewise. | |
4524 | * testsuite/gas/macros/app1.s: Likewise. | |
4525 | * testsuite/gas/macros/app2.d: Likewise. | |
4526 | * testsuite/gas/macros/app2.s: Likewise. | |
4527 | * testsuite/gas/macros/app3.d: Likewise. | |
4528 | * testsuite/gas/macros/app3.s: Likewise. | |
4529 | * testsuite/gas/macros/app4.d: Likewise. | |
4530 | * testsuite/gas/macros/app4.s: Likewise. | |
4531 | * testsuite/gas/macros/app4b.s: Likewise. | |
4532 | * testsuite/gas/z80/suffix.d: Fix failure on ELF target. | |
4533 | * testsuite/gas/z80/z80.exp: Add new tests | |
4534 | * testsuite/gas/z80/dollar.d: New file. | |
4535 | * testsuite/gas/z80/dollar.s: New file. | |
4536 | * testsuite/gas/z80/ez80_adl_all.d: New file. | |
4537 | * testsuite/gas/z80/ez80_adl_all.s: New file. | |
4538 | * testsuite/gas/z80/ez80_adl_suf.d: New file. | |
4539 | * testsuite/gas/z80/ez80_isuf.s: New file. | |
4540 | * testsuite/gas/z80/ez80_z80_all.d: New file. | |
4541 | * testsuite/gas/z80/ez80_z80_all.s: New file. | |
4542 | * testsuite/gas/z80/ez80_z80_suf.d: New file. | |
4543 | * testsuite/gas/z80/r800_extra.d: New file. | |
4544 | * testsuite/gas/z80/r800_extra.s: New file. | |
4545 | * testsuite/gas/z80/r800_ii8.d: New file. | |
4546 | * testsuite/gas/z80/r800_z80_doc.d: New file. | |
4547 | * testsuite/gas/z80/z180.d: New file. | |
4548 | * testsuite/gas/z80/z180.s: New file. | |
4549 | * testsuite/gas/z80/z180_z80_doc.d: New file. | |
4550 | * testsuite/gas/z80/z80_doc.d: New file. | |
4551 | * testsuite/gas/z80/z80_doc.s: New file. | |
4552 | * testsuite/gas/z80/z80_ii8.d: New file. | |
4553 | * testsuite/gas/z80/z80_ii8.s: New file. | |
4554 | * testsuite/gas/z80/z80_in_f_c.d: New file. | |
4555 | * testsuite/gas/z80/z80_in_f_c.s: New file. | |
4556 | * testsuite/gas/z80/z80_op_ii_ld.d: New file. | |
4557 | * testsuite/gas/z80/z80_op_ii_ld.s: New file. | |
4558 | * testsuite/gas/z80/z80_out_c_0.d: New file. | |
4559 | * testsuite/gas/z80/z80_out_c_0.s: New file. | |
4560 | * testsuite/gas/z80/z80_reloc.d: New file. | |
4561 | * testsuite/gas/z80/z80_reloc.s: New file. | |
4562 | * testsuite/gas/z80/z80_sli.d: New file. | |
4563 | * testsuite/gas/z80/z80_sli.s: New file. | |
4564 | ||
a65b5de6 SN |
4565 | 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com> |
4566 | ||
4567 | * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of | |
4568 | REGLIST_RN. | |
4569 | ||
b14ce8bf AM |
4570 | 2020-01-01 Alan Modra <amodra@gmail.com> |
4571 | ||
4572 | Update year range in copyright notice of all files. | |
4573 | ||
0b114740 | 4574 | For older changes see ChangeLog-2019 |
3499769a | 4575 | \f |
0b114740 | 4576 | Copyright (C) 2020 Free Software Foundation, Inc. |
3499769a AM |
4577 | |
4578 | Copying and distribution of this file, with or without modification, | |
4579 | are permitted in any medium without royalty provided the copyright | |
4580 | notice and this notice are preserved. | |
4581 | ||
4582 | Local Variables: | |
4583 | mode: change-log | |
4584 | left-margin: 8 | |
4585 | fill-column: 74 | |
4586 | version-control: never | |
4587 | End: |