Fix compile time warning messages.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index cd8867efc846d543ea6b0bf9167616388b9ae00f..b056c701de8a51f3651de0b7e2d8559b620845a8 100644 (file)
@@ -1,3 +1,439 @@
+2001-12-17  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * cgen.c: Add prototype for queue_fixup.
+       (gas_cgen_parse_operand): Move initilisastion of errmsg to avoid
+       possible longjmp corruption.
+       * cgen.h: Add prototype for gas_cgen_md_operand.
+
+2001-12-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/obj-elf.c (obj_elf_init_stab_section): References are
+       kept to section name strings.  Don't alloca them!
+
+2001-12-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after
+       OPERAND_ATSIGN as O_absent.
+
+2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
+           Richard Henderson  <rth@redhat.com>
+
+       * configure.in: Add support for xstormy16.
+       * configure: Regenerated.
+       * Makefile.am: Add support for xstormy16.
+       * Makefile.in: Regenerated.
+       * config/tc-xstormy16.c: New file.
+       * config/tc-xstormy16.h: New file.
+
+2001-12-06  Richard Earnshaw (rearnsha@arm.com)
+
+       * tc-arm.c (do_arit, do_cmp, do_mov, do_ldst, do_ldstt, do_ldmstm)
+       (do_branch, do_swi, do_adr, do_adrl, do_empty, do_mul, do_mla)
+       (do_swap, do_msr, do_mrs, do_mull, do_ldstv4, do_bx, do_blx)
+       (do_bkpt, do_clz, do_lstc2, do_cdp2, do_co_reg2, do_smla, do_smlal)
+       (do_smul, do_qadd, do_pld, do_ldrd, do_co_reg2c, do_cdp, do_lstc)
+       (do_co_reg, do_fpa_ctrl, do_fpa_ldst, do_fpa_ldmstm, do_fpa_monadic)
+       (do_fpa_dyadic, do_fpa_cmp, do_fpa_from_reg, do_fpa_to_reg, do_mia)
+       (do_mar, do_mra, do_c_binops, do_c_binops_1, do_c_binops_2)
+       (do_c_binops_3, do_c_triple, do_c_triple_4, do_c_triple_5, do_c_quad)
+       (do_c_quad_6, do_c_dspsc, do_c_dspsc_1, do_c_dspsc_2, do_c_shift)
+       (do_c_shift_1, do_c_shift_2, do_c_ldst, do_c_ldst_1, do_c_ldst_2)
+       (do_c_ldst_3, do_c_ldst_4, do_branch25): Delete redundant argument,
+       FLAGS.
+       (struct asm_opcode): Adjust parms field accordingly.
+       (md_assemble): Don't pass dummy second argument when calling worker
+       functions.
+       (build_arm_ops_hsh): Add prototype
+       (BAD_FLAGS): Delete.
+
+2001-12-05  Richard Earnshaw  <rearnsha@arm.com>
+
+       * tc-arm.c (struct asm_opcode): Delete comp_suffix and flags.  Add
+       cond_offset.  Rename variants->variant.
+       (insns): Adjust for new format.  Explicitly code each variant that
+       takes flags.  Remove temporary instructions.
+       (struct arm_it): Remove redundant field suffix.
+       (s_flag, ldr_flags, str_flags, byte_flag, cmp_flags, ldm_flags)
+       (stm_flags, lfm_flags, sfm_flags, round_flags, fix_flags, except_flag)
+       (long_flag): Delete.
+       (struct asm_flg): Delete.
+       (LONGEST_INST): Delete.
+       (V4_STR_BIT): Define.
+       (struct thumb_opcode): Rename variants->variant.
+       (do_empty): Renamed from do_nop.
+       (ldst_extend): Delete argument hwse.  Split code for half-word and
+       signed byte instructions to ...
+       (ldst_extend_v4): ... here.
+       (ld_mode_required_here): Use ldst_extend_v4.
+       (do_ldrd): Simplify now that this is only called for ldrd.  No
+       need to test for XScale, which was wrong anyway.  Don't reject r12
+       as a target register.  Add test that ldrd doesn't update an index
+       register.
+       (do_pld): Don't allow post-indexed or write-back addressing modes.
+       Adjust call to ldst_extend.
+       (do_adr): Split code for adrl to ...
+       (do_adrl): ... here.
+       (do_cmp): No need to fold in COND_BIT.
+       (do_ldst): Simplify.  Split code for ldrt/strt into do_ldstt.  Split
+       code to handle half-word and signed byte instructions to ...
+       (do_ldstv4): ... here.
+       (do_ldstt): New function.  Handle load/store with translate.
+       (do_ldmstm): Write feature modification bits directly into
+       inst.instruction.
+       (do_fpa_ldst): Remove suffix handling code.
+       (do_fpa_dyadic, do_fpa_monadic, do_fpa_from_reg): Likewise.
+       (do_fpa_ldmstm): Type of access is now held in inst.instruction.
+       (build_arm_ops_hsh): New function.
+       (md_begin): Call it.  Don't build the ARM opcode directly.
+       (md_assemble): Simplify ARM instruction handling.
+
+2001-12-05  Arati Dikey <aratid@kpit.com>
+       * tc-sh.c (parse_at): Corrected incorrect op->type selection due
+       to missing 'else'.
+
+2001-12-04  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-d10v.c (write_2_short): Don't skip dummy fixups, so
+       that we can tell which operand refers to the insn put in the L
+       container and mark it as such, so that the relocation type can be
+       adjusted.
+
+2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips_cpreturn_offset): Better comment.
+       (load_register): Better error message. Cast away signedness
+       mismatches. Add casts needed for varargs.
+       (load_address): Replace checks of HAVE_64BIT_ADDRESS with dbl.
+       Remove superfluous casts.
+       (macro): Cast away signedness mismatches. Remove superfluous casts.
+       (s_cpload): Fix wrong comment.
+       (s_mips_weakext): Standardize output message.
+       (get_number): Likewise.
+
+2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (append_insn): Add jump address range overflow
+       check.
+
+2001-12-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (md_parse_option): Fix comment. Allow -mabi option
+       for ELF only.
+       (show): Document -mabi option.
+
+2001-12-03  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
+
+       * config/tc-arm.c (md_parse_option): Only clear cpu part when
+       specifying 'xscale' cpu (don't change the fpu part).
+
+2001-12-04  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-d10v.c (find_opcode): Reject SP operand if
+       OPERAND_NOSP flag is present.
+
+2001-12-03  Eric Christopher  <echristo@redhat.com>
+
+       * config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL.
+
+2001-12-02  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL
+       by BFD_RELOC_GPREL16.
+       (load_address): Likewise.
+       (macro): Likewise.
+       (md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by
+       BFD_RELOC_GPREL32.
+       (s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
+       (tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
+       *config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
+
+2001-11-29  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
+       prefix `+'.
+
+       * config/tc-d10v.c (find_opcode): Reject non-SP operand if
+       flags requires SP.
+
+2001-11-29 Arati Dikey <aratid@kpit.com>
+
+       * tc-sh.c (parse_at): Removed case-sensitivity of index register
+       R8, R9.
+
+2001-11-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used
+       in reloc if it has non-zero addend.
+       * config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check.
+       * config/tc-sparc.c (md_apply_fix3): Likewise.
+
+2001-11-28  Andreas Schwab  <schwab@suse.de>
+
+       * as.c (parse_args): Call md_after_parse_args if defined.
+       * config/tc-ia64.h (md_after_parse_args): Define.
+       * config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs.
+       * doc/internals.texi (CPU backend): Document md_after_parse_args.
+
+2001-11-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test.
+       * write.c (adjust_reloc_syms): Don't handle relocs against
+       SEC_MERGE section symbols specially.
+       (fixup_segment): Likewise.
+
+2001-11-21  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...
+       (md_apply_fix3): ...here.  Don't prevent the symbol value being
+       subtracted twice from GPREL addends.
+       (tc_gen_reloc): Add the symbol value to a GPREL addend if it was
+       subtracted by the previous function.
+
+2001-11-20  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-avr.c (md_apply_fix3): Fix typo introduced by
+       md_apply_fix3 change.
+
+2001-11-20  Ben Elliston  <bje@redhat.com>
+
+       * config/tc-m88k.c (md_apply_fix3): Match local variable `val' to
+        usage after md_apply_fix3 cleanups.
+
+2001-11-19  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * doc/c-mmix.texi: Use texinfo 4 features.
+       (MMIX-mmixal): Fix typo.
+
+2001-11-17  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/tc-cris.c (md_apply_fix3): Cast value, not pointer, in
+       val assignment.
+
+2001-11-16  Michael Snyder  <msnyder@redhat.com>
+
+       * stabs.c (stabs_generate_asm_lineno): Remember file and line number
+       from one call to the next, and eliminate consecutive duplicates
+       (thereby emitting only one line symbol per source line).
+       * dwarf2dbg.c (dwarf2_gen_line_info): Ditto.    
+
+2001-11-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.
+
+2001-11-15  H.J. Lu  <hjl@gnu.org>
+
+       * config/tc-hppa.c (md_apply_fix3): Fix a typo.
+
+2001-11-15  H.J. Lu  <hjl@gnu.org>
+
+       * config/tc-alpha.c (md_apply_fix3): Fix a typo.
+
+2001-11-15  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * write.c (fixup_segment): Remove references to md_apply_fix and
+       TC_HANDLE_FX_DONE.
+       * cgen.c, config/obj-coff.c, config/tc-*.c: Update all occurances
+       of md_apply_fix to md_apply_fix3.
+       Make all md_apply_fix3 functions void.
+       * cgen.h, config/obj-coff.h, tc-*.h: Remove all definitions of
+       MD_APPLY_FIX3 and TC_HANDLE_FX_DONE.
+       * doc/internals.texi: Update references to md_apply_fix3.
+       * tc.h: Update prototype for md_apply_fix3.
+
+2001-11-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-i386.h (md_end): Define.
+       (i386_elf_emit_arch_note): Declare.
+       (CpuUnknown): Delete.
+       * config/tc-i386.c (default_arch): Constify.
+       (smallest_imm_type): Remove CpuUnknown test.
+       (md_assemble): Don't bother checking cpu_arch_flags non-zero.
+       (i386_elf_emit_arch_note): New function.
+
+       * po/POTFILES.in: Regenerate.
+
+2001-11-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.
+
+2001-11-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * frags.c (frag_grow): Revert last change.
+
+       * dwarf2dbg.c (get_frag_fix): Align last frag size.
+
+       * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size)
+       to operand->insert.
+       (md_assemble): Likewise.
+
+2001-11-12  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * frags.c (frag_grow): Use frag_make_room() to grow the
+       obstack.
+
+2001-11-14  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-sparc.c (md_apply_fix3): Do not remove the symbol's
+       value from the addend for fixups against local symbols in
+       SEC_MERGE sections - it was not added in, in the first place.
+
+2001-11-11  Timothy Wall  <twall@alum.mit.edu>
+
+       * write.c (relax_segment): Convert symbol address into an octet
+       offset prior to adding to the frag address, which is an octet
+       offset.   Add comments to that effect.
+       * config/tc-tic54x.c: Fix bugs causing tests to fail.
+       * config/tc-tic54x.h: Ditch PARAMS macro.
+
+2001-11-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/obj-elf.c (obj_elf_version): Ensure terminating NUL is
+       put in note section.  Use sizeof instead of hard-coded constants.
+
+2001-11-12  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (support_64bit_objects): Define for OBJ_ELF only.
+       (md_longopts): Allow OPTION_MABI for ELF compilation only. RE-allow
+       OPTION_GP32, OPTION_GP64, OPTION_FP32 for non-ELF compilation.
+       Sort options a bit more logical.
+       (md_parse_option): Allow OPTION_32, OPTION_N32, OPTION_N64,
+       OPTION_MABI only for elf targets.
+
+2001-11-12  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (set_at): Add cast needed for varargs.
+       (load_register): Likewise.
+       (macro): Likewise. Some code reformatting.
+       (macro2): Add cast needed for varargs.
+       (mips16_macro): Likewise.
+
+2001-11-12  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (md_assemble): Remove superflous casts.
+       (append_insn): Likewise.
+       (mips16_macro_build): Likewise.
+       (macro): Likewise.
+       (mips16_ip): Likewise.
+       (s_cpload): Likewise.
+       (mips_relax_frag): Likewise.
+
+2001-11-12  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips_abi_level): Move in front of
+       mips_set_options.
+       (mips_set_options): Add members gp32, fp32, abi.
+       (file_mips_gp32): New flag.
+       (file_mips_fp32): New flag.
+       (mips_opts): Initialize the new members.
+       (mips_gp32): Remove.
+       (mips_fp32): Remove.
+       (HAVE_32BIT_GPRS): Use the new values from mips_opts.
+       (HAVE_32BIT_FPRS): Likewise.
+       (HAVE_NEWABI): Likewise.
+       (HAVE_64BIT_OBJECTS): Likewise.
+       (md_begin): Likewise. Save default (file) values.
+       (md_parse_option): Use the new values from mips_opts.
+       (s_mipsset): Likewise. Fix logic to keep the ABI selection if
+       possible. Let .set mipsN work together with .set push/pop.
+       Enhance error messages.
+       (mips_elf_final_processing): Use file_mips_* for header processing.
+
+2001-11-09  Marek Michalkiewicz  <marekm@amelek.gda.pl>
+
+       * config/tc-avr.c (mcu_types): Update for new devices.
+
+2001-11-09  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for
+       the page man title.
+       * doc/Makefile.in: Rebuild.
+       * doc/as.texinfo: Do not put man SEEALSO in document;
+       Use @command for commands, @option for options; Reorganize usage
+       to clearly identify target specific options.
+
+2001-11-08  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips_force_relocation): Remove duplicate code.
+
+2001-11-06  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (my_getSmallParser): Fix small parser bug.
+
+2001-11-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * config/tc-s390.c (tc_s390_force_relocation): Force all relocations
+       that need the global offset table.
+       (md_apply_fix3): Add code to undo opertions done in fixup_segment
+       triggered by TC_FORCE_RELOCATION.
+       * config/tc-s390.h (TC_FORCE_RELOCATION): Replace macro code with
+       a call to function tc_s390_force_relocation.
+       (TC_FIX_ADJUSTABLE): Define.
+
+2001-11-04  Chris Demetriou  <cgd@broadcom.com>
+
+       * configure.in (mips-*-netbsd*): Add support for target.
+       * configure: Regenerate.
+
+2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * configure.in (ALL_LINGUAS): Add 'fr'.
+       * configure: Regernate.
+       * po/fr.po: New file.  Obtained from the translation project web
+       site.
+
+2001-11-02  Richard Earnshaw  <rearnsha@arm.com>
+
+       * tc-arm.c: Re-arrange prototypes by architecture.
+       (insns): Re-arrange instructions by archtitecture.  Pld instruction
+       is part of ARMv5E.
+       (tinsns): blx and bkpt are part of ARMv5T.
+       (do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename
+       to do_fpa_*.  All callers changed.
+
+       * tc-arm.c (insns): Add two temporary instructions to handle
+       ldrd/strd.
+
+2001-11-01  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
+       for bra/bsr and use frag_variant(), this ensure that the possible
+       16-bit BFD_RELOC_16 will be in the same frag.
+
+2001-10-31  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
+       PIC code, assume pointers the same size as GPRs.
+       (macro): In M_LA_AB handling for embedded PIC code, support
+       "la $treg,foo-bar($breg)".  In load/store handling
+       (label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
+       which is used by the compiler for switch statements.
+       In load/store double multi-instruction macro handling
+       (label ldd_std) add a comment that no special handling
+       is currently done for embedded PIC.
+       (mips_ip): In 'o' (16-bit offset) case, only accept 16
+       bit offsets.
+
+2001-10-31  Richard Earnshaw  <rearnsha@arm.com>
+
+       General cleanup of feature definitions.
+       * tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete.
+       (ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete.
+       (FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete.
+       (ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines.
+       (ARM_EXT_V{5,5E}): Synchronize with above.
+       (ARM_ARCH_V*): Define a complete set in terms of above features.
+       (ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture.
+       (FPU_FPA_EXT_V[12]): Define.
+       (FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above.
+       (FPU_ANY): Define.
+       (FPU_DEFAULT): Default to FPA.
+       (CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for
+       Thumb, this is now ARM_ARCH_V5T.
+       (insns): Rework for new feature defines.
+       (tinsns): Likewise.
+       (opcode_select, do_ldst, md_begin, md_parse_option): Likewise.
+
 2001-10-31  NIIBE Yutaka  <gniibe@m17n.org>
 
        * configure.in: Handle sh*eb-*-linux* and sh*-*-linux*.
 
 2001-10-08  Tom Rix <trix@redhat.com>
 
-       * config/tc-ppc (ppc_bf, ppc_biei) : Set first .bi lineno value to 
+       * config/tc-ppc (ppc_bf, ppc_biei) : Set first .bi lineno value to
        location of next .bf
        * config/obj-coff.c (coff_frob_symbol) : XCOFF does not use endndx.
 
@@ -1520,7 +1956,7 @@ Wed Aug 29 12:05:13 2001  J"orn Rennecke <amylaar@redhat.com>
        TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
        called.
 
-       * doc/internals.texi; Document
+       * doc/internals.texi: Document
        TC_FINALIZE_SYMS_BEFORE_SIZE_SEG.
 
 2001-07-02  Alan Modra  <amodra@bigpond.net.au>
This page took 0.027213 seconds and 4 git commands to generate.