* gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
[deliverable/binutils-gdb.git] / bfd / elf-ifunc.c
index ea08329d2ed8b6128d5a2920a8ceb20274a80226..8d48e66eef9681910f781ec17b935d88fa7c1df3 100644 (file)
@@ -112,6 +112,7 @@ _bfd_elf_allocate_ifunc_dyn_relocs (struct bfd_link_info *info,
                                    struct elf_link_hash_entry *h,
                                    struct elf_dyn_relocs **head,
                                    unsigned int plt_entry_size,
+                                   unsigned int plt_header_size,
                                    unsigned int got_entry_size)
 {
   asection *plt, *gotplt, *relplt;
@@ -193,7 +194,7 @@ keep:
       /* If this is the first .plt entry, make room for the special
         first entry.  */
       if (plt->size == 0)
-       plt->size += plt_entry_size;
+       plt->size += plt_header_size;
     }
   else
     {
This page took 0.02395 seconds and 4 git commands to generate.