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