1 2015-04-29 Nick Clifton <nickc@redhat.com>
3 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
4 times if the expression is not constant and the target uses linker
7 2015-04-28 Renlin Li <renlin.li@arm.com>
9 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
11 2015-04-28 Nick Clifton <nickc@redhat.com>
14 * cond.c (s_if): Stop compile time warning about stopc being used
18 2015-04-27 Renlin Li <renlin.li@arm.com>
20 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
22 (md_assemble): Likewise, move the align code outside the loop.
24 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
26 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
29 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
31 * config/tc-arm.h (arm_min): New function.
32 (SUB_SEGMENT_ALIGN): Define.
34 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
36 * config/tc-mips.c (macro): State the recommended way of creating
37 32-bit or 64-bit addresses.
39 2015-04-23 Jan Beulich <jbeulich@suse.com>
41 * config/tc-i386.c (match_mem_size): Also allow no size
42 specification when broadcasting.
44 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
46 * doc/as.texinfo (Bundle directives): Shorten menu entry and
48 (CFI directives): Use @subsection.
49 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
50 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
52 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
54 * config/tc-avr.c (create_record_for_frag): Rename link to
57 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
60 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
62 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
64 * as.h (compressed_debug_section_type): Removed.
66 2015-04-14 Nick Clifton <nickc@redhat.com>
68 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
69 (TC_FORCE_RELOCATION_SUB_SAME): Define.
70 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
72 2015-04-10 Nick Clifton <nickc@redhat.com>
75 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
76 the -EB option with the linker's --be8 option.
78 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
80 * doc/c-rx.texi: Fix markup typos in last change.
82 2015-04-09 Nick Clifton <nickc@redhat.com>
84 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
85 (md_longopts): Add -mno-allow-string-insns.
86 (md_parse_option): Handle -mno-allow-string-insns.
87 (md_show_usage): Mention -mno-allow-string-insns.
88 (rx_note_string_insn_use): New function. Produces an error
89 message if a string insn is used when it is not allowed.
90 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
91 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
92 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
93 * doc/c-rx.texi: Document -mno-allow-string-insns.
95 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
97 * as.c (show_usage): Update --compress-debug-sections.
98 (std_longopts): Use optional_argument on compress-debug-sections.
100 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
101 * as.h (compressed_debug_section_type): New.
102 (flag_compress_debug): Change type to compressed_debug_section_type.
103 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
104 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
105 --compress-debug-sections=zlib-gabi. Call
106 bfd_get_compression_header_size to get compression header size.
107 Don't rename section name for --compress-debug-sections=zlib-gabi.
108 * config/tc-i386.c (compressed_debug_section_type): Set to
110 * doc/as.texinfo: Document
111 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
113 2015-04-07 Renlin Li <renlin.li@arm.com>
115 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
116 (s_aarch64_inst): Likewise.
117 (md_assemble): Likewise.
119 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
121 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
124 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
126 * write.c (compress_debug): Don't write the zlib header if
127 compressed section size is the same as before compression.
129 2015-04-02 Nick Clifton <nickc@redhat.com>
132 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
133 min and max parameters. Sign extend values before testing.
135 2015-04-02 Renlin Li <renlin.li@arm.com>
137 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
138 (mapping_state_2): Don't emit MAP_DATA here.
139 (s_aarch64_inst): Align frag during state transition.
140 (md_assemble): Likewise.
142 2015-04-02 Ed Maste <emaste@freebsd.org>
144 * config/tc-aarch64.c (set_error_kind): Delete.
145 (set_error_message): Delete.
147 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
149 * configure: Regenerated.
151 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
153 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
154 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
156 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
158 * config/tc-arm.c: Add support for Samsung Exynos M1.
159 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
161 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
163 * configure: Regenerated.
165 2015-03-31 Ed Schouten <ed@nuxi.nl>
167 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
169 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
171 * configure.ac: Revert the AM_ZLIB change.
172 * Makefile.in: Regenerated.
173 * aclocal.m4: Likewise.
174 * configure: Likewise.
176 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
178 * Makefile.am (ZLIBINC): New.
179 (AM_CFLAGS): Add $(ZLIBINC).
180 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
181 (parse_args): Likewise.
182 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
183 (compress_init): Don't check HAVE_ZLIB_H.
184 (compress_data): Likewise.
185 (compress_finish): Likewise.
186 * configure.ac (AM_ZLIB): Removed.
187 (zlibinc): New. AC_SUBST.
188 Add --with-system-zlib.
189 * Makefile.in: Regenerated.
190 * config.in: Likewise.
191 * configure: Likewise.
192 * doc/Makefile.in: Likewise.
194 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
196 * config/tc-i386.c (cpu_flags_set): Removed.
198 2015-03-25 Renlin Li <renlin.li@arm.com>
200 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
202 (mapping_state_2): Emit first MAP_DATA symbol here.
204 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
207 * write.c (compress_debug): Don't write the zlib header if
208 compression didn't make the section smaller.
210 2015-03-24 Terry Guo <terry.guo@arm.com>
212 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
214 (parse_psr): Likewise.
215 (do_t_mrs): Likewise.
216 (do_t_msr): Likewise.
217 (static const arm_feature_set arm_ext_*): Defined with new macros.
218 (static const arm_feature_set arm_cext_*): Likewise.
219 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
220 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
221 (deprecated_coproc_regs): Likewise.
222 (UL_BARRIER): Likewise.
223 (barrier_opt_names): Likewise.
224 (arm_cpus): Likewise.
225 (arm_extensions): Likewise.
227 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
229 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
230 instructions to 10 bytes.
232 2015-03-19 Nick Clifton <nickc@redhat.com>
234 * config/tc-rl78.c (enum options): Add G13 and G14.
235 (md_longopts): Add -mg13 and -mg14.
236 (md_parse_option): Handle -mg13 and -mg14.
237 (md_show_usage): List -mg13 and -mg14.
238 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
240 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
241 Nick Clifton <nickc@redhat.com>
244 * doc/as.texinfo: Note that when gas compresses debug sections the
245 compression is only performed if it makes the section smaller.
246 * write.c (compress_debug): Do not compress a debug section if
247 doing so would make it larger.
249 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
251 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
252 (i386_align_code): Add PROCESSOR_ZNVER cases.
253 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
254 * doc/c-i386.texi: Add znver1 and clzero.
256 2015-03-16 Nick Clifton <nickc@redhat.com>
258 * dwarf2dbg.c (out_header): Remove spurious #if 1.
260 2015-03-13 Jiong Wang <jiong.wang@arm.com>
262 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
265 2015-03-13 Jiong Wang <jiong.wang@arm.com>
267 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
269 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
271 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
272 * doc/c-mips.texi: Document i6400 -march option.
274 2015-03-12 Nick Clifton <nickc@redhat.com>
277 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
278 to arm_apply_sym_value. Update prototype.
279 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
280 Do not apply the value if the symbol is in a different segment to
283 2015-03-11 Alan Modra <amodra@gmail.com>
285 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
286 (md_apply_fix): Report an error on data-only fixups used with insns.
288 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
290 * config/tc-s390.c (md_gather_operands): Check for valid
291 length field operands.
293 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
295 * config/tc-arm.c (parse_operands): Fix bug setting writeback
296 values for '^' on OP_REGLSTs.
297 (do_push_pop): Add new writeback constraint.
299 2015-03-10 Renlin Li <renlin.li@arm.com>
301 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
302 (mapping_state_2): Emit first MAP_DATA symbol here.
304 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
306 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
309 2015-03-10 Nick Clifton <nickc@redhat.com>
312 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
313 initialised when CPU_DEFAULT is defined.
315 2015-03-05 Nick Clifton <nickc@redhat.com>
317 * config/tc-v850.c (md_parse_option): Fix code to set or clear
318 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
319 -m8byte-align and -m4byte-align command line options.
321 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
324 * config/tc-aarch64.c (process_movw_reloc_info): Allow
325 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
328 2015-02-28 Alan Modra <amodra@gmail.com>
330 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
331 end to their alignment.
333 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
335 * config/tc-aarch64.c (reloc_table_entry): Generate
336 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
337 (md_apply_fix, aarch64_force_relocation): Handle
338 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
340 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
342 * config/tc-aarch64.c (reloc_table_entry): Generate
343 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
344 (md_apply_fix, aarch64_force_relocation): Handle
345 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
347 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
349 * config/tc-aarch64.c (reloc_table_entry): Generate
350 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
351 (md_apply_fix, aarch64_force_relocation): Handle
352 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
354 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
356 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
357 (reloc_table): Likewise.
358 (parse_address_main): Use ld_literal_type.
360 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
362 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
363 (reloc_table): Likewise.
364 (parse_address_main): Use adr_type.
366 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
368 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
370 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
372 * config/tc-avr.c: Add elf32-avr.h include.
373 (struct avr_property_record_link): New structure.
374 (avr_output_property_section_header): New function.
375 (avr_record_size): New function.
376 (avr_output_property_record): New function.
377 (avr_create_property_section): New function.
378 (avr_handle_align): New function.
379 (exclude_section_from_property_tables): New function.
380 (create_record_for_frag): New function.
381 (append_records_for_section): New function.
382 (avr_create_and_fill_property_section): New function.
383 (avr_post_relax_hook): New function.
384 * config/tc-avr.h (md_post_relax_hook): Define.
385 (avr_post_relax_hook): Declare.
386 (HANDLE_ALIGN): Define.
387 (avr_handle_align): Declare.
388 (strut avr_frag_data): New structure.
389 (TC_FRAG_TYPE): Define.
391 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
393 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
396 2015-02-24 Nick Clifton <nickc@redhat.com>
398 * config/tc-v850.c (soft_float): New variable.
399 (v850_data_8): New variable.
400 (md_show_usage): Add -msoft-float/-mhard-float.
401 (md_parse_option): Likewise.
402 (md_begin): Set the default value of soft_float.
403 (v850_md_end): New function. Creates a note section.
404 * config/tc-v850.h (md_end): Define.
405 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
407 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
409 * config/tc-h8300.c (line_separater_chars): Add a version for
410 h8300-linux that includes a separator.
411 (default_mach): New variable.
413 (md_longopts): Add '--march' option.
414 (md_parse_option): Parse the new option.
415 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
416 * configure.tgt: Add h8300-*-linux
417 * doc/c-h8300.texi: Document --march.
419 2015-02-23 Nick Clifton <nickc@redhat.com>
422 * dwarf2dbg.c (out_header): When generating dwarf sections use
423 real symbols not temps for the start and end symbols.
424 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
425 adjustments to relocations in debug sections.
426 (TC_LINKRELAX_FIXUP): Likewise.
428 2015-02-19 Alan Modra <amodra@gmail.com>
430 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
431 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
433 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
435 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
437 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
439 * config/tc-arm.c: Add support for Cortex-A72.
441 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
443 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
444 of as_warn for deprecation messages.
445 (encode_arm_addr_mode_2): Likewise.
446 (check_obsolete): Likewise.
447 (do_rd_rm_rn): Likewise.
448 (do_co_reg): Likewise.
449 (do_setend): Likewise.
450 (do_t_mov_cmp): Likewise.
451 (do_neon_ldr_str): Likewise.
452 (opcode_lookup): Likewise.
453 (if_fsm_post_encode): Likewise.
454 (md_assemble): Likewise.
456 2015-02-06 Jan Beulich <jbeulich@suse.com>
458 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
459 (cfi_change_reg_numbers): Also do nothing for CFI_label.
460 (cfi_pseudo_table): Also handle .cfi_label when not supporting
463 2015-02-05 Alan Modra <amodra@gmail.com>
465 * config/tc-msp430.c (md_assemble): Correct size passed to
466 extract_cmd. Remove index check.
468 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
470 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
471 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
473 2015-02-04 Nick Clifton <nickc@redhat.com>
475 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
478 2015-02-03 Renlin Li <renlin.li@arm.com>
480 * doc/c-aarch64.texi (.arch): Document the directive.
481 (.arch_extension): Likewise.
483 2015-02-03 Nick Clifton <nickc@redhat.com>
485 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
487 2015-01-28 James Bowman <james.bowman@ftdichip.com>
489 * Makefile.am: Add FT32 files.
490 * config/tc-ft32.c: New file.
491 * config/tc-ft32.h: New file.
492 * configure.tgt: Add FT32 support.
493 * Makefile.in: Regenerate.
494 * po/POTFILES.in: Regenerate.
496 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
498 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
499 of instruction la to a symbol.
501 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
503 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
506 2015-01-19 Alan Modra <amodra@gmail.com>
508 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
509 * write.c (get_frag_for_reloc): Allow match just past end of frag.
511 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
513 * config/tc-s390.c (struct pd_reg): Remove.
514 (pre_defined_registers): Remove.
515 (REG_NAME_CNT): Remove.
516 (reg_name_search): Calculate the register number instead of doing
518 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
519 reg_name_search signature.
520 (s390_parse_cpu): Support the new arch string z13.
521 (s390_insert_operand): Support for vector registers with the extra
522 field for the fifth bit of each vector register operand.
523 (md_gather_operand): Adjust to the new handling of optional
526 * doc/as.texinfo: Document the z13 cpu string.
528 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
530 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
531 #0, restoring previous behaviour.
533 2015-01-12 Jan Beulich <jbeulich@suse.com>
535 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
536 (cfi_pseudo_table): Add "cfi_label".
537 (output_cfi_insn): Handle CFI_label.
538 (select_cie_for_fde): Als terminate CIE when encountering
540 * dw2gencfi.h (cfi_add_label): Declare.
541 (struct cfi_insn_data): New member "sym_name".
543 * read.c (read_symbol_name): Drop "static".
544 * read.h (read_symbol_name): Declare.
546 2015-01-12 Jan Beulich <jbeulich@suse.com>
548 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
549 (do_neon_qshl_imm): Likewise.
551 2015-01-12 Alan Modra <amodra@gmail.com>
553 * read.c (s_altmacro, s_reloc): Make definition static.
555 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
557 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
560 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
562 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
564 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
566 2015-01-07 Jan Beulich <jbeulich@suse.com>
568 * config/tc-arm.c (struct arm_option_extension_value_table):
569 Split field "value" into fields "merge_value" and "clear_value".
570 (arm_extensions): Adjust initializer accordingly.
572 2015-01-01 Alan Modra <amodra@gmail.com>
574 * as.c (parse_args): Just print current year.
576 2015-01-01 Alan Modra <amodra@gmail.com>
578 Update year range in copyright notice of all files.
580 For older changes see ChangeLog-2014
582 Copyright (C) 2015 Free Software Foundation, Inc.
584 Copying and distribution of this file, with or without modification,
585 are permitted in any medium without royalty provided the copyright
586 notice and this notice are preserved.
592 version-control: never