gas/
[deliverable/binutils-gdb.git] / gas / ChangeLog
index d404597823f4b5e0829a0d3cc88edf95460df46c..f2f48dfacfc5c5b15bd4186a6529373e8a57b392 100644 (file)
@@ -1,3 +1,438 @@
+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-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
+       (ARM_IS_FUNC): Likewise.
+
+2009-07-14  Daniel Gutson  <dgutson@codesourcery.com>
+
+       * config/tc-arm.c (md_assemble): Added validation.
+
+2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerated.
+
+2009-07-10  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
+       elf/dwarf2.h.
+       (DEPTC_alpha_elf): Likewise.
+       (DEPTC_alpha_evax): Likewise.
+       (DEPTC_arm_elf): Likewise.
+       (DEPTC_hppa_elf): Likewise.
+       (DEPTC_i386_aout): Likewise.
+       (DEPTC_i386_coff): Likewise.
+       (DEPTC_i386_elf): Likewise.
+       (DEPTC_m68k_aout): Likewise.
+       (DEPTC_m68k_coff): Likewise.
+       (DEPTC_m68k_elf): Likewise.
+       (DEPTC_mips_coff): Likewise.
+       (DEPTC_mips_ecoff): Likewise.
+       (DEPTC_mips_elf): Likewise.
+       (DEPTC_ppc_coff): Likewise.
+       (DEPTC_ppc_elf): Likewise.
+       (DEPTC_s390_elf): Likewise.
+       (DEPTC_sh_coff): Likewise.
+       (DEPTC_sh_elf): Likewise.
+       (DEPTC_sh64_elf): Likewise.
+       (DEPTC_sparc_aout): Likewise.
+       (DEPTC_sparc_coff): Likewise.
+       (DEPTC_sparc_elf): Likewise.
+       (as.o): Likewise.
+       (dwarf2dbg.o): Likewise.
+       (dw2gencfi.o): Likewise.
+       (ehopt.o): Likewise.
+       (read.o): Likewise.
+       * Makefile.in: Rebuild.
+       * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
+       * dwarf2dbg.c: Likewise.
+       * ehopt.c: Likewise.
+
+2009-07-09  Daniel Gutson  <dgutson@codesourcery.com>
+
+       * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
+       (set_it_insn_type_nonvoid): New macro.
+       (emit_thumb32_expr): New function.
+       (thumb_insn_size): New function.
+       (emit_insn): New function.
+       (s_arm_elf_inst): New function.
+       (md_pseudo_table): New pseudo-opcode entries added.
+       * doc/c-arm.texi: New directive added.
+
+2009-07-07  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-mep.c (md_begin): Don't reset the coprocessor options
+       when enabling other options without a specific configuration.
+
+2009-07-07  Chung-Lin Tang  <cltang@pllab.cs.nthu.edu.tw>
+
+       * config/tc-arm.c (insns): Fix encoding for torvsc.
+
+2009-07-06  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
+
+       * 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.
+
+2009-07-02  Tristan Gingold  <gingold@adacore.com>
+
+       * Makefile.am (OBJ_FORMATS): Add macho.
+       (CPU_OBJ_VALID): Ditto.
+       (OBJ_FORMAT_CFILES): Add config/obj-macho.c
+       (OBJ_FORMAT_HFILES): Add config/obj-macho.h
+       (obj-macho.o): New rule.
+       * Makefile.in: Regenerated.
+       * configure.tgt (generic_target): Add i386-*-darwin*.
+       * config/tc-i386.h: Use i386_target_format for Mach-O.
+       * config/tc-i386.c (i386_target_format): Define it for Mach-O.
+       (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-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
+       PKHBT.
+
+2009-07-01  Paul Brook <paul@codesourcery.com>
+
+       * config/tc-arm.c (MISSING_FNSTART): Define.
+       (s_arm_unwind_fnstart): Diagnose duplicate directive.
+       (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
+       s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
+       s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
+       s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
+       not inside function unwinding region.
+
+2009-06-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c: Reformat.
+
+2009-06-23  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
+       32 bits for relaxable branches so that we can relax them later.
+       (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
+       (mep_relax_frag): New.
+       (md_convert_frag): Relax IVC2 branches in-place.
+       * 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,
+       gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
+       gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
+       gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
+       gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
+       gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
+       gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
+       gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
+       gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
+       gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
+       gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
+       gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
+       gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
+       gas/config/tc-s390.c, gas/config/tc-score.c,
+       gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
+       gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
+       gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
+       gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
+       gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
+       gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
+       gas macro `assert' to `gas_assert'.
+
+2009-06-22  Daniel Gutson <dgutson@codesourcery.com>
+
+       * config/tc-arm.c (implicit_it_mode): New enum.
+       (implicit_it_mode): New global.
+       (it_instruction_type): New enum.
+       (arm_parse_it_mode): New function.
+       (arm_long_opts): New option added.
+       (arm_it): New field.
+       (it_state): New enum.
+       (now_it): New macro.
+       (check_it_blocks_finished): New function.
+       (insns[]): Use the IT Thumb opcodes for ARM too.
+       (arm_cleanup): Call check_it_blocks_finished.
+       (now_it_compatible): New function.
+       (conditional_insn): New function.
+       (set_it_insn_type): New macro.
+       (set_it_insn_type_last): New macro.
+       (do_it): Call automatic IT machinery functions.
+       (do_t_add_sub): Likewise
+       (do_t_arit3): Likewise.
+       (do_t_arit3c): Likewise.
+       (do_t_blx): Likewise.
+       (do_t_branch): Likewise.
+       (do_t_bkpt): Likewise.
+       (do_t_branch23): Likewise.
+       (do_t_bx): Likewise.
+       (do_t_bxj): Likewise.
+       (do_t_cps): Likewise.
+       (do_t_cpsi): Likewise.
+       (do_t_cbz): Likewise.
+       (do_t_it): Likewise.
+       (encode_thumb2_ldmstm): Likewise.
+       (do_t_ldst): Likewise.
+       (do_t_mov_cmp): Likewise.
+       (do_t_mvn_tst): Likewise.
+       (do_t_mul): Likewise.
+       (do_t_neg): Likewise.
+       (do_t_setend): Likewise.
+       (do_t_shift): Likewise.
+       (do_t_tb): Likewise.
+       (output_it_inst): New function.
+       (new_automatic_it_block): New function.
+       (close_automatic_it_block): New function.
+       (now_it_add_mask): New function.
+       (it_fsm_pre_encode): New function.
+       (handle_it_state): New function.
+       (it_fsm_post_encode): New function.
+       (force_automatic_it_block_close): New function.
+       (in_it_block): New function.
+       (md_assemble): Call automatic IT block machinery functions.
+       (arm_frob_label): Likewise.
+       (arm_opts): New element.
+       * config/tc-arm.h (it_state): New enum.
+       (current_it): New struct.
+       (arm_segment_info_type): New member added.
+       * doc/c-arm.texi: New option -mimplicit-it documented.
+
+2009-06-20  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 10302
+       * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
+
+2009-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * config/tc-s390.c (md_gather_operands): Accept an instruction
+       without operands if all operands are tagged as optional.
+
+2009-06-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 10169
+       * gas/tc-arm.c (do_t_ssat): Move common code from here...
+       (do_t_usat): ... and here to...
+       (do_t_ssat_usat): New function: ... here.  Add code to check that
+       the shift value, if present, is in range.
+
+2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       Merge cegcc and mingw32ce target name changes
+       from CeGCC project:
+
+       2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * configure.tgt: Add arm*-*-cegcc* target.
+
+       2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * configure.tgt: Add arm-*-mingw32ce* target.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * config/tc-vax.c (md_estimate_size_before_relax): Accept
+       indirect symbol references in the PIC mode and emit a
+       PC-relative relocation instead of a GOT/PLT one.  Likewise
+       for symbols known to be hidden at this point.
+
+2009-06-15  Nick Clifton  <nickc@redhat.com>
+
+       PR 10186
+       * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
+       instruction.
+
+2009-06-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/10269
+       * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
+       instead of generic_force_reloc.
+
+       * config/tc-i386.h (TC_FORCE_RELOCATION): New.
+
+2009-06-11  Anthony Green  <green@moxielogic.com>
+
+       * config/tc-moxie.c (md_chars_to_number): Define.
+       (md_begin): Populate opcode hashtable with more form 3 opcodes.
+       (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
+       (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
+       (tc_gen_reloc): Ditto.
+       (md_pcrel_from): Ditto.
+       (md_chars_to_number): New function.
+
+2009-06-10  Anthony Green  <green@moxielogic.com>
+
+       * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
+       opcodes.
+
+2009-06-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR gas/10255
+       * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
+       to DW_CFA_advance_loc4.
+
+2009-06-08  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR gas/977
+       * config/tc-i386.c (md_estimate_size_before_relax):  Don't relax
+       branches to weak symbols.
+       (md_apply_fix):  Don't convert fixes against weak symbols to
+       section-relative offsets, but save addend for later reloc emission.
+       (tc_gen_reloc):  When emitting reloc against weak symbol, adjust
+       addend to pre-compensate for bfd_install_relocation.
+
+2009-06-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Don't use \n in replacement part of s command.
+       * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
+       * Makefile.in: Regenerate.
+
+2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/10198
+       * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
+
+2009-05-26  Catherine Moore  <clm@codesourcery.com>
+
+       * config/tc-mips.c (check_for_24k_errata): Remove.
+       (md_mips_end): Remove call to check_for_24k_errata.
+       (start_noreorder): Likewise.
+       (s_change_sec): Likewise.
+       (s_change_section): Likewise.
+       (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.
+       * po/gas.pot: Updated template file.
+
+2009-05-26  Nick Clifton  <nickc@redhat.com>
+
+       PR 10143
+       * config/bfin-parse.y (error): Use "%s" as format string for error
+       message.
+
+2009-05-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Output one filename per line with all lines having
+       continuation backslash.  Prefix first line with "A", following
+       lines with "B".
+       * Makefile.am (DEP): Don't use dep.sed here.
+       (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
+       sort and uniq.
+       (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
+       Emit multi dependencies on one line.
+       * Makefile.in: Regenerate.
+
+2009-05-25  Tristan Gingold  <gingold@adacore.com>
+
+       * makefile.vms: New file to compile gas on VMS.
+
+       * configure.com: New file to do configuration on VMS with DCL.
+
+2009-05-23  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
+       (nops_for_insn): Likewise.
+
+2009-05-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
+
+2009-05-22  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
+
+       * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
+       (build_modrm_byte): Remove DREX handling support.
+       (DREX_*): Delete.
+       (drex_byte): Delete.
+       (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".
+       * Makefile.in: Regenerate.
+
+2009-05-20  Kai Tietz  <kai.tietz@onevision.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
+       (TARGET_FORMAT): Removed for x86 pe-coff.
+       (COFF_TARGET_FORMAT): Likewise.
+
+       * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
+       (md_parse_option): Likewise.
+       (md_show_usage): Show option --32/--64 for x86 pe-coff.
+       (i386_target_format): Use also for x86 pe-coff.
+
+       * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
+       for x86 pe-coff.
+
+2009-05-19  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
+       (mep_process_saved_insns): Remove debugging printfs.
+
+2009-05-19  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * NEWS:  Mention new feature.
+       * config/obj-coff.c (obj_coff_common_parse):  New function.
+       (obj_coff_comm):  Likewise.
+       (coff_pseudo_table):  Override default ".comm" definition on PE.
+       * doc/as.texinfo:  Document new feature.
+
+2009-05-17  Kai Tietz  <kai.tietz@onevision.com>
+
+       * config/obj-coff.c (obj_coff_section): Add 'y' as
+       specifier for SEC_COFF_NOREAD section flag.
+       * doc/as.texinfo: Add documentation about .section flag 'y'.
+
+2009-05-13  DJ Delorie  <dj@redhat.com>
+
+       * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
+
+2009-05-13  Andrew Jenner  <andrew@codesourcery.com>
+
+       * config/tc-arm.c: Move as.h to start of file.
+
 2009-05-05 Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
        * config/tc-arm.h: Fix typo in comment.
        (out_leb128): New function.
        (process_entries): Output DW_LNE_set_discriminator.
        * doc/as.texinfo: Add discriminator operand to .loc directive.
-       * testsuite/gas/lns/lns-common-1.d: Add test for discriminator.
-       * testsuite/gas/lns/lns-common-1.s: Likewise.
 
 2009-04-22  Nathan Sidwell  <nathan@codesourcery.com>
 
        (expr_set_rank): New.
        * expr.h (expr_set_rank): Declare.
 
-2008-04-15  Anthony Green  <green@moxielogic.com>
+2009-04-15  Anthony Green  <green@moxielogic.com>
 
        * config/tc-moxie.h: New file.
        * config/tc-moxie.c: New file.
        qdsub in Thumb-2 mode.
 
 2009-01-29  Paul Brook  <paul@codesourcery.com>
-            Mark Mitchell  <mark@codesourcery.com>
+           Mark Mitchell  <mark@codesourcery.com>
 
        * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
        of MUL when possible.
This page took 0.030779 seconds and 4 git commands to generate.