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