* config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 5ce5dba611d1c09bad436ccca811e895829cc809..e4183dd0e9971b2205e4d0881ba7fb47ebaa4e19 100644 (file)
@@ -1,5 +1,183 @@
+2003-09-11  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,
+       literal_syms): New global variables.
+       (xtensa_define_label, add_target_symbol, xtensa_find_label,
+       map_over_defined_symbols, is_loop_target_label,
+       xtensa_mark_target_fragments, xtensa_move_frag_symbol,
+       xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete.
+       (xtensa_begin_directive): Call md_flush_pending_output.  Move symbols
+       from insn_labels to saved_insn_labels when entering a literal region.
+       (xtensa_end_directive): Call md_flush_pending_output.  Restore
+       insn_labels list when leaving a literal region.
+       (xtensa_literal_position): Call xtensa_clear_insn_labels.
+       (xtensa_literal_pseudo): Add check to disallow .literal inside a
+       literal region.  Move insn_labels to saved_insn_labels and then restore
+       insn_labels on exit.
+       (xg_add_branch_and_loop_targets): Replace add_target_symbol calls with
+       code to set is_loop_target or is_branch_target flag on the symbol
+       (xtensa_create_literal_symbol): Call xtensa_add_literal_sym.
+       (xtensa_add_literal_sym, xtensa_add_insn_label,
+       xtensa_clear_insn_labels): New functions.
+       (xtensa_move_labels): Remove old_frag and old_offset arguments.  Add
+       loops_ok argument.  Rewrite to use insn_labels list instead of
+       calling xtensa_find_label and to check the is_loop_target flag on
+       symbols when loops_ok is false.
+       (xtensa_frob_label): Remove call to xtensa_define_label.  Add call
+       to either xtensa_add_literal_sym or xtensa_add_insn_label.  Adjust
+       call to xtensa_move_labels.  Propagate is_branch_target and
+       is_loop_target flags from symbols to frags.
+       (xtensa_flush_pending_output): Call xtensa_clear_insn_labels.
+       (md_assemble): Use xtensa_move_labels with loops_ok = FALSE when
+       aligning a loop instruction.  Adjust call to xtensa_move_labels for
+       aligning entry instructions.  Add call to xtensa_clear_insn_labels.
+       (xtensa_end): Remove call to xtensa_mark_target_fragments.
+       (xtensa_move_literals): Replace xtensa_move_frag_symbols call with
+       code to use new literal_syms list.
+       * config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and
+       is_branch_target flags.
+
+2003-09-09  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Remove
+       "move_labels" argument and corresponding call to xtensa_move_labels.
+       (md_assemble): Add a separate call to xtensa_move_labels and remove
+       argument for call to xtensa_mark_literal_pool_location.
+       (xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix
+       calls to xtensa_mark_literal_pool_location.
+       (xtensa_create_local_symbol): Delete and inline the code into...
+       (xtensa_create_literal_symbol): ...here.
+       (xtensa_frob_label): Combine conditionals.
+       (expression_maybe_register, xtensa_symbol_new_hook,
+       fix_new_exp_in_seg): Use symbol_get_tc.
+
+2003-09-09  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (xtensa_literal_pseudo): Remove code for
+       combining identical literals.
+       (expression_maybe_register): Remove call to find_lit_sym_translation.
+       (is_duplicate_expression, cache_literal, is_duplicate_literal,
+       add_lit_sym_translation, find_lit_sym_translation): Delete.
+
+2003-09-07  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Comments): Comment character for PPC is #.
+
+2003-09-06  Stephane Carrez  <stcarrez@nerim.fr>
+
+       PR savannah/4358:
+       * config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid
+       overflow complain.
+
+2003-09-05  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION.
+
+2003-09-04  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-v850.c (set_machine): Accept v850e1 machine number.
+       (md_pseudo_table): Add .v850e1 pseudo op.
+       (md_show_usage): Document -mv850e1 switch.
+       (md_parse_option): Accept -mv850e1 switch.
+       (md_begin): Allow TARGET_CPU to be v850e1.
+       * doc/c-v850.texi: Document -mv850e1 switch and .v850e1 pseudo op.
+       * NEWS: Mention support for v850e1.
+
+2003-09-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing
+       ppc_cpu selection rather than replacing.
+       (ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu.
+       (md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash.
+
+2003-09-03  Robert Millan  <robertmh@gnu.org>
+
+       * configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu
+       triplet.
+       * configure: Regenerate.
+
+2003-09-02  Daniel Jacobowitz  <drow@mvista.com>
+
+       * configure.in: Update AC_PREREQ to 2.57.  Use AC_CONFIG_FILES
+       and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT.
+       Specify AC_CONFIG_AUX_DIR.
+       * aclocal.m4: Regenerated with aclocal-1.7.
+       * configure: Regenerated with autoconf 2.57.
+       * Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.
+
+2003-08-29  Jakub Jelinek  <jakub@redhat.com>
+
+       * dw2gencfi.c (cfi_pseudo_table): Add cfi_window_save.
+       (dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save.
+       (output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK
+       nor tc_cfi_emit_pcrel_expr are defined.
+       (output_fde): Use tc_cfi_emit_pcrel_expr if available and
+       DIFF_EXPR_OK is not defined.
+       * config/tc-sparc.h (TARGET_USE_CFIPOP): Define.
+       (tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum,
+       tc_cfi_emit_pcrel_expr): Define.
+       (sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum,
+       sparc_cfi_emit_pcrel_expr): New prototypes.
+       (sparc_cie_data_alignment): New decl.
+       (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define.
+       * config/tc-sparc.c: Include dw2gencfi.h.
+       (sparc_cie_data_alignment): New variable.
+       (md_begin): Initialize it.
+       (sparc_cfi_frame_initial_instructions): New function.
+       (sparc_regname_to_dw2regnum): Likewise.
+       (sparc_cfi_emit_pcrel_expr): Likewise.
+       * doc/as.texinfo: Document .cfi_window_save.
+
+       * config/tc-sparc.c (s_common): Cast last argument to long and
+       change format string to shut up warning.
+
+2003-08-25  Jason Eckhardt  <jle@rice.edu>
+
+       * doc/c-i860.texi: Update text about relocatable address expansions.
+
+2003-08-24  Jason Eckhardt  <jle@rice.edu>
+
+       * config/tc-i860.c (md_assemble): Use isrc2 from the original
+       instruction when expanding E_ADDR.
+
+2003-08-21  Nick Clifton  <nickc@redhat.com>
+
+       * po/tr.po: Updated Turkish translation.
+
+2003-08-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL and
+       PPC_OPCODE_RFMCI to -m440 selected ppc_cpu.
+
+2003-08-19  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (cp_address_required_here): Add code to handle
+       unindexed addressing mode.
+
+2003-08-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (md_parse_option): Handle -m440.
+       (md_show_usage): Add -m440.
+       (md_apply_fix3): Warning fix.
+       * doc/c-ppc.texi: Document -m440.
+
+2003-08-16  Benjamin Kalytta  <bkausbk@web.de>
+
+       * read.c (s_print): Check for NULL.
+
+2003-08-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (fixup_segment): When handling an expression involving
+       the subtraction of two symbols in the same segment, don't clear
+       fx_pcrel except for TC_M68K.
+
 2003-08-14  Alan Modra  <amodra@bigpond.net.au>
 
+       * config/tc-i386.h: Remove BFD_ASSEMBLER tests and all !BFD_ASSEMBLER
+       code.
+       * config/tc-i386.c: Likewise.
+       (RELOC_ENUM): Don't define.  Replace throughout with enum.
+
        * dep-in.sed: Remove libintl.h.  Ignore include/fopen-*.h
        * Makefile.am (POTFILES.in): Unset LC_COLLATE.
        Run "make dep-am".
        * doc/as.texinfo: Document "-mips32r2" option.
        * doc/c-mips.texi: Likewise.
 
-2002-12-30    Dmitry Diky <diwil@mail.ru>
+2002-12-30  Dmitry Diky  <diwil@mail.ru>
 
        * configure.in: Add msp430 target.
        * configure: Regenerate.
This page took 0.025872 seconds and 4 git commands to generate.