Make room for PLT0 directly
[deliverable/binutils-gdb.git] / bfd / elf32-i386.c
index a623a13c7def0367fe9878666ea80fc552467f2e..4574c598bad3c548ccb1327fe9018d9ec19272c0 100644 (file)
@@ -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;
 
This page took 0.024569 seconds and 4 git commands to generate.