MIPS/GAS: Improve bignum operand error diagnostics
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2
3 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
4 rather than `match_not_constant' for unrelocated operands
5 retrieved as an `O_big' expression.
6 (match_int_operand): Call `match_out_of_range' for relocatable
7 operands retrieved as an `O_big' expression.
8 (match_mips16_insn): Call `match_out_of_range' for relaxable
9 operands retrieved as an `O_big' expression.
10 * testsuite/gas/mips/addiu-error.d: New test.
11 * testsuite/gas/mips/mips16@addiu-error.d: New test.
12 * testsuite/gas/mips/micromips@addiu-error.d: New test.
13 * testsuite/gas/mips/break-error.d: New test.
14 * testsuite/gas/mips/lui-1.l: Adjust error message.
15 * testsuite/gas/mips/addiu-error.l: New stderr output.
16 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
17 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
18 * testsuite/gas/mips/break-error.l: New stderr output.
19 * testsuite/gas/mips/addiu-error.s: New test source.
20 * testsuite/gas/mips/break-error.s: New test source.
21 * testsuite/gas/mips/mips.exp: Run the new tests.
22
23 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
24
25 * config/tc-mips.c (match_mips16_insn): Remove the explicit
26 OT_INTEGER check before the `match_expression' call.
27 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
28 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
29 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
30 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
31 * testsuite/gas/mips/mips16-reg-error.d: New test.
32 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
33 * testsuite/gas/mips/mips16-reg-error.s: New test source.
34 * testsuite/gas/mips/mips.exp: Run the new test.
35
36 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
37
38 * config/tc-mips.c (match_mips16_insn): Call
39 `match_not_constant' for a disallowed relocation operation.
40 * testsuite/gas/mips/mips16-reloc-error.d: New test.
41 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
42 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
43 * testsuite/gas/mips/mips.exp: Run the new test.
44
45 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
46
47 * testsuite/gas/mips/lui-1.d: New test.
48 * testsuite/gas/mips/lui-2.d: New test.
49 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
50 into the new tests.
51
52 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
53
54 * config/tc-mips.c (match_const_int): Update description.
55
56 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
57
58 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
59 mips16' rather than `.set mips16'.
60 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
61 `.module nomicromips' rather than `.set micromips' and `.set
62 nomicromips'.
63 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
64 rather than `.set smartmips'.
65 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
66 `.module micromips', `.module nomicromips' and `.module
67 smartmips' rather than `.set mips16', `.set micromips', `.set
68 nomicromips' and `.set smartmips' respectively.
69
70 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
71 Matthew Fortune <matthew.fortune@imgtec.com>
72
73 * config/tc-mips.c (mips_percent_op): Add "%gprel".
74 (mips16_percent_op): Add "%gp_rel".
75 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
76 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
77 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
78 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
79
80 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
81
82 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
83 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
84 * testsuite/gas/mips/mips16-64.d: Likewise.
85 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
86 * testsuite/gas/mips/mips16-macro.d: Likewise.
87 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
88 * testsuite/gas/mips/mips16-sub.d: Likewise.
89 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
90
91 2017-05-11 Maciej W. Rozycki <macro@imgtec.com>
92
93 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
94 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
95 * testsuite/gas/mips/mips.exp: Run the new tests.
96
97 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
98
99 * testsuite/gas/mips/isa-override-2.d: New test.
100 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
101 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
102 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
103 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
104 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
105 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
106 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
107 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
108 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
109 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
110 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
111 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
112 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
113 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
114 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
115 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
116 source.
117 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
118 source.
119 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
120 source.
121 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
122 source.
123 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
124 source.
125 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
126 source.
127 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
128 into the new tests.
129
130 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
131
132 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
133 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
134 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
135 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
136 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
137 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
138 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
139
140 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
141
142 * testsuite/gas/mips/mips16-macro.l: Remove list test.
143
144 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
145
146 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
147 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
148 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
149 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
150 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
151 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
152 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
153 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
154 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
155 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
156 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
157 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
158 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
159 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
160 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
161 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
162 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
163 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
164 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
165 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
166
167 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
168
169 * testsuite/gas/arc/attr-arc600.d: New file.
170 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
171 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
172 * testsuite/gas/arc/attr-arc601.d: Likewise.
173 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
174 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
175 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
176 * testsuite/gas/arc/attr-arc700.d: Likewise.
177 * testsuite/gas/arc/attr-arcem.d: Likewise.
178 * testsuite/gas/arc/attr-archs.d: Likewise.
179 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
180 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
181 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
182 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
183 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
184 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
185 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
186 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
187 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
188 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
189 * testsuite/gas/arc/attr-em.d: Likewise.
190 * testsuite/gas/arc/attr-em4.d: Likewise.
191 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
192 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
193 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
194 * testsuite/gas/arc/attr-hs.d: Likewise.
195 * testsuite/gas/arc/attr-hs34.d: Likewise.
196 * testsuite/gas/arc/attr-hs38.d: Likewise.
197 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
198 * testsuite/gas/arc/attr-mul64.d: Likewise.
199 * testsuite/gas/arc/attr-name.d: Likewise.
200 * testsuite/gas/arc/attr-name.s: Likewise.
201 * testsuite/gas/arc/attr-nps400.d: Likewise.
202 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
203 * testsuite/gas/arc/attr-override-mcpu.s
204 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
205 * testsuite/gas/arc/blank.s: Likewise.
206 * testsuite/gas/elf/section2.e-arc: Likewise.
207 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
208 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
209 * testsuite/gas/arc/nps400-0.d: Likewise.
210 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
211 * config/tc-arc.c (opcode/arc-attrs.h): Include.
212 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
213 (arc_attribute): Declare new function.
214 (md_pseudo_table): Add arc_attribute.
215 (cpu_types): Rename default cpu features.
216 (selected_cpu): Set the default OSABI flag.
217 (mpy_option): New variable.
218 (pic_option): Likewise.
219 (sda_option): Likewise.
220 (tls_option): Likewise.
221 (feature_type, feature_list): Remove.
222 (arc_initial_eflag): Likewise.
223 (attributes_set_explicitly): New variable.
224 (arc_check_feature): Check also for the conflicting features.
225 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
226 (arc_option): Remove setting of private flags and architecture.
227 (check_cpu_feature): Refactor feature names.
228 (autodetect_attributes): New function.
229 (assemble_tokens): Use above function.
230 (md_parse_option): Refactor feature names.
231 (arc_attribute): New function.
232 (arc_set_attribute_int): Likewise.
233 (arc_set_attribute_string): Likewise.
234 (arc_stralloc): Likewise.
235 (arc_set_public_attributes): Likewise.
236 (arc_md_end): Likewise.
237 (arc_copy_symbol_attributes): Likewise.
238 (rc_convert_symbolic_attribute): Likewise.
239 * config/tc-arc.h (md_end): Define.
240 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
241 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
242 * doc/c-arc.texi: Document ARC object attributes.
243
244 2017-05-03 Maciej W. Rozycki <macro@imgtec.com>
245
246 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
247 `nomacro' flags.
248 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
249 New macros.
250 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
251 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
252 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
253 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
254 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
255 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
256 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
257 (RELAX_MIPS16_CLEAR_MACRO): New macros.
258 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
259 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
260 (mips16_macro_frag): New function.
261 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
262 (mips_relax_frag): Likewise.
263 (md_convert_frag): Likewise.
264
265 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
266 add dump patterns.
267 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
268 subarchitecture.
269 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
270 NOP padding.
271 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
272 output, add dump patterns.
273 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
274 output, add dump patterns.
275 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
276 output, add dump patterns.
277 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
278 output, add dump patterns.
279 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
280 output, add dump patterns.
281 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
282 output, add dump patterns.
283 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
284 output, add dump patterns.
285 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
286 output, add dump patterns.
287 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
288 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
289 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
290 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
291 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
292 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
293 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
294 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
295 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
296 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
297
298 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
299 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
300 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
301 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
302 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
303 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
304 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
305 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
306 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
307 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
308 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
309 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
310 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
311 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
312 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
313 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
314 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
315 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
316 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
317 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
318 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
319 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
320 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
321 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
322 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
323 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
324 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
325 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
326 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
327 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
328 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
329 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
330 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
331 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
332 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
333 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
334 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
335 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
336 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
337 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
338 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
339 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
340 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
341 test.
342 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
343 test.
344 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
345 test.
346 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
347 test.
348 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
349 test.
350 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
351 test.
352 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
353 New test.
354 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
355 New test.
356 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
357 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
358 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
359 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
360 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
361 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
362 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
363 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
364 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
365 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
366 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
367 output.
368 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
369 output.
370 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
371 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
372 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
373 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
374 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
375 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
376 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
377 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
378 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
379 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
380 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
381 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
382 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
383 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
384 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
385 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
386 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
387 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
388 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
389 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
390 * testsuite/gas/mips/mips.exp: Run the new tests.
391
392 2017-05-03 Nick Clifton <nickc@redhat.com>
393
394 PR gas/20941
395 * symbols.c (snapshot_symbol): Handle the case where
396 resolve_expression returns a local symbol.
397
398 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
399
400 * config/tc-mips.c (append_insn): Call `symbol_append' for any
401 expression symbol created for MIPS16 relaxation.
402 (match_mips16_insn): Don't encode a constant value as an
403 immediate with a PC-relative operand.
404
405 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
406 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
407 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
408 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
409 test.
410 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
411 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
412 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
413 test.
414 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
415 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
416 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
417 test.
418 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
419 output.
420 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
421 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
422 source.
423 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
424 source.
425 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
426 source.
427 * testsuite/gas/mips/mips.exp: Run the new tests.
428
429 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
430
431 * config/tc-mips.c (mips16_pcrel_val): New function, factored
432 out from...
433 (mips16_extended_frag): ... here.
434 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
435 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
436
437 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
438
439 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
440 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
441 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
442 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
443 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
444 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
445 (mips16_extended_frag): Adjust accordingly.
446
447 2017-04-27 Alan Modra <amodra@gmail.com>
448
449 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
450
451 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
452
453 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
454 (RELAX_PIC): New macro.
455 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
456 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
457 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
458 Shift bits.
459 (RELAX_BRANCH_ENCODE): Add `pic' flag.
460 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
461 (RELAX_BRANCH_TOOFAR): Shift bits.
462 (RELAX_BRANCH_PIC): New macro.
463 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
464 (RELAX_MICROMIPS_PIC): New macro.
465 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
466 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
467 (RELAX_MICROMIPS_RELAX32): Shift bits.
468 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
469 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
470 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
471 first fixup created.
472 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
473 fixup processed rather than `mips_pic' in choosing to relax an
474 out of range branch to a jump.
475 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
476 rather than `mips_pic'.
477 (relaxed_micromips_32bit_branch_length): Likewise.
478 (md_estimate_size_before_relax): Likewise.
479 (md_convert_frag): Likewise.
480
481 * testsuite/gas/mips/option-pic-relax-0.d: New test.
482 * testsuite/gas/mips/option-pic-relax-1.d: New test.
483 * testsuite/gas/mips/option-pic-relax-2.d: New test.
484 * testsuite/gas/mips/option-pic-relax-3.d: New test.
485 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
486 * testsuite/gas/mips/option-pic-relax-4.d: New test.
487 * testsuite/gas/mips/option-pic-relax-5.d: New test.
488 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
489 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
490 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
491 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
492 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
493 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
494 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
495 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
496 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
497 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
498 * testsuite/gas/mips/mips.exp: Run the new tests.
499
500 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
501
502 * testsuite/gas/arc/leave_enter.d: Update test.
503 * testsuite/gas/arc/leave_enter.s: Likewise.
504
505 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
506
507 * testsuite/gas/arc/b.d: Update test.
508 * testsuite/gas/arc/noargs_hs.d: Likewise.
509
510 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
511
512 * config/tc-mips.c (md_convert_frag): Correct
513 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
514 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
515 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
516 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
517 output.
518 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
519 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
520 * testsuite/gas/mips/mips.exp: Run the new tests.
521
522 2017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
523
524 PR gas/21407
525 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
526 instructions into branch instructions in fixups generating
527 additional relocations.
528 * testsuite/gas/sparc/call-relax.s: New file.
529 * testsuite/gas/sparc/call-relax.d: Likewise.
530 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
531 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
532
533 2017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
534
535 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
536 Forbid MOV.W and MOVW if destination is SP or PC.
537 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
538 expectation of LDR not generating a MOVS for low registers and small
539 constants. Add tests of MOVW generation.
540 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
541 expected disassembly.
542
543 2017-04-22 Alan Modra <amodra@gmail.com>
544
545 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
546 * testsuite/gas/ppc/vle.d: Update.
547
548 2017-04-21 Nick Clifton <nickc@redhat.com>
549
550 PR binutils/21380
551 * testsuite/gas/aarch64/illegal-3.s: New file.
552 * testsuite/gas/aarch64/illegal-3.d: New file.
553
554 2017-04-11 Alan Modra <amodra@gmail.com>
555
556 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
557 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
558
559 2017-04-10 Max Filippov <jcmvbkbc@gmail.com>
560
561 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
562 Initialize lps->frag_count with auto_litpool_limit.
563 (xg_promote_candidate_litpool): New function.
564 (xtensa_move_literals): Extract candidate litpool promotion code
565 into separate function. Call it for all possible found
566 candidates.
567 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
568 call to xtensa_mark_literal_pool_location that it guards.
569 Replace it with call to xtensa_maybe_create_literal_pool_frag.
570 Initialize pool_location with created literal pool candidate.
571 * testsuite/gas/xtensa/all.exp: Add new tests.
572 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
573 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
574 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
575 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
576 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
577 to additional jump instruction.
578
579 2017-04-07 Alan Modra <amodra@gmail.com>
580
581 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
582 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
583
584 2017-04-07 Alan Modra <amodra@gmail.com>
585
586 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
587 for .mbind.text.
588
589 2017-04-06 Pip Cet <pipcet@gmail.com>
590
591 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
592 changes.
593 * testsuite/gas/wasm32/disass.d: New test.
594 * testsuite/gas/wasm32/disass.s: New test.
595 * testsuite/gas/wasm32/disass-2.d: New test.
596 * testsuite/gas/wasm32/disass-2.s: New test.
597 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
598 names.
599 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
600 syntax.
601 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
602 test to succeed.
603
604 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
605
606 * NEWS: Mention support for ELF SHF_GNU_MBIND.
607 * config/obj-elf.c (section_match): New.
608 (get_section): Match both sh_info and group name.
609 (obj_elf_change_section): Add argument for sh_info. Pass both
610 sh_info and group name to get_section. Issue an error for
611 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
612 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
613 (obj_elf_section): Support SHF_GNU_MBIND section info.
614 * config/obj-elf.h (obj_elf_change_section): Add argument for
615 sh_info.
616 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
617 obj_elf_change_section.
618 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
619 * config/tc-microblaze.c (microblaze_s_data): Likewise.
620 (microblaze_s_sdata): Likewise.
621 (microblaze_s_rdata): Likewise.
622 (microblaze_s_bss): Likewise.
623 * config/tc-mips.c (s_change_section): Likewise.
624 * config/tc-msp430.c (msp430_profiler): Likewise.
625 * config/tc-rx.c (parse_rx_section): Likewise.
626 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
627 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
628 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
629 section13.
630 * testsuite/gas/elf/section10.d: Updated.
631 * testsuite/gas/elf/section10.s: Likewise.
632 * testsuite/gas/elf/section12.s: New file.
633 * testsuite/gas/elf/section12a.d: Likewise.
634 * testsuite/gas/elf/section12b.d: Likewise.
635 * testsuite/gas/elf/section13.l: Likewise.
636 * testsuite/gas/elf/section13.d: Likewise.
637 * testsuite/gas/elf/section13.s: Likewise.
638
639 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
640
641 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
642 avoid const warnings.
643
644 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
645
646 * config/tc-riscv.c (riscv_clear_subsets): New function.
647 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
648 clear RVC when it's been previously set.
649
650 2017-03-31 Nick Clifton <nickc@redhat.com>
651
652 PR gas/21333
653 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
654 fixups in mergeable sections to be adjusted.
655
656 2017-03-30 Pip Cet <pipcet@gmail.com>
657
658 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
659 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
660 * Makefile.am: Add WebAssembly assembler target.
661 * configure.tgt: Add WebAssembly assembler target.
662 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
663 assembler.
664 * doc/all.texi: Define WASM32.
665 * doc/as.texinfo: Add WebAssembly entries.
666 * NEWS: Mention the new support.
667 * Makefile.in: Regenerate.
668 * po/gas.pot: Regenerate.
669 * po/POTFILES.in: Regenerate.
670 * testsuite/gas/wasm32: New directory.
671 * testsuite/gas/wasm32/allinsn.d: New file.
672 * testsuite/gas/wasm32/allinsn.s: New file.
673 * testsuite/gas/wasm32/illegal.l: New file.
674 * testsuite/gas/wasm32/illegal.s: New file.
675 * testsuite/gas/wasm32/illegal-2.l: New file.
676 * testsuite/gas/wasm32/illegal-2.s: New file.
677 * testsuite/gas/wasm32/illegal-3.l: New file.
678 * testsuite/gas/wasm32/illegal-3.s: New file.
679 * testsuite/gas/wasm32/illegal-4.l: New file.
680 * testsuite/gas/wasm32/illegal-4.s: New file.
681 * testsuite/gas/wasm32/illegal-5.l: New file.
682 * testsuite/gas/wasm32/illegal-5.s: New file.
683 * testsuite/gas/wasm32/illegal-6.l: New file.
684 * testsuite/gas/wasm32/illegal-6.s: New file.
685 * testsuite/gas/wasm32/illegal-7.l: New file.
686 * testsuite/gas/wasm32/illegal-7.s: New file.
687 * testsuite/gas/wasm32/illegal-8.l: New file.
688 * testsuite/gas/wasm32/illegal-8.s: New file.
689 * testsuite/gas/wasm32/illegal-9.l: New file.
690 * testsuite/gas/wasm32/illegal-9.s: New file.
691 * testsuite/gas/wasm32/illegal-10.l: New file.
692 * testsuite/gas/wasm32/illegal-10.s: New file.
693 * testsuite/gas/wasm32/illegal-11.l: New file.
694 * testsuite/gas/wasm32/illegal-11.s: New file.
695 * testsuite/gas/wasm32/illegal-12.l: New file.
696 * testsuite/gas/wasm32/illegal-12.s: New file.
697 * testsuite/gas/wasm32/illegal-13.l: New file.
698 * testsuite/gas/wasm32/illegal-13.s: New file.
699 * testsuite/gas/wasm32/illegal-14.l: New file.
700 * testsuite/gas/wasm32/illegal-14.s: New file.
701 * testsuite/gas/wasm32/illegal-15.l: New file.
702 * testsuite/gas/wasm32/illegal-15.s: New file.
703 * testsuite/gas/wasm32/illegal-16.l: New file.
704 * testsuite/gas/wasm32/illegal-16.s: New file.
705 * testsuite/gas/wasm32/illegal-17.l: New file.
706 * testsuite/gas/wasm32/illegal-17.s: New file.
707 * testsuite/gas/wasm32/illegal-18.l: New file.
708 * testsuite/gas/wasm32/illegal-18.s: New file.
709 * testsuite/gas/wasm32/illegal-19.l: New file.
710 * testsuite/gas/wasm32/illegal-19.s: New file.
711 * testsuite/gas/wasm32/illegal-20.l: New file.
712 * testsuite/gas/wasm32/illegal-20.s: New file.
713 * testsuite/gas/wasm32/illegal-21.l: New file.
714 * testsuite/gas/wasm32/illegal-21.s: New file.
715 * testsuite/gas/wasm32/illegal-22.l: New file.
716 * testsuite/gas/wasm32/illegal-22.s: New file.
717 * testsuite/gas/wasm32/illegal-24.l: New file.
718 * testsuite/gas/wasm32/illegal-24.s: New file.
719 * testsuite/gas/wasm32/illegal-25.l: New file.
720 * testsuite/gas/wasm32/illegal-25.s: New file.
721 * testsuite/gas/wasm32/reloc.d: New file.
722 * testsuite/gas/wasm32/reloc.s: New file.
723 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
724 architecture.
725
726 2017-03-29 Alan Modra <amodra@gmail.com>
727
728 * config/tc-ppc.c (md_parse_option): Reject -mraw.
729
730 2017-03-27 Alan Modra <amodra@gmail.com>
731
732 PR 21303
733 * testsuite/gas/ppc/pr21303.d,
734 * testsuite/gas/ppc/pr21303.s: New test
735 * testsuite/gas/ppc/ppc.exp: Run it.
736
737 2017-03-27 Rinat Zelig <rinat@mellanox.com>
738
739 * testsuite/gas/arc/nps400-12.s: New file.
740 * testsuite/gas/arc/nps400-12.d: New file.
741
742 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
743
744 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
745 CPU_DEFAULT is defined.
746
747 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
748
749 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
750 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
751 print an invalid default ISA string.
752 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
753
754 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
755
756 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
757 reassigned fixup to size of jump instruction (3) and fx_r_type
758 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
759 (add_jump_to_trampoline): Search
760 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
761 symbol and use that slot instead of slot 0.
762
763 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
764
765 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
766 from cpu_table. Remove vx2, and novx2 from cpu_flags.
767
768 2017-03-21 Rinat Zelig <rinat@mellanox.com>
769
770 * testsuite/gas/arc/nps400-11.s: New file.
771 * testsuite/gas/arc/nps400-11.d: New file.
772
773 2017-03-20 Nick Clifton <nickc@redhat.com>
774
775 * doc/as.texinfo (2byte): Note that if no expressions are present
776 the directive does nothing. Emphasize that the output is
777 unaligned, and that this can have an effect on the relocations
778 generated.
779 (4byte): Simplify description. Refer back to the 2byte
780 description.
781 (8byte): Likewise.
782
783 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
784
785 * config/tc-arm.c (arm_fpus): Note entires that should not be
786 documented.
787 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
788 neon-fp16. Fix spelling error.
789
790 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
791
792 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
793
794 2017-03-16 Rinat Zelig <rinat@mellanox.com>
795
796 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
797 specially for ARCv2.
798
799 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
800
801 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
802 encoding format, which can accept 0-valued immediates.
803 (riscv_ip): Likewise.
804
805 2017-03-15 Nick Clifton <nickc@redhat.com>
806
807 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
808 warning about discarding a const qualifier.
809
810 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
811
812 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
813
814 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
815
816 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
817 fx_next->fx_frag for CFA_advance_loc relocations.
818
819 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
820
821 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
822 for CFA relocations.
823
824 2017-03-13 Nick Clifton <nickc@redhat.com>
825
826 PR binutils/21202
827 * config/tc-aarch64.c (reloc_table): Rename
828 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
829 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
830 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
831 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
832 (md_apply_fix): Likewise.
833 (aarch64_force_relocation): Likewise.
834 * testsuite/gas/aarch64/tls.d: Update regexp.
835
836 2017-03-10 Tobin C. Harding <me@tobin.cc>
837 Nick Clifton <nickc@redhat.com>
838
839 * doc/as.texinfo (2byte): Tidy up wording. Add note that
840 overlarge values will produce a warning message and be trunacted.
841 (4byte): Likewise.
842
843 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
844
845 * config/tc-i386.c (_i386_insn): Add dir_encoding and
846 vec_encoding. Remove swap_operand and need_vrex.
847 (extra_symbol_chars): Add '}'.
848 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
849 mnemonic.
850 (build_vex_prefix): Don't use 2-byte VEX encoding with
851 {vex3}. Check dir_encoding and load.
852 (parse_insn): Check pseudo prefixes. Set dir_encoding.
853 (VEX_check_operands): Likewise.
854 (match_template): Check dir_encoding and load.
855 (parse_real_register): Set vec_encoding instead of need_vrex.
856 (parse_register): Likewise.
857 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
858 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
859 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
860 * testsuite/gas/i386/pseudos.d: New file.
861 * testsuite/gas/i386/pseudos.s: Likewise.
862 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
863 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
864
865 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
866
867 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
868 (objdump): Use the -Mpower8 option.
869
870 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
871
872 * testsuite/gas/ppc/power9.d <lnia> New test.
873 * testsuite/gas/ppc/power9.s: Likewise.
874
875 2017-03-07 Alan Modra <amodra@gmail.com>
876
877 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
878
879 2017-03-07 Tobin C. Harding <me@tobin.cc>
880 Alan Modra <amodra@gmail.com>
881
882 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
883 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
884
885 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
886
887 * config/tc-i386.c (cpu_arch): Add .cet.
888 * doc/c-i386.texi: Document cet.
889 * testsuite/gas/i386/cet-intel.d: New file.
890 * testsuite/gas/i386/cet.d: Likewise.
891 * testsuite/gas/i386/cet.s: Likewise.
892 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
893 * testsuite/gas/i386/x86-64-cet.d: Likewise.
894 * testsuite/gas/i386/x86-64-cet.s: Likewise.
895 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
896
897 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
898
899 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
900 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
901
902 2017-03-06 Alan Modra <amodra@gmail.com>
903
904 * dw2gencfi.c (encoding_size): Return unsigned int.
905 (emit_expr_encoded): Assert size matches reloc bitsize.
906 (output_fde): Use unsigned for offset_size and addr_size. Set
907 addr_size earlier and use in place of constant 4 and uses of
908 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
909
910 2017-03-06 Alan Modra <amodra@gmail.com>
911
912 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
913 auto reformat. Formatting and whitespace fixes.
914
915 2017-03-05 Mark Wielaard <mark@klomp.org>
916
917 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
918 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
919 (out_debug_info): Accept symbols to name, comp_dir and producer in
920 the .debug_str section and emit those offsets not full strings.
921 (out_debug_str): New function that outputs the strings for name,
922 comp_dir and producer in .debug_str and generates symbols to those
923 strings.
924 (out_debug_line): Create a .debug_str section if necessary and call
925 out_debug_str before calling out_debug_info.
926 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
927 output.
928
929 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
930
931 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
932 part of the frag has overrun the location requested.
933
934 * testsuite/gas/all/org-1.d: New test.
935 * testsuite/gas/all/org-2.d: New test.
936 * testsuite/gas/all/org-3.d: New test.
937 * testsuite/gas/all/org-4.d: New test.
938 * testsuite/gas/all/org-5.d: New test.
939 * testsuite/gas/all/org-6.d: New test.
940 * testsuite/gas/all/org-1.l: New stderr output.
941 * testsuite/gas/all/org-2.l: New stderr output.
942 * testsuite/gas/all/org-3.l: New stderr output.
943 * testsuite/gas/all/org-1.s: New test source.
944 * testsuite/gas/all/org-2.s: New test source.
945 * testsuite/gas/all/org-3.s: New test source.
946 * testsuite/gas/all/org-4.s: New test source.
947 * testsuite/gas/all/org-5.s: New test source.
948 * testsuite/gas/all/org-6.s: New test source.
949 * testsuite/gas/all/gas.exp: Run the new tests.
950
951 * testsuite/gas/mips/org-1.d: New test.
952 * testsuite/gas/mips/org-2.d: New test.
953 * testsuite/gas/mips/org-3.d: New test.
954 * testsuite/gas/mips/org-4.d: New test.
955 * testsuite/gas/mips/org-5.d: New test.
956 * testsuite/gas/mips/org-6.d: New test.
957 * testsuite/gas/mips/org-7.d: New test.
958 * testsuite/gas/mips/org-8.d: New test.
959 * testsuite/gas/mips/org-9.d: New test.
960 * testsuite/gas/mips/org-10.d: New test.
961 * testsuite/gas/mips/org-11.d: New test.
962 * testsuite/gas/mips/org-12.d: New test.
963 * testsuite/gas/mips/org-1.l: New stderr output.
964 * testsuite/gas/mips/org-4.l: New stderr output.
965 * testsuite/gas/mips/org-5.l: New stderr output.
966 * testsuite/gas/mips/org-6.l: New stderr output.
967 * testsuite/gas/mips/org-10.l: New stderr output.
968 * testsuite/gas/mips/org-1.s: New test source.
969 * testsuite/gas/mips/org-2.s: New test source.
970 * testsuite/gas/mips/org-3.s: New test source.
971 * testsuite/gas/mips/org-4.s: New test source.
972 * testsuite/gas/mips/org-5.s: New test source.
973 * testsuite/gas/mips/org-6.s: New test source.
974 * testsuite/gas/mips/org-7.s: New test source.
975 * testsuite/gas/mips/org-8.s: New test source.
976 * testsuite/gas/mips/org-9.s: New test source.
977 * testsuite/gas/mips/org-10.s: New test source.
978 * testsuite/gas/mips/org-11.s: New test source.
979 * testsuite/gas/mips/org-12.s: New test source.
980 * testsuite/gas/mips/mips.exp: Run the new tests.
981
982 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
983
984 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
985
986 2017-02-28 Jan Beulich <jbeulich@suse.com>
987
988 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
989 VPCMPESTR{I,M}.
990 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
991 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
992 of PCMPESTR{I,M}.
993 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
994 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
995 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
996 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
997 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
998 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
999 * testsuite/gas/i386/x86-64-avx.d: Likewise.
1000 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
1001 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
1002 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
1003
1004 2017-02-28 Alan Modra <amodra@gmail.com>
1005
1006 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1007
1008 2017-02-28 Alan Modra <amodra@gmail.com>
1009
1010 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
1011 (md_apply_fix): Remove fx_subsy check. Move code converting to
1012 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
1013 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
1014 that is done now by the generic code via..
1015 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
1016 (TC_VALIDATE_FIX_SUB): Define.
1017
1018 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1019
1020 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
1021 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
1022 encoding patterns.
1023 * testsuite/gas/mips/jalr4-n64.d: Likewise.
1024 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
1025 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
1026 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
1027
1028 2017-02-25 Alan Modra <amodra@gmail.com>
1029
1030 * testsuite/gas/elf/strtab.s: Don't put directives on first
1031 column or continuation with labels not in first column.
1032
1033 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1034
1035 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
1036 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
1037 to be used with SVE registers.
1038 (parse_operands): Handle new SVE operands.
1039 (aarch64_features): Make "sve" require F16 rather than FP. Also
1040 require COMPNUM.
1041 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
1042 Include compnum tests.
1043 * testsuite/gas/aarch64/sve.d: Update accordingly.
1044 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
1045 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
1046 update expected output for new FMOV and MOV alternatives.
1047
1048 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1049
1050 * doc/c-aarch64.texi: Add a "compnum" entry.
1051 * config/tc-aarch64.c (aarch64_features): Likewise,
1052 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
1053 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
1054
1055 2017-02-24 Jan Beulich <jbeulich@suse.com>
1056
1057 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
1058 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
1059 * testsuite/gas/i386/opcode.d: Adjust accordingly.
1060 * testsuite/gas/i386/opcode-intel.d: Likewise.
1061 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
1062 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
1063
1064 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
1065
1066 Test cases for the architecture level aware SPARC ASI work.
1067 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
1068 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
1069 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
1070 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
1071 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
1072
1073 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1074
1075 * testsuite/gas/mips/jalr4.d: New test.
1076 * testsuite/gas/mips/jalr4-n32.d: New test.
1077 * testsuite/gas/mips/jalr4-n64.d: New test.
1078 * testsuite/gas/mips/jalr4.s: New test source.
1079 * testsuite/gas/mips/mips.exp: Run the new tests.
1080
1081 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
1082
1083 Add support for associating SPARC ASIs with an architecture level.
1084 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
1085
1086 2017-02-23 Jan Beulich <jbeulich@suse.com>
1087
1088 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
1089 of symbols as expression.
1090
1091 2017-02-23 Jan Beulich <jbeulich@suse.com>
1092
1093 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
1094 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
1095 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
1096 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
1097
1098 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1099
1100 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
1101 `md_flush_pending_output'.
1102 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
1103 `md_flush_pending_output' unconditionally.
1104 * testsuite/gas/mips/debug-label-end-1.d: New test.
1105 * testsuite/gas/mips/debug-label-end-2.d: New test.
1106 * testsuite/gas/mips/debug-label-end-3.d: New test.
1107 * testsuite/gas/mips/debug-label-end.s: New test source.
1108 * testsuite/gas/mips/mips.exp: Run the new tests.
1109
1110 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
1111
1112 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
1113 targets yielding an error message matching "too complex".
1114
1115 2017-02-22 Nick Clifton <nickc@redhat.com>
1116
1117 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
1118
1119 2017-02-21 Jan Beulich <jbeulich@suse.com>
1120
1121 * expr.c (operand): Handle missing operand to .startof.() and
1122 .sizeof.().
1123 * testsuite/gas/all/err-sizeof.s: New.
1124
1125 2017-02-20 Alan Modra <amodra@gmail.com>
1126
1127 PR 21118
1128 * NEWS: Revise powerpc register check.
1129 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
1130 register expression" a warning.
1131
1132 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
1133
1134 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
1135 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
1136 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
1137 * testsuite/gas/mips/aent-2.d: New test.
1138 * testsuite/gas/mips/aent-mdebug.d: New test.
1139 * testsuite/gas/mips/aent-mdebug-2.d: New test.
1140 * testsuite/gas/mips/mips.exp: Run the new tests.
1141
1142 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1143
1144 * testsuite/gas/aarch64/sve-sysreg.s,
1145 testsuite/gas/aarch64/sve-sysreg.d,
1146 testsuite/gas/aarch64/sve-sysreg-invalid.d,
1147 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
1148
1149 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1150
1151 * doc/c-aarch64.texi: Fix sve entry.
1152
1153 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
1154
1155 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
1156 information from input expression.
1157 (assemble_insn): Make sure pcrel is correctly set.
1158 (arc_pcrel_adjust): Compensate for PCL rounding.
1159 * testsuite/gas/arc/relax-add01.d: New file.
1160 * testsuite/gas/arc/relax-add01.s: Likewise.
1161 * testsuite/gas/arc/relax-add02.d: Likewise.
1162 * testsuite/gas/arc/relax-add02.s: Likewise.
1163 * testsuite/gas/arc/relax-add03.d: Likewise.
1164 * testsuite/gas/arc/relax-add03.s: Likewise.
1165 * testsuite/gas/arc/relax-add04.d: Likewise.
1166 * testsuite/gas/arc/relax-add04.s: Likewise.
1167 * testsuite/gas/arc/relax-ld01.d: Likewise.
1168 * testsuite/gas/arc/relax-ld01.s: Likewise.
1169 * testsuite/gas/arc/relax-ld02.d: Likewise.
1170 * testsuite/gas/arc/relax-ld02.s: Likewise.
1171 * testsuite/gas/arc/relax-mov01.d: Likewise.
1172 * testsuite/gas/arc/relax-mov01.s: Likewise.
1173 * testsuite/gas/arc/relax-mov02.d: Likewise.
1174 * testsuite/gas/arc/relax-mov02.s: Likewise.
1175 * testsuite/gas/arc/relax-mpy01.d: Likewise.
1176 * testsuite/gas/arc/relax-mpy01.s: Likewise.
1177 * testsuite/gas/arc/relax-sub01.d: Likewise.
1178 * testsuite/gas/arc/relax-sub01.s: Likewise.
1179 * testsuite/gas/arc/relax-sub02.d: Likewise.
1180 * testsuite/gas/arc/relax-sub02.s: Likewise.
1181 * testsuite/gas/arc/relax-sub03.d: Likewise.
1182 * testsuite/gas/arc/relax-sub03.s: Likewise.
1183 * testsuite/gas/arc/relax-sub04.d: Likewise.
1184 * testsuite/gas/arc/relax-sub04.s: Likewise.
1185
1186 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
1187
1188 * testsuite/gas/arc/st.d: Update for 0xe having a name now
1189
1190 2017-02-14 Alan Modra <amodra@gmail.com>
1191
1192 PR 21118
1193 * NEWS: Mention powerpc register checks.
1194 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
1195 (pre_defined_registers): Delete fpscr and pmr entries. Set
1196 register type in flags.
1197 (cr_names): Set type in flags.
1198 (reg_name_search): Return pointer to struct pd_reg rather than value.
1199 (register_name): Adjust to suit. Set X_md from flags.
1200 (ppc_parse_name): Likewise.
1201 (ppc_optimize_expr): New function.
1202 (md_assemble): Verify expresion reg flags match operand.
1203 * config/tc-ppc.h (md_optimize_expr): Define.
1204 (ppc_optimize_expr): Declare.
1205
1206 2017-02-14 Alan Modra <amodra@gmail.com>
1207
1208 * testsuite/gas/ppc/cell.s: Correct invalid registers.
1209 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
1210 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
1211
1212 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1213
1214 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
1215 syntax.
1216 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
1217 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
1218
1219 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
1220
1221 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
1222
1223 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1224
1225 * doc/as.texinfo (Overview): Select MIPS options for man page
1226 inclusion.
1227
1228 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1229
1230 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
1231 (options): Add OPTION_IGNORE_BRANCH_ISA and
1232 OPTION_NO_IGNORE_BRANCH_ISA enum values.
1233 (md_longopts): Add "mignore-branch-isa" and
1234 "mno-ignore-branch-isa" options.
1235 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
1236 OPTION_NO_IGNORE_BRANCH_ISA.
1237 (fix_bad_cross_mode_branch_p): Return FALSE if
1238 `mips_ignore_branch_isa' has been set.
1239 (md_show_usage): Add `-mignore-branch-isa' and
1240 `-mno-ignore-branch-isa'.
1241
1242 * doc/as.texinfo (Target MIPS options): Add
1243 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
1244 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
1245 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
1246 `-mno-ignore-branch-isa' options.
1247
1248 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
1249 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
1250 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
1251 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
1252 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
1253 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
1254 * testsuite/gas/mips/mips.exp: Run the new tests.
1255
1256 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1257
1258 * testsuite/gas/mips/branch-local-2.d: New test.
1259 * testsuite/gas/mips/branch-local-3.d: New test.
1260 * testsuite/gas/mips/branch-local-n32-2.d: New test.
1261 * testsuite/gas/mips/branch-local-n32-3.d: New test.
1262 * testsuite/gas/mips/branch-local-n64-2.d: New test.
1263 * testsuite/gas/mips/branch-local-n64-3.d: New test.
1264 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
1265 into the new tests.
1266
1267 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
1268
1269 PR 21056
1270 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
1271 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
1272
1273 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1274
1275 * configure.tgt (aarch64*-*-rtems*): Remove.
1276 (bfin-*-rtems*): Likewise.
1277 (h8300-*-rtems*): Likewise.
1278 (i386-*-rtems*): Likewise.
1279 (m32c-*-rtems*): Likewise.
1280 (m32r-*-rtems*): Likewise.
1281 (m68k-*-rtems*): Likewise.
1282 (mips-*-rtems*): Likewise.
1283 (nios2-*-rtems*): Likewise.
1284 (ppc-*-rtems*): Likewise.
1285 (sh-*-rtems*): Likewise.
1286 (sparc64-*-rtems*): Likewise.
1287 (sparc-*-rtems*): Likewise.
1288 (*-*-rtems*) Use ELF format.
1289
1290 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1291
1292 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
1293
1294 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1295
1296 * configure.tgt (sh-*-rtemscoff*): Remove.
1297
1298 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
1299
1300 * configure.tgt (riscv*-*-*): Remove em=linux.
1301
1302 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
1303
1304 PR gas/21072
1305 * asintl.h: Fix spelling mistakes and typos.
1306 * atof-generic.c: Likewise.
1307 * bit_fix.h: Likewise.
1308 * config/atof-ieee.c: Likewise.
1309 * config/bfin-defs.h: Likewise.
1310 * config/bfin-parse.y: Likewise.
1311 * config/obj-coff-seh.h: Likewise.
1312 * config/obj-coff.c: Likewise.
1313 * config/obj-evax.c: Likewise.
1314 * config/obj-macho.c: Likewise.
1315 * config/rx-parse.y: Likewise.
1316 * config/tc-aarch64.c: Likewise.
1317 * config/tc-alpha.c: Likewise.
1318 * config/tc-arc.c: Likewise.
1319 * config/tc-arm.c: Likewise.
1320 * config/tc-avr.c: Likewise.
1321 * config/tc-bfin.c: Likewise.
1322 * config/tc-cr16.c: Likewise.
1323 * config/tc-cris.c: Likewise.
1324 * config/tc-crx.c: Likewise.
1325 * config/tc-d10v.c: Likewise.
1326 * config/tc-d30v.c: Likewise.
1327 * config/tc-dlx.c: Likewise.
1328 * config/tc-epiphany.c: Likewise.
1329 * config/tc-frv.c: Likewise.
1330 * config/tc-hppa.c: Likewise.
1331 * config/tc-i370.c: Likewise.
1332 * config/tc-i386-intel.c: Likewise.
1333 * config/tc-i386.c: Likewise.
1334 * config/tc-i960.c: Likewise.
1335 * config/tc-ia64.c: Likewise.
1336 * config/tc-m32r.c: Likewise.
1337 * config/tc-m68hc11.c: Likewise.
1338 * config/tc-m68k.c: Likewise.
1339 * config/tc-mcore.c: Likewise.
1340 * config/tc-mep.c: Likewise.
1341 * config/tc-mep.h: Likewise.
1342 * config/tc-metag.c: Likewise.
1343 * config/tc-microblaze.c: Likewise.
1344 * config/tc-mips.c: Likewise.
1345 * config/tc-mmix.c: Likewise.
1346 * config/tc-mn10200.c: Likewise.
1347 * config/tc-mn10300.c: Likewise.
1348 * config/tc-msp430.c: Likewise.
1349 * config/tc-msp430.h: Likewise.
1350 * config/tc-nds32.c: Likewise.
1351 * config/tc-nds32.h: Likewise.
1352 * config/tc-nios2.c: Likewise.
1353 * config/tc-nios2.h: Likewise.
1354 * config/tc-ns32k.c: Likewise.
1355 * config/tc-pdp11.c: Likewise.
1356 * config/tc-ppc.c: Likewise.
1357 * config/tc-pru.c: Likewise.
1358 * config/tc-rx.c: Likewise.
1359 * config/tc-s390.c: Likewise.
1360 * config/tc-score.c: Likewise.
1361 * config/tc-score7.c: Likewise.
1362 * config/tc-sh.c: Likewise.
1363 * config/tc-sh64.c: Likewise.
1364 * config/tc-sparc.c: Likewise.
1365 * config/tc-tic4x.c: Likewise.
1366 * config/tc-tic54x.c: Likewise.
1367 * config/tc-v850.c: Likewise.
1368 * config/tc-vax.c: Likewise.
1369 * config/tc-visium.c: Likewise.
1370 * config/tc-xgate.c: Likewise.
1371 * config/tc-xtensa.c: Likewise.
1372 * config/tc-z80.c: Likewise.
1373 * config/tc-z8k.c: Likewise.
1374 * config/te-vms.c: Likewise.
1375 * config/xtensa-relax.c: Likewise.
1376 * doc/as.texinfo: Likewise.
1377 * doc/c-arm.texi: Likewise.
1378 * doc/c-hppa.texi: Likewise.
1379 * doc/c-i370.texi: Likewise.
1380 * doc/c-i386.texi: Likewise.
1381 * doc/c-m32r.texi: Likewise.
1382 * doc/c-m68k.texi: Likewise.
1383 * doc/c-mmix.texi: Likewise.
1384 * doc/c-msp430.texi: Likewise.
1385 * doc/c-nds32.texi: Likewise.
1386 * doc/c-ns32k.texi: Likewise.
1387 * doc/c-riscv.texi: Likewise.
1388 * doc/c-rx.texi: Likewise.
1389 * doc/c-s390.texi: Likewise.
1390 * doc/c-tic6x.texi: Likewise.
1391 * doc/c-tilegx.texi: Likewise.
1392 * doc/c-tilepro.texi: Likewise.
1393 * doc/c-v850.texi: Likewise.
1394 * doc/c-xgate.texi: Likewise.
1395 * doc/c-xtensa.texi: Likewise.
1396 * dwarf2dbg.c: Likewise.
1397 * ecoff.c: Likewise.
1398 * itbl-ops.c: Likewise.
1399 * listing.c: Likewise.
1400 * macro.c: Likewise.
1401 * po/gas.pot: Likewise.
1402 * read.c: Likewise.
1403 * struc-symbol.h: Likewise.
1404 * symbols.h: Likewise.
1405 * testsuite/gas/arc/relocs-errors.err: Likewise.
1406 * write.c: Likewise.
1407
1408 2017-01-23 Nick Clifton <nickc@redhat.com>
1409
1410 * po/sv.po: Updated Swedish translation.
1411
1412 2017-01-20 Nick Clifton <nickc@redhat.com>
1413
1414 * config/tc-i386.c (parse_operands): Check for operand overflow
1415 before setting the unspecified bit.
1416
1417 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1418
1419 PR gas/20649
1420 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
1421 symbols, remove the `segtype' parameter.
1422 (mips_frob_file, md_estimate_size_before_relax): Adjust
1423 accordingly.
1424 (s_is_linkonce): Add an explanatory comment.
1425 * testsuite/gas/mips/comdat-reloc.d: New test.
1426 * testsuite/gas/mips/comdat-reloc.s: New test source.
1427 * testsuite/gas/mips/mips.exp: Run the new test.
1428
1429 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1430
1431 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
1432 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
1433
1434 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1435
1436 PR 21059
1437 * config/bfin-lex.l: Support processing with flex 2.6.3.
1438 * itbl-lex.l: Likewise.
1439
1440 2017-01-18 Nathan Sidwell <nathan@acm.org>
1441
1442 * as.h (gas_assert): Use abort.
1443 (as_assert): Remove.
1444 (signal_init): Declare.
1445 * as.c (main): Call signal_init.
1446 * messages.c: #include <signal.h>
1447 (as_assert): Delete.
1448 (as_abort): Allow NULL FILE.
1449 (signal_crash): New.
1450 (signal_init): Register fatal signal handlers.
1451 * configure.ac: Check for strsignal.
1452 * config.in: Rebuilt.
1453 * configure: Rebuilt.
1454
1455 2017-01-17 Nick Clifton <nickc@redhat.com>
1456
1457 * po/sv.po: Updated Swedish translation.
1458
1459 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1460
1461 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
1462 (cpu_noarch): Add noavx512_vpopcntdq.
1463 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
1464 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
1465 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
1466 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
1467 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
1468 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
1469 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
1470 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
1471
1472 2017-01-12 Nick Clifton <nickc@redhat.com>
1473
1474 * read.c (temp_ilp): New function. Installs a temporary input
1475 line pointer.
1476 (restore_ilp): New function. Restores the original input line
1477 pointer.
1478 * read.h (temp_ilp): Prototype.
1479 (restore_ilp): Prototype.
1480 * stabs.c (dot_func_p): Use bfd_boolean type.
1481 (generate_asm_file): Use temp_ilp and restore_ilp.
1482 (stabs_generate_asm_lineno): Likewise.
1483 (stabs_generate_asm_endfunc): Likewise.
1484
1485 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
1486
1487 * configure.tgt: Add entry for i386-redox.
1488
1489 2017-01-10 Nick Clifton <nickc@redhat.com>
1490
1491 * po/sv.po: Updated Swedish translation.
1492
1493 2017-01-10 Tristan Gingold <gingold@adacore.com>
1494
1495 * testsuite/gas/all/sleb128-8.d: Adjust test.
1496 * testsuite/gas/all/gas.exp (test_cond): Likewise.
1497
1498 2017-01-10 Tristan Gingold <gingold@adacore.com>
1499
1500 * read.c (emit_leb128_expr): Extended unsigned big number for
1501 sleb128.
1502 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
1503 * testsuite/gas/all/sleb128.d: New test.
1504 * testsuite/gas/all/sleb128.s: New test source.
1505
1506 2017-01-09 Andrew Waterman <andrew@sifive.com>
1507
1508 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1509 against constants.
1510 (md_apply_fix): Mark relocations against constants as "done."
1511
1512 2017-01-09 Andrew Waterman <andrew@sifive.com>
1513
1514 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1515 against constants.
1516 (md_apply_fix): Mark relocations against constants as "done."
1517
1518 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
1519 Kito Cheng <kito.cheng@gmail.com>
1520
1521 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
1522 Removed.
1523 (SDATA_START_SYMBOLS): Likewise.
1524
1525 2017-01-09 Nick Clifton <nickc@redhat.com>
1526
1527 * po/sv.po: New Swedish translation.
1528 * configure.ac (ALL_LINGUAS): Add sv.
1529 * configure: Regenerate.
1530
1531 2017-01-09 Andrew Waterman <andrew@sifive.com>
1532
1533 * config/tc-riscv.c (relaxed_branch_length): Use the long
1534 sequence when the target is a weak symbol.
1535
1536 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1537
1538 * config/tc-aarch64.c (aarch64_features): Add rcpc.
1539 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1540 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
1541 * testsuite/gas/aarch64/ldst-rcpc.d: This.
1542 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
1543 * testsuite/gas/aarch64/ldst-rcpc.s: This.
1544 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
1545
1546 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
1547
1548 PR gas/20992
1549 * configure.tgt: Treat sparcv9 as sparc64.
1550
1551 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
1552
1553 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
1554 extension.
1555 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
1556 enabled and no other ABI is specified.
1557
1558 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
1559
1560 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
1561 valueT, as declared in tc.h.
1562 (md_apply_fix): Fix to work on 32-bit hosts.
1563
1564 2017-01-02 Alan Modra <amodra@gmail.com>
1565
1566 Update year range in copyright notice of all files.
1567
1568 For older changes see ChangeLog-2016
1569 \f
1570 Copyright (C) 2017 Free Software Foundation, Inc.
1571
1572 Copying and distribution of this file, with or without modification,
1573 are permitted in any medium without royalty provided the copyright
1574 notice and this notice are preserved.
1575
1576 Local Variables:
1577 mode: change-log
1578 left-margin: 8
1579 fill-column: 74
1580 version-control: never
1581 End:
This page took 0.110606 seconds and 5 git commands to generate.