* write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
[binutils-gdb.git] / gas / ChangeLog
index ed37bd25ec8ec3ec83b0ecb1c430d9f161d1e4ea..ceea5ececa3884f283805f7586f3f362dfce83b1 100644 (file)
@@ -1,3 +1,177 @@
+2002-11-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
+       (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
+       * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
+       default.
+
+       * dep-in.sed: Fix typo.
+
+2002-10-30  Daniel Jacobowitz  <drow@mvista.com>
+
+       * configure.in: Update ARM CPU patterns.
+       * configure: Regenerated.
+
+2002-10-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * itbl-lex.l: Use #include <> for generated headers.
+       * itbl-ops.c: Likewise.
+
+2002-10-28  Daniel Jacobowitz  <drow@mvista.com>
+
+       * doc/gasp.texi: Fix typo in deprecation note.
+
+2002-10-23  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to
+       _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc.
+
+2002-10-23  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare.
+       (tc_frob_file_before_adjust): Don't define.
+       * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
+       function.
+       (mmix_frob_file_before_adjust): Remove ineffective function.
+
+2002-10-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/tc-cris.c (SIMPLE_EXPR): New macro.
+       (cris_relax_frag): New function.
+       (md_estimate_size_before_relax) <case ENCODE_RELAX
+       (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
+       expressions that will become absolute expressions to relaxation.
+       (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
+       STATE_WORD)>: Expect only absolute expressions.  Use the symbol
+       value, not distance to symbol.
+       <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
+       Ditto.  Correct placement of fixup.
+       (md_assemble): Use SIMPLE_EXPR when dissecting expressions.
+       (gen_bdap): Ditto.
+       * config/tc-cris.h (cris_relax_frag): Declare.
+       (md_relax_frag): Define.
+
+2002-10-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/obj-elf.c (special_sections): Use correct types for init
+       array sections.
+       (obj_elf_change_section): Don't mess with init array section type.
+
+2002-10-21  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
+       for relocs against symbols in a merged section.
+
+2002-10-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-mips.c (md_begin): Add $fcc registers to the symbol
+       table as register names.
+
+2002-10-18  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
+       for option -m31.
+
+2002-10-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * expr.c (operand): Add support for n.nn flonums.
+
+2002-10-17  Johannes Stezenbach  <js@convergence.de>
+
+       * itbl-parse.y (entry): Provide empty action.
+
+2002-10-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.in (BFDVER_H): Set and subst.
+       * dep-in.sed: Replace bfdver.h with $(BFDVER_H).
+       * Makefile.am: Run "make dep-am".
+       (BFDVER_H): Define.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2002-10-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
+       (MD_APPLY_SYM_VALUE): Define for PE too.
+
+2002-10-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       (CPU_OBJ_VALID): sh64 coff is invalid.
+       * as.c: #include "bfdver.h".
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+
+2002-10-14  Momchil Velikov  <velco@fadata.bg>
+
+       * config/tc-v850.c (CHECK_): Remove token pasting operator.
+
+2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       * configure.in (mips64vr-elf, mips64vrel-elf): New config.
+       * configure: Regenerate.
+
+2002-10-13  Eric Christopher  <echristo@redhat.com>
+           Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-mips.c (s_gpdword): New function.
+       (mips_pseudo_table): Add .gpdword.
+       (mips_need_elf_addend_fixup): never for NEWABI.
+       (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
+       GPREL32 as done.
+       (s_cpadd): Generate .cpadd on NEWABI.
+
+2002-10-12  Elias Athanasopoulos  <eathan@otenet.gr>
+
+       * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
+
+2002-10-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-mips.h (mips_relax_frag): Take segment as argument.
+       (md_relax_frag): Adjust macro.
+       * config/tc-mips.c (mips_relax_branch): New variable.
+       (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
+       RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
+       (RELAX_MIPS16_P): Adjust.
+       (append_insn): Emit branch to non-constant in a frag_var if
+       branch-relaxation is desirable and possible.
+       (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
+       (OPTION_ELF_BASE): Adjust.
+       (md_parse_option): Handle new options.
+       (md_apply_fix3): Update comment on EMBEDDED_PIC conditional
+       branch relaxation.
+       (relaxed_branch_length): New function.
+       (md_estimate_size_before_relax): Handle branch frags.
+       (mips_relax_frag): Likewise.
+       (md_convert_frag): Handle branch frags.  Warn if branch is
+       relaxed.
+
+2002-10-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
+       emitted.
+       (md_apply_fix3): Add TLS relocs.
+       (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
+       @DTPOFF.
+
+2002-10-11  Michel Six  <msix@ccr.jussieu.fr>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
+       (md_estimate_size_before_relax): Likewise for 8 bit branches.
+
+Thu Oct 10 14:31:30 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
+       inside loop.
+
+2002-10-09  Richard Shann <richard.shann@superh.com>
+           Stephen Clarke <stephen.clarke@superh.com>
+
+       * config/tc-sh64.c (sh64_target_format): Add support for sh64
+       Linux environment.
+
 2002-10-03  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
 
        * contig/tc-sh.c (sh_local_pcrel): New.
        (TC_FORCE_RELOCATION): Tidy arg.
 
 2002-09-30  Gavin Romig-Koch  <gavin@redhat.com>
-            Ken Raeburn  <raeburn@cygnus.com>
-            Aldy Hernandez  <aldyh@redhat.com>
-            DJ Delorie  <dj@redhat.com>
-            Michael Meissner  <meissner@redhat.com>
-            Eric Christopher  <echristo@redhat.com>
-            Richard Sandiford  <rsandifo@redhat.com>
+           Ken Raeburn  <raeburn@cygnus.com>
+           Aldy Hernandez  <aldyh@redhat.com>
+           DJ Delorie  <dj@redhat.com>
+           Michael Meissner  <meissner@redhat.com>
+           Eric Christopher  <echristo@redhat.com>
+           Richard Sandiford  <rsandifo@redhat.com>
 
        * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
        vr5400 and vr5500.  Add entry for -mfix-vr4122-bugs.
        twice if howto->pcrel_offset is true.
 
 2002-09-28  Matt Thomas  <matt@3am-software.com>
-            Jason Thorpe  <thorpej@wasabisystems.com>
+           Jason Thorpe  <thorpej@wasabisystems.com>
 
        * config/tc-vax.c (md_estimate_size_before_relax): Only try to
        convert undefined references to GOT32/PLT32 if PIC code is