summaryrefslogtreecommitdiff
path: root/bfd/elf64-mips.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-07-14 08:49:40 +0000
committerMark Mitchell <mark@codesourcery.com>1999-07-14 08:49:40 +0000
commitc9daff178bd8f3bdf86d3a95529b2c3946e29158 (patch)
tree990ca8147b37b1f9bc6549efd385b5cce8987693 /bfd/elf64-mips.c
parent034d409cabd7115d67d7d2a74896d863dbd1e47d (diff)
downloadgdb-c9daff178bd8f3bdf86d3a95529b2c3946e29158.tar.gz
* dwarf2.c (read_attribute): Support DW_FORM_ref8.
* elf32-mips.c (mips_elf_link_hash_entry): Change mips_32_relocs to possibly_dynamic_relocs. Adjust usage throughout code. (elf_mips_howto_table): Handle R_MIPS_64 correctly. (elf_mips_ctor64_howto): Likewise. (mips_elf_calculate_relocation): Handle R_MIPS_64 like R_MIPS_32. Adjust indentation. (mips_elf_relocate_section): Handle R_MIPS_64 in 32-bit mode. (_bfd_mips_elf_check_relocs): Handle R_MIPS_64 like R_MIPS_32. Use MIPS_ELF_GOT_SIZE to calculate the size of GOT entries. * elf64-mips.c (elf_backend_may_use_rel_p): Define.
Diffstat (limited to 'bfd/elf64-mips.c')
-rw-r--r--bfd/elf64-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c
index 0e388efcfd9..6fc0dcdf0e4 100644
--- a/bfd/elf64-mips.c
+++ b/bfd/elf64-mips.c
@@ -2148,6 +2148,7 @@ const struct elf_size_info mips_elf64_size_info =
#define elf_backend_gc_sweep_hook _bfd_mips_elf_gc_sweep_hook
#define elf_backend_got_header_size (4*MIPS_RESERVED_GOTNO)
#define elf_backend_plt_header_size 0
+#define elf_backend_may_use_rel_p 1
/* We don't set bfd_elf64_bfd_is_local_label_name because the 32-bit
MIPS-specific function only applies to IRIX5, which had no 64-bit