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/elf64-mips.c | |
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/elf64-mips.c')
-rw-r--r-- | bfd/elf64-mips.c | 4 |
1 files changed, 4 insertions, 0 deletions
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. */ |