* elf64-mips.c (elf_backend_got_header_size): Correct definition.
[deliverable/binutils-gdb.git] / bfd / elfxx-mips.c
index 6dd0592917dbfd67c7d52c4ac805d8d168cb6202..9b4ccbf95da547e9bfbd9167bca5d02859014715 100644 (file)
@@ -8665,7 +8665,8 @@ _bfd_mips_elf_adjust_dynamic_symbol (struct bfd_link_info *info,
          /* On non-VxWorks targets, the first two entries in .got.plt
             are reserved.  */
          if (!htab->is_vxworks)
-           htab->sgotplt->size += 2 * MIPS_ELF_GOT_SIZE (dynobj);
+           htab->sgotplt->size
+             += get_elf_backend_data (dynobj)->got_header_size;
 
          /* On VxWorks, also allocate room for the header's
             .rela.plt.unloaded entries.  */
This page took 0.026164 seconds and 4 git commands to generate.