Teach a few targets to resolve BFD_RELOC_8
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
7553c869
AM
12019-03-21 Alan Modra <amodra@gmail.com>
2
3 * config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8.
4 * config/tc-pdp11.c (md_apply_fix): Likewise.
5 * config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8,
6 BFD_RELOC_16, and BFD_RELOC_64.
7 * testsuite/gas/all/gas.exp: Move target exclusions for forward
8 test, but not cr16, to..
9 * testsuite/gas/all/forward.d: ..here, with explanation. Remove
10 d10v, d30v, and pdp11 xfails.
11
392a5972
L
122019-03-19 H.J. Lu <hongjiu.lu@intel.com>
13
14 * config/tc-i386.c (optimize_encoding): Don't check AVX for
15 EVEX vector load/store optimization. Check both operands for
16 ZMM register. Update EVEX vector load/store opcode check.
17 Choose EVEX Disp8 over VEX Disp32.
18 * testsuite/gas/i386/optimize-1.d: Updated.
19 * testsuite/gas/i386/optimize-1a.d: Likewise.
20 * testsuite/gas/i386/optimize-2.d: Likewise.
21 * testsuite/gas/i386/optimize-4.d: Likewise.
22 * testsuite/gas/i386/optimize-5.d: Likewise.
23 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
24 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
25 * testsuite/gas/i386/x86-64-optimize-2b.d: Likewise.
26 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
27 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
28 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
29 * testsuite/gas/i386/optimize-1.s: Add ZMM register load
30 test.
31 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
32
7b1d7ca1
L
332019-03-19 H.J. Lu <hongjiu.lu@intel.com>
34
35 PR gas/24352
36 * config/tc-i386.c (optimize_encoding): Check only
37 cpu_arch_flags.bitfield.cpuavx512vl.
38 * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
39 * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
40 change.
41 * testsuite/gas/i386/x86-64-optimize-2b.d: New file.
42 * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
43
89199bb5
L
442019-03-19 H.J. Lu <hongjiu.lu@intel.com>
45
46 PR gas/24359
47 * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
48 x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
49 Remove optimize-6c and x86-64-optimize-7c tests.
50 * testsuite/gas/i386/noavx-3.l: Updated.
51 * testsuite/gas/i386/noavx-4.d: Likewise.
52 * testsuite/gas/i386/noavx-5.d: Likewise.
53 * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
54 * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
55 * testsuite/gas/i386/nosse-5.s: Likewise.
56 * testsuite/gas/i386/optimize-6a.d: Removed.
57 * testsuite/gas/i386/optimize-6c.d: Likewise.
58 * testsuite/gas/i386/optimize-7.d: Likewise.
59 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
60 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
61 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
62 * testsuite/gas/i386/optimize-6a.l: New file.
63 * testsuite/gas/i386/optimize-6a.s: Likewise.
64 * testsuite/gas/i386/optimize-7.l: Likewise.
65 * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
66 * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
67 * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
68
c6cdff46
AM
692019-03-18 Alan Modra <amodra@gmail.com>
70
71 * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
af60449c
AM
72 * as.c (macro_expr): Likewise.
73 * macro.c (buffer_and_nest): Likewise.
74 * read.c (temp_ilp): Remove FIXME.
c6cdff46 75
a716e60c
L
762019-03-18 H.J. Lu <hongjiu.lu@intel.com>
77
78 * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
79 * testsuite/gas/i386/avx512bw-intel.d: Likewise.
80 * testsuite/gas/i386/avx512bw.d: Likewise.
81 * testsuite/gas/i386/avx512f-intel.d: Likewise.
82 * testsuite/gas/i386/avx512f.d: Likewise.
83 * testsuite/gas/i386/disp32.d: Likewise.
84 * testsuite/gas/i386/intel-regs.d: Likewise.
85 * testsuite/gas/i386/pseudos.d: Likewise.
86 * testsuite/gas/i386/x86-64-disp32.d: Likewise.
87 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
88
97ed31ae
L
892019-03-18 H.J. Lu <hongjiu.lu@intel.com>
90
91 PR gas/24348
92 * config/tc-i386.c (optimize_encoding): Encode 128-bit and
93 256-bit EVEX vector register load/store instructions as VEX
94 vector register load/store instructions for -O1.
95 * doc/c-i386.texi: Update -O1 documentation.
96 * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
97 * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
98 load/store instructions.
99 * testsuite/gas/i386/optimize-2.s: Likewise.
100 * testsuite/gas/i386/optimize-3.s: Likewise.
101 * testsuite/gas/i386/optimize-5.s: Likewise.
102 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
103 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
104 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
105 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
106 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
107 * testsuite/gas/i386/optimize-1.d: Updated.
108 * testsuite/gas/i386/optimize-2.d: Likewise.
109 * testsuite/gas/i386/optimize-3.d: Likewise.
110 * testsuite/gas/i386/optimize-4.d: Likewise.
111 * testsuite/gas/i386/optimize-5.d: Likewise.
112 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
113 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
114 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
115 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
116 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
117 * testsuite/gas/i386/optimize-7.d: New file.
118 * testsuite/gas/i386/optimize-7.s: Likewise.
119 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
120 * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
121
99112332
L
1222019-03-18 H.J. Lu <hongjiu.lu@intel.com>
123
124 * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
125 VEX/EVEX vector register clearing instructions with 128-bit VEX
126 vector register clearing instructions at -O1.
127 * doc/c-i386.texi: Update -O1 and -O2 documentation.
128 * testsuite/gas/i386/i386.exp: Run optimize-1a and
129 x86-64-optimize-2a.
130 * testsuite/gas/i386/optimize-1a.d: New file.
131 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
132
41fd2579
L
1332019-03-17 H.J. Lu <hongjiu.lu@intel.com>
134
135 PR gas/24353
136 * config/tc-i386.c: Include <limits.h> if it exists and try
137 including <sys/param.h> if we have it.
138 (INT_MAX): Define if not defined.
139 (md_parse_option): Set optimize to INT_MAX for -Os.
140 * testsuite/gas/i386/optimize-2.s: Add a test.
141 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
142 * testsuite/gas/i386/optimize-2.d: Updated.
143 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
144
dd22218c
L
1452019-03-17 H.J. Lu <hongjiu.lu@intel.com>
146
147 PR gas/24352
148 * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
149 with 128-bit VEX encoding only when AVX is enabled and with
150 128-bit EVEX encoding only when AVX512VL is enabled.
151 * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
152 * testsuite/gas/i386/optimize-6.s: New file.
153 * testsuite/gas/i386/optimize-6a.d: Likewise.
154 * testsuite/gas/i386/optimize-6b.d: Likewise.
155 * testsuite/gas/i386/optimize-6c.d: Likewise.
156 * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
157 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
158 * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
159 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
160 * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
161
1c529385
LH
1622019-03-15 Li Hao <li.hao296@zte.com.cn>
163
164 PR 24308
165 * config/tc-i386.c (parse_insn): Check mnemp before using it to
166 determine if a suffix can be trimmed.
167
204f543c
CE
1682019-03-13 Christian Eggers <ceggers@gmx.de>
169
170 * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
171
145c4477
CE
1722019-03-13 Christian Eggers <ceggers@gmx.de>
173
174 * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
175
5c4e5fe6
CE
1762019-03-13 Christian Eggers <ceggers@gmx.de>
177
178 * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
179
38c24f42
CE
1802019-03-13 Christian Eggers <ceggers@gmx.de>
181
182 * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
183
72354279
CE
1842019-03-13 Christian Eggers <ceggers@gmx.de>
185
186 * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
187 (out_debug_aranges, out_debug_info): Likewise.
188
d18d1999
CE
1892019-03-13 Christian Eggers <ceggers@gmx.de>
190
191 * symbols.h (symbol_temp_new_now_octets): Declare.
192 (symbol_set_value_now_octets, symbol_octets_p): Declare.
193 * symbols.c (struct symbol_flags): New member sy_octets.
194 (symbol_temp_new_now_octets): New function.
195 (resolve_symbol_value): Return octets instead of bytes if
196 sy_octets is set.
197 (symbol_set_value_now_octets): New function.
198 (symbol_octets_p): New function.
199
71250b94
CE
2002019-03-13 Christian Eggers <ceggers@gmx.de>
201
202 * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
203
0919bfe9
AK
2042019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
205
206 * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
207 * testsuite/gas/s390/zarch-arch13.d: Likewise.
208
52d6f3ee
MM
2092019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
210
211 * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
212 * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
213 * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
214 * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
215 lines.
216 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
217 * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
218
a894d76a
AM
2192019-02-24 Alan Modra <amodra@gmail.com>
220
221 * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
222
f616c36b
AM
2232019-02-24 Alan Modra <amodra@gmail.com>
224
225 PR 24144
226 * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
227 of section to ensure file contents cover aligned section size.
228
83f43c83
KT
2292019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
230
231 * config/tc-arm.c (arm_cpus): Add neoverse-n1.
232 * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
233
516dbc44
KT
2342019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
235
236 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
237 * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
238
38e75bf2
KT
2392019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
240
241 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
242 * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
243
6f2117ba
PH
2442019-02-19 Paul Hua <paul.hua.gm@gmail.com>
245
246 * NEWS: Mention -m[no-]fix-loongson3-llsc.
247 * configure.ac: Add --enable-mips-fix-loongson3-llsc.
248 Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
249 * config.in: Regenerated.
250 * configure: Likewise.
251 * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
252 New variables.
253 (options): New OPTION_FIX_LOONGSON3_LLSC,
254 OPTION_NO_FIX_LOONGSON3_LLSC.
255 (md_longopts): Add -m[no-]fix-loongson3-llsc.
256 (md_begin): Initialize sync insn.
257 (fix_loongson3_llsc): New.
258 (append_insn): Call fix_loongson3_llsc.
259 (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
260 OPTION_NO_FIX_LOONGSON3_LLSC.
261 (md_show_usage): Display -m[no-]fix-loongson3-llsc.
262 * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
263 --enable-mips-fix-loongson3-llsc=[yes|no].
264
db222310
L
2652019-02-10 H.J. Lu <hongjiu.lu@intel.com>
266
267 PR gas/24165
268 * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
269 max_bytes.
270 * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
271 aarch64_init_frag.
272 * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
273 arm_init_frag.
274 * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
275 * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
276 * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
277 * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
278 * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
279 * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
280 * config/tc-rx.h (TC_FRAG_INIT): Likewise.
281 * config/tc-score.h (TC_FRAG_INIT): Likewise.
282 * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
283 * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
284 * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
285 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
286 (alignment ? ((1 << alignment) - 1) : 1)
287 (i386_tc_frag_data): Add max_bytes.
288 (TC_FRAG_INIT): Add and track max_bytes.
289 (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
290 fragP->tc_frag_data.max_bytes.
291 * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
292
21820ebe
JW
2932019-02-08 Jim Wilson <jimw@sifive.com>
294
295 * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
296 (riscv_ip) <'C'>: Add 'z' support.
297
f7dd2fb2
TC
2982019-02-07 Tamar Christina <tamar.christina@arm.com>
299
300 * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
301 hlt to armv1.
302 * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
303 * testsuite/gas/arm/hlt.d: New test.
304 * testsuite/gas/arm/hlt.s: New test.
305
bd756351
TC
3062019-02-07 Tamar Christina <tamar.christina@arm.com>
307
308 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
309 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
310
6456d318
TC
3112019-02-07 Tamar Christina <tamar.christina@arm.com>
312
313 PR binutils/23212
314 * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
315 * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
316
0e7e9601
EB
3172019-02-07 Eric Botcazou <ebotcazou@adacore.com>
318
319 * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
320 64-bit boundaries for the GR6.
321 * testsuite/gas/visium/allinsn_gr6.s: Tweak.
322 * testsuite/gas/visium/allinsn_gr6.d: Likewise.
323 * testsuite/gas/visium/bra-1.d: New test.
324 * testsuite/gas/visium/bra-1.s: Likewise.
325 * testsuite/gas/visium/visium.exp: Run bra-1 test.
326
c6f14c0d
JD
3272019-01-31 John Darrington <john@darrington.wattle.id.au>
328
329 * config/tc-s12z.c (lex_imm): Add new argument exp_o.
330 (emit_reloc): New function.
331 (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
332 can be either 2 bytes or 3 bytes long.
333 * testsuite/gas/s12z/mov-imm-reloc.d: New file.
334 * testsuite/gas/s12z/mov-imm-reloc.s: New file.
335 * testsuite/gas/s12z/s12z.exp: Add them.
336
91bae991
JD
3372019-01-31 John Darrington <john@darrington.wattle.id.au>
338
339 * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
340 * testsuite/gas/s12z/pc-rel-bad.d: New file.
341 * testsuite/gas/s12z/pc-rel-bad.l: New file.
342 * testsuite/gas/s12z/pc-rel-bad.s: New file.
343 * testsuite/gas/s12z/pc-rel-good.d: New file.
344 * testsuite/gas/s12z/pc-rel-good.s: New file.
345 * testsuite/gas/s12z/s12z.exp: Add them.
346
1d4d8669
JD
3472019-01-31 John Darrington <john@darrington.wattle.id.au>
348
349 * config/tc-s12z.c (tfr): Emit warning if operands are the same.
350 * testsuite/gas/s12z/exg.d: New test case.
351 * testsuite/gas/s12z/exg.l: New file.
352
8b3a46f9
JD
3532019-01-31 John Darrington <john@darrington.wattle.id.au>
354
355 * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
356 immediate mode operands should be permitted.
357 * testsuite/s12z/imm-dest.d: New file.
358 * testsuite/s12z/imm-dest.l: New file.
359 * testsuite/s12z/imm-dest.s: New file.
360 * testsuite/s12z/s12z.exp: Add them.
361
fc60b8c8
AK
3622019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
363
364 * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
365 * doc/c-s390.texi: Document arch13 march option.
366 * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
367 * testsuite/gas/s390/zarch-arch13.d: New test.
368 * testsuite/gas/s390/zarch-arch13.s: New test.
369 * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
370 also for z13.
371
3ca4a8ec
AM
3722019-01-31 Alan Modra <amodra@gmail.com>
373
374 * config/tc-alpha.c (md_apply_fix): Correct range checks for
375 BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
376 * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
377 * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
378
75c1c971
MF
3792019-01-28 Max Filippov <jcmvbkbc@gmail.com>
380
381 * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
382 symbols as done in md_apply_fix.
383 * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
384
2d151af7
NC
3852019-01-28 Nick Clifton <nickc@redhat.com>
386
387 * po/fr.po: Updated French translation.
388 * po/ru.po: Updated Russian translation.
389
e044973b
AM
3902019-01-28 Alan Modra <amodra@gmail.com>
391
392 * configure.ac (ac_checking): Set from bfd/development.sh
393 development variable.
394 * configure: Regenerate.
395
e10620d3
TC
3962019-01-25 Sudakshina Das <sudi.das@arm.com>
397
398 * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
399 stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
400 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
401 stg, stzg, st2g and stz2g.
402 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
403 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
404 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
405
20a4ca55
SD
4062019-01-25 Sudakshina Das <sudi.das@arm.com>
407
408 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
409 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
410 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
411 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
412
550fd7bf
SD
4132019-01-25 Sudakshina Das <sudi.das@arm.com>
414 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
415
416 * config/tc-aarch64.c (parse_address_main): Remove support for
417 [base]! address expression.
418 (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
419 (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
420 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
421 and stgv.
422 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
423 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
424 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
425
10c172ba
WH
4262019-01-25 Wu Heng <wu.heng@zte.com.cn>
427
428 PR gas/23940
429 * macro.c (getstring): Check array bound before accessing.
430
0c56b5cf
AM
4312019-01-25 Alan Modra <amodra@gmail.com>
432
433 PR 20902
434 PR 24125
435 * read.c (stringer): Delete assertion.
436
375cd423
NC
4372019-01-21 Nick Clifton <nickc@redhat.com>
438
439 * po/uk.po: Updated Ukranian translation.
440
f48dfe41
NC
4412019-01-19 Nick Clifton <nickc@redhat.com>
442
443 * config.in: Regenerate.
444 * configure: Regenerate.
445 * po/gas.pot: Regenerate.
446
f974f26c
NC
4472018-06-24 Nick Clifton <nickc@redhat.com>
448
449 2.32 branch created.
450
dee3ee22
TC
4512019-01-17 Tamar Christina <tamar.christina@arm.com>
452
453 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
454 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
455 * testsuite/gas/arm/csdb.d: Skip pe.
456 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
457 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
458 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
459 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
460 * testsuite/gas/arm/udf.d: Skip pe.
461
a4bf3d07
JW
4622019-01-16 Kito Cheng <kito@andestech.com>
463
464 * testsuite/gas/riscv/attribute-empty.d: New.
465
2dc8dd17
JW
4662019-01-16 Kito Cheng <kito@andestech.com>
467 Nelson Chu <nelson@andestech.com>
468
469 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
470 (riscv_set_options): Add `arch_attr` field.
471 (riscv_opts): Set default value for arch_attr.
472 (riscv_write_out_arch_attr): New.
473 (riscv_set_public_attributes): Likewise.
474 (riscv_md_end): Likewise.
475 (riscv_convert_symbolic_attribute): Likewise.
476 (s_riscv_attribute): Likewise.
477 (explicit_arch_attr): Likewise.
478 (riscv_pseudo_table): Add .attribute to the table.
479 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
480 enumeration constants.
481 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
482 (md_parse_option): Handle the new options.
483 (md_show_usage): Document the `march-attr' option.
484 * config/tc-riscv.h (md_end): Define as riscv_md_end
485 (riscv_md_end): Declare.
486 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
487 riscv_convert_symbolic_attribute.
488 (riscv_convert_symbolic_attribute): Declare.
489 (start_assemble): Declare.
490 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
491 * testsuite/gas/elf/section2.e-riscv: New.
492 * testsuite/gas/riscv/attribute-01.d: New test
493 * testsuite/gas/riscv/attribute-02.d: Likewise.
494 * testsuite/gas/riscv/attribute-03.d: Likewise.
495 * testsuite/gas/riscv/attribute-04.d: Likewise.
496 * testsuite/gas/riscv/attribute-04.s: Likewise.
497 * testsuite/gas/riscv/attribute-05.d: Likewise.
498 * testsuite/gas/riscv/attribute-05.s: Likewise.
499 * testsuite/gas/riscv/attribute-06.d: Likewise.
500 * testsuite/gas/riscv/attribute-06.s: Likewise.
501 * testsuite/gas/riscv/attribute-07.d: Likewise.
502 * testsuite/gas/riscv/attribute-07.s: Likewise.
503 * testsuite/gas/riscv/attribute-08.d: Likewise.
504 * testsuite/gas/riscv/attribute-08.s: Likewise.
505 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
506 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
507 * testsuite/gas/riscv/empty.l: Likewise.
508 * doc/c-riscv.texi (.attribute): Add documentation.
509 * configure.ac (--enable-default-riscv-attribute): New options.
510 * configure: Re-generate.
511 * config.in: Re-generate.
512
d5dcaf1b
JD
5132019-01-16 John Darrington <john@darrington.wattle.id.au>
514
e7b47f2e
JD
515 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
516 before the contents.
517 * testsuite/gas/s12z/labels.d: New file.
518 * testsuite/gas/s12z/labels.s: New file.
519 * testsuite/gas/s12z/s12z.exp: Add them.
520 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
77fdb0e0 521 Also fix message typo and semantics.
e7b47f2e 522 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
d5dcaf1b
JD
523 BFD_RELOC_24.
524 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
525 of R_S12Z_EXT24.
526
55e8aae7
SP
5272019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
528
529 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
530 (insns) [ARM_VARIANT]: Modified.
531 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
532 in ARMv6T2 as well.
533 * testsuite/gas/arm/archv6t2-1.d: New test.
534 * testsuite/gas/arm/archv6t2-1.s: Likewise.
535 * testsuite/gas/arm/archv6t2-2.d: Likewise.
536
c7af41ec
AM
5372019-01-11 Alan Modra <amodra@gmail.com>
538
539 PR 23963
540 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
541 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
542
12add40e
NC
5432019-01-10 Nick Clifton <nickc@redhat.com>
544
545 PR 23963
59aa9b0b
NC
546 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
547 fact that control characters are now displayed as escape
548 sequences.
12add40e
NC
549 * testsuite/gas/mips/mips16-e.d: Likewise.
550 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
551 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
552 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
553 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
554 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
555 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
556 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
557 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
558 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
559 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
560 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
561 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
562 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
563 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
564 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
565 Likewise.
566 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
567 Likewise.
568 * testsuite/gas/mips/mipsel16-e.d: Likewise.
569 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
570 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
571 * testsuite/gas/mips/r6-64-n32.d: Likewise.
572 * testsuite/gas/mips/r6-64-n64.d: Likewise.
573 * testsuite/gas/mips/r6-n32.d: Likewise.
574 * testsuite/gas/mips/r6-n64.d: Likewise.
575 * testsuite/gas/mips/r6.d: Likewise.
576 * testsuite/gas/mips/tmips16-e.d: Likewise.
577 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
578 * testsuite/gas/mn10300/relax.d: Likewise.
579
39f286cd
JD
5802019-01-09 John Darrington <john@darrington.wattle.id.au>
581
582 * testsuite/gas/s12z/jsr.s: New case.
583 * testsuite/gas/s12z/jsr.d: New case.
584
3107326d
AP
5852019-01-09 Andrew Paprocki <andrew@ishiboo.com>
586
587 * configure: Regenerate.
588
c8fcc360
KT
5892019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
590
591 * config/tc-aarch64.c (aarch64_cpus): Add ares.
592 * doc/c-aarch64.texi (-mcpu): Document ares value.
593
171b8e19
AM
5942019-01-08 Alan Modra <amodra@gmail.com>
595
596 * testsuite/gas/rx/rx.exp: Create generated test source in
597 current directory.
598 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
599 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
600 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
601 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
602 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
603 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
604 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
605 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
606 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
607 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
608 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
609 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
610 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
611 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
612 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
613 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
614 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
615 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
616 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
617 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
618 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
619 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
620 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
621 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
622 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
623 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
624 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
625 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
626 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
627 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
628 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
629 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
630 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
631 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
632 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
633 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
634 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
635 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
636 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
637 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
638 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
639 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
640 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
641 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
642 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
643 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
644 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
645 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
646 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
647 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
648 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
649 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
650 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
651 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
652 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
653 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
654 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
655 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
656 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
657 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
658 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
659 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
660 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
661 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
662 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
663 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
664 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
665 * testsuite/gas/rx/xor.d: Add #source line.
666
ef8df4ca
KT
6672019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
668
669 * config/tc-arm.c (arm_cpus): Add ares.
670 * doc/c-arm.texi (-mcpu): Document ares value.
671
6a25bee8
YS
6722019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
673
674 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
675 (rx_bfield): Add prototype.
676 (rx_post): Likewise.
677 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
678 (DSIZE): Define.
679 (POST): Define.
680 (rx_check_v3): New. check v3 type.
681 (rx_check_dfpu): New. check have double support.
682 (double_condition_table): New. dcmp<cond> contiditon.
683 (check_condition): Multiple condition support.
684 (rx_lex): RXv3 instructions support.
685 Add parse dcmp<cond> instruction and Double FPU registers.
686 (immediate): Disable optimize in dmov #imm case.
687 (displacement): Add double displacement in dmov instraction.
688 * config/tc-rx.c (rx_use_conventional_section_names):
689 Invert default value in rx-*-linux target.
690 (cpu_type): Add additional ELF flags.
691 (cpu_type_list): Add RXv3.
692 (md_parse_option): Refer elf_flags from cpu_type_list.
693 (md_show_usage): Add rxv3 and rxv3-dfpu.
694 (rx_bytesT): Add post byte.
695 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
696 (rx_post): New. Set instruction post byte.
697 (md_assemble): Add post byte.
698 doc/c-rx.texi: Add cpu types.
699 * testsuite/gas/rx/Xtod.d: New.
700 * testsuite/gas/rx/Xtod.sm: New.
701 * testsuite/gas/rx/bfmov.d: New.
702 * testsuite/gas/rx/bfmov.sm: New.
703 * testsuite/gas/rx/dabs.d: New.
704 * testsuite/gas/rx/dabs.sm: New.
705 * testsuite/gas/rx/dadd.d: New.
706 * testsuite/gas/rx/dadd.sm: New.
707 * testsuite/gas/rx/dcmp.d: New.
708 * testsuite/gas/rx/dcmp.sm: New.
709 * testsuite/gas/rx/ddiv.d: New.
710 * testsuite/gas/rx/ddiv.sm: New.
711 * testsuite/gas/rx/dmov.d: New.
712 * testsuite/gas/rx/dmov.sm: New.
713 * testsuite/gas/rx/dmul.d: New.
714 * testsuite/gas/rx/dmul.sm: New.
715 * testsuite/gas/rx/dneg.d: New.
716 * testsuite/gas/rx/dneg.sm: New.
717 * testsuite/gas/rx/dpopm.d: New.
718 * testsuite/gas/rx/dpopm.sm: New.
719 * testsuite/gas/rx/dpushm.d: New.
720 * testsuite/gas/rx/dpushm.sm: New.
721 * testsuite/gas/rx/dround.d: New.
722 * testsuite/gas/rx/dround.sm: New.
723 * testsuite/gas/rx/dsqrt.d: New.
724 * testsuite/gas/rx/dsqrt.sm: New.
725 * testsuite/gas/rx/dsub.d: New.
726 * testsuite/gas/rx/dsub.sm: New.
727 * testsuite/gas/rx/dtoX.d: New.
728 * testsuite/gas/rx/dtoX.sm: New.
729 * testsuite/gas/rx/macros.inc: Add double FPU registers.
730 * testsuite/gas/rx/mvfdc.d: New.
731 * testsuite/gas/rx/mvfdc.sm: New.
732 * testsuite/gas/rx/mvfdr.d: New.
733 * testsuite/gas/rx/mvfdr.sm: New.
734 * testsuite/gas/rx/mvtdc.d: New.
735 * testsuite/gas/rx/mvtdc.sm: New.
736 * testsuite/gas/rx/rstr.d: New.
737 * testsuite/gas/rx/rstr.sm: New.
738 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
739 * testsuite/gas/rx/save.d: New.
740 * testsuite/gas/rx/save.sm: New.
741 * testsuite/gas/rx/xor.d: New.
742 * testsuite/gas/rx/xor.sm: Add pattern.
743
1b2ed39c
WH
7442019-01-04 Wu Heng <wu.heng@zte.com.cn>
745
746 PR 24010
747 * macro.c (get_any_string): Check for end of input whilst scanning
748 for separators.
749
bdfb4455
WH
7502019-01-04 Wu Heng <wu.heng@zte.com.cn>
751
752 PR 24009
753 * read.c (stringer): Fix handling of missing '>' character at end
754 of <...> sequence.
755
82704155
AM
7562019-01-01 Alan Modra <amodra@gmail.com>
757
758 Update year range in copyright notice of all files.
759
d5c04e1b 760For older changes see ChangeLog-2018
3499769a 761\f
d5c04e1b 762Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
763
764Copying and distribution of this file, with or without modification,
765are permitted in any medium without royalty provided the copyright
766notice and this notice are preserved.
767
768Local Variables:
769mode: change-log
770left-margin: 8
771fill-column: 74
772version-control: never
773End:
This page took 0.281156 seconds and 4 git commands to generate.