This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
elf64-ppc.c thinko
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Tue, 12 Feb 2002 17:04:31 +1030
- Subject: elf64-ppc.c thinko
Got the test back to front. Installing mainline and branch.
bfd/ChangeLog
* elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing
64k boundary.
Index: bfd/elf64-ppc.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-ppc.c,v
retrieving revision 1.27
diff -u -p -r1.27 elf64-ppc.c
--- elf64-ppc.c 2002/02/12 06:31:29 1.27
+++ elf64-ppc.c 2002/02/12 06:32:59
@@ -3255,7 +3255,7 @@ ppc64_elf_size_stubs (obfd, info, change
/* If the .plt doesn't have any entries crossing a 64k boundary,
then there is no need for bigger stubs. */
- if (next_64k <= plt_offset + htab->splt->_raw_size)
+ if (plt_offset + htab->splt->_raw_size <= next_64k)
return true;
/* OK, so we have at least one transition. Since .plt entries are
--
Alan Modra
IBM OzLabs - Linux Technology Centre