aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-05-31 07:55:10 +0000
committerJakub Jelinek <jakub@redhat.com>2003-05-31 07:55:10 +0000
commitf2c822e386797796f5f0436c86d2d08baf61e22a (patch)
tree36a67eb92467fa911b5e9ef4011202ae64d63be0 /bfd/elf32-ppc.c
parentc8f55a7b394521febc8076cb1e95a37723e13e25 (diff)
downloadgdb-f2c822e386797796f5f0436c86d2d08baf61e22a.zip
gdb-f2c822e386797796f5f0436c86d2d08baf61e22a.tar.gz
gdb-f2c822e386797796f5f0436c86d2d08baf61e22a.tar.bz2
* elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192
plt entries, not just 8191.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 8c0e4d5..d2cbd83 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -2719,7 +2719,7 @@ allocate_dynrelocs (h, inf)
for two entries is allocated. */
s->_raw_size += PLT_ENTRY_SIZE;
if ((s->_raw_size - PLT_INITIAL_ENTRY_SIZE) / PLT_ENTRY_SIZE
- >= PLT_NUM_SINGLE_ENTRIES)
+ > PLT_NUM_SINGLE_ENTRIES)
s->_raw_size += PLT_ENTRY_SIZE;
/* We also need to make an entry in the .rela.plt section. */