1 2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
3 * config/tc-i386.c (i386_target_format): Use "else if" on
6 2015-04-30 Nick Clifton <nickc@redhat.com>
9 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
10 (if enabled) when the user creates a symbol with the same name as
12 (flag_warn_syms): New static variable.
13 (arm_opts): Add mwarn-syms and mno-warn-syms.
14 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
18 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
20 2015-04-29 Nick Clifton <nickc@redhat.com>
23 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
24 if the operand is neither a register nor a vector.
26 2015-04-29 Nick Clifton <nickc@redhat.com>
28 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
29 times if the expression is not constant and the target uses linker
32 2015-04-28 Renlin Li <renlin.li@arm.com>
34 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
36 2015-04-28 Nick Clifton <nickc@redhat.com>
39 * cond.c (s_if): Stop compile time warning about stopc being used
43 2015-04-27 Renlin Li <renlin.li@arm.com>
45 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
47 (md_assemble): Likewise, move the align code outside the loop.
49 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
51 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
54 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
56 * config/tc-arm.h (arm_min): New function.
57 (SUB_SEGMENT_ALIGN): Define.
59 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
61 * config/tc-mips.c (macro): State the recommended way of creating
62 32-bit or 64-bit addresses.
64 2015-04-23 Jan Beulich <jbeulich@suse.com>
66 * config/tc-i386.c (match_mem_size): Also allow no size
67 specification when broadcasting.
69 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
71 * doc/as.texinfo (Bundle directives): Shorten menu entry and
73 (CFI directives): Use @subsection.
74 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
75 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
77 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
79 * config/tc-avr.c (create_record_for_frag): Rename link to
82 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
85 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
87 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
89 * as.h (compressed_debug_section_type): Removed.
91 2015-04-14 Nick Clifton <nickc@redhat.com>
93 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
94 (TC_FORCE_RELOCATION_SUB_SAME): Define.
95 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
97 2015-04-10 Nick Clifton <nickc@redhat.com>
100 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
101 the -EB option with the linker's --be8 option.
103 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
105 * doc/c-rx.texi: Fix markup typos in last change.
107 2015-04-09 Nick Clifton <nickc@redhat.com>
109 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
110 (md_longopts): Add -mno-allow-string-insns.
111 (md_parse_option): Handle -mno-allow-string-insns.
112 (md_show_usage): Mention -mno-allow-string-insns.
113 (rx_note_string_insn_use): New function. Produces an error
114 message if a string insn is used when it is not allowed.
115 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
116 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
117 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
118 * doc/c-rx.texi: Document -mno-allow-string-insns.
120 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
122 * as.c (show_usage): Update --compress-debug-sections.
123 (std_longopts): Use optional_argument on compress-debug-sections.
125 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
126 * as.h (compressed_debug_section_type): New.
127 (flag_compress_debug): Change type to compressed_debug_section_type.
128 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
129 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
130 --compress-debug-sections=zlib-gabi. Call
131 bfd_get_compression_header_size to get compression header size.
132 Don't rename section name for --compress-debug-sections=zlib-gabi.
133 * config/tc-i386.c (compressed_debug_section_type): Set to
135 * doc/as.texinfo: Document
136 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
138 2015-04-07 Renlin Li <renlin.li@arm.com>
140 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
141 (s_aarch64_inst): Likewise.
142 (md_assemble): Likewise.
144 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
146 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
149 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
151 * write.c (compress_debug): Don't write the zlib header if
152 compressed section size is the same as before compression.
154 2015-04-02 Nick Clifton <nickc@redhat.com>
157 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
158 min and max parameters. Sign extend values before testing.
160 2015-04-02 Renlin Li <renlin.li@arm.com>
162 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
163 (mapping_state_2): Don't emit MAP_DATA here.
164 (s_aarch64_inst): Align frag during state transition.
165 (md_assemble): Likewise.
167 2015-04-02 Ed Maste <emaste@freebsd.org>
169 * config/tc-aarch64.c (set_error_kind): Delete.
170 (set_error_message): Delete.
172 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
174 * configure: Regenerated.
176 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
178 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
179 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
181 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
183 * config/tc-arm.c: Add support for Samsung Exynos M1.
184 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
186 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
188 * configure: Regenerated.
190 2015-03-31 Ed Schouten <ed@nuxi.nl>
192 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
194 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
196 * configure.ac: Revert the AM_ZLIB change.
197 * Makefile.in: Regenerated.
198 * aclocal.m4: Likewise.
199 * configure: Likewise.
201 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
203 * Makefile.am (ZLIBINC): New.
204 (AM_CFLAGS): Add $(ZLIBINC).
205 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
206 (parse_args): Likewise.
207 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
208 (compress_init): Don't check HAVE_ZLIB_H.
209 (compress_data): Likewise.
210 (compress_finish): Likewise.
211 * configure.ac (AM_ZLIB): Removed.
212 (zlibinc): New. AC_SUBST.
213 Add --with-system-zlib.
214 * Makefile.in: Regenerated.
215 * config.in: Likewise.
216 * configure: Likewise.
217 * doc/Makefile.in: Likewise.
219 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
221 * config/tc-i386.c (cpu_flags_set): Removed.
223 2015-03-25 Renlin Li <renlin.li@arm.com>
225 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
227 (mapping_state_2): Emit first MAP_DATA symbol here.
229 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
232 * write.c (compress_debug): Don't write the zlib header if
233 compression didn't make the section smaller.
235 2015-03-24 Terry Guo <terry.guo@arm.com>
237 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
239 (parse_psr): Likewise.
240 (do_t_mrs): Likewise.
241 (do_t_msr): Likewise.
242 (static const arm_feature_set arm_ext_*): Defined with new macros.
243 (static const arm_feature_set arm_cext_*): Likewise.
244 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
245 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
246 (deprecated_coproc_regs): Likewise.
247 (UL_BARRIER): Likewise.
248 (barrier_opt_names): Likewise.
249 (arm_cpus): Likewise.
250 (arm_extensions): Likewise.
252 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
254 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
255 instructions to 10 bytes.
257 2015-03-19 Nick Clifton <nickc@redhat.com>
259 * config/tc-rl78.c (enum options): Add G13 and G14.
260 (md_longopts): Add -mg13 and -mg14.
261 (md_parse_option): Handle -mg13 and -mg14.
262 (md_show_usage): List -mg13 and -mg14.
263 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
265 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
266 Nick Clifton <nickc@redhat.com>
269 * doc/as.texinfo: Note that when gas compresses debug sections the
270 compression is only performed if it makes the section smaller.
271 * write.c (compress_debug): Do not compress a debug section if
272 doing so would make it larger.
274 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
276 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
277 (i386_align_code): Add PROCESSOR_ZNVER cases.
278 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
279 * doc/c-i386.texi: Add znver1 and clzero.
281 2015-03-16 Nick Clifton <nickc@redhat.com>
283 * dwarf2dbg.c (out_header): Remove spurious #if 1.
285 2015-03-13 Jiong Wang <jiong.wang@arm.com>
287 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
290 2015-03-13 Jiong Wang <jiong.wang@arm.com>
292 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
294 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
296 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
297 * doc/c-mips.texi: Document i6400 -march option.
299 2015-03-12 Nick Clifton <nickc@redhat.com>
302 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
303 to arm_apply_sym_value. Update prototype.
304 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
305 Do not apply the value if the symbol is in a different segment to
308 2015-03-11 Alan Modra <amodra@gmail.com>
310 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
311 (md_apply_fix): Report an error on data-only fixups used with insns.
313 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
315 * config/tc-s390.c (md_gather_operands): Check for valid
316 length field operands.
318 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
320 * config/tc-arm.c (parse_operands): Fix bug setting writeback
321 values for '^' on OP_REGLSTs.
322 (do_push_pop): Add new writeback constraint.
324 2015-03-10 Renlin Li <renlin.li@arm.com>
326 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
327 (mapping_state_2): Emit first MAP_DATA symbol here.
329 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
331 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
334 2015-03-10 Nick Clifton <nickc@redhat.com>
337 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
338 initialised when CPU_DEFAULT is defined.
340 2015-03-05 Nick Clifton <nickc@redhat.com>
342 * config/tc-v850.c (md_parse_option): Fix code to set or clear
343 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
344 -m8byte-align and -m4byte-align command line options.
346 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
349 * config/tc-aarch64.c (process_movw_reloc_info): Allow
350 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
353 2015-02-28 Alan Modra <amodra@gmail.com>
355 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
356 end to their alignment.
358 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
360 * config/tc-aarch64.c (reloc_table_entry): Generate
361 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
362 (md_apply_fix, aarch64_force_relocation): Handle
363 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
365 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
367 * config/tc-aarch64.c (reloc_table_entry): Generate
368 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
369 (md_apply_fix, aarch64_force_relocation): Handle
370 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
372 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
374 * config/tc-aarch64.c (reloc_table_entry): Generate
375 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
376 (md_apply_fix, aarch64_force_relocation): Handle
377 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
379 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
381 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
382 (reloc_table): Likewise.
383 (parse_address_main): Use ld_literal_type.
385 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
387 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
388 (reloc_table): Likewise.
389 (parse_address_main): Use adr_type.
391 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
393 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
395 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
397 * config/tc-avr.c: Add elf32-avr.h include.
398 (struct avr_property_record_link): New structure.
399 (avr_output_property_section_header): New function.
400 (avr_record_size): New function.
401 (avr_output_property_record): New function.
402 (avr_create_property_section): New function.
403 (avr_handle_align): New function.
404 (exclude_section_from_property_tables): New function.
405 (create_record_for_frag): New function.
406 (append_records_for_section): New function.
407 (avr_create_and_fill_property_section): New function.
408 (avr_post_relax_hook): New function.
409 * config/tc-avr.h (md_post_relax_hook): Define.
410 (avr_post_relax_hook): Declare.
411 (HANDLE_ALIGN): Define.
412 (avr_handle_align): Declare.
413 (strut avr_frag_data): New structure.
414 (TC_FRAG_TYPE): Define.
416 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
418 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
421 2015-02-24 Nick Clifton <nickc@redhat.com>
423 * config/tc-v850.c (soft_float): New variable.
424 (v850_data_8): New variable.
425 (md_show_usage): Add -msoft-float/-mhard-float.
426 (md_parse_option): Likewise.
427 (md_begin): Set the default value of soft_float.
428 (v850_md_end): New function. Creates a note section.
429 * config/tc-v850.h (md_end): Define.
430 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
432 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
434 * config/tc-h8300.c (line_separater_chars): Add a version for
435 h8300-linux that includes a separator.
436 (default_mach): New variable.
438 (md_longopts): Add '--march' option.
439 (md_parse_option): Parse the new option.
440 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
441 * configure.tgt: Add h8300-*-linux
442 * doc/c-h8300.texi: Document --march.
444 2015-02-23 Nick Clifton <nickc@redhat.com>
447 * dwarf2dbg.c (out_header): When generating dwarf sections use
448 real symbols not temps for the start and end symbols.
449 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
450 adjustments to relocations in debug sections.
451 (TC_LINKRELAX_FIXUP): Likewise.
453 2015-02-19 Alan Modra <amodra@gmail.com>
455 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
456 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
458 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
460 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
462 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
464 * config/tc-arm.c: Add support for Cortex-A72.
466 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
468 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
469 of as_warn for deprecation messages.
470 (encode_arm_addr_mode_2): Likewise.
471 (check_obsolete): Likewise.
472 (do_rd_rm_rn): Likewise.
473 (do_co_reg): Likewise.
474 (do_setend): Likewise.
475 (do_t_mov_cmp): Likewise.
476 (do_neon_ldr_str): Likewise.
477 (opcode_lookup): Likewise.
478 (if_fsm_post_encode): Likewise.
479 (md_assemble): Likewise.
481 2015-02-06 Jan Beulich <jbeulich@suse.com>
483 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
484 (cfi_change_reg_numbers): Also do nothing for CFI_label.
485 (cfi_pseudo_table): Also handle .cfi_label when not supporting
488 2015-02-05 Alan Modra <amodra@gmail.com>
490 * config/tc-msp430.c (md_assemble): Correct size passed to
491 extract_cmd. Remove index check.
493 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
495 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
496 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
498 2015-02-04 Nick Clifton <nickc@redhat.com>
500 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
503 2015-02-03 Renlin Li <renlin.li@arm.com>
505 * doc/c-aarch64.texi (.arch): Document the directive.
506 (.arch_extension): Likewise.
508 2015-02-03 Nick Clifton <nickc@redhat.com>
510 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
512 2015-01-28 James Bowman <james.bowman@ftdichip.com>
514 * Makefile.am: Add FT32 files.
515 * config/tc-ft32.c: New file.
516 * config/tc-ft32.h: New file.
517 * configure.tgt: Add FT32 support.
518 * Makefile.in: Regenerate.
519 * po/POTFILES.in: Regenerate.
521 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
523 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
524 of instruction la to a symbol.
526 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
528 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
531 2015-01-19 Alan Modra <amodra@gmail.com>
533 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
534 * write.c (get_frag_for_reloc): Allow match just past end of frag.
536 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
538 * config/tc-s390.c (struct pd_reg): Remove.
539 (pre_defined_registers): Remove.
540 (REG_NAME_CNT): Remove.
541 (reg_name_search): Calculate the register number instead of doing
543 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
544 reg_name_search signature.
545 (s390_parse_cpu): Support the new arch string z13.
546 (s390_insert_operand): Support for vector registers with the extra
547 field for the fifth bit of each vector register operand.
548 (md_gather_operand): Adjust to the new handling of optional
551 * doc/as.texinfo: Document the z13 cpu string.
553 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
555 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
556 #0, restoring previous behaviour.
558 2015-01-12 Jan Beulich <jbeulich@suse.com>
560 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
561 (cfi_pseudo_table): Add "cfi_label".
562 (output_cfi_insn): Handle CFI_label.
563 (select_cie_for_fde): Als terminate CIE when encountering
565 * dw2gencfi.h (cfi_add_label): Declare.
566 (struct cfi_insn_data): New member "sym_name".
568 * read.c (read_symbol_name): Drop "static".
569 * read.h (read_symbol_name): Declare.
571 2015-01-12 Jan Beulich <jbeulich@suse.com>
573 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
574 (do_neon_qshl_imm): Likewise.
576 2015-01-12 Alan Modra <amodra@gmail.com>
578 * read.c (s_altmacro, s_reloc): Make definition static.
580 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
582 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
585 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
587 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
589 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
591 2015-01-07 Jan Beulich <jbeulich@suse.com>
593 * config/tc-arm.c (struct arm_option_extension_value_table):
594 Split field "value" into fields "merge_value" and "clear_value".
595 (arm_extensions): Adjust initializer accordingly.
597 2015-01-01 Alan Modra <amodra@gmail.com>
599 * as.c (parse_args): Just print current year.
601 2015-01-01 Alan Modra <amodra@gmail.com>
603 Update year range in copyright notice of all files.
605 For older changes see ChangeLog-2014
607 Copyright (C) 2015 Free Software Foundation, Inc.
609 Copying and distribution of this file, with or without modification,
610 are permitted in any medium without royalty provided the copyright
611 notice and this notice are preserved.
617 version-control: never