1 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3 * as.c (select_emulation_mode): Add const qualifiers.
5 * config/bfin-defs.h: Likewise.
6 * config/bfin-parse.y: Likewise.
7 * config/rx-parse.y: Likewise.
8 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
9 (struct aarch64_cpu_option_table): Likewise.
10 (struct aarch64_arch_option_table): Likewise.
11 (struct aarch64_option_cpu_value_table): Likewise.
12 (struct aarch64_long_option_table): Likewise.
13 (struct aarch64_option_abi_value_table): Likewise.
14 * config/tc-arm.c (struct reloc_entry): Likewise.
15 (tc_gen_reloc): Likewise.
16 (struct arm_option_table): Likewise.
17 (struct arm_legacy_option_table): Likewise.
18 (struct arm_cpu_option_table): Likewise.
19 (struct arm_arch_option_table): Likewise.
20 (struct arm_option_extension_value_table): Likewise.
21 (struct arm_option_fpu_value_table): Likewise.
22 (struct arm_option_value_table): Likewise.
23 (struct arm_long_option_table): Likewise.
24 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
25 (struct mcu_type_s): Likewise.
26 (struct exp_mod_s): Likewise.
27 (avr_operand): Likewise.
28 (avr_operands): Likewise.
29 * config/tc-d10v.c (md_begin): Likewise.
30 * config/tc-dlx.c: Likewise.
31 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
32 * config/tc-ft32.c (parse_condition): Likewise.
33 * config/tc-h8300.c (do_a_fix_imm): Likewise.
34 * config/tc-hppa.c (pa_ip): Likewise.
35 (hppa_regname_to_dw2regnum): Likewise.
36 * config/tc-i370.c (i370_elf_suffix): Likewise.
37 * config/tc-i960.c (struct tabentry): Likewise.
38 * config/tc-m32r.c: Likewise.
39 * config/tc-m68k.c: Likewise.
40 * config/tc-m68k.h: Likewise.
41 * config/tc-mcore.c (parse_psrmod): Likewise.
42 * config/tc-metag.c (struct metag_core_option): Likewise.
43 (struct metag_long_option): Likewise.
44 * config/tc-microblaze.c: Likewise.
45 * config/tc-mips.c (macro): Likewise.
46 * config/tc-mn10200.c: Likewise.
47 * config/tc-mn10300.c: Likewise.
48 * config/tc-msp430.c (struct rcodes_s): Likewise.
49 (struct hcodes_s): Likewise.
50 (md_parse_option): Likewise.
51 * config/tc-ns32k.c (struct ns32k_option): Likewise.
53 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
54 (tc_ppc_regname_to_dw2regnum): Likewise.
55 * config/tc-ppc.h: Likewise.
56 * config/tc-rl78.c: Likewise.
57 * config/tc-rx.c (struct cpu_type): Likewise.
58 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
59 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
61 * config/tc-spu.c (insn_fmt_string): Likewise.
62 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
63 * config/tc-v850.c: Likewise.
64 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
65 (struct visium_long_option_table): Likewise.
66 * config/tc-xgate.c: Likewise.
67 * config/tc-z8k.c: Likewise.
68 * read.c (add_include_dir): Likewise.
71 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
73 * testsuite/gas/all/gas.exp: Change target pattern to cover
75 * testsuite/gas/all/redef3.d: Likewise.
76 * testsuite/gas/elf/elf.exp: Likewise.
78 2016-02-24 Renlin Li <renlin.li@arm.com>
80 * config/tc-arm.c (BAD_FP16): New error message macro.
81 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
82 fp16 scalar instructions.
83 (neon_check_type): Allow different size from key.
84 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
85 (try_vfp_nsyn): Likewise.
86 (do_vfp_nsyn_mla_mls): Likewise.
87 (do_vfp_nsyn_fma_fms): Likewise.
88 (do_vfp_nsyn_ldm_stm): Likewise
89 (do_vfp_nsyn_sqrt): Likewise
90 (do_vfp_nsyn_div): Likewise
91 (do_vfp_nsyn_nmul): Likewise.
92 (do_vfp_nsyn_cmp): Likewise.
93 (do_neon_shll): Likewise.
94 (do_vfp_nsyn_cvt_fpv8): Likewise.
95 (do_neon_cvttb_2): Likewise.
96 (do_neon_mov): Likewise.
97 (do_neon_rshift_round_imm): Likewise.
98 (do_neon_ldr_str): Likewise.
99 (do_vfp_nsyn_fpv8): Likewise.
100 (do_vmaxnm): Likewise.
101 (do_vrint_1): Likewise.
102 (insns): New entry for vins, vmovx.
103 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
104 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
105 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
106 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
107 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
108 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
109 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
111 2016-02-24 Renlin Li <renlin.li@arm.com>
113 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
114 (neon_shape_class): New SC_HALF.
115 (neon_shape_el): New SE_H.
116 (neon_shape_el_size): New size for SE_H.
117 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
118 (neon_select_shape): Add SE_H support code.
119 (el_type_of_type_chk): Use N_F_ALL.
120 (do_vfp_nsyn_cvt): Add SE_H shape support.
121 (do_neon_cvtz): Likewise.
122 (do_neon_cvt_1): Likewise.
123 (do_neon_cvttb_1): Likewise.
125 2016-02-24 Renlin Li <renlin.li@arm.com>
127 * testsuite/gas/arm/copro.d: Adjust output.
128 * testsuite/gas/arm/copro.s: Adjust co-processor num.
130 2016-02-24 Renlin Li <renlin.li@arm.com>
132 * testsuite/gas/arm/mask_1.d: New.
133 * testsuite/gas/arm/mask_1.s: New.
135 2016-02-24 Renlin Li <renlin.li@arm.com>
137 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
138 * testsuite/gas/arm/copro.d: Update.
140 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
142 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
143 * doc/c-arm.texi (ARM Options): Document cortex-a32.
145 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
147 * doc/c-arm.texi (ARM Options): Document cortex-a17.
149 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
151 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
154 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
156 * output-file.c (output_file_create): Make file name argument const.
157 (output_file_close): Likewise.
158 * output-file.h (output_file_create): Adjust.
159 (output_file_close): Likewise.
160 * depend.c (quote_string_for_make): Make src argument const char *.
161 (register_dependency): Likewise.
162 (wrap_output): Likewise.
163 * as.h (register_dependency): Adjust.
164 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
166 * symbols.c (S_SET_EXTERNAL): Likewise.
167 * input-scrub.c (as_where): Return the file name.
168 * as.h (as_where): Adjust prototype.
169 * app.c (do_scrub_chars): Adjust.
170 * cond.c (s_elseif): Likewise.
172 (initialize_cframe): Likewise.
173 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
174 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
175 * config/obj-som.c (obj_som_init_stab_section): Likewise.
176 * config/tc-aarch64.c (output_info): Likewise.
177 * config/tc-ia64.c (md_assemble): Likewise.
178 (dot_alias): Likewise.
179 * config/tc-m68k.c (m68k_frob_label): Likewise.
180 * config/tc-mmix.c (s_bspec): Likewise.
181 (mmix_handle_mmixal): Likewise.
182 * config/tc-rx.c (rx_include): Likewise.
183 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
184 (tic54x_adjust_symtab): Likewise.
185 * config/tc-xtensa.c (directive_push): Likewise.
186 (xtensa_sanity_check): Likewise.
187 (xtensa_relax_frag): Likewise.
188 (md_convert_frag): Likewise.
189 (tinsn_to_slotbuf): Likewise.
190 * dwarf2dbg.c (dwarf2_where): Likewise.
191 * ecoff.c (add_file): Likewise.
192 (ecoff_generate_asm_lineno): Likewise.
193 * expr.c (make_expr_symbol): Likewise.
194 * frags.c (frag_new): Likewise.
195 (frag_var_init): Likewise.
196 * listing.c (listing_newline): Likewise.
197 * messages.c (identify): Likewise.
198 (as_show_where): Likewise.
199 (as_warn_internal): Likewise.
200 (as_bad_internal): Likewise.
201 * read.c (s_irp): Likewise.
204 * stabs.c (stabs_generate_asm_file): Likewise.
205 (stabs_generate_asm_lineno): Likewise.
206 (stabs_generate_asm_func): Likewise.
207 * write.c (fix_new_internal): Likewise.
208 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
209 (as_warn_value_out_of_range): Adjust prototype.
210 (as_bad_value_out_of_range): Adjust prototype.
211 * messages.c (identify): Make file name argument const char *.
212 (as_warn_internal): Likewise.
213 (as_warn_where): Likewise.
214 (as_bad_internal): Likewise.
215 (as_bad_where): Likewise.
216 (as_internal_value_out_of_range): Likewise.
217 (as_warn_value_out_of_range): Likewise.
218 (as_bad_value_out_of_range): Likewise.
219 * as.h (found_comment_file): Change type to const char *.
220 * cond.c (file_line::file): Likewise.
221 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
222 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
223 * config/obj-som.c (obj_som_init_stab_section): Likewise.
224 * config/tc-aarch64.c (output_info): Likewise.
225 * config/tc-alpha.c (insert_operand): Likewise.
226 * config/tc-arc.c (insert_operand): Likewise.
227 * config/tc-d30v.c (check_size): Likewise.
228 * config/tc-ia64.c (struct alias): Likewise.
229 * config/tc-m68k.c (struct label_line): Likewise.
230 * config/tc-mcore.c (md_apply_fix): Likewise.
231 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
232 * config/tc-mips.c (mips16_immed): Likewise.
233 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
234 * config/tc-ppc.c (ppc_insert_operand): Likewise.
235 * config/tc-rx.c (rx_include): Likewise.
236 * config/tc-s390.c (s390_insert_operand): Likewise.
237 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
238 (tic54x_adjust_symtab): Likewise.
239 * config/tc-tilegx.c (insert_operand): Likewise.
240 (apply_special_operator): Likewise.
241 * config/tc-tilepro.c (insert_operand): Likewise.
242 * config/tc-xtensa.c (directive_push): Likewise.
243 * ecoff.c (add_file): Likewise.
244 (ecoff_generate_asm_lineno): Likewise.
245 * listing.c (listing_newline): Likewise.
246 * read.c (s_irp): Likewise.
247 * write.c (install_reloc): Likewise.
248 * write.h (struct fix): Likewise.
249 * input-file.c (file_name): Change type to const char *.
250 (saved_file::file_name): Likewise.
251 (input_file_open): Change type of argument to const char *.
252 * input-file.h (input_file_open): Adjust.
253 * input-scrub.c (logical_input_file): change type to const char *.
254 (physical_input_file): Likewise.
255 (struct input_save): Adjust.
256 (input_scrub_push): Adjust.
257 (input_scrub_begin): Adjust.
259 * input-scrub.c (input_scrub_new_file): Make file name argument const.
260 (input_scrub_include_file): Likewise.
261 (new_logical_line_flags): Likewise.
262 (new_logical_line): Likewise.
264 * frags.h (struct frag): Change type of fr_file to const char *.
265 * expr.c (expr_symbol_where): Change type of file argument to
267 * expr.h (expr_symbol_where): Likewise.
268 * config/tc-i370.c (md_apply_fix): adjust.
269 * config/tc-mmix.c (mmix_md_end): Likewise.
270 * config/tc-ppc.c (md_apply_fix): Likewise.
271 * config/tc-s390.c (md_apply_fix): Likewise.
272 * symbols.c (report_op_error): Likewise.
273 (resolve_symbol_value): Likewise.
274 * config/tc-ia64.c (slot::src_file): Change type to const char *.
275 (rsrc::file): Likewise.
276 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
278 (xtensa_relax_frag): Likewise.
279 (md_convert_frag): Likewise.
280 (tinsn_to_slotbuf): Likewise.
281 * expr.c (expr_symbol_line): Likewise.
282 * macro.c (define_macro): Likewise.
283 * macro.h (macro_struct): Likewise.
284 * messages.c (as_show_where): Likewise.
285 * read.c (s_macro): Likewise.
286 * stabs.c (stabs_generate_asm_file): Likewise.
287 (generate_asm_file): Likewise.
288 (stabs_generate_asm_lineno): Likewise.
289 * write.h (struct reloc_list): Likewise.
290 * input-scrub.c (as_where): Change return type to const char *.
291 * as.h (as_wheree): Adjust.
293 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
295 * write.c (compress_debug): Move BFD compression bits setting
297 (write_object_file): Here.
299 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
301 * config/tc-i386.c (register_number): Check RegVRex.
302 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
303 with %zmm19 and %zmm3.
304 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
305 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
307 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
308 Jiong Wang <jiong.wang@arm.com>
310 * config/tc-arm.c (arm_ext_fp16): New.
311 (arm_extensions): New entry for "fp16".
313 2016-02-19 Nick Clifton <nickc@redhat.com>
316 * read.c (read_a_source_file): Check for assemble_one returning
317 with input_line_pointer set to NULL.
319 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
321 * listing.c (rebuffer_line): Change return type to void.
323 * symbols.c (decode_local_label_name): Make type a const char *.
324 * listing.c (print_source): Make type of p const char *.
325 (print_line): Make type of string const char *.
326 (buffer_line): Return const char *.
327 (title): Make type const char *.
328 (subtitle): Likewise.
329 (listing_listing): Make type of p const char *.
330 * messages.c (as_internal_value_out_of_range): Make type of prefix
332 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
333 and string const char *.
334 * read.c (_bfd_rel): Make type of name const char *.
335 * app.c (out_string): Change type to const char *.
336 (struct app_save::out_string): Likewise.
338 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
339 Nick Clifton <nickc@redhat.com>
341 * read.c (finish_bundle): Avoid recording a negative alignment.
342 (do_align): Use unsigned values for n, len and max. Only create
343 a frag if the alignment requirement is greater than the minimum
344 byte alignment. Avoid recording a negative alignment.
345 (s_align): Use unsigned values where appropriate.
346 (bss_alloc): Use an unsigned value for the alignment.
347 (sizeof_sleb128): Add a comment noting that we encode one octet
348 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
349 (emit_leb129_expr): Abort if the emitted encoding was longer than
351 * read.h (output_leb128): Update prototype.
352 (sizeof_leb128): Update prototype.
353 (bss_alloc): Update prototype.
354 * write.c (record_alignment): Use an unsigned value for the
355 alignment. Do not record alignments less than the minimum
356 alignment for a byte.
357 * write.h (record_alignment): Update prototype.
359 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
361 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
362 .init.literal/.fini.literal section name.
363 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
364 list of xtensa tests.
365 * testsuite/gas/xtensa/init-fini-literals.d: New file:
366 init-fini-literals test result patterns.
367 * testsuite/gas/xtensa/init-fini-literals.s: New file:
368 init-fini-literals test.
370 2016-02-17 Nick Clifton <nickc@redhat.com>
372 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
373 devices.csv file as of March 2016.
375 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
377 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
379 (tc_arc_regname_to_dw2regnum): Likewise.
380 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
381 (tc_cfi_frame_initial_instructions): Likewise.
382 (tc_regname_to_dw2regnum): Likewise.
384 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
386 * doc/internals.texi (S_IS_EXTERN): Remove.
388 2016-02-16 Nick Clifton <nickc@redhat.com>
390 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
393 2016-02-16 Renlin Li <renlin.li@arm.com>
396 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
397 * testsuite/gas/aarch64/movw_label.d: New.
398 * testsuite/gas/aarch64/movw_label.s: New.
400 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
403 * config/rx-parse.y (MOV): Opcode generation for index
404 register addressing mode.
405 * testsuite/gas/rx/rx.exp: Updated for new testcase.
406 * testsuite/gas/rx/pr19665.s: New file.
407 * testsuite/gas/rx/pr19665.s: New file.
408 * testsuite/gas/rx/mov.d: Update expected output.
410 2016-02-15 Nick Clifton <nickc@redhat.com>
412 * doc/as.texinfo (.section): Document that numeric values can now
413 be used for the flags and type fields of the ELF target's .section
414 directive. Add notes about the restrictions on setting flags and
416 * config/obj-elf.c (obj_elf_change_section): Allow known sections
417 to be given processor specific section types. Allow processor and
418 application specific flags of a section to be set after
420 (obj_elf_parse_section_letters): Handle parsing numeric values.
421 (obj_elf_section_type): Handle parsing numeric values.
422 (obj_elf_section): Allow numeric type values.
423 * config/obj-elf.h (obj_elf_change_section): Update prototype.
424 * testsuite/gas/elf/section10.d: New test.
425 * testsuite/gas/elf/section10.s: Source file for new test.
426 * testsuite/gas/elf/elf.exp: Run the new test.
427 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
428 the description of the flags produced by readelf.
429 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
430 * NEWS: Mention the new feature.
432 2016-02-11 Nick Clifton <nickc@redhat.com>
435 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
436 until it is actually used.
437 (cfi_set_sections): Set cfi_sections_set to true.
438 (dot_cfi_startproc): Likewise.
439 (dot_cfi_endproc): Likewise.
440 (dot_cfi_fde_data): Likewise.
441 (cfi_finish): Likewise.
442 (dot_cfi_sections): Do not set cfi_sections_set.
443 * doc/as.texinfo (.cfi_sections): Note that targets can provide
444 their own cfi section name. Also note that the directive can be
445 reissued provided that CFI generation has not started.
446 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
447 .cfi_endproc directives so that the redefinition of .cfi_sections
448 will trigger the generation of the error message.
449 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
450 number of error message.
452 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
453 Janek van Oirschot <jvanoirs@synopsys.com>
455 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
456 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
458 (arc_flags, arc_relax_type): New structure.
459 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
460 (RELAX_TABLE_ENTRY_MAX): New define.
461 (relaxation_state, md_relax_table, arc_relaxable_insns)
462 (arc_num_relaxable_ins): New variable.
463 (rlx_operand_type, arc_rlx_types): New enums.
464 (arc_relaxable_ins): New structure.
465 (OPTION_RELAX): New option.
466 (arc_insn): New relax member.
468 (relax_insn_p): New function.
469 (apply_fixups): Likewise.
470 (relaxable_operand): Likewise.
471 (may_relax_expr): Likewise.
472 (relaxable_flag): Likewise.
473 (arc_pcrel_adjust): Likewise.
474 (md_estimate_size_before_relax): Implement.
475 (md_convert_frag): Likewise.
476 (md_parse_option): Handle new mrelax option.
477 (md_show_usage): Likewise.
478 (assemble_insn): Set relax member.
479 (emit_insn0): New function.
480 (emit_insn1): Likewise.
481 (emit_insn): Handle relaxation case.
482 * NEWS: Mention the new relaxation option.
483 * doc/c-arc.texi (ARC Options): Document new mrelax option.
484 * doc/as.texinfo (Target ARC Options): Likewise.
485 * testsuite/gas/arc/relax-avoid1.d: New file.
486 * testsuite/gas/arc/relax-avoid1.s: Likewise.
487 * testsuite/gas/arc/relax-avoid2.d: Likewise.
488 * testsuite/gas/arc/relax-avoid2.s: Likewise.
489 * testsuite/gas/arc/relax-avoid3.d: Likewise.
490 * testsuite/gas/arc/relax-avoid3.s: Likewise.
491 * testsuite/gas/arc/relax-b.d: Likewise.
492 * testsuite/gas/arc/relax-b.s: Likewise.
494 2016-02-08 Nick Clifton <nickc@redhat.com>
496 * config/tc-ia64.c (dot_prologue): Fix formatting.
498 2016-02-04 Nick Clifton <nickc@redhat.com>
500 * config/obj-elf.c (obj_elf_change_section): Remove support for
502 * config/tc-arm.c (arm_elf_section_letter): Delete.
503 * config/tc-arm.h (md_elf_section_letter): Delete.
504 * doc/c-arm.texi (ARM Section Attribute): Delete section.
505 * testsuite/gas/arm/section-execute-only.d: Delete.
506 * testsuite/gas/arm/section-execute-only.s: Delete.
508 2016-02-04 Nick Clifton <nickc@redhat.com>
511 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
512 to handle encoding of RRUX instruction.
513 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
515 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
517 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
519 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
520 substitutions for BFD_RELOC_* as unsigned.
521 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
522 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
523 * testsuite/gas/xtensa/loc.s: New file: loc test.
525 2016-02-03 Kevin Buettner <kevinb@redhat.com>
527 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
529 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
532 * NEWS: Mention new command line option -mrelax-relocations and
533 new configure option --enable-x86-relax-relocations for x86
535 * config.in: Regenerated.
536 * configure.ac: Add --enable-x86-relax-relocations.
537 (ac_default_x86_relax_relocations): New. Default to 1 except
538 for x86 Solaris targets older than Solaris 12.
539 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
540 * configure: Likewise.
541 * config/tc-i386.c (generate_relax_relocations): New.
542 (OPTION_MRELAX_RELOCATIONS): Likewise.
543 (output_disp): Don't generate relax relocations if
544 generate_relax_relocations is 0.
545 (md_longopts): Add -mrelax-relocations.
546 (md_show_usage): Likewise.
547 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
548 * doc/c-i386.texi: Document -mrelax-relocations=.
549 * testsuite/gas/i386/got-no-relax.d: New file.
550 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
551 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
552 * testsuite/gas/i386/localpic.d: Likewise.
553 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
554 * testsuite/gas/i386/reloc32.d: Likewise.
555 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
556 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
557 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
558 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
559 * testsuite/gas/i386/i386.exp: Run got-no-relax and
560 x86-64-gotpcrel-no-relax.
562 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
564 * NEWS: Mention new command line option -mfence-as-lock-add=yes
567 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
569 * NEWS: Remove duplicated marker for 2.26.
571 2016-02-02 Renlin Li <renlin.li@arm.com>
573 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
575 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
577 * testsuite/gas/ip2k/allinsn.d: New file.
578 * testsuite/gas/ip2k/allinsn.s: New file.
579 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
581 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
583 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
584 some load instructions.
585 * testsuite/gas/epiphany/allinsn.d: Likewise.
586 * testsuite/gas/epiphany/regression.d: Likewise.
588 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
590 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
591 suffixes from instruction mnemonics in expected output.
592 * testsuite/gas/epiphany/allinsn.d: Likewise.
593 * testsuite/gas/epiphany/regression.d: Likewise.
594 * testsuite/gas/epiphany/sample.d: Likewise.
596 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
598 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
600 * testsuite/gas/epiphany/allinsn.d: Likewise.
601 * testsuite/gas/epiphany/sample.d: Likewise.
603 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
605 * testsuite/gas/epiphany/sample.d: Update expected output.
607 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
609 * config/tc-arc.c (md_apply_fix): Allow addendum.
610 (arc_reloc_op): Allow complex expressions for tpoff.
611 (md_apply_fix): Handle resolved TLS local symbol.
613 * testsuite/gas/arc/tls-relocs1.d: New file.
614 * testsuite/gas/arc/tls-relocs1.s: Likewise.
616 2016-02-01 Loria <Loria@phantasia.org>
619 * config/tc-arm.c (encode_arm_immediate): Recode to improve
620 efficiency and avoid an LLVM loop optimization bug.
622 2016-02-01 Nick Clifton <nickc@redhat.com>
624 * config/tc-microblaze.c (parse_imm): Fix compile time warning
625 message extending a negative 32-bit value into a larger signed
626 value on a 32-bit host.
628 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
631 * configure.ac (compressed_debug_sections): Replace == with =.
632 * configure: Regenerated.
634 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
635 H.J. Lu <hongjiu.lu@intel.com>
637 * config/tc-i386.c (avoid_fence): New.
638 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
640 (OPTION_FENCE_AS_LOCK_ADD): New.
641 (md_longopts): Add -mfence-as-lock-add.
642 (md_parse_option): Handle -mfence-as-lock-add.
643 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
644 * doc/c-i386.texi (-mfence-as-lock-add): Document.
645 * testsuite/gas/i386/i386.exp: Run new tests.
646 * testsuite/gas/i386/fence-as-lock-add.s: New.
647 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
648 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
649 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
650 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
652 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
654 * configure.ac (compressed_debug_sections): Remove trailing `]'.
655 * configure: Regenerated.
657 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
659 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
660 (OPTION_MOMIT_LOCK_PREFIX): This.
661 (md_longopts): Updated.
662 (md_parse_option): Likewise.
664 2016-01-25 Catherine Moore <clm@codesourcery.com>
666 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
667 if abicalls are in effect.
668 * testsuite/gas/mips/sdata-gp.s: New test.
669 * testsuite/gas/mips/sdata-gp.d: New expected output
670 * testsuite/gas/mips/mips.exp: Run new test.
672 2016-01-25 Renlin Li <renlin.li@arm.com>
674 * testsuite/gas/arm/thumb2_it_search.d: New.
675 * testsuite/gas/arm/thumb2_it_search.s: New.
677 2016-01-21 Nick Clifton <nickc@redhat.com>
680 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
681 with arm-netbsdelf target.
682 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
684 2016-01-20 Nick Clifton <nickc@redhat.com>
687 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
688 * testsuite/gas/arm/blx-bl-convert.d
689 * testsuite/gas/arm/plt-1.d: Likewise.
690 * testsuite/gas/arm/reloc-bad.d: Likewise.
691 * testsuite/gas/arm/thumb-w-good.d: Likewise.
692 * testsuite/gas/arm/thumb2_pool.d: Likewise.
693 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
694 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
697 * doc/as.texinfo (Errors): Correct documentation describing the
698 interaction of .file and .line with warning and error messages.
701 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
702 * testsuite/gas/arm/archv8m-main.d: Likewise.
703 * testsuite/gas/arm/archv8m-base.d: Likewise.
705 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
707 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
708 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
709 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
711 2016-01-20 Mickael Guene <mickael.guene@st.com>
712 Terry Guo <terry.guo@arm.com>
714 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
715 SHF_ARM_NOREAD section flag.
716 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
718 (arm_elf_section_letter) : Declare it.
719 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
720 SHF_ARM_NOREAD section flag.
721 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
723 * testsuite/gas/arm/section-execute-only.s: New test case.
724 * testsuite/gas/arm/section-execute-only.d: Expected output.
726 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
728 * config/tc-mips.c (micromips_insn_length): Remove the mention
729 of 48-bit microMIPS instructions.
731 2016-01-18 Alan Modra <amodra@gmail.com>
733 * configure: Regenerate.
735 2016-01-17 Alan Modra <amodra@gmail.com>
737 * configure: Regenerate.
739 2016-01-17 Alan Modra <amodra@gmail.com>
741 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
743 2016-01-14 Nick Clifton <nickc@redhat.com>
745 * testsuite/gas/rl78/sp-relative-movw.s: New test.
746 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
747 * testsuite/gas/rl78/rl78.exp: Run the new test.
749 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
751 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
752 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
754 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
756 * config/tc-nios2.c (output_movia): Preset `code' to 0.
758 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
760 * config/tc-h8300.c (get_operand): Remove spurious condition in
761 test for closing parenthesis.
763 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
765 * config/tc-arm.c (arm_ext_v8_2): New.
767 * testsuite/gas/arm/armv8_2-a.d: New.
768 * testsuite/gas/arm/armv8_2-a.s: New.
770 2016-01-12 Alan Modra <amodra@gmail.com>
772 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
774 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
776 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
777 xvcmpnesp, xvcmpnesp.>: Delete tests.
778 * testsuite/gas/ppc/power9.s: Likewise.
779 * testsuite/gas/ppc/vsx3.d: Likewise.
780 * testsuite/gas/ppc/vsx3.s: Likewise.
782 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
785 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
786 * testsuite/gas/m68k/p13050-1.s: New file.
787 * testsuite/gas/m68k/p13050-2.d: New file.
788 * testsuite/gas/m68k/p13050-2.s: New file.
790 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
792 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
793 * testsuite/gas/arc/add.d: Likewise.
794 * testsuite/gas/arc/and.d: Likewise.
795 * testsuite/gas/arc/asl.d: Likewise.
796 * testsuite/gas/arc/asr.d: Likewise.
797 * testsuite/gas/arc/bic.d: Likewise.
798 * testsuite/gas/arc/extb.d: Likewise.
799 * testsuite/gas/arc/extw.d: Likewise.
800 * testsuite/gas/arc/j.d: Likewise.
801 * testsuite/gas/arc/jl.d: Likewise.
802 * testsuite/gas/arc/ld2.d: Likewise.
803 * testsuite/gas/arc/lsr.d: Likewise.
804 * testsuite/gas/arc/mov.d: Likewise.
805 * testsuite/gas/arc/or.d: Likewise.
806 * testsuite/gas/arc/pcl-relocs.d: Likewise.
807 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
808 * testsuite/gas/arc/pic-relocs.d: Likewise.
809 * testsuite/gas/arc/plt-relocs.d: Likewise.
810 * testsuite/gas/arc/rlc.d: Likewise.
811 * testsuite/gas/arc/ror.d: Likewise.
812 * testsuite/gas/arc/rrc.d: Likewise.
813 * testsuite/gas/arc/sbc.d: Likewise.
814 * testsuite/gas/arc/sda-relocs.d: Likewise.
815 * testsuite/gas/arc/sda-relocs2.d: Likewise.
816 * testsuite/gas/arc/sexb.d: Likewise.
817 * testsuite/gas/arc/sexw.d: Likewise.
818 * testsuite/gas/arc/st.d: Likewise.
819 * testsuite/gas/arc/sub.d: Likewise.
820 * testsuite/gas/arc/tls-relocs.d: Likewise.
821 * testsuite/gas/arc/xor.d: Likewise.
823 2016-01-01 Alan Modra <amodra@gmail.com>
825 Update year range in copyright notice of all files.
827 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
829 Copyright (C) 2016 Free Software Foundation, Inc.
831 Copying and distribution of this file, with or without modification,
832 are permitted in any medium without royalty provided the copyright
833 notice and this notice are preserved.
839 version-control: never