1 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3 * config/tc-arm.c (N_S_32): New.
5 (N_SUF_32): Support N_F16.
7 (neon_dyadic_misc): Likewise.
8 (do_neon_cmp): Likewise.
9 (do_neon_cmp_inv): Likewise.
10 (do_neon_mul): Likewise.
11 (do_neon_fcmp_absolute): Likewise.
12 (do_neon_step): Likewise.
13 (do_neon_abs_neg): Likewise.
14 (CVT_FLAVOR_VAR): Likewise.
15 (do_neon_cvt_1): Likewise.
16 (do_neon_recip_est): Likewise.
17 (do_vmaxnm): Likewise.
18 (do_vrint_1): Likewise.
19 (neon_check_type): Check architecture support for FP16 extension.
20 (insns): Update comments.
21 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
22 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
23 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
24 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
26 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
28 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
31 2016-03-16 Nick Clifton <nickc@redhat.com>
33 * read.c (emit_expr_with_reloc): Add code check a bignum with
35 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
37 * testsuite/gas/elf/bignum.s: New test source file.
38 * testsuite/gas/elf/bignum.d: New test driver file.
39 * testsuite/gas/elf/elf.exp: Run the new test.
41 2016-03-15 Ulrich Drepper <drepper@gmail.com>
43 * doc/c-i386.texi (Register Naming): Update to details of the
44 latest architecture version.
46 2016-03-10 Mickael Guene <mickael.guene@st.com>
49 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
51 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
52 (do_t_mov_cmp): Likewise.
53 (do_t_add_sub): Protect against bad relocations usage.
54 (do_t_mov_cmp): Likewise.
56 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
58 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
60 (do_neon_ld_st_lane): Likewise.
61 (do_neon_ld_dup): Likewise.
63 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
65 * testsuite/gas/arc/inline-data-1.d: New file.
66 * testsuite/gas/arc/inline-data-1.s: New file.
68 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
70 * config/tc-arm.c (arm_cpus): Add cortex-r8.
71 * doc/c-arm.texi: Add cortex-r8.
73 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
75 * config/tc-arc.c: Add const qualifiers.
76 * config/tc-h8300.c (md_begin): Likewise.
77 * config/tc-ia64.c (print_prmask): Likewise.
78 * config/tc-msp430.c (msp430_operands): Likewise.
79 * config/tc-nds32.c (struct suffix_name): Likewise.
80 (struct nds32_parse_option_table): Likewise.
81 (struct nds32_set_option_table): Likewise.
82 (do_pseudo_pushpopm): Likewise.
83 (do_pseudo_pushpop_stack): Likewise.
84 (nds32_relax_relocs): Likewise.
85 (nds32_flag): Likewise.
86 (struct nds32_hint_map): Likewise.
87 (nds32_find_reloc_table): Likewise.
88 (nds32_match_hint_insn): Likewise.
89 * config/tc-s390.c: Likewise.
90 * config/tc-sh.c (get_specific): Likewise.
91 * config/tc-tic30.c: Likewise.
92 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
93 (tic4x_indirect_parse): Likewise.
94 * config/tc-vax.c (vax_cons): Likewise.
95 * config/tc-z80.c (struct reg_entry): Likewise.
96 * config/tc-epiphany.c (md_assemble): Adjust.
97 (epiphany_assemble): New function.
98 (epiphany_elf_section_rtn): Call do_align directly.
99 (epiphany_elf_section_text): Likewise.
100 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
101 (ip2k_elf_section_text): Likewise.
102 * read.c (do_align): Make it not static.
103 * read.h (do_align): New prototype.
105 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
107 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
108 for ARMv8.1 AdvSIMD use.
109 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
110 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
112 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
114 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
116 (record_feature_use): New.
117 (mark_feature_used): Use record_feature_use.
118 (do_neon_qrdmlah): New.
119 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
121 (arm_extensions): Put into alphabetical order. Re-indent "simd"
122 and "rdma" entries. Fix the incorrect merge value for "+rdma".
123 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
124 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
125 Make source file explicit.
126 * testsuite/gas/arm/armv8-a+rdma.l: New.
127 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
128 directives. Fix white-space.
129 * testsuite/gas/arm/armv8_1-a+simd.d: New.
131 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
133 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
135 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
136 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
138 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
139 (tc_arc_fix_adjustable): Changed default return value to 1.
140 * testsuite/gas/arc/j.d: Updated expected symbol
141 * testsuite/gas/arc/jl.d: Likewise
142 * testsuite/gas/arc/relax-avoid1.d: Likewise
143 * testsuite/gas/arc/st.d: Likewise
145 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
147 * config/tc-arc.c: Enable code density instructions for ARC EM.
149 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
152 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
154 * as.c (flag_use_elf_stt_common): New.
155 (show_usage): Add --elf-stt-common=.
156 (option_values): Add OPTION_ELF_STT_COMMON.
157 (std_longopts): Add --elf-stt-common=.
158 (parse_args): Handle --elf-stt-common=.
159 * as.h (flag_use_elf_stt_common): New.
160 * config.in: Regenerated.
161 * configure: Likewise.
162 * configure.ac: Add --enable-elf-stt-common and define
163 DEFAULT_GENERATE_ELF_STT_COMMON.
164 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
165 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
166 * doc/as.texinfo: Document --elf-stt-common=.
167 * testsuite/gas/elf/common3.s: New file.
168 * testsuite/gas/elf/common3a.d: Likewise.
169 * testsuite/gas/elf/common3b.d: Likewise.
170 * testsuite/gas/elf/common4.s: Likewise.
171 * testsuite/gas/elf/common4a.d: Likewise.
172 * testsuite/gas/elf/common4b.d: Likewise.
173 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
174 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
175 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
177 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
178 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
179 --elf-stt-common=no to as.
180 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
181 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
182 --elf-stt-common=no to as.
183 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
184 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
185 of dw2-compress-3 and dw2-compressed-3.
187 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
189 * as.c (select_emulation_mode): Add const qualifiers.
191 * config/bfin-defs.h: Likewise.
192 * config/bfin-parse.y: Likewise.
193 * config/rx-parse.y: Likewise.
194 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
195 (struct aarch64_cpu_option_table): Likewise.
196 (struct aarch64_arch_option_table): Likewise.
197 (struct aarch64_option_cpu_value_table): Likewise.
198 (struct aarch64_long_option_table): Likewise.
199 (struct aarch64_option_abi_value_table): Likewise.
200 * config/tc-arm.c (struct reloc_entry): Likewise.
201 (tc_gen_reloc): Likewise.
202 (struct arm_option_table): Likewise.
203 (struct arm_legacy_option_table): Likewise.
204 (struct arm_cpu_option_table): Likewise.
205 (struct arm_arch_option_table): Likewise.
206 (struct arm_option_extension_value_table): Likewise.
207 (struct arm_option_fpu_value_table): Likewise.
208 (struct arm_option_value_table): Likewise.
209 (struct arm_long_option_table): Likewise.
210 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
211 (struct mcu_type_s): Likewise.
212 (struct exp_mod_s): Likewise.
213 (avr_operand): Likewise.
214 (avr_operands): Likewise.
215 * config/tc-d10v.c (md_begin): Likewise.
216 * config/tc-dlx.c: Likewise.
217 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
218 * config/tc-ft32.c (parse_condition): Likewise.
219 * config/tc-h8300.c (do_a_fix_imm): Likewise.
220 * config/tc-hppa.c (pa_ip): Likewise.
221 (hppa_regname_to_dw2regnum): Likewise.
222 * config/tc-i370.c (i370_elf_suffix): Likewise.
223 * config/tc-i960.c (struct tabentry): Likewise.
224 * config/tc-m32r.c: Likewise.
225 * config/tc-m68k.c: Likewise.
226 * config/tc-m68k.h: Likewise.
227 * config/tc-mcore.c (parse_psrmod): Likewise.
228 * config/tc-metag.c (struct metag_core_option): Likewise.
229 (struct metag_long_option): Likewise.
230 * config/tc-microblaze.c: Likewise.
231 * config/tc-mips.c (macro): Likewise.
232 * config/tc-mn10200.c: Likewise.
233 * config/tc-mn10300.c: Likewise.
234 * config/tc-msp430.c (struct rcodes_s): Likewise.
235 (struct hcodes_s): Likewise.
236 (md_parse_option): Likewise.
237 * config/tc-ns32k.c (struct ns32k_option): Likewise.
239 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
240 (tc_ppc_regname_to_dw2regnum): Likewise.
241 * config/tc-ppc.h: Likewise.
242 * config/tc-rl78.c: Likewise.
243 * config/tc-rx.c (struct cpu_type): Likewise.
244 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
245 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
246 (sparc_ip): Likewise.
247 * config/tc-spu.c (insn_fmt_string): Likewise.
248 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
249 * config/tc-v850.c: Likewise.
250 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
251 (struct visium_long_option_table): Likewise.
252 * config/tc-xgate.c: Likewise.
253 * config/tc-z8k.c: Likewise.
254 * read.c (add_include_dir): Likewise.
257 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
259 * testsuite/gas/all/gas.exp: Change target pattern to cover
261 * testsuite/gas/all/redef3.d: Likewise.
262 * testsuite/gas/elf/elf.exp: Likewise.
264 2016-02-24 Renlin Li <renlin.li@arm.com>
266 * config/tc-arm.c (BAD_FP16): New error message macro.
267 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
268 fp16 scalar instructions.
269 (neon_check_type): Allow different size from key.
270 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
271 (try_vfp_nsyn): Likewise.
272 (do_vfp_nsyn_mla_mls): Likewise.
273 (do_vfp_nsyn_fma_fms): Likewise.
274 (do_vfp_nsyn_ldm_stm): Likewise
275 (do_vfp_nsyn_sqrt): Likewise
276 (do_vfp_nsyn_div): Likewise
277 (do_vfp_nsyn_nmul): Likewise.
278 (do_vfp_nsyn_cmp): Likewise.
279 (do_neon_shll): Likewise.
280 (do_vfp_nsyn_cvt_fpv8): Likewise.
281 (do_neon_cvttb_2): Likewise.
282 (do_neon_mov): Likewise.
283 (do_neon_rshift_round_imm): Likewise.
284 (do_neon_ldr_str): Likewise.
285 (do_vfp_nsyn_fpv8): Likewise.
286 (do_vmaxnm): Likewise.
287 (do_vrint_1): Likewise.
288 (insns): New entry for vins, vmovx.
289 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
290 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
291 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
292 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
293 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
294 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
295 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
297 2016-02-24 Renlin Li <renlin.li@arm.com>
299 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
300 (neon_shape_class): New SC_HALF.
301 (neon_shape_el): New SE_H.
302 (neon_shape_el_size): New size for SE_H.
303 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
304 (neon_select_shape): Add SE_H support code.
305 (el_type_of_type_chk): Use N_F_ALL.
306 (do_vfp_nsyn_cvt): Add SE_H shape support.
307 (do_neon_cvtz): Likewise.
308 (do_neon_cvt_1): Likewise.
309 (do_neon_cvttb_1): Likewise.
311 2016-02-24 Renlin Li <renlin.li@arm.com>
313 * testsuite/gas/arm/copro.d: Adjust output.
314 * testsuite/gas/arm/copro.s: Adjust co-processor num.
316 2016-02-24 Renlin Li <renlin.li@arm.com>
318 * testsuite/gas/arm/mask_1.d: New.
319 * testsuite/gas/arm/mask_1.s: New.
321 2016-02-24 Renlin Li <renlin.li@arm.com>
323 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
324 * testsuite/gas/arm/copro.d: Update.
326 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
328 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
329 * doc/c-arm.texi (ARM Options): Document cortex-a32.
331 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
333 * doc/c-arm.texi (ARM Options): Document cortex-a17.
335 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
337 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
340 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
342 * output-file.c (output_file_create): Make file name argument const.
343 (output_file_close): Likewise.
344 * output-file.h (output_file_create): Adjust.
345 (output_file_close): Likewise.
346 * depend.c (quote_string_for_make): Make src argument const char *.
347 (register_dependency): Likewise.
348 (wrap_output): Likewise.
349 * as.h (register_dependency): Adjust.
350 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
352 * symbols.c (S_SET_EXTERNAL): Likewise.
353 * input-scrub.c (as_where): Return the file name.
354 * as.h (as_where): Adjust prototype.
355 * app.c (do_scrub_chars): Adjust.
356 * cond.c (s_elseif): Likewise.
358 (initialize_cframe): Likewise.
359 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
360 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
361 * config/obj-som.c (obj_som_init_stab_section): Likewise.
362 * config/tc-aarch64.c (output_info): Likewise.
363 * config/tc-ia64.c (md_assemble): Likewise.
364 (dot_alias): Likewise.
365 * config/tc-m68k.c (m68k_frob_label): Likewise.
366 * config/tc-mmix.c (s_bspec): Likewise.
367 (mmix_handle_mmixal): Likewise.
368 * config/tc-rx.c (rx_include): Likewise.
369 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
370 (tic54x_adjust_symtab): Likewise.
371 * config/tc-xtensa.c (directive_push): Likewise.
372 (xtensa_sanity_check): Likewise.
373 (xtensa_relax_frag): Likewise.
374 (md_convert_frag): Likewise.
375 (tinsn_to_slotbuf): Likewise.
376 * dwarf2dbg.c (dwarf2_where): Likewise.
377 * ecoff.c (add_file): Likewise.
378 (ecoff_generate_asm_lineno): Likewise.
379 * expr.c (make_expr_symbol): Likewise.
380 * frags.c (frag_new): Likewise.
381 (frag_var_init): Likewise.
382 * listing.c (listing_newline): Likewise.
383 * messages.c (identify): Likewise.
384 (as_show_where): Likewise.
385 (as_warn_internal): Likewise.
386 (as_bad_internal): Likewise.
387 * read.c (s_irp): Likewise.
390 * stabs.c (stabs_generate_asm_file): Likewise.
391 (stabs_generate_asm_lineno): Likewise.
392 (stabs_generate_asm_func): Likewise.
393 * write.c (fix_new_internal): Likewise.
394 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
395 (as_warn_value_out_of_range): Adjust prototype.
396 (as_bad_value_out_of_range): Adjust prototype.
397 * messages.c (identify): Make file name argument const char *.
398 (as_warn_internal): Likewise.
399 (as_warn_where): Likewise.
400 (as_bad_internal): Likewise.
401 (as_bad_where): Likewise.
402 (as_internal_value_out_of_range): Likewise.
403 (as_warn_value_out_of_range): Likewise.
404 (as_bad_value_out_of_range): Likewise.
405 * as.h (found_comment_file): Change type to const char *.
406 * cond.c (file_line::file): Likewise.
407 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
408 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
409 * config/obj-som.c (obj_som_init_stab_section): Likewise.
410 * config/tc-aarch64.c (output_info): Likewise.
411 * config/tc-alpha.c (insert_operand): Likewise.
412 * config/tc-arc.c (insert_operand): Likewise.
413 * config/tc-d30v.c (check_size): Likewise.
414 * config/tc-ia64.c (struct alias): Likewise.
415 * config/tc-m68k.c (struct label_line): Likewise.
416 * config/tc-mcore.c (md_apply_fix): Likewise.
417 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
418 * config/tc-mips.c (mips16_immed): Likewise.
419 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
420 * config/tc-ppc.c (ppc_insert_operand): Likewise.
421 * config/tc-rx.c (rx_include): Likewise.
422 * config/tc-s390.c (s390_insert_operand): Likewise.
423 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
424 (tic54x_adjust_symtab): Likewise.
425 * config/tc-tilegx.c (insert_operand): Likewise.
426 (apply_special_operator): Likewise.
427 * config/tc-tilepro.c (insert_operand): Likewise.
428 * config/tc-xtensa.c (directive_push): Likewise.
429 * ecoff.c (add_file): Likewise.
430 (ecoff_generate_asm_lineno): Likewise.
431 * listing.c (listing_newline): Likewise.
432 * read.c (s_irp): Likewise.
433 * write.c (install_reloc): Likewise.
434 * write.h (struct fix): Likewise.
435 * input-file.c (file_name): Change type to const char *.
436 (saved_file::file_name): Likewise.
437 (input_file_open): Change type of argument to const char *.
438 * input-file.h (input_file_open): Adjust.
439 * input-scrub.c (logical_input_file): change type to const char *.
440 (physical_input_file): Likewise.
441 (struct input_save): Adjust.
442 (input_scrub_push): Adjust.
443 (input_scrub_begin): Adjust.
445 * input-scrub.c (input_scrub_new_file): Make file name argument const.
446 (input_scrub_include_file): Likewise.
447 (new_logical_line_flags): Likewise.
448 (new_logical_line): Likewise.
450 * frags.h (struct frag): Change type of fr_file to const char *.
451 * expr.c (expr_symbol_where): Change type of file argument to
453 * expr.h (expr_symbol_where): Likewise.
454 * config/tc-i370.c (md_apply_fix): adjust.
455 * config/tc-mmix.c (mmix_md_end): Likewise.
456 * config/tc-ppc.c (md_apply_fix): Likewise.
457 * config/tc-s390.c (md_apply_fix): Likewise.
458 * symbols.c (report_op_error): Likewise.
459 (resolve_symbol_value): Likewise.
460 * config/tc-ia64.c (slot::src_file): Change type to const char *.
461 (rsrc::file): Likewise.
462 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
464 (xtensa_relax_frag): Likewise.
465 (md_convert_frag): Likewise.
466 (tinsn_to_slotbuf): Likewise.
467 * expr.c (expr_symbol_line): Likewise.
468 * macro.c (define_macro): Likewise.
469 * macro.h (macro_struct): Likewise.
470 * messages.c (as_show_where): Likewise.
471 * read.c (s_macro): Likewise.
472 * stabs.c (stabs_generate_asm_file): Likewise.
473 (generate_asm_file): Likewise.
474 (stabs_generate_asm_lineno): Likewise.
475 * write.h (struct reloc_list): Likewise.
476 * input-scrub.c (as_where): Change return type to const char *.
477 * as.h (as_wheree): Adjust.
479 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
481 * write.c (compress_debug): Move BFD compression bits setting
483 (write_object_file): Here.
485 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
487 * config/tc-i386.c (register_number): Check RegVRex.
488 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
489 with %zmm19 and %zmm3.
490 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
491 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
493 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
494 Jiong Wang <jiong.wang@arm.com>
496 * config/tc-arm.c (arm_ext_fp16): New.
497 (arm_extensions): New entry for "fp16".
499 2016-02-19 Nick Clifton <nickc@redhat.com>
502 * read.c (read_a_source_file): Check for assemble_one returning
503 with input_line_pointer set to NULL.
505 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
507 * listing.c (rebuffer_line): Change return type to void.
509 * symbols.c (decode_local_label_name): Make type a const char *.
510 * listing.c (print_source): Make type of p const char *.
511 (print_line): Make type of string const char *.
512 (buffer_line): Return const char *.
513 (title): Make type const char *.
514 (subtitle): Likewise.
515 (listing_listing): Make type of p const char *.
516 * messages.c (as_internal_value_out_of_range): Make type of prefix
518 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
519 and string const char *.
520 * read.c (_bfd_rel): Make type of name const char *.
521 * app.c (out_string): Change type to const char *.
522 (struct app_save::out_string): Likewise.
524 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
525 Nick Clifton <nickc@redhat.com>
527 * read.c (finish_bundle): Avoid recording a negative alignment.
528 (do_align): Use unsigned values for n, len and max. Only create
529 a frag if the alignment requirement is greater than the minimum
530 byte alignment. Avoid recording a negative alignment.
531 (s_align): Use unsigned values where appropriate.
532 (bss_alloc): Use an unsigned value for the alignment.
533 (sizeof_sleb128): Add a comment noting that we encode one octet
534 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
535 (emit_leb129_expr): Abort if the emitted encoding was longer than
537 * read.h (output_leb128): Update prototype.
538 (sizeof_leb128): Update prototype.
539 (bss_alloc): Update prototype.
540 * write.c (record_alignment): Use an unsigned value for the
541 alignment. Do not record alignments less than the minimum
542 alignment for a byte.
543 * write.h (record_alignment): Update prototype.
545 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
547 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
548 .init.literal/.fini.literal section name.
549 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
550 list of xtensa tests.
551 * testsuite/gas/xtensa/init-fini-literals.d: New file:
552 init-fini-literals test result patterns.
553 * testsuite/gas/xtensa/init-fini-literals.s: New file:
554 init-fini-literals test.
556 2016-02-17 Nick Clifton <nickc@redhat.com>
558 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
559 devices.csv file as of March 2016.
561 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
563 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
565 (tc_arc_regname_to_dw2regnum): Likewise.
566 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
567 (tc_cfi_frame_initial_instructions): Likewise.
568 (tc_regname_to_dw2regnum): Likewise.
570 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
572 * doc/internals.texi (S_IS_EXTERN): Remove.
574 2016-02-16 Nick Clifton <nickc@redhat.com>
576 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
579 2016-02-16 Renlin Li <renlin.li@arm.com>
582 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
583 * testsuite/gas/aarch64/movw_label.d: New.
584 * testsuite/gas/aarch64/movw_label.s: New.
586 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
589 * config/rx-parse.y (MOV): Opcode generation for index
590 register addressing mode.
591 * testsuite/gas/rx/rx.exp: Updated for new testcase.
592 * testsuite/gas/rx/pr19665.s: New file.
593 * testsuite/gas/rx/pr19665.s: New file.
594 * testsuite/gas/rx/mov.d: Update expected output.
596 2016-02-15 Nick Clifton <nickc@redhat.com>
598 * doc/as.texinfo (.section): Document that numeric values can now
599 be used for the flags and type fields of the ELF target's .section
600 directive. Add notes about the restrictions on setting flags and
602 * config/obj-elf.c (obj_elf_change_section): Allow known sections
603 to be given processor specific section types. Allow processor and
604 application specific flags of a section to be set after
606 (obj_elf_parse_section_letters): Handle parsing numeric values.
607 (obj_elf_section_type): Handle parsing numeric values.
608 (obj_elf_section): Allow numeric type values.
609 * config/obj-elf.h (obj_elf_change_section): Update prototype.
610 * testsuite/gas/elf/section10.d: New test.
611 * testsuite/gas/elf/section10.s: Source file for new test.
612 * testsuite/gas/elf/elf.exp: Run the new test.
613 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
614 the description of the flags produced by readelf.
615 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
616 * NEWS: Mention the new feature.
618 2016-02-11 Nick Clifton <nickc@redhat.com>
621 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
622 until it is actually used.
623 (cfi_set_sections): Set cfi_sections_set to true.
624 (dot_cfi_startproc): Likewise.
625 (dot_cfi_endproc): Likewise.
626 (dot_cfi_fde_data): Likewise.
627 (cfi_finish): Likewise.
628 (dot_cfi_sections): Do not set cfi_sections_set.
629 * doc/as.texinfo (.cfi_sections): Note that targets can provide
630 their own cfi section name. Also note that the directive can be
631 reissued provided that CFI generation has not started.
632 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
633 .cfi_endproc directives so that the redefinition of .cfi_sections
634 will trigger the generation of the error message.
635 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
636 number of error message.
638 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
639 Janek van Oirschot <jvanoirs@synopsys.com>
641 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
642 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
644 (arc_flags, arc_relax_type): New structure.
645 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
646 (RELAX_TABLE_ENTRY_MAX): New define.
647 (relaxation_state, md_relax_table, arc_relaxable_insns)
648 (arc_num_relaxable_ins): New variable.
649 (rlx_operand_type, arc_rlx_types): New enums.
650 (arc_relaxable_ins): New structure.
651 (OPTION_RELAX): New option.
652 (arc_insn): New relax member.
654 (relax_insn_p): New function.
655 (apply_fixups): Likewise.
656 (relaxable_operand): Likewise.
657 (may_relax_expr): Likewise.
658 (relaxable_flag): Likewise.
659 (arc_pcrel_adjust): Likewise.
660 (md_estimate_size_before_relax): Implement.
661 (md_convert_frag): Likewise.
662 (md_parse_option): Handle new mrelax option.
663 (md_show_usage): Likewise.
664 (assemble_insn): Set relax member.
665 (emit_insn0): New function.
666 (emit_insn1): Likewise.
667 (emit_insn): Handle relaxation case.
668 * NEWS: Mention the new relaxation option.
669 * doc/c-arc.texi (ARC Options): Document new mrelax option.
670 * doc/as.texinfo (Target ARC Options): Likewise.
671 * testsuite/gas/arc/relax-avoid1.d: New file.
672 * testsuite/gas/arc/relax-avoid1.s: Likewise.
673 * testsuite/gas/arc/relax-avoid2.d: Likewise.
674 * testsuite/gas/arc/relax-avoid2.s: Likewise.
675 * testsuite/gas/arc/relax-avoid3.d: Likewise.
676 * testsuite/gas/arc/relax-avoid3.s: Likewise.
677 * testsuite/gas/arc/relax-b.d: Likewise.
678 * testsuite/gas/arc/relax-b.s: Likewise.
680 2016-02-08 Nick Clifton <nickc@redhat.com>
682 * config/tc-ia64.c (dot_prologue): Fix formatting.
684 2016-02-04 Nick Clifton <nickc@redhat.com>
686 * config/obj-elf.c (obj_elf_change_section): Remove support for
688 * config/tc-arm.c (arm_elf_section_letter): Delete.
689 * config/tc-arm.h (md_elf_section_letter): Delete.
690 * doc/c-arm.texi (ARM Section Attribute): Delete section.
691 * testsuite/gas/arm/section-execute-only.d: Delete.
692 * testsuite/gas/arm/section-execute-only.s: Delete.
694 2016-02-04 Nick Clifton <nickc@redhat.com>
697 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
698 to handle encoding of RRUX instruction.
699 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
701 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
703 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
705 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
706 substitutions for BFD_RELOC_* as unsigned.
707 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
708 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
709 * testsuite/gas/xtensa/loc.s: New file: loc test.
711 2016-02-03 Kevin Buettner <kevinb@redhat.com>
713 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
715 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
718 * NEWS: Mention new command line option -mrelax-relocations and
719 new configure option --enable-x86-relax-relocations for x86
721 * config.in: Regenerated.
722 * configure.ac: Add --enable-x86-relax-relocations.
723 (ac_default_x86_relax_relocations): New. Default to 1 except
724 for x86 Solaris targets older than Solaris 12.
725 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
726 * configure: Likewise.
727 * config/tc-i386.c (generate_relax_relocations): New.
728 (OPTION_MRELAX_RELOCATIONS): Likewise.
729 (output_disp): Don't generate relax relocations if
730 generate_relax_relocations is 0.
731 (md_longopts): Add -mrelax-relocations.
732 (md_show_usage): Likewise.
733 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
734 * doc/c-i386.texi: Document -mrelax-relocations=.
735 * testsuite/gas/i386/got-no-relax.d: New file.
736 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
737 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
738 * testsuite/gas/i386/localpic.d: Likewise.
739 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
740 * testsuite/gas/i386/reloc32.d: Likewise.
741 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
742 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
743 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
744 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
745 * testsuite/gas/i386/i386.exp: Run got-no-relax and
746 x86-64-gotpcrel-no-relax.
748 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
750 * NEWS: Mention new command line option -mfence-as-lock-add=yes
753 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
755 * NEWS: Remove duplicated marker for 2.26.
757 2016-02-02 Renlin Li <renlin.li@arm.com>
759 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
761 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
763 * testsuite/gas/ip2k/allinsn.d: New file.
764 * testsuite/gas/ip2k/allinsn.s: New file.
765 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
767 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
769 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
770 some load instructions.
771 * testsuite/gas/epiphany/allinsn.d: Likewise.
772 * testsuite/gas/epiphany/regression.d: Likewise.
774 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
776 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
777 suffixes from instruction mnemonics in expected output.
778 * testsuite/gas/epiphany/allinsn.d: Likewise.
779 * testsuite/gas/epiphany/regression.d: Likewise.
780 * testsuite/gas/epiphany/sample.d: Likewise.
782 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
784 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
786 * testsuite/gas/epiphany/allinsn.d: Likewise.
787 * testsuite/gas/epiphany/sample.d: Likewise.
789 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
791 * testsuite/gas/epiphany/sample.d: Update expected output.
793 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
795 * config/tc-arc.c (md_apply_fix): Allow addendum.
796 (arc_reloc_op): Allow complex expressions for tpoff.
797 (md_apply_fix): Handle resolved TLS local symbol.
799 * testsuite/gas/arc/tls-relocs1.d: New file.
800 * testsuite/gas/arc/tls-relocs1.s: Likewise.
802 2016-02-01 Loria <Loria@phantasia.org>
805 * config/tc-arm.c (encode_arm_immediate): Recode to improve
806 efficiency and avoid an LLVM loop optimization bug.
808 2016-02-01 Nick Clifton <nickc@redhat.com>
810 * config/tc-microblaze.c (parse_imm): Fix compile time warning
811 message extending a negative 32-bit value into a larger signed
812 value on a 32-bit host.
814 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
817 * configure.ac (compressed_debug_sections): Replace == with =.
818 * configure: Regenerated.
820 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
821 H.J. Lu <hongjiu.lu@intel.com>
823 * config/tc-i386.c (avoid_fence): New.
824 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
826 (OPTION_FENCE_AS_LOCK_ADD): New.
827 (md_longopts): Add -mfence-as-lock-add.
828 (md_parse_option): Handle -mfence-as-lock-add.
829 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
830 * doc/c-i386.texi (-mfence-as-lock-add): Document.
831 * testsuite/gas/i386/i386.exp: Run new tests.
832 * testsuite/gas/i386/fence-as-lock-add.s: New.
833 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
834 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
835 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
836 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
838 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
840 * configure.ac (compressed_debug_sections): Remove trailing `]'.
841 * configure: Regenerated.
843 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
845 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
846 (OPTION_MOMIT_LOCK_PREFIX): This.
847 (md_longopts): Updated.
848 (md_parse_option): Likewise.
850 2016-01-25 Catherine Moore <clm@codesourcery.com>
852 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
853 if abicalls are in effect.
854 * testsuite/gas/mips/sdata-gp.s: New test.
855 * testsuite/gas/mips/sdata-gp.d: New expected output
856 * testsuite/gas/mips/mips.exp: Run new test.
858 2016-01-25 Renlin Li <renlin.li@arm.com>
860 * testsuite/gas/arm/thumb2_it_search.d: New.
861 * testsuite/gas/arm/thumb2_it_search.s: New.
863 2016-01-21 Nick Clifton <nickc@redhat.com>
866 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
867 with arm-netbsdelf target.
868 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
870 2016-01-20 Nick Clifton <nickc@redhat.com>
873 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
874 * testsuite/gas/arm/blx-bl-convert.d
875 * testsuite/gas/arm/plt-1.d: Likewise.
876 * testsuite/gas/arm/reloc-bad.d: Likewise.
877 * testsuite/gas/arm/thumb-w-good.d: Likewise.
878 * testsuite/gas/arm/thumb2_pool.d: Likewise.
879 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
880 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
883 * doc/as.texinfo (Errors): Correct documentation describing the
884 interaction of .file and .line with warning and error messages.
887 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
888 * testsuite/gas/arm/archv8m-main.d: Likewise.
889 * testsuite/gas/arm/archv8m-base.d: Likewise.
891 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
893 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
894 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
895 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
897 2016-01-20 Mickael Guene <mickael.guene@st.com>
898 Terry Guo <terry.guo@arm.com>
900 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
901 SHF_ARM_NOREAD section flag.
902 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
904 (arm_elf_section_letter) : Declare it.
905 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
906 SHF_ARM_NOREAD section flag.
907 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
909 * testsuite/gas/arm/section-execute-only.s: New test case.
910 * testsuite/gas/arm/section-execute-only.d: Expected output.
912 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
914 * config/tc-mips.c (micromips_insn_length): Remove the mention
915 of 48-bit microMIPS instructions.
917 2016-01-18 Alan Modra <amodra@gmail.com>
919 * configure: Regenerate.
921 2016-01-17 Alan Modra <amodra@gmail.com>
923 * configure: Regenerate.
925 2016-01-17 Alan Modra <amodra@gmail.com>
927 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
929 2016-01-14 Nick Clifton <nickc@redhat.com>
931 * testsuite/gas/rl78/sp-relative-movw.s: New test.
932 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
933 * testsuite/gas/rl78/rl78.exp: Run the new test.
935 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
937 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
938 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
940 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
942 * config/tc-nios2.c (output_movia): Preset `code' to 0.
944 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
946 * config/tc-h8300.c (get_operand): Remove spurious condition in
947 test for closing parenthesis.
949 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
951 * config/tc-arm.c (arm_ext_v8_2): New.
953 * testsuite/gas/arm/armv8_2-a.d: New.
954 * testsuite/gas/arm/armv8_2-a.s: New.
956 2016-01-12 Alan Modra <amodra@gmail.com>
958 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
960 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
962 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
963 xvcmpnesp, xvcmpnesp.>: Delete tests.
964 * testsuite/gas/ppc/power9.s: Likewise.
965 * testsuite/gas/ppc/vsx3.d: Likewise.
966 * testsuite/gas/ppc/vsx3.s: Likewise.
968 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
971 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
972 * testsuite/gas/m68k/p13050-1.s: New file.
973 * testsuite/gas/m68k/p13050-2.d: New file.
974 * testsuite/gas/m68k/p13050-2.s: New file.
976 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
978 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
979 * testsuite/gas/arc/add.d: Likewise.
980 * testsuite/gas/arc/and.d: Likewise.
981 * testsuite/gas/arc/asl.d: Likewise.
982 * testsuite/gas/arc/asr.d: Likewise.
983 * testsuite/gas/arc/bic.d: Likewise.
984 * testsuite/gas/arc/extb.d: Likewise.
985 * testsuite/gas/arc/extw.d: Likewise.
986 * testsuite/gas/arc/j.d: Likewise.
987 * testsuite/gas/arc/jl.d: Likewise.
988 * testsuite/gas/arc/ld2.d: Likewise.
989 * testsuite/gas/arc/lsr.d: Likewise.
990 * testsuite/gas/arc/mov.d: Likewise.
991 * testsuite/gas/arc/or.d: Likewise.
992 * testsuite/gas/arc/pcl-relocs.d: Likewise.
993 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
994 * testsuite/gas/arc/pic-relocs.d: Likewise.
995 * testsuite/gas/arc/plt-relocs.d: Likewise.
996 * testsuite/gas/arc/rlc.d: Likewise.
997 * testsuite/gas/arc/ror.d: Likewise.
998 * testsuite/gas/arc/rrc.d: Likewise.
999 * testsuite/gas/arc/sbc.d: Likewise.
1000 * testsuite/gas/arc/sda-relocs.d: Likewise.
1001 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1002 * testsuite/gas/arc/sexb.d: Likewise.
1003 * testsuite/gas/arc/sexw.d: Likewise.
1004 * testsuite/gas/arc/st.d: Likewise.
1005 * testsuite/gas/arc/sub.d: Likewise.
1006 * testsuite/gas/arc/tls-relocs.d: Likewise.
1007 * testsuite/gas/arc/xor.d: Likewise.
1009 2016-01-01 Alan Modra <amodra@gmail.com>
1011 Update year range in copyright notice of all files.
1013 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1015 Copyright (C) 2016 Free Software Foundation, Inc.
1017 Copying and distribution of this file, with or without modification,
1018 are permitted in any medium without royalty provided the copyright
1019 notice and this notice are preserved.
1025 version-control: never