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