* elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from
authorThiemo Seufer <ths@networkno.de>
Fri, 19 Jul 2002 21:34:02 +0000 (21:34 +0000)
committerThiemo Seufer <ths@networkno.de>
Fri, 19 Jul 2002 21:34:02 +0000 (21:34 +0000)
commitd01414a50120fb244c491c3d0bef4e62877ba01d
tree2ce1d20909192fa848a5d652db22d048d776393d
parentbad9ca53db89e2390fd03169301dda36252fd899
* 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/ChangeLog
bfd/elf32-mips.c
bfd/elf64-mips.c
bfd/elfxx-mips.c
bfd/elfxx-mips.h