Add support for new POWER ISA 3.0 instructions.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
19dfcc89
PB
12016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2
3 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
4 * testsuite/gas/ppc/altivec3.s: Likewise.
5 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
6 * testsuite/gas/ppc/power9.s: Likewise.
7
8d5b9a5a
L
82016-05-26 H.J. Lu <hongjiu.lu@intel.com>
9
10 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
11 * testsuite/gas/i386/noavx-1.l: Likewise.
12 * testsuite/gas/i386/nommx-1.l: Likewise.
13 * testsuite/gas/i386/nosse-1.l: Likewise.
14 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
15 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
16 * testsuite/gas/i386/noavx-1.s: Likewise.
17 * testsuite/gas/i386/nommx-1.s: Likewise.
18 * testsuite/gas/i386/nosse-1.s: Likewise.
19 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
20
81cead6f
TS
212016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
22
23 * config/tc-metag.c (metag_handle_align): Make the type of noop
24 unsigned char.
25
79052aae
TS
262016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
27
28 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
29 bfd_reloc_code_real_type.
30
73b090a9
L
312016-05-25 H.J. Lu <hongjiu.lu@intel.com>
32
33 PR gas/20140
34 * config/tc-i386.c (cpu_flags_match): Require another match
35 for AVX512VL.
36 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
37 x86-64-avx512vl-1 and x86-64-avx512vl-2.
38 * testsuite/gas/i386/avx512vl-1.l: New file.
39 * testsuite/gas/i386/avx512vl-1.s: Likewise.
40 * testsuite/gas/i386/avx512vl-2.l: Likewise.
41 * testsuite/gas/i386/avx512vl-2.s: Likewise.
42 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
43 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
44 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
45 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
46
f1360d58
L
472016-05-25 H.J. Lu <hongjiu.lu@intel.com>
48
49 PR gas/20141
50 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
51 * testsuite/gas/i386/x86-64-pr20141.d: New file.
52 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
53
293f5f65
L
542016-05-25 H.J. Lu <hongjiu.lu@intel.com>
55
56 * config/tc-i386.c (arch_entry): Remove negated.
57 (noarch_entry): New struct.
58 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
59 (cpu_noarch): New.
60 (set_cpu_arch): Check cpu_noarch after cpu_arch.
61 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
62 cpu_arch.
63 (output_message): New function.
64 (show_arch): Use it. Handle cpu_noarch.
65 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
66 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
67 * testsuite/gas/i386/noavx-1.l: New file.
68 * testsuite/gas/i386/noavx-1.s: Likewise.
69 * testsuite/gas/i386/noavx-2.s: Likewise.
70 * testsuite/gas/i386/noavx-2.l: Likewise.
71 * testsuite/gas/i386/nommx-1.s: Likewise.
72 * testsuite/gas/i386/nommx-1.l: Likewise.
73 * testsuite/gas/i386/nommx-2.s: Likewise.
74 * testsuite/gas/i386/nommx-2.l: Likewise.
75 * testsuite/gas/i386/nommx-3.s: Likewise.
76 * testsuite/gas/i386/nommx-3.l: Likewise.
77 * testsuite/gas/i386/nosse-1.s: Likewise.
78 * testsuite/gas/i386/nosse-1.l: Likewise.
79 * testsuite/gas/i386/nosse-2.s: Likewise.
80 * testsuite/gas/i386/nosse-2.l: Likewise.
81 * testsuite/gas/i386/nosse-3.s: Likewise.
82 * testsuite/gas/i386/nosse-3.l: Likewise.
83
934c2632
CZL
842016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
85
ee4d7613 86 PR target/20067
934c2632
CZL
87 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
88 instruction if supported by the currently selected fpu variant.
89 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
90 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
91
44d3da23 922016-05-24 Maciej W. Rozycki <macro@imgtec.com>
934c2632 93
44d3da23
MR
94 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
95 jump relocations against MIPS16 or microMIPS symbols on RELA
96 targets.
97 * testsuite/gas/mips/jalx-local.d: New test.
98 * testsuite/gas/mips/jalx-local-n32.d: New test.
99 * testsuite/gas/mips/jalx-local-n64.d: New test.
100 * testsuite/gas/mips/jalx-local.s: New test source.
101 * testsuite/gas/mips/mips.exp: Run the new tests.
102
4512dafa
MR
1032016-05-24 Maciej W. Rozycki <macro@imgtec.com>
104
105 * config/tc-mips.c (md_apply_fix)
106 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
107 code accordingly.
108
cc34adb2
TS
1092016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
110
111 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
112 operator to operatorT.
113 (map_suffix_reloc_to_operator): Change return type to operatorT.
114
c023823f
TS
1152016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
116
117 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
118
049efc64
TS
1192016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
120
121 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
122 handler_charp to const char *.
123
b19e0aeb
TS
1242016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
125
126 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
127 (ft32_target_format): Likewise.
128 (TARGET_FORMAT): Adjust.
129
e5e27b07
TS
1302016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
131
132 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
133 (ia64_frob_label): Likewise.
134
6610dc6d
TS
1352016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
136
137 * config/tc-cr16.c (check_range): Make type of retval op_err.
138 * config/tc-crx.c: Likewise.
139
87789e08
CZ
1402016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
141
142 * config/tc-arc.c (md_begin): Add XY registers.
143 (cpu_types): Code density is default off for ARC EM.
144
c810e0b8
CZ
1452016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
146
147 * config/tc-arc.c (attributes_t): Renamed attribute class to
148 attr_class.
149 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
150
d26a14db
NC
1512016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
152
153 * configuse.tgt: Add entry for arm-phoenix.
154
f10e0aef
TS
1552016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
156
157 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
158
2900e701
TS
1592016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
160
161 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
162
3d207518
TS
1632016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
164
165 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
166 (md_begin): Likewise.
167 (encode_condition): Likewise.
168 (encode_cc3): Likewise.
169 (encode_cc2): Likewise.
170 (encode_operand): Likewise.
171 (tic54x_undefined_symbol): Likewise.
172
a4968f42
MF
1732016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
174
175 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
176 p6600 entry.
177 * doc/c-mips.texi: Document p6600 -march option.
178
4e21640f
L
1792016-05-20 H.J. Lu <hongjiu.lu@intel.com>
180
181 PR gas/19600
182 * config/tc-i386.c (md_apply_fix): Preserve addend for
183 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
184 * testsuite/gas/i386/addend.d: New file.
185 * testsuite/gas/i386/addend.s: Likewise.
186 * testsuite/gas/i386/x86-64-addend.d: Likewise.
187 * testsuite/gas/i386/x86-64-addend.s: Likewise.
188 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
189 * testsuite/gas/i386/reloc32.d: Updated.
190
17c6c9d9
MR
1912016-05-20 Maciej W. Rozycki <macro@imgtec.com>
192
193 * config/tc-mips.c (append_insn): Correct the encoding of a
194 constant argument for microMIPS JALX.
195 (tc_gen_reloc): Correct the encoding of an in-place addend for
196 microMIPS JALX.
197 * testsuite/gas/mips/jalx-addend.d: New test.
198 * testsuite/gas/mips/jalx-addend-n32.d: New test.
199 * testsuite/gas/mips/jalx-addend-n64.d: New test.
200 * testsuite/gas/mips/jalx-imm.d: New test.
201 * testsuite/gas/mips/jalx-imm-n32.d: New test.
202 * testsuite/gas/mips/jalx-imm-n64.d: New test.
203 * testsuite/gas/mips/jalx-addend.s: New test source.
204 * testsuite/gas/mips/jalx-imm.s: New test source.
205 * testsuite/gas/mips/mips.exp: Run the new tests.
206
134c0c8b
MR
2072016-05-20 Maciej W. Rozycki <macro@imgtec.com>
208
209 * config/tc-mips.c: Correct tab-after-space formatting mistakes
210 throughout.
211
38cd8a0d
AB
2122016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
213
214 * config/tc-arc.c (find_opcode_match): Remove casting away of
215 const.
216 * config/tc-arc.h (struct arc_flags): Make flgp field const.
217
9e32d9ae
AB
2182016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
219
220 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
221 appropriate.
222 (md_convert_frag): Likewise.
223
fe779266
AB
2242016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
225
226 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
227 cached opcode to NULL when we reach a non-matching opcode.
228 * testsuite/gas/arc/asm-errors-2.d: New file.
229 * testsuite/gas/arc/asm-errors-2.err: New file.
230 * testsuite/gas/arc/asm-errors-2.s: New file.
231
3b889a78
AB
2322016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
233
234 * config/tc-arc.c (tokenize_arguments): Add checks for array
235 overflow.
236 * testsuite/gas/arc/asm-errors.s: Addition test line added.
237 * testsuite/gas/arc/asm-errors.err: Update expected results.
238
42e58860
TS
2392016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
240
241 * config/tc-rx.c (struct cpu_type): Change the type of a field from
242 int to enum rx_cpu_types.
243
4bfaa1ca
TS
2442016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
245
246 * config/tc-dlx.c (struct machine_it): change the type of a field from
247 int to bfd_reloc_code_real_type.
248 * config/tc-tic4x.c: Likewise.
249
eb408eaa
TS
2502016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
251
252 * config/tc-v850.c (v850_target_arch): change type to enum
253 bfd_architecture.
254 * config/tc-v850.h (v850_target_arch): Likewise.
255
a255f00a
AM
2562016-05-18 Alan Modra <amodra@gmail.com>
257
258 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
259 allowed negative range.
260 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
261 * testsuite/gas/ppc/power9.d: Update.
262
659f032c
TP
2632016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
264
265 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
266 disassembling and stop skipping targets.
267 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
268 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
269 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
270 instruction for targets that have stronger alignment requirement.
271 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
272 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
273 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
274 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
275 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
276 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
277 * testsuite/gas/arm/archv8m-main.d: Likewise.
278 * testsuite/gas/arm/archv8m.s: Add label.
279 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
280 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
281 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
282
7b14583e
TS
2832016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
284
285 * config/tc-m32r.c (mach_table): Make static and const.
286
0591130a
TS
2872016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
288
289 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
290 definition.
291
9117cd3e
TS
2922016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
293
294 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
295 defining it.
296 * config/tc-msp430.c (md_begin): Likewise.
297
e1838240
TS
2982016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
299
300 * config/tc-m68hc11.c (fixup8): Change variables type from int to
301 bfd_reloc_code_real_type where appropriate.
302 (fixup16): Likewise.
303 (fixup8_xg): Likewise.
304
9dfa3e63
MR
3052016-05-15 Maciej W. Rozycki <macro@imgtec.com>
306
307 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
308
1178da44
PB
3092016-05-13 Peter Bergner <bergner@vnet.ibm.com>
310
311 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
312 * testsuite/gas/ppc/power9.s: Likewise.
313
d2edc834
AM
3142016-05-13 Alan Modra <amodra@gmail.com>
315
316 * config/obj-coff.c (weak_uniquify): Delete unused var.
317
add39d23
TS
3182016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
319
320 * app.c (app_push): Use XNEW and related macros.
321 * as.c (parse_args): Likewise.
322 * cgen.c (make_right_shifted_expr): Likewise.
323 (gas_cgen_tc_gen_reloc): Likewise.
324 * config/bfin-defs.h: Likewise.
325 * config/bfin-parse.y: Likewise.
326 * config/obj-coff.c (stack_init): Likewise.
327 (stack_push): Likewise.
328 (coff_obj_symbol_new_hook): Likewise.
329 (coff_obj_symbol_clone_hook): Likewise.
330 (add_lineno): Likewise.
331 (coff_frob_symbol): Likewise.
332 * config/obj-elf.c (obj_elf_section_name): Likewise.
333 (build_group_lists): Likewise.
334 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
335 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
336 * config/tc-aarch64.c (insert_reg_alias): Likewise.
337 (find_or_make_literal_pool): Likewise.
338 (add_to_lit_pool): Likewise.
339 (fill_instruction_hash_table): Likewise.
340 * config/tc-alpha.c (load_expression): Likewise.
341 (emit_jsrjmp): Likewise.
342 (s_alpha_ent): Likewise.
343 (s_alpha_end): Likewise.
344 (s_alpha_linkage): Likewise.
345 (md_begin): Likewise.
346 (tc_gen_reloc): Likewise.
347 * config/tc-arc.c (arc_insert_opcode): Likewise.
348 (arc_extcorereg): Likewise.
349 * config/tc-bfin.c: Likewise.
350 * config/tc-cr16.c: Likewise.
351 * config/tc-cris.c: Likewise.
352 * config/tc-crx.c (preprocess_reglist): Likewise.
353 * config/tc-d10v.c: Likewise.
354 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
355 (frv_tomcat_shuffle): Likewise.
356 * config/tc-h8300.c: Likewise.
357 * config/tc-i370.c (i370_macro): Likewise.
358 * config/tc-i386.c (lex_got): Likewise.
359 (md_parse_option): Likewise.
360 * config/tc-ia64.c (alloc_record): Likewise.
361 (set_imask): Likewise.
362 (save_prologue_count): Likewise.
363 (dot_proc): Likewise.
364 (dot_endp): Likewise.
365 (ia64_frob_label): Likewise.
366 (add_qp_imply): Likewise.
367 (add_qp_mutex): Likewise.
368 (mark_resource): Likewise.
369 (dot_alias): Likewise.
370 * config/tc-m68hc11.c: Likewise.
371 * config/tc-m68k.c (m68k_frob_label): Likewise.
372 (s_save): Likewise.
373 (mri_control_label): Likewise.
374 (push_mri_control): Likewise.
375 (build_mri_control_operand): Likewise.
376 (s_mri_else): Likewise.
377 (s_mri_break): Likewise.
378 (s_mri_next): Likewise.
379 (s_mri_for): Likewise.
380 (s_mri_endw): Likewise.
381 * config/tc-metag.c (create_mnemonic_htab): Likewise.
382 * config/tc-microblaze.c: Likewise.
383 * config/tc-mmix.c (s_loc): Likewise.
384 * config/tc-nds32.c (nds32_relax_hint): Likewise.
385 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
386 * config/tc-rl78.c: Likewise.
387 * config/tc-rx.c (rx_include): Likewise.
388 * config/tc-sh.c: Likewise.
389 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
390 * config/tc-sparc.c: Likewise.
391 * config/tc-spu.c: Likewise.
392 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
393 (tic6x_start_unwind_section): Likewise.
394 * config/tc-tilegx.c: Likewise.
395 * config/tc-tilepro.c: Likewise.
396 * config/tc-v850.c: Likewise.
397 * config/tc-visium.c: Likewise.
398 * config/tc-xgate.c: Likewise.
399 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
400 (new_resource_table): Likewise.
401 (resize_resource_table): Likewise.
402 (xtensa_create_trampoline_frag): Likewise.
403 (xtensa_maybe_create_literal_pool_frag): Likewise.
404 (cache_literal_section): Likewise.
405 * config/xtensa-relax.c (append_transition): Likewise.
406 (append_condition): Likewise.
407 (append_value_condition): Likewise.
408 (append_constant_value_condition): Likewise.
409 (append_literal_op): Likewise.
410 (append_label_op): Likewise.
411 (append_constant_op): Likewise.
412 (append_field_op): Likewise.
413 (append_user_fn_field_op): Likewise.
414 (enter_opname_n): Likewise.
415 (enter_opname): Likewise.
416 (split_string): Likewise.
417 (parse_insn_templ): Likewise.
418 (clone_req_or_option_list): Likewise.
419 (clone_req_option_list): Likewise.
420 (parse_option_cond): Likewise.
421 (parse_insn_pattern): Likewise.
422 (parse_insn_repl): Likewise.
423 (build_transition): Likewise.
424 (build_transition_table): Likewise.
425 * dw2gencfi.c (alloc_fde_entry): Likewise.
426 (alloc_cfi_insn_data): Likewise.
427 (cfi_add_CFA_remember_state): Likewise.
428 (dot_cfi_escape): Likewise.
429 (dot_cfi_fde_data): Likewise.
430 (select_cie_for_fde): Likewise.
431 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
432 * ecoff.c (ecoff_add_bytes): Likewise.
433 (ecoff_build_debug): Likewise.
434 * input-scrub.c (input_scrub_push): Likewise.
435 (input_scrub_begin): Likewise.
436 (input_scrub_next_buffer): Likewise.
437 * itbl-ops.c (append_insns_as_macros): Likewise.
438 (alloc_entry): Likewise.
439 (alloc_field): Likewise.
440 * listing.c (listing_newline): Likewise.
441 (listing_listing): Likewise.
442 * macro.c (get_any_string): Likewise.
443 (delete_macro): Likewise.
444 * stabs.c (generate_asm_file): Likewise.
445 (stabs_generate_asm_lineno): Likewise.
446 * subsegs.c (subseg_change): Likewise.
447 (subseg_get): Likewise.
448 * symbols.c (define_dollar_label): Likewise.
449 (symbol_relc_make_sym): Likewise.
450 * write.c (write_relocs): Likewise.
451
29a2809e
TS
4522016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
453
454 * config/obj-coff.c (obj_coff_def): Simplify string copying.
455 (weak_name2altname): Likewise.
456 (weak_uniquify): Likewise.
457 (obj_coff_section): Likewise.
458 (obj_coff_init_stab_section): Likewise.
459 * config/obj-elf.c (obj_elf_section_name): Likewise.
460 (obj_elf_init_stab_section): Likewise.
461 * config/obj-evax.c (evax_shorten_name): Likewise.
462 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
463 * config/tc-aarch64.c (create_register_alias): Likewise.
464 * config/tc-alpha.c (load_expression): Likewise.
465 (s_alpha_file): Likewise.
466 (s_alpha_section_name): Likewise.
467 (tc_gen_reloc): Likewise.
468 * config/tc-arc.c (md_assemble): Likewise.
469 * config/tc-arm.c (create_neon_reg_alias): Likewise.
470 (start_unwind_section): Likewise.
471 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
472 (hppa_elf_mark_end_of_function): Likewise.
473 * config/tc-nios2.c (nios2_modify_arg): Likewise.
474 (nios2_negate_arg): Likewise.
475 * config/tc-rx.c (rx_section): Likewise.
476 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
477 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
478 * config/tc-tic54x.c (tic54x_include): Likewise.
479 (tic54x_macro_info): Likewise.
480 (subsym_get_arg): Likewise.
481 (subsym_substitute): Likewise.
482 (tic54x_start_line_hook): Likewise.
483 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
484 (xg_reverse_shift_count): Likewise.
485 * config/xtensa-relax.c (enter_opname_n): Likewise.
486 (split_string): Likewise.
487 * dwarf2dbg.c (get_filenum): Likewise.
488 (process_entries): Likewise.
489 * expr.c (operand): Likewise.
490 * itbl-ops.c (alloc_entry): Likewise.
491 * listing.c (listing_message): Likewise.
492 (listing_title): Likewise.
493 * macro.c (check_macro): Likewise.
494 * stabs.c (s_xstab): Likewise.
495 * symbols.c (symbol_relc_make_expr): Likewise.
496 * write.c (compress_debug): Likewise.
497
58c7f094
NC
4982016-05-12 Nick Clifton <nickc@redhat.com>
499
500 PR target/20068
501 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
502
d5e74e8d
NC
5032016-05-11 Nick Clifton <nickc@redhat.com>
504
505 PR target/20068
506 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
507 big endian ARM configurations.
508
8f4f9071
MF
5092016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
510 Matthew Fortune <matthew.fortune@imgtec.com>
511
512 * config/tc-mips.c (options): Add OPTION_DSPR3 and
513 OPTION_NO_DSPR3.
514 (md_longopts): Likewise.
515 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
516 (mips_ases): Define availability for DSPr3.
517 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
518 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
519 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
520 formatting.
521 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
522 .set nodspr3. Fix -mdspr2 formatting.
523 * testsuite/gas/mips/mips32-dspr3.d: New file.
524 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
525 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
526
a6684f0d
NC
5272016-05-11 Nick Clifton <nickc@redhat.com>
528
529 PR target/20068
530 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
531 to the pool uses O_constant.
532 * testsuite/gas/arm/pr20068.s: New test.
533 * testsuite/gas/arm/pr20068.d: Test driver.
534
be5c445b
NC
5352016-05-11 Nick Clifton <nickc@redhat.com>
536
4179a6a2
NC
537 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
538 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
539 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
540 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
541 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
542 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
543 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
544 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
545 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
be5c445b
NC
546
5472016-05-10 Alexander Fomin <alexander.fomin@intel.com>
548
549 * testsuite/gas/i386/i386.exp: Run RDPID tests.
550 * testsuite/gas/i386/prefix.d: Adjust.
551 * testsuite/gas/i386/rdpid.s: New test.
552 * testsuite/gas/i386/rdpid.d: Ditto.
553 * testsuite/gas/i386/rdpid-intel.d: Ditto.
554 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
555 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
556 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
557
8bc52696
AF
5582016-05-10 Alexander Fomin <alexander.fomin@intel.com>
559
560 * config/tc-i386.c (cpu_arch): Add RDPID.
561 * doc/c-i386.texi: Document RDPID.
562
39d911fc
TP
5632016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
564
565 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
566 set branch type of a symbol.
567
15afaa63
TP
5682016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
569
570 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
571 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
572 instructions.
573 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
574 (aeabi_set_public_attributes): Memorize the feature bits of the
575 architecture selected for Tag_CPU_arch. Use it to set
576 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
577 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
578 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
579 * testsuite/gas/arm/arch7em-bad-1.d: This.
580 * testsuite/gas/arm/arch7em-bad-2.d: New file.
581 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
582 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
583 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
584 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
585 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
586 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
587 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
588
d942732e
TP
5892016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
590
591 * config/tc-arm.c (struct arm_option_extension_value_table): Make
592 allowed_archs an array with 2 entries.
593 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
594 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
595 (arm_extensions): Use separate entries in allowed_archs when several
596 archs are allowed to use an extension and change ARCH_ANY in
597 ARM_ARCH_NONE in allowed_archs.
598 (arm_parse_extension): Check that, for each allowed_archs entry, all
599 bits are set in the current architecture, ignoring ARM_ANY entries.
600 (s_arm_arch_extension): Likewise.
601
16a1fa25
TP
6022016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
603
604 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
605 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
606 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
607 shared with a non M profile architecture.
608 (do_rn): New function.
609 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
610 than arm_ext_v8m.
611 (v7m_psrs): Add ARMv8-M security extensions new special registers.
612 (insns): Add ARMv8-M Security Extensions instructions.
613 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
614 arm_ext_v8m_m to decide the profile and the Thumb ISA.
615 * testsuite/gas/arm/archv8m-cmse.s: New file.
616 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
617 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
618 * testsuite/gas/arm/any-cmse.d: Likewise.
619 * testsuite/gas/arm/any-cmse-main.d: Likewise.
620 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
621 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
622 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
623 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
624 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
625
d751b79e
JM
6262016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
627
628 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
629 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
630
f85d59c3
KT
6312016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
632
633 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
634 (fpu_arch_vfp_v3): Likewise.
635 (fpu_arch_neon_v1): Likewise.
636 (arm_arch_full): Likewise.
637 (parse_neon_el_struct_list): Initialize fields of firsttype.
638
945e0f82
CZ
6392016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
640
641 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
642 (arc_extinsn): Handle new introduced syntax.
643 * testsuite/gas/arc/textinsn1op.d: New file.
644 * testsuite/gas/arc/textinsn1op.s: Likewise.
645 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
646
b782c63d
PS
6472016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
648
649 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
650 DW_LNS_fixed_advance_pc.
651
25771140
AM
6522016-04-27 Alan Modra <amodra@gmail.com>
653
654 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
655 (xmemdup0): New inline function.
656
22522f88
MR
6572016-04-22 Maciej W. Rozycki <macro@imgtec.com>
658
659 * config/tc-mips.c (code_option_type): New enum.
660 (parse_code_option): Return status indicating option type.
661 (s_mipsset): Update `parse_code_option' call site accordingly.
662 Always set register sizes from the ISA with ISA overrides.
663 (s_module): Update `parse_code_option' call site.
664 * testsuite/gas/mips/isa-override-1.d: New test.
665 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
666 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
667 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
668 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
669 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
670 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
671 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
672 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
673 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
674 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
675 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
676 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
677 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
678 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
679 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
680 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
681 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
682 * testsuite/gas/mips/isa-override-2.l: New list test.
683 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
684 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
685 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
686 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
687 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
688 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
689 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
690 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
691 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
692 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
693 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
694 output.
695 * testsuite/gas/mips/isa-override-1.s: New test source.
696 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
697 * testsuite/gas/mips/isa-override-2.s: New test source.
698 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
699 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
700 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
701 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
702 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
703 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
704 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
705 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
706 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
707 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
708 * testsuite/gas/mips/mips.exp: Run the new tests.
709
e6c7cdec
TS
7102016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
711
712 * cgen.c: Likewise.
713 * config/tc-bfin.c: Likewise.
714 * config/tc-ia64.c: Likewise.
715 * config/tc-mep.c: Likewise.
716 * config/tc-metag.c: Likewise.
717 * config/tc-nios2.c: Likewise.
718 * config/tc-rl78.c: Likewise.
719
2533af11
AB
7202016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
721
722 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
723 -mcpu. Add cross reference to .cpu directive from -mcpu option.
724 (ARC Directives): Add NPS400 to .cpu directive list.
725
50cc854c
MW
7262016-04-20 Matthew Wahab <matthew.wahab@arm.com>
727
728 * config/tc-aarch64.c (aarch64_features): Add "ras".
729 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
730 * testsuite/gas/aarch64/armv8-ras-1.d: New.
731 * testsuite/gas/aarch64/armv8-ras-1.s: New.
732 * testsuite/gas/aarch64/illegal-ras-1.d: New.
733 * testsuite/gas/aarch64/illegal-ras-1.s: New.
734
537aefaf
AB
7352016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
736
737 * testsuite/gas/arc/nps400-6.d: New file.
738 * testsuite/gas/arc/nps400-6.s: New file.
739
c8f785f2
AB
7402016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
741
742 * testsuite/gas/arc/nps400-4.d: New file.
743 * testsuite/gas/arc/nps400-4.s: New file.
744 * testsuite/gas/arc/nps400-5.d: New file.
745 * testsuite/gas/arc/nps400-5.s: New file.
746
48eac74c
MG
7472016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
748
749 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
750 documentation.
751
644aca26
AB
7522016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
753
754 Revert prevous change.
755 * config/tc-arc.c (arc_option): Make .cpu directive
756 case-sensitive again.
757
9a452709
AB
7582016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
759
760 * config/tc-arc.c (arc_option): Make .cpu directive
761 case-insensitive.
762
5e001f26
AB
7632016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
764
765 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
766
92fce9bd
TS
7672016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
768
769 * config/tc-mips.c (md_begin): Remove useless assignment.
770
6fd8e7c2
L
7712016-04-15 H.J. Lu <hongjiu.lu@intel.com>
772
773 * Makefile.in: Regenerated with automake 1.11.6.
774 * aclocal.m4: Likewise.
775 * doc/Makefile.in: Likewise.
776
05f7541e
AM
7772016-04-15 Alan Modra <amodra@gmail.com>
778
779 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
780
4f2a7b51
TS
7812016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
782
783 * config/tc-nios2.c (nios2_as_options): Make file static.
784 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
785 * config/tc-sparc.c (native_op_table): Likewise.
786
85e53f62
TS
7872016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
788
789 * config/tc-m32c.c (M32C_Macros): Remove.
790 * config/tc-msp430.c (option_numbers): Likewise.
791
4b0c052e
AB
7922016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
793
794 * testsuite/gas/arc/nps400-3.d: New file.
795 * testsuite/gas/arc/nps400-3.s: New file.
796
d105775e
AB
7972016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
798
799 * testsuite/gas/arc/add_s-err.s: Update target pattern.
800 * testsuite/gas/arc/warn.s: Likewise.
801 * testsuite/gas/elf/elf.exp: Run test for arc.
802
84865015
NC
8032016-04-14 Nick Clifton <nickc@redhat.com>
804
805 PR target/19938
806 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
807 sections possibly having the SHF_STRINGS flag bit set.
808 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
809
1adc8a9a
CZ
8102016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
811
812 * config/tc-arc.c (mach_type_specified_p): Change type to
813 bfd_boolean.
814 (arc_option): Set private flags when parsing cpu pseudo-op.
815 (md_parse_option): Set mach_type_specified_p to TRUE.
816
e4449be8
NC
8172016-04-13 Nick Clifton <nickc@redhat.com>
818
819 PR target/19937
820 * testsuite/gas/v850/pr19937.s: New test.
821 * testsuite/gas/v850/pr19937.d: New test control file.
822 * testsuite/gas/v850/basic.exp: Run the new test.
823
991f40a9
MR
8242016-04-13 Maciej W. Rozycki <macro@imgtec.com>
825 Andrew Bennett <andrew.bennett@imgtec.com>
826
827 * config/tc-mips.c (relaxed_branch_length): Use the long
828 sequence where the target is a weak symbol.
829 (relaxed_micromips_32bit_branch_length): Likewise.
830 (relaxed_micromips_16bit_branch_length): Likewise.
831 * testsuite/gas/mips/branch-weak-1.d: New test.
832 * testsuite/gas/mips/branch-weak-2.d: New test.
833 * testsuite/gas/mips/branch-weak-3.d: New test.
834 * testsuite/gas/mips/branch-weak-4.d: New test.
835 * testsuite/gas/mips/branch-weak-5.d: New test.
836 * testsuite/gas/mips/branch-weak.l: New stderr output.
837 * testsuite/gas/mips/branch-weak.s: New test source.
838 * testsuite/gas/mips/mips.exp: Run the new tests.
839
c1f61bd2
MR
8402016-04-13 Maciej W. Rozycki <macro@imgtec.com>
841
842 * config/tc-mips.c (relaxed_branch_length): Use the long
843 sequence where the distance cannot be determined.
844 (relaxed_micromips_32bit_branch_length): Likewise.
845 * testsuite/gas/mips/branch-extern-1.d: New test.
846 * testsuite/gas/mips/branch-extern-2.d: New test.
847 * testsuite/gas/mips/branch-extern-3.d: New test.
848 * testsuite/gas/mips/branch-extern-4.d: New test.
849 * testsuite/gas/mips/branch-extern.l: New stderr output.
850 * testsuite/gas/mips/branch-extern.s: New test source.
851 * testsuite/gas/mips/branch-section-1.d: New test.
852 * testsuite/gas/mips/branch-section-2.d: New test.
853 * testsuite/gas/mips/branch-section-3.d: New test.
854 * testsuite/gas/mips/branch-section-4.d: New test.
855 * testsuite/gas/mips/branch-section.l: New stderr output.
856 * testsuite/gas/mips/branch-section.s: New test source.
857 * testsuite/gas/mips/mips.exp: Run the new tests.
858
f36e33da
CZ
8592016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
860
861 * testsuite/gas/arc/textauxregister.d: New file.
862 * testsuite/gas/arc/textauxregister.s: Likewise.
863 * testsuite/gas/arc/textcondcode.d: Likewise.
864 * testsuite/gas/arc/textcondcode.s: Likewise.
865 * testsuite/gas/arc/textcoreregister.d: Likewise.
866 * testsuite/gas/arc/textcoreregister.s: Likewise.
867 * testsuite/gas/arc/textpseudoop.d: Likewise.
868 * testsuite/gas/arc/textpseudoop.s: Likewise.
869 * testsuite/gas/arc/ld2.d: Update test.
870 * testsuite/gas/arc/st.d: Likewise.
871 * testsuite/gas/arc/taux.d: Likewise.
872 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
873 .extCoreRegister and .extAuxRegister documentation.
874 * config/tc-arc.c (arc_extcorereg): New function.
875 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
876 .extAuxRegister pseudo-ops.
877 (extRegister_t): New type.
878 (ext_condcode, arc_aux_hash): New global variable.
879 (find_opcode_match): Check for extensions.
880 (preprocess_operands): Likewise.
881 (md_begin): Add aux registers in a hash.
882 (assemble_insn): Update use arc_flags member.
883 (tokenize_extregister): New function.
884 (create_extcore_section): Likewise.
885 * config/tc-arc.h (arc_flags): Delete code, add flgp.
886
1c2e355e
CZ
8872016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
888
889 * testsuite/gas/arc/noargs_a7.d: New file.
890 * testsuite/gas/arc/noargs_a7.s: Likewise.
891 * testsuite/gas/arc/noargs_hs.d: Likewise.
892 * testsuite/gas/arc/noargs_hs.s: Likewise.
893
b99747ae
CZ
8942016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
895
896 * testsuite/gas/arc/textinsn-errors.d: New File.
897 * testsuite/gas/arc/textinsn-errors.err: Likewise.
898 * testsuite/gas/arc/textinsn-errors.s: Likewise.
899 * testsuite/gas/arc/textinsn2op.d: Likewise.
900 * testsuite/gas/arc/textinsn2op.s: Likewise.
901 * testsuite/gas/arc/textinsn2op01.d: Likewise.
902 * testsuite/gas/arc/textinsn2op01.s: Likewise.
903 * testsuite/gas/arc/textinsn3op.d: Likewise.
904 * testsuite/gas/arc/textinsn3op.s: Likewise.
905 * doc/c-arc.texi (ARC Directives): Add .extInstruction
906 documentation.
907 * config/tc-arc.c (arcext_section): New variable.
908 (arc_extinsn): New function.
909 (md_pseudo_table): Add .extInstruction pseudo op.
910 (attributes_t): New type.
911 (suffixclass, syntaxclass, syntaxclassmod): New constant
912 structures.
913 (find_opcode_match): Remove arc_num_opcodes.
914 (md_begin): Likewise.
915 (tokenize_extinsn): New function.
916 (arc_set_ext_seg): Likewise.
917 (create_extinst_section): Likewise.
918
37ab9779
CZ
9192016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
920
921 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
922 (arc_adjust_symtab): New function.
923 * config/tc-arc.h (ARC_FLAG_AUX): Define.
924 (obj_adjust_symtab): Likewise.
925 * testsuite/gas/arc/taux.d: New file.
926 * testsuite/gas/arc/taux.s: Likewise.
927
41a1578e
MR
9282016-04-09 Maciej W. Rozycki <macro@imgtec.com>
929
930 * config/tc-mips.c (s_option): Sanitize `.option picX'
931 pseudo-op.
932 * testsuite/gas/mips/option-pic-1.d: New test.
933 * testsuite/gas/mips/option-pic-2.l: New list test.
934 * testsuite/gas/mips/option-pic-1.s: New test source.
935 * testsuite/gas/mips/option-pic-2.s: New test source.
936 * testsuite/gas/mips/mips.exp: Run the new tests.
937
668c5ebc
MR
9382016-04-09 Maciej W. Rozycki <macro@imgtec.com>
939
940 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
941 PIC.
942 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
943 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
944 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
945 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
946 * testsuite/gas/mips/mips.exp: Run the new tests.
947
41065f5e
MR
9482016-04-09 Maciej W. Rozycki <macro@imgtec.com>
949
950 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
951
08918cc8
MR
9522016-04-09 Maciej W. Rozycki <macro@imgtec.com>
953
954 * messages.c (as_bad): Fix a typo in description.
955
1357373c
MR
9562016-04-09 Maciej W. Rozycki <macro@imgtec.com>
957
958 * config/tc-mips.c (mips_check_options): Unify messages.
959
5f4678bb
MR
9602016-04-09 Maciej W. Rozycki <macro@imgtec.com>
961
962 * config/tc-mips.c (mips_check_options): Use `opts->isa'
963 consistently.
964
992dc2c4
NC
9652016-04-08 Nick Clifton <nickc@redhat.com>
966
967 PR target/19910
968 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
969 COFF and AOUT sparc targets.
970
a42a4f84
AB
9712016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
972
973 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
974 * testsuite/gas/arc/nps400-2.d: New file.
975 * testsuite/gas/arc/nps400-2.s: New file.
976
1328504b
AB
9772016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
978
979 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
980 structure.
981 (arc_opcode_hash_entry_iterator_init): New function.
982 (arc_opcode_hash_entry_iterator_next): New function.
983 (find_opcode_match): Iterate over all arc_opcode entries
984 referenced by the arc_opcode_hash_entry passed in as a parameter.
985
b9b47ab7
AB
9862016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
987
988 * config/tc-arc.c (arc_find_opcode): Now returns
989 arc_opcode_hash_entry pointer.
990 (find_opcode_match): Update argument type, extract arc_opcode from
991 incoming arc_opcode_hash_entry.
992 (find_special_case_pseudo): Update return type.
993 (find_special_case_flag): Update return type.
994 (find_special_case): Update return type.
995 (assemble_tokens): Lookup arc_opcode_hash_entry based on
996 instruction mnemonic, then use find_opcode_match to identify
997 specific arc_opcode.
998
da5be039
AB
9992016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1000
1001 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1002 (arc_find_opcode): New function.
1003 (find_special_case_pseudo): Use arc_find_opcode.
1004 (find_special_case_flag): Likewise.
1005 (assemble_tokens): Likewise.
1006 (md_begin): Build hash using struct arc_opcode_hash_entry.
1007
e6ba1cba
CZ
10082016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1009
abe051ba
AM
1010 * config/tc-arc.c (arc_option): Prepare string for automatic
1011 translation.
1012 (declare_register): Likewise.
e6ba1cba 1013
b607cde1
JG
10142016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1015
1016 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1017 Correct entry for RDMA. Alpha sort entries.
1018
692166c2
AB
10192016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1020
1021 * config/tc-arc.c (tokenize_flags): Allow greater range of
1022 characters into flag names.
1023
22b92fc4
AB
10242016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1025
1026 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1027 new de_fault label.
1028 (preprocess_operands): Delete.
1029 (assemble_tokens): Remove call to preprocess_operands.
1030
e140100a
NC
10312016-04-07 Nick Clifton <nickc@redhat.com>
1032
1033 PR gas/19910
1034 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1035 inside a %-macro could not be fully parsed.
1036 * expr.c (integer_constant): Accept and ignore U suffixes to
1037 integers.
1038 (operand): When a missing closing parenthesis is encountered,
1039 report the character that was found instead.
1040 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1041 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1042 * testsuite/gas/sparc/pr19910-1.s: New test.
1043 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1044 * testsuite/gas/sparc/pr19910-2.s: New test.
1045 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1046
927f2d25
NC
10472016-04-06 Nick Clifton <nickc@redhat.com>
1048
1049 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1050 an EINT instruction. Warn/fix as necessary.
1051 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1052 * testsuite/gas/msp430/bad.l: Update expected messages.
1053
820f03ff
AB
10542016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1055
1056 * testsuite/gas/arc/nps400-1.d: Update expected results.
1057 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1058
8ddf6b2a
CZ
10592016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1060
abe051ba
AM
1061 * config/tc-arc.c (is_code_density_p): Compare directly the
1062 subclass field.
1063 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1064 (check_cpu_feature): New function.
1065 (find_opcode_match): Use check_cpu_feature function.
1066 (preprocess_operands): Likewise.
1067 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1068 * testsuite/gas/arc/tdpfp.d: New file.
1069 * testsuite/gas/arc/tfpuda.d: Likewise.
1070 * testsuite/gas/arc/tfpx.s: Likewise.
8ddf6b2a 1071
589a7d88
JW
10722016-04-05 Jiong Wang <jiong.wang@arm.com>
1073
1074 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1075 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1076 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1077 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1078 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1079 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1080 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
abe051ba
AM
1081 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1082 for Thumb.
589a7d88
JW
1083 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1084
6ec1f282
CZ
10852016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1086
abe051ba 1087 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
6ec1f282 1088 JUMP instructions type.
abe051ba
AM
1089 * testsuite/gas/arc/relocs-errors.d: New file.
1090 * testsuite/gas/arc/relocs-errors.err: Likewise.
1091 * testsuite/gas/arc/relocs-errors.s: Likewise.
6ec1f282 1092
0796a629
L
10932016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1094
1095 PR gas/19909
1096 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1097 only if i.disp_encoding != disp_encoding_32bit.
1098 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1099 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1100 * gas/testsuite/gas/i386/disp32.d: Updated.
1101 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1102
df41fdf4
L
11032016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1104
1105 PR gas/19498
1106 * testsuite/gas/i386/i386.exp: Run pr19498.
1107 * testsuite/gas/i386/pr19498.d: New file.
1108 * testsuite/gas/i386/pr19498.s: Likewise.
1109
26cdfd92
AB
11102016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1111
1112 * config/tc-arc.h: Include 'opcode/arc.h'.
1113 (MAX_INSN_ARGS): Delete.
1114 (MAX_INSN_FLGS): Delete.
1115
22987cec
AM
11162016-04-04 Alan Modra <amodra@gmail.com>
1117
1118 PR 19498
1119 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1120 from function on all paths that set sy_resolving.
1121
325801bd
TS
11222016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1123
1124 * app.c (app_push): use XNEW macro.
1125 * as.c: Likewise.
1126 * config/obj-elf.c (obj_elf_change_section): Likewise.
1127 (elf_copy_symbol_attributes): Likewise.
1128 (obj_elf_size): Likewise.
1129 (build_group_lists): Likewise.
1130 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1131 (md_assemble): Likewise.
1132 (tc_gen_reloc): Likewise.
1133 (get_upper_str): Likewise.
1134 (aarch64_parse_features): Likewise.
1135 * config/tc-arm.c (insert_reg_alias): Likewise.
1136 (insert_neon_reg_alias): Likewise.
1137 (find_or_make_literal_pool): Likewise.
1138 (s_arm_elf_cons): Likewise.
1139 (add_unwind_opcode): Likewise.
1140 (arm_parse_extension): Likewise.
1141 * config/tc-avr.c (create_record_for_frag): Likewise.
1142 * config/tc-crx.c: Likewise.
1143 * config/tc-d30v.c: Likewise.
1144 * config/tc-dlx.c (s_proc): Likewise.
1145 * config/tc-ft32.c: Likewise.
1146 * config/tc-h8300.c: Likewise.
1147 * config/tc-hppa.c (pa_proc): Likewise.
1148 (create_new_space): Likewise.
1149 (create_new_subspace): Likewise.
1150 * config/tc-i860.c: Likewise.
1151 * config/tc-i960.c: Likewise.
1152 * config/tc-ia64.c: Likewise.
1153 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1154 (iq2000_record_hi16): Likewise.
1155 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1156 * config/tc-m32r.c (debug_sym): Likewise.
1157 (m32r_record_hi16): Likewise.
1158 * config/tc-m68k.c (m68k_ip): Likewise.
1159 (md_begin): Likewise.
1160 * config/tc-mcore.c: Likewise.
1161 * config/tc-microblaze.c (check_got): Likewise.
1162 * config/tc-mips.c (append_insn): Likewise.
1163 (s_mipsset): Likewise.
1164 (mips_record_label): Likewise.
1165 (s_mips_end): Likewise.
1166 * config/tc-mmix.c (mmix_frob_file): Likewise.
1167 * config/tc-mn10200.c: Likewise.
1168 * config/tc-mn10300.c: Likewise.
1169 * config/tc-moxie.c: Likewise.
1170 * config/tc-msp430.c: Likewise.
1171 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1172 * config/tc-ns32k.c: Likewise.
1173 * config/tc-or1k.c: Likewise.
1174 * config/tc-pdp11.c: Likewise.
1175 * config/tc-pj.c (fake_opcode): Likewise.
1176 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1177 (ppc_macro): Likewise.
1178 (ppc_dwsect): Likewise.
1179 (ppc_machine): Likewise.
1180 * config/tc-rl78.c (rl78_frag_init): Likewise.
1181 * config/tc-rx.c (rx_frag_init): Likewise.
1182 * config/tc-s390.c (s390_lit_suffix): Likewise.
1183 (s390_machine): Likewise.
1184 (s390_machinemode): Likewise.
1185 * config/tc-score.c (s3_insert_reg): Likewise.
1186 (s3_gen_reloc): Likewise.
1187 * config/tc-score7.c (s7_insert_reg): Likewise.
1188 (s7_gen_reloc): Likewise.
1189 * config/tc-tic30.c (tic30_operand): Likewise.
1190 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1191 * config/tc-tic54x.c (stag_add_field): Likewise.
1192 (tic54x_struct): Likewise.
1193 (tic54x_space): Likewise.
1194 (tic54x_field): Likewise.
1195 (tic54x_mlib): Likewise.
1196 (subsym_substitute): Likewise.
1197 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1198 * config/tc-vax.c: Likewise.
1199 * config/tc-xc16x.c: Likewise.
1200 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1201 (directive_push): Likewise.
1202 (xtensa_begin_directive): Likewise.
1203 (tokenize_arguments): Likewise.
1204 (xtensa_add_literal_sym): Likewise.
1205 (new_resource_table): Likewise.
1206 (resize_resource_table): Likewise.
1207 (emit_single_op): Likewise.
1208 (xtensa_create_trampoline_frag): Likewise.
1209 (xtensa_maybe_create_literal_pool_frag): Likewise.
1210 (xtensa_add_config_info): Likewise.
1211 (xtensa_realloc_fixup_cache): Likewise.
1212 (add_subseg_info): Likewise.
1213 (cache_literal_section): Likewise.
1214 (add_xt_block_frags): Likewise.
1215 (add_xt_prop_frags): Likewise.
1216 (init_op_placement_info_table): Likewise.
1217 (build_section_rename): Likewise.
1218 * config/tc-z80.c: Likewise.
1219 * config/tc-z8k.c: Likewise.
1220 * depend.c (register_dependency): Likewise.
1221 * dwarf2dbg.c (get_line_subseg): Likewise.
1222 (dwarf2_gen_line_info_1): Likewise.
1223 (get_filenum): Likewise.
1224 * ecoff.c (allocate_scope): Likewise.
1225 (allocate_vlinks): Likewise.
1226 (allocate_shash): Likewise.
1227 (allocate_thash): Likewise.
1228 (allocate_tag): Likewise.
1229 (allocate_forward): Likewise.
1230 (allocate_thead): Likewise.
1231 (allocate_lineno_list): Likewise.
1232 * expr.c (make_expr_symbol): Likewise.
1233 * hash.c (hash_new_sized): Likewise.
1234 * input-file.c (input_file_push): Likewise.
1235 * listing.c (file_info): Likewise.
1236 (listing_newline): Likewise.
1237 * macro.c (new_formal): Likewise.
1238 (define_macro): Likewise.
1239 * remap.c (add_debug_prefix_map): Likewise.
1240 * symbols.c (symbol_find_noref): Likewise.
1241 (define_dollar_label): Likewise.
1242 (fb_label_instance_inc): Likewise.
1243 (symbol_relc_make_value): Likewise.
1244
a44e2901
TS
12452016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1246
1247 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1248 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1249 (ppc_znop): Likewise.
1250 (ppc_pe_section): Likewise.
1251 (ppc_frob_symbol): Likewise.
1252 * config/tc-tic30.c (tic30_operand): Likewise.
1253 * config/tc-tic4x.c (tic4x_sect): Likewise.
1254 (tic4x_usect): Likewise.
1255
ae2689b0
TS
12562016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1257
1258 * config/tc-alpha.c: Const qualify FLT_CHARS.
1259 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1260 * config/tc-cris.h: Likewise.
1261 * expr.c: Likewise.
1262 * config/tc-mmix.c (md_atof): Adjust comment.
1263 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1264 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1265
a51ef392
TS
12662016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1267
1268 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1269 * config/tc-score7.c (s7_gen_reloc): Likewise.
1270
2fe88214
TS
12712016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1272
1273 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1274 bfd_reloc_code_real_type.
1275
e1ec8109
TS
12762016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1277
1278 * config/bfin-parse.y (current_inputline): Remove definition.
1279 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1280
f73e41ef
TS
12812016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1282
1283 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1284 strings.
1285
62bd6b5f
AM
12862016-04-02 Alan Modra <amodra@gmail.com>
1287
1288 PR 19896
1289 * read.c (assign_symbol): Consume rest of line after an error
1290 rather than continuing to process the line.
1291
83cda17b
AB
12922016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1293
1294 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1295 (MAX_FLAG_NAME_LENGTH): ...this.
1296 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1297 * config/tc-arc.c (tokenize_flags): Likewise.
1298
6d4af3c2
AM
12992016-04-01 Alan Modra <amodra@gmail.com>
1300
1301 * cgen.c (weak_operand_overflow_check): Return const char*.
1302 * messages.c (as_internal_value_out_of_range): Formatting.
1303 (as_warn_value_out_of_range): Consify prefix param.
1304 (as_bad_value_out_of_range): Likewise.
1305 * read.c (s_errwarn): Constify msg..
1306 (s_float_space, float_cons): ..and err.
1307 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1308 ieee_md_atof, vax_md_atof): Update prototypes.
1309 * tc.h (md_atof): Update prototype.
1310 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1311 * config/atof-vax.c (vax_md_atof): Likewise.
1312 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1313 * config/tc-aarch64.c (md_atof): Return const char*.
1314 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1315 (s_alpha_comm): Constify sec_name.
1316 (section_name): Constify.
1317 (s_alpha_section): Consify name..
1318 (alpha_elf_section_letter): ..and ptr_msg param..
1319 (md_atof): ..and return.
1320 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1321 * config/tc-arc.c (md_atof): Return const char*.
1322 * config/tc-arm.c (md_atof): Likewise.
1323 * config/tc-avr.c (md_atof): Likewise.
1324 * config/tc-bfin.c (md_atof): Likewise.
1325 * config/tc-cr16.c (md_atof): Likewise.
1326 * config/tc-cris.c (md_atof): Likewise.
1327 * config/tc-crx.c (md_atof): Likewise.
1328 * config/tc-d10v.c (md_atof): Likewise.
1329 * config/tc-d30v.c (md_atof): Likewise.
1330 * config/tc-dlx.c (md_atof): Likewise.
1331 * config/tc-epiphany.c (md_atof): Likewise.
1332 * config/tc-fr30.c (md_atof): Likewise.
1333 * config/tc-frv.c (md_atof): Likewise.
1334 * config/tc-ft32.c (md_atof): Likewise.
1335 * config/tc-h8300.c (md_atof): Likewise.
1336 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1337 (struct default_space_dict): Likewise.
1338 (create_new_space): Constify name param.
1339 (create_new_subspace): Likewise.
1340 (is_defined_space, is_defined_subspace): Likewise.
1341 (pa_parse_space_stmt): Constify space_name param.
1342 (md_atof): Return const char*.
1343 (pa_spaces_begin): Constify name.
1344 * config/tc-i370.c (md_atof): Return const char*.
1345 * config/tc-i386.c (md_atof): Likewise.
1346 (x86_64_section_letter): Constify ptr_msg param.
1347 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1348 * config/tc-i860.c (struct i860_it): Constify error.
1349 (md_atof): Return const char*.
1350 * config/tc-i960.c (md_atof): Likewise.
1351 * config/tc-ia64.c (md_atof): Likewise.
1352 (ia64_elf_section_letter): Constify ptr_msg param.
1353 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1354 * config/tc-ip2k.c (md_atof): Return const char*.
1355 * config/tc-iq2000.c (md_atof): Likewise.
1356 * config/tc-lm32.c (md_atof): Likewise.
1357 * config/tc-m32c.c (md_atof): Likewise.
1358 * config/tc-m32r.c (md_atof): Likewise.
1359 * config/tc-m68hc11.c (md_atof): Likewise.
1360 * config/tc-m68k.c (md_atof): Likewise.
1361 * config/tc-mcore.c (md_atof): Likewise.
1362 * config/tc-mep.c (md_atof): Likewise.
1363 (mep_elf_section_letter): Constify ptr_msg param.
1364 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1365 * config/tc-metag.c (md_atof): Return const char*.
1366 * config/tc-microblaze.c (md_atof): Likewise.
1367 * config/tc-microblaze.h (md_atof): Delete prototype.
1368 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1369 (md_atof): Return const char*.
1370 * config/tc-mmix.c (md_atof): Likewise.
1371 * config/tc-mn10200.c (md_atof): Likewise.
1372 * config/tc-mn10300.c (md_atof): Likewise.
1373 * config/tc-moxie.c (md_atof): Likewise.
1374 * config/tc-msp430.c (md_atof): Likewise.
1375 * config/tc-mt.c (md_atof): Likewise.
1376 * config/tc-nds32.c (md_atof): Likewise.
1377 * config/tc-nios2.c (md_atof): Likewise.
1378 (nios2_elf_section_letter): Constify ptr_msg param.
1379 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1380 * config/tc-ns32k.c (md_atof): Return const char*.
1381 * config/tc-or1k.c (md_atof): Likewise.
1382 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1383 (md_atof): Return const char*.
1384 * config/tc-pj.c (md_atof): Likewise.
1385 * config/tc-ppc.c (md_atof): Likewise.
1386 * config/tc-rl78.c (md_atof): Likewise.
1387 * config/tc-rx.c (md_atof): Likewise.
1388 * config/tc-s390.c (md_atof): Likewise.
1389 * config/tc-score.c (s3_atof, md_atof): Likewise.
1390 * config/tc-sh.c (md_atof): Likewise.
1391 * config/tc-sparc.c (struct sparc_it): Constify error.
1392 (md_atof): Return const char*.
1393 * config/tc-spu.c (md_atof): Likewise.
1394 * config/tc-tic30.c (md_atof): Likewise.
1395 * config/tc-tic4x.c (md_atof): Likewise.
1396 * config/tc-tic54x.c (md_atof): Likewise.
1397 * config/tc-tic6x.c (md_atof): Likewise.
1398 * config/tc-tilegx.c (md_atof): Likewise.
1399 * config/tc-tilepro.c (md_atof): Likewise.
1400 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1401 * config/tc-vax.c (md_atof): Likewise.
1402 * config/tc-visium.c (md_atof): Likewise.
1403 * config/tc-xc16x.c (md_atof): Likewise.
1404 * config/tc-xgate.c (md_atof): Likewise.
1405 * config/tc-xstormy16.c (md_atof): Likewise.
1406 * config/tc-xtensa.c (md_atof): Likewise.
1407 * config/tc-z80.c (md_atof): Likewise.
1408 * config/tc-z8k.c (md_atof): Likewise.
1409
e4a0c708
TS
14102016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1411
1412 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1413 const.
1414 (xtensa_section_rename): Make argument type const char *.
1415 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1416
e2c7dcae
TS
14172016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1418
1419 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1420 args[0].
1421
f854977c
TS
14222016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1423
1424 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1425 char *.
1426 (m32c_indirect_operand): Likewise.
1427 * config/tc-nds32.c (do_pseudo_b): Likewise.
1428 (do_pseudo_bal): Likewise.
1429 (do_pseudo_ls_bhw): Likewise.
1430
97830986
TS
14312016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1432
1433 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1434
e87de513
TS
14352016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1436
1437 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1438 get_symbol_name ().
1439 * config/tc-sparc.c (s_register): Cast a literal to char * in
1440 assignment.
1441
47990a6a
TS
14422016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1443
1444 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1445 input_line_pointer.
1446 * config/tc-m32r.c (expand_debug_syms): Likewise.
1447 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1448 * config/tc-z80.c (md_begin): Likewise.
1449 * stabs.c (stabs_generate_asm_func): Likewise.
1450
e046cf80
TS
14512016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1452
1453 * cgen.c: Modernize the way functions declare arguments.
1454 * config/tc-bfin.c: Likewise.
1455 * config/tc-pdp11.c: Likewise.
1456 * literal.c: Likewise.
1457 * read.c: Likewise.
1458 * stabs.c: Likewise.
1459
d9235011
TS
14602016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1461
1462 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1463 variables unsigned char[].
1464 * config/tc-alpha.c (alpha_handle_align): Likewise.
1465 * config/tc-arm.c (arm_handle_align): Likewise.
1466 * config/tc-z80.c: Likewise.
1467
c6025a80
NC
14682016-03-30 Nick Clifton <nickc@redhat.com>
1469
1470 PR target/19880
1471 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1472 shifting.
1473
f89a23cf
CZ
14742016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1475
abe051ba
AM
1476 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1477 * testsuite/gas/elf/elf.exp: Likewise.
1478 * testsuite/gas/all/redef3.d: Allow execution for ARC.
f89a23cf 1479
f621ad3c
CZ
14802016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1481
abe051ba 1482 * testsuite/gas/arc/warn.exp: Fix matching pattern.
f621ad3c 1483
f2dd8838
CZ
14842016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1485
abe051ba
AM
1486 * testsuite/gas/arc/ext2op.d: New file.
1487 * testsuite/gas/arc/ext2op.s: Likewise.
1488 * testsuite/gas/arc/ext3op.d: Likewise.
1489 * testsuite/gas/arc/ext3op.s: Likewise.
f2dd8838 1490
17b9d67d
TS
14912016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1492
1493 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1494 qualifier.
1495 * config/tc-alpha.c (md_parse_option): Likewise.
1496 * config/tc-arc.c (md_parse_option): Likewise.
1497 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1498 (md_parse_option): Likewise.
1499 * config/tc-avr.c (md_parse_option): Likewise.
1500 * config/tc-bfin.c (md_parse_option): Likewise.
1501 * config/tc-cr16.c (md_parse_option): Likewise.
1502 * config/tc-cris.c (s_cris_arch): Likewise.
1503 (md_parse_option): Likewise.
1504 * config/tc-crx.c (md_parse_option): Likewise.
1505 * config/tc-d10v.c (md_parse_option): Likewise.
1506 * config/tc-d30v.c (md_parse_option): Likewise.
1507 * config/tc-dlx.c (md_parse_option): Likewise.
1508 * config/tc-epiphany.c (md_parse_option): Likewise.
1509 * config/tc-fr30.c (md_parse_option): Likewise.
1510 * config/tc-frv.c (md_parse_option): Likewise.
1511 * config/tc-ft32.c (md_parse_option): Likewise.
1512 * config/tc-h8300.c (md_parse_option): Likewise.
1513 * config/tc-hppa.c (md_parse_option): Likewise.
1514 * config/tc-i370.c (md_parse_option): Likewise.
1515 * config/tc-i386.c (md_parse_option): Likewise.
1516 * config/tc-i860.c (md_parse_option): Likewise.
1517 * config/tc-i960.c (md_parse_option): Likewise.
1518 * config/tc-ia64.c (md_parse_option): Likewise.
1519 * config/tc-ip2k.c (md_parse_option): Likewise.
1520 * config/tc-iq2000.c (md_parse_option): Likewise.
1521 * config/tc-lm32.c (md_parse_option): Likewise.
1522 * config/tc-m32c.c (md_parse_option): Likewise.
1523 * config/tc-m32r.c (md_parse_option): Likewise.
1524 * config/tc-m68hc11.c (md_parse_option): Likewise.
1525 * config/tc-m68k.c (md_parse_option): Likewise.
1526 * config/tc-mcore.c (md_parse_option): Likewise.
1527 * config/tc-mep.c (md_parse_option): Likewise.
1528 * config/tc-metag.c (struct metag_long_option): Likewise.
1529 (md_parse_option): Likewise.
1530 * config/tc-microblaze.c (md_parse_option): Likewise.
1531 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1532 * config/tc-mips.c (md_parse_option): Adjust.
1533 * config/tc-mmix.c (md_parse_option): Likewise.
1534 * config/tc-mn10200.c (md_parse_option): Likewise.
1535 * config/tc-mn10300.c (md_parse_option): Likewise.
1536 * config/tc-moxie.c (md_parse_option): Likewise.
1537 * config/tc-msp430.c (md_parse_option): Likewise.
1538 * config/tc-mt.c (md_parse_option): Likewise.
1539 * config/tc-nds32.c (md_parse_option): Likewise.
1540 * config/tc-nds32.h (nds32_parse_option): Likewise.
1541 * config/tc-nios2.c (md_parse_option): Likewise.
1542 * config/tc-ns32k.c (md_parse_option): Likewise.
1543 * config/tc-or1k.c (md_parse_option): Likewise.
1544 * config/tc-pdp11.c (md_parse_option): Likewise.
1545 * config/tc-pj.c (md_parse_option): Likewise.
1546 * config/tc-ppc.c (md_parse_option): Likewise.
1547 * config/tc-rl78.c (md_parse_option): Likewise.
1548 * config/tc-rx.c (md_parse_option): Likewise.
1549 * config/tc-s390.c (s390_parse_cpu): Likewise.
1550 * config/tc-score.c (md_parse_option): Likewise.
1551 * config/tc-sh.c (md_parse_option): Likewise.
1552 * config/tc-sparc.c (md_parse_option): Likewise.
1553 * config/tc-spu.c (md_parse_option): Likewise.
1554 * config/tc-tic30.c (md_parse_option): Likewise.
1555 * config/tc-tic4x.c (md_parse_option): Likewise.
1556 * config/tc-tic54x.c (md_parse_option): Likewise.
1557 * config/tc-tic6x.c (md_parse_option): Likewise.
1558 * config/tc-tilegx.c (md_parse_option): Likewise.
1559 * config/tc-tilepro.c (md_parse_option): Likewise.
1560 * config/tc-v850.c (md_parse_option): Likewise.
1561 * config/tc-vax.c (md_parse_option): Likewise.
1562 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1563 * config/tc-xc16x.c (md_parse_option): Likewise.
1564 * config/tc-xgate.c (md_parse_option): Likewise.
1565 * config/tc-xstormy16.c (md_parse_option): Likewise.
1566 * config/tc-xtensa.c (md_parse_option): Likewise.
1567 * config/tc-z80.c (md_parse_option): Likewise.
1568 * config/tc-z8k.c (md_parse_option): Likewise.
1569 * tc.h (md_parse_option): Likewise.
1570
30bd735c
TS
15712016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1572
1573 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1574 * config/tc-hppa.c (fix_new_hppa): Likewise.
1575 (pa_vtable_entry): Likewise.
1576 (pa_vtable_inherit): Likewise.
1577 * config/tc-m68k.c (md_begin): Likewise.
1578
82b8a785
TS
15792016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1580
1581 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1582 * config/obj-elf.h (obj_elf_section_name): Adjust.
1583 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1584 (aarch64_parse_cpu): Likewise.
1585 (aarch64_parse_arch): Likewise.
1586 * config/tc-arm.c (arm_parse_extension): Likewise.
1587 (arm_parse_cpu): Likewise.
1588 (arm_parse_arch): Likewise.
1589 * config/tc-nds32.c: Likewise.
1590 * config/xtensa-relax.c (parse_special_fn): Likewise.
1591 * stabs.c (generate_asm_file): Likewise.
1592
9202e88a
TS
15932016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1594
1595 * config/tc-cr16.c (cr16_assemble): New function.
1596 (md_assemble): Call cr16_assemble.
1597
a90fb5e3
TS
15982016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1599
1600 * as.c (parse_args): Adjust.
1601 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1602 * config/obj-elf.c (elf_frob_symbol): Adjust.
1603
f65c3d1b
JM
16042016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1605
1606 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1607 registers to be in the 16..31 range.
1608
e742e119
TS
16092016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1610
1611 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1612 frag_var ().
1613
eda6e9a4
TS
16142016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1615
1616 * config/tc-visium.c (md_atof): Localize the string returned on
1617 failure.
1618
b9bb4a93
TS
16192016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1620
1621 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1622 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1623 * config/tc-m68hc11.c (md_begin): Likewise.
1624 (print_opcode_list): Likewise.
1625 * config/tc-msp430.c (msp430_section): Likewise.
1626 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1627 (s3_build_dependency_insn_hsh): Likewise.
1628 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1629 (s7_build_dependency_insn_hsh): Likewise.
1630 * config/tc-tic4x.c: Likewise.
1631 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1632 (subsym_get_arg): Likewise.
1633 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1634 (get_directive): Likewise.
1635 (cache_literal_section): Likewise.
1636 * config/xtensa-relax.c: Likewise.
1637 * symbols.c (symbol_create): Likewise.
1638 (local_symbol_make): Likewise.
1639 (symbol_relc_make_expr): Likewise.
1640
986d894b
TS
16412016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1642
1643 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1644 str.
1645
74b4e47a
TS
16462016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1647
1648 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1649 call with a switch.
1650
0a433ebc
TS
16512016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1652
1653 * config/tc-ia64.c (ia64_do_align): Remove.
1654 (ia64_cons_align): Call do_align () directly.
1655 (dot_proc): Likewise.
1656 (stmt_float_cons): Likewise.
1657
8860a416
TS
16582016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1659
1660 * listing.c (listing_message): Use XNEW style allocation macros.
1661 * read.c (read_a_source_file): Likewise.
1662 (read_symbol_name): Likewise.
1663 (s_mri_common): Likewise.
1664 (assign_symbol): Likewise.
1665 (s_reloc): Likewise.
1666 (emit_expr_with_reloc): Likewise.
1667 (s_incbin): Likewise.
1668 (s_include): Likewise.
1669 * sb.c (sb_build): Likewise.
1670 (sb_check): Likewise.
1671
49636823
AM
16722016-03-22 Alan Modra <amodra@gmail.com>
1673
1674 * write.c (record_alignment): Revert 2016-02-18 change.
1675
39a0d071
AM
16762016-03-22 Alan Modra <amodra@gmail.com>
1677
1678 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1679 (emit_jsrjmp, tc_gen_reloc): Likewise.
1680 * config/tc-i370.c (i370_macro): Likewise.
1681
9780e045
NC
16822016-03-22 Nick Clifton <nickc@redhat.com>
1683
1684 * configure: Regenerate.
1685
e23e8ebe
AB
16862016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1687
1688 * testsuite/gas/arc/nps400-0.d: New file.
1689 * testsuite/gas/arc/nps400-0.s: New file.
1690 * testsuite/gas/arc/nps400-1.d: New file.
1691 * testsuite/gas/arc/nps400-1.s: New file.
1692
1ae8ab47
AB
16932016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1694
1695 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1696 declarations to start of block. Reset code on all flags before
1697 attempting to match them. Handle multiple hits on the same flag.
1698 Handle flag class.
1699 * testsuite/gas/arc/asm-errors.d: New file.
1700 * testsuite/gas/arc/asm-errors.err: New file.
1701 * testsuite/gas/arc/asm-errors.s: New file.
1702
8699fc3e
AB
17032016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1704
1705 * config/tc-arc.c (cpu_types): Add nps400 entry.
1706 (check_zol): Handle nps400.
1707
a9522a21
AB
17082016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1709
1710 * config/tc-arc.c (arc_select_cpu): Remove use of
1711 EF_ARC_CPU_GENERIC.
1712
24740d83
AB
17132016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1714
1715 * config/tc-arc.c (arc_target): Delay initialisation until
1716 arc_select_cpu.
1717 (arc_target_name): Likewise.
1718 (arc_features): Likewise.
1719 (arc_mach_type): Likewise.
1720 (cpu_types): Remove "all" entry.
1721 (arc_select_cpu): New function, most of the content is from...
1722 (md_parse_option): ... here. Call new arc_select_cpu.
1723 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1724
62f6f9c2
AB
17252016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1726
1727 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1728 * testsuite/gas/arc/inline-data-2.d: New file.
1729
e1fa0163
NC
17302016-03-21 Nick Clifton <nickc@redhat.com>
1731
1732 * atof-generic.c: Replace use of alloca with call to xmalloc.
1733 * cgen.c: Likewise.
1734 * dwarf2dbg.c: Likewise.
1735 * macro.c: Likewise.
1736 * remap.c: Likewise.
1737 * stabs.c: Likewise.
1738 * symbols.c: Likewise.
1739 * config/obj-elf.c: Likewise.
1740 * config/tc-aarch64.c: Likewise.
1741 * config/tc-arc.c: Likewise.
1742 * config/tc-arm.c: Likewise.
1743 * config/tc-avr.c: Likewise.
1744 * config/tc-ia64.c: Likewise.
1745 * config/tc-mips.c: Likewise.
1746 * config/tc-msp430.c: Likewise.
1747 * config/tc-nds32.c: Likewise.
1748 * config/tc-ppc.c: Likewise.
1749 * config/tc-sh.c: Likewise.
1750 * config/tc-tic30.c: Likewise.
1751 * config/tc-tic54x.c: Likewise.
1752 * config/tc-xstormy16.c: Likewise.
1753 * config/te-vms.c: Likewise.
1754 * configure: Regenerate.
1755
bad6e36d
TS
17562016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1757
1758 * tc-i386.c (f32_1): Change type to unsigned char[].
1759 (f32_2): Likewise.
1760 (f32_3): Likewise.
1761 (f32_4): Likewise.
1762 (f32_5): Likewise.
1763 (f32_6): Likewise.
1764 (f32_7): Likewise.
1765 (f32_8): Likewise.
1766 (f32_9): Likewise.
1767 (f32_10): Likewise.
1768 (f32_11): Likewise.
1769 (f32_12): Likewise.
1770 (f32_13): Likewise.
1771 (f32_14): Likewise.
1772 (f16_3): Likewise.
1773 (f16_4): Likewise.
1774 (f16_5): Likewise.
1775 (f16_6): Likewise.
1776 (f16_7): Likewise.
1777 (f16_8): Likewise.
1778 (jump_31): Likewise.
1779 (f32_patt): Likewise.
1780 (f16_patt): Likewise.
1781 (alt_3): Likewise.
1782 (alt_4): Likewise.
1783 (alt_5): Likewise.
1784 (alt_6): Likewise.
1785 (alt_7): Likewise.
1786 (alt_8): Likewise.
1787 (alt_9): Likewise.
1788 (alt_10): Likewise.
1789 (alt_patt): Likewise.
1790
6387924a
NC
17912016-03-18 Nick Clifton <nickc@redhat.com>
1792
30fab421
NC
1793 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1794 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1795 .tlsdescldr and .xword directives.
1796
8678914f
NC
1797 PR target/19721
1798 * testsuite/gas/aarch64/pr19721.s: New test source file.
1799 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1800
6387924a
NC
1801 * doc/as.texinfo: Place the target specific command line options
1802 into their own man page section.
1803
cc933301
JW
18042016-03-16 Jiong Wang <jiong.wang@arm.com>
1805
1806 * config/tc-arm.c (N_S_32): New.
1807 (N_F_16_32): Likewise.
1808 (N_SUF_32): Support N_F16.
1809 (N_IF_32): Likewise.
1810 (neon_dyadic_misc): Likewise.
1811 (do_neon_cmp): Likewise.
1812 (do_neon_cmp_inv): Likewise.
1813 (do_neon_mul): Likewise.
1814 (do_neon_fcmp_absolute): Likewise.
1815 (do_neon_step): Likewise.
1816 (do_neon_abs_neg): Likewise.
1817 (CVT_FLAVOR_VAR): Likewise.
1818 (do_neon_cvt_1): Likewise.
1819 (do_neon_recip_est): Likewise.
1820 (do_vmaxnm): Likewise.
1821 (do_vrint_1): Likewise.
1822 (neon_check_type): Check architecture support for FP16 extension.
1823 (insns): Update comments.
1824 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1825 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1826 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1827 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1828 arm mode.
1829 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1830 thumb mode.
1831 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1832 error file.
1833
5f2b6bc9
NC
18342016-03-16 Nick Clifton <nickc@redhat.com>
1835
1836 * read.c (emit_expr_with_reloc): Add code check a bignum with
1837 nbytes == 1.
1838 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1839 other than 32-bits.
1840 * testsuite/gas/elf/bignum.s: New test source file.
1841 * testsuite/gas/elf/bignum.d: New test driver file.
1842 * testsuite/gas/elf/elf.exp: Run the new test.
1843
4bde3cdd
UD
18442016-03-15 Ulrich Drepper <drepper@gmail.com>
1845
1846 * doc/c-i386.texi (Register Naming): Update to details of the
abe051ba 1847 latest architecture version.
4bde3cdd 1848
a9f02af8
MG
18492016-03-10 Mickael Guene <mickael.guene@st.com>
1850
1851 PR gas/19744
1852 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1853 (do_mov): Likewise.
1854 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1855 (do_t_mov_cmp): Likewise.
1856 (do_t_add_sub): Protect against bad relocations usage.
1857 (do_t_mov_cmp): Likewise.
5dafb246
AM
1858 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1859 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1860 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1861 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
a9f02af8 1862
aa8a0863
TS
18632016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1864
1865 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1866 do_alignment.
1867 (do_neon_ld_st_lane): Likewise.
1868 (do_neon_ld_dup): Likewise.
1869
72f3b6aa
CZ
18702016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1871
1872 * testsuite/gas/arc/inline-data-1.d: New file.
1873 * testsuite/gas/arc/inline-data-1.s: New file.
1874
5f474010
TP
18752016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1876
1877 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1878 * doc/c-arm.texi: Add cortex-r8.
1879
f86f5863
TS
18802016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1881
1882 * config/tc-arc.c: Add const qualifiers.
1883 * config/tc-h8300.c (md_begin): Likewise.
1884 * config/tc-ia64.c (print_prmask): Likewise.
1885 * config/tc-msp430.c (msp430_operands): Likewise.
1886 * config/tc-nds32.c (struct suffix_name): Likewise.
1887 (struct nds32_parse_option_table): Likewise.
1888 (struct nds32_set_option_table): Likewise.
1889 (do_pseudo_pushpopm): Likewise.
1890 (do_pseudo_pushpop_stack): Likewise.
1891 (nds32_relax_relocs): Likewise.
1892 (nds32_flag): Likewise.
1893 (struct nds32_hint_map): Likewise.
1894 (nds32_find_reloc_table): Likewise.
1895 (nds32_match_hint_insn): Likewise.
1896 * config/tc-s390.c: Likewise.
1897 * config/tc-sh.c (get_specific): Likewise.
1898 * config/tc-tic30.c: Likewise.
1899 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1900 (tic4x_indirect_parse): Likewise.
1901 * config/tc-vax.c (vax_cons): Likewise.
1902 * config/tc-z80.c (struct reg_entry): Likewise.
1903 * config/tc-epiphany.c (md_assemble): Adjust.
1904 (epiphany_assemble): New function.
1905 (epiphany_elf_section_rtn): Call do_align directly.
1906 (epiphany_elf_section_text): Likewise.
1907 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1908 (ip2k_elf_section_text): Likewise.
1909 * read.c (do_align): Make it not static.
1910 * read.h (do_align): New prototype.
1911
9411fd44
MW
19122016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1913
1914 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1915 for ARMv8.1 AdvSIMD use.
1916 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1917 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1918
643afb90
MW
19192016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1920
1921 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1922 feature.
1923 (record_feature_use): New.
1924 (mark_feature_used): Use record_feature_use.
1925 (do_neon_qrdmlah): New.
1926 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1927 variants.
1928 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1929 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1930 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1931 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1932 Make source file explicit.
1933 * testsuite/gas/arm/armv8-a+rdma.l: New.
1934 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1935 directives. Fix white-space.
1936 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1937
25aa3689
L
19382016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1939
1940 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1941
841fdfcd
CZ
19422016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1943 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1944
abe051ba
AM
1945 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1946 (tc_arc_fix_adjustable): Changed default return value to 1.
1947 * testsuite/gas/arc/j.d: Updated expected symbol
1948 * testsuite/gas/arc/jl.d: Likewise
1949 * testsuite/gas/arc/relax-avoid1.d: Likewise
1950 * testsuite/gas/arc/st.d: Likewise
841fdfcd 1951
7e458899
CZ
19522016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1953
1954 * config/tc-arc.c: Enable code density instructions for ARC EM.
1955
11e5f1ec
L
19562016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1957
1958 PR ld/19645
1959 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1960 for ELF assemblers.
1961 * as.c (flag_use_elf_stt_common): New.
1962 (show_usage): Add --elf-stt-common=.
1963 (option_values): Add OPTION_ELF_STT_COMMON.
1964 (std_longopts): Add --elf-stt-common=.
1965 (parse_args): Handle --elf-stt-common=.
1966 * as.h (flag_use_elf_stt_common): New.
1967 * config.in: Regenerated.
1968 * configure: Likewise.
1969 * configure.ac: Add --enable-elf-stt-common and define
1970 DEFAULT_GENERATE_ELF_STT_COMMON.
1971 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1972 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1973 * doc/as.texinfo: Document --elf-stt-common=.
1974 * testsuite/gas/elf/common3.s: New file.
1975 * testsuite/gas/elf/common3a.d: Likewise.
1976 * testsuite/gas/elf/common3b.d: Likewise.
1977 * testsuite/gas/elf/common4.s: Likewise.
1978 * testsuite/gas/elf/common4a.d: Likewise.
1979 * testsuite/gas/elf/common4b.d: Likewise.
1980 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1981 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1982 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1983 and common4b.
1984 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1985 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1986 --elf-stt-common=no to as.
1987 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1988 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1989 --elf-stt-common=no to as.
1990 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1991 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1992 of dw2-compress-3 and dw2-compressed-3.
1993
e0471c16
TS
19942016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1995
1996 * as.c (select_emulation_mode): Add const qualifiers.
1997 * as.h: Likewise.
1998 * config/bfin-defs.h: Likewise.
1999 * config/bfin-parse.y: Likewise.
2000 * config/rx-parse.y: Likewise.
2001 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2002 (struct aarch64_cpu_option_table): Likewise.
2003 (struct aarch64_arch_option_table): Likewise.
2004 (struct aarch64_option_cpu_value_table): Likewise.
2005 (struct aarch64_long_option_table): Likewise.
2006 (struct aarch64_option_abi_value_table): Likewise.
2007 * config/tc-arm.c (struct reloc_entry): Likewise.
2008 (tc_gen_reloc): Likewise.
2009 (struct arm_option_table): Likewise.
2010 (struct arm_legacy_option_table): Likewise.
2011 (struct arm_cpu_option_table): Likewise.
2012 (struct arm_arch_option_table): Likewise.
2013 (struct arm_option_extension_value_table): Likewise.
2014 (struct arm_option_fpu_value_table): Likewise.
2015 (struct arm_option_value_table): Likewise.
2016 (struct arm_long_option_table): Likewise.
2017 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2018 (struct mcu_type_s): Likewise.
2019 (struct exp_mod_s): Likewise.
2020 (avr_operand): Likewise.
2021 (avr_operands): Likewise.
2022 * config/tc-d10v.c (md_begin): Likewise.
2023 * config/tc-dlx.c: Likewise.
2024 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2025 * config/tc-ft32.c (parse_condition): Likewise.
2026 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2027 * config/tc-hppa.c (pa_ip): Likewise.
2028 (hppa_regname_to_dw2regnum): Likewise.
2029 * config/tc-i370.c (i370_elf_suffix): Likewise.
2030 * config/tc-i960.c (struct tabentry): Likewise.
2031 * config/tc-m32r.c: Likewise.
2032 * config/tc-m68k.c: Likewise.
2033 * config/tc-m68k.h: Likewise.
2034 * config/tc-mcore.c (parse_psrmod): Likewise.
2035 * config/tc-metag.c (struct metag_core_option): Likewise.
2036 (struct metag_long_option): Likewise.
2037 * config/tc-microblaze.c: Likewise.
2038 * config/tc-mips.c (macro): Likewise.
2039 * config/tc-mn10200.c: Likewise.
2040 * config/tc-mn10300.c: Likewise.
2041 * config/tc-msp430.c (struct rcodes_s): Likewise.
2042 (struct hcodes_s): Likewise.
2043 (md_parse_option): Likewise.
2044 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2045 (optlist): Likewise.
2046 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2047 (tc_ppc_regname_to_dw2regnum): Likewise.
2048 * config/tc-ppc.h: Likewise.
2049 * config/tc-rl78.c: Likewise.
2050 * config/tc-rx.c (struct cpu_type): Likewise.
2051 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2052 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2053 (sparc_ip): Likewise.
2054 * config/tc-spu.c (insn_fmt_string): Likewise.
2055 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2056 * config/tc-v850.c: Likewise.
2057 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2058 (struct visium_long_option_table): Likewise.
2059 * config/tc-xgate.c: Likewise.
2060 * config/tc-z8k.c: Likewise.
2061 * read.c (add_include_dir): Likewise.
2062 * read.h: Likewise.
2063
e6e7b7c4
AB
20642016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2065
2066 * testsuite/gas/all/gas.exp: Change target pattern to cover
2067 arceb-*.
2068 * testsuite/gas/all/redef3.d: Likewise.
2069 * testsuite/gas/elf/elf.exp: Likewise.
2070
9db2f6b4
RL
20712016-02-24 Renlin Li <renlin.li@arm.com>
2072
2073 * config/tc-arm.c (BAD_FP16): New error message macro.
2074 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2075 fp16 scalar instructions.
2076 (neon_check_type): Allow different size from key.
2077 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2078 (try_vfp_nsyn): Likewise.
2079 (do_vfp_nsyn_mla_mls): Likewise.
2080 (do_vfp_nsyn_fma_fms): Likewise.
2081 (do_vfp_nsyn_ldm_stm): Likewise
2082 (do_vfp_nsyn_sqrt): Likewise
2083 (do_vfp_nsyn_div): Likewise
2084 (do_vfp_nsyn_nmul): Likewise.
2085 (do_vfp_nsyn_cmp): Likewise.
2086 (do_neon_shll): Likewise.
2087 (do_vfp_nsyn_cvt_fpv8): Likewise.
2088 (do_neon_cvttb_2): Likewise.
2089 (do_neon_mov): Likewise.
2090 (do_neon_rshift_round_imm): Likewise.
2091 (do_neon_ldr_str): Likewise.
2092 (do_vfp_nsyn_fpv8): Likewise.
2093 (do_vmaxnm): Likewise.
2094 (do_vrint_1): Likewise.
2095 (insns): New entry for vins, vmovx.
2096 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2097 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2098 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2099 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2100 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2101 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2102 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2103
d54af2d0
RL
21042016-02-24 Renlin Li <renlin.li@arm.com>
2105
2106 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2107 (neon_shape_class): New SC_HALF.
2108 (neon_shape_el): New SE_H.
2109 (neon_shape_el_size): New size for SE_H.
2110 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2111 (neon_select_shape): Add SE_H support code.
2112 (el_type_of_type_chk): Use N_F_ALL.
2113 (do_vfp_nsyn_cvt): Add SE_H shape support.
2114 (do_neon_cvtz): Likewise.
2115 (do_neon_cvt_1): Likewise.
2116 (do_neon_cvttb_1): Likewise.
2117
b0c11777
RL
21182016-02-24 Renlin Li <renlin.li@arm.com>
2119
2120 * testsuite/gas/arm/copro.d: Adjust output.
2121 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2122
3e309328
RL
21232016-02-24 Renlin Li <renlin.li@arm.com>
2124
2125 * testsuite/gas/arm/mask_1.d: New.
2126 * testsuite/gas/arm/mask_1.s: New.
2127
8afc7bea
RL
21282016-02-24 Renlin Li <renlin.li@arm.com>
2129
2130 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2131 * testsuite/gas/arm/copro.d: Update.
2132
6735952f
KT
21332016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2134
2135 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2136 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2137
ed5491b9
KT
21382016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2139
abe051ba 2140 * doc/c-arm.texi (ARM Options): Document cortex-a17.
ed5491b9 2141
742e5034
L
21422016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2143
2144 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2145 hpux.
2146
3b4dbbbf
TS
21472016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2148
2149 * output-file.c (output_file_create): Make file name argument const.
2150 (output_file_close): Likewise.
2151 * output-file.h (output_file_create): Adjust.
2152 (output_file_close): Likewise.
2153 * depend.c (quote_string_for_make): Make src argument const char *.
2154 (register_dependency): Likewise.
2155 (wrap_output): Likewise.
2156 * as.h (register_dependency): Adjust.
2157 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2158 as_where ();
2159 * symbols.c (S_SET_EXTERNAL): Likewise.
2160 * input-scrub.c (as_where): Return the file name.
2161 * as.h (as_where): Adjust prototype.
2162 * app.c (do_scrub_chars): Adjust.
2163 * cond.c (s_elseif): Likewise.
2164 (s_else): Likewise.
2165 (initialize_cframe): Likewise.
2166 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2167 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2168 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2169 * config/tc-aarch64.c (output_info): Likewise.
2170 * config/tc-ia64.c (md_assemble): Likewise.
2171 (dot_alias): Likewise.
2172 * config/tc-m68k.c (m68k_frob_label): Likewise.
2173 * config/tc-mmix.c (s_bspec): Likewise.
2174 (mmix_handle_mmixal): Likewise.
2175 * config/tc-rx.c (rx_include): Likewise.
2176 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2177 (tic54x_adjust_symtab): Likewise.
2178 * config/tc-xtensa.c (directive_push): Likewise.
2179 (xtensa_sanity_check): Likewise.
2180 (xtensa_relax_frag): Likewise.
2181 (md_convert_frag): Likewise.
2182 (tinsn_to_slotbuf): Likewise.
2183 * dwarf2dbg.c (dwarf2_where): Likewise.
2184 * ecoff.c (add_file): Likewise.
2185 (ecoff_generate_asm_lineno): Likewise.
2186 * expr.c (make_expr_symbol): Likewise.
2187 * frags.c (frag_new): Likewise.
2188 (frag_var_init): Likewise.
2189 * listing.c (listing_newline): Likewise.
2190 * messages.c (identify): Likewise.
2191 (as_show_where): Likewise.
2192 (as_warn_internal): Likewise.
2193 (as_bad_internal): Likewise.
2194 * read.c (s_irp): Likewise.
2195 (s_macro): Likewise.
2196 (s_reloc): Likewise.
2197 * stabs.c (stabs_generate_asm_file): Likewise.
2198 (stabs_generate_asm_lineno): Likewise.
2199 (stabs_generate_asm_func): Likewise.
2200 * write.c (fix_new_internal): Likewise.
2201 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2202 (as_warn_value_out_of_range): Adjust prototype.
2203 (as_bad_value_out_of_range): Adjust prototype.
2204 * messages.c (identify): Make file name argument const char *.
2205 (as_warn_internal): Likewise.
2206 (as_warn_where): Likewise.
2207 (as_bad_internal): Likewise.
2208 (as_bad_where): Likewise.
2209 (as_internal_value_out_of_range): Likewise.
2210 (as_warn_value_out_of_range): Likewise.
2211 (as_bad_value_out_of_range): Likewise.
2212 * as.h (found_comment_file): Change type to const char *.
2213 * cond.c (file_line::file): Likewise.
2214 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2215 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2216 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2217 * config/tc-aarch64.c (output_info): Likewise.
2218 * config/tc-alpha.c (insert_operand): Likewise.
2219 * config/tc-arc.c (insert_operand): Likewise.
2220 * config/tc-d30v.c (check_size): Likewise.
2221 * config/tc-ia64.c (struct alias): Likewise.
2222 * config/tc-m68k.c (struct label_line): Likewise.
2223 * config/tc-mcore.c (md_apply_fix): Likewise.
2224 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2225 * config/tc-mips.c (mips16_immed): Likewise.
2226 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2227 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2228 * config/tc-rx.c (rx_include): Likewise.
2229 * config/tc-s390.c (s390_insert_operand): Likewise.
2230 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2231 (tic54x_adjust_symtab): Likewise.
2232 * config/tc-tilegx.c (insert_operand): Likewise.
2233 (apply_special_operator): Likewise.
2234 * config/tc-tilepro.c (insert_operand): Likewise.
2235 * config/tc-xtensa.c (directive_push): Likewise.
2236 * ecoff.c (add_file): Likewise.
2237 (ecoff_generate_asm_lineno): Likewise.
2238 * listing.c (listing_newline): Likewise.
2239 * read.c (s_irp): Likewise.
2240 * write.c (install_reloc): Likewise.
2241 * write.h (struct fix): Likewise.
2242 * input-file.c (file_name): Change type to const char *.
2243 (saved_file::file_name): Likewise.
2244 (input_file_open): Change type of argument to const char *.
2245 * input-file.h (input_file_open): Adjust.
2246 * input-scrub.c (logical_input_file): change type to const char *.
2247 (physical_input_file): Likewise.
abe051ba 2248 (struct input_save): Adjust.
3b4dbbbf
TS
2249 (input_scrub_push): Adjust.
2250 (input_scrub_begin): Adjust.
2251 (as_where): Adjust.
2252 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2253 (input_scrub_include_file): Likewise.
2254 (new_logical_line_flags): Likewise.
2255 (new_logical_line): Likewise.
2256 * as.h: Adjust.
2257 * frags.h (struct frag): Change type of fr_file to const char *.
2258 * expr.c (expr_symbol_where): Change type of file argument to
2259 const char **.
2260 * expr.h (expr_symbol_where): Likewise.
2261 * config/tc-i370.c (md_apply_fix): adjust.
2262 * config/tc-mmix.c (mmix_md_end): Likewise.
2263 * config/tc-ppc.c (md_apply_fix): Likewise.
2264 * config/tc-s390.c (md_apply_fix): Likewise.
2265 * symbols.c (report_op_error): Likewise.
2266 (resolve_symbol_value): Likewise.
2267 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2268 (rsrc::file): Likewise.
2269 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2270 const char *.
2271 (xtensa_relax_frag): Likewise.
2272 (md_convert_frag): Likewise.
2273 (tinsn_to_slotbuf): Likewise.
2274 * expr.c (expr_symbol_line): Likewise.
2275 * macro.c (define_macro): Likewise.
2276 * macro.h (macro_struct): Likewise.
2277 * messages.c (as_show_where): Likewise.
2278 * read.c (s_macro): Likewise.
2279 * stabs.c (stabs_generate_asm_file): Likewise.
2280 (generate_asm_file): Likewise.
2281 (stabs_generate_asm_lineno): Likewise.
2282 * write.h (struct reloc_list): Likewise.
2283 * input-scrub.c (as_where): Change return type to const char *.
2284 * as.h (as_wheree): Adjust.
2285
8ecb73dd
L
22862016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2287
2288 * write.c (compress_debug): Move BFD compression bits setting
2289 to ...
2290 (write_object_file): Here.
2291
200cbe0f
L
22922016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2293
2294 * config/tc-i386.c (register_number): Check RegVRex.
2295 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2296 with %zmm19 and %zmm3.
2297 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2298 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2299
b8ec4e87
JW
23002016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2301 Jiong Wang <jiong.wang@arm.com>
2302
2303 * config/tc-arm.c (arm_ext_fp16): New.
2304 (arm_extensions): New entry for "fp16".
2305
3be64886
NC
23062016-02-19 Nick Clifton <nickc@redhat.com>
2307
2308 PR 19630
2309 * read.c (read_a_source_file): Check for assemble_one returning
2310 with input_line_pointer set to NULL.
2311
3b4dbbbf 23122016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
cd0bbe6e 2313
3d13c647
TS
2314 * listing.c (rebuffer_line): Change return type to void.
2315
cd0bbe6e
TS
2316 * symbols.c (decode_local_label_name): Make type a const char *.
2317 * listing.c (print_source): Make type of p const char *.
2318 (print_line): Make type of string const char *.
2319 (buffer_line): Return const char *.
2320 (title): Make type const char *.
2321 (subtitle): Likewise.
2322 (listing_listing): Make type of p const char *.
2323 * messages.c (as_internal_value_out_of_range): Make type of prefix
2324 const char *.
2325 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2326 and string const char *.
2327 * read.c (_bfd_rel): Make type of name const char *.
2328 * app.c (out_string): Change type to const char *.
abe051ba 2329 (struct app_save::out_string): Likewise.
cd0bbe6e 2330
9136aa49
DG
23312016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2332 Nick Clifton <nickc@redhat.com>
2333
2334 * read.c (finish_bundle): Avoid recording a negative alignment.
2335 (do_align): Use unsigned values for n, len and max. Only create
2336 a frag if the alignment requirement is greater than the minimum
2337 byte alignment. Avoid recording a negative alignment.
2338 (s_align): Use unsigned values where appropriate.
2339 (bss_alloc): Use an unsigned value for the alignment.
2340 (sizeof_sleb128): Add a comment noting that we encode one octet
2341 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2342 (emit_leb129_expr): Abort if the emitted encoding was longer than
2343 expected.
2344 * read.h (output_leb128): Update prototype.
2345 (sizeof_leb128): Update prototype.
2346 (bss_alloc): Update prototype.
2347 * write.c (record_alignment): Use an unsigned value for the
2348 alignment. Do not record alignments less than the minimum
2349 alignment for a byte.
2350 * write.h (record_alignment): Update prototype.
2351
4111950f
MF
23522016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2353
2354 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2355 .init.literal/.fini.literal section name.
2356 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2357 list of xtensa tests.
2358 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2359 init-fini-literals test result patterns.
2360 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2361 init-fini-literals test.
2362
b27c40ec
NC
23632016-02-17 Nick Clifton <nickc@redhat.com>
2364
2365 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2366 devices.csv file as of March 2016.
2367
726c18e1
CZ
23682016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2369
2370 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2371 function.
2372 (tc_arc_regname_to_dw2regnum): Likewise.
2373 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2374 (tc_cfi_frame_initial_instructions): Likewise.
2375 (tc_regname_to_dw2regnum): Likewise.
5dafb246
AM
2376 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2377 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2378 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
726c18e1 2379
9406ee73
TS
23802016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2381
2382 * doc/internals.texi (S_IS_EXTERN): Remove.
2383
eda683bb
NC
23842016-02-16 Nick Clifton <nickc@redhat.com>
2385
2386 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2387 update.
2388
671eeb28
RL
23892016-02-16 Renlin Li <renlin.li@arm.com>
2390
2391 PR gas/19620
2392 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2393 * testsuite/gas/aarch64/movw_label.d: New.
2394 * testsuite/gas/aarch64/movw_label.s: New.
2395
804021fb 23962016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
6439ea1a 2397
58cda018 2398 PR gas/19556
6439ea1a
VK
2399 * config/rx-parse.y (MOV): Opcode generation for index
2400 register addressing mode.
2401 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2402 * testsuite/gas/rx/pr19665.s: New file.
2403 * testsuite/gas/rx/pr19665.s: New file.
2404 * testsuite/gas/rx/mov.d: Update expected output.
2405
804021fb 24062016-02-15 Nick Clifton <nickc@redhat.com>
9fb71ee4
NC
2407
2408 * doc/as.texinfo (.section): Document that numeric values can now
2409 be used for the flags and type fields of the ELF target's .section
2410 directive. Add notes about the restrictions on setting flags and
2411 types.
2412 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2413 to be given processor specific section types. Allow processor and
2414 application specific flags of a section to be set after
2415 definition.
2416 (obj_elf_parse_section_letters): Handle parsing numeric values.
2417 (obj_elf_section_type): Handle parsing numeric values.
2418 (obj_elf_section): Allow numeric type values.
2419 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2420 * testsuite/gas/elf/section10.d: New test.
2421 * testsuite/gas/elf/section10.s: Source file for new test.
2422 * testsuite/gas/elf/elf.exp: Run the new test.
2423 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2424 the description of the flags produced by readelf.
2425 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2426 * NEWS: Mention the new feature.
2427
bd5608dc
NC
24282016-02-11 Nick Clifton <nickc@redhat.com>
2429
2430 PR gas/19614
2431 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2432 until it is actually used.
2433 (cfi_set_sections): Set cfi_sections_set to true.
2434 (dot_cfi_startproc): Likewise.
2435 (dot_cfi_endproc): Likewise.
2436 (dot_cfi_fde_data): Likewise.
2437 (cfi_finish): Likewise.
2438 (dot_cfi_sections): Do not set cfi_sections_set.
2439 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2440 their own cfi section name. Also note that the directive can be
2441 reissued provided that CFI generation has not started.
2442 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2443 .cfi_endproc directives so that the redefinition of .cfi_sections
2444 will trigger the generation of the error message.
2445 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2446 number of error message.
2447
4670103e
CZ
24482016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2449 Janek van Oirschot <jvanoirs@synopsys.com>
2450
2451 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2452 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2453 Define.
2454 (arc_flags, arc_relax_type): New structure.
2455 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2456 (RELAX_TABLE_ENTRY_MAX): New define.
2457 (relaxation_state, md_relax_table, arc_relaxable_insns)
2458 (arc_num_relaxable_ins): New variable.
2459 (rlx_operand_type, arc_rlx_types): New enums.
2460 (arc_relaxable_ins): New structure.
2461 (OPTION_RELAX): New option.
2462 (arc_insn): New relax member.
2463 (arc_flags): Remove.
2464 (relax_insn_p): New function.
2465 (apply_fixups): Likewise.
2466 (relaxable_operand): Likewise.
2467 (may_relax_expr): Likewise.
2468 (relaxable_flag): Likewise.
2469 (arc_pcrel_adjust): Likewise.
2470 (md_estimate_size_before_relax): Implement.
2471 (md_convert_frag): Likewise.
2472 (md_parse_option): Handle new mrelax option.
2473 (md_show_usage): Likewise.
2474 (assemble_insn): Set relax member.
2475 (emit_insn0): New function.
2476 (emit_insn1): Likewise.
2477 (emit_insn): Handle relaxation case.
2478 * NEWS: Mention the new relaxation option.
2479 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2480 * doc/as.texinfo (Target ARC Options): Likewise.
2481 * testsuite/gas/arc/relax-avoid1.d: New file.
2482 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2483 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2484 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2485 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2486 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2487 * testsuite/gas/arc/relax-b.d: Likewise.
2488 * testsuite/gas/arc/relax-b.s: Likewise.
2489
9264d325
NC
24902016-02-08 Nick Clifton <nickc@redhat.com>
2491
2492 * config/tc-ia64.c (dot_prologue): Fix formatting.
2493
39306124
NC
24942016-02-04 Nick Clifton <nickc@redhat.com>
2495
2496 * config/obj-elf.c (obj_elf_change_section): Remove support for
2497 ARM NOREAD sections.
2498 * config/tc-arm.c (arm_elf_section_letter): Delete.
2499 * config/tc-arm.h (md_elf_section_letter): Delete.
2500 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2501 * testsuite/gas/arm/section-execute-only.d: Delete.
2502 * testsuite/gas/arm/section-execute-only.s: Delete.
2503
c1d9289f
NC
25042016-02-04 Nick Clifton <nickc@redhat.com>
2505
2506 PR target/19561
2507 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2508 to handle encoding of RRUX instruction.
2509 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2510 shift instructions.
2511 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2512
ea173078
MF
25132016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2514
2515 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2516 substitutions for BFD_RELOC_* as unsigned.
c1d9289f
NC
2517 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2518 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2519 * testsuite/gas/xtensa/loc.s: New file: loc test.
ea173078 2520
3d8efabf
KB
25212016-02-03 Kevin Buettner <kevinb@redhat.com>
2522
abe051ba 2523 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3d8efabf 2524
0cb4071e
L
25252016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 PR gas/19520
2528 * NEWS: Mention new command line option -mrelax-relocations and
2529 new configure option --enable-x86-relax-relocations for x86
2530 target.
2531 * config.in: Regenerated.
2532 * configure.ac: Add --enable-x86-relax-relocations.
2533 (ac_default_x86_relax_relocations): New. Default to 1 except
2534 for x86 Solaris targets older than Solaris 12.
2535 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2536 * configure: Likewise.
2537 * config/tc-i386.c (generate_relax_relocations): New.
2538 (OPTION_MRELAX_RELOCATIONS): Likewise.
2539 (output_disp): Don't generate relax relocations if
2540 generate_relax_relocations is 0.
2541 (md_longopts): Add -mrelax-relocations.
2542 (md_show_usage): Likewise.
2543 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2544 * doc/c-i386.texi: Document -mrelax-relocations=.
2545 * testsuite/gas/i386/got-no-relax.d: New file.
2546 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2547 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2548 * testsuite/gas/i386/localpic.d: Likewise.
2549 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2550 * testsuite/gas/i386/reloc32.d: Likewise.
2551 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2552 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2553 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2554 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2555 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2556 x86-64-gotpcrel-no-relax.
2557
9d3fc4e1
L
25582016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2559
2560 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2561 for x86 target.
2562
ab71ce86
L
25632016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2564
2565 * NEWS: Remove duplicated marker for 2.26.
2566
46d70d04
RL
25672016-02-02 Renlin Li <renlin.li@arm.com>
2568
2569 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2570
0f99255d
AB
25712016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2572
2573 * testsuite/gas/ip2k/allinsn.d: New file.
2574 * testsuite/gas/ip2k/allinsn.s: New file.
2575 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2576
5d7a9011
AB
25772016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2578
2579 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2580 some load instructions.
2581 * testsuite/gas/epiphany/allinsn.d: Likewise.
2582 * testsuite/gas/epiphany/regression.d: Likewise.
2583
a012b298
AB
25842016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2585
2586 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2587 suffixes from instruction mnemonics in expected output.
2588 * testsuite/gas/epiphany/allinsn.d: Likewise.
2589 * testsuite/gas/epiphany/regression.d: Likewise.
2590 * testsuite/gas/epiphany/sample.d: Likewise.
2591
2f74d480
AB
25922016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2593
2594 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2595 names.
2596 * testsuite/gas/epiphany/allinsn.d: Likewise.
2597 * testsuite/gas/epiphany/sample.d: Likewise.
2598
b89807c6
AB
25992016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2600
2601 * testsuite/gas/epiphany/sample.d: Update expected output.
2602
b125bd17
CZ
26032016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2604
abe051ba
AM
2605 * config/tc-arc.c (md_apply_fix): Allow addendum.
2606 (arc_reloc_op): Allow complex expressions for tpoff.
2607 (md_apply_fix): Handle resolved TLS local symbol.
b125bd17
CZ
2608 * testsuite/gas/arc/tls-relocs1.d: New file.
2609 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2610
4f1d6205
L
26112016-02-01 Loria <Loria@phantasia.org>
2612
2613 PR target/19311
2614 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2615 efficiency and avoid an LLVM loop optimization bug.
2616
ac0d427f
NC
26172016-02-01 Nick Clifton <nickc@redhat.com>
2618
2619 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2620 message extending a negative 32-bit value into a larger signed
2621 value on a 32-bit host.
2622
348ef89a
L
26232016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 PR gas/19532
2626 * configure.ac (compressed_debug_sections): Replace == with =.
2627 * configure: Regenerated.
2628
e4e00185
AS
26292016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2630 H.J. Lu <hongjiu.lu@intel.com>
2631
2632 * config/tc-i386.c (avoid_fence): New.
2633 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2634 is true.
2635 (OPTION_FENCE_AS_LOCK_ADD): New.
2636 (md_longopts): Add -mfence-as-lock-add.
2637 (md_parse_option): Handle -mfence-as-lock-add.
2638 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2639 * doc/c-i386.texi (-mfence-as-lock-add): Document.
ac2789d7
L
2640 * testsuite/gas/i386/i386.exp: Run new tests.
2641 * testsuite/gas/i386/fence-as-lock-add.s: New.
2642 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2643 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2644 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2645 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
e4e00185 2646
27ba7c94
L
26472016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2648
2649 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2650 * configure: Regenerated.
2651
d1982f93
L
26522016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2653
2654 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2655 (OPTION_MOMIT_LOCK_PREFIX): This.
2656 (md_longopts): Updated.
2657 (md_parse_option): Likewise.
2658
00acd688
CM
26592016-01-25 Catherine Moore <clm@codesourcery.com>
2660
2661 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2662 if abicalls are in effect.
2663 * testsuite/gas/mips/sdata-gp.s: New test.
2664 * testsuite/gas/mips/sdata-gp.d: New expected output
2665 * testsuite/gas/mips/mips.exp: Run new test.
2666
5bc5ae88
RL
26672016-01-25 Renlin Li <renlin.li@arm.com>
2668
2669 * testsuite/gas/arm/thumb2_it_search.d: New.
2670 * testsuite/gas/arm/thumb2_it_search.s: New.
2671
61e137e2
NC
26722016-01-21 Nick Clifton <nickc@redhat.com>
2673
2674 PR gas/19454
2675 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2676 with arm-netbsdelf target.
2677 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2678
aed5fc75
NC
26792016-01-20 Nick Clifton <nickc@redhat.com>
2680
74b92a5c
NC
2681 PR 19456
2682 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2683 * testsuite/gas/arm/blx-bl-convert.d
2684 * testsuite/gas/arm/plt-1.d: Likewise.
2685 * testsuite/gas/arm/reloc-bad.d: Likewise.
2686 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2687 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2688 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2689 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2690
72e0b254
NC
2691 PR 19499
2692 * doc/as.texinfo (Errors): Correct documentation describing the
2693 interaction of .file and .line with warning and error messages.
2694
aed5fc75
NC
2695 PR 19458
2696 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2697 * testsuite/gas/arm/archv8m-main.d: Likewise.
2698 * testsuite/gas/arm/archv8m-base.d: Likewise.
2699
0bff6e2d
MW
27002016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2701
2702 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2703 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2704 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2705
91f68a68
MG
27062016-01-20 Mickael Guene <mickael.guene@st.com>
2707 Terry Guo <terry.guo@arm.com>
2708
2709 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2710 SHF_ARM_NOREAD section flag.
2711 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2712 handle letter 'y'.
2713 (arm_elf_section_letter) : Declare it.
2714 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2715 SHF_ARM_NOREAD section flag.
2716 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2717
2718 * testsuite/gas/arm/section-execute-only.s: New test case.
2719 * testsuite/gas/arm/section-execute-only.d: Expected output.
2720
100b4f2e
MR
27212016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2722
2723 * config/tc-mips.c (micromips_insn_length): Remove the mention
2724 of 48-bit microMIPS instructions.
2725
3d961d0d
AM
27262016-01-18 Alan Modra <amodra@gmail.com>
2727
2728 * configure: Regenerate.
2729
5c14705f
AM
27302016-01-17 Alan Modra <amodra@gmail.com>
2731
2732 * configure: Regenerate.
2733
b3066ae8
AM
27342016-01-17 Alan Modra <amodra@gmail.com>
2735
2736 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2737
4d82fe66
NC
27382016-01-14 Nick Clifton <nickc@redhat.com>
2739
2740 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2741 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2742 * testsuite/gas/rl78/rl78.exp: Run the new test.
2743
651657fa
MW
27442016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2745
2746 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2747 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2748
3facb0e9
MR
27492016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2750
2751 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2752
8a4c2869
YS
27532016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2754
2755 * config/tc-h8300.c (get_operand): Remove spurious condition in
2756 test for closing parenthesis.
2757
105bde57
MW
27582016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2759
2760 * config/tc-arm.c (arm_ext_v8_2): New.
2761 (insns): Add "esb".
2762 * testsuite/gas/arm/armv8_2-a.d: New.
2763 * testsuite/gas/arm/armv8_2-a.s: New.
2764
5230aa4d
AM
27652016-01-12 Alan Modra <amodra@gmail.com>
2766
2767 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2768
afa8d405
PB
27692016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2770
2771 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2772 xvcmpnesp, xvcmpnesp.>: Delete tests.
2773 * testsuite/gas/ppc/power9.s: Likewise.
2774 * testsuite/gas/ppc/vsx3.d: Likewise.
2775 * testsuite/gas/ppc/vsx3.s: Likewise.
2776
83c3256e
AS
27772016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2778
2779 PR gas/13050
2780 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2781 * testsuite/gas/m68k/p13050-1.s: New file.
2782 * testsuite/gas/m68k/p13050-2.d: New file.
2783 * testsuite/gas/m68k/p13050-2.s: New file.
2784
b05a65d0
AB
27852016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2786
2787 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2788 * testsuite/gas/arc/add.d: Likewise.
2789 * testsuite/gas/arc/and.d: Likewise.
2790 * testsuite/gas/arc/asl.d: Likewise.
2791 * testsuite/gas/arc/asr.d: Likewise.
2792 * testsuite/gas/arc/bic.d: Likewise.
2793 * testsuite/gas/arc/extb.d: Likewise.
2794 * testsuite/gas/arc/extw.d: Likewise.
2795 * testsuite/gas/arc/j.d: Likewise.
2796 * testsuite/gas/arc/jl.d: Likewise.
2797 * testsuite/gas/arc/ld2.d: Likewise.
2798 * testsuite/gas/arc/lsr.d: Likewise.
2799 * testsuite/gas/arc/mov.d: Likewise.
2800 * testsuite/gas/arc/or.d: Likewise.
2801 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2802 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2803 * testsuite/gas/arc/pic-relocs.d: Likewise.
2804 * testsuite/gas/arc/plt-relocs.d: Likewise.
2805 * testsuite/gas/arc/rlc.d: Likewise.
2806 * testsuite/gas/arc/ror.d: Likewise.
2807 * testsuite/gas/arc/rrc.d: Likewise.
2808 * testsuite/gas/arc/sbc.d: Likewise.
2809 * testsuite/gas/arc/sda-relocs.d: Likewise.
2810 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2811 * testsuite/gas/arc/sexb.d: Likewise.
2812 * testsuite/gas/arc/sexw.d: Likewise.
2813 * testsuite/gas/arc/st.d: Likewise.
2814 * testsuite/gas/arc/sub.d: Likewise.
2815 * testsuite/gas/arc/tls-relocs.d: Likewise.
2816 * testsuite/gas/arc/xor.d: Likewise.
2817
6f2750fe
AM
28182016-01-01 Alan Modra <amodra@gmail.com>
2819
2820 Update year range in copyright notice of all files.
2821
3499769a
AM
2822For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2823\f
2824Copyright (C) 2016 Free Software Foundation, Inc.
2825
2826Copying and distribution of this file, with or without modification,
2827are permitted in any medium without royalty provided the copyright
2828notice and this notice are preserved.
2829
2830Local Variables:
2831mode: change-log
2832left-margin: 8
2833fill-column: 74
2834version-control: never
2835End:
This page took 0.179443 seconds and 4 git commands to generate.