diff options
author | Thiemo Seufer <ths@networkno.de> | 2002-07-19 21:34:02 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2002-07-19 21:34:02 +0000 |
commit | d01414a50120fb244c491c3d0bef4e62877ba01d (patch) | |
tree | 2ce1d20909192fa848a5d652db22d048d776393d /bfd/elfxx-mips.h | |
parent | bad9ca53db89e2390fd03169301dda36252fd899 (diff) | |
download | gdb-d01414a50120fb244c491c3d0bef4e62877ba01d.zip gdb-d01414a50120fb244c491c3d0bef4e62877ba01d.tar.gz gdb-d01414a50120fb244c491c3d0bef4e62877ba01d.tar.bz2 |
* 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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.h b/bfd/elfxx-mips.h index 47c8c89..2bdaacc 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 *)); |