diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-05-19 19:30:45 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-05-19 19:30:45 +0000 |
commit | a44acb1ed2e00707e619ef389d38572de2530d76 (patch) | |
tree | be41b788103077d8c5cbfe126d3d939ec154d36d /bfd/elf64-mips.c | |
parent | 751c1fe7eaecddf885f29a2aba76981e495371f0 (diff) | |
download | gdb-a44acb1ed2e00707e619ef389d38572de2530d76.zip gdb-a44acb1ed2e00707e619ef389d38572de2530d76.tar.gz gdb-a44acb1ed2e00707e619ef389d38572de2530d76.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/elf64-mips.c')
-rw-r--r-- | bfd/elf64-mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index 054b262..e02f969 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -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. */ |