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