1 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
2 Cesar Philippidis <cesar@codesourcery.com>
4 * config/tc-nios2.c: Adjust includes.
5 (OPTION_MARCH): Define.
6 (md_longopts): Add -march option.
7 (nios2_architecture): New.
9 (md_parse_option): Handle OPTION_MARCH.
10 (md_show_usage): Document -march.
11 (md_begin): Set arch in BFD.
12 (nios2_elf_final_processing): New.
13 * config/tc-nios2.h (elf_tc_final_processing): Define.
14 (nios2_elf_final_processing): New.
15 * doc/c-nios2.texi (-march): Add documentation.
17 2015-06-30 Amit Pawar <Amit.Pawar@amd.com>
19 * config/tc-i386.c (cpu_arch): Add .mwaitx.
20 (process_immext): Check operands for monitorx/mwaitx instructions.
21 * doc/c-i386.texi: Document mwaitx.
23 2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
25 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
26 COMPRESS_DEBUG_GNU_ZLIB.
27 * config/tc-i386.c (flag_compress_debug): Likewise.
29 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
31 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
33 2015-06-19 Peter Bergner <bergner@vnet.ibm.com>
35 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
36 Allow for optional operands without insert functions.
38 2015-06-18 Nick Clifton <nickc@redhat.com>
41 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
42 mode against a nearby symbol.
44 2015-06-18 Nick Clifton <nickc@redhat.com>
47 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
48 in the same case as BFD_RELOC_ARM_TLS_IS32.
50 2015-06-17 Nick Clifton <nickc@redhat.com>
52 * config/tc-arm.c (is_double_a_single): Make conditional upon the
53 availablity of a 64-bit type. Use this type for the argument and
55 (double_to_single): Likewise.
56 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
57 the constant value, if available. Generate a 64-bit value from a
58 bignum if supported. Only perform the second optimization for
59 PR 18500 if the 64-bit type is available.
61 2015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
64 * config/tc-arm.c (is_double_a_single): New function.
65 (double_to_single): New function.
66 (move_or_literal_pool): Add support for converting VLDR to VMOV.
69 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
70 to MOV.w or MVN.w for Thumb2.
72 2015-06-17 Nicolas Pitre <nico@linaro.org>
74 * as.c (show_usage): Document --sectname-subst.
75 (parse_args): Add --sectname-subst.
76 * as.h (flag_sectname_subst): New.
77 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
78 * doc/as.texinfo: Document it.
80 2015-06-15 Renlin Li <renlin.li@arm.com>
82 * config/tc-aarch64.c (reloc_table): New relocation modifier.
83 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
84 (aarch64_force_relocation): Ditto
86 2015-06-13 Mark Wielaard <mjw@redhat.com>
88 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
89 out_debug_aranges depends on it.
90 (out_debug_aranges): Track size of header to properly pad header
91 for address alignment.
93 2015-06-11 John David Anglin <danglin@gcc.gnu.org>
96 * gas/config/tc-hppa.c (last_label_symbol): Declare.
97 (pa_get_label): Return last label in current space/segment or NULL.
98 (pa_define_label): Record last label and add to root.
99 (pa_undefine_label): Remove last label from root.
101 2015-06-08 Nick Clifton <nickc@redhat.com>
103 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
105 2015-06-04 Matthew Wahab <matthew.wahab@arm.com>
107 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
108 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
109 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
111 2015-06-04 Renlin Li <renlin.li@arm.com>
113 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
116 2015-06-04 Nick Clifton <nickc@redhat.com>
118 * config/tc-h8300.c (md_section_align): Fix compile time warning
119 about left shifting a negative value.
121 2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
123 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
124 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
125 * NEWS: Mention ARMv8.1 support.
127 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
129 * config/tc-arm.c (arm_ext_pan): New.
130 (do_setpan): New, encode an ARM SETPAN instruction.
131 (do_t_setpan): New, encode a Thumb SETPAN instruction.
132 (insns): Add "setpan".
133 (arm_extensions): Add "pan".
134 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
137 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
139 * config/tc-aarch64.c (aarch64_features): Add "rdma".
140 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
142 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
144 * config/tc-aarch64.c (aarch64_features): Add "lor".
145 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
146 architecture extensions.
148 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
150 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
151 support. Fix whitespace.
152 (parse_operands): Update for parse_sys_reg changes.
153 (aarch64_features): Add "pan".
154 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
156 2015-06-01 Jiong Wang <jiong.wang@arm.com>
158 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
159 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
160 (aarch64_force_relocation): Ditto.
162 2015-06-01 Jiong Wang <jiong.wang@arm.com>
164 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
165 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
166 (aarch64_force_relocation): Ditto.
168 2015-05-28 Catherine Moore <clm@codesourcery.com>
169 Bernd Schmidt <bernds@codesourcery.com>
170 Paul Brook <paul@codesourcery.com>
173 * config/tc-alpha.c (all_cfi_sections): Declare.
174 (s_alpha_ent): Initialize all_cfi_sections.
175 (alpha_elf_md_end): Invoke cfi_set_sections.
176 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
177 (s_ehword): Use BFD_RELOC_32_PCREL.
178 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
179 (mips_cfi_reloc_for_encoding): New function.
180 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
181 (DWARF2_FDE_RELOC_ENCODING): Define.
182 (tc_cfi_reloc_for_encoding): Define.
183 (mips_cfi_reloc_for_encoding): Define.
184 (tc_compact_eh_opcode_stop): Define.
185 (tc_compact_eh_opcode_pad): Define.
186 * doc/as.texinfo: Document Compact EH extensions.
187 * doc/internals.texi: Likewise.
188 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
189 (tc_cfi_reloc_for_encoding): Provide default.
190 (compact_eh): Declare.
191 (emit_expr_encoded): New function.
192 (get_debugseg_name): Add Compact EH support.
193 (alloc_debugseg_item): Likewise.
194 (cfi_set_sections): New function.
195 (dot_cfi_fde_data): New function.
196 (dot_cfi_personality_id): New function.
197 (dot_cfi_inline_lsda): New function.
198 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
200 (dot_cfi_personality): Add Compact EH support.
201 (dot_cfi_lsda): Likewise.
202 (dot_cfi_sections): Likewise.
203 (dot_cfi_startproc): Likewise.
204 (get_cfi_seg): Likewise.
205 (output_compact_unwind_data): New function.
206 (output_cfi_insn): Add Compact EH support.
207 (output_cie): Likewise.
208 (output_fde): Likewise.
209 (cfi_finish): Likewise.
210 (cfi_emit_eh_header): New function.
211 (output_eh_header): New function.
212 * dw2gencfi.h (cfi_set_sections): Declare.
213 (SUPPORT_COMPACT_EH): Define.
214 (MULTIPLE_FRAME_SECTIONS): Define.
215 New enumeration to describe the Compact EH header format.
216 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
217 eh_data, eh_loc and sections.
218 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
219 CFI_EMIT_eh_frame_compact): Define.
221 2015-05-26 Max Filippov <jcmvbkbc@gmail.com>
223 * config/tc-xtensa.c (xtensa_move_literals): Check that
224 search_frag is non-NULL. Report error if literal frag is not
227 2015-05-22 Nick Clifton <nickc@redhat.com>
230 * read.c (output_big_sleb128): Use U suffix to prevent compile
233 2015-05-19 Jiong Wang <jiong.wang@arm.com>
235 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
236 labels alphabetically.
237 (md_apply_fix): Ditto.
238 (aarch64_force_relocation): Ditto.
240 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
243 * config/tc-i386.c (OPTION_MAMD64): New.
244 (OPTION_MINTEL64): Likewise.
245 (md_longopts): Add -mamd64 and -mintel64.
246 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
247 (md_show_usage): Add -mamd64 and -mintel64.
248 * doc/c-i386.texi: Document -mamd64 and -mintel64.
250 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
252 * config/tc-i386.c (shared): New.
253 (OPTION_MSHARED): Likewise.
254 (elf_symbol_resolved_in_segment_p): Add relocation argument.
255 Check PLT relocations and shared.
256 (md_estimate_size_before_relax): Pass fragP->fr_var to
257 elf_symbol_resolved_in_segment_p.
258 (md_longopts): Add -mshared.
259 (md_show_usage): Likewise.
260 (md_parse_option): Handle OPTION_MSHARED.
261 * doc/c-i386.texi: Document -mshared.
263 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
265 * write.c (compress_debug): Don't write the zlib header, which
266 is handled by bfd_update_compression_header.
268 2015-05-13 Max Filippov <jcmvbkbc@gmail.com>
270 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
271 closer than J_RANGE / 2 to jump frag.
273 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
275 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
276 * config/tc-i386.c (i386_mach): Support iamcu.
277 (i386_target_format): Likewise.
279 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
281 * config/tc-i386.c (cpu_arch): Add iamcu.
282 (i386_align_code): Handle PROCESSOR_IAMCU.
283 (i386_arch): Likewise.
284 (i386_mach): Likewise.
285 (i386_target_format): Likewise.
286 (valid_iamcu_cpu_flags): New function.
287 (check_cpu_arch_compatible): Only allow Intel MCU instructions
288 when targeting Intel MCU.
289 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
290 are valid for Intel MCU.
291 (md_parse_option): Likewise.
292 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
293 (processor_type): Add PROCESSOR_IAMCU.
294 * doc/c-i386.texi: Document iamcu.
296 2015-05-08 Nick Clifton <nickc@redhat.com>
299 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
300 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
301 the symbol name checking code to here from...
302 (md_undefined_symbo): ... here.
304 2015-05-07 H.J. Lu <hongjiu.lu@intel.com>
306 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
307 (md_estimate_size_before_relax): Use it.
309 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
311 * config/tc-sparc.c: Typo in comment fixed.
313 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
315 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
317 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
319 2015-05-06 Nick Clifton <nickc@redhat.com>
321 * doc/as.texinfo (Dollar Local Labels): Note that these are only
322 supported on some targets.
324 2015-05-06 Renlin Li <renlin.li@arm.com>
326 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
328 2015-05-05 Renlin Li <renlin.li@arm.com>
330 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
333 2015-05-05 Nick Clifton <nickc@redhat.com>
335 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
336 (msp430_make_init_symbols): New function.
337 (msp430_section): Call it.
338 (msp430_frob_section): Likewise.
340 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
342 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
343 (struct cached_fixup, struct fixup_cache): New structures.
344 (fixup_order, xtensa_make_cached_fixup),
345 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
346 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
347 (xtensa_add_cached_fixup): New functions.
348 (xtensa_relax_frag): Cache fixups pointing at potentially
349 oversized jumps at the beginning of every relaxation pass. Only
350 check subset of this cache in the reach of single jump from the
351 trampoline frag currently being relaxed.
353 2015-05-01 Nick Clifton <nickc@redhat.com>
355 * config/rl78-parse.y (MULU): Remove ISA_G14.
356 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
358 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
360 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
361 * config/tc-i386.h (md_end): Likewise.
362 (i386_elf_emit_arch_note): Likewise.
364 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
366 * configure.tgt: Support i386-*-elf*.
368 2015-04-30 DJ Delorie <dj@redhat.com>
370 * config/rl78-defs.h (rl78_isa_g10): New.
373 * config/rl78-parse.y (ISA_G10): New.
376 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
377 * config/tc-rl78.c (rl78_isa_g10): New.
381 2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
383 * config/tc-i386.c (i386_target_format): Use "else if" on
386 2015-04-30 Nick Clifton <nickc@redhat.com>
389 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
390 (if enabled) when the user creates a symbol with the same name as
392 (flag_warn_syms): New static variable.
393 (arm_opts): Add mwarn-syms and mno-warn-syms.
394 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
398 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
400 2015-04-29 Nick Clifton <nickc@redhat.com>
403 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
404 if the operand is neither a register nor a vector.
406 2015-04-29 Nick Clifton <nickc@redhat.com>
408 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
409 times if the expression is not constant and the target uses linker
412 2015-04-28 Renlin Li <renlin.li@arm.com>
414 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
416 2015-04-28 Nick Clifton <nickc@redhat.com>
419 * cond.c (s_if): Stop compile time warning about stopc being used
423 2015-04-27 Renlin Li <renlin.li@arm.com>
425 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
427 (md_assemble): Likewise, move the align code outside the loop.
429 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
431 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
434 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
436 * config/tc-arm.h (arm_min): New function.
437 (SUB_SEGMENT_ALIGN): Define.
439 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
441 * config/tc-mips.c (macro): State the recommended way of creating
442 32-bit or 64-bit addresses.
444 2015-04-23 Jan Beulich <jbeulich@suse.com>
446 * config/tc-i386.c (match_mem_size): Also allow no size
447 specification when broadcasting.
449 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
451 * doc/as.texinfo (Bundle directives): Shorten menu entry and
453 (CFI directives): Use @subsection.
454 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
455 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
457 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
459 * config/tc-avr.c (create_record_for_frag): Rename link to
462 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
465 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
467 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
469 * as.h (compressed_debug_section_type): Removed.
471 2015-04-14 Nick Clifton <nickc@redhat.com>
473 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
474 (TC_FORCE_RELOCATION_SUB_SAME): Define.
475 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
477 2015-04-10 Nick Clifton <nickc@redhat.com>
480 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
481 the -EB option with the linker's --be8 option.
483 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
485 * doc/c-rx.texi: Fix markup typos in last change.
487 2015-04-09 Nick Clifton <nickc@redhat.com>
489 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
490 (md_longopts): Add -mno-allow-string-insns.
491 (md_parse_option): Handle -mno-allow-string-insns.
492 (md_show_usage): Mention -mno-allow-string-insns.
493 (rx_note_string_insn_use): New function. Produces an error
494 message if a string insn is used when it is not allowed.
495 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
496 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
497 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
498 * doc/c-rx.texi: Document -mno-allow-string-insns.
500 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
502 * as.c (show_usage): Update --compress-debug-sections.
503 (std_longopts): Use optional_argument on compress-debug-sections.
505 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
506 * as.h (compressed_debug_section_type): New.
507 (flag_compress_debug): Change type to compressed_debug_section_type.
508 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
509 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
510 --compress-debug-sections=zlib-gabi. Call
511 bfd_get_compression_header_size to get compression header size.
512 Don't rename section name for --compress-debug-sections=zlib-gabi.
513 * config/tc-i386.c (compressed_debug_section_type): Set to
515 * doc/as.texinfo: Document
516 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
518 2015-04-07 Renlin Li <renlin.li@arm.com>
520 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
521 (s_aarch64_inst): Likewise.
522 (md_assemble): Likewise.
524 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
526 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
529 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
531 * write.c (compress_debug): Don't write the zlib header if
532 compressed section size is the same as before compression.
534 2015-04-02 Nick Clifton <nickc@redhat.com>
537 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
538 min and max parameters. Sign extend values before testing.
540 2015-04-02 Renlin Li <renlin.li@arm.com>
542 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
543 (mapping_state_2): Don't emit MAP_DATA here.
544 (s_aarch64_inst): Align frag during state transition.
545 (md_assemble): Likewise.
547 2015-04-02 Ed Maste <emaste@freebsd.org>
549 * config/tc-aarch64.c (set_error_kind): Delete.
550 (set_error_message): Delete.
552 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
554 * configure: Regenerated.
556 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
558 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
559 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
561 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
563 * config/tc-arm.c: Add support for Samsung Exynos M1.
564 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
566 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
568 * configure: Regenerated.
570 2015-03-31 Ed Schouten <ed@nuxi.nl>
572 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
574 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
576 * configure.ac: Revert the AM_ZLIB change.
577 * Makefile.in: Regenerated.
578 * aclocal.m4: Likewise.
579 * configure: Likewise.
581 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
583 * Makefile.am (ZLIBINC): New.
584 (AM_CFLAGS): Add $(ZLIBINC).
585 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
586 (parse_args): Likewise.
587 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
588 (compress_init): Don't check HAVE_ZLIB_H.
589 (compress_data): Likewise.
590 (compress_finish): Likewise.
591 * configure.ac (AM_ZLIB): Removed.
592 (zlibinc): New. AC_SUBST.
593 Add --with-system-zlib.
594 * Makefile.in: Regenerated.
595 * config.in: Likewise.
596 * configure: Likewise.
597 * doc/Makefile.in: Likewise.
599 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
601 * config/tc-i386.c (cpu_flags_set): Removed.
603 2015-03-25 Renlin Li <renlin.li@arm.com>
605 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
607 (mapping_state_2): Emit first MAP_DATA symbol here.
609 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
612 * write.c (compress_debug): Don't write the zlib header if
613 compression didn't make the section smaller.
615 2015-03-24 Terry Guo <terry.guo@arm.com>
617 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
619 (parse_psr): Likewise.
620 (do_t_mrs): Likewise.
621 (do_t_msr): Likewise.
622 (static const arm_feature_set arm_ext_*): Defined with new macros.
623 (static const arm_feature_set arm_cext_*): Likewise.
624 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
625 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
626 (deprecated_coproc_regs): Likewise.
627 (UL_BARRIER): Likewise.
628 (barrier_opt_names): Likewise.
629 (arm_cpus): Likewise.
630 (arm_extensions): Likewise.
632 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
634 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
635 instructions to 10 bytes.
637 2015-03-19 Nick Clifton <nickc@redhat.com>
639 * config/tc-rl78.c (enum options): Add G13 and G14.
640 (md_longopts): Add -mg13 and -mg14.
641 (md_parse_option): Handle -mg13 and -mg14.
642 (md_show_usage): List -mg13 and -mg14.
643 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
645 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
646 Nick Clifton <nickc@redhat.com>
649 * doc/as.texinfo: Note that when gas compresses debug sections the
650 compression is only performed if it makes the section smaller.
651 * write.c (compress_debug): Do not compress a debug section if
652 doing so would make it larger.
654 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
656 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
657 (i386_align_code): Add PROCESSOR_ZNVER cases.
658 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
659 * doc/c-i386.texi: Add znver1 and clzero.
661 2015-03-16 Nick Clifton <nickc@redhat.com>
663 * dwarf2dbg.c (out_header): Remove spurious #if 1.
665 2015-03-13 Jiong Wang <jiong.wang@arm.com>
667 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
670 2015-03-13 Jiong Wang <jiong.wang@arm.com>
672 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
674 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
676 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
677 * doc/c-mips.texi: Document i6400 -march option.
679 2015-03-12 Nick Clifton <nickc@redhat.com>
682 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
683 to arm_apply_sym_value. Update prototype.
684 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
685 Do not apply the value if the symbol is in a different segment to
688 2015-03-11 Alan Modra <amodra@gmail.com>
690 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
691 (md_apply_fix): Report an error on data-only fixups used with insns.
693 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
695 * config/tc-s390.c (md_gather_operands): Check for valid
696 length field operands.
698 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
700 * config/tc-arm.c (parse_operands): Fix bug setting writeback
701 values for '^' on OP_REGLSTs.
702 (do_push_pop): Add new writeback constraint.
704 2015-03-10 Renlin Li <renlin.li@arm.com>
706 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
707 (mapping_state_2): Emit first MAP_DATA symbol here.
709 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
711 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
714 2015-03-10 Nick Clifton <nickc@redhat.com>
717 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
718 initialised when CPU_DEFAULT is defined.
720 2015-03-05 Nick Clifton <nickc@redhat.com>
722 * config/tc-v850.c (md_parse_option): Fix code to set or clear
723 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
724 -m8byte-align and -m4byte-align command line options.
726 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
729 * config/tc-aarch64.c (process_movw_reloc_info): Allow
730 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
733 2015-02-28 Alan Modra <amodra@gmail.com>
735 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
736 end to their alignment.
738 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
740 * config/tc-aarch64.c (reloc_table_entry): Generate
741 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
742 (md_apply_fix, aarch64_force_relocation): Handle
743 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
745 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
747 * config/tc-aarch64.c (reloc_table_entry): Generate
748 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
749 (md_apply_fix, aarch64_force_relocation): Handle
750 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
752 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
754 * config/tc-aarch64.c (reloc_table_entry): Generate
755 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
756 (md_apply_fix, aarch64_force_relocation): Handle
757 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
759 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
761 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
762 (reloc_table): Likewise.
763 (parse_address_main): Use ld_literal_type.
765 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
767 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
768 (reloc_table): Likewise.
769 (parse_address_main): Use adr_type.
771 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
773 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
775 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
777 * config/tc-avr.c: Add elf32-avr.h include.
778 (struct avr_property_record_link): New structure.
779 (avr_output_property_section_header): New function.
780 (avr_record_size): New function.
781 (avr_output_property_record): New function.
782 (avr_create_property_section): New function.
783 (avr_handle_align): New function.
784 (exclude_section_from_property_tables): New function.
785 (create_record_for_frag): New function.
786 (append_records_for_section): New function.
787 (avr_create_and_fill_property_section): New function.
788 (avr_post_relax_hook): New function.
789 * config/tc-avr.h (md_post_relax_hook): Define.
790 (avr_post_relax_hook): Declare.
791 (HANDLE_ALIGN): Define.
792 (avr_handle_align): Declare.
793 (strut avr_frag_data): New structure.
794 (TC_FRAG_TYPE): Define.
796 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
798 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
801 2015-02-24 Nick Clifton <nickc@redhat.com>
803 * config/tc-v850.c (soft_float): New variable.
804 (v850_data_8): New variable.
805 (md_show_usage): Add -msoft-float/-mhard-float.
806 (md_parse_option): Likewise.
807 (md_begin): Set the default value of soft_float.
808 (v850_md_end): New function. Creates a note section.
809 * config/tc-v850.h (md_end): Define.
810 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
812 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
814 * config/tc-h8300.c (line_separater_chars): Add a version for
815 h8300-linux that includes a separator.
816 (default_mach): New variable.
818 (md_longopts): Add '--march' option.
819 (md_parse_option): Parse the new option.
820 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
821 * configure.tgt: Add h8300-*-linux
822 * doc/c-h8300.texi: Document --march.
824 2015-02-23 Nick Clifton <nickc@redhat.com>
827 * dwarf2dbg.c (out_header): When generating dwarf sections use
828 real symbols not temps for the start and end symbols.
829 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
830 adjustments to relocations in debug sections.
831 (TC_LINKRELAX_FIXUP): Likewise.
833 2015-02-19 Alan Modra <amodra@gmail.com>
835 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
836 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
838 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
840 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
842 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
844 * config/tc-arm.c: Add support for Cortex-A72.
846 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
848 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
849 of as_warn for deprecation messages.
850 (encode_arm_addr_mode_2): Likewise.
851 (check_obsolete): Likewise.
852 (do_rd_rm_rn): Likewise.
853 (do_co_reg): Likewise.
854 (do_setend): Likewise.
855 (do_t_mov_cmp): Likewise.
856 (do_neon_ldr_str): Likewise.
857 (opcode_lookup): Likewise.
858 (if_fsm_post_encode): Likewise.
859 (md_assemble): Likewise.
861 2015-02-06 Jan Beulich <jbeulich@suse.com>
863 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
864 (cfi_change_reg_numbers): Also do nothing for CFI_label.
865 (cfi_pseudo_table): Also handle .cfi_label when not supporting
868 2015-02-05 Alan Modra <amodra@gmail.com>
870 * config/tc-msp430.c (md_assemble): Correct size passed to
871 extract_cmd. Remove index check.
873 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
875 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
876 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
878 2015-02-04 Nick Clifton <nickc@redhat.com>
880 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
883 2015-02-03 Renlin Li <renlin.li@arm.com>
885 * doc/c-aarch64.texi (.arch): Document the directive.
886 (.arch_extension): Likewise.
888 2015-02-03 Nick Clifton <nickc@redhat.com>
890 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
892 2015-01-28 James Bowman <james.bowman@ftdichip.com>
894 * Makefile.am: Add FT32 files.
895 * config/tc-ft32.c: New file.
896 * config/tc-ft32.h: New file.
897 * configure.tgt: Add FT32 support.
898 * Makefile.in: Regenerate.
899 * po/POTFILES.in: Regenerate.
901 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
903 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
904 of instruction la to a symbol.
906 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
908 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
911 2015-01-19 Alan Modra <amodra@gmail.com>
913 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
914 * write.c (get_frag_for_reloc): Allow match just past end of frag.
916 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
918 * config/tc-s390.c (struct pd_reg): Remove.
919 (pre_defined_registers): Remove.
920 (REG_NAME_CNT): Remove.
921 (reg_name_search): Calculate the register number instead of doing
923 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
924 reg_name_search signature.
925 (s390_parse_cpu): Support the new arch string z13.
926 (s390_insert_operand): Support for vector registers with the extra
927 field for the fifth bit of each vector register operand.
928 (md_gather_operand): Adjust to the new handling of optional
931 * doc/as.texinfo: Document the z13 cpu string.
933 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
935 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
936 #0, restoring previous behaviour.
938 2015-01-12 Jan Beulich <jbeulich@suse.com>
940 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
941 (cfi_pseudo_table): Add "cfi_label".
942 (output_cfi_insn): Handle CFI_label.
943 (select_cie_for_fde): Als terminate CIE when encountering
945 * dw2gencfi.h (cfi_add_label): Declare.
946 (struct cfi_insn_data): New member "sym_name".
948 * read.c (read_symbol_name): Drop "static".
949 * read.h (read_symbol_name): Declare.
951 2015-01-12 Jan Beulich <jbeulich@suse.com>
953 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
954 (do_neon_qshl_imm): Likewise.
956 2015-01-12 Alan Modra <amodra@gmail.com>
958 * read.c (s_altmacro, s_reloc): Make definition static.
960 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
962 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
965 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
967 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
969 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
971 2015-01-07 Jan Beulich <jbeulich@suse.com>
973 * config/tc-arm.c (struct arm_option_extension_value_table):
974 Split field "value" into fields "merge_value" and "clear_value".
975 (arm_extensions): Adjust initializer accordingly.
977 2015-01-01 Alan Modra <amodra@gmail.com>
979 * as.c (parse_args): Just print current year.
981 2015-01-01 Alan Modra <amodra@gmail.com>
983 Update year range in copyright notice of all files.
985 For older changes see ChangeLog-2014
987 Copyright (C) 2015 Free Software Foundation, Inc.
989 Copying and distribution of this file, with or without modification,
990 are permitted in any medium without royalty provided the copyright
991 notice and this notice are preserved.
997 version-control: never