* write.c (size_seg): Check adjustment to last frag.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 3b83366b7ba89c7f7d84ffbf7c7054c81d7df43e..2cc96695d5ae07589da776ee255d9e33cb84a62d 100644 (file)
@@ -1,3 +1,463 @@
+2002-05-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (size_seg): Check adjustment to last frag.
+       (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
+       section alignment.
+       * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
+       * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
+       (write_object_file): Invoke md_do_align if available, and use
+       frag_align_code on text sections.
+       * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
+       * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
+       * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
+       * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
+       * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise.  Define for
+       BFD_ASSEMBLER too.
+
+2002-05-22  H.J. Lu <hjl@gnu.org>
+
+       * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
+       for source file.
+
+2002-05-22  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
+       as ELF builds.
+
+2002-05-22  H.J. Lu <hjl@gnu.org>
+
+       * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
+       for one .loc for compiler.
+
+2002-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (macro): Relax warning, it's toot strict for
+       embedded-PIC.
+
+2002-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
+       Optimize the rotate by zero case.
+
+2002-05-21  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * configure.in: Remove accidental enabling of bfd_gas=yes for
+       sh-coff targets.
+       * configure: Regenerate.
+
+2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * app.c: Fix formatting.
+       * as.c: Likewise.
+       * ehopt.c: Likewise.
+       * expr.c: Likewise.
+       * input-file.c: Likewise.
+       * listing.c: Likewise.
+       * macro.h: Likewise.
+       * stabs.c: Likewise.
+       * symbols.c: Likewise.
+
+2002-05-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/obj-generic.c: Delete file.
+       * config/obj-generic.h: Likewise.
+
+2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
+
+       * config/tc-avr.c (mcu_types): Update for new devices.
+
+2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (macro): Warn about wrong la/dla use.
+
+2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
+       worked sometimes by accident. Fix copy&paste comment.
+
+2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
+       alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
+       (mips_elf_final_processing): Let n32 use .reginfo.
+
+2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (append_insn): Fix too small range of variable.
+
+2002-05-14  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arm.c (arm_cleanup): Remove redundant call to
+       listing_prev_line().
+
+2002-05-13  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arm.c (md_assemble): Remove redundant call to
+       listing_prev().
+
+       * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
+       loc_directive_seen.
+
+       * stabs.c (s_stab_generic): Fix grammatical error in warning
+       message.
+
+2002-05-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (subsegs_finish): Don't specially align last subseg.
+
+2002-05-11  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * stabs.c (s_stab_generic): Warn about a description field that is
+       too big.
+
+       * config/obj-coff.c: Fix compile time warnings when compiling
+       without BFD_ASSEMBLER defined.
+       Fix formatting.
+
+       * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
+       target.
+       (md_pcrel_from_section): Use md_pcrel_from().
+
+2002-05-11  Bruno Haible  <bruno@clisp.org>
+
+       * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
+       by dwarf2_directive_loc, instead of calling dwarf2_where.
+
+2002-05-11  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/obj-coff.h: Fix formatting.
+       * config/tc-mcore.c: Likewise.
+       * config/tc-mn10300.c: Likewise.
+       * config/tc-openrisc.c: Likewise.
+       * config/tc-or32.c: Likewise.
+       * config/tc-pdp11.c: Likewise.
+       * config/tc-ppc.c: Likewise.
+       * config/tc-ppc.h: Likewise.
+       * config/tc-sh64.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-tic54x.c: Likewise.
+       * config/tc-xstormy16.c: Likewise.
+       * config/tc-xstormy16.h: Likewise.
+
+2002-05-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/obj-coff.c: Fix formatting.
+       * config/obj-elf.c: Likewise.
+       * config/tc-alpha.c: Likewise.
+       * config/tc-arm.c: Likewise.
+       * config/tc-d10v.c: Likewise.
+       * config/tc-d30v.c: Likewise.
+       * config/tc-h8300.c: Likewise.
+       * config/tc-hppa.c: Likewise.
+
+2002-05-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
+       reloc when no_cond_jump_promotion.
+
+2002-05-08  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-i960.c (md_estimate_size_before_relax): Return size of
+       current variable part of frag.
+
+2002-05-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/tc-mmix.c: Fix formatting.
+       * config/tc-mmix.h: Likewise.
+
+2002-05-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure: Regenerate.
+
+2002-05-07  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/tc-m68k.c: Fix formatting.
+
+2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
+
+       * Makefile.am: Honour DESTDIR.
+       * Makefile.in: Regenerate.
+
+2002-05-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/tc-ia64.c: Fix formatting.
+       * config/tc-ia64.h: Likewise.
+
+2002-05-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/tc-mips.c: Fix formatting.
+       * config/tc-s390.c: Likewise.
+       * config/tc-s390.h: Likewise.
+
+2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
+       information for instructions.
+
+2002-05-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * as.h: Fix formatting.
+       * cgen.c: Likewise.
+       * cgen.h: Likewise.
+       * dwarf2dbg.c: Likewise.
+       * frags.h: Likewise.
+       * gasp.c: Likewise.
+       * macro.c: Likewise.
+       * read.c: Likewise.
+       * stabs.c: Likewise.
+       * symbols.c: Likewise.
+
+2002-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * app.c (mri_pseudo): Only declare for TC_M68K.
+
+       * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
+       (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
+       BFD_RELOC_16_BASEREL.
+       (md_assemble): Likewise.
+       (md_apply_fix3): Likewise.
+
+2002-05-02  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
+       zero into an add of zero - it is not the same.
+
+2002-05-01  Arati Dikey <aratid@kpit.com>
+
+       * tc-sh.c (get_specific): Generate warning if the same
+       destination register is used in parallel instructions.
+
+2002-05-01  Andrew Macleod  <amacleod@cygnus.com>
+
+       * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
+
+2002-05-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
+       backwards to prevent cascading errors.
+
+2002-04-30  Mark Mitchell  <mark@codesourcery.com>
+
+       * configure.in: Add support for powerpc-*-windiss.
+       * configure: Regenerated.
+       
+2002-04-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-s390.c (md_parse_option): Formatting.
+
+       * config/tc-i386.c: Formatting fixes, add missing space in error
+       message.
+
+2002-04-24  Christian Groessler <chris@groessler.org>
+
+       * config/tc-z8k.c (build_bytes): Add support for new cases:
+       CLASS_IGNORE and ARG_NIM4.
+       (md_assemble): Prevent destruction of input_line_pointer if
+       get_operands returns failure.
+
+2002-04-24  Chris G. Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
+       instructions to be generated by macros.
+
+2002-04-24  Andreas Schwab  <schwab@suse.de>
+
+       * config/tc-i386.c (output_jump, output_disp)
+       (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
+       more.
+       (md_apply_fix3): Remember addend value for rela relocations.
+       (tc_gen_reloc): Correctly compute pc-relative relocation addend.
+
+2002-04-22  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c (macro_build): Add close-parenthesis missing
+       from previous change.
+
+2002-04-22  Eric Christopher  <echristo@redhat.com>
+
+       * config/tc-mips.c (macro_build): Add warning if macro instructions
+       are expanded into a branch delay slot.
+
+2002-04-17  Geoffrey Keating  <geoffk@redhat.com>
+
+       * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
+       numbers, gdb relies on them to detect the start of the prologue.
+
+2002-04-17  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
+       symbols in merge sections.
+
+2002-04-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * as.c (main): Don't reference _bfd_chunksize.
+
+2002-04-15  Tom Rix  <trix@redhat.com>
+
+       * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
+       symbols in merge sections.
+
+2002-04-11  Richard Sandiford  <rsandifo@redhat.com>
+
+       * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
+       * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
+       argument for the precision.
+       (gen_to_words): Update accordingly.
+
+2002-04-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * as.c (parse_args <OPTION_VERSION>): Use VERSION is
+       BFD_VERSION_STRING unavailable.
+       * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
+
+Tue Apr  9 16:45:48 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
+       symbol_used_in_reloc_p is true.
+
+       * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
+       endian hosts.
+
+2002-04-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Cope with absolute paths.
+       * Makefile.am (dep.sed): Subst TOPDIR.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2002-04-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
+       (mips_ip): Remove unused variable.
+       (md_apply_fix3): Cast signed/unsignes mismatches. Replace
+       unsigned char with bfd_byte.
+       (s_file): Remove unused variable.
+       (s_mips_ent): Likewise.
+
+2002-04-03  Tom Rix  <trix@redhat.com>
+
+       * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
+       (build_insn): Same.
+       (find_opcode): Fix warning in as_warn.
+       * config/tc-d10v.h: Update Copyright.
+
+2002-04-03  Alan Matsuoka <alanm@redhat.com>
+           Tom Rix  <trix@redhat.com>
+
+       From Jeff Knaggs <jknaggs@redhat.com>
+       * config/tc-d10v.c (check_resource_conflict): New function to
+       check for resource conflicts.
+
+       From Jason Eckhardt  <jle@redhat.com>
+        * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
+        imm3 fields.
+        * config/tc-d10v.c (find_opcode): Emit a warning if one of the
+        reserved control registers is used.
+        * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
+        imm3 fields.
+
+       From 2001-03-28  Diego Novillo  <dnovillo@redhat.com>
+        * tc-d10v.c (parallel_ok): Prevent packing only if the first
+        instruction cannot be packed.
+
+       From 2001-03-30  Diego Novillo  <dnovillo@redhat.com>
+        * gas/config/tc-d10v.c (check_resource_conflict): Only check
+        write-write conflicts.
+        (md_assemble): Reformat introductory comment.
+        * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
+        arguments.
+
+2002-04-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
+       O_logical_not>): Derive final_seg from add_symbol.
+       <O_multiply..O_logical_or>: More final_seg twiddles.
+
+2002-04-01  Jessica Han  <jessica@cup.hp.com>
+
+        * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
+       in 32-bit mode.
+
+2002-03-27  Andreas Schwab  <schwab@suse.de>
+
+       * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
+       field for pc-relative fixups.
+       (output_disp): Likewise.
+       (md_estimate_size_before_relax): Likewise.
+       (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
+       pc-relative fixups in 64bit mode.
+
+2002-03-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/te-aix5.h: Typo fix.
+
+2002-03-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2002-03-20  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
+       (vfp_sp_reg_pos -> vfp_dp_reg_pos).
+
+2002-03-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
+       the EXTENDED bit here; report the estimate according to the
+       current size.
+
+2002-03-18  Tom Rix  <trix@redhat.com>
+
+       * configure.in: Add AIX 5 support.
+       * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
+       * config/te-aix5.h: New file. AIX 5 support.
+       * configure: Regenerate.
+
+2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * po/fr.po: Updated version.
+
+2002-03-16  Andreas Jaeger  <aj@suse.de>
+
+       * doc/c-mips.texi (Machine Dependencies): Add new node.
+
+2002-03-15  Chris G. Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
+       (mips_opts): Initialize "ase_mips3d" member.
+       (file_ase_mips3d): New variable.
+       (CPU_HAS_MIPS3D): New macro.
+       (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
+       based on command line options and configuration defaults.
+       (macro_build, mips_ip): Accept MIPS-3D instructions if
+       mips_opts.ase_mips3d is set.
+       (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
+       Add support for "-mips3d" and "-no-mips3d" options.
+       (OPTION_ELF_BASE): Move to accomodate new options.
+       (s_mipsset): Support ".set mips3d" and ".set nomips3d".
+       (mips_elf_final_processing): Add a comment indicating that a
+       MIPS-3D ASE ELF header flag should be set, when one exists.
+       * doc/as.texinfo: Document -mips3d and -no-mips3d options.
+       * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
+       nomips3d" directives.
+
+2002-03-14  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
+       a weak symbol in same section to be within reach.
+
+2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * po/fr.po: Updated version.
+
+2002-03-12  Andreas Schwab  <schwab@suse.de>
+
+       * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
+       body record so that an error is given for misplaced .save
+       pseudo-ops.
+
 2002-03-09  Alan Modra  <amodra@bigpond.net.au>
 
        * config/tc-i386.h (REX_OPCODE): Define.
        (parse_op_no_deferred): Support float literals.
        (parse_op): Reject attempts to refer to float regs.
        (parse_fop): New function, like parse_op but for float operand.
-       (md_assemble): Add cases to parse float operands.  Also fix 
+       (md_assemble): Add cases to parse float operands.  Also fix
        IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
 
 2002-03-04  H.J. Lu <hjl@gnu.org>
 
 2002-02-11  Tom Rix  <trix@redhat.com>
 
-       * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for 
+       * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
        xcoff64.
 
 Mon Feb 11 11:23:38 2002  Alexandre Oliva  <aoliva@redhat.com>
@@ -491,7 +951,7 @@ Mon Feb 11 12:59:29 CET 2002  Jan Hubicka  <jh@suse.cz>
        BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
        (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
        al>: Set lowest bit of field to relocate to 1 and rest to empty,
-       if reloc is emitted. 
+       if reloc is emitted.
        2000-12-31  Hans-Peter Nilsson  <hpn@cygnus.com>
        New options plus bugfixes.
        * config/tc-sh.c (md_longopts): New options "-no-expand" and
@@ -800,7 +1260,7 @@ Mon Feb 11 12:59:29 CET 2002  Jan Hubicka  <jh@suse.cz>
 
        * config/tc-sh.c (parse_at): Install the correct version of
        2002-02-04's patch.
-       
+
        * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
        assume fixP->fx_subsy is non-NULL.
 
@@ -857,7 +1317,7 @@ Mon Feb 11 12:59:29 CET 2002  Jan Hubicka  <jh@suse.cz>
        Support on-demand global register allocation by passing on
        base-plus-offset relocs to the linker.
        * config/tc-mmix.c: Tweak and fix typos in comments.
-       (allocate_undefined_gregs_in_linker): New variable.
+       (allocate_undefined_gregs_in_linker): New variable.
        (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
        (md_longopts): Add --linker-allocated-gregs.
        (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
@@ -973,7 +1433,7 @@ Mon Feb 11 12:59:29 CET 2002  Jan Hubicka  <jh@suse.cz>
 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
 
        * configure.in (ia64-*-netbsd*): New target.
-       * configure: Regenerate. 
+       * configure: Regenerate.
 
 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
 
@@ -1012,7 +1472,7 @@ Mon Feb 11 12:59:29 CET 2002  Jan Hubicka  <jh@suse.cz>
 
        * NEWS: Mention new ARM command-line options and VFP support.
 
-       * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE.  All 
+       * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE.  All
        uses changed.
        (ARM_CEXT_MAVERICK): Similarly.
        (ARM_ANY): Now means any core instruction.
This page took 0.02918 seconds and 4 git commands to generate.