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