diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-12-04 22:48:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-12-04 22:48:20 +0000 |
commit | a070c2b16cbe6a1aebd17472647efe7ee4529966 (patch) | |
tree | e6cdba2b16c37edf2eaa8bacf8dd47585ea63e32 /bfd/elf32-ppc.c | |
parent | d9c458fcc1f8b060d4cbf6c4e582b20649cbee47 (diff) | |
download | gdb-a070c2b16cbe6a1aebd17472647efe7ee4529966.zip gdb-a070c2b16cbe6a1aebd17472647efe7ee4529966.tar.gz gdb-a070c2b16cbe6a1aebd17472647efe7ee4529966.tar.bz2 |
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 8bbc26c..4467eec 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. */ |