From d01414a50120fb244c491c3d0bef4e62877ba01d Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Fri, 19 Jul 2002 21:34:02 +0000 Subject: * elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from elf32-mips.c. (_bfd_mips_elf_write_section): Likewise. * elfxx-mips.h (_bfd_mips_elf_discard_info): New prototype. (_bfd_mips_elf_write_section): Likewise. * elf32-mips.c (elf32_mips_discard_info): Move to elfxx-mips.c. (elf32_mips_write_section): Likewise. * elf64-mips.c (_bfd_mips_elf_ignore_discarded_relocs): Use it. (_bfd_mips_elf_write_section): Likewise. --- bfd/elf64-mips.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd/elf64-mips.c') diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index ea8f645..6fed5c1 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -2736,6 +2736,10 @@ const struct elf_size_info mips_elf64_size_info = #define elf_backend_may_use_rela_p 1 #define elf_backend_default_use_rela_p 1 +#define elf_backend_ignore_discarded_relocs \ + _bfd_mips_elf_ignore_discarded_relocs +#define elf_backend_write_section _bfd_mips_elf_write_section + /* 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 ABI. */ -- cgit v1.1