From 0c11f6b930d3da09c0341de26730011bc2164841 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 4 Dec 2003 22:48:20 +0000 Subject: [PATCH] 2003-12-04 H.J. Lu * elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing. --- bfd/ChangeLog | 4 ++++ bfd/elf32-ppc.c | 7 ++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b889b255e..ed92ab4ba 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 2003-12-04 H.J. Lu + * elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing. + +2003-12-04 H.J. Lu + * elfxx-ia64.c (elfNN_ia64_relax_section): Use the need_relax_finalize field in link_info instead of relax_finalizing to check if the relax finalize pass is being diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 8bbc26c48..4467eec5d 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -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. */ -- 2.11.4.GIT