diff options
author | Alan Modra <amodra@gmail.com> | 2002-02-12 06:34:57 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-02-12 06:34:57 +0000 |
commit | 0ad3a73b15990b52e60b99a55069a6756ea6eee8 (patch) | |
tree | 5a0b6f14d43c548abd04d440dc742507475f5445 /bfd/elf64-ppc.c | |
parent | 19397422908c5e57387c3ccad9e0c7576a138c64 (diff) | |
download | gdb-0ad3a73b15990b52e60b99a55069a6756ea6eee8.zip gdb-0ad3a73b15990b52e60b99a55069a6756ea6eee8.tar.gz gdb-0ad3a73b15990b52e60b99a55069a6756ea6eee8.tar.bz2 |
* elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing
64k boundary.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index e0fb9bf..cca9b7f 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -3255,7 +3255,7 @@ ppc64_elf_size_stubs (obfd, info, changed) /* 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 |