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