2003-12-04 H.J. Lu <hongjiu.lu@intel.com>

* elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.
This commit is contained in:
H.J. Lu 2003-12-04 22:48:20 +00:00
parent d9c458fcc1
commit a070c2b16c
2 changed files with 6 additions and 5 deletions

View 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

View 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. */