X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Felf32-i386.c;h=4574c598bad3c548ccb1327fe9018d9ec19272c0;hb=bb81b736af76774d76ca6adb8e7ba245b030a7d9;hp=a623a13c7def0367fe9878666ea80fc552467f2e;hpb=8467a2fd5569f7345c025ca94467f50cd329560d;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index a623a13c7d..4574c598ba 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -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;