X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2FChangeLog;h=2c962951be4aeae8bcf9c3d8fb9038481d0068fc;hb=8a0344f66af84ad4997cc9e9aa02011f7723c07c;hp=ef3ac8b8323355253592a190bf3a8ac187f42e90;hpb=c7b8aa3a72401a50a5736ed70ad8be809f82321c;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index ef3ac8b832..2c962951be 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,467 @@ +2010-09-09 Joseph Myers + + * doc/c-tic6x.texi (.c6xabi_attribute): Document directive. + +2010-09-09 Matthew Gretton-Dann + + * config/tc-arm.c (arm_cpus): Add cortex-a15 entry. + * doc/c-arm.texi: Document -mcpu=cortex-a15. + +2010-09-09 Gunther Nikl + + * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined + weak symbols first if generating an a.out object. + +2010-09-09 Tejas Belagod + + * config/tc-arm.c (md_apply_fix): Check if widened add, sub are + flag-setting and handle accordingly. + +2010-09-09 Nick Clifton + + PR gas/11972 + * config/tc-arm.c (parse_big_immediate): Allow for bignums being + extended to the size of a .octa. + +2010-09-08 Julian Brown + + * config/tc-arm.c (create_neon_reg_alias): Deal with case + sensitivity. + +2010-09-08 Nick Clifton + + PR gas/11973 + * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of + long call instruction's displacement. + +2010-09-03 H.J. Lu + + PR gas/11974 + * config/tc-i386.c (i386_finalize_immediate): Check flag_code + instead of use_rela_relocations for 64bit. + +2010-09-02 Richard Henderson + + * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default. + (output_fde): Use it. Make sure to fully init exp before using it. + +2010-08-31 Kai Tietz + + * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison. + (obj_coff_seh_stackalloc): Likewise. + +2010-08-31 Alan Modra + + * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion. + +2010-08-30 Richard Henderson + + * config/obj-coff-seh.c: Rewrite the entire file. + (symtab, symptr, reltab, relcount, relsize): Remove. + (seh_ctx_root, seh_ctx): Remove. + (xdata_seg, xdata_subseg, pdata_seg): New. + (switch_xdata, switch_pdata): New. + (verify_context, verify_context_and_target, skip_whitespace_and_comma): + New parsing functions. Rewrite all parsing functions to use them. + (obj_coff_seh_32): Fix != arm thinko. + (obj_coff_seh_handler): For x64, don't accept handler pointer here, + only flags. + (obj_coff_seh_handlerdata): New. + (do_seh_endproc): Split out of ... + (obj_coff_seh_endproc): ... here. + (obj_coff_seh_proc): Use it, if needed. + (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now. + (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg + alternatives. Don't slurp commas. + (seh_read_offset): Remove. + (obj_coff_seh_pushframe): Split out from obj_coff_seh_push. + (obj_coff_seh_scope): Remove. + (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately. + (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately. + (out_one, out_two, out_four): New. + (seh_x64_write_prologue_data, seh_x64_size_prologue_data, + seh_x64_write_function_xdata, write_function_xdata): Rewrite + from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data, + seh_getelm_data_size, seh_getsize_of_unwind_entry, + seh_make_unwind_entry, seh_getsize_unwind_data, and + seh_create_unwind_data. + (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata. + (write_function_pdata): Rewrite from make_function_entry_pdata. + (seh_write_text_eh_data, make_function_entry_pdata, + seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs, + seh_symbol_init, seh_symbol, quick_section, seh_emit_rva, + seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section, + seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms, + seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size, + seh_getsize_of_unwind_entry, seh_make_unwind_entry, + seh_getsize_unwind_data, seh_create_unwind_data, + seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove. + * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope. + Add seh_handlerdata. Adjust function/what arguments for + seh_savereg, seh_pushframe, seh_stackalloc. + (struct seh_prologue_element): Adjust members to closer match + the elements of the UNWIND_CODE structure. + (struct seh_scope_elem): Remove. + (struct seh_context): Replace char* members with symbolS or + expressionS as appropriate. Sort members by ARM/x64 applicability. + Remove obsolete stuff wrt direct symbol and reloc manipulation. + +2010-08-25 Alan Modra + + * NEWS: Mention ampersand in macro change. + +2010-08-25 Gunther Nikl + + * configure.tgt (m68k-*-aout): Change to bfd_gas=yes. + +2010-08-25 Alan Modra + + * config/tc-d10v.c (do_assemble): Correctly detect overflow of + "name" buffer. + * config/tc-m68hc11.c (md_assemble): Likewise. + * config/tc-microblaze.c (md_assemble): Likewise. Correct cast + of is_end_of_line index. + +2010-08-25 Jie Zhang + + * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment. + +2010-08-25 Jie Zhang + + * config/tc-arm.c (encode_arm_addr_mode_2): Fix + BAD_PC_ADDRESSING condition. + +2010-08-20 Maciej W. Rozycki + + * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16. + +2010-08-19 H.J. Lu + + * config/tc-i386.c (VEX_check_operands): Fix a typo in comments. + +2010-08-18 H.J. Lu + + * config/tc-i386.c (build_modrm_byte): Check i.imm_operands + instead of VEXXDS. + +2010-08-18 Alan Modra + + * macro.c (sub_actual): Add back ampersand suffix when no + substitution. + (macro_expand_body): Correct comment. + +2010-08-17 Roland McGrath + + * config/obj-elf.c (obj_elf_parse_section_letters): Take new + boolean result parameter CLONE; set it if '?' flag letter seen. + (obj_elf_section): Update caller. Handle that flag by copying + the LINKONCE and GROUP_NAME state from NOW_SEG. + * doc/as.texinfo (Section): Document the ? flag. + +2010-08-09 Cary Coutant + + * as.c (show_usage): Don't list --compress-debug-sections if zlib not + installed. + (main): Warn if --compress-debug-sections requested and zlib not + installed. + * doc/as.texinfo: Add --compress-debug-sections, + --nocompress-debug-sections. + +2010-08-06 H.J. Lu + + * config/tc-i386.c (set_cpu_arch): Re-indent. + (md_parse_option): Likewise. + +2010-08-06 Quentin Neill + + * config/tc-i386.c (arch_entry): Add negated bit to + disambiguate flag names starting with "no". + (cpu_arch): Add negated bit definitions. Add + ".nop" CPU extension. + (i386_align_code): Use new .cpunop bit to decide + when to generate alignment using nops. + (set_cpu_arch): Use negated bit instead to decide + when to use cpu_flags or vs. cpu_flags_and_not. + (md_parse_option): Likewise. + +2010-08-04 H.J. Lu + + * config/tc-i386.c (match_template): Move the first i.error + out of the loop. + +2010-08-04 Alan Modra + + * configure.tgt (m32c): Set endian=little. + * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0. + * config/tc-m32c.c (md_number_to_chars): Revert last change. + +2010-08-03 Tristan Gingold + + * makefile.vms (OBJS): Add Add compress-debug.c. + +2010-08-03 Alan Modra + + * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1. + * config/tc-m32c.c (md_number_to_chars): Call bigendian + form of number_to_chars, not littleendian. + +2010-08-02 Alan Modra + + * config/tc-d30v.c (d30v_cons_align): Don't align constants + in debug sections. + +2010-08-02 Alan Modra + + PR gas/11867 + * expr.c (operand <'-' and '~'>): Widen bignums. + (operand <'!'>): Correct bignum result and convert to O_constant. + * read.c (emit_expr): Don't assert on .byte bignum. Don't display + bignum truncated warning for sign extended bignums. + +2010-08-02 Alan Modra + + * config/tc-v850.c (md_assemble): Always pass format string to + as_warn. + (md_apply_fix): Similarly for as_warn_where. + +2010-07-29 H.J. Lu + + * config/tc-i386-intel.c: Reformat. + +2010-07-29 Alan Modra + + * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used + in large toc code. + +2010-07-28 Alan Modra + + PR gas/11841 + * symbols.c (symbol_clone): Correct typo in previous patch. + +2010-07-28 Alan Modra + + PR gas/11841 + * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag. + +2010-07-28 Alan Modra + + * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in + syntax error message. + +2010-07-27 Maciej W. Rozycki + + * config/tc-mips.c (mips16_macro_build): Pass "args" by + reference rather than value. + (macro_build): Update accordingly. + +2010-07-27 Maciej W. Rozycki + + * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create + a fake label. + +2010-07-24 Maciej W. Rozycki + + * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR + delay slot in the noreorder mode with the o32 ABI. + +2010-07-23 Naveen.H.S + Ina Pandit + + * config/tc-v850.c: Update processor_mask. + (reg_name): Update the structure to use processors field. + (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22, + SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32, + SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22, + SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and + SUBYPTE_SA_9_17_22_32. + (set_machine): Add support for V850E2 and V850E2V3. + (md_pseudo_table): Likewise. + (pre_defined_registers): Update pre defined registers suitable + for each family of registers. + (system_registers): Likewise. + (cc_names): Update the condition code. + (float_cc_names): Update the condition code for float. + (reg_name_search): Update based on current modifications. + (register_name): Likewise. + (system_register_name): Update to support new system registers + and supported families. + (cc_name): Update to support new condition codes. + (float_cc_name): New function to support float condition codes. + (parse_register_list): Update to support newly added registers. + (md_show_usage): Define support for V850E2 and V850E2V3 targets. + Also support added for disp-size-default-22, disp-size-default-32, + mextension, mno-bcond17 and mno-stld23. + (md_parse_option): Implement the support for above options defined + in md_show-usage. + (md_convert_frag): Implement support for subtypes defined in + md_relax_table to support branch operations. + (md_begin): Add support for V850E2 and V850E2V3. + (handle_hi016, handle_hi16): new relocation handling functions + (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff, + handle_tdaoff): Updated relocation handling functions for newly + added relocations. + (v850_reloc_prefix): Update the relocation handling functions. + (v850_insert_operand): Updated the functions with error message + parameter and modified the function to use it. + (md_assemble): Update according to the latest modifications. + (md_apply_fix): Updated the functions with error message parameter + and modified the function to use it. + (v850_force_relocation): Update with newly added relocations. + * configure.tgt: Match all v850 targets. + * doc/c-v850.texi: Document the newly added targets. + * NEWS: Likewise. + +2010-07-23 Alan Modra + + PR gas/11834 + * macro.c (macro_expand): Recover gracefully from named args that + don't match params. + +2010-07-22 Thomas Schwinge + + Switch MIPS to 32-bit DWARF format. + * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX]. + * config/tc-mips.c (mips_dwarf2_format): Likewise. + +2010-07-20 Alan Modra + + * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many. + +2010-07-16 Alan Modra + + * config/tc-rx.c (md_estimate_size_before_relax): Fix format + specifier warnings for 32-bit host when --enable-64-bit-bfd. + (rx_relax_frag, md_convert_frag): Likewise. + +2010-07-15 Cary Coutant + + * gas/NEWS: Add note about --compress-debug-sections. + * gas/as.c (show_usage): Add --compress-debug-sections and + --nocompress-debug-sections. + +2010-07-15 Rhonda Wittels + + * config/obj-elf.c (get_sym_from_input_line_and_check): New + function to catch missing pseudo-op arguments. + (obj_elf_local): Call new function. + (obj_elf_weak): Likewise. + (obj_elf_visibility): Likewise. + (obj_elf_vtable_entry): Likewise. + (obj_elf_type): Likewise. + +2010-07-15 Kai Tietz + + * config/obj-coff-seh.c + (seh_getelm_data_size): New. + (seh_read_offset): Handle negative values. + (obj_coff_seh_push): Handle offset for save-register store. + (obj_coff_seh_setframe): Add unwind-information for frame. + (seh_store_elm_data): New. + (seh_getelm_data_size): Return additionally unaligned element count. + (seh_make_unwind_entry): Correct tweak about element count. + +2010-07-12 H.J. Lu + + PR gas/11806 + * config/tc-i386-intel.c (i386_intel_simplify): Restore fall + through patch for O_multiply. + +2010-07-11 Kai Tietz + + PR ld/11612 + * config/obj-coff.c (obj_common_parse): Quote symbol-name. + +2010-07-08 Tejas Belagod + + * tc-arm.c (OP_oBARRIER): Remove. + (OP_oBARRIER_I15): Add. + (po_barrier_or_imm): Add macro. + (parse_operands): Improve OP_oBARRIER_I15 operand parsing. + (do_barrier): Check correct immediate range. + (do_t_barrier): Likewise. + (barrier_opt_names): Add entries for more symbolic operands. + (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers. + +2010-07-08 Daniel Gutson + + * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM + error message. + +2010-07-06 Maciej W. Rozycki + + * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match + symbols. + +2010-07-06 Maciej W. Rozycki + + * config/tc-mips.c (nops_for_insn_or_target): Replace + MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and + MIPS16_INSN_COND_BRANCH. + +2010-07-05 Jim Wilson + + PR gas/10531 + PR gas/11789 + * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section + if it isn't empty. + +2010-07-05 Alan Modra + + * config/tc-moxie.c (md_apply_fix): Delete set but otherwise + unused var. + +2010-07-04 H.J. Lu + + * Makefile.am (CONFIG_OBJS): Removed. + (GENERIC_OBJS): Likewise. + (OBJS): Likewise. + * Makefile.in: Regenerated. + +2010-07-03 Jan Beulich + + PR gas/11732 + * config/tc-i386.c (i386_finalize_displacement): Don't call + section_symbol() with expr_section. + +2010-07-03 Cary Coutant + + * Makefile.am: Add compress-debug.c and compress-debug.h. + * Makefile.in: Regenerate. + * config.in: Add HAVE_ZLIB_H. + * configure.in: Check for zlib.h. + * configure: Regenerate. + + * as.c (parse_args): Add --compress-debug-sections and + --nocompress-debug-sections. + * as.h (flag_compress_debug): New variable. + * compress-debug.c: New file. + * compress-debug.h: New file. + * write.c: Include compress-debug.h. + (compress_frag): New function. + (compress_debug): New function. + (write_object_file): Compress debug sections if requested. + +2010-07-03 Andreas Schwab + + * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t + before inverting. + +2010-07-03 Alan Modra + + * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags. + (ppc_setup_opcodes): Likewise. Simplify opcode selection. + +2010-07-02 DJ Delorie + + * config/tc-rx.h (md_do_align): New. + (MAX_MEM_FOR_RS_ALIGN_CODE): New. + * config/tc-rx.c (nops): New. + (rx_handle_align): Use various sized nops to align code. + + * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for + relaxation. + (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc. + 2010-07-01 H.J. Lu AVX Programming Reference (June, 2010) @@ -18,11 +482,6 @@ (ppc_frob_file_before_adjust): Don't warn about toc section size if we have large toc relocs and no small toc relocs. -2010-06-29 Alan Modra - - * config/tc-moxie.c (md_apply_fix): Delete set but otherwise - unused variable. - 2010-06-29 Alan Modra * config/tc-maxq.h: Delete file. @@ -106,7 +565,6 @@ 2010-06-22 Jan Beulich - PR gas/11732 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo symbols named "$". (i386_intel_operand): Remove bogus handling of pseudo symbols