diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-05-31 07:55:10 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-05-31 07:55:10 +0000 |
commit | 06f3299e90da922c85f8147226406633c7c07c06 (patch) | |
tree | 24c3784607a61fd48c28c2cb4dd23cbc8c49e173 | |
parent | 00ab2d60c1d0b86bf3db1257b07680030d489945 (diff) | |
download | gdb-06f3299e90da922c85f8147226406633c7c07c06.tar.gz |
* elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192
plt entries, not just 8191.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ac381e6f64d..04582f8b0f6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-05-31 Jakub Jelinek <jakub@redhat.com> + + * elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192 + plt entries, not just 8191. + 2003-05-30 Daniel Jacobowitz <drow@mvista.com> * elfxx-mips.c (_bfd_mips_elf_discard_info): Correct loop index. diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 8c0e4d5e8f1..d2cbd836f40 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. */ |