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/elfxx-mips.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd/elfxx-mips.h') diff --git a/bfd/elfxx-mips.h b/bfd/elfxx-mips.h index 47c8c89dece..2bdaacc2016 100644 --- a/bfd/elfxx-mips.h +++ b/bfd/elfxx-mips.h @@ -91,6 +91,10 @@ extern boolean _bfd_mips_elf_set_private_flags PARAMS ((bfd *, flagword)); extern boolean _bfd_mips_elf_print_private_bfd_data PARAMS ((bfd *, PTR)); +extern boolean _bfd_mips_elf_discard_info + PARAMS ((bfd *, struct elf_reloc_cookie *, struct bfd_link_info *)); +extern boolean _bfd_mips_elf_write_section + PARAMS ((bfd *, asection *, bfd_byte *)); extern boolean _bfd_mips_elf_read_ecoff_info PARAMS ((bfd *, asection *, struct ecoff_debug_info *)); -- cgit v1.2.1