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