From: Thiemo Seufer Date: Wed, 3 Oct 2001 14:12:12 +0000 (+0000) Subject: * elf64-mips.c (elf_backend_may_use_rela_p): New define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e2be829b640424822efa52a8b94634d51ced5f4;p=binutils-gdb.git * elf64-mips.c (elf_backend_may_use_rela_p): New define. (elf_backend_default_use_rela_p): New define. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a4c2cda662a..c1ce396f59c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-10-03 Thiemo Seufer + + * elf64-mips.c (elf_backend_may_use_rela_p): New define. + (elf_backend_default_use_rela_p): New define. + 2001-10-03 Alan Modra * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index 0b8638f22b1..ffdfe539874 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -2103,7 +2103,12 @@ 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 + +/* MIPS ELF64 can use a mixture of REL and RELA, but some Relocations + * work better/work only in RELA, so we default to this. */ +#define elf_backend_may_use_rel_p 1 +#define elf_backend_may_use_rela_p 1 +#define elf_backend_default_use_rela_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