X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2FChangeLog;h=3bcd8e6d5279c38a2c005c0a638907abbf432c17;hb=5f40e14d768b94f7fdc050aeba5ee62e6a8d5756;hp=7ea12d9fd00b183d7a7caf24e6bc05d29afcf308;hpb=7a5c933c7c2c3926b13a047c64f2af1d3ce8e1db;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index 7ea12d9fd0..3bcd8e6d52 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,4 +1,824 @@ -2015-04/24 Richard Earnshaw +2015-08-21 Nick Clifton + + PR gas/18581 + * expr.c (get_symbol_end): Rename to get_symbol_name. Add a + return parameter pointing to the start of the symbol. Allow + symbol names enclosed in double quotes. + (restore_line_pointer): New function. Replace the NUL character + inserted into the input stream with the given character. If the + character was a double quote, advance the input pointer. + * expr.h (get_symbol_end): Delete. + (get_symbol_name): Add prototype. + (restore_line_pointer): Prototype. + * read.h (SKIP_WHITESPACE_AFTER_NAME): New macro. + * doc/as.texinfo (Symbol Intro): Document that symbol names can + now be enclosed in double quotes. + * cond.c (s_ifdef): Replace get_symbol_end with get_symbol_name. + Use restore_line_pointer to replace the NUL in the input stream. + Use SKIP_WHITESPACE_AFTER_NAME to skip past the end of a symbol. + Check for the use of double quoted symbol names. + * expr.c: Likewise. + * config/obj-aout.c: Likewise. + * config/obj-coff-seh.c: Likewise. + * config/obj-coff.c: Likewise. + * config/obj-elf.c: Likewise. + * config/obj-evax.c: Likewise. + * config/obj-macho.c: Likewise. + * config/obj-som.c: Likewise. + * config/tc-alpha.c: Likewise. + * config/tc-arc.c: Likewise. + * config/tc-arm.c: Likewise. + * config/tc-dlx.c: Likewise. + * config/tc-h8300.c: Likewise. + * config/tc-hppa.c: Likewise. + * config/tc-i370.c: Likewise. + * config/tc-i386-intel.c: Likewise. + * config/tc-i386.c: Likewise. + * config/tc-i960.c: Likewise. + * config/tc-ia64.c: Likewise. + * config/tc-iq2000.c: Likewise. + * config/tc-m32r.c: Likewise. + * config/tc-m68hc11.c: Likewise. + * config/tc-m68k.c: Likewise. + * config/tc-microblaze.c: Likewise. + * config/tc-mips.c: Likewise. + * config/tc-mmix.c: Likewise. + * config/tc-mn10200.c: Likewise. + * config/tc-mn10300.c: Likewise. + * config/tc-nios2.c: Likewise. + * config/tc-ppc.c: Likewise. + * config/tc-s390.c: Likewise. + * config/tc-score.c: Likewise. + * config/tc-score7.c: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-tic4x.c: Likewise. + * config/tc-tic54x.c: Likewise. + * config/tc-tic6x.c: Likewise. + * config/tc-tilegx.c: Likewise. + * config/tc-tilepro.c: Likewise. + * config/tc-v850.c: Likewise. + * config/tc-xtensa.c: Likewise. + * config/tc-z80.c: Likewise. + * dw2gencfi.c: Likewise. + * dwarf2dbgc.: Likewise. + * ecoff.c: Likewise. + * read.c: Likewise. + * stabs.c: Likewise. + +2015-08-19 Jiong Wang + + * config/tc-aarch64.c (reloc_table): New relocation types support for + dtprel_lo12. + (ldst_lo12_determine_real_reloc_type): Support + BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12, + BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12, + BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12, + BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12, + BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC. + (parse_operands): Likewise. + (md_apply_fix): Likewise. + (aarch64_force_relocation): Likewise. + (process_movw_reloc_info): Likewise. + +2015-08-19 Jiong Wang + + * config/tc-aarch64.c (reloc_table): New relocation modifiers, + "dtprel_hi12", "dtprel_g0", "dtprel_g0_nc", "dtprel_g1", + "dtprel_g1_nc", "dtprel_g2". + (md_apply_fix): Support new relocation types. + (aarch64_force_relocation): Likewise. + (process_movw_reloc_info): Likewise. + +2015-08-19 Jiong Wang + + * config/tc-aarch64.c (reloc_table): New relocation modifiers. + (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC. + (aarch64_force_relocation): Likewise. + +2015-08-17 Alan Modra + + * gas/config/tc-arm.c (s_align): Delete. + (md_pseudo_table): Use s_align_ptwo for "align". + * gas/config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define. + * read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT. + +2015-08-13 Alan Modra + + * expr.c (operand): Rewrite handling of operands starting with "0f". + If atof_generic only parses "-" or "+", treat as expression. + +2015-08-13 Alan Modra + DJ Delorie + + * expr.c (integer_constant): Return O_absent expression if eol. + (operand): For targets with both LOCAL_LABELS_FB and + NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary + digits as a local label reference. Correct handling of 0b prefix. + If a suffix is not allowed, error on 0B. + +2015-08-13 Alan Modra + + * doc/as.texinfo (Local Labels): Allowed range of N in local + labels is non-negative integers, not positive integers. + +2015-08-12 David Weatherford + + * config/tc-xtensa.c (struct litpool_frag, struct litpool_seg): + New structures. + (xtensa_maybe_create_literal_pool_frag): New function. + (litpool_seg_list, auto_litpools, auto_litpool_limit) + (litpool_buf, litpool_slotbuf): New static variables. + (option_auto_litpools, option_no_auto_litpools) + (option_auto_litpool_limit): New enum identifiers. + (md_longopts): Add entries for auto-litpools, no-auto-litpools + and auto-litpool-limit. + (md_parse_option): Handle option_auto_litpools, + option_no_auto_litpools and option_auto_litpool_limit. + (md_show_usage): Add help for --[no-]auto-litpools and + --auto-litpool-limit. + (xtensa_mark_literal_pool_location): Record a place for literal + pool with a call to xtensa_maybe_create_literal_pool_frag. + (get_literal_pool_location): Find highest priority literal pool + or convert candidate to literal pool when auto-litpools are used. + (xg_assemble_vliw_tokens): Create literal pool after jump + instruction. + (xtensa_check_frag_count): Create candidate literal pool every + auto_litpool_limit frags. + (xtensa_relax_frag): Add jump around literals to non-empty + literal pool. + (xtensa_move_literals): Estimate literal pool addresses and move + unreachable literals closer to their users, converting candidate + to literal pool if needed. + (xtensa_switch_to_non_abs_literal_fragment): Only emit error + about missing .literal_position in case auto-litpools are not + used. + * config/tc-xtensa.h (xtensa_relax_statesE): New relaxation + state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN. + * doc/as.texinfo (Xtensa options): Document --auto-litpools and + --no-auto-litpools options. + * doc/c-xtensa.texi (Xtensa options): Likewise. + +2015-08-12 Simon Dardis + + * config/tc-mips.c (move_register): Change to use 'or' only. + (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to + use or for move. + +2015-08-11 Jiong Wang + + * config/tc-aarch64.c (reloc_table): New relocation modifiers + "dtprel_lo12". + (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12. + (aarch64_force_relocation): Likewise. + +2015-08-11 Jiong Wang + + * config/tc-aarch64.c (reloc_table): New relocation modifiers. + (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC. + (aarch64_force_relocation): Likewise. + +2015-08-11 Jiong Wang + + * config/tc-aarch64.c (reloc_table): New relocation modifiers. + (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21. + (aarch64_force_relocation): Likewise. + +2015-08-11 Nick Clifton + + PR gas/18765 + * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove + compile time warnings about constant expressions being shifted + into bit 31. + (do_iwmmxt_wldstd): Likewise. + (do_iwmmxt_wrwrwr_or_imm5): Likewise. + (md_assemble): Likewise. + + PR gas/18574 + * config/tc-msp430.c (msp430_operands): Rewrite if statements to + remove redundant checks. + (md_apply_fix): Likewise. + + PR gas/18677 + * config/tc-mmix.c (md_assemble): Fix typo checking operands with + a numeric constant value. + + PR gas/18678 + * config/tc-tic4x.c (tic4x_insn_check): Fix typo. + + PR gas/18679 + * config/xtensa-relax.c (same_operand_name): Fix typo. + +2015-08-08 Hans-Peter Nilsson + + * tc-arm.c (double_to_single, is_double_a_single): Append ULL to + 0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts. + +2015-08-04 Thomas Preud'homme + + * doc/c-aarch64.texi (.xword): Document directive. + +2015-08-03 Nick Clifton + + * doc/as.texinfo (Overview): Add --hash-size to the synopsis and + fix typo in its entry: @kindex -> @item. + +2015-07-28 Robert Suchanek + + * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries. + * doc/c-mips.texi: Document m5100 and m5101 for -march=. + +2015-07-28 Robert Suchanek + + * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry. + * doc/c-mips.text: Document -march=interaptiv. + +2015-07-27 H.J. Lu + + * configure: Regenerated. + +2015-07-24 Nick Clifton + + * config/tc-rl78.c (rl78_abs_sym): New local variable. + (md_begin): Initialise the new symbol. + (OPIMM): Define the value to be relative to the new symbol and not + the absolute section symbol. + +2015-07-22 Alan Modra + + PR gas/18687 + * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify + loop. Don't drop lines at end of file lacking a newline, add a + newline instead. Ensure partial_size is zero whenever + partial_where is NULL. Adjust buffer size for extra char. + (input_scrub_push, input_scrub_begin): Adjust buffer size here too. + +2015-07-20 Matthew Wahab + + * NEWS: Mention corrected spelling of armv6kz. + * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with + ARM_ARCH_V6KZ. + (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2". + * doc/c-arm.texi: Replace "armv6zk" with "armv6kz". + +2015-07-16 Jiong Wang + + * config/tc-aarch64.c (reloc_table): New relocation modifiers. + (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21. + (aarch64_force_relocation): Ditto. + +2015-07-16 Matthew Wahab + + * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1. + * doc/c-arm.texi (-mfpu=): Likewise. Correct the entry for + neon-fp-armv8.1. + +2015-07-16 James Greenhalgh + + * config/tc-arm.c (md_assemble): Rephrase the "selected processor does + not support ARM mode" error messages. + +2015-07-15 H.J. Lu + + * config/tc-i386.c (flag_compress_debug): Replace + COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB. + +2015-07-14 H.J. Lu + + * as.c (parse_args): Make --compress-debug-sections and + --compress-debug-sections=zlib the same as + --compress-debug-sections=zlib-gabi. + * doc/as.texinfo: Change --compress-debug-sections and + --compress-debug-sections=zlib to zlib-gabi. + +2015-07-09 Catherine Moore + + * config/tc-mips.c (check_fpabi): Handle + VAL_GNU_MIPS_ABI_FP_NAN2008. + +2015-07-08 Ciro Santilli + + * doc/as.texinfo: Clarify case requirements for pseudo ops. + +2015-07-08 Pitchumani Sivanupandi + + * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to + 32 bit PC relative and update offset if the fixup is pc-relative. + * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff + relocs. + +2015-07-03 Alan Modra + + * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860. + * doc/c-ppc.texi (PowerPC-Opts): Likewise. + +2015-07-01 Sandra Loosemore + Cesar Philippidis + + * config/tc-nios2.c (nios2_min_align): New. + (nop): Replace with.... + (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New. + (nios2_align): Handle alignment on 2-byte boundaries when CDX + instructions may be present. + (s_nios2_align): Adjust reference to nop. + (CDXBRANCH, IS_CDXBRANCH): New. + (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New. + (nios2_relax_subtype_size): Handle 2-byte CDX branches. + (nios2_relax_frag): Likewise. + (md_convert_frag): Handle R2 encodings. + (nios2_check_overflow): Check that low-order bits are zero + before applying rightshift from howto. + (nios2_check_overflow): Correct negative overflow calculation. + (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue + generic overflow messages for miscellaneous instruction formats. + (md_apply_fix): Recognize new R2 relocations. For pc_relative + relocations, store fixup in *valP. + (nios2_reglist_mask, nios2_reglist_dir): New. + (nios2_parse_reglist): New. + (nios2_parse_base_register): New. + (nios2_assemble_expression): Handle constant expressions designated + by BFD_RELOC_NONE. + (nios2_assemble_reg3): New. + (nios2_assemble_arg_c): Handle R2 instruction formats. + (nios2_assemble_arg_d): Likewise. + (nios2_assemble_arg_s): Likewise. + (nios2_assemble_arg_t): Likewise. + (nios2_assemble_arg_D): New. + (nios2_assemble_arg_S): New. + (nios2_assemble_arg_T): New. + (nios2_assemble_arg_i): Handle R2 instruction formats. + (nios2_assemble_arg_I): New. + (nios2_assemble_arg_u): Handle R2 instruction formats. + (nios2_assemble_arg_U): New. + (nios2_assemble_arg_V): New. + (nios2_assemble_arg_W): New. + (nios2_assemble_arg_X): New. + (nios2_assemble_arg_Y): New. + (nios2_assemble_arg_o): Handle R2 instruction formats. + (nios2_assemble_arg_O): New. + (nios2_assemble_arg_P): New. + (nios2_assemble_arg_j): Handle R2 instruction formats. + (nios2_assemble_arg_k): New. + (nios2_assemble_arg_l): Handle R2 instruction formats. + (nios2_assemble_arg_m): Likewise. + (nios2_assemble_arg_M): New. + (nios2_assemble_arg_N): New. + (nios2_assemble_arg_e): New. + (nios2_assemble_arg_f): New. + (nios2_assemble_arg_g): New. + (nios2_assemble_arg_h): New. + (nios2_assemble_arg_R): New. + (nios2_assemble_arg_B): New. + (nios2_assemble_args): Handle new argument letters. + (nios2_consume_arg): Likewise. + (nios2_translate_pseudo_insn): Avoid dereferencing null pointer + in error message. + (nios2_ps_insn_info_structs): Add nop.n. + (output_ubranch): Handle CDX branches. + (output_cbranch): Likewise. + (output_call): Handle R2 encodings. + (output_movia): Likewise. + (md_begin): Initialize nios2_min_align. + (md_assemble): Align to nios2_min_align. Adjust nios2_min_align + if a 16-bit instruction is seen. + (nios2_cons_align): Use appropriate nop pattern. + +2015-07-01 Sandra Loosemore + Cesar Philippidis + + * config/tc-nios2.c: Adjust includes. + (OPTION_MARCH): Define. + (md_longopts): Add -march option. + (nios2_architecture): New. + (nios2_use_arch): New. + (md_parse_option): Handle OPTION_MARCH. + (md_show_usage): Document -march. + (md_begin): Set arch in BFD. + (nios2_elf_final_processing): New. + * config/tc-nios2.h (elf_tc_final_processing): Define. + (nios2_elf_final_processing): New. + * doc/c-nios2.texi (-march): Add documentation. + +2015-06-30 Amit Pawar + + * config/tc-i386.c (cpu_arch): Add .mwaitx. + (process_immext): Check operands for monitorx/mwaitx instructions. + * doc/c-i386.texi: Document mwaitx. + +2015-06-28 H.J. Lu + + * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with + COMPRESS_DEBUG_GNU_ZLIB. + * config/tc-i386.c (flag_compress_debug): Likewise. + +2015-06-24 H.J. Lu + + * doc/as.texinfo (.cfi_lsda): Remove the extra @section. + +2015-06-19 Peter Bergner + + * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value. + Allow for optional operands without insert functions. + +2015-06-18 Nick Clifton + + PR gas/18541 + * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb + mode against a nearby symbol. + +2015-06-18 Nick Clifton + + PR gas/18481 + * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32 + in the same case as BFD_RELOC_ARM_TLS_IS32. + +2015-06-17 Nick Clifton + + * config/tc-arm.c (is_double_a_single): Make conditional upon the + availablity of a 64-bit type. Use this type for the argument and + mantissa. + (double_to_single): Likewise. + * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for + the constant value, if available. Generate a 64-bit value from a + bignum if supported. Only perform the second optimization for + PR 18500 if the 64-bit type is available. + +2015-06-17 Alessandro Marzocchi + + PR gas/18500 + * config/tc-arm.c (is_double_a_single): New function. + (double_to_single): New function. + (move_or_literal_pool): Add support for converting VLDR to VMOV. + + PR gas/18499 + * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,= + to MOV.w or MVN.w for Thumb2. + +2015-06-17 Nicolas Pitre + + * as.c (show_usage): Document --sectname-subst. + (parse_args): Add --sectname-subst. + * as.h (flag_sectname_subst): New. + * config/obj-elf.c (obj_elf_section_name): Add %S substitution. + * doc/as.texinfo: Document it. + +2015-06-15 Renlin Li + + * config/tc-aarch64.c (reloc_table): New relocation modifier. + (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15. + (aarch64_force_relocation): Ditto + +2015-06-13 Mark Wielaard + + * dwarf2dbg.c (out_header): Document EXPR->X_add_number value, + out_debug_aranges depends on it. + (out_debug_aranges): Track size of header to properly pad header + for address alignment. + +2015-06-11 John David Anglin + + PR gas/18427 + * gas/config/tc-hppa.c (last_label_symbol): Declare. + (pa_get_label): Return last label in current space/segment or NULL. + (pa_define_label): Record last label and add to root. + (pa_undefine_label): Remove last label from root. + +2015-06-08 Nick Clifton + + * config/tc-rx.c (rx_op): Correct handling of integer bignums. + +2015-06-04 Matthew Wahab + + * NEWS: Mention ARMv8.1 support in the Aarch64 port. + * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a". + * doc/c-aarch64.texi (-march): Add "armv8.1-a". + +2015-06-04 Renlin Li + + * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information + when available. + +2015-06-04 Nick Clifton + + * config/tc-h8300.c (md_section_align): Fix compile time warning + about left shifting a negative value. + +2015-06-03 Matthew Wahab + + * config/tc-arm.c (arm_archs): Add "armv8.1-a". + * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a". + * NEWS: Mention ARMv8.1 support. + +2015-06-02 Matthew Wahab + + * config/tc-arm.c (arm_ext_pan): New. + (do_setpan): New, encode an ARM SETPAN instruction. + (do_t_setpan): New, encode a Thumb SETPAN instruction. + (insns): Add "setpan". + (arm_extensions): Add "pan". + * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor + extensions. + +2015-06-02 Matthew Wahab + + * config/tc-aarch64.c (aarch64_features): Add "rdma". + * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma". + +2015-06-02 Matthew Wahab + + * config/tc-aarch64.c (aarch64_features): Add "lor". + * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of + architecture extensions. + +2015-06-01 Matthew Wahab + + * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target + support. Fix whitespace. + (parse_operands): Update for parse_sys_reg changes. + (aarch64_features): Add "pan". + * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan". + +2015-06-01 Jiong Wang + + * config/tc-aarch64.c (reloc_table): New relocation modifiers. + (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14. + (aarch64_force_relocation): Ditto. + +2015-06-01 Jiong Wang + + * config/tc-aarch64.c (reloc_table): New relocation modifiers. + (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15. + (aarch64_force_relocation): Ditto. + +2015-05-28 Catherine Moore + Bernd Schmidt + Paul Brook + + gas/ + * config/tc-alpha.c (all_cfi_sections): Declare. + (s_alpha_ent): Initialize all_cfi_sections. + (alpha_elf_md_end): Invoke cfi_set_sections. + * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE. + (s_ehword): Use BFD_RELOC_32_PCREL. + (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL. + (mips_cfi_reloc_for_encoding): New function. + * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine. + (DWARF2_FDE_RELOC_ENCODING): Define. + (tc_cfi_reloc_for_encoding): Define. + (mips_cfi_reloc_for_encoding): Define. + (tc_compact_eh_opcode_stop): Define. + (tc_compact_eh_opcode_pad): Define. + * doc/as.texinfo: Document Compact EH extensions. + * doc/internals.texi: Likewise. + * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine. + (tc_cfi_reloc_for_encoding): Provide default. + (compact_eh): Declare. + (emit_expr_encoded): New function. + (get_debugseg_name): Add Compact EH support. + (alloc_debugseg_item): Likewise. + (cfi_set_sections): New function. + (dot_cfi_fde_data): New function. + (dot_cfi_personality_id): New function. + (dot_cfi_inline_lsda): New function. + (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id, + and cfi_inline_lsda. + (dot_cfi_personality): Add Compact EH support. + (dot_cfi_lsda): Likewise. + (dot_cfi_sections): Likewise. + (dot_cfi_startproc): Likewise. + (get_cfi_seg): Likewise. + (output_compact_unwind_data): New function. + (output_cfi_insn): Add Compact EH support. + (output_cie): Likewise. + (output_fde): Likewise. + (cfi_finish): Likewise. + (cfi_emit_eh_header): New function. + (output_eh_header): New function. + * dw2gencfi.h (cfi_set_sections): Declare. + (SUPPORT_COMPACT_EH): Define. + (MULTIPLE_FRAME_SECTIONS): Define. + New enumeration to describe the Compact EH header format. + (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size, + eh_data, eh_loc and sections. + (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target, + CFI_EMIT_eh_frame_compact): Define. + +2015-05-26 Max Filippov + + * config/tc-xtensa.c (xtensa_move_literals): Check that + search_frag is non-NULL. Report error if literal frag is not + found. + +2015-05-22 Nick Clifton + + PR gas/18446 + * read.c (output_big_sleb128): Use U suffix to prevent compile + time warning. + +2015-05-19 Jiong Wang + + * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case + labels alphabetically. + (md_apply_fix): Ditto. + (aarch64_force_relocation): Ditto. + +2015-05-15 H.J. Lu + + PR binutis/18386 + * config/tc-i386.c (OPTION_MAMD64): New. + (OPTION_MINTEL64): Likewise. + (md_longopts): Add -mamd64 and -mintel64. + (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64. + (md_show_usage): Add -mamd64 and -mintel64. + * doc/c-i386.texi: Document -mamd64 and -mintel64. + +2015-05-15 H.J. Lu + + * config/tc-i386.c (shared): New. + (OPTION_MSHARED): Likewise. + (elf_symbol_resolved_in_segment_p): Add relocation argument. + Check PLT relocations and shared. + (md_estimate_size_before_relax): Pass fragP->fr_var to + elf_symbol_resolved_in_segment_p. + (md_longopts): Add -mshared. + (md_show_usage): Likewise. + (md_parse_option): Handle OPTION_MSHARED. + * doc/c-i386.texi: Document -mshared. + +2015-05-14 H.J. Lu + + * write.c (compress_debug): Don't write the zlib header, which + is handled by bfd_update_compression_header. + +2015-05-13 Max Filippov + + * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be + closer than J_RANGE / 2 to jump frag. + +2015-05-11 H.J. Lu + + * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target. + * config/tc-i386.c (i386_mach): Support iamcu. + (i386_target_format): Likewise. + +2015-05-11 H.J. Lu + + * config/tc-i386.c (cpu_arch): Add iamcu. + (i386_align_code): Handle PROCESSOR_IAMCU. + (i386_arch): Likewise. + (i386_mach): Likewise. + (i386_target_format): Likewise. + (valid_iamcu_cpu_flags): New function. + (check_cpu_arch_compatible): Only allow Intel MCU instructions + when targeting Intel MCU. + (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags + are valid for Intel MCU. + (md_parse_option): Likewise. + * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New. + (processor_type): Add PROCESSOR_IAMCU. + * doc/c-i386.texi: Document iamcu. + +2015-05-08 Nick Clifton + + PR gas/18347 + * config/tc-arm.h (TC_EQUAL_IN_INSN): Define. + * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move + the symbol name checking code to here from... + (md_undefined_symbo): ... here. + +2015-05-07 H.J. Lu + + * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New. + (md_estimate_size_before_relax): Use it. + +2015-05-06 Jose E. Marchesi + + * config/tc-sparc.c: Typo in comment fixed. + +2015-05-06 Jose E. Marchesi + + * config/tc-sparc.c (sparc_ip): Support the %ncc "natural" + condition codes + * doc/c-sparc.texi (Sparc-Regs): Document %ncc. + +2015-05-06 Nick Clifton + + * doc/as.texinfo (Dollar Local Labels): Note that these are only + supported on some targets. + +2015-05-06 Renlin Li + + * config/tc-aarch64.c (mapping_state): Recording alignment before exit. + +2015-05-05 Renlin Li + + * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping + symbols. + +2015-05-05 Nick Clifton + + * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096. + (msp430_make_init_symbols): New function. + (msp430_section): Call it. + (msp430_frob_section): Likewise. + +2015-05-02 Max Filippov + + * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs. + (struct cached_fixup, struct fixup_cache): New structures. + (fixup_order, xtensa_make_cached_fixup), + (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups), + (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup), + (xtensa_add_cached_fixup): New functions. + (xtensa_relax_frag): Cache fixups pointing at potentially + oversized jumps at the beginning of every relaxation pass. Only + check subset of this cache in the reach of single jump from the + trampoline frag currently being relaxed. + +2015-05-01 Nick Clifton + + * config/rl78-parse.y (MULU): Remove ISA_G14. + (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings. + +2015-05-01 H.J. Lu + + * config/tc-i386.c (i386_elf_emit_arch_note): Removed. + * config/tc-i386.h (md_end): Likewise. + (i386_elf_emit_arch_note): Likewise. + +2015-05-01 H.J. Lu + + * configure.tgt: Support i386-*-elf*. + +2015-04-30 DJ Delorie + + * config/rl78-defs.h (rl78_isa_g10): New. + (rl78_isa_g13): New. + (rl78_isa_g14): New. + * config/rl78-parse.y (ISA_G10): New. + (ISA_G13): New. + (ISA_G14): New. + (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them. + * config/tc-rl78.c (rl78_isa_g10): New. + (rl78_isa_g13): New. + (rl78_isa_g14): New. + +2015-04-30 H.J. Lu + + * config/tc-i386.c (i386_target_format): Use "else if" on + cpu_arch_isa. + +2015-04-30 Nick Clifton + + PR gas/18347 + * config/tc-arm.c (md_undefined_symbol): Issue a warning message + (if enabled) when the user creates a symbol with the same name as + an ARM instruction. + (flag_warn_syms): New static variable. + (arm_opts): Add mwarn-syms and mno-warn-syms. + * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms + options. + + PR gas/18353 + * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op. + +2015-04-29 Nick Clifton + + PR 18256 + * config/tc-arm.c (encode_arm_cp_address): Issue an error message + if the operand is neither a register nor a vector. + +2015-04-29 Nick Clifton + + * doc/as.texinfo (Set): Note that a symbol cannot be set multiple + times if the expression is not constant and the target uses linker + relaxation. + +2015-04-28 Renlin Li + + * config/tc-arm.c (arm_init_frag): Always emit mapping symbols. + +2015-04-28 Nick Clifton + + PR 18313 + * cond.c (s_if): Stop compile time warning about stopc being used + before it is set. + (s_ifc): Likewise. + +2015-04-27 Renlin Li + + * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text + section. + (md_assemble): Likewise, move the align code outside the loop. + +2015-04-24 Jim Wilson + + * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features + for thunderx. + +2015-04-24 Richard Earnshaw * config/tc-arm.h (arm_min): New function. (SUB_SEGMENT_ALIGN): Define.