Add missing ChangeLog entries for my last commit.
[platform/upstream/binutils.git] / gas / ChangeLog
index d9610d3..2b6eb31 100644 (file)
@@ -1,3 +1,480 @@
+2008-12-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (parse_insn): Optimize ".s" handling.
+
+2008-12-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (_i386_insn): Add swap_operand.
+       (parse_insn): Handle ".s".
+       (match_template): Handle swap_operand.
+
+       * doc/c-i386.texi: Document .s suffix.
+
+2008-12-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/tc-cris.c (cris_process_instruction): Handle
+       BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits.
+       (get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the
+       "double indirect" addressing mode.
+       (cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE.
+       (cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.
+
+2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2008-12-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (build_modrm_byte): Remove an extra blank
+       line.
+
+2008-12-04  Ben Elliston  <bje@au.ibm.com>
+
+       * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update
+       usage strings.
+       (ppc_setup_opcodes): Likewise, remove booke64 support.
+       * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64.
+       * doc/as.texinfo (Overview): Likewise.
+
+2008-12-04  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Type): Reword description of STT_IFUNC type.
+
+2008-12-03  Nick Clifton  <nickc@redhat.com>
+
+       * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type.
+       * doc/as.texinfo: Document new feature.
+       * NEWS: Mention new feature.
+
+2008-11-29  Kai Tietz  <kai.tietz@onevision.com>
+
+       * config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
+       use "pe-i386" for 32-bit.
+
+2008-11-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * Makefile.am (ehopt.o): Add struc-symbol.h.
+       * Makefile.in: Regenerated.
+       * ehopt.c: Include struc-symbol.h.
+       (check_eh_frame): For very small O_constant DW_CFA_advance_loc4
+       create correct DW_CFA_advance_loc.  Handle O_subtract only
+       for code alignment factor 1, otherwise handle O_divide or
+       O_right_shift of O_subtract and O_constant.
+       (eh_frame_estimate_size_before_relax): Always divide by ca.
+       (eh_frame_convert_frag): Likewise.
+
+2008-11-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1,
+       DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.
+
+2008-11-28  Joshua Kinard  <kumba@gentoo.org>
+
+       * config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000.
+       (mips_cpu_info_table): Add r14000, r16000.
+       * doc/c-mips.texi: Add entries for 14000, 16000.
+
+2008-11-27  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
+       * config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to
+       md_pseudo_table and accept @c prefix, same as long directive.
+       (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED.
+       (tc_gen_reloc): Declare a variable of type bfd_reloc_code_real_type
+       and set it for GOT related relocations.
+       (md_undefined_symbol): Defined
+       (process_label_constant): Added checks for GOT/got and cGOT/cGOT
+       prefixes with constant label and set the appropriate relocation type.
+       * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT. 
+
+2008-11-26  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.
+
+2008-11-25  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.
+
+2008-11-21  Sterling Augustine  <sterling@tensilica.com>
+
+       * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call
+       xtensa_state_is_shared_or to allow multiple opcodes within a
+       single FLIX bundle to write to these special states.
+
+2008-11-19  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL
+       on symbols in TLS relocs.
+
+2008-11-19  Nick Clifton  <nickc@redhat.com>
+
+       * doc/fdl.texi: Update to v1.3
+       * doc/as.texinfo: Change license to v1.3.
+
+2008-11-18  Catherine Moore  <clm@cm00re.com>
+
+       * config/tc-arm.c (neon_type_mask): Renumber.
+       (type_chk_of_el_type): Handle F_F16.
+       (neon_cvt_flavour): Recognize half-precision conversions.
+       (do_neon_cvt): New shapes NS_QD and
+       NS_DQ.  Encode half-precision conversions.
+       (do_neon_cvtt): Encode the T bit.
+       (asm_opcode_insns): vcvt, vcvtt support.
+       (arm_option_cpu_value): Add neon-fp16 support.
+
+2008-11-17  Nick Clifton  <nickc@redhat.com>
+
+       * as.c (parse_args): Update copyright year.
+
+2008-11-14  Mat Hostetter  <mat@lcs.mit.edu>
+
+       * read.c (emit_expr): Grow frag before filling it so that
+       dot_value remains valid.
+
+2008-11-14  Peter Jansen  <pwjansen@yahoo.com>
+
+       PR 7026
+       * config/tc-arm.c: Ensure that all uses of as_bad have a
+       formatting string.
+
+2008-11-12  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/tc-cris.c (cris_number_to_imm): Except for
+       BFD_RELOC_NONE, always set contents.  Where previously this was
+       skipped, set contents to 0.
+
+       PR gas/7025
+       * input-scrub.c (input_scrub_include_sb): Make the position
+       after the input have defined contents, a 0 character.
+
+       * config/tc-cris.c (cris_relax_frag): Add missing case for
+       ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
+
+       PR gas/7020
+       * read.c (read_a_source_file): Rearrange evaluation order when
+       looking for '=' to avoid conditional on undefined contents of
+       input_line_pointer[1].
+
+2008-11-06  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * config/tc-mips.c (COP_INSN): Change logic to always return false
+       for FP instructions.
+
+2008-11-06  Chao-ying Fu  <fu@mips.com>
+
+       * config/tc-mips.c (validate_mips_insn): Add case '1'.
+       (mips_ip): Add case '1' to process sync type.
+
+2008-11-06  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
+
+2008-11-04  Sterling Augustine  <sterling@tensilica.com>
+       
+       * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
+       writes to the same register.
+       
+2008-11-04  Sterling Augustine  <sterling@tensilica.com>
+       
+       * config/tc-xtensa.c (xtensa_j_opcode): New.
+       (xg_instruction_matches_option_term): Handle "FREEREG" option.
+       (xg_build_to_insn): Likewise.  Update renamed tls_reloc reference.
+       (md_begin): Initialize xtensa_j_opcode.
+       (md_assemble): Update renamed tls_reloc reference.  Handle "j.l".
+       (xg_assemble_vliw_tokens): Save free_reg info in the frag.
+       (tinsn_immed_from_frag): Get free_reg info back out of the frag.
+       (vinsn_to_insnbuf): Update renamed tls_reloc references.
+       Distinguish extra argument for "FREEREG" from extra TLS argument.
+       * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
+       * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
+       field to extra_arg.
+       * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
+       (build_transition): Handle "FREEREG" operand.
+       * config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
+       
+2008-10-31  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/id.po: Update.
+
+2008-10-24  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2
+       comment so that Broadcom SB-1 cores are in the MIPS64 section.
+
+2008-10-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
+       * config/tc-ns32k.c (bit_fix_new): Likewise.
+       * config/tc-m68k.c (md_begin): Likewise.
+       * hash.c (hash_insert, hash_jam): Likewise.
+       * symbols.c (symbol_create, local_symbol_make): Likewise.
+       * frags.c (frag_alloc): Likewise.
+
+2008-10-20  Jay Krell  <jay.krell@cornell.edu>
+
+       * config/bfin-parse.y: Use C style comments.
+       * config/tc-bfin.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-mips.c: Likewise.
+
+2008-10-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (processor_type): Moved to tc-i386.h.
+       (cpu_arch_tune): Make it global.
+       (cpu_arch_isa): Likewise.
+       (cpu_arch_isa_flags): Likewise.
+       (i386_align_code): Check fragP->tc_frag_data.isa,
+       fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
+       cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
+       respectively.
+
+       * config/tc-i386.h (processor_type): Moved from tc-i386.c.
+       (cpu_arch_tune): New.
+       (cpu_arch_isa): Likewise.
+       (cpu_arch_isa_flags): Likewise.
+       (i386_tc_frag_data): Likewise.
+       (TC_FRAG_TYPE): Likewise.
+       (TC_FRAG_INIT): Likewise.
+
+2008-10-09  Bob Wilson  <bob.wilson@acm.org>
+
+       * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
+       (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
+       Moved into alphabetical order.
+
+2008-10-09  Bob Wilson  <bob.wilson@acm.org>
+
+       * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
+       a complete sentence.
+       (Pseudo Ops): Put conditionals around Skip and Space menu entries.
+       (Line): Remove conditional declaration of Ln node and section here.
+       Put aout-bout description inside the no-line-dir conditional.
+       (Skip, Space): Use a separate conditional for each node.
+
+2008-10-09  Bob Wilson  <bob.wilson@acm.org>
+
+       * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
+       menu entry for File; remove version-specific .file operands from menu
+       description.  Replace "LNS directives" menu entry with new entries
+       for "Loc" and "Loc_mark_labels".
+       (LNS directives): Split into separate nodes for each directive.
+       (Loc): New node for .loc directive.  Mention that this directive
+       is for DWARF2 and add a missing article.
+       (Loc_mark_labels): Likewise for .loc_mark_labels.
+       (File): Change this node to describe both the default version and
+       the DWARF2 version of .file.  Move the no-file-dir conditional to
+       include only the default version.
+
+2008-10-09  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
+       * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
+       (i386_solaris_fix_up_eh_frame): Declare.
+       * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
+
+2008-10-09  Nick Clifton  <nickc@redhat.com>
+
+       PR 6944
+       * doc/as.texinfo (Dollar Local Labels): Correct description of
+       dollar local labels to show that the colon suffix is still
+       needed.
+
+2008-10-08  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (ALL_LINGUAS): Add "id".
+       * configure: Regenerate.
+       * po/id.po: New Indonesian translation.
+
+2008-10-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * read.c (pseudo_set): Don't allow global register symbol only
+       if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
+       * symbols.c (S_SET_EXTERNAL): Likewise.
+
+       * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
+
+       * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
+
+2008-10-06  Bob Wilson  <bob.wilson@acm.org>
+
+       * doc/as.texinfo (Local): New description of ELF .local directive.
+
+2008-10-06  Nick Clifton  <nickc@redhat.com>
+
+       PR 6926
+       * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
+       (_find_end_of_line): Add extra parameter indicating if the line is
+       inside a macro.  If it is then do not allow the @ character to be
+       treated as a line separator character.
+       (read_a_source): Update use of _find_end_of_line.
+       (find_end_of_line): Likewise.
+       (s_irp): Update use of get_line_sb.
+       (s_macro): Likewise.
+       (do_repeat): Likewise.
+       (get_line_sb): New function.  Like the old version of get_line_sb
+       except that it takes an extra parameter indicating whether the
+       line is inside a macro.
+       (get_macro_line_sb): New function.
+
+2008-10-04  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/tc-cris.c: Update all comments regarding explicit relocations
+       to, besides PIC, also imply TLS or to say "relocation specifier" or
+       similar.
+       (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR.  Change all callers.
+       (cris_get_reloc_suffix): Rename from cris_get_pic_suffix.  Change all
+       callers.  Also handle TLS relocs.
+       (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
+       Change all callers.  Also handle TLS relocs.
+       (tls): New constant.
+       (cris_process_instruction): Check for non-PIC TLS relocations and
+       adjust message when emitting error message about relocation not
+       fitting.
+       (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
+       when tls is true.
+       (get_3op_or_dip_prefix_op): Ditto.
+       (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
+
+2008-10-03  Kazu Hirata  <kazu@codesourcery.com>
+
+       * listing.c (buffer_line): Open the source file with FOPEN_RB.
+       Manually process line ends.
+
+2008-09-30  Wesley W. Terpstra  <wesley@terpstra.ca>
+           Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
+       S_SET_STORAGE_CLASS.
+
+2008-09-30  Wesley W. Terpstra  <wesley@terpstra.ca>
+           Nick Clifton  <nickc@redhat.com>
+
+       * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
+       do not match it class and if necessary update the class.
+       (null_error_handler): New function.  Suppresses the generation of
+       bfd error messages.
+       * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
+
+2008-09-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2008-09-29  Nick Clifton  <nickc@redhat.com>
+
+       * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
+       tc_cfi_emit_pcrel_expr macro.
+
+2008-09-29  Peter O'Gorman  <pogma@thewrittenword.com>
+           Steve Ellcey  <sje@cup.hp.com>
+
+       * configure: Regenerate for new libtool.
+       * aclocal.m4: Ditto.
+       * Makefile.in: Ditto.
+       * doc/Makefile.in: Ditto.
+
+2008-09-29  Nick Clifton  <nickc@redhat.com>
+
+       PR 6878
+       * app.c (do_scrub_chars): Only issue warnings about tick
+       characters detected in symbol strings if hex ticks are supported.
+
+2008-09-29  Nick Clifton  <nickc@redhat.com>
+
+       * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
+       tc_cfi_emit_pcrel_expr macro.
+
+2008-09-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * NEWS: Mention .cfi_val_encoded_addr.
+
+2008-09-26  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
+       * Makefile.in (TARG_ENV_HFILES): Likewise.
+       * configure.tgt (Solaris targets): Set em=solaris.
+       * config/te-solaris.h: New file.
+
+2008-09-26  Jie Zhang  <jie.zhang@analog.com>
+
+       * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
+
+2008-09-24  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
+       (struct cfi_insn_data): Add ea member.
+       (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
+       (output_cfi_insn): Handle CFI_val_encoded_addr.
+       (select_cie_for_fde): Don't match CFI_val_encoded_addr.
+       * doc/as.texinfo (.cfi_val_encoded_addr): Document.
+
+2008-09-25  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 6913
+       * listing.c (print_options): Don't call fprintf without format string.
+
+2008-09-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
+       (TC_VALIDATE_FIX_SUB): Likewise.
+       * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
+       * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
+       * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
+       * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
+       (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
+       * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
+       * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
+       * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
+       TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
+
+       * write.c (md_register_arithmetic): Define.
+       (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
+       Modify error message when registers involved.
+       (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
+       * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
+
+2008-09-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
+
+2008-09-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
+       relocs with no symbol.
+       * config/tc-mmix.c (md_assemble): Mark fake symbol on
+       BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
+       (mmix_md_end): Likewise mark mmix reg contents section symbol.
+
+2008-09-14  Chris Smith <chris@zxdesign.info>
+
+       * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
+       broken, as the opcode of ld a,(de) was being emitted for both.
+
+2008-09-12  Sterling Augustine  <sterling@tensilica.com>
+
+       * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
+       operands equal to MAX_INSN_ARGS.
+
+2008-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * configure.in: Call AC_SYS_LARGEFILE.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2008-09-09  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
+       Remove POWER5 and POWER6 tests.
+
+2008-09-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
+       number support for 32-bit targets.
+
+2008-09-08  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add a marker for the 2.19 features.
+
 2008-09-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target.  Revise