1 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3 * testsuite/gas/arc/warn.exp: Fix matching pattern.
5 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
7 * testsuite/gas/arc/ext2op.d: New file.
8 * testsuite/gas/arc/ext2op.s: Likewise.
9 * testsuite/gas/arc/ext3op.d: Likewise.
10 * testsuite/gas/arc/ext3op.s: Likewise.
12 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
14 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
16 * config/tc-alpha.c (md_parse_option): Likewise.
17 * config/tc-arc.c (md_parse_option): Likewise.
18 * config/tc-arm.c (struct arm_long_option_table): Likewise.
19 (md_parse_option): Likewise.
20 * config/tc-avr.c (md_parse_option): Likewise.
21 * config/tc-bfin.c (md_parse_option): Likewise.
22 * config/tc-cr16.c (md_parse_option): Likewise.
23 * config/tc-cris.c (s_cris_arch): Likewise.
24 (md_parse_option): Likewise.
25 * config/tc-crx.c (md_parse_option): Likewise.
26 * config/tc-d10v.c (md_parse_option): Likewise.
27 * config/tc-d30v.c (md_parse_option): Likewise.
28 * config/tc-dlx.c (md_parse_option): Likewise.
29 * config/tc-epiphany.c (md_parse_option): Likewise.
30 * config/tc-fr30.c (md_parse_option): Likewise.
31 * config/tc-frv.c (md_parse_option): Likewise.
32 * config/tc-ft32.c (md_parse_option): Likewise.
33 * config/tc-h8300.c (md_parse_option): Likewise.
34 * config/tc-hppa.c (md_parse_option): Likewise.
35 * config/tc-i370.c (md_parse_option): Likewise.
36 * config/tc-i386.c (md_parse_option): Likewise.
37 * config/tc-i860.c (md_parse_option): Likewise.
38 * config/tc-i960.c (md_parse_option): Likewise.
39 * config/tc-ia64.c (md_parse_option): Likewise.
40 * config/tc-ip2k.c (md_parse_option): Likewise.
41 * config/tc-iq2000.c (md_parse_option): Likewise.
42 * config/tc-lm32.c (md_parse_option): Likewise.
43 * config/tc-m32c.c (md_parse_option): Likewise.
44 * config/tc-m32r.c (md_parse_option): Likewise.
45 * config/tc-m68hc11.c (md_parse_option): Likewise.
46 * config/tc-m68k.c (md_parse_option): Likewise.
47 * config/tc-mcore.c (md_parse_option): Likewise.
48 * config/tc-mep.c (md_parse_option): Likewise.
49 * config/tc-metag.c (struct metag_long_option): Likewise.
50 (md_parse_option): Likewise.
51 * config/tc-microblaze.c (md_parse_option): Likewise.
52 * config/tc-microblaze.h (md_parse_option): Remove prototype.
53 * config/tc-mips.c (md_parse_option): Adjust.
54 * config/tc-mmix.c (md_parse_option): Likewise.
55 * config/tc-mn10200.c (md_parse_option): Likewise.
56 * config/tc-mn10300.c (md_parse_option): Likewise.
57 * config/tc-moxie.c (md_parse_option): Likewise.
58 * config/tc-msp430.c (md_parse_option): Likewise.
59 * config/tc-mt.c (md_parse_option): Likewise.
60 * config/tc-nds32.c (md_parse_option): Likewise.
61 * config/tc-nds32.h (nds32_parse_option): Likewise.
62 * config/tc-nios2.c (md_parse_option): Likewise.
63 * config/tc-ns32k.c (md_parse_option): Likewise.
64 * config/tc-or1k.c (md_parse_option): Likewise.
65 * config/tc-pdp11.c (md_parse_option): Likewise.
66 * config/tc-pj.c (md_parse_option): Likewise.
67 * config/tc-ppc.c (md_parse_option): Likewise.
68 * config/tc-rl78.c (md_parse_option): Likewise.
69 * config/tc-rx.c (md_parse_option): Likewise.
70 * config/tc-s390.c (s390_parse_cpu): Likewise.
71 * config/tc-score.c (md_parse_option): Likewise.
72 * config/tc-sh.c (md_parse_option): Likewise.
73 * config/tc-sparc.c (md_parse_option): Likewise.
74 * config/tc-spu.c (md_parse_option): Likewise.
75 * config/tc-tic30.c (md_parse_option): Likewise.
76 * config/tc-tic4x.c (md_parse_option): Likewise.
77 * config/tc-tic54x.c (md_parse_option): Likewise.
78 * config/tc-tic6x.c (md_parse_option): Likewise.
79 * config/tc-tilegx.c (md_parse_option): Likewise.
80 * config/tc-tilepro.c (md_parse_option): Likewise.
81 * config/tc-v850.c (md_parse_option): Likewise.
82 * config/tc-vax.c (md_parse_option): Likewise.
83 * config/tc-visium.c (struct visium_long_option_table): Likewise.
84 * config/tc-xc16x.c (md_parse_option): Likewise.
85 * config/tc-xgate.c (md_parse_option): Likewise.
86 * config/tc-xstormy16.c (md_parse_option): Likewise.
87 * config/tc-xtensa.c (md_parse_option): Likewise.
88 * config/tc-z80.c (md_parse_option): Likewise.
89 * config/tc-z8k.c (md_parse_option): Likewise.
90 * tc.h (md_parse_option): Likewise.
92 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
94 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
95 * config/tc-hppa.c (fix_new_hppa): Likewise.
96 (pa_vtable_entry): Likewise.
97 (pa_vtable_inherit): Likewise.
98 * config/tc-m68k.c (md_begin): Likewise.
100 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
102 * config/obj-elf.c (obj_elf_section_name): Return const char *.
103 * config/obj-elf.h (obj_elf_section_name): Adjust.
104 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
105 (aarch64_parse_cpu): Likewise.
106 (aarch64_parse_arch): Likewise.
107 * config/tc-arm.c (arm_parse_extension): Likewise.
108 (arm_parse_cpu): Likewise.
109 (arm_parse_arch): Likewise.
110 * config/tc-nds32.c: Likewise.
111 * config/xtensa-relax.c (parse_special_fn): Likewise.
112 * stabs.c (generate_asm_file): Likewise.
114 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
116 * config/tc-cr16.c (cr16_assemble): New function.
117 (md_assemble): Call cr16_assemble.
119 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
121 * as.c (parse_args): Adjust.
122 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
123 * config/obj-elf.c (elf_frob_symbol): Adjust.
125 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
127 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
128 registers to be in the 16..31 range.
130 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
132 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
135 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
137 * config/tc-visium.c (md_atof): Localize the string returned on
140 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
142 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
143 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
144 * config/tc-m68hc11.c (md_begin): Likewise.
145 (print_opcode_list): Likewise.
146 * config/tc-msp430.c (msp430_section): Likewise.
147 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
148 (s3_build_dependency_insn_hsh): Likewise.
149 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
150 (s7_build_dependency_insn_hsh): Likewise.
151 * config/tc-tic4x.c: Likewise.
152 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
153 (subsym_get_arg): Likewise.
154 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
155 (get_directive): Likewise.
156 (cache_literal_section): Likewise.
157 * config/xtensa-relax.c: Likewise.
158 * symbols.c (symbol_create): Likewise.
159 (local_symbol_make): Likewise.
160 (symbol_relc_make_expr): Likewise.
162 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
164 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
167 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
169 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
172 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
174 * config/tc-ia64.c (ia64_do_align): Remove.
175 (ia64_cons_align): Call do_align () directly.
176 (dot_proc): Likewise.
177 (stmt_float_cons): Likewise.
179 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
181 * listing.c (listing_message): Use XNEW style allocation macros.
182 * read.c (read_a_source_file): Likewise.
183 (read_symbol_name): Likewise.
184 (s_mri_common): Likewise.
185 (assign_symbol): Likewise.
187 (emit_expr_with_reloc): Likewise.
188 (s_incbin): Likewise.
189 (s_include): Likewise.
190 * sb.c (sb_build): Likewise.
191 (sb_check): Likewise.
193 2016-03-22 Alan Modra <amodra@gmail.com>
195 * write.c (record_alignment): Revert 2016-02-18 change.
197 2016-03-22 Alan Modra <amodra@gmail.com>
199 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
200 (emit_jsrjmp, tc_gen_reloc): Likewise.
201 * config/tc-i370.c (i370_macro): Likewise.
203 2016-03-22 Nick Clifton <nickc@redhat.com>
205 * configure: Regenerate.
207 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
209 * testsuite/gas/arc/nps400-0.d: New file.
210 * testsuite/gas/arc/nps400-0.s: New file.
211 * testsuite/gas/arc/nps400-1.d: New file.
212 * testsuite/gas/arc/nps400-1.s: New file.
214 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
216 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
217 declarations to start of block. Reset code on all flags before
218 attempting to match them. Handle multiple hits on the same flag.
220 * testsuite/gas/arc/asm-errors.d: New file.
221 * testsuite/gas/arc/asm-errors.err: New file.
222 * testsuite/gas/arc/asm-errors.s: New file.
224 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
226 * config/tc-arc.c (cpu_types): Add nps400 entry.
227 (check_zol): Handle nps400.
229 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
231 * config/tc-arc.c (arc_select_cpu): Remove use of
234 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
236 * config/tc-arc.c (arc_target): Delay initialisation until
238 (arc_target_name): Likewise.
239 (arc_features): Likewise.
240 (arc_mach_type): Likewise.
241 (cpu_types): Remove "all" entry.
242 (arc_select_cpu): New function, most of the content is from...
243 (md_parse_option): ... here. Call new arc_select_cpu.
244 (md_begin): Call arc_select_cpu if needed, default is now arc700.
246 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
248 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
249 * testsuite/gas/arc/inline-data-2.d: New file.
251 2016-03-21 Nick Clifton <nickc@redhat.com>
253 * atof-generic.c: Replace use of alloca with call to xmalloc.
255 * dwarf2dbg.c: Likewise.
259 * symbols.c: Likewise.
260 * config/obj-elf.c: Likewise.
261 * config/tc-aarch64.c: Likewise.
262 * config/tc-arc.c: Likewise.
263 * config/tc-arm.c: Likewise.
264 * config/tc-avr.c: Likewise.
265 * config/tc-ia64.c: Likewise.
266 * config/tc-mips.c: Likewise.
267 * config/tc-msp430.c: Likewise.
268 * config/tc-nds32.c: Likewise.
269 * config/tc-ppc.c: Likewise.
270 * config/tc-sh.c: Likewise.
271 * config/tc-tic30.c: Likewise.
272 * config/tc-tic54x.c: Likewise.
273 * config/tc-xstormy16.c: Likewise.
274 * config/te-vms.c: Likewise.
275 * configure: Regenerate.
277 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
279 * tc-i386.c (f32_1): Change type to unsigned char[].
300 (f32_patt): Likewise.
301 (f16_patt): Likewise.
310 (alt_patt): Likewise.
312 2016-03-18 Nick Clifton <nickc@redhat.com>
314 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
315 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
316 .tlsdescldr and .xword directives.
319 * testsuite/gas/aarch64/pr19721.s: New test source file.
320 * testsuite/gas/aarch64/pr19721.d: New test driver file.
322 * doc/as.texinfo: Place the target specific command line options
323 into their own man page section.
325 2016-03-16 Jiong Wang <jiong.wang@arm.com>
327 * config/tc-arm.c (N_S_32): New.
328 (N_F_16_32): Likewise.
329 (N_SUF_32): Support N_F16.
331 (neon_dyadic_misc): Likewise.
332 (do_neon_cmp): Likewise.
333 (do_neon_cmp_inv): Likewise.
334 (do_neon_mul): Likewise.
335 (do_neon_fcmp_absolute): Likewise.
336 (do_neon_step): Likewise.
337 (do_neon_abs_neg): Likewise.
338 (CVT_FLAVOR_VAR): Likewise.
339 (do_neon_cvt_1): Likewise.
340 (do_neon_recip_est): Likewise.
341 (do_vmaxnm): Likewise.
342 (do_vrint_1): Likewise.
343 (neon_check_type): Check architecture support for FP16 extension.
344 (insns): Update comments.
345 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
346 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
347 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
348 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
350 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
352 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
355 2016-03-16 Nick Clifton <nickc@redhat.com>
357 * read.c (emit_expr_with_reloc): Add code check a bignum with
359 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
361 * testsuite/gas/elf/bignum.s: New test source file.
362 * testsuite/gas/elf/bignum.d: New test driver file.
363 * testsuite/gas/elf/elf.exp: Run the new test.
365 2016-03-15 Ulrich Drepper <drepper@gmail.com>
367 * doc/c-i386.texi (Register Naming): Update to details of the
368 latest architecture version.
370 2016-03-10 Mickael Guene <mickael.guene@st.com>
373 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
375 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
376 (do_t_mov_cmp): Likewise.
377 (do_t_add_sub): Protect against bad relocations usage.
378 (do_t_mov_cmp): Likewise.
379 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
380 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
381 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
382 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
384 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
386 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
388 (do_neon_ld_st_lane): Likewise.
389 (do_neon_ld_dup): Likewise.
391 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
393 * testsuite/gas/arc/inline-data-1.d: New file.
394 * testsuite/gas/arc/inline-data-1.s: New file.
396 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
398 * config/tc-arm.c (arm_cpus): Add cortex-r8.
399 * doc/c-arm.texi: Add cortex-r8.
401 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
403 * config/tc-arc.c: Add const qualifiers.
404 * config/tc-h8300.c (md_begin): Likewise.
405 * config/tc-ia64.c (print_prmask): Likewise.
406 * config/tc-msp430.c (msp430_operands): Likewise.
407 * config/tc-nds32.c (struct suffix_name): Likewise.
408 (struct nds32_parse_option_table): Likewise.
409 (struct nds32_set_option_table): Likewise.
410 (do_pseudo_pushpopm): Likewise.
411 (do_pseudo_pushpop_stack): Likewise.
412 (nds32_relax_relocs): Likewise.
413 (nds32_flag): Likewise.
414 (struct nds32_hint_map): Likewise.
415 (nds32_find_reloc_table): Likewise.
416 (nds32_match_hint_insn): Likewise.
417 * config/tc-s390.c: Likewise.
418 * config/tc-sh.c (get_specific): Likewise.
419 * config/tc-tic30.c: Likewise.
420 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
421 (tic4x_indirect_parse): Likewise.
422 * config/tc-vax.c (vax_cons): Likewise.
423 * config/tc-z80.c (struct reg_entry): Likewise.
424 * config/tc-epiphany.c (md_assemble): Adjust.
425 (epiphany_assemble): New function.
426 (epiphany_elf_section_rtn): Call do_align directly.
427 (epiphany_elf_section_text): Likewise.
428 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
429 (ip2k_elf_section_text): Likewise.
430 * read.c (do_align): Make it not static.
431 * read.h (do_align): New prototype.
433 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
435 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
436 for ARMv8.1 AdvSIMD use.
437 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
438 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
440 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
442 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
444 (record_feature_use): New.
445 (mark_feature_used): Use record_feature_use.
446 (do_neon_qrdmlah): New.
447 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
449 (arm_extensions): Put into alphabetical order. Re-indent "simd"
450 and "rdma" entries. Fix the incorrect merge value for "+rdma".
451 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
452 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
453 Make source file explicit.
454 * testsuite/gas/arm/armv8-a+rdma.l: New.
455 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
456 directives. Fix white-space.
457 * testsuite/gas/arm/armv8_1-a+simd.d: New.
459 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
461 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
463 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
464 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
466 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
467 (tc_arc_fix_adjustable): Changed default return value to 1.
468 * testsuite/gas/arc/j.d: Updated expected symbol
469 * testsuite/gas/arc/jl.d: Likewise
470 * testsuite/gas/arc/relax-avoid1.d: Likewise
471 * testsuite/gas/arc/st.d: Likewise
473 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
475 * config/tc-arc.c: Enable code density instructions for ARC EM.
477 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
480 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
482 * as.c (flag_use_elf_stt_common): New.
483 (show_usage): Add --elf-stt-common=.
484 (option_values): Add OPTION_ELF_STT_COMMON.
485 (std_longopts): Add --elf-stt-common=.
486 (parse_args): Handle --elf-stt-common=.
487 * as.h (flag_use_elf_stt_common): New.
488 * config.in: Regenerated.
489 * configure: Likewise.
490 * configure.ac: Add --enable-elf-stt-common and define
491 DEFAULT_GENERATE_ELF_STT_COMMON.
492 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
493 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
494 * doc/as.texinfo: Document --elf-stt-common=.
495 * testsuite/gas/elf/common3.s: New file.
496 * testsuite/gas/elf/common3a.d: Likewise.
497 * testsuite/gas/elf/common3b.d: Likewise.
498 * testsuite/gas/elf/common4.s: Likewise.
499 * testsuite/gas/elf/common4a.d: Likewise.
500 * testsuite/gas/elf/common4b.d: Likewise.
501 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
502 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
503 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
505 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
506 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
507 --elf-stt-common=no to as.
508 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
509 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
510 --elf-stt-common=no to as.
511 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
512 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
513 of dw2-compress-3 and dw2-compressed-3.
515 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
517 * as.c (select_emulation_mode): Add const qualifiers.
519 * config/bfin-defs.h: Likewise.
520 * config/bfin-parse.y: Likewise.
521 * config/rx-parse.y: Likewise.
522 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
523 (struct aarch64_cpu_option_table): Likewise.
524 (struct aarch64_arch_option_table): Likewise.
525 (struct aarch64_option_cpu_value_table): Likewise.
526 (struct aarch64_long_option_table): Likewise.
527 (struct aarch64_option_abi_value_table): Likewise.
528 * config/tc-arm.c (struct reloc_entry): Likewise.
529 (tc_gen_reloc): Likewise.
530 (struct arm_option_table): Likewise.
531 (struct arm_legacy_option_table): Likewise.
532 (struct arm_cpu_option_table): Likewise.
533 (struct arm_arch_option_table): Likewise.
534 (struct arm_option_extension_value_table): Likewise.
535 (struct arm_option_fpu_value_table): Likewise.
536 (struct arm_option_value_table): Likewise.
537 (struct arm_long_option_table): Likewise.
538 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
539 (struct mcu_type_s): Likewise.
540 (struct exp_mod_s): Likewise.
541 (avr_operand): Likewise.
542 (avr_operands): Likewise.
543 * config/tc-d10v.c (md_begin): Likewise.
544 * config/tc-dlx.c: Likewise.
545 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
546 * config/tc-ft32.c (parse_condition): Likewise.
547 * config/tc-h8300.c (do_a_fix_imm): Likewise.
548 * config/tc-hppa.c (pa_ip): Likewise.
549 (hppa_regname_to_dw2regnum): Likewise.
550 * config/tc-i370.c (i370_elf_suffix): Likewise.
551 * config/tc-i960.c (struct tabentry): Likewise.
552 * config/tc-m32r.c: Likewise.
553 * config/tc-m68k.c: Likewise.
554 * config/tc-m68k.h: Likewise.
555 * config/tc-mcore.c (parse_psrmod): Likewise.
556 * config/tc-metag.c (struct metag_core_option): Likewise.
557 (struct metag_long_option): Likewise.
558 * config/tc-microblaze.c: Likewise.
559 * config/tc-mips.c (macro): Likewise.
560 * config/tc-mn10200.c: Likewise.
561 * config/tc-mn10300.c: Likewise.
562 * config/tc-msp430.c (struct rcodes_s): Likewise.
563 (struct hcodes_s): Likewise.
564 (md_parse_option): Likewise.
565 * config/tc-ns32k.c (struct ns32k_option): Likewise.
567 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
568 (tc_ppc_regname_to_dw2regnum): Likewise.
569 * config/tc-ppc.h: Likewise.
570 * config/tc-rl78.c: Likewise.
571 * config/tc-rx.c (struct cpu_type): Likewise.
572 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
573 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
574 (sparc_ip): Likewise.
575 * config/tc-spu.c (insn_fmt_string): Likewise.
576 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
577 * config/tc-v850.c: Likewise.
578 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
579 (struct visium_long_option_table): Likewise.
580 * config/tc-xgate.c: Likewise.
581 * config/tc-z8k.c: Likewise.
582 * read.c (add_include_dir): Likewise.
585 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
587 * testsuite/gas/all/gas.exp: Change target pattern to cover
589 * testsuite/gas/all/redef3.d: Likewise.
590 * testsuite/gas/elf/elf.exp: Likewise.
592 2016-02-24 Renlin Li <renlin.li@arm.com>
594 * config/tc-arm.c (BAD_FP16): New error message macro.
595 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
596 fp16 scalar instructions.
597 (neon_check_type): Allow different size from key.
598 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
599 (try_vfp_nsyn): Likewise.
600 (do_vfp_nsyn_mla_mls): Likewise.
601 (do_vfp_nsyn_fma_fms): Likewise.
602 (do_vfp_nsyn_ldm_stm): Likewise
603 (do_vfp_nsyn_sqrt): Likewise
604 (do_vfp_nsyn_div): Likewise
605 (do_vfp_nsyn_nmul): Likewise.
606 (do_vfp_nsyn_cmp): Likewise.
607 (do_neon_shll): Likewise.
608 (do_vfp_nsyn_cvt_fpv8): Likewise.
609 (do_neon_cvttb_2): Likewise.
610 (do_neon_mov): Likewise.
611 (do_neon_rshift_round_imm): Likewise.
612 (do_neon_ldr_str): Likewise.
613 (do_vfp_nsyn_fpv8): Likewise.
614 (do_vmaxnm): Likewise.
615 (do_vrint_1): Likewise.
616 (insns): New entry for vins, vmovx.
617 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
618 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
619 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
620 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
621 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
622 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
623 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
625 2016-02-24 Renlin Li <renlin.li@arm.com>
627 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
628 (neon_shape_class): New SC_HALF.
629 (neon_shape_el): New SE_H.
630 (neon_shape_el_size): New size for SE_H.
631 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
632 (neon_select_shape): Add SE_H support code.
633 (el_type_of_type_chk): Use N_F_ALL.
634 (do_vfp_nsyn_cvt): Add SE_H shape support.
635 (do_neon_cvtz): Likewise.
636 (do_neon_cvt_1): Likewise.
637 (do_neon_cvttb_1): Likewise.
639 2016-02-24 Renlin Li <renlin.li@arm.com>
641 * testsuite/gas/arm/copro.d: Adjust output.
642 * testsuite/gas/arm/copro.s: Adjust co-processor num.
644 2016-02-24 Renlin Li <renlin.li@arm.com>
646 * testsuite/gas/arm/mask_1.d: New.
647 * testsuite/gas/arm/mask_1.s: New.
649 2016-02-24 Renlin Li <renlin.li@arm.com>
651 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
652 * testsuite/gas/arm/copro.d: Update.
654 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
656 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
657 * doc/c-arm.texi (ARM Options): Document cortex-a32.
659 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
661 * doc/c-arm.texi (ARM Options): Document cortex-a17.
663 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
665 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
668 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
670 * output-file.c (output_file_create): Make file name argument const.
671 (output_file_close): Likewise.
672 * output-file.h (output_file_create): Adjust.
673 (output_file_close): Likewise.
674 * depend.c (quote_string_for_make): Make src argument const char *.
675 (register_dependency): Likewise.
676 (wrap_output): Likewise.
677 * as.h (register_dependency): Adjust.
678 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
680 * symbols.c (S_SET_EXTERNAL): Likewise.
681 * input-scrub.c (as_where): Return the file name.
682 * as.h (as_where): Adjust prototype.
683 * app.c (do_scrub_chars): Adjust.
684 * cond.c (s_elseif): Likewise.
686 (initialize_cframe): Likewise.
687 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
688 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
689 * config/obj-som.c (obj_som_init_stab_section): Likewise.
690 * config/tc-aarch64.c (output_info): Likewise.
691 * config/tc-ia64.c (md_assemble): Likewise.
692 (dot_alias): Likewise.
693 * config/tc-m68k.c (m68k_frob_label): Likewise.
694 * config/tc-mmix.c (s_bspec): Likewise.
695 (mmix_handle_mmixal): Likewise.
696 * config/tc-rx.c (rx_include): Likewise.
697 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
698 (tic54x_adjust_symtab): Likewise.
699 * config/tc-xtensa.c (directive_push): Likewise.
700 (xtensa_sanity_check): Likewise.
701 (xtensa_relax_frag): Likewise.
702 (md_convert_frag): Likewise.
703 (tinsn_to_slotbuf): Likewise.
704 * dwarf2dbg.c (dwarf2_where): Likewise.
705 * ecoff.c (add_file): Likewise.
706 (ecoff_generate_asm_lineno): Likewise.
707 * expr.c (make_expr_symbol): Likewise.
708 * frags.c (frag_new): Likewise.
709 (frag_var_init): Likewise.
710 * listing.c (listing_newline): Likewise.
711 * messages.c (identify): Likewise.
712 (as_show_where): Likewise.
713 (as_warn_internal): Likewise.
714 (as_bad_internal): Likewise.
715 * read.c (s_irp): Likewise.
718 * stabs.c (stabs_generate_asm_file): Likewise.
719 (stabs_generate_asm_lineno): Likewise.
720 (stabs_generate_asm_func): Likewise.
721 * write.c (fix_new_internal): Likewise.
722 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
723 (as_warn_value_out_of_range): Adjust prototype.
724 (as_bad_value_out_of_range): Adjust prototype.
725 * messages.c (identify): Make file name argument const char *.
726 (as_warn_internal): Likewise.
727 (as_warn_where): Likewise.
728 (as_bad_internal): Likewise.
729 (as_bad_where): Likewise.
730 (as_internal_value_out_of_range): Likewise.
731 (as_warn_value_out_of_range): Likewise.
732 (as_bad_value_out_of_range): Likewise.
733 * as.h (found_comment_file): Change type to const char *.
734 * cond.c (file_line::file): Likewise.
735 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
736 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
737 * config/obj-som.c (obj_som_init_stab_section): Likewise.
738 * config/tc-aarch64.c (output_info): Likewise.
739 * config/tc-alpha.c (insert_operand): Likewise.
740 * config/tc-arc.c (insert_operand): Likewise.
741 * config/tc-d30v.c (check_size): Likewise.
742 * config/tc-ia64.c (struct alias): Likewise.
743 * config/tc-m68k.c (struct label_line): Likewise.
744 * config/tc-mcore.c (md_apply_fix): Likewise.
745 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
746 * config/tc-mips.c (mips16_immed): Likewise.
747 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
748 * config/tc-ppc.c (ppc_insert_operand): Likewise.
749 * config/tc-rx.c (rx_include): Likewise.
750 * config/tc-s390.c (s390_insert_operand): Likewise.
751 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
752 (tic54x_adjust_symtab): Likewise.
753 * config/tc-tilegx.c (insert_operand): Likewise.
754 (apply_special_operator): Likewise.
755 * config/tc-tilepro.c (insert_operand): Likewise.
756 * config/tc-xtensa.c (directive_push): Likewise.
757 * ecoff.c (add_file): Likewise.
758 (ecoff_generate_asm_lineno): Likewise.
759 * listing.c (listing_newline): Likewise.
760 * read.c (s_irp): Likewise.
761 * write.c (install_reloc): Likewise.
762 * write.h (struct fix): Likewise.
763 * input-file.c (file_name): Change type to const char *.
764 (saved_file::file_name): Likewise.
765 (input_file_open): Change type of argument to const char *.
766 * input-file.h (input_file_open): Adjust.
767 * input-scrub.c (logical_input_file): change type to const char *.
768 (physical_input_file): Likewise.
769 (struct input_save): Adjust.
770 (input_scrub_push): Adjust.
771 (input_scrub_begin): Adjust.
773 * input-scrub.c (input_scrub_new_file): Make file name argument const.
774 (input_scrub_include_file): Likewise.
775 (new_logical_line_flags): Likewise.
776 (new_logical_line): Likewise.
778 * frags.h (struct frag): Change type of fr_file to const char *.
779 * expr.c (expr_symbol_where): Change type of file argument to
781 * expr.h (expr_symbol_where): Likewise.
782 * config/tc-i370.c (md_apply_fix): adjust.
783 * config/tc-mmix.c (mmix_md_end): Likewise.
784 * config/tc-ppc.c (md_apply_fix): Likewise.
785 * config/tc-s390.c (md_apply_fix): Likewise.
786 * symbols.c (report_op_error): Likewise.
787 (resolve_symbol_value): Likewise.
788 * config/tc-ia64.c (slot::src_file): Change type to const char *.
789 (rsrc::file): Likewise.
790 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
792 (xtensa_relax_frag): Likewise.
793 (md_convert_frag): Likewise.
794 (tinsn_to_slotbuf): Likewise.
795 * expr.c (expr_symbol_line): Likewise.
796 * macro.c (define_macro): Likewise.
797 * macro.h (macro_struct): Likewise.
798 * messages.c (as_show_where): Likewise.
799 * read.c (s_macro): Likewise.
800 * stabs.c (stabs_generate_asm_file): Likewise.
801 (generate_asm_file): Likewise.
802 (stabs_generate_asm_lineno): Likewise.
803 * write.h (struct reloc_list): Likewise.
804 * input-scrub.c (as_where): Change return type to const char *.
805 * as.h (as_wheree): Adjust.
807 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
809 * write.c (compress_debug): Move BFD compression bits setting
811 (write_object_file): Here.
813 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
815 * config/tc-i386.c (register_number): Check RegVRex.
816 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
817 with %zmm19 and %zmm3.
818 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
819 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
821 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
822 Jiong Wang <jiong.wang@arm.com>
824 * config/tc-arm.c (arm_ext_fp16): New.
825 (arm_extensions): New entry for "fp16".
827 2016-02-19 Nick Clifton <nickc@redhat.com>
830 * read.c (read_a_source_file): Check for assemble_one returning
831 with input_line_pointer set to NULL.
833 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
835 * listing.c (rebuffer_line): Change return type to void.
837 * symbols.c (decode_local_label_name): Make type a const char *.
838 * listing.c (print_source): Make type of p const char *.
839 (print_line): Make type of string const char *.
840 (buffer_line): Return const char *.
841 (title): Make type const char *.
842 (subtitle): Likewise.
843 (listing_listing): Make type of p const char *.
844 * messages.c (as_internal_value_out_of_range): Make type of prefix
846 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
847 and string const char *.
848 * read.c (_bfd_rel): Make type of name const char *.
849 * app.c (out_string): Change type to const char *.
850 (struct app_save::out_string): Likewise.
852 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
853 Nick Clifton <nickc@redhat.com>
855 * read.c (finish_bundle): Avoid recording a negative alignment.
856 (do_align): Use unsigned values for n, len and max. Only create
857 a frag if the alignment requirement is greater than the minimum
858 byte alignment. Avoid recording a negative alignment.
859 (s_align): Use unsigned values where appropriate.
860 (bss_alloc): Use an unsigned value for the alignment.
861 (sizeof_sleb128): Add a comment noting that we encode one octet
862 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
863 (emit_leb129_expr): Abort if the emitted encoding was longer than
865 * read.h (output_leb128): Update prototype.
866 (sizeof_leb128): Update prototype.
867 (bss_alloc): Update prototype.
868 * write.c (record_alignment): Use an unsigned value for the
869 alignment. Do not record alignments less than the minimum
870 alignment for a byte.
871 * write.h (record_alignment): Update prototype.
873 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
875 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
876 .init.literal/.fini.literal section name.
877 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
878 list of xtensa tests.
879 * testsuite/gas/xtensa/init-fini-literals.d: New file:
880 init-fini-literals test result patterns.
881 * testsuite/gas/xtensa/init-fini-literals.s: New file:
882 init-fini-literals test.
884 2016-02-17 Nick Clifton <nickc@redhat.com>
886 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
887 devices.csv file as of March 2016.
889 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
891 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
893 (tc_arc_regname_to_dw2regnum): Likewise.
894 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
895 (tc_cfi_frame_initial_instructions): Likewise.
896 (tc_regname_to_dw2regnum): Likewise.
897 * testsuite/gas/cfi/cfi-arc-1.d: New file.
898 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
899 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
901 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
903 * doc/internals.texi (S_IS_EXTERN): Remove.
905 2016-02-16 Nick Clifton <nickc@redhat.com>
907 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
910 2016-02-16 Renlin Li <renlin.li@arm.com>
913 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
914 * testsuite/gas/aarch64/movw_label.d: New.
915 * testsuite/gas/aarch64/movw_label.s: New.
917 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
920 * config/rx-parse.y (MOV): Opcode generation for index
921 register addressing mode.
922 * testsuite/gas/rx/rx.exp: Updated for new testcase.
923 * testsuite/gas/rx/pr19665.s: New file.
924 * testsuite/gas/rx/pr19665.s: New file.
925 * testsuite/gas/rx/mov.d: Update expected output.
927 2016-02-15 Nick Clifton <nickc@redhat.com>
929 * doc/as.texinfo (.section): Document that numeric values can now
930 be used for the flags and type fields of the ELF target's .section
931 directive. Add notes about the restrictions on setting flags and
933 * config/obj-elf.c (obj_elf_change_section): Allow known sections
934 to be given processor specific section types. Allow processor and
935 application specific flags of a section to be set after
937 (obj_elf_parse_section_letters): Handle parsing numeric values.
938 (obj_elf_section_type): Handle parsing numeric values.
939 (obj_elf_section): Allow numeric type values.
940 * config/obj-elf.h (obj_elf_change_section): Update prototype.
941 * testsuite/gas/elf/section10.d: New test.
942 * testsuite/gas/elf/section10.s: Source file for new test.
943 * testsuite/gas/elf/elf.exp: Run the new test.
944 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
945 the description of the flags produced by readelf.
946 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
947 * NEWS: Mention the new feature.
949 2016-02-11 Nick Clifton <nickc@redhat.com>
952 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
953 until it is actually used.
954 (cfi_set_sections): Set cfi_sections_set to true.
955 (dot_cfi_startproc): Likewise.
956 (dot_cfi_endproc): Likewise.
957 (dot_cfi_fde_data): Likewise.
958 (cfi_finish): Likewise.
959 (dot_cfi_sections): Do not set cfi_sections_set.
960 * doc/as.texinfo (.cfi_sections): Note that targets can provide
961 their own cfi section name. Also note that the directive can be
962 reissued provided that CFI generation has not started.
963 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
964 .cfi_endproc directives so that the redefinition of .cfi_sections
965 will trigger the generation of the error message.
966 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
967 number of error message.
969 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
970 Janek van Oirschot <jvanoirs@synopsys.com>
972 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
973 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
975 (arc_flags, arc_relax_type): New structure.
976 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
977 (RELAX_TABLE_ENTRY_MAX): New define.
978 (relaxation_state, md_relax_table, arc_relaxable_insns)
979 (arc_num_relaxable_ins): New variable.
980 (rlx_operand_type, arc_rlx_types): New enums.
981 (arc_relaxable_ins): New structure.
982 (OPTION_RELAX): New option.
983 (arc_insn): New relax member.
985 (relax_insn_p): New function.
986 (apply_fixups): Likewise.
987 (relaxable_operand): Likewise.
988 (may_relax_expr): Likewise.
989 (relaxable_flag): Likewise.
990 (arc_pcrel_adjust): Likewise.
991 (md_estimate_size_before_relax): Implement.
992 (md_convert_frag): Likewise.
993 (md_parse_option): Handle new mrelax option.
994 (md_show_usage): Likewise.
995 (assemble_insn): Set relax member.
996 (emit_insn0): New function.
997 (emit_insn1): Likewise.
998 (emit_insn): Handle relaxation case.
999 * NEWS: Mention the new relaxation option.
1000 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1001 * doc/as.texinfo (Target ARC Options): Likewise.
1002 * testsuite/gas/arc/relax-avoid1.d: New file.
1003 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1004 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1005 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1006 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1007 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1008 * testsuite/gas/arc/relax-b.d: Likewise.
1009 * testsuite/gas/arc/relax-b.s: Likewise.
1011 2016-02-08 Nick Clifton <nickc@redhat.com>
1013 * config/tc-ia64.c (dot_prologue): Fix formatting.
1015 2016-02-04 Nick Clifton <nickc@redhat.com>
1017 * config/obj-elf.c (obj_elf_change_section): Remove support for
1018 ARM NOREAD sections.
1019 * config/tc-arm.c (arm_elf_section_letter): Delete.
1020 * config/tc-arm.h (md_elf_section_letter): Delete.
1021 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1022 * testsuite/gas/arm/section-execute-only.d: Delete.
1023 * testsuite/gas/arm/section-execute-only.s: Delete.
1025 2016-02-04 Nick Clifton <nickc@redhat.com>
1028 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
1029 to handle encoding of RRUX instruction.
1030 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1032 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1034 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
1036 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1037 substitutions for BFD_RELOC_* as unsigned.
1038 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1039 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1040 * testsuite/gas/xtensa/loc.s: New file: loc test.
1042 2016-02-03 Kevin Buettner <kevinb@redhat.com>
1044 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1046 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1049 * NEWS: Mention new command line option -mrelax-relocations and
1050 new configure option --enable-x86-relax-relocations for x86
1052 * config.in: Regenerated.
1053 * configure.ac: Add --enable-x86-relax-relocations.
1054 (ac_default_x86_relax_relocations): New. Default to 1 except
1055 for x86 Solaris targets older than Solaris 12.
1056 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
1057 * configure: Likewise.
1058 * config/tc-i386.c (generate_relax_relocations): New.
1059 (OPTION_MRELAX_RELOCATIONS): Likewise.
1060 (output_disp): Don't generate relax relocations if
1061 generate_relax_relocations is 0.
1062 (md_longopts): Add -mrelax-relocations.
1063 (md_show_usage): Likewise.
1064 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
1065 * doc/c-i386.texi: Document -mrelax-relocations=.
1066 * testsuite/gas/i386/got-no-relax.d: New file.
1067 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
1068 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
1069 * testsuite/gas/i386/localpic.d: Likewise.
1070 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
1071 * testsuite/gas/i386/reloc32.d: Likewise.
1072 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
1073 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
1074 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
1075 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
1076 * testsuite/gas/i386/i386.exp: Run got-no-relax and
1077 x86-64-gotpcrel-no-relax.
1079 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1081 * NEWS: Mention new command line option -mfence-as-lock-add=yes
1084 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1086 * NEWS: Remove duplicated marker for 2.26.
1088 2016-02-02 Renlin Li <renlin.li@arm.com>
1090 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1092 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1094 * testsuite/gas/ip2k/allinsn.d: New file.
1095 * testsuite/gas/ip2k/allinsn.s: New file.
1096 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1098 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1100 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1101 some load instructions.
1102 * testsuite/gas/epiphany/allinsn.d: Likewise.
1103 * testsuite/gas/epiphany/regression.d: Likewise.
1105 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1107 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1108 suffixes from instruction mnemonics in expected output.
1109 * testsuite/gas/epiphany/allinsn.d: Likewise.
1110 * testsuite/gas/epiphany/regression.d: Likewise.
1111 * testsuite/gas/epiphany/sample.d: Likewise.
1113 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1115 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1117 * testsuite/gas/epiphany/allinsn.d: Likewise.
1118 * testsuite/gas/epiphany/sample.d: Likewise.
1120 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1122 * testsuite/gas/epiphany/sample.d: Update expected output.
1124 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1126 * config/tc-arc.c (md_apply_fix): Allow addendum.
1127 (arc_reloc_op): Allow complex expressions for tpoff.
1128 (md_apply_fix): Handle resolved TLS local symbol.
1130 * testsuite/gas/arc/tls-relocs1.d: New file.
1131 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1133 2016-02-01 Loria <Loria@phantasia.org>
1136 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1137 efficiency and avoid an LLVM loop optimization bug.
1139 2016-02-01 Nick Clifton <nickc@redhat.com>
1141 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1142 message extending a negative 32-bit value into a larger signed
1143 value on a 32-bit host.
1145 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1148 * configure.ac (compressed_debug_sections): Replace == with =.
1149 * configure: Regenerated.
1151 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
1152 H.J. Lu <hongjiu.lu@intel.com>
1154 * config/tc-i386.c (avoid_fence): New.
1155 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1157 (OPTION_FENCE_AS_LOCK_ADD): New.
1158 (md_longopts): Add -mfence-as-lock-add.
1159 (md_parse_option): Handle -mfence-as-lock-add.
1160 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1161 * doc/c-i386.texi (-mfence-as-lock-add): Document.
1162 * testsuite/gas/i386/i386.exp: Run new tests.
1163 * testsuite/gas/i386/fence-as-lock-add.s: New.
1164 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1165 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1166 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1167 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1169 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1171 * configure.ac (compressed_debug_sections): Remove trailing `]'.
1172 * configure: Regenerated.
1174 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
1176 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1177 (OPTION_MOMIT_LOCK_PREFIX): This.
1178 (md_longopts): Updated.
1179 (md_parse_option): Likewise.
1181 2016-01-25 Catherine Moore <clm@codesourcery.com>
1183 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1184 if abicalls are in effect.
1185 * testsuite/gas/mips/sdata-gp.s: New test.
1186 * testsuite/gas/mips/sdata-gp.d: New expected output
1187 * testsuite/gas/mips/mips.exp: Run new test.
1189 2016-01-25 Renlin Li <renlin.li@arm.com>
1191 * testsuite/gas/arm/thumb2_it_search.d: New.
1192 * testsuite/gas/arm/thumb2_it_search.s: New.
1194 2016-01-21 Nick Clifton <nickc@redhat.com>
1197 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1198 with arm-netbsdelf target.
1199 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1201 2016-01-20 Nick Clifton <nickc@redhat.com>
1204 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1205 * testsuite/gas/arm/blx-bl-convert.d
1206 * testsuite/gas/arm/plt-1.d: Likewise.
1207 * testsuite/gas/arm/reloc-bad.d: Likewise.
1208 * testsuite/gas/arm/thumb-w-good.d: Likewise.
1209 * testsuite/gas/arm/thumb2_pool.d: Likewise.
1210 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1211 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1214 * doc/as.texinfo (Errors): Correct documentation describing the
1215 interaction of .file and .line with warning and error messages.
1218 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1219 * testsuite/gas/arm/archv8m-main.d: Likewise.
1220 * testsuite/gas/arm/archv8m-base.d: Likewise.
1222 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
1224 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1225 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1226 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1228 2016-01-20 Mickael Guene <mickael.guene@st.com>
1229 Terry Guo <terry.guo@arm.com>
1231 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1232 SHF_ARM_NOREAD section flag.
1233 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1235 (arm_elf_section_letter) : Declare it.
1236 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1237 SHF_ARM_NOREAD section flag.
1238 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1240 * testsuite/gas/arm/section-execute-only.s: New test case.
1241 * testsuite/gas/arm/section-execute-only.d: Expected output.
1243 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1245 * config/tc-mips.c (micromips_insn_length): Remove the mention
1246 of 48-bit microMIPS instructions.
1248 2016-01-18 Alan Modra <amodra@gmail.com>
1250 * configure: Regenerate.
1252 2016-01-17 Alan Modra <amodra@gmail.com>
1254 * configure: Regenerate.
1256 2016-01-17 Alan Modra <amodra@gmail.com>
1258 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1260 2016-01-14 Nick Clifton <nickc@redhat.com>
1262 * testsuite/gas/rl78/sp-relative-movw.s: New test.
1263 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1264 * testsuite/gas/rl78/rl78.exp: Run the new test.
1266 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
1268 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1269 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1271 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
1273 * config/tc-nios2.c (output_movia): Preset `code' to 0.
1275 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
1277 * config/tc-h8300.c (get_operand): Remove spurious condition in
1278 test for closing parenthesis.
1280 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
1282 * config/tc-arm.c (arm_ext_v8_2): New.
1284 * testsuite/gas/arm/armv8_2-a.d: New.
1285 * testsuite/gas/arm/armv8_2-a.s: New.
1287 2016-01-12 Alan Modra <amodra@gmail.com>
1289 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1291 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
1293 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1294 xvcmpnesp, xvcmpnesp.>: Delete tests.
1295 * testsuite/gas/ppc/power9.s: Likewise.
1296 * testsuite/gas/ppc/vsx3.d: Likewise.
1297 * testsuite/gas/ppc/vsx3.s: Likewise.
1299 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
1302 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1303 * testsuite/gas/m68k/p13050-1.s: New file.
1304 * testsuite/gas/m68k/p13050-2.d: New file.
1305 * testsuite/gas/m68k/p13050-2.s: New file.
1307 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1309 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1310 * testsuite/gas/arc/add.d: Likewise.
1311 * testsuite/gas/arc/and.d: Likewise.
1312 * testsuite/gas/arc/asl.d: Likewise.
1313 * testsuite/gas/arc/asr.d: Likewise.
1314 * testsuite/gas/arc/bic.d: Likewise.
1315 * testsuite/gas/arc/extb.d: Likewise.
1316 * testsuite/gas/arc/extw.d: Likewise.
1317 * testsuite/gas/arc/j.d: Likewise.
1318 * testsuite/gas/arc/jl.d: Likewise.
1319 * testsuite/gas/arc/ld2.d: Likewise.
1320 * testsuite/gas/arc/lsr.d: Likewise.
1321 * testsuite/gas/arc/mov.d: Likewise.
1322 * testsuite/gas/arc/or.d: Likewise.
1323 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1324 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1325 * testsuite/gas/arc/pic-relocs.d: Likewise.
1326 * testsuite/gas/arc/plt-relocs.d: Likewise.
1327 * testsuite/gas/arc/rlc.d: Likewise.
1328 * testsuite/gas/arc/ror.d: Likewise.
1329 * testsuite/gas/arc/rrc.d: Likewise.
1330 * testsuite/gas/arc/sbc.d: Likewise.
1331 * testsuite/gas/arc/sda-relocs.d: Likewise.
1332 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1333 * testsuite/gas/arc/sexb.d: Likewise.
1334 * testsuite/gas/arc/sexw.d: Likewise.
1335 * testsuite/gas/arc/st.d: Likewise.
1336 * testsuite/gas/arc/sub.d: Likewise.
1337 * testsuite/gas/arc/tls-relocs.d: Likewise.
1338 * testsuite/gas/arc/xor.d: Likewise.
1340 2016-01-01 Alan Modra <amodra@gmail.com>
1342 Update year range in copyright notice of all files.
1344 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1346 Copyright (C) 2016 Free Software Foundation, Inc.
1348 Copying and distribution of this file, with or without modification,
1349 are permitted in any medium without royalty provided the copyright
1350 notice and this notice are preserved.
1356 version-control: never