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