PR24125, Assertion failure with embedded NULs in string
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2019-01-25 Alan Modra <amodra@gmail.com>
2
3 PR 20902
4 PR 24125
5 * read.c (stringer): Delete assertion.
6
7 2019-01-21 Nick Clifton <nickc@redhat.com>
8
9 * po/uk.po: Updated Ukranian translation.
10
11 2019-01-19 Nick Clifton <nickc@redhat.com>
12
13 * config.in: Regenerate.
14 * configure: Regenerate.
15 * po/gas.pot: Regenerate.
16
17 2018-06-24 Nick Clifton <nickc@redhat.com>
18
19 2.32 branch created.
20
21 2019-01-17 Tamar Christina <tamar.christina@arm.com>
22
23 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
24 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
25 * testsuite/gas/arm/csdb.d: Skip pe.
26 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
27 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
28 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
29 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
30 * testsuite/gas/arm/udf.d: Skip pe.
31
32 2019-01-16 Kito Cheng <kito@andestech.com>
33
34 * testsuite/gas/riscv/attribute-empty.d: New.
35
36 2019-01-16 Kito Cheng <kito@andestech.com>
37 Nelson Chu <nelson@andestech.com>
38
39 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
40 (riscv_set_options): Add `arch_attr` field.
41 (riscv_opts): Set default value for arch_attr.
42 (riscv_write_out_arch_attr): New.
43 (riscv_set_public_attributes): Likewise.
44 (riscv_md_end): Likewise.
45 (riscv_convert_symbolic_attribute): Likewise.
46 (s_riscv_attribute): Likewise.
47 (explicit_arch_attr): Likewise.
48 (riscv_pseudo_table): Add .attribute to the table.
49 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
50 enumeration constants.
51 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
52 (md_parse_option): Handle the new options.
53 (md_show_usage): Document the `march-attr' option.
54 * config/tc-riscv.h (md_end): Define as riscv_md_end
55 (riscv_md_end): Declare.
56 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
57 riscv_convert_symbolic_attribute.
58 (riscv_convert_symbolic_attribute): Declare.
59 (start_assemble): Declare.
60 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
61 * testsuite/gas/elf/section2.e-riscv: New.
62 * testsuite/gas/riscv/attribute-01.d: New test
63 * testsuite/gas/riscv/attribute-02.d: Likewise.
64 * testsuite/gas/riscv/attribute-03.d: Likewise.
65 * testsuite/gas/riscv/attribute-04.d: Likewise.
66 * testsuite/gas/riscv/attribute-04.s: Likewise.
67 * testsuite/gas/riscv/attribute-05.d: Likewise.
68 * testsuite/gas/riscv/attribute-05.s: Likewise.
69 * testsuite/gas/riscv/attribute-06.d: Likewise.
70 * testsuite/gas/riscv/attribute-06.s: Likewise.
71 * testsuite/gas/riscv/attribute-07.d: Likewise.
72 * testsuite/gas/riscv/attribute-07.s: Likewise.
73 * testsuite/gas/riscv/attribute-08.d: Likewise.
74 * testsuite/gas/riscv/attribute-08.s: Likewise.
75 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
76 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
77 * testsuite/gas/riscv/empty.l: Likewise.
78 * doc/c-riscv.texi (.attribute): Add documentation.
79 * configure.ac (--enable-default-riscv-attribute): New options.
80 * configure: Re-generate.
81 * config.in: Re-generate.
82
83 2019-01-16 John Darrington <john@darrington.wattle.id.au>
84
85 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
86 before the contents.
87 * testsuite/gas/s12z/labels.d: New file.
88 * testsuite/gas/s12z/labels.s: New file.
89 * testsuite/gas/s12z/s12z.exp: Add them.
90 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
91 Also fix message typo and semantics.
92 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
93 BFD_RELOC_24.
94 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
95 of R_S12Z_EXT24.
96
97 2019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
98
99 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
100 (insns) [ARM_VARIANT]: Modified.
101 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
102 in ARMv6T2 as well.
103 * testsuite/gas/arm/archv6t2-1.d: New test.
104 * testsuite/gas/arm/archv6t2-1.s: Likewise.
105 * testsuite/gas/arm/archv6t2-2.d: Likewise.
106
107 2019-01-11 Alan Modra <amodra@gmail.com>
108
109 PR 23963
110 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
111 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
112
113 2019-01-10 Nick Clifton <nickc@redhat.com>
114
115 PR 23963
116 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
117 fact that control characters are now displayed as escape
118 sequences.
119 * testsuite/gas/mips/mips16-e.d: Likewise.
120 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
121 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
122 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
123 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
124 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
125 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
126 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
127 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
128 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
129 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
130 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
131 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
132 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
133 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
134 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
135 Likewise.
136 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
137 Likewise.
138 * testsuite/gas/mips/mipsel16-e.d: Likewise.
139 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
140 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
141 * testsuite/gas/mips/r6-64-n32.d: Likewise.
142 * testsuite/gas/mips/r6-64-n64.d: Likewise.
143 * testsuite/gas/mips/r6-n32.d: Likewise.
144 * testsuite/gas/mips/r6-n64.d: Likewise.
145 * testsuite/gas/mips/r6.d: Likewise.
146 * testsuite/gas/mips/tmips16-e.d: Likewise.
147 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
148 * testsuite/gas/mn10300/relax.d: Likewise.
149
150 2019-01-09 John Darrington <john@darrington.wattle.id.au>
151
152 * testsuite/gas/s12z/jsr.s: New case.
153 * testsuite/gas/s12z/jsr.d: New case.
154
155 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
156
157 * configure: Regenerate.
158
159 2019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
160
161 * config/tc-aarch64.c (aarch64_cpus): Add ares.
162 * doc/c-aarch64.texi (-mcpu): Document ares value.
163
164 2019-01-08 Alan Modra <amodra@gmail.com>
165
166 * testsuite/gas/rx/rx.exp: Create generated test source in
167 current directory.
168 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
169 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
170 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
171 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
172 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
173 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
174 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
175 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
176 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
177 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
178 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
179 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
180 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
181 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
182 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
183 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
184 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
185 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
186 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
187 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
188 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
189 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
190 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
191 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
192 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
193 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
194 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
195 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
196 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
197 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
198 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
199 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
200 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
201 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
202 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
203 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
204 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
205 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
206 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
207 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
208 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
209 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
210 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
211 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
212 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
213 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
214 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
215 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
216 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
217 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
218 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
219 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
220 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
221 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
222 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
223 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
224 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
225 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
226 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
227 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
228 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
229 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
230 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
231 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
232 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
233 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
234 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
235 * testsuite/gas/rx/xor.d: Add #source line.
236
237 2019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
238
239 * config/tc-arm.c (arm_cpus): Add ares.
240 * doc/c-arm.texi (-mcpu): Document ares value.
241
242 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
243
244 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
245 (rx_bfield): Add prototype.
246 (rx_post): Likewise.
247 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
248 (DSIZE): Define.
249 (POST): Define.
250 (rx_check_v3): New. check v3 type.
251 (rx_check_dfpu): New. check have double support.
252 (double_condition_table): New. dcmp<cond> contiditon.
253 (check_condition): Multiple condition support.
254 (rx_lex): RXv3 instructions support.
255 Add parse dcmp<cond> instruction and Double FPU registers.
256 (immediate): Disable optimize in dmov #imm case.
257 (displacement): Add double displacement in dmov instraction.
258 * config/tc-rx.c (rx_use_conventional_section_names):
259 Invert default value in rx-*-linux target.
260 (cpu_type): Add additional ELF flags.
261 (cpu_type_list): Add RXv3.
262 (md_parse_option): Refer elf_flags from cpu_type_list.
263 (md_show_usage): Add rxv3 and rxv3-dfpu.
264 (rx_bytesT): Add post byte.
265 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
266 (rx_post): New. Set instruction post byte.
267 (md_assemble): Add post byte.
268 doc/c-rx.texi: Add cpu types.
269 * testsuite/gas/rx/Xtod.d: New.
270 * testsuite/gas/rx/Xtod.sm: New.
271 * testsuite/gas/rx/bfmov.d: New.
272 * testsuite/gas/rx/bfmov.sm: New.
273 * testsuite/gas/rx/dabs.d: New.
274 * testsuite/gas/rx/dabs.sm: New.
275 * testsuite/gas/rx/dadd.d: New.
276 * testsuite/gas/rx/dadd.sm: New.
277 * testsuite/gas/rx/dcmp.d: New.
278 * testsuite/gas/rx/dcmp.sm: New.
279 * testsuite/gas/rx/ddiv.d: New.
280 * testsuite/gas/rx/ddiv.sm: New.
281 * testsuite/gas/rx/dmov.d: New.
282 * testsuite/gas/rx/dmov.sm: New.
283 * testsuite/gas/rx/dmul.d: New.
284 * testsuite/gas/rx/dmul.sm: New.
285 * testsuite/gas/rx/dneg.d: New.
286 * testsuite/gas/rx/dneg.sm: New.
287 * testsuite/gas/rx/dpopm.d: New.
288 * testsuite/gas/rx/dpopm.sm: New.
289 * testsuite/gas/rx/dpushm.d: New.
290 * testsuite/gas/rx/dpushm.sm: New.
291 * testsuite/gas/rx/dround.d: New.
292 * testsuite/gas/rx/dround.sm: New.
293 * testsuite/gas/rx/dsqrt.d: New.
294 * testsuite/gas/rx/dsqrt.sm: New.
295 * testsuite/gas/rx/dsub.d: New.
296 * testsuite/gas/rx/dsub.sm: New.
297 * testsuite/gas/rx/dtoX.d: New.
298 * testsuite/gas/rx/dtoX.sm: New.
299 * testsuite/gas/rx/macros.inc: Add double FPU registers.
300 * testsuite/gas/rx/mvfdc.d: New.
301 * testsuite/gas/rx/mvfdc.sm: New.
302 * testsuite/gas/rx/mvfdr.d: New.
303 * testsuite/gas/rx/mvfdr.sm: New.
304 * testsuite/gas/rx/mvtdc.d: New.
305 * testsuite/gas/rx/mvtdc.sm: New.
306 * testsuite/gas/rx/rstr.d: New.
307 * testsuite/gas/rx/rstr.sm: New.
308 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
309 * testsuite/gas/rx/save.d: New.
310 * testsuite/gas/rx/save.sm: New.
311 * testsuite/gas/rx/xor.d: New.
312 * testsuite/gas/rx/xor.sm: Add pattern.
313
314 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
315
316 PR 24010
317 * macro.c (get_any_string): Check for end of input whilst scanning
318 for separators.
319
320 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
321
322 PR 24009
323 * read.c (stringer): Fix handling of missing '>' character at end
324 of <...> sequence.
325
326 2019-01-01 Alan Modra <amodra@gmail.com>
327
328 Update year range in copyright notice of all files.
329
330 For older changes see ChangeLog-2018
331 \f
332 Copyright (C) 2019 Free Software Foundation, Inc.
333
334 Copying and distribution of this file, with or without modification,
335 are permitted in any medium without royalty provided the copyright
336 notice and this notice are preserved.
337
338 Local Variables:
339 mode: change-log
340 left-margin: 8
341 fill-column: 74
342 version-control: never
343 End:
This page took 0.038788 seconds and 5 git commands to generate.