* dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
[binutils-gdb.git] / gas / ChangeLog
index f4bd381f1094d6facb7a0ec6e2cbdee5483fa631..cd2c1d6e7dcbb3d3321b3c42d4bb0a1b18c2993d 100644 (file)
@@ -1,3 +1,245 @@
+2003-06-18  Jakub Jelinek  <jakub@redhat.com>
+
+       * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
+       (output_cie): Don't pad.
+       (output_fde): Add align argument.  Pad to align if not 0.
+       (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT.
+       Pad just last FDE to EH_FRAME_ALIGNMENT.
+
+2003-06-18  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * config/tc-s390.c (init_default_arch): Make current_mode_mask
+       dependent on s390_arch_size and current_cpu dependent on
+       current_mode_mask.
+
+2003-06-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * configure.in: Add c4x as an architecture variant to tic4x.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2003-06-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
+       ".TOC." from PPC64_TOC relocs.
+
+2003-06-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.
+
+2003-06-16  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
+       ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros.
+       (macro_build_ldst_constoffset,load_address,macro,s_cpsetup,
+       s_cprestore,s_cpadd): Use them.
+
+2003-06-16  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.in: Add specific case for cris-*-linux-gnu* with
+       em=linux.
+       * configure: Regenerate.
+       * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE
+       if TE_LINUX defined, else FALSE.
+       (bfd_boolean demand_register_prefix): Set default from
+       DEFAULT_CRIS_AXIS_LINUX_GNU.
+       (symbols_have_leading_underscore): Similar.
+       * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
+
+2003-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
+       (FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
+       FPU_ARCH_FPA for AOUT.
+       (md_begin): Don't try to guess the floating point architecture from
+       the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
+
+2003-06-13  Robert Millan  <zeratul2@wanadoo.es>
+
+       * configure.in: Add i386-netbsd-gnu target.
+       * configure: Regenerate.
+
+2003-06-12  Tom Tromey  <tromey@redhat.com>
+
+       * doc/as.texinfo (Comm): Added @node.  Moved before CFI
+       directives node.
+
+2003-06-12  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-mips.c (append_insn): In a compound relocation, take the
+       field width from the final (outermost) operator.
+
+2003-06-11  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c (struct cfi_escape_data): New.
+       (cfi_add_CFA_nop): Remove.
+       (CFI_escape, dot_cfi_escape): New.
+       (dot_cfi): Remove nop.
+       (cfi_pseudo_table): Remove nop; add escape.
+       (output_cfi_insn): Likewise.
+       (select_cie_for_fde): Stop on escape.
+       * dw2gencfi.h (cfi_add_CFA_nop): Remove.
+       * read.c, read.h (do_parse_cons_expression): New.
+       * doc/as.texinfo (.cfi_escape): New.
+
+2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
+       (s_cprestore): Likewise.
+       (s_cpreturn): Likewise.
+
+2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
+       with zeros.
+
+2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
+       (md_apply_fix3): Ignore non-special relocations. Remove superfluous
+       exceptions from size assert. Remove most of the addend fixup
+       specialcasing. Remove value, use valP directly. simplify fx_addnumber
+       handling. Remove zero addend specialcases.
+       (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove
+       the addend fixup specialcase.
+       * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.
+
+2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * write.c (write_relocs): Use xcalloc. Fix relocs initialization
+       in the RELOC_EXPANSION_POSSIBLE case.
+
+2003-06-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-i960.c (line_comment_chars): Add '#'.
+       * config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
+
+2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
+
+       * po/Make-in (DESTDIR): New.
+       (install-data-yes): Support $(DESTDIR).
+       (uninstall): Likewise.
+
+2003-06-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2003-06-10  Doug Evans  <dje@sebabeach.org>
+
+       * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
+       CGEN_INSN_RELAXED.
+       * config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
+       * config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
+       * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
+
+2003-06-10  Alan Modra  <amodra@bigpond.net.au>
+           Gary Hade <garyhade@us.ibm.com>
+
+       * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_DQ.
+       (md_apply_fix3): Special case lq insn.
+
+2003-06-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register
+       lists.  Allow single-register ranges.
+
+2003-06-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-h8300.c (h8300sxnmode): New.
+       (md_pseudo_table): Add .h8300sxn entry.
+
+2003-06-09  H.J. Lu <hongjiu.lu@intel.com>
+
+       * NEWS: Updated for the new -n option for the i386 assembler.
+
+       * config/tc-i386.c (optimize_align_code): New.
+       (md_shortopts): Add 'n'.
+       (md_parse_option): Handle 'n'.
+       (md_show_usage): Add '-n'.
+
+       * config/tc-i386.h (optimize_align_code): Declared.
+       (md_do_align): Optimize code alignment only if optimize_align_code
+       is not 0.
+
+       * doc/as.texinfo: Add the new -n option.
+
+       * doc/c-i386.texi: Document the new -n option.
+
+2003-06-07  Richard Henderson  <rth@redhat.com>
+
+       * doc/as.texinfo: Document .cfi_rel_offset.
+
+       * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
+       (cfi_add_CFA_offset): Detect invalid offsets.
+       (cfi_add_CFA_remember_state): Save cur_cfa_offset.
+       (cfi_add_CFA_restore_state): Restore it.
+       (CFI_rel_offset): New.
+       (cfi_pseudo_table): Add it.
+       (dot_cfi): Handle it.
+
+2003-06-07  H.J. Lu <hongjiu.lu@intel.com>
+
+       * app.c (do_scrub_chars): Add states 14 and 15 to handle
+       predicate for ia64.
+
+2003-06-05  Michael Snyder  <msnyder@redhat.com>
+
+       * config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops.
+       (build_bytes): Ditto.
+
+2003-06-05  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-h8sx.c (DMODE): Remove.
+       (colonmod24): Don't choose a default if the operand is a 16-bit
+       constant integer.
+       (fix_operand_size): New function.
+       (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn).
+       Adjust @(d:2,ERn) operands before choosing the specific opcodes.
+
+2003-06-05  Michal Ludvig  <mludvig@suse.cz>
+
+       * dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg)
+       (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New.
+       (cfi_add_CFA_offset, cfi_add_CFA_def_cfa)
+       (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register)
+       (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*().
+       (cfi_add_CFA_restore, cfi_add_CFA_undefined)
+       (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
+       (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New.
+       (cfi_pseudo_table): New directives .cfi_return_column,
+       .cfi_restore, .cfi_undefined, .cfi_same_value,
+       .cfi_remember_state, .cfi_restore_state, .cfi_nop.
+       (dot_cfi, output_cfi_insn): Handle new directives.
+       * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined)
+       (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
+       (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
+
+2003-06-04  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
+
+       * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
+
+2003-06-04  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-alpha.c (s_alpha_usepv): New.
+       (md_pseudo_table): Add it.
+       (alpha_cfi_frame_initial_instructions): New.
+       * config/tc-alpha.h (TARGET_USE_CFIPOP): New.
+       (tc_cfi_frame_initial_instructions): New.
+       * doc/c-alpha.texi: Document .usepv.
+
+2003-06-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * as.c (show_usage): Document --execstack and --noexecstack.
+       (parse_args): Add --execstack and --noexecstack.
+       (main): Create .note.GNU-stack section if --execstack or
+       --noexecstack was given on comand line, set its SHF_EXECINSTR bit.
+       * as.h (flag_execstack, flag_noexecstack): New.
+
 2003-06-03  Chris Demetriou  <cgd@broadcom.com>
 
        * config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE)
 2003-06-03  Nick Clifton  <nickc@redhat.com>
 
        * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into
-        BFD_RELOC_32_PCREL if the reloc is pc-relative.  Do this
-        before calling bfd_reloc_type_lookup.
-        
+       BFD_RELOC_32_PCREL if the reloc is pc-relative.  Do this
+       before calling bfd_reloc_type_lookup.
+
 2003-06-02  Alan Modra  <amodra@bigpond.net.au>
 
        * read.c (emit_expr): Set dot_value.