2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Dec 2003 22:48:20 +0000 (22:48 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Dec 2003 22:48:20 +0000 (22:48 +0000)
* elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.

bfd/ChangeLog
bfd/elf32-ppc.c

index b889b255e6ea6d554fa1c0056cb7a13574409298..ed92ab4bafefc9bd02dd53b9b19750b83f07e435 100644 (file)
@@ -1,3 +1,7 @@
+2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.
+
 2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elfxx-ia64.c (elfNN_ia64_relax_section): Use the
index 8bbc26c4870fed4bb46ab7f623e140351adf01bb..4467eec5d975aff45d6a270bcbd325a4abb35df8 100644 (file)
@@ -1675,11 +1675,8 @@ ppc_elf_relax_section (bfd *abfd,
 
   *again = FALSE;
 
-  /* Nothing to do if there are no relocations and no need for
-     the relax finalize pass.  */
-  if ((isec->flags & SEC_RELOC) == 0
-      || isec->reloc_count == 0
-      || link_info->relax_finalizing)
+  /* Nothing to do if there are no relocations.  */
+  if ((isec->flags & SEC_RELOC) == 0 || isec->reloc_count == 0)
     return TRUE;
 
   /* If needed, initialize this section's cooked size.  */