2009-08-18 Sterling Augustine <sterling@tensilica.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
index bf7dc296693d187dc22171d751e39f1f0f662840..4a24a4965fbc43b834db207aad036026062261b8 100644 (file)
@@ -1,3 +1,396 @@
+2009-08-18  Sterling Augustine  <sterling@tensilica.com>
+
+       * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
+       sizeof instead of hard-coded value.
+       (add_xt_block_frags): Remove unused local variable.
+       (frag_flags_to_number): Change return type to flagword.  Remove
+       unused local variable.
+
+2009-08-17  Sterling Augustine  <sterling@tensilica.com>
+
+       * config/tc-xtensa.c (xtensa_frob_label): move call to 
+       do_align_targets to set frag_type only.
+
+2009-08-17  Kai Tietz  <kai.tietz@onevision.com>
+
+       * config/obj-coff-seh.c: New file.
+       * config/obj-coff-seh.h: Likewise.
+       * config/obj-coff.c (obj-coff-seh.c): Add include.
+       (coff_pseudo_table): Add new .seh... commands.
+       * config/obj-coff.h (obj_coff_seh_do_final): Add new
+       function prototype.
+       (obj_coff_generate_pdata): New obj-coff hook.
+       * gas/write.c (size_seg): Avoid sizing of already sized
+       sections.
+       (write_object_file): Call conditional hook
+       objc_coff_generate_pdata.
+       * Makefile.am: Add dependencies for new files.
+       * Makefile.in: Regenerated.
+
+2009-08-17  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
+       (parse_reg): Use safe-ctype.h macros.
+       (parse_exp): Likewise.
+       (md_assemble): Likewise.
+
+2009-08-11  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
+       symbols correctly.
+       (md_convert_frag): Likewise.
+       (md_pcrel_from_section): Likewise.
+       (mep_force_relocation): Likewise.
+
+2009-08-11  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * config/bfin-parse.y (gen_multi_instr_1): New function.
+       (asm): Use it instead of bfin_gen_multi_instr.
+       (error): Add a format string when calling as_bad.
+       * config/bfin-defs.h (insn_regmask): Declare.
+       * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
+       macros.
+       (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
+       decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
+       decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
+       decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
+       insn_regmask): New functions.
+
+       From Jie Zhang  <jie.zhang@analog.com>
+       * config/tc-bfin.h (bfin_anomaly_checks): Declare.
+       (AC_05000074): Define.
+       (ENABLE_AC_05000074): Define.
+       * config/tc-bfin.c (enum bfin_cpu_type): New.
+       (bfin_cpu_t): Typedef.
+       (bfin_cpu_type): Define.
+       (bfin_si_revision): Define.
+       (bfin_anomaly_checks): Define.
+       (struct bfin_cpu): New.
+       (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
+       (bfin_isa): New global variable.
+       (OPTION_MCPU): Define.
+       (md_longopts[]): Add -mcpu option.
+       (md_parse_option): Deal with -mcpu option and initialize
+       bfin_anomaly_checks.
+       * doc/c-bfin.texi: Rename BFIN to Blackfin throughout.  Document
+       -mcpu option.
+       * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
+       05000074.
+
+2009-08-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/bfin-parse.y (binary): Change "compiler" to "assembler".
+       (unary): Likewise.
+
+2009-08-11  Nick Clifton  <nickc@redhat.com>
+
+       PR 10443
+       * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
+       operands.
+
+2009-08-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix compilation of i386-*-go32.
+       * config/tc-i386.c (i386_target_format <TE_GO32>): New.
+       (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
+       * config/te-go32.h (TARGET_FORMAT): Move the definition ...
+       * config/tc-i386.h <!i386_target_format>: ... here.
+
+2009-08-10  Daniel Gutson  <dgutson@codesourcery.com>
+
+       PR gas/10479
+       * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
+
+2009-08-07  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
+       variables.
+       (mapping_state): Use the section's mapstate.
+       (mapping_state_2): Likewise.  Skip special sections.
+       (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
+       (arm_elf_change_section): Do not set deleted globals.
+       * config/tc-arm.h (struct arm_segment_info_type): Document
+       marked_pr_dependency.
+
+2009-08-07  Michael Eager <eager@eagercon.com>
+
+       * NEWS: Mention MicroBlaze support.
+
+2009-08-06  Michael Eager <eager@eagercon.com>
+
+       * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
+       TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add 
+       DEP_microblaze_elf target.
+       * Makefile.in: Regenerate.
+       * config/tc-microblaze.c: Add MicroBlaze assembler.
+       * config/tc-microblaze.h: Add header for tc-microblaze.c.
+       * configure.in: Add microblaze target.
+       * configure: Regenerate.
+       * configure.tgt: Same. 
+       * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
+       * doc/Makefile.in: Same.
+       * doc/all.texi: Set MICROBLAZE.
+       * doc/as.texinfo: Add MicroBlaze doc links.
+       * doc/c-microblaze.texi: New MicroBlaze docs.
+
+2009-08-06  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (md_assemble): Call mapping_state from inside a
+       block in case it is a null macro.
+
+2009-08-05  Chao-ying Fu  <fu@mips.com>
+
+       * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
+       true for new abi.  For non-IRIX targets, it is always true.
+       (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
+
+2009-08-05  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
+       attiny861a, atmega644pa, attiny24a, attiny44a.
+       * doc/c-avr.texi: Likewise.
+
+2009-08-04  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
+       * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
+
+2009-08-04  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-arm.c (my_get_expression): Detect missing expressions.
+
+2009-08-02  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
+       * doc/c-avr.texi: Likewise.
+
+2009-08-01  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
+       * doc/c-avr.texi: Likewise.
+
+2009-07-31  Daniel Gutson  <dgutson@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
+       * config/tc-arm.c (make_mapping_symbol): New function, from
+       mapping_state.  Save mapping symbols in the frag.
+       (insert_data_mapping_symbol): New.
+       (mapping_state): Use make_mapping_symbol, improve state transitions.
+       (mapping_state_2): New.  Provide dummy definition.
+       (opcode_select): Do not call mapping_state.
+       (s_bss): Call md_elf_section_change_hook instead of mapping_state.
+       (output_inst): Update use of tc_frag_data.
+       (new_automatic_it_block): Call mapping_state before emitting the
+       IT instruction.
+       (md_assemble): Move mapping_state to just before outputting the
+       new instruction.
+       (arm_handle_align): Update use of tc_frag_data.
+       Call insert_data_mapping_symbol.
+       (arm_init_frag): Update use of tc_frag_data.  Call
+       mapping_state_2.
+       (arm_elf_change_section): Always update the mapping symbol FSM state.
+       (check_mapping_symbols): New function.
+       (arm_adjust_symtab): Use check_mapping_symbols.
+       * config/tc-arm.h (struct arm_frag_type): New.
+       (TC_FRAG_TYPE): Change to struct arm_frag_type.
+       (TC_FRAG_INIT): Pass max_chars.
+       (arm_init_frag): Update prototype.
+
+2009-07-31  Anthony Green  <green@moxielogic.com>
+
+       * configure.tgt (generic_target): Add moxie-uclinux support.
+
+2009-07-30  Nick Clifton  <nickc@redhat.com>
+
+       * doc/c-arm.texi (ARM-Instruction-Set): New node.  Documents the
+       different syntaxes support by the ARM port.
+       (ARM Directives): Add entry for .syntax.
+
+       * doc/c-mips.texi (MIPS insn): Fix typo.
+
+2009-07-29  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/10269
+       * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
+       * config/tc-i386.c: Revert 2009-06-13 change.
+       * config/tc-i386.h: Likewise.
+
+2009-07-28  Jan Beulich  <jbeulich@novell.com>
+
+       * expr.c (op_rank): Specify size. Remove O_md* initializers.
+
+2009-07-27  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * config/tc-m68k.c (mcf5221x_ctrl): New.
+       (m68k_cpu): Add line for MCF5221x.
+
+2009-07-27  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
+       (mcf53017_ctrl): Fix RAMBAR.
+
+2009-07-27  Jan Beulich  <jbeulich@novell.com>
+
+       * obj-elf.c (elf_file_symbol): Replace symbol name set up by
+       symbol_new() with the passed in, unmodified one.
+
+2009-07-27  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
+       object file without symbol values.
+       (tc_gen_reloc): For local symbols resolved or its absolute symbol,
+       then set the relocation type as NULL. 
+
+2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (cpu_arch): Add l1om.
+       (check_cpu_arch_compatible): New.
+       (set_cpu_arch): Use it.
+       (i386_arch): New.
+       (i386_mach): Return bfd_mach_l1om for Intel L1OM.
+       (md_show_usage): Display l1om.
+       (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
+       cpu_arch_isa_flags.bitfield.cpul1om is set.
+
+       * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
+       (i386_arch): New.
+       (ELF_TARGET_L1OM_FORMAT): Likewise.
+
+       * doc/c-i386.texi: Document l1om.
+
+2009-07-24  Roland McGrath  <roland@redhat.com>
+           Mark Wielaard  <mjw@redhat.com>
+
+       * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
+       flags on .comment section.
+
+2009-07-24  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
+       * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
+       (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
+
+2009-07-24  Jan Beulich  <jbeulich@novell.com>
+
+       * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
+       .nosse, and .noavx.
+       (cpu_flags_and_not): New.
+       (set_cpu_arch): Check whether sub-architecture specified is a
+       feature disable.
+       (md_parse_option): Likewise.
+       (parse_real_register): Don't return floating point register
+       when x87 functionality is disabled.
+       (md_show_usage): Add new sub-options.
+       * doc/c-i386.texi: Update with new command line sub-options.
+
+2009-07-24  Nick Clifton  <nickc@redhat.com>
+
+       PR 10437
+       * config/tc-alpha.c: Fix up uses of gas printf like functions so
+       that the format string is a constant string.  Add translation
+       support to message strings.
+       * config/tc-arc.c: Likewise.
+       * config/tc-arm.c: Likewise.
+       * config/tc-cris.c: Likewise.
+       * config/tc-fr30.c: Likewise.
+       * config/tc-frv.c: Likewise.
+       * config/tc-h8300.c: Likewise.
+       * config/tc-hppa.c: Likewise.
+       * config/tc-i370.c: Likewise.
+       * config/tc-i960.c: Likewise.
+       * config/tc-ia64.c: Likewise.
+       * config/tc-m32r.c: Likewise.
+       * config/tc-mep.c: Likewise.
+       * config/tc-mips.c: Likewise.
+       * config/tc-moxie.c: Likewise.
+       * config/tc-msp430.c: Likewise.
+       * config/tc-openrisc.c: Likewise.
+       * config/tc-pdp11.c: Likewise.
+       * config/tc-pj.c: Likewise.
+       * config/tc-s390.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-sh64.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+       * config/tc-spu.c: Likewise.
+       * config/tc-tic30.c: Likewise.
+       * config/tc-tic4x.c: Likewise.
+       * config/tc-tic54x.c: Likewise.
+       * config/tc-v850.c: Likewise.
+       * config/tc-xc16x.c: Likewise.
+       * config/tc-xstormy16.c: Likewise.
+       * config/tc-z80.c: Likewise.
+       * config/tc-z8k.c: Likewise.
+       * config/atof-ieee.c: Add translation support to as_warn
+       messages.
+       * config/obj-coff.c: Likewise.
+
+2009-07-23  Ulrich Drepper  <drepper@redhat.com>
+
+       * config/obj-elf.c (obj_elf_type): Add code to support a type of
+       gnu_unique_object.
+       * doc/as.texinfo: Document new feature of .type directive.
+       * NEWS: Mention support for gnu_unique_object symbol type.
+
+2009-07-23  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/10379
+       * doc/c-mips.texi (MIPS insn): Document the special behaviour of
+       the .global directive for MIPS ports.
+
+2009-07-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/10420
+       * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
+       64bit.
+       (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
+       for 64bit.
+
+2009-07-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (md_assemble): Update operand types.
+       (update_imm): Updated.
+       (finalize_imm): Update the first 2 immediate operands only
+       for instructions with 2 operands or more.
+
+2009-07-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (md_assemble): Check implicit registers
+       only for instructions with 3 operands or less.
+
+2009-07-17  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
+       compile time warning.
+
+2009-07-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (md_assemble): Only check i.operands for AX.
+       (md_estimate_size_before_relax): Don't relax IFUNC symbols.
+
+2009-07-16  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
+       the offset for REL targets here.
+
+2009-07-15  Kai Tietz  <kai.tietz@onevision.com>
+
+       * listing.c (print_source): Initialize cache by NULL.
+
+2009-07-15  Daniel Gutson  <dgutson@codesourcery.com>
+
+       * doc/c-arm.texi (mauto-it): Removed old option.
+       (mimplicit-it): Added right option.
+
+2009-07-14  Daniel Gutson  <dgutson@codesourcery.com>
+
+       * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
+       (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
+       MAX_MEM_ALIGNMENT_BYTES.
+       * config/tc-arm.c (arm_frag_align_code): Replace hard coded
+       constant with MAX_MEM_FOR_RS_ALIGN_CODE.
+
 2009-07-14  Nick Clifton  <nickc@redhat.com>
 
        PR 10387
        * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
        (build_modrm_byte): Add support to handle FMA4 instructions.
        (md_show_usage): Add fma4.
-       
+
 2009-07-04  Alan Modra  <amodra@bigpond.net.au>
 
        * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
        (i386_target_format): Add a case for bfd_target_mach_o_flavour.
        * config/obj-macho.h: New file.
        * config/obj-macho.c: New file.
-       
+
 2009-07-01  Nick Clifton  <nickc@redhat.com>
 
        PR 10168
        * config/tc-mep.h ((mep_relax_frag): New.
 
 2009-06-22  Martin Thuresson  <martin@mtme.org>
-       
+
        * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
        gas/config/atof-ieee.c, gas/config/obj-aout.c,
        gas/config/obj-coff.c, gas/config/obj-ecoff.c,
        (insns_between): Add 24k errata checks.
        (append_insn): Remove declaration and references to nhdx_24k.
        Remove calls to check_for_24k_errata.
-           
+
 2009-05-26  Nick Clifton  <nickc@redhat.com>
 
        * po/id.po: Updated Indonesian translation.
        (md_assemble): Remove DREX handling support.
        (process_operands): Remove DREX, SSE5 support.
        (i386_insn): Remove DREX.
-       
+
 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
 
        * Makefile.am: Run "make dep-am".
        BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
        BFD_RELOC_THUMB_PCREL_BRANCH25.
        (arm_apply_sym_value): New function.
-       
+
 2009-05-04  Tristan Gingold  <gingold@adacore.com>
 
        * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
This page took 0.057592 seconds and 4 git commands to generate.