1 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
5 * config/tc-sparc.c (s_register): Cast a literal to char * in
8 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
10 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
12 * config/tc-m32r.c (expand_debug_syms): Likewise.
13 * config/tc-msp430.c (msp430_dstoperand): Likewise.
14 * config/tc-z80.c (md_begin): Likewise.
15 * stabs.c (stabs_generate_asm_func): Likewise.
17 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
19 * cgen.c: Modernize the way functions declare arguments.
20 * config/tc-bfin.c: Likewise.
21 * config/tc-pdp11.c: Likewise.
22 * literal.c: Likewise.
26 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
28 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
29 variables unsigned char[].
30 * config/tc-alpha.c (alpha_handle_align): Likewise.
31 * config/tc-arm.c (arm_handle_align): Likewise.
32 * config/tc-z80.c: Likewise.
34 2016-03-30 Nick Clifton <nickc@redhat.com>
37 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
40 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
42 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
43 * testsuite/gas/elf/elf.exp: Likewise.
44 * testsuite/gas/all/redef3.d: Allow execution for ARC.
46 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
48 * testsuite/gas/arc/warn.exp: Fix matching pattern.
50 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
52 * testsuite/gas/arc/ext2op.d: New file.
53 * testsuite/gas/arc/ext2op.s: Likewise.
54 * testsuite/gas/arc/ext3op.d: Likewise.
55 * testsuite/gas/arc/ext3op.s: Likewise.
57 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
59 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
61 * config/tc-alpha.c (md_parse_option): Likewise.
62 * config/tc-arc.c (md_parse_option): Likewise.
63 * config/tc-arm.c (struct arm_long_option_table): Likewise.
64 (md_parse_option): Likewise.
65 * config/tc-avr.c (md_parse_option): Likewise.
66 * config/tc-bfin.c (md_parse_option): Likewise.
67 * config/tc-cr16.c (md_parse_option): Likewise.
68 * config/tc-cris.c (s_cris_arch): Likewise.
69 (md_parse_option): Likewise.
70 * config/tc-crx.c (md_parse_option): Likewise.
71 * config/tc-d10v.c (md_parse_option): Likewise.
72 * config/tc-d30v.c (md_parse_option): Likewise.
73 * config/tc-dlx.c (md_parse_option): Likewise.
74 * config/tc-epiphany.c (md_parse_option): Likewise.
75 * config/tc-fr30.c (md_parse_option): Likewise.
76 * config/tc-frv.c (md_parse_option): Likewise.
77 * config/tc-ft32.c (md_parse_option): Likewise.
78 * config/tc-h8300.c (md_parse_option): Likewise.
79 * config/tc-hppa.c (md_parse_option): Likewise.
80 * config/tc-i370.c (md_parse_option): Likewise.
81 * config/tc-i386.c (md_parse_option): Likewise.
82 * config/tc-i860.c (md_parse_option): Likewise.
83 * config/tc-i960.c (md_parse_option): Likewise.
84 * config/tc-ia64.c (md_parse_option): Likewise.
85 * config/tc-ip2k.c (md_parse_option): Likewise.
86 * config/tc-iq2000.c (md_parse_option): Likewise.
87 * config/tc-lm32.c (md_parse_option): Likewise.
88 * config/tc-m32c.c (md_parse_option): Likewise.
89 * config/tc-m32r.c (md_parse_option): Likewise.
90 * config/tc-m68hc11.c (md_parse_option): Likewise.
91 * config/tc-m68k.c (md_parse_option): Likewise.
92 * config/tc-mcore.c (md_parse_option): Likewise.
93 * config/tc-mep.c (md_parse_option): Likewise.
94 * config/tc-metag.c (struct metag_long_option): Likewise.
95 (md_parse_option): Likewise.
96 * config/tc-microblaze.c (md_parse_option): Likewise.
97 * config/tc-microblaze.h (md_parse_option): Remove prototype.
98 * config/tc-mips.c (md_parse_option): Adjust.
99 * config/tc-mmix.c (md_parse_option): Likewise.
100 * config/tc-mn10200.c (md_parse_option): Likewise.
101 * config/tc-mn10300.c (md_parse_option): Likewise.
102 * config/tc-moxie.c (md_parse_option): Likewise.
103 * config/tc-msp430.c (md_parse_option): Likewise.
104 * config/tc-mt.c (md_parse_option): Likewise.
105 * config/tc-nds32.c (md_parse_option): Likewise.
106 * config/tc-nds32.h (nds32_parse_option): Likewise.
107 * config/tc-nios2.c (md_parse_option): Likewise.
108 * config/tc-ns32k.c (md_parse_option): Likewise.
109 * config/tc-or1k.c (md_parse_option): Likewise.
110 * config/tc-pdp11.c (md_parse_option): Likewise.
111 * config/tc-pj.c (md_parse_option): Likewise.
112 * config/tc-ppc.c (md_parse_option): Likewise.
113 * config/tc-rl78.c (md_parse_option): Likewise.
114 * config/tc-rx.c (md_parse_option): Likewise.
115 * config/tc-s390.c (s390_parse_cpu): Likewise.
116 * config/tc-score.c (md_parse_option): Likewise.
117 * config/tc-sh.c (md_parse_option): Likewise.
118 * config/tc-sparc.c (md_parse_option): Likewise.
119 * config/tc-spu.c (md_parse_option): Likewise.
120 * config/tc-tic30.c (md_parse_option): Likewise.
121 * config/tc-tic4x.c (md_parse_option): Likewise.
122 * config/tc-tic54x.c (md_parse_option): Likewise.
123 * config/tc-tic6x.c (md_parse_option): Likewise.
124 * config/tc-tilegx.c (md_parse_option): Likewise.
125 * config/tc-tilepro.c (md_parse_option): Likewise.
126 * config/tc-v850.c (md_parse_option): Likewise.
127 * config/tc-vax.c (md_parse_option): Likewise.
128 * config/tc-visium.c (struct visium_long_option_table): Likewise.
129 * config/tc-xc16x.c (md_parse_option): Likewise.
130 * config/tc-xgate.c (md_parse_option): Likewise.
131 * config/tc-xstormy16.c (md_parse_option): Likewise.
132 * config/tc-xtensa.c (md_parse_option): Likewise.
133 * config/tc-z80.c (md_parse_option): Likewise.
134 * config/tc-z8k.c (md_parse_option): Likewise.
135 * tc.h (md_parse_option): Likewise.
137 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
139 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
140 * config/tc-hppa.c (fix_new_hppa): Likewise.
141 (pa_vtable_entry): Likewise.
142 (pa_vtable_inherit): Likewise.
143 * config/tc-m68k.c (md_begin): Likewise.
145 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
147 * config/obj-elf.c (obj_elf_section_name): Return const char *.
148 * config/obj-elf.h (obj_elf_section_name): Adjust.
149 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
150 (aarch64_parse_cpu): Likewise.
151 (aarch64_parse_arch): Likewise.
152 * config/tc-arm.c (arm_parse_extension): Likewise.
153 (arm_parse_cpu): Likewise.
154 (arm_parse_arch): Likewise.
155 * config/tc-nds32.c: Likewise.
156 * config/xtensa-relax.c (parse_special_fn): Likewise.
157 * stabs.c (generate_asm_file): Likewise.
159 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
161 * config/tc-cr16.c (cr16_assemble): New function.
162 (md_assemble): Call cr16_assemble.
164 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
166 * as.c (parse_args): Adjust.
167 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
168 * config/obj-elf.c (elf_frob_symbol): Adjust.
170 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
172 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
173 registers to be in the 16..31 range.
175 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
177 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
180 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
182 * config/tc-visium.c (md_atof): Localize the string returned on
185 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
187 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
188 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
189 * config/tc-m68hc11.c (md_begin): Likewise.
190 (print_opcode_list): Likewise.
191 * config/tc-msp430.c (msp430_section): Likewise.
192 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
193 (s3_build_dependency_insn_hsh): Likewise.
194 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
195 (s7_build_dependency_insn_hsh): Likewise.
196 * config/tc-tic4x.c: Likewise.
197 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
198 (subsym_get_arg): Likewise.
199 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
200 (get_directive): Likewise.
201 (cache_literal_section): Likewise.
202 * config/xtensa-relax.c: Likewise.
203 * symbols.c (symbol_create): Likewise.
204 (local_symbol_make): Likewise.
205 (symbol_relc_make_expr): Likewise.
207 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
209 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
212 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
214 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
217 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
219 * config/tc-ia64.c (ia64_do_align): Remove.
220 (ia64_cons_align): Call do_align () directly.
221 (dot_proc): Likewise.
222 (stmt_float_cons): Likewise.
224 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
226 * listing.c (listing_message): Use XNEW style allocation macros.
227 * read.c (read_a_source_file): Likewise.
228 (read_symbol_name): Likewise.
229 (s_mri_common): Likewise.
230 (assign_symbol): Likewise.
232 (emit_expr_with_reloc): Likewise.
233 (s_incbin): Likewise.
234 (s_include): Likewise.
235 * sb.c (sb_build): Likewise.
236 (sb_check): Likewise.
238 2016-03-22 Alan Modra <amodra@gmail.com>
240 * write.c (record_alignment): Revert 2016-02-18 change.
242 2016-03-22 Alan Modra <amodra@gmail.com>
244 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
245 (emit_jsrjmp, tc_gen_reloc): Likewise.
246 * config/tc-i370.c (i370_macro): Likewise.
248 2016-03-22 Nick Clifton <nickc@redhat.com>
250 * configure: Regenerate.
252 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
254 * testsuite/gas/arc/nps400-0.d: New file.
255 * testsuite/gas/arc/nps400-0.s: New file.
256 * testsuite/gas/arc/nps400-1.d: New file.
257 * testsuite/gas/arc/nps400-1.s: New file.
259 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
261 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
262 declarations to start of block. Reset code on all flags before
263 attempting to match them. Handle multiple hits on the same flag.
265 * testsuite/gas/arc/asm-errors.d: New file.
266 * testsuite/gas/arc/asm-errors.err: New file.
267 * testsuite/gas/arc/asm-errors.s: New file.
269 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
271 * config/tc-arc.c (cpu_types): Add nps400 entry.
272 (check_zol): Handle nps400.
274 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
276 * config/tc-arc.c (arc_select_cpu): Remove use of
279 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
281 * config/tc-arc.c (arc_target): Delay initialisation until
283 (arc_target_name): Likewise.
284 (arc_features): Likewise.
285 (arc_mach_type): Likewise.
286 (cpu_types): Remove "all" entry.
287 (arc_select_cpu): New function, most of the content is from...
288 (md_parse_option): ... here. Call new arc_select_cpu.
289 (md_begin): Call arc_select_cpu if needed, default is now arc700.
291 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
293 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
294 * testsuite/gas/arc/inline-data-2.d: New file.
296 2016-03-21 Nick Clifton <nickc@redhat.com>
298 * atof-generic.c: Replace use of alloca with call to xmalloc.
300 * dwarf2dbg.c: Likewise.
304 * symbols.c: Likewise.
305 * config/obj-elf.c: Likewise.
306 * config/tc-aarch64.c: Likewise.
307 * config/tc-arc.c: Likewise.
308 * config/tc-arm.c: Likewise.
309 * config/tc-avr.c: Likewise.
310 * config/tc-ia64.c: Likewise.
311 * config/tc-mips.c: Likewise.
312 * config/tc-msp430.c: Likewise.
313 * config/tc-nds32.c: Likewise.
314 * config/tc-ppc.c: Likewise.
315 * config/tc-sh.c: Likewise.
316 * config/tc-tic30.c: Likewise.
317 * config/tc-tic54x.c: Likewise.
318 * config/tc-xstormy16.c: Likewise.
319 * config/te-vms.c: Likewise.
320 * configure: Regenerate.
322 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
324 * tc-i386.c (f32_1): Change type to unsigned char[].
345 (f32_patt): Likewise.
346 (f16_patt): Likewise.
355 (alt_patt): Likewise.
357 2016-03-18 Nick Clifton <nickc@redhat.com>
359 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
360 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
361 .tlsdescldr and .xword directives.
364 * testsuite/gas/aarch64/pr19721.s: New test source file.
365 * testsuite/gas/aarch64/pr19721.d: New test driver file.
367 * doc/as.texinfo: Place the target specific command line options
368 into their own man page section.
370 2016-03-16 Jiong Wang <jiong.wang@arm.com>
372 * config/tc-arm.c (N_S_32): New.
373 (N_F_16_32): Likewise.
374 (N_SUF_32): Support N_F16.
376 (neon_dyadic_misc): Likewise.
377 (do_neon_cmp): Likewise.
378 (do_neon_cmp_inv): Likewise.
379 (do_neon_mul): Likewise.
380 (do_neon_fcmp_absolute): Likewise.
381 (do_neon_step): Likewise.
382 (do_neon_abs_neg): Likewise.
383 (CVT_FLAVOR_VAR): Likewise.
384 (do_neon_cvt_1): Likewise.
385 (do_neon_recip_est): Likewise.
386 (do_vmaxnm): Likewise.
387 (do_vrint_1): Likewise.
388 (neon_check_type): Check architecture support for FP16 extension.
389 (insns): Update comments.
390 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
391 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
392 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
393 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
395 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
397 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
400 2016-03-16 Nick Clifton <nickc@redhat.com>
402 * read.c (emit_expr_with_reloc): Add code check a bignum with
404 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
406 * testsuite/gas/elf/bignum.s: New test source file.
407 * testsuite/gas/elf/bignum.d: New test driver file.
408 * testsuite/gas/elf/elf.exp: Run the new test.
410 2016-03-15 Ulrich Drepper <drepper@gmail.com>
412 * doc/c-i386.texi (Register Naming): Update to details of the
413 latest architecture version.
415 2016-03-10 Mickael Guene <mickael.guene@st.com>
418 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
420 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
421 (do_t_mov_cmp): Likewise.
422 (do_t_add_sub): Protect against bad relocations usage.
423 (do_t_mov_cmp): Likewise.
424 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
425 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
426 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
427 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
429 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
431 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
433 (do_neon_ld_st_lane): Likewise.
434 (do_neon_ld_dup): Likewise.
436 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
438 * testsuite/gas/arc/inline-data-1.d: New file.
439 * testsuite/gas/arc/inline-data-1.s: New file.
441 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
443 * config/tc-arm.c (arm_cpus): Add cortex-r8.
444 * doc/c-arm.texi: Add cortex-r8.
446 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
448 * config/tc-arc.c: Add const qualifiers.
449 * config/tc-h8300.c (md_begin): Likewise.
450 * config/tc-ia64.c (print_prmask): Likewise.
451 * config/tc-msp430.c (msp430_operands): Likewise.
452 * config/tc-nds32.c (struct suffix_name): Likewise.
453 (struct nds32_parse_option_table): Likewise.
454 (struct nds32_set_option_table): Likewise.
455 (do_pseudo_pushpopm): Likewise.
456 (do_pseudo_pushpop_stack): Likewise.
457 (nds32_relax_relocs): Likewise.
458 (nds32_flag): Likewise.
459 (struct nds32_hint_map): Likewise.
460 (nds32_find_reloc_table): Likewise.
461 (nds32_match_hint_insn): Likewise.
462 * config/tc-s390.c: Likewise.
463 * config/tc-sh.c (get_specific): Likewise.
464 * config/tc-tic30.c: Likewise.
465 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
466 (tic4x_indirect_parse): Likewise.
467 * config/tc-vax.c (vax_cons): Likewise.
468 * config/tc-z80.c (struct reg_entry): Likewise.
469 * config/tc-epiphany.c (md_assemble): Adjust.
470 (epiphany_assemble): New function.
471 (epiphany_elf_section_rtn): Call do_align directly.
472 (epiphany_elf_section_text): Likewise.
473 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
474 (ip2k_elf_section_text): Likewise.
475 * read.c (do_align): Make it not static.
476 * read.h (do_align): New prototype.
478 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
480 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
481 for ARMv8.1 AdvSIMD use.
482 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
483 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
485 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
487 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
489 (record_feature_use): New.
490 (mark_feature_used): Use record_feature_use.
491 (do_neon_qrdmlah): New.
492 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
494 (arm_extensions): Put into alphabetical order. Re-indent "simd"
495 and "rdma" entries. Fix the incorrect merge value for "+rdma".
496 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
497 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
498 Make source file explicit.
499 * testsuite/gas/arm/armv8-a+rdma.l: New.
500 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
501 directives. Fix white-space.
502 * testsuite/gas/arm/armv8_1-a+simd.d: New.
504 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
506 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
508 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
509 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
511 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
512 (tc_arc_fix_adjustable): Changed default return value to 1.
513 * testsuite/gas/arc/j.d: Updated expected symbol
514 * testsuite/gas/arc/jl.d: Likewise
515 * testsuite/gas/arc/relax-avoid1.d: Likewise
516 * testsuite/gas/arc/st.d: Likewise
518 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
520 * config/tc-arc.c: Enable code density instructions for ARC EM.
522 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
525 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
527 * as.c (flag_use_elf_stt_common): New.
528 (show_usage): Add --elf-stt-common=.
529 (option_values): Add OPTION_ELF_STT_COMMON.
530 (std_longopts): Add --elf-stt-common=.
531 (parse_args): Handle --elf-stt-common=.
532 * as.h (flag_use_elf_stt_common): New.
533 * config.in: Regenerated.
534 * configure: Likewise.
535 * configure.ac: Add --enable-elf-stt-common and define
536 DEFAULT_GENERATE_ELF_STT_COMMON.
537 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
538 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
539 * doc/as.texinfo: Document --elf-stt-common=.
540 * testsuite/gas/elf/common3.s: New file.
541 * testsuite/gas/elf/common3a.d: Likewise.
542 * testsuite/gas/elf/common3b.d: Likewise.
543 * testsuite/gas/elf/common4.s: Likewise.
544 * testsuite/gas/elf/common4a.d: Likewise.
545 * testsuite/gas/elf/common4b.d: Likewise.
546 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
547 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
548 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
550 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
551 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
552 --elf-stt-common=no to as.
553 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
554 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
555 --elf-stt-common=no to as.
556 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
557 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
558 of dw2-compress-3 and dw2-compressed-3.
560 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
562 * as.c (select_emulation_mode): Add const qualifiers.
564 * config/bfin-defs.h: Likewise.
565 * config/bfin-parse.y: Likewise.
566 * config/rx-parse.y: Likewise.
567 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
568 (struct aarch64_cpu_option_table): Likewise.
569 (struct aarch64_arch_option_table): Likewise.
570 (struct aarch64_option_cpu_value_table): Likewise.
571 (struct aarch64_long_option_table): Likewise.
572 (struct aarch64_option_abi_value_table): Likewise.
573 * config/tc-arm.c (struct reloc_entry): Likewise.
574 (tc_gen_reloc): Likewise.
575 (struct arm_option_table): Likewise.
576 (struct arm_legacy_option_table): Likewise.
577 (struct arm_cpu_option_table): Likewise.
578 (struct arm_arch_option_table): Likewise.
579 (struct arm_option_extension_value_table): Likewise.
580 (struct arm_option_fpu_value_table): Likewise.
581 (struct arm_option_value_table): Likewise.
582 (struct arm_long_option_table): Likewise.
583 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
584 (struct mcu_type_s): Likewise.
585 (struct exp_mod_s): Likewise.
586 (avr_operand): Likewise.
587 (avr_operands): Likewise.
588 * config/tc-d10v.c (md_begin): Likewise.
589 * config/tc-dlx.c: Likewise.
590 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
591 * config/tc-ft32.c (parse_condition): Likewise.
592 * config/tc-h8300.c (do_a_fix_imm): Likewise.
593 * config/tc-hppa.c (pa_ip): Likewise.
594 (hppa_regname_to_dw2regnum): Likewise.
595 * config/tc-i370.c (i370_elf_suffix): Likewise.
596 * config/tc-i960.c (struct tabentry): Likewise.
597 * config/tc-m32r.c: Likewise.
598 * config/tc-m68k.c: Likewise.
599 * config/tc-m68k.h: Likewise.
600 * config/tc-mcore.c (parse_psrmod): Likewise.
601 * config/tc-metag.c (struct metag_core_option): Likewise.
602 (struct metag_long_option): Likewise.
603 * config/tc-microblaze.c: Likewise.
604 * config/tc-mips.c (macro): Likewise.
605 * config/tc-mn10200.c: Likewise.
606 * config/tc-mn10300.c: Likewise.
607 * config/tc-msp430.c (struct rcodes_s): Likewise.
608 (struct hcodes_s): Likewise.
609 (md_parse_option): Likewise.
610 * config/tc-ns32k.c (struct ns32k_option): Likewise.
612 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
613 (tc_ppc_regname_to_dw2regnum): Likewise.
614 * config/tc-ppc.h: Likewise.
615 * config/tc-rl78.c: Likewise.
616 * config/tc-rx.c (struct cpu_type): Likewise.
617 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
618 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
619 (sparc_ip): Likewise.
620 * config/tc-spu.c (insn_fmt_string): Likewise.
621 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
622 * config/tc-v850.c: Likewise.
623 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
624 (struct visium_long_option_table): Likewise.
625 * config/tc-xgate.c: Likewise.
626 * config/tc-z8k.c: Likewise.
627 * read.c (add_include_dir): Likewise.
630 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
632 * testsuite/gas/all/gas.exp: Change target pattern to cover
634 * testsuite/gas/all/redef3.d: Likewise.
635 * testsuite/gas/elf/elf.exp: Likewise.
637 2016-02-24 Renlin Li <renlin.li@arm.com>
639 * config/tc-arm.c (BAD_FP16): New error message macro.
640 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
641 fp16 scalar instructions.
642 (neon_check_type): Allow different size from key.
643 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
644 (try_vfp_nsyn): Likewise.
645 (do_vfp_nsyn_mla_mls): Likewise.
646 (do_vfp_nsyn_fma_fms): Likewise.
647 (do_vfp_nsyn_ldm_stm): Likewise
648 (do_vfp_nsyn_sqrt): Likewise
649 (do_vfp_nsyn_div): Likewise
650 (do_vfp_nsyn_nmul): Likewise.
651 (do_vfp_nsyn_cmp): Likewise.
652 (do_neon_shll): Likewise.
653 (do_vfp_nsyn_cvt_fpv8): Likewise.
654 (do_neon_cvttb_2): Likewise.
655 (do_neon_mov): Likewise.
656 (do_neon_rshift_round_imm): Likewise.
657 (do_neon_ldr_str): Likewise.
658 (do_vfp_nsyn_fpv8): Likewise.
659 (do_vmaxnm): Likewise.
660 (do_vrint_1): Likewise.
661 (insns): New entry for vins, vmovx.
662 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
663 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
664 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
665 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
666 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
667 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
668 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
670 2016-02-24 Renlin Li <renlin.li@arm.com>
672 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
673 (neon_shape_class): New SC_HALF.
674 (neon_shape_el): New SE_H.
675 (neon_shape_el_size): New size for SE_H.
676 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
677 (neon_select_shape): Add SE_H support code.
678 (el_type_of_type_chk): Use N_F_ALL.
679 (do_vfp_nsyn_cvt): Add SE_H shape support.
680 (do_neon_cvtz): Likewise.
681 (do_neon_cvt_1): Likewise.
682 (do_neon_cvttb_1): Likewise.
684 2016-02-24 Renlin Li <renlin.li@arm.com>
686 * testsuite/gas/arm/copro.d: Adjust output.
687 * testsuite/gas/arm/copro.s: Adjust co-processor num.
689 2016-02-24 Renlin Li <renlin.li@arm.com>
691 * testsuite/gas/arm/mask_1.d: New.
692 * testsuite/gas/arm/mask_1.s: New.
694 2016-02-24 Renlin Li <renlin.li@arm.com>
696 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
697 * testsuite/gas/arm/copro.d: Update.
699 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
701 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
702 * doc/c-arm.texi (ARM Options): Document cortex-a32.
704 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
706 * doc/c-arm.texi (ARM Options): Document cortex-a17.
708 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
710 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
713 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
715 * output-file.c (output_file_create): Make file name argument const.
716 (output_file_close): Likewise.
717 * output-file.h (output_file_create): Adjust.
718 (output_file_close): Likewise.
719 * depend.c (quote_string_for_make): Make src argument const char *.
720 (register_dependency): Likewise.
721 (wrap_output): Likewise.
722 * as.h (register_dependency): Adjust.
723 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
725 * symbols.c (S_SET_EXTERNAL): Likewise.
726 * input-scrub.c (as_where): Return the file name.
727 * as.h (as_where): Adjust prototype.
728 * app.c (do_scrub_chars): Adjust.
729 * cond.c (s_elseif): Likewise.
731 (initialize_cframe): Likewise.
732 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
733 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
734 * config/obj-som.c (obj_som_init_stab_section): Likewise.
735 * config/tc-aarch64.c (output_info): Likewise.
736 * config/tc-ia64.c (md_assemble): Likewise.
737 (dot_alias): Likewise.
738 * config/tc-m68k.c (m68k_frob_label): Likewise.
739 * config/tc-mmix.c (s_bspec): Likewise.
740 (mmix_handle_mmixal): Likewise.
741 * config/tc-rx.c (rx_include): Likewise.
742 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
743 (tic54x_adjust_symtab): Likewise.
744 * config/tc-xtensa.c (directive_push): Likewise.
745 (xtensa_sanity_check): Likewise.
746 (xtensa_relax_frag): Likewise.
747 (md_convert_frag): Likewise.
748 (tinsn_to_slotbuf): Likewise.
749 * dwarf2dbg.c (dwarf2_where): Likewise.
750 * ecoff.c (add_file): Likewise.
751 (ecoff_generate_asm_lineno): Likewise.
752 * expr.c (make_expr_symbol): Likewise.
753 * frags.c (frag_new): Likewise.
754 (frag_var_init): Likewise.
755 * listing.c (listing_newline): Likewise.
756 * messages.c (identify): Likewise.
757 (as_show_where): Likewise.
758 (as_warn_internal): Likewise.
759 (as_bad_internal): Likewise.
760 * read.c (s_irp): Likewise.
763 * stabs.c (stabs_generate_asm_file): Likewise.
764 (stabs_generate_asm_lineno): Likewise.
765 (stabs_generate_asm_func): Likewise.
766 * write.c (fix_new_internal): Likewise.
767 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
768 (as_warn_value_out_of_range): Adjust prototype.
769 (as_bad_value_out_of_range): Adjust prototype.
770 * messages.c (identify): Make file name argument const char *.
771 (as_warn_internal): Likewise.
772 (as_warn_where): Likewise.
773 (as_bad_internal): Likewise.
774 (as_bad_where): Likewise.
775 (as_internal_value_out_of_range): Likewise.
776 (as_warn_value_out_of_range): Likewise.
777 (as_bad_value_out_of_range): Likewise.
778 * as.h (found_comment_file): Change type to const char *.
779 * cond.c (file_line::file): Likewise.
780 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
781 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
782 * config/obj-som.c (obj_som_init_stab_section): Likewise.
783 * config/tc-aarch64.c (output_info): Likewise.
784 * config/tc-alpha.c (insert_operand): Likewise.
785 * config/tc-arc.c (insert_operand): Likewise.
786 * config/tc-d30v.c (check_size): Likewise.
787 * config/tc-ia64.c (struct alias): Likewise.
788 * config/tc-m68k.c (struct label_line): Likewise.
789 * config/tc-mcore.c (md_apply_fix): Likewise.
790 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
791 * config/tc-mips.c (mips16_immed): Likewise.
792 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
793 * config/tc-ppc.c (ppc_insert_operand): Likewise.
794 * config/tc-rx.c (rx_include): Likewise.
795 * config/tc-s390.c (s390_insert_operand): Likewise.
796 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
797 (tic54x_adjust_symtab): Likewise.
798 * config/tc-tilegx.c (insert_operand): Likewise.
799 (apply_special_operator): Likewise.
800 * config/tc-tilepro.c (insert_operand): Likewise.
801 * config/tc-xtensa.c (directive_push): Likewise.
802 * ecoff.c (add_file): Likewise.
803 (ecoff_generate_asm_lineno): Likewise.
804 * listing.c (listing_newline): Likewise.
805 * read.c (s_irp): Likewise.
806 * write.c (install_reloc): Likewise.
807 * write.h (struct fix): Likewise.
808 * input-file.c (file_name): Change type to const char *.
809 (saved_file::file_name): Likewise.
810 (input_file_open): Change type of argument to const char *.
811 * input-file.h (input_file_open): Adjust.
812 * input-scrub.c (logical_input_file): change type to const char *.
813 (physical_input_file): Likewise.
814 (struct input_save): Adjust.
815 (input_scrub_push): Adjust.
816 (input_scrub_begin): Adjust.
818 * input-scrub.c (input_scrub_new_file): Make file name argument const.
819 (input_scrub_include_file): Likewise.
820 (new_logical_line_flags): Likewise.
821 (new_logical_line): Likewise.
823 * frags.h (struct frag): Change type of fr_file to const char *.
824 * expr.c (expr_symbol_where): Change type of file argument to
826 * expr.h (expr_symbol_where): Likewise.
827 * config/tc-i370.c (md_apply_fix): adjust.
828 * config/tc-mmix.c (mmix_md_end): Likewise.
829 * config/tc-ppc.c (md_apply_fix): Likewise.
830 * config/tc-s390.c (md_apply_fix): Likewise.
831 * symbols.c (report_op_error): Likewise.
832 (resolve_symbol_value): Likewise.
833 * config/tc-ia64.c (slot::src_file): Change type to const char *.
834 (rsrc::file): Likewise.
835 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
837 (xtensa_relax_frag): Likewise.
838 (md_convert_frag): Likewise.
839 (tinsn_to_slotbuf): Likewise.
840 * expr.c (expr_symbol_line): Likewise.
841 * macro.c (define_macro): Likewise.
842 * macro.h (macro_struct): Likewise.
843 * messages.c (as_show_where): Likewise.
844 * read.c (s_macro): Likewise.
845 * stabs.c (stabs_generate_asm_file): Likewise.
846 (generate_asm_file): Likewise.
847 (stabs_generate_asm_lineno): Likewise.
848 * write.h (struct reloc_list): Likewise.
849 * input-scrub.c (as_where): Change return type to const char *.
850 * as.h (as_wheree): Adjust.
852 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
854 * write.c (compress_debug): Move BFD compression bits setting
856 (write_object_file): Here.
858 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
860 * config/tc-i386.c (register_number): Check RegVRex.
861 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
862 with %zmm19 and %zmm3.
863 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
864 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
866 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
867 Jiong Wang <jiong.wang@arm.com>
869 * config/tc-arm.c (arm_ext_fp16): New.
870 (arm_extensions): New entry for "fp16".
872 2016-02-19 Nick Clifton <nickc@redhat.com>
875 * read.c (read_a_source_file): Check for assemble_one returning
876 with input_line_pointer set to NULL.
878 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
880 * listing.c (rebuffer_line): Change return type to void.
882 * symbols.c (decode_local_label_name): Make type a const char *.
883 * listing.c (print_source): Make type of p const char *.
884 (print_line): Make type of string const char *.
885 (buffer_line): Return const char *.
886 (title): Make type const char *.
887 (subtitle): Likewise.
888 (listing_listing): Make type of p const char *.
889 * messages.c (as_internal_value_out_of_range): Make type of prefix
891 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
892 and string const char *.
893 * read.c (_bfd_rel): Make type of name const char *.
894 * app.c (out_string): Change type to const char *.
895 (struct app_save::out_string): Likewise.
897 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
898 Nick Clifton <nickc@redhat.com>
900 * read.c (finish_bundle): Avoid recording a negative alignment.
901 (do_align): Use unsigned values for n, len and max. Only create
902 a frag if the alignment requirement is greater than the minimum
903 byte alignment. Avoid recording a negative alignment.
904 (s_align): Use unsigned values where appropriate.
905 (bss_alloc): Use an unsigned value for the alignment.
906 (sizeof_sleb128): Add a comment noting that we encode one octet
907 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
908 (emit_leb129_expr): Abort if the emitted encoding was longer than
910 * read.h (output_leb128): Update prototype.
911 (sizeof_leb128): Update prototype.
912 (bss_alloc): Update prototype.
913 * write.c (record_alignment): Use an unsigned value for the
914 alignment. Do not record alignments less than the minimum
915 alignment for a byte.
916 * write.h (record_alignment): Update prototype.
918 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
920 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
921 .init.literal/.fini.literal section name.
922 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
923 list of xtensa tests.
924 * testsuite/gas/xtensa/init-fini-literals.d: New file:
925 init-fini-literals test result patterns.
926 * testsuite/gas/xtensa/init-fini-literals.s: New file:
927 init-fini-literals test.
929 2016-02-17 Nick Clifton <nickc@redhat.com>
931 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
932 devices.csv file as of March 2016.
934 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
936 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
938 (tc_arc_regname_to_dw2regnum): Likewise.
939 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
940 (tc_cfi_frame_initial_instructions): Likewise.
941 (tc_regname_to_dw2regnum): Likewise.
942 * testsuite/gas/cfi/cfi-arc-1.d: New file.
943 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
944 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
946 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
948 * doc/internals.texi (S_IS_EXTERN): Remove.
950 2016-02-16 Nick Clifton <nickc@redhat.com>
952 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
955 2016-02-16 Renlin Li <renlin.li@arm.com>
958 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
959 * testsuite/gas/aarch64/movw_label.d: New.
960 * testsuite/gas/aarch64/movw_label.s: New.
962 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
965 * config/rx-parse.y (MOV): Opcode generation for index
966 register addressing mode.
967 * testsuite/gas/rx/rx.exp: Updated for new testcase.
968 * testsuite/gas/rx/pr19665.s: New file.
969 * testsuite/gas/rx/pr19665.s: New file.
970 * testsuite/gas/rx/mov.d: Update expected output.
972 2016-02-15 Nick Clifton <nickc@redhat.com>
974 * doc/as.texinfo (.section): Document that numeric values can now
975 be used for the flags and type fields of the ELF target's .section
976 directive. Add notes about the restrictions on setting flags and
978 * config/obj-elf.c (obj_elf_change_section): Allow known sections
979 to be given processor specific section types. Allow processor and
980 application specific flags of a section to be set after
982 (obj_elf_parse_section_letters): Handle parsing numeric values.
983 (obj_elf_section_type): Handle parsing numeric values.
984 (obj_elf_section): Allow numeric type values.
985 * config/obj-elf.h (obj_elf_change_section): Update prototype.
986 * testsuite/gas/elf/section10.d: New test.
987 * testsuite/gas/elf/section10.s: Source file for new test.
988 * testsuite/gas/elf/elf.exp: Run the new test.
989 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
990 the description of the flags produced by readelf.
991 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
992 * NEWS: Mention the new feature.
994 2016-02-11 Nick Clifton <nickc@redhat.com>
997 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
998 until it is actually used.
999 (cfi_set_sections): Set cfi_sections_set to true.
1000 (dot_cfi_startproc): Likewise.
1001 (dot_cfi_endproc): Likewise.
1002 (dot_cfi_fde_data): Likewise.
1003 (cfi_finish): Likewise.
1004 (dot_cfi_sections): Do not set cfi_sections_set.
1005 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1006 their own cfi section name. Also note that the directive can be
1007 reissued provided that CFI generation has not started.
1008 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1009 .cfi_endproc directives so that the redefinition of .cfi_sections
1010 will trigger the generation of the error message.
1011 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1012 number of error message.
1014 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
1015 Janek van Oirschot <jvanoirs@synopsys.com>
1017 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1018 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1020 (arc_flags, arc_relax_type): New structure.
1021 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1022 (RELAX_TABLE_ENTRY_MAX): New define.
1023 (relaxation_state, md_relax_table, arc_relaxable_insns)
1024 (arc_num_relaxable_ins): New variable.
1025 (rlx_operand_type, arc_rlx_types): New enums.
1026 (arc_relaxable_ins): New structure.
1027 (OPTION_RELAX): New option.
1028 (arc_insn): New relax member.
1029 (arc_flags): Remove.
1030 (relax_insn_p): New function.
1031 (apply_fixups): Likewise.
1032 (relaxable_operand): Likewise.
1033 (may_relax_expr): Likewise.
1034 (relaxable_flag): Likewise.
1035 (arc_pcrel_adjust): Likewise.
1036 (md_estimate_size_before_relax): Implement.
1037 (md_convert_frag): Likewise.
1038 (md_parse_option): Handle new mrelax option.
1039 (md_show_usage): Likewise.
1040 (assemble_insn): Set relax member.
1041 (emit_insn0): New function.
1042 (emit_insn1): Likewise.
1043 (emit_insn): Handle relaxation case.
1044 * NEWS: Mention the new relaxation option.
1045 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1046 * doc/as.texinfo (Target ARC Options): Likewise.
1047 * testsuite/gas/arc/relax-avoid1.d: New file.
1048 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1049 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1050 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1051 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1052 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1053 * testsuite/gas/arc/relax-b.d: Likewise.
1054 * testsuite/gas/arc/relax-b.s: Likewise.
1056 2016-02-08 Nick Clifton <nickc@redhat.com>
1058 * config/tc-ia64.c (dot_prologue): Fix formatting.
1060 2016-02-04 Nick Clifton <nickc@redhat.com>
1062 * config/obj-elf.c (obj_elf_change_section): Remove support for
1063 ARM NOREAD sections.
1064 * config/tc-arm.c (arm_elf_section_letter): Delete.
1065 * config/tc-arm.h (md_elf_section_letter): Delete.
1066 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1067 * testsuite/gas/arm/section-execute-only.d: Delete.
1068 * testsuite/gas/arm/section-execute-only.s: Delete.
1070 2016-02-04 Nick Clifton <nickc@redhat.com>
1073 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
1074 to handle encoding of RRUX instruction.
1075 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1077 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1079 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
1081 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1082 substitutions for BFD_RELOC_* as unsigned.
1083 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1084 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1085 * testsuite/gas/xtensa/loc.s: New file: loc test.
1087 2016-02-03 Kevin Buettner <kevinb@redhat.com>
1089 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1091 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1094 * NEWS: Mention new command line option -mrelax-relocations and
1095 new configure option --enable-x86-relax-relocations for x86
1097 * config.in: Regenerated.
1098 * configure.ac: Add --enable-x86-relax-relocations.
1099 (ac_default_x86_relax_relocations): New. Default to 1 except
1100 for x86 Solaris targets older than Solaris 12.
1101 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
1102 * configure: Likewise.
1103 * config/tc-i386.c (generate_relax_relocations): New.
1104 (OPTION_MRELAX_RELOCATIONS): Likewise.
1105 (output_disp): Don't generate relax relocations if
1106 generate_relax_relocations is 0.
1107 (md_longopts): Add -mrelax-relocations.
1108 (md_show_usage): Likewise.
1109 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
1110 * doc/c-i386.texi: Document -mrelax-relocations=.
1111 * testsuite/gas/i386/got-no-relax.d: New file.
1112 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
1113 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
1114 * testsuite/gas/i386/localpic.d: Likewise.
1115 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
1116 * testsuite/gas/i386/reloc32.d: Likewise.
1117 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
1118 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
1119 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
1120 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
1121 * testsuite/gas/i386/i386.exp: Run got-no-relax and
1122 x86-64-gotpcrel-no-relax.
1124 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1126 * NEWS: Mention new command line option -mfence-as-lock-add=yes
1129 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1131 * NEWS: Remove duplicated marker for 2.26.
1133 2016-02-02 Renlin Li <renlin.li@arm.com>
1135 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1137 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1139 * testsuite/gas/ip2k/allinsn.d: New file.
1140 * testsuite/gas/ip2k/allinsn.s: New file.
1141 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1143 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1145 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1146 some load instructions.
1147 * testsuite/gas/epiphany/allinsn.d: Likewise.
1148 * testsuite/gas/epiphany/regression.d: Likewise.
1150 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1152 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1153 suffixes from instruction mnemonics in expected output.
1154 * testsuite/gas/epiphany/allinsn.d: Likewise.
1155 * testsuite/gas/epiphany/regression.d: Likewise.
1156 * testsuite/gas/epiphany/sample.d: Likewise.
1158 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1160 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1162 * testsuite/gas/epiphany/allinsn.d: Likewise.
1163 * testsuite/gas/epiphany/sample.d: Likewise.
1165 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1167 * testsuite/gas/epiphany/sample.d: Update expected output.
1169 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1171 * config/tc-arc.c (md_apply_fix): Allow addendum.
1172 (arc_reloc_op): Allow complex expressions for tpoff.
1173 (md_apply_fix): Handle resolved TLS local symbol.
1175 * testsuite/gas/arc/tls-relocs1.d: New file.
1176 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1178 2016-02-01 Loria <Loria@phantasia.org>
1181 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1182 efficiency and avoid an LLVM loop optimization bug.
1184 2016-02-01 Nick Clifton <nickc@redhat.com>
1186 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1187 message extending a negative 32-bit value into a larger signed
1188 value on a 32-bit host.
1190 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1193 * configure.ac (compressed_debug_sections): Replace == with =.
1194 * configure: Regenerated.
1196 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
1197 H.J. Lu <hongjiu.lu@intel.com>
1199 * config/tc-i386.c (avoid_fence): New.
1200 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1202 (OPTION_FENCE_AS_LOCK_ADD): New.
1203 (md_longopts): Add -mfence-as-lock-add.
1204 (md_parse_option): Handle -mfence-as-lock-add.
1205 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1206 * doc/c-i386.texi (-mfence-as-lock-add): Document.
1207 * testsuite/gas/i386/i386.exp: Run new tests.
1208 * testsuite/gas/i386/fence-as-lock-add.s: New.
1209 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1210 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1211 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1212 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1214 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1216 * configure.ac (compressed_debug_sections): Remove trailing `]'.
1217 * configure: Regenerated.
1219 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
1221 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1222 (OPTION_MOMIT_LOCK_PREFIX): This.
1223 (md_longopts): Updated.
1224 (md_parse_option): Likewise.
1226 2016-01-25 Catherine Moore <clm@codesourcery.com>
1228 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1229 if abicalls are in effect.
1230 * testsuite/gas/mips/sdata-gp.s: New test.
1231 * testsuite/gas/mips/sdata-gp.d: New expected output
1232 * testsuite/gas/mips/mips.exp: Run new test.
1234 2016-01-25 Renlin Li <renlin.li@arm.com>
1236 * testsuite/gas/arm/thumb2_it_search.d: New.
1237 * testsuite/gas/arm/thumb2_it_search.s: New.
1239 2016-01-21 Nick Clifton <nickc@redhat.com>
1242 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1243 with arm-netbsdelf target.
1244 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1246 2016-01-20 Nick Clifton <nickc@redhat.com>
1249 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1250 * testsuite/gas/arm/blx-bl-convert.d
1251 * testsuite/gas/arm/plt-1.d: Likewise.
1252 * testsuite/gas/arm/reloc-bad.d: Likewise.
1253 * testsuite/gas/arm/thumb-w-good.d: Likewise.
1254 * testsuite/gas/arm/thumb2_pool.d: Likewise.
1255 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1256 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1259 * doc/as.texinfo (Errors): Correct documentation describing the
1260 interaction of .file and .line with warning and error messages.
1263 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1264 * testsuite/gas/arm/archv8m-main.d: Likewise.
1265 * testsuite/gas/arm/archv8m-base.d: Likewise.
1267 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
1269 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1270 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1271 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1273 2016-01-20 Mickael Guene <mickael.guene@st.com>
1274 Terry Guo <terry.guo@arm.com>
1276 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1277 SHF_ARM_NOREAD section flag.
1278 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1280 (arm_elf_section_letter) : Declare it.
1281 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1282 SHF_ARM_NOREAD section flag.
1283 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1285 * testsuite/gas/arm/section-execute-only.s: New test case.
1286 * testsuite/gas/arm/section-execute-only.d: Expected output.
1288 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1290 * config/tc-mips.c (micromips_insn_length): Remove the mention
1291 of 48-bit microMIPS instructions.
1293 2016-01-18 Alan Modra <amodra@gmail.com>
1295 * configure: Regenerate.
1297 2016-01-17 Alan Modra <amodra@gmail.com>
1299 * configure: Regenerate.
1301 2016-01-17 Alan Modra <amodra@gmail.com>
1303 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1305 2016-01-14 Nick Clifton <nickc@redhat.com>
1307 * testsuite/gas/rl78/sp-relative-movw.s: New test.
1308 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1309 * testsuite/gas/rl78/rl78.exp: Run the new test.
1311 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
1313 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1314 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1316 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
1318 * config/tc-nios2.c (output_movia): Preset `code' to 0.
1320 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
1322 * config/tc-h8300.c (get_operand): Remove spurious condition in
1323 test for closing parenthesis.
1325 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
1327 * config/tc-arm.c (arm_ext_v8_2): New.
1329 * testsuite/gas/arm/armv8_2-a.d: New.
1330 * testsuite/gas/arm/armv8_2-a.s: New.
1332 2016-01-12 Alan Modra <amodra@gmail.com>
1334 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1336 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
1338 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1339 xvcmpnesp, xvcmpnesp.>: Delete tests.
1340 * testsuite/gas/ppc/power9.s: Likewise.
1341 * testsuite/gas/ppc/vsx3.d: Likewise.
1342 * testsuite/gas/ppc/vsx3.s: Likewise.
1344 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
1347 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1348 * testsuite/gas/m68k/p13050-1.s: New file.
1349 * testsuite/gas/m68k/p13050-2.d: New file.
1350 * testsuite/gas/m68k/p13050-2.s: New file.
1352 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1354 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1355 * testsuite/gas/arc/add.d: Likewise.
1356 * testsuite/gas/arc/and.d: Likewise.
1357 * testsuite/gas/arc/asl.d: Likewise.
1358 * testsuite/gas/arc/asr.d: Likewise.
1359 * testsuite/gas/arc/bic.d: Likewise.
1360 * testsuite/gas/arc/extb.d: Likewise.
1361 * testsuite/gas/arc/extw.d: Likewise.
1362 * testsuite/gas/arc/j.d: Likewise.
1363 * testsuite/gas/arc/jl.d: Likewise.
1364 * testsuite/gas/arc/ld2.d: Likewise.
1365 * testsuite/gas/arc/lsr.d: Likewise.
1366 * testsuite/gas/arc/mov.d: Likewise.
1367 * testsuite/gas/arc/or.d: Likewise.
1368 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1369 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1370 * testsuite/gas/arc/pic-relocs.d: Likewise.
1371 * testsuite/gas/arc/plt-relocs.d: Likewise.
1372 * testsuite/gas/arc/rlc.d: Likewise.
1373 * testsuite/gas/arc/ror.d: Likewise.
1374 * testsuite/gas/arc/rrc.d: Likewise.
1375 * testsuite/gas/arc/sbc.d: Likewise.
1376 * testsuite/gas/arc/sda-relocs.d: Likewise.
1377 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1378 * testsuite/gas/arc/sexb.d: Likewise.
1379 * testsuite/gas/arc/sexw.d: Likewise.
1380 * testsuite/gas/arc/st.d: Likewise.
1381 * testsuite/gas/arc/sub.d: Likewise.
1382 * testsuite/gas/arc/tls-relocs.d: Likewise.
1383 * testsuite/gas/arc/xor.d: Likewise.
1385 2016-01-01 Alan Modra <amodra@gmail.com>
1387 Update year range in copyright notice of all files.
1389 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1391 Copyright (C) 2016 Free Software Foundation, Inc.
1393 Copying and distribution of this file, with or without modification,
1394 are permitted in any medium without royalty provided the copyright
1395 notice and this notice are preserved.
1401 version-control: never