1 2015-04-29 Nick Clifton <nickc@redhat.com>
4 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
5 if the operand is neither a register nor a vector.
7 2015-04-29 Nick Clifton <nickc@redhat.com>
9 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
10 times if the expression is not constant and the target uses linker
13 2015-04-28 Renlin Li <renlin.li@arm.com>
15 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
17 2015-04-28 Nick Clifton <nickc@redhat.com>
20 * cond.c (s_if): Stop compile time warning about stopc being used
24 2015-04-27 Renlin Li <renlin.li@arm.com>
26 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
28 (md_assemble): Likewise, move the align code outside the loop.
30 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
32 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
35 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
37 * config/tc-arm.h (arm_min): New function.
38 (SUB_SEGMENT_ALIGN): Define.
40 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
42 * config/tc-mips.c (macro): State the recommended way of creating
43 32-bit or 64-bit addresses.
45 2015-04-23 Jan Beulich <jbeulich@suse.com>
47 * config/tc-i386.c (match_mem_size): Also allow no size
48 specification when broadcasting.
50 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
52 * doc/as.texinfo (Bundle directives): Shorten menu entry and
54 (CFI directives): Use @subsection.
55 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
56 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
58 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
60 * config/tc-avr.c (create_record_for_frag): Rename link to
63 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
66 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
68 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
70 * as.h (compressed_debug_section_type): Removed.
72 2015-04-14 Nick Clifton <nickc@redhat.com>
74 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
75 (TC_FORCE_RELOCATION_SUB_SAME): Define.
76 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
78 2015-04-10 Nick Clifton <nickc@redhat.com>
81 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
82 the -EB option with the linker's --be8 option.
84 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
86 * doc/c-rx.texi: Fix markup typos in last change.
88 2015-04-09 Nick Clifton <nickc@redhat.com>
90 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
91 (md_longopts): Add -mno-allow-string-insns.
92 (md_parse_option): Handle -mno-allow-string-insns.
93 (md_show_usage): Mention -mno-allow-string-insns.
94 (rx_note_string_insn_use): New function. Produces an error
95 message if a string insn is used when it is not allowed.
96 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
97 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
98 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
99 * doc/c-rx.texi: Document -mno-allow-string-insns.
101 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
103 * as.c (show_usage): Update --compress-debug-sections.
104 (std_longopts): Use optional_argument on compress-debug-sections.
106 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
107 * as.h (compressed_debug_section_type): New.
108 (flag_compress_debug): Change type to compressed_debug_section_type.
109 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
110 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
111 --compress-debug-sections=zlib-gabi. Call
112 bfd_get_compression_header_size to get compression header size.
113 Don't rename section name for --compress-debug-sections=zlib-gabi.
114 * config/tc-i386.c (compressed_debug_section_type): Set to
116 * doc/as.texinfo: Document
117 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
119 2015-04-07 Renlin Li <renlin.li@arm.com>
121 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
122 (s_aarch64_inst): Likewise.
123 (md_assemble): Likewise.
125 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
127 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
130 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
132 * write.c (compress_debug): Don't write the zlib header if
133 compressed section size is the same as before compression.
135 2015-04-02 Nick Clifton <nickc@redhat.com>
138 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
139 min and max parameters. Sign extend values before testing.
141 2015-04-02 Renlin Li <renlin.li@arm.com>
143 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
144 (mapping_state_2): Don't emit MAP_DATA here.
145 (s_aarch64_inst): Align frag during state transition.
146 (md_assemble): Likewise.
148 2015-04-02 Ed Maste <emaste@freebsd.org>
150 * config/tc-aarch64.c (set_error_kind): Delete.
151 (set_error_message): Delete.
153 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
155 * configure: Regenerated.
157 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
159 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
160 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
162 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
164 * config/tc-arm.c: Add support for Samsung Exynos M1.
165 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
167 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
169 * configure: Regenerated.
171 2015-03-31 Ed Schouten <ed@nuxi.nl>
173 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
175 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
177 * configure.ac: Revert the AM_ZLIB change.
178 * Makefile.in: Regenerated.
179 * aclocal.m4: Likewise.
180 * configure: Likewise.
182 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
184 * Makefile.am (ZLIBINC): New.
185 (AM_CFLAGS): Add $(ZLIBINC).
186 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
187 (parse_args): Likewise.
188 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
189 (compress_init): Don't check HAVE_ZLIB_H.
190 (compress_data): Likewise.
191 (compress_finish): Likewise.
192 * configure.ac (AM_ZLIB): Removed.
193 (zlibinc): New. AC_SUBST.
194 Add --with-system-zlib.
195 * Makefile.in: Regenerated.
196 * config.in: Likewise.
197 * configure: Likewise.
198 * doc/Makefile.in: Likewise.
200 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
202 * config/tc-i386.c (cpu_flags_set): Removed.
204 2015-03-25 Renlin Li <renlin.li@arm.com>
206 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
208 (mapping_state_2): Emit first MAP_DATA symbol here.
210 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
213 * write.c (compress_debug): Don't write the zlib header if
214 compression didn't make the section smaller.
216 2015-03-24 Terry Guo <terry.guo@arm.com>
218 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
220 (parse_psr): Likewise.
221 (do_t_mrs): Likewise.
222 (do_t_msr): Likewise.
223 (static const arm_feature_set arm_ext_*): Defined with new macros.
224 (static const arm_feature_set arm_cext_*): Likewise.
225 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
226 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
227 (deprecated_coproc_regs): Likewise.
228 (UL_BARRIER): Likewise.
229 (barrier_opt_names): Likewise.
230 (arm_cpus): Likewise.
231 (arm_extensions): Likewise.
233 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
235 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
236 instructions to 10 bytes.
238 2015-03-19 Nick Clifton <nickc@redhat.com>
240 * config/tc-rl78.c (enum options): Add G13 and G14.
241 (md_longopts): Add -mg13 and -mg14.
242 (md_parse_option): Handle -mg13 and -mg14.
243 (md_show_usage): List -mg13 and -mg14.
244 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
246 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
247 Nick Clifton <nickc@redhat.com>
250 * doc/as.texinfo: Note that when gas compresses debug sections the
251 compression is only performed if it makes the section smaller.
252 * write.c (compress_debug): Do not compress a debug section if
253 doing so would make it larger.
255 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
257 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
258 (i386_align_code): Add PROCESSOR_ZNVER cases.
259 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
260 * doc/c-i386.texi: Add znver1 and clzero.
262 2015-03-16 Nick Clifton <nickc@redhat.com>
264 * dwarf2dbg.c (out_header): Remove spurious #if 1.
266 2015-03-13 Jiong Wang <jiong.wang@arm.com>
268 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
271 2015-03-13 Jiong Wang <jiong.wang@arm.com>
273 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
275 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
277 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
278 * doc/c-mips.texi: Document i6400 -march option.
280 2015-03-12 Nick Clifton <nickc@redhat.com>
283 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
284 to arm_apply_sym_value. Update prototype.
285 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
286 Do not apply the value if the symbol is in a different segment to
289 2015-03-11 Alan Modra <amodra@gmail.com>
291 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
292 (md_apply_fix): Report an error on data-only fixups used with insns.
294 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
296 * config/tc-s390.c (md_gather_operands): Check for valid
297 length field operands.
299 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
301 * config/tc-arm.c (parse_operands): Fix bug setting writeback
302 values for '^' on OP_REGLSTs.
303 (do_push_pop): Add new writeback constraint.
305 2015-03-10 Renlin Li <renlin.li@arm.com>
307 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
308 (mapping_state_2): Emit first MAP_DATA symbol here.
310 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
312 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
315 2015-03-10 Nick Clifton <nickc@redhat.com>
318 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
319 initialised when CPU_DEFAULT is defined.
321 2015-03-05 Nick Clifton <nickc@redhat.com>
323 * config/tc-v850.c (md_parse_option): Fix code to set or clear
324 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
325 -m8byte-align and -m4byte-align command line options.
327 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
330 * config/tc-aarch64.c (process_movw_reloc_info): Allow
331 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
334 2015-02-28 Alan Modra <amodra@gmail.com>
336 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
337 end to their alignment.
339 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
341 * config/tc-aarch64.c (reloc_table_entry): Generate
342 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
343 (md_apply_fix, aarch64_force_relocation): Handle
344 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
346 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
348 * config/tc-aarch64.c (reloc_table_entry): Generate
349 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
350 (md_apply_fix, aarch64_force_relocation): Handle
351 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
353 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
355 * config/tc-aarch64.c (reloc_table_entry): Generate
356 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
357 (md_apply_fix, aarch64_force_relocation): Handle
358 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
360 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
362 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
363 (reloc_table): Likewise.
364 (parse_address_main): Use ld_literal_type.
366 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
368 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
369 (reloc_table): Likewise.
370 (parse_address_main): Use adr_type.
372 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
374 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
376 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
378 * config/tc-avr.c: Add elf32-avr.h include.
379 (struct avr_property_record_link): New structure.
380 (avr_output_property_section_header): New function.
381 (avr_record_size): New function.
382 (avr_output_property_record): New function.
383 (avr_create_property_section): New function.
384 (avr_handle_align): New function.
385 (exclude_section_from_property_tables): New function.
386 (create_record_for_frag): New function.
387 (append_records_for_section): New function.
388 (avr_create_and_fill_property_section): New function.
389 (avr_post_relax_hook): New function.
390 * config/tc-avr.h (md_post_relax_hook): Define.
391 (avr_post_relax_hook): Declare.
392 (HANDLE_ALIGN): Define.
393 (avr_handle_align): Declare.
394 (strut avr_frag_data): New structure.
395 (TC_FRAG_TYPE): Define.
397 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
399 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
402 2015-02-24 Nick Clifton <nickc@redhat.com>
404 * config/tc-v850.c (soft_float): New variable.
405 (v850_data_8): New variable.
406 (md_show_usage): Add -msoft-float/-mhard-float.
407 (md_parse_option): Likewise.
408 (md_begin): Set the default value of soft_float.
409 (v850_md_end): New function. Creates a note section.
410 * config/tc-v850.h (md_end): Define.
411 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
413 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
415 * config/tc-h8300.c (line_separater_chars): Add a version for
416 h8300-linux that includes a separator.
417 (default_mach): New variable.
419 (md_longopts): Add '--march' option.
420 (md_parse_option): Parse the new option.
421 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
422 * configure.tgt: Add h8300-*-linux
423 * doc/c-h8300.texi: Document --march.
425 2015-02-23 Nick Clifton <nickc@redhat.com>
428 * dwarf2dbg.c (out_header): When generating dwarf sections use
429 real symbols not temps for the start and end symbols.
430 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
431 adjustments to relocations in debug sections.
432 (TC_LINKRELAX_FIXUP): Likewise.
434 2015-02-19 Alan Modra <amodra@gmail.com>
436 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
437 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
439 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
441 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
443 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
445 * config/tc-arm.c: Add support for Cortex-A72.
447 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
449 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
450 of as_warn for deprecation messages.
451 (encode_arm_addr_mode_2): Likewise.
452 (check_obsolete): Likewise.
453 (do_rd_rm_rn): Likewise.
454 (do_co_reg): Likewise.
455 (do_setend): Likewise.
456 (do_t_mov_cmp): Likewise.
457 (do_neon_ldr_str): Likewise.
458 (opcode_lookup): Likewise.
459 (if_fsm_post_encode): Likewise.
460 (md_assemble): Likewise.
462 2015-02-06 Jan Beulich <jbeulich@suse.com>
464 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
465 (cfi_change_reg_numbers): Also do nothing for CFI_label.
466 (cfi_pseudo_table): Also handle .cfi_label when not supporting
469 2015-02-05 Alan Modra <amodra@gmail.com>
471 * config/tc-msp430.c (md_assemble): Correct size passed to
472 extract_cmd. Remove index check.
474 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
476 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
477 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
479 2015-02-04 Nick Clifton <nickc@redhat.com>
481 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
484 2015-02-03 Renlin Li <renlin.li@arm.com>
486 * doc/c-aarch64.texi (.arch): Document the directive.
487 (.arch_extension): Likewise.
489 2015-02-03 Nick Clifton <nickc@redhat.com>
491 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
493 2015-01-28 James Bowman <james.bowman@ftdichip.com>
495 * Makefile.am: Add FT32 files.
496 * config/tc-ft32.c: New file.
497 * config/tc-ft32.h: New file.
498 * configure.tgt: Add FT32 support.
499 * Makefile.in: Regenerate.
500 * po/POTFILES.in: Regenerate.
502 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
504 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
505 of instruction la to a symbol.
507 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
509 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
512 2015-01-19 Alan Modra <amodra@gmail.com>
514 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
515 * write.c (get_frag_for_reloc): Allow match just past end of frag.
517 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
519 * config/tc-s390.c (struct pd_reg): Remove.
520 (pre_defined_registers): Remove.
521 (REG_NAME_CNT): Remove.
522 (reg_name_search): Calculate the register number instead of doing
524 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
525 reg_name_search signature.
526 (s390_parse_cpu): Support the new arch string z13.
527 (s390_insert_operand): Support for vector registers with the extra
528 field for the fifth bit of each vector register operand.
529 (md_gather_operand): Adjust to the new handling of optional
532 * doc/as.texinfo: Document the z13 cpu string.
534 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
536 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
537 #0, restoring previous behaviour.
539 2015-01-12 Jan Beulich <jbeulich@suse.com>
541 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
542 (cfi_pseudo_table): Add "cfi_label".
543 (output_cfi_insn): Handle CFI_label.
544 (select_cie_for_fde): Als terminate CIE when encountering
546 * dw2gencfi.h (cfi_add_label): Declare.
547 (struct cfi_insn_data): New member "sym_name".
549 * read.c (read_symbol_name): Drop "static".
550 * read.h (read_symbol_name): Declare.
552 2015-01-12 Jan Beulich <jbeulich@suse.com>
554 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
555 (do_neon_qshl_imm): Likewise.
557 2015-01-12 Alan Modra <amodra@gmail.com>
559 * read.c (s_altmacro, s_reloc): Make definition static.
561 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
563 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
566 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
568 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
570 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
572 2015-01-07 Jan Beulich <jbeulich@suse.com>
574 * config/tc-arm.c (struct arm_option_extension_value_table):
575 Split field "value" into fields "merge_value" and "clear_value".
576 (arm_extensions): Adjust initializer accordingly.
578 2015-01-01 Alan Modra <amodra@gmail.com>
580 * as.c (parse_args): Just print current year.
582 2015-01-01 Alan Modra <amodra@gmail.com>
584 Update year range in copyright notice of all files.
586 For older changes see ChangeLog-2014
588 Copyright (C) 2015 Free Software Foundation, Inc.
590 Copying and distribution of this file, with or without modification,
591 are permitted in any medium without royalty provided the copyright
592 notice and this notice are preserved.
598 version-control: never