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