summaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.h
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2002-07-19 21:34:02 +0000
committerThiemo Seufer <ths@networkno.de>2002-07-19 21:34:02 +0000
commitca0ac527ca77823c3dc0a97610a8911d9e43f314 (patch)
treee8755c9b8434a750c1906ac6661c6cee2e3e8ce9 /bfd/elfxx-mips.h
parentbc361928eec58fe687069ce13f94de50cc64478d (diff)
downloadbinutils-redhat-ca0ac527ca77823c3dc0a97610a8911d9e43f314.tar.gz
* 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.
Diffstat (limited to 'bfd/elfxx-mips.h')
-rw-r--r--bfd/elfxx-mips.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.h b/bfd/elfxx-mips.h
index 47c8c89dec..2bdaacc201 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 *));