* elf64-mips.c (elf_backend_got_header_size): Correct definition.

* elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol): Use the ELF
	backend's GOT header size instead of hardcoding it.
This commit is contained in:
Maciej W. Rozycki
2012-05-19 19:30:45 +00:00
parent 751c1fe7ea
commit a44acb1ed2
3 changed files with 9 additions and 2 deletions

View File

@@ -4126,7 +4126,7 @@ const struct elf_size_info mips_elf64_size_info =
#define elf_backend_grok_prstatus elf64_mips_grok_prstatus
#define elf_backend_grok_psinfo elf64_mips_grok_psinfo
#define elf_backend_got_header_size (4 * MIPS_RESERVED_GOTNO)
#define elf_backend_got_header_size (8 * MIPS_RESERVED_GOTNO)
/* MIPS ELF64 can use a mixture of REL and RELA, but some Relocations
work better/work only in RELA, so we default to this. */