1 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
4 * config/tc-hppa.c (fix_new_hppa): Likewise.
5 (pa_vtable_entry): Likewise.
6 (pa_vtable_inherit): Likewise.
7 * config/tc-m68k.c (md_begin): Likewise.
9 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
11 * config/obj-elf.c (obj_elf_section_name): Return const char *.
12 * config/obj-elf.h (obj_elf_section_name): Adjust.
13 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
14 (aarch64_parse_cpu): Likewise.
15 (aarch64_parse_arch): Likewise.
16 * config/tc-arm.c (arm_parse_extension): Likewise.
17 (arm_parse_cpu): Likewise.
18 (arm_parse_arch): Likewise.
19 * config/tc-nds32.c: Likewise.
20 * config/xtensa-relax.c (parse_special_fn): Likewise.
21 * stabs.c (generate_asm_file): Likewise.
23 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
25 * config/tc-cr16.c (cr16_assemble): New function.
26 (md_assemble): Call cr16_assemble.
28 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
30 * as.c (parse_args): Adjust.
31 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
32 * config/obj-elf.c (elf_frob_symbol): Adjust.
34 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
36 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
37 registers to be in the 16..31 range.
39 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
41 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
44 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
46 * config/tc-visium.c (md_atof): Localize the string returned on
49 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
51 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
52 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
53 * config/tc-m68hc11.c (md_begin): Likewise.
54 (print_opcode_list): Likewise.
55 * config/tc-msp430.c (msp430_section): Likewise.
56 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
57 (s3_build_dependency_insn_hsh): Likewise.
58 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
59 (s7_build_dependency_insn_hsh): Likewise.
60 * config/tc-tic4x.c: Likewise.
61 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
62 (subsym_get_arg): Likewise.
63 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
64 (get_directive): Likewise.
65 (cache_literal_section): Likewise.
66 * config/xtensa-relax.c: Likewise.
67 * symbols.c (symbol_create): Likewise.
68 (local_symbol_make): Likewise.
69 (symbol_relc_make_expr): Likewise.
71 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
73 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
76 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
78 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
81 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
83 * config/tc-ia64.c (ia64_do_align): Remove.
84 (ia64_cons_align): Call do_align () directly.
86 (stmt_float_cons): Likewise.
88 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
90 * listing.c (listing_message): Use XNEW style allocation macros.
91 * read.c (read_a_source_file): Likewise.
92 (read_symbol_name): Likewise.
93 (s_mri_common): Likewise.
94 (assign_symbol): Likewise.
96 (emit_expr_with_reloc): Likewise.
98 (s_include): Likewise.
99 * sb.c (sb_build): Likewise.
100 (sb_check): Likewise.
102 2016-03-22 Alan Modra <amodra@gmail.com>
104 * write.c (record_alignment): Revert 2016-02-18 change.
106 2016-03-22 Alan Modra <amodra@gmail.com>
108 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
109 (emit_jsrjmp, tc_gen_reloc): Likewise.
110 * config/tc-i370.c (i370_macro): Likewise.
112 2016-03-22 Nick Clifton <nickc@redhat.com>
114 * configure: Regenerate.
116 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
118 * testsuite/gas/arc/nps400-0.d: New file.
119 * testsuite/gas/arc/nps400-0.s: New file.
120 * testsuite/gas/arc/nps400-1.d: New file.
121 * testsuite/gas/arc/nps400-1.s: New file.
123 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
125 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
126 declarations to start of block. Reset code on all flags before
127 attempting to match them. Handle multiple hits on the same flag.
129 * testsuite/gas/arc/asm-errors.d: New file.
130 * testsuite/gas/arc/asm-errors.err: New file.
131 * testsuite/gas/arc/asm-errors.s: New file.
133 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
135 * config/tc-arc.c (cpu_types): Add nps400 entry.
136 (check_zol): Handle nps400.
138 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
140 * config/tc-arc.c (arc_select_cpu): Remove use of
143 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
145 * config/tc-arc.c (arc_target): Delay initialisation until
147 (arc_target_name): Likewise.
148 (arc_features): Likewise.
149 (arc_mach_type): Likewise.
150 (cpu_types): Remove "all" entry.
151 (arc_select_cpu): New function, most of the content is from...
152 (md_parse_option): ... here. Call new arc_select_cpu.
153 (md_begin): Call arc_select_cpu if needed, default is now arc700.
155 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
157 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
158 * testsuite/gas/arc/inline-data-2.d: New file.
160 2016-03-21 Nick Clifton <nickc@redhat.com>
162 * atof-generic.c: Replace use of alloca with call to xmalloc.
164 * dwarf2dbg.c: Likewise.
168 * symbols.c: Likewise.
169 * config/obj-elf.c: Likewise.
170 * config/tc-aarch64.c: Likewise.
171 * config/tc-arc.c: Likewise.
172 * config/tc-arm.c: Likewise.
173 * config/tc-avr.c: Likewise.
174 * config/tc-ia64.c: Likewise.
175 * config/tc-mips.c: Likewise.
176 * config/tc-msp430.c: Likewise.
177 * config/tc-nds32.c: Likewise.
178 * config/tc-ppc.c: Likewise.
179 * config/tc-sh.c: Likewise.
180 * config/tc-tic30.c: Likewise.
181 * config/tc-tic54x.c: Likewise.
182 * config/tc-xstormy16.c: Likewise.
183 * config/te-vms.c: Likewise.
184 * configure: Regenerate.
186 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
188 * tc-i386.c (f32_1): Change type to unsigned char[].
209 (f32_patt): Likewise.
210 (f16_patt): Likewise.
219 (alt_patt): Likewise.
221 2016-03-18 Nick Clifton <nickc@redhat.com>
223 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
224 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
225 .tlsdescldr and .xword directives.
228 * testsuite/gas/aarch64/pr19721.s: New test source file.
229 * testsuite/gas/aarch64/pr19721.d: New test driver file.
231 * doc/as.texinfo: Place the target specific command line options
232 into their own man page section.
234 2016-03-16 Jiong Wang <jiong.wang@arm.com>
236 * config/tc-arm.c (N_S_32): New.
237 (N_F_16_32): Likewise.
238 (N_SUF_32): Support N_F16.
240 (neon_dyadic_misc): Likewise.
241 (do_neon_cmp): Likewise.
242 (do_neon_cmp_inv): Likewise.
243 (do_neon_mul): Likewise.
244 (do_neon_fcmp_absolute): Likewise.
245 (do_neon_step): Likewise.
246 (do_neon_abs_neg): Likewise.
247 (CVT_FLAVOR_VAR): Likewise.
248 (do_neon_cvt_1): Likewise.
249 (do_neon_recip_est): Likewise.
250 (do_vmaxnm): Likewise.
251 (do_vrint_1): Likewise.
252 (neon_check_type): Check architecture support for FP16 extension.
253 (insns): Update comments.
254 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
255 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
256 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
257 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
259 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
261 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
264 2016-03-16 Nick Clifton <nickc@redhat.com>
266 * read.c (emit_expr_with_reloc): Add code check a bignum with
268 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
270 * testsuite/gas/elf/bignum.s: New test source file.
271 * testsuite/gas/elf/bignum.d: New test driver file.
272 * testsuite/gas/elf/elf.exp: Run the new test.
274 2016-03-15 Ulrich Drepper <drepper@gmail.com>
276 * doc/c-i386.texi (Register Naming): Update to details of the
277 latest architecture version.
279 2016-03-10 Mickael Guene <mickael.guene@st.com>
282 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
284 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
285 (do_t_mov_cmp): Likewise.
286 (do_t_add_sub): Protect against bad relocations usage.
287 (do_t_mov_cmp): Likewise.
288 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
289 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
290 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
291 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
293 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
295 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
297 (do_neon_ld_st_lane): Likewise.
298 (do_neon_ld_dup): Likewise.
300 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
302 * testsuite/gas/arc/inline-data-1.d: New file.
303 * testsuite/gas/arc/inline-data-1.s: New file.
305 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
307 * config/tc-arm.c (arm_cpus): Add cortex-r8.
308 * doc/c-arm.texi: Add cortex-r8.
310 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
312 * config/tc-arc.c: Add const qualifiers.
313 * config/tc-h8300.c (md_begin): Likewise.
314 * config/tc-ia64.c (print_prmask): Likewise.
315 * config/tc-msp430.c (msp430_operands): Likewise.
316 * config/tc-nds32.c (struct suffix_name): Likewise.
317 (struct nds32_parse_option_table): Likewise.
318 (struct nds32_set_option_table): Likewise.
319 (do_pseudo_pushpopm): Likewise.
320 (do_pseudo_pushpop_stack): Likewise.
321 (nds32_relax_relocs): Likewise.
322 (nds32_flag): Likewise.
323 (struct nds32_hint_map): Likewise.
324 (nds32_find_reloc_table): Likewise.
325 (nds32_match_hint_insn): Likewise.
326 * config/tc-s390.c: Likewise.
327 * config/tc-sh.c (get_specific): Likewise.
328 * config/tc-tic30.c: Likewise.
329 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
330 (tic4x_indirect_parse): Likewise.
331 * config/tc-vax.c (vax_cons): Likewise.
332 * config/tc-z80.c (struct reg_entry): Likewise.
333 * config/tc-epiphany.c (md_assemble): Adjust.
334 (epiphany_assemble): New function.
335 (epiphany_elf_section_rtn): Call do_align directly.
336 (epiphany_elf_section_text): Likewise.
337 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
338 (ip2k_elf_section_text): Likewise.
339 * read.c (do_align): Make it not static.
340 * read.h (do_align): New prototype.
342 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
344 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
345 for ARMv8.1 AdvSIMD use.
346 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
347 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
349 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
351 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
353 (record_feature_use): New.
354 (mark_feature_used): Use record_feature_use.
355 (do_neon_qrdmlah): New.
356 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
358 (arm_extensions): Put into alphabetical order. Re-indent "simd"
359 and "rdma" entries. Fix the incorrect merge value for "+rdma".
360 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
361 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
362 Make source file explicit.
363 * testsuite/gas/arm/armv8-a+rdma.l: New.
364 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
365 directives. Fix white-space.
366 * testsuite/gas/arm/armv8_1-a+simd.d: New.
368 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
370 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
372 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
373 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
375 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
376 (tc_arc_fix_adjustable): Changed default return value to 1.
377 * testsuite/gas/arc/j.d: Updated expected symbol
378 * testsuite/gas/arc/jl.d: Likewise
379 * testsuite/gas/arc/relax-avoid1.d: Likewise
380 * testsuite/gas/arc/st.d: Likewise
382 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
384 * config/tc-arc.c: Enable code density instructions for ARC EM.
386 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
389 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
391 * as.c (flag_use_elf_stt_common): New.
392 (show_usage): Add --elf-stt-common=.
393 (option_values): Add OPTION_ELF_STT_COMMON.
394 (std_longopts): Add --elf-stt-common=.
395 (parse_args): Handle --elf-stt-common=.
396 * as.h (flag_use_elf_stt_common): New.
397 * config.in: Regenerated.
398 * configure: Likewise.
399 * configure.ac: Add --enable-elf-stt-common and define
400 DEFAULT_GENERATE_ELF_STT_COMMON.
401 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
402 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
403 * doc/as.texinfo: Document --elf-stt-common=.
404 * testsuite/gas/elf/common3.s: New file.
405 * testsuite/gas/elf/common3a.d: Likewise.
406 * testsuite/gas/elf/common3b.d: Likewise.
407 * testsuite/gas/elf/common4.s: Likewise.
408 * testsuite/gas/elf/common4a.d: Likewise.
409 * testsuite/gas/elf/common4b.d: Likewise.
410 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
411 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
412 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
414 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
415 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
416 --elf-stt-common=no to as.
417 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
418 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
419 --elf-stt-common=no to as.
420 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
421 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
422 of dw2-compress-3 and dw2-compressed-3.
424 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
426 * as.c (select_emulation_mode): Add const qualifiers.
428 * config/bfin-defs.h: Likewise.
429 * config/bfin-parse.y: Likewise.
430 * config/rx-parse.y: Likewise.
431 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
432 (struct aarch64_cpu_option_table): Likewise.
433 (struct aarch64_arch_option_table): Likewise.
434 (struct aarch64_option_cpu_value_table): Likewise.
435 (struct aarch64_long_option_table): Likewise.
436 (struct aarch64_option_abi_value_table): Likewise.
437 * config/tc-arm.c (struct reloc_entry): Likewise.
438 (tc_gen_reloc): Likewise.
439 (struct arm_option_table): Likewise.
440 (struct arm_legacy_option_table): Likewise.
441 (struct arm_cpu_option_table): Likewise.
442 (struct arm_arch_option_table): Likewise.
443 (struct arm_option_extension_value_table): Likewise.
444 (struct arm_option_fpu_value_table): Likewise.
445 (struct arm_option_value_table): Likewise.
446 (struct arm_long_option_table): Likewise.
447 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
448 (struct mcu_type_s): Likewise.
449 (struct exp_mod_s): Likewise.
450 (avr_operand): Likewise.
451 (avr_operands): Likewise.
452 * config/tc-d10v.c (md_begin): Likewise.
453 * config/tc-dlx.c: Likewise.
454 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
455 * config/tc-ft32.c (parse_condition): Likewise.
456 * config/tc-h8300.c (do_a_fix_imm): Likewise.
457 * config/tc-hppa.c (pa_ip): Likewise.
458 (hppa_regname_to_dw2regnum): Likewise.
459 * config/tc-i370.c (i370_elf_suffix): Likewise.
460 * config/tc-i960.c (struct tabentry): Likewise.
461 * config/tc-m32r.c: Likewise.
462 * config/tc-m68k.c: Likewise.
463 * config/tc-m68k.h: Likewise.
464 * config/tc-mcore.c (parse_psrmod): Likewise.
465 * config/tc-metag.c (struct metag_core_option): Likewise.
466 (struct metag_long_option): Likewise.
467 * config/tc-microblaze.c: Likewise.
468 * config/tc-mips.c (macro): Likewise.
469 * config/tc-mn10200.c: Likewise.
470 * config/tc-mn10300.c: Likewise.
471 * config/tc-msp430.c (struct rcodes_s): Likewise.
472 (struct hcodes_s): Likewise.
473 (md_parse_option): Likewise.
474 * config/tc-ns32k.c (struct ns32k_option): Likewise.
476 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
477 (tc_ppc_regname_to_dw2regnum): Likewise.
478 * config/tc-ppc.h: Likewise.
479 * config/tc-rl78.c: Likewise.
480 * config/tc-rx.c (struct cpu_type): Likewise.
481 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
482 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
483 (sparc_ip): Likewise.
484 * config/tc-spu.c (insn_fmt_string): Likewise.
485 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
486 * config/tc-v850.c: Likewise.
487 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
488 (struct visium_long_option_table): Likewise.
489 * config/tc-xgate.c: Likewise.
490 * config/tc-z8k.c: Likewise.
491 * read.c (add_include_dir): Likewise.
494 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
496 * testsuite/gas/all/gas.exp: Change target pattern to cover
498 * testsuite/gas/all/redef3.d: Likewise.
499 * testsuite/gas/elf/elf.exp: Likewise.
501 2016-02-24 Renlin Li <renlin.li@arm.com>
503 * config/tc-arm.c (BAD_FP16): New error message macro.
504 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
505 fp16 scalar instructions.
506 (neon_check_type): Allow different size from key.
507 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
508 (try_vfp_nsyn): Likewise.
509 (do_vfp_nsyn_mla_mls): Likewise.
510 (do_vfp_nsyn_fma_fms): Likewise.
511 (do_vfp_nsyn_ldm_stm): Likewise
512 (do_vfp_nsyn_sqrt): Likewise
513 (do_vfp_nsyn_div): Likewise
514 (do_vfp_nsyn_nmul): Likewise.
515 (do_vfp_nsyn_cmp): Likewise.
516 (do_neon_shll): Likewise.
517 (do_vfp_nsyn_cvt_fpv8): Likewise.
518 (do_neon_cvttb_2): Likewise.
519 (do_neon_mov): Likewise.
520 (do_neon_rshift_round_imm): Likewise.
521 (do_neon_ldr_str): Likewise.
522 (do_vfp_nsyn_fpv8): Likewise.
523 (do_vmaxnm): Likewise.
524 (do_vrint_1): Likewise.
525 (insns): New entry for vins, vmovx.
526 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
527 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
528 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
529 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
530 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
531 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
532 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
534 2016-02-24 Renlin Li <renlin.li@arm.com>
536 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
537 (neon_shape_class): New SC_HALF.
538 (neon_shape_el): New SE_H.
539 (neon_shape_el_size): New size for SE_H.
540 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
541 (neon_select_shape): Add SE_H support code.
542 (el_type_of_type_chk): Use N_F_ALL.
543 (do_vfp_nsyn_cvt): Add SE_H shape support.
544 (do_neon_cvtz): Likewise.
545 (do_neon_cvt_1): Likewise.
546 (do_neon_cvttb_1): Likewise.
548 2016-02-24 Renlin Li <renlin.li@arm.com>
550 * testsuite/gas/arm/copro.d: Adjust output.
551 * testsuite/gas/arm/copro.s: Adjust co-processor num.
553 2016-02-24 Renlin Li <renlin.li@arm.com>
555 * testsuite/gas/arm/mask_1.d: New.
556 * testsuite/gas/arm/mask_1.s: New.
558 2016-02-24 Renlin Li <renlin.li@arm.com>
560 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
561 * testsuite/gas/arm/copro.d: Update.
563 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
565 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
566 * doc/c-arm.texi (ARM Options): Document cortex-a32.
568 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
570 * doc/c-arm.texi (ARM Options): Document cortex-a17.
572 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
574 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
577 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
579 * output-file.c (output_file_create): Make file name argument const.
580 (output_file_close): Likewise.
581 * output-file.h (output_file_create): Adjust.
582 (output_file_close): Likewise.
583 * depend.c (quote_string_for_make): Make src argument const char *.
584 (register_dependency): Likewise.
585 (wrap_output): Likewise.
586 * as.h (register_dependency): Adjust.
587 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
589 * symbols.c (S_SET_EXTERNAL): Likewise.
590 * input-scrub.c (as_where): Return the file name.
591 * as.h (as_where): Adjust prototype.
592 * app.c (do_scrub_chars): Adjust.
593 * cond.c (s_elseif): Likewise.
595 (initialize_cframe): Likewise.
596 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
597 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
598 * config/obj-som.c (obj_som_init_stab_section): Likewise.
599 * config/tc-aarch64.c (output_info): Likewise.
600 * config/tc-ia64.c (md_assemble): Likewise.
601 (dot_alias): Likewise.
602 * config/tc-m68k.c (m68k_frob_label): Likewise.
603 * config/tc-mmix.c (s_bspec): Likewise.
604 (mmix_handle_mmixal): Likewise.
605 * config/tc-rx.c (rx_include): Likewise.
606 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
607 (tic54x_adjust_symtab): Likewise.
608 * config/tc-xtensa.c (directive_push): Likewise.
609 (xtensa_sanity_check): Likewise.
610 (xtensa_relax_frag): Likewise.
611 (md_convert_frag): Likewise.
612 (tinsn_to_slotbuf): Likewise.
613 * dwarf2dbg.c (dwarf2_where): Likewise.
614 * ecoff.c (add_file): Likewise.
615 (ecoff_generate_asm_lineno): Likewise.
616 * expr.c (make_expr_symbol): Likewise.
617 * frags.c (frag_new): Likewise.
618 (frag_var_init): Likewise.
619 * listing.c (listing_newline): Likewise.
620 * messages.c (identify): Likewise.
621 (as_show_where): Likewise.
622 (as_warn_internal): Likewise.
623 (as_bad_internal): Likewise.
624 * read.c (s_irp): Likewise.
627 * stabs.c (stabs_generate_asm_file): Likewise.
628 (stabs_generate_asm_lineno): Likewise.
629 (stabs_generate_asm_func): Likewise.
630 * write.c (fix_new_internal): Likewise.
631 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
632 (as_warn_value_out_of_range): Adjust prototype.
633 (as_bad_value_out_of_range): Adjust prototype.
634 * messages.c (identify): Make file name argument const char *.
635 (as_warn_internal): Likewise.
636 (as_warn_where): Likewise.
637 (as_bad_internal): Likewise.
638 (as_bad_where): Likewise.
639 (as_internal_value_out_of_range): Likewise.
640 (as_warn_value_out_of_range): Likewise.
641 (as_bad_value_out_of_range): Likewise.
642 * as.h (found_comment_file): Change type to const char *.
643 * cond.c (file_line::file): Likewise.
644 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
645 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
646 * config/obj-som.c (obj_som_init_stab_section): Likewise.
647 * config/tc-aarch64.c (output_info): Likewise.
648 * config/tc-alpha.c (insert_operand): Likewise.
649 * config/tc-arc.c (insert_operand): Likewise.
650 * config/tc-d30v.c (check_size): Likewise.
651 * config/tc-ia64.c (struct alias): Likewise.
652 * config/tc-m68k.c (struct label_line): Likewise.
653 * config/tc-mcore.c (md_apply_fix): Likewise.
654 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
655 * config/tc-mips.c (mips16_immed): Likewise.
656 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
657 * config/tc-ppc.c (ppc_insert_operand): Likewise.
658 * config/tc-rx.c (rx_include): Likewise.
659 * config/tc-s390.c (s390_insert_operand): Likewise.
660 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
661 (tic54x_adjust_symtab): Likewise.
662 * config/tc-tilegx.c (insert_operand): Likewise.
663 (apply_special_operator): Likewise.
664 * config/tc-tilepro.c (insert_operand): Likewise.
665 * config/tc-xtensa.c (directive_push): Likewise.
666 * ecoff.c (add_file): Likewise.
667 (ecoff_generate_asm_lineno): Likewise.
668 * listing.c (listing_newline): Likewise.
669 * read.c (s_irp): Likewise.
670 * write.c (install_reloc): Likewise.
671 * write.h (struct fix): Likewise.
672 * input-file.c (file_name): Change type to const char *.
673 (saved_file::file_name): Likewise.
674 (input_file_open): Change type of argument to const char *.
675 * input-file.h (input_file_open): Adjust.
676 * input-scrub.c (logical_input_file): change type to const char *.
677 (physical_input_file): Likewise.
678 (struct input_save): Adjust.
679 (input_scrub_push): Adjust.
680 (input_scrub_begin): Adjust.
682 * input-scrub.c (input_scrub_new_file): Make file name argument const.
683 (input_scrub_include_file): Likewise.
684 (new_logical_line_flags): Likewise.
685 (new_logical_line): Likewise.
687 * frags.h (struct frag): Change type of fr_file to const char *.
688 * expr.c (expr_symbol_where): Change type of file argument to
690 * expr.h (expr_symbol_where): Likewise.
691 * config/tc-i370.c (md_apply_fix): adjust.
692 * config/tc-mmix.c (mmix_md_end): Likewise.
693 * config/tc-ppc.c (md_apply_fix): Likewise.
694 * config/tc-s390.c (md_apply_fix): Likewise.
695 * symbols.c (report_op_error): Likewise.
696 (resolve_symbol_value): Likewise.
697 * config/tc-ia64.c (slot::src_file): Change type to const char *.
698 (rsrc::file): Likewise.
699 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
701 (xtensa_relax_frag): Likewise.
702 (md_convert_frag): Likewise.
703 (tinsn_to_slotbuf): Likewise.
704 * expr.c (expr_symbol_line): Likewise.
705 * macro.c (define_macro): Likewise.
706 * macro.h (macro_struct): Likewise.
707 * messages.c (as_show_where): Likewise.
708 * read.c (s_macro): Likewise.
709 * stabs.c (stabs_generate_asm_file): Likewise.
710 (generate_asm_file): Likewise.
711 (stabs_generate_asm_lineno): Likewise.
712 * write.h (struct reloc_list): Likewise.
713 * input-scrub.c (as_where): Change return type to const char *.
714 * as.h (as_wheree): Adjust.
716 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
718 * write.c (compress_debug): Move BFD compression bits setting
720 (write_object_file): Here.
722 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
724 * config/tc-i386.c (register_number): Check RegVRex.
725 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
726 with %zmm19 and %zmm3.
727 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
728 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
730 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
731 Jiong Wang <jiong.wang@arm.com>
733 * config/tc-arm.c (arm_ext_fp16): New.
734 (arm_extensions): New entry for "fp16".
736 2016-02-19 Nick Clifton <nickc@redhat.com>
739 * read.c (read_a_source_file): Check for assemble_one returning
740 with input_line_pointer set to NULL.
742 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
744 * listing.c (rebuffer_line): Change return type to void.
746 * symbols.c (decode_local_label_name): Make type a const char *.
747 * listing.c (print_source): Make type of p const char *.
748 (print_line): Make type of string const char *.
749 (buffer_line): Return const char *.
750 (title): Make type const char *.
751 (subtitle): Likewise.
752 (listing_listing): Make type of p const char *.
753 * messages.c (as_internal_value_out_of_range): Make type of prefix
755 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
756 and string const char *.
757 * read.c (_bfd_rel): Make type of name const char *.
758 * app.c (out_string): Change type to const char *.
759 (struct app_save::out_string): Likewise.
761 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
762 Nick Clifton <nickc@redhat.com>
764 * read.c (finish_bundle): Avoid recording a negative alignment.
765 (do_align): Use unsigned values for n, len and max. Only create
766 a frag if the alignment requirement is greater than the minimum
767 byte alignment. Avoid recording a negative alignment.
768 (s_align): Use unsigned values where appropriate.
769 (bss_alloc): Use an unsigned value for the alignment.
770 (sizeof_sleb128): Add a comment noting that we encode one octet
771 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
772 (emit_leb129_expr): Abort if the emitted encoding was longer than
774 * read.h (output_leb128): Update prototype.
775 (sizeof_leb128): Update prototype.
776 (bss_alloc): Update prototype.
777 * write.c (record_alignment): Use an unsigned value for the
778 alignment. Do not record alignments less than the minimum
779 alignment for a byte.
780 * write.h (record_alignment): Update prototype.
782 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
784 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
785 .init.literal/.fini.literal section name.
786 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
787 list of xtensa tests.
788 * testsuite/gas/xtensa/init-fini-literals.d: New file:
789 init-fini-literals test result patterns.
790 * testsuite/gas/xtensa/init-fini-literals.s: New file:
791 init-fini-literals test.
793 2016-02-17 Nick Clifton <nickc@redhat.com>
795 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
796 devices.csv file as of March 2016.
798 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
800 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
802 (tc_arc_regname_to_dw2regnum): Likewise.
803 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
804 (tc_cfi_frame_initial_instructions): Likewise.
805 (tc_regname_to_dw2regnum): Likewise.
806 * testsuite/gas/cfi/cfi-arc-1.d: New file.
807 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
808 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
810 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
812 * doc/internals.texi (S_IS_EXTERN): Remove.
814 2016-02-16 Nick Clifton <nickc@redhat.com>
816 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
819 2016-02-16 Renlin Li <renlin.li@arm.com>
822 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
823 * testsuite/gas/aarch64/movw_label.d: New.
824 * testsuite/gas/aarch64/movw_label.s: New.
826 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
829 * config/rx-parse.y (MOV): Opcode generation for index
830 register addressing mode.
831 * testsuite/gas/rx/rx.exp: Updated for new testcase.
832 * testsuite/gas/rx/pr19665.s: New file.
833 * testsuite/gas/rx/pr19665.s: New file.
834 * testsuite/gas/rx/mov.d: Update expected output.
836 2016-02-15 Nick Clifton <nickc@redhat.com>
838 * doc/as.texinfo (.section): Document that numeric values can now
839 be used for the flags and type fields of the ELF target's .section
840 directive. Add notes about the restrictions on setting flags and
842 * config/obj-elf.c (obj_elf_change_section): Allow known sections
843 to be given processor specific section types. Allow processor and
844 application specific flags of a section to be set after
846 (obj_elf_parse_section_letters): Handle parsing numeric values.
847 (obj_elf_section_type): Handle parsing numeric values.
848 (obj_elf_section): Allow numeric type values.
849 * config/obj-elf.h (obj_elf_change_section): Update prototype.
850 * testsuite/gas/elf/section10.d: New test.
851 * testsuite/gas/elf/section10.s: Source file for new test.
852 * testsuite/gas/elf/elf.exp: Run the new test.
853 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
854 the description of the flags produced by readelf.
855 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
856 * NEWS: Mention the new feature.
858 2016-02-11 Nick Clifton <nickc@redhat.com>
861 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
862 until it is actually used.
863 (cfi_set_sections): Set cfi_sections_set to true.
864 (dot_cfi_startproc): Likewise.
865 (dot_cfi_endproc): Likewise.
866 (dot_cfi_fde_data): Likewise.
867 (cfi_finish): Likewise.
868 (dot_cfi_sections): Do not set cfi_sections_set.
869 * doc/as.texinfo (.cfi_sections): Note that targets can provide
870 their own cfi section name. Also note that the directive can be
871 reissued provided that CFI generation has not started.
872 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
873 .cfi_endproc directives so that the redefinition of .cfi_sections
874 will trigger the generation of the error message.
875 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
876 number of error message.
878 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
879 Janek van Oirschot <jvanoirs@synopsys.com>
881 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
882 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
884 (arc_flags, arc_relax_type): New structure.
885 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
886 (RELAX_TABLE_ENTRY_MAX): New define.
887 (relaxation_state, md_relax_table, arc_relaxable_insns)
888 (arc_num_relaxable_ins): New variable.
889 (rlx_operand_type, arc_rlx_types): New enums.
890 (arc_relaxable_ins): New structure.
891 (OPTION_RELAX): New option.
892 (arc_insn): New relax member.
894 (relax_insn_p): New function.
895 (apply_fixups): Likewise.
896 (relaxable_operand): Likewise.
897 (may_relax_expr): Likewise.
898 (relaxable_flag): Likewise.
899 (arc_pcrel_adjust): Likewise.
900 (md_estimate_size_before_relax): Implement.
901 (md_convert_frag): Likewise.
902 (md_parse_option): Handle new mrelax option.
903 (md_show_usage): Likewise.
904 (assemble_insn): Set relax member.
905 (emit_insn0): New function.
906 (emit_insn1): Likewise.
907 (emit_insn): Handle relaxation case.
908 * NEWS: Mention the new relaxation option.
909 * doc/c-arc.texi (ARC Options): Document new mrelax option.
910 * doc/as.texinfo (Target ARC Options): Likewise.
911 * testsuite/gas/arc/relax-avoid1.d: New file.
912 * testsuite/gas/arc/relax-avoid1.s: Likewise.
913 * testsuite/gas/arc/relax-avoid2.d: Likewise.
914 * testsuite/gas/arc/relax-avoid2.s: Likewise.
915 * testsuite/gas/arc/relax-avoid3.d: Likewise.
916 * testsuite/gas/arc/relax-avoid3.s: Likewise.
917 * testsuite/gas/arc/relax-b.d: Likewise.
918 * testsuite/gas/arc/relax-b.s: Likewise.
920 2016-02-08 Nick Clifton <nickc@redhat.com>
922 * config/tc-ia64.c (dot_prologue): Fix formatting.
924 2016-02-04 Nick Clifton <nickc@redhat.com>
926 * config/obj-elf.c (obj_elf_change_section): Remove support for
928 * config/tc-arm.c (arm_elf_section_letter): Delete.
929 * config/tc-arm.h (md_elf_section_letter): Delete.
930 * doc/c-arm.texi (ARM Section Attribute): Delete section.
931 * testsuite/gas/arm/section-execute-only.d: Delete.
932 * testsuite/gas/arm/section-execute-only.s: Delete.
934 2016-02-04 Nick Clifton <nickc@redhat.com>
937 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
938 to handle encoding of RRUX instruction.
939 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
941 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
943 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
945 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
946 substitutions for BFD_RELOC_* as unsigned.
947 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
948 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
949 * testsuite/gas/xtensa/loc.s: New file: loc test.
951 2016-02-03 Kevin Buettner <kevinb@redhat.com>
953 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
955 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
958 * NEWS: Mention new command line option -mrelax-relocations and
959 new configure option --enable-x86-relax-relocations for x86
961 * config.in: Regenerated.
962 * configure.ac: Add --enable-x86-relax-relocations.
963 (ac_default_x86_relax_relocations): New. Default to 1 except
964 for x86 Solaris targets older than Solaris 12.
965 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
966 * configure: Likewise.
967 * config/tc-i386.c (generate_relax_relocations): New.
968 (OPTION_MRELAX_RELOCATIONS): Likewise.
969 (output_disp): Don't generate relax relocations if
970 generate_relax_relocations is 0.
971 (md_longopts): Add -mrelax-relocations.
972 (md_show_usage): Likewise.
973 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
974 * doc/c-i386.texi: Document -mrelax-relocations=.
975 * testsuite/gas/i386/got-no-relax.d: New file.
976 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
977 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
978 * testsuite/gas/i386/localpic.d: Likewise.
979 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
980 * testsuite/gas/i386/reloc32.d: Likewise.
981 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
982 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
983 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
984 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
985 * testsuite/gas/i386/i386.exp: Run got-no-relax and
986 x86-64-gotpcrel-no-relax.
988 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
990 * NEWS: Mention new command line option -mfence-as-lock-add=yes
993 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
995 * NEWS: Remove duplicated marker for 2.26.
997 2016-02-02 Renlin Li <renlin.li@arm.com>
999 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1001 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1003 * testsuite/gas/ip2k/allinsn.d: New file.
1004 * testsuite/gas/ip2k/allinsn.s: New file.
1005 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1007 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1009 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1010 some load instructions.
1011 * testsuite/gas/epiphany/allinsn.d: Likewise.
1012 * testsuite/gas/epiphany/regression.d: Likewise.
1014 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1016 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1017 suffixes from instruction mnemonics in expected output.
1018 * testsuite/gas/epiphany/allinsn.d: Likewise.
1019 * testsuite/gas/epiphany/regression.d: Likewise.
1020 * testsuite/gas/epiphany/sample.d: Likewise.
1022 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1024 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1026 * testsuite/gas/epiphany/allinsn.d: Likewise.
1027 * testsuite/gas/epiphany/sample.d: Likewise.
1029 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1031 * testsuite/gas/epiphany/sample.d: Update expected output.
1033 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1035 * config/tc-arc.c (md_apply_fix): Allow addendum.
1036 (arc_reloc_op): Allow complex expressions for tpoff.
1037 (md_apply_fix): Handle resolved TLS local symbol.
1039 * testsuite/gas/arc/tls-relocs1.d: New file.
1040 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1042 2016-02-01 Loria <Loria@phantasia.org>
1045 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1046 efficiency and avoid an LLVM loop optimization bug.
1048 2016-02-01 Nick Clifton <nickc@redhat.com>
1050 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1051 message extending a negative 32-bit value into a larger signed
1052 value on a 32-bit host.
1054 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1057 * configure.ac (compressed_debug_sections): Replace == with =.
1058 * configure: Regenerated.
1060 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
1061 H.J. Lu <hongjiu.lu@intel.com>
1063 * config/tc-i386.c (avoid_fence): New.
1064 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1066 (OPTION_FENCE_AS_LOCK_ADD): New.
1067 (md_longopts): Add -mfence-as-lock-add.
1068 (md_parse_option): Handle -mfence-as-lock-add.
1069 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1070 * doc/c-i386.texi (-mfence-as-lock-add): Document.
1071 * testsuite/gas/i386/i386.exp: Run new tests.
1072 * testsuite/gas/i386/fence-as-lock-add.s: New.
1073 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1074 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1075 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1076 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1078 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1080 * configure.ac (compressed_debug_sections): Remove trailing `]'.
1081 * configure: Regenerated.
1083 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
1085 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1086 (OPTION_MOMIT_LOCK_PREFIX): This.
1087 (md_longopts): Updated.
1088 (md_parse_option): Likewise.
1090 2016-01-25 Catherine Moore <clm@codesourcery.com>
1092 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1093 if abicalls are in effect.
1094 * testsuite/gas/mips/sdata-gp.s: New test.
1095 * testsuite/gas/mips/sdata-gp.d: New expected output
1096 * testsuite/gas/mips/mips.exp: Run new test.
1098 2016-01-25 Renlin Li <renlin.li@arm.com>
1100 * testsuite/gas/arm/thumb2_it_search.d: New.
1101 * testsuite/gas/arm/thumb2_it_search.s: New.
1103 2016-01-21 Nick Clifton <nickc@redhat.com>
1106 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1107 with arm-netbsdelf target.
1108 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1110 2016-01-20 Nick Clifton <nickc@redhat.com>
1113 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1114 * testsuite/gas/arm/blx-bl-convert.d
1115 * testsuite/gas/arm/plt-1.d: Likewise.
1116 * testsuite/gas/arm/reloc-bad.d: Likewise.
1117 * testsuite/gas/arm/thumb-w-good.d: Likewise.
1118 * testsuite/gas/arm/thumb2_pool.d: Likewise.
1119 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1120 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1123 * doc/as.texinfo (Errors): Correct documentation describing the
1124 interaction of .file and .line with warning and error messages.
1127 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1128 * testsuite/gas/arm/archv8m-main.d: Likewise.
1129 * testsuite/gas/arm/archv8m-base.d: Likewise.
1131 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
1133 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1134 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1135 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1137 2016-01-20 Mickael Guene <mickael.guene@st.com>
1138 Terry Guo <terry.guo@arm.com>
1140 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1141 SHF_ARM_NOREAD section flag.
1142 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1144 (arm_elf_section_letter) : Declare it.
1145 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1146 SHF_ARM_NOREAD section flag.
1147 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1149 * testsuite/gas/arm/section-execute-only.s: New test case.
1150 * testsuite/gas/arm/section-execute-only.d: Expected output.
1152 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1154 * config/tc-mips.c (micromips_insn_length): Remove the mention
1155 of 48-bit microMIPS instructions.
1157 2016-01-18 Alan Modra <amodra@gmail.com>
1159 * configure: Regenerate.
1161 2016-01-17 Alan Modra <amodra@gmail.com>
1163 * configure: Regenerate.
1165 2016-01-17 Alan Modra <amodra@gmail.com>
1167 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1169 2016-01-14 Nick Clifton <nickc@redhat.com>
1171 * testsuite/gas/rl78/sp-relative-movw.s: New test.
1172 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1173 * testsuite/gas/rl78/rl78.exp: Run the new test.
1175 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
1177 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1178 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1180 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
1182 * config/tc-nios2.c (output_movia): Preset `code' to 0.
1184 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
1186 * config/tc-h8300.c (get_operand): Remove spurious condition in
1187 test for closing parenthesis.
1189 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
1191 * config/tc-arm.c (arm_ext_v8_2): New.
1193 * testsuite/gas/arm/armv8_2-a.d: New.
1194 * testsuite/gas/arm/armv8_2-a.s: New.
1196 2016-01-12 Alan Modra <amodra@gmail.com>
1198 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1200 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
1202 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1203 xvcmpnesp, xvcmpnesp.>: Delete tests.
1204 * testsuite/gas/ppc/power9.s: Likewise.
1205 * testsuite/gas/ppc/vsx3.d: Likewise.
1206 * testsuite/gas/ppc/vsx3.s: Likewise.
1208 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
1211 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1212 * testsuite/gas/m68k/p13050-1.s: New file.
1213 * testsuite/gas/m68k/p13050-2.d: New file.
1214 * testsuite/gas/m68k/p13050-2.s: New file.
1216 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1218 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1219 * testsuite/gas/arc/add.d: Likewise.
1220 * testsuite/gas/arc/and.d: Likewise.
1221 * testsuite/gas/arc/asl.d: Likewise.
1222 * testsuite/gas/arc/asr.d: Likewise.
1223 * testsuite/gas/arc/bic.d: Likewise.
1224 * testsuite/gas/arc/extb.d: Likewise.
1225 * testsuite/gas/arc/extw.d: Likewise.
1226 * testsuite/gas/arc/j.d: Likewise.
1227 * testsuite/gas/arc/jl.d: Likewise.
1228 * testsuite/gas/arc/ld2.d: Likewise.
1229 * testsuite/gas/arc/lsr.d: Likewise.
1230 * testsuite/gas/arc/mov.d: Likewise.
1231 * testsuite/gas/arc/or.d: Likewise.
1232 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1233 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1234 * testsuite/gas/arc/pic-relocs.d: Likewise.
1235 * testsuite/gas/arc/plt-relocs.d: Likewise.
1236 * testsuite/gas/arc/rlc.d: Likewise.
1237 * testsuite/gas/arc/ror.d: Likewise.
1238 * testsuite/gas/arc/rrc.d: Likewise.
1239 * testsuite/gas/arc/sbc.d: Likewise.
1240 * testsuite/gas/arc/sda-relocs.d: Likewise.
1241 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1242 * testsuite/gas/arc/sexb.d: Likewise.
1243 * testsuite/gas/arc/sexw.d: Likewise.
1244 * testsuite/gas/arc/st.d: Likewise.
1245 * testsuite/gas/arc/sub.d: Likewise.
1246 * testsuite/gas/arc/tls-relocs.d: Likewise.
1247 * testsuite/gas/arc/xor.d: Likewise.
1249 2016-01-01 Alan Modra <amodra@gmail.com>
1251 Update year range in copyright notice of all files.
1253 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1255 Copyright (C) 2016 Free Software Foundation, Inc.
1257 Copying and distribution of this file, with or without modification,
1258 are permitted in any medium without royalty provided the copyright
1259 notice and this notice are preserved.
1265 version-control: never