mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-27 02:14:04 +08:00
Make room for PLT0 directly
* elf32-i386.c (elf_i386_allocate_dynrelocs): Make room for PLT0 directly. * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
This commit is contained in:
parent
8467a2fd55
commit
bb81b736af
@ -1,3 +1,9 @@
|
||||
2013-11-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elf32-i386.c (elf_i386_allocate_dynrelocs): Make room for
|
||||
PLT0 directly.
|
||||
* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
|
||||
|
||||
2013-11-14 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR ld/16017
|
||||
|
@ -2219,7 +2219,7 @@ elf_i386_allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf)
|
||||
/* If this is the first .plt entry, make room for the special
|
||||
first entry. */
|
||||
if (s->size == 0)
|
||||
s->size += plt_entry_size;
|
||||
s->size = plt_entry_size;
|
||||
|
||||
h->plt.offset = s->size;
|
||||
|
||||
|
@ -2318,7 +2318,7 @@ elf_x86_64_allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf)
|
||||
/* If this is the first .plt entry, make room for the special
|
||||
first entry. */
|
||||
if (s->size == 0)
|
||||
s->size += plt_entry_size;
|
||||
s->size = plt_entry_size;
|
||||
|
||||
h->plt.offset = s->size;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user