summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2008-08-07 20:03:25 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2008-08-07 20:03:25 +0000
commitd5eaccd71d0eecde192070121e3c66a8f1bee39f (patch)
tree97b0def1903340682ec9e8ee7e876cf561db7813 /bfd/elf32-mips.c
parentbfd/ (diff)
downloadbinutils-gdb-d5eaccd71d0eecde192070121e3c66a8f1bee39f.tar.gz
binutils-gdb-d5eaccd71d0eecde192070121e3c66a8f1bee39f.tar.bz2
binutils-gdb-d5eaccd71d0eecde192070121e3c66a8f1bee39f.zip
bfd/
* elf-bfd.h (MIPS_ELF_TDATA): New elf_object_id. * elf32-mips.c (bfd_elf32_mkobject): Define. * elf64-mips.c (bfd_elf64_mkobject): Likewise. * elfn32-mips.c (bfd_elf32_mkobject): Likewise. * elfxx-mips.h (_bfd_mips_elf_mkobject): Declare. * elfxx-mips.c (is_mips_elf): New macro. (_bfd_mips_elf_mkobject): New function. (_bfd_mips_elf_final_link): Use is_mips_elf. (_bfd_mips_elf_merge_private_bfd_data): Likewise.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 526c222f543..e04e797c806 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -1630,6 +1630,7 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
#define bfd_elf32_set_section_contents _bfd_mips_elf_set_section_contents
#define bfd_elf32_bfd_get_relocated_section_contents \
_bfd_elf_mips_get_relocated_section_contents
+#define bfd_elf32_mkobject _bfd_mips_elf_mkobject
#define bfd_elf32_bfd_link_hash_table_create \
_bfd_mips_elf_link_hash_table_create
#define bfd_elf32_bfd_final_link _bfd_mips_elf_final_link