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