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