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