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