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