mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 23:26:51 +08:00
* elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192
plt entries, not just 8191.
This commit is contained in:
@ -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.
|
||||
|
@ -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. */
|
||||
|
Reference in New Issue
Block a user