* elf.c (_bfd_elf_rela_local_sym): New.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index b40e5000fbfbd57547dde24f50c1af6558d1fcb8..b2caa0b36d25ff17daf9ff6064206e3477fd46a6 100644 (file)
@@ -1,3 +1,351 @@
+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  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*.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * doc/c-sh.texi (SH Options): Added descriptions.
+
+2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * configure.in: Update for MMIX port.
+       * Makefile.am: Ditto.  Regenerate dependencies.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * config/tc-mmix.h, config/tc-mmix.c: New files.
+       * doc/Makefile.am (CPU_DOCS): Add c-mmix.texi
+       * doc/Makefile.in: Regenerate.
+       * doc/all.texi: @set MMIX.
+       * doc/as.texinfo: Ditto.  Add MMIX gas manpage option overview.
+       Include c-mmix.texi.
+       * doc/c-mmix.texi: New file.
+
+2001-10-24  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c (hilo_interlocks, cop_interlocks): Make
+       these evaluate to true if mips_arch indicates SB-1.
+
+2001-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * as.c (parse_args): Print the date as well for --version.
+
+2001-10-20  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c (md_show_usage): Print "sb1" for Broadcom
+       SB-1 CPU for consistency.
+       (mips_cpu_info_table): Tweak comment about SB-1.
+
+2001-10-20  H.J. Lu  <hjl@gnu.org>
+
+       * config/tc-arm.c (do_c_shift): Use ISDIGIT instead of isdigit.
+       (cirrus_parse_offset): Likewise.
+
+2001-10-19  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arm.c: Restore line_comment_chars.
+
+2001-10-18  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arm.c (comment_chars): Remove semi-colon accidentally
+       added to the list.
+
+2001-10-18  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
+       for undefined symbols.
+
+2001-10-17  Chris Demetriou  <cgd@broadcom.com>
+
+       * doc/as.texinfo (MIPS ISA options):  Added accidentally
+       omitted "-mips64" option to list of options.
+
+2001-10-17  matthew green  <mrg@redhat.com>
+
+       * config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400,
+       -m7410, -m7450 and -m7455 options.
+
+2001-10-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.
+       (ppc_size): Select PPC_OPCODE_64 if 64 bit.
+       (md_begin): Don't set ppc_size here.
+       (ppc_target_format): Test ppc_size as well as BFD_DEFAULT_TARGET_SIZE.
+       (md_shortopts): Constify.
+       (md_longopts): Likewise.
+       (md_longopts_size): Likewise.
+       (ppc_elf_suffix): Only allow 64-bit relocs when ppc_size specifies
+       64-bit opcodes.
+       (ppc_machine): Explain why this function is a nop.
+
+2001-10-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * bit_fix.h: Comment typo fix.
+       * config/tc-mips.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-arc.c (arc_code_symbol): Remove unnecessary test.
+
+       * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
+       that autoheader doesn't duplicate config.in entries.
+       (DEFAULT_ARCH): Ditto.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2001-10-16  Alan Modra  <amodra@bigpond.net.au>
+
+       From Andrew Pines <apines@cosmodog.com>
+       * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.
+
 2001-10-16  NIIBE Yutaka  <gniibe@m17n.org>,
            Hans-Peter Nilsson  <hp@bitrange.com>
 
 
 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.
 
This page took 0.027834 seconds and 4 git commands to generate.