diff options
author | Alan Modra <amodra@bigpond.net.au> | 2003-12-04 03:03:27 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2003-12-04 03:03:27 +0000 |
commit | 618a2a06b40d762ece48843f8cc9094b15510b66 (patch) | |
tree | e43583109edcf081bacc7548a578ac8547dd9f37 /bfd/elf32-sparc.c | |
parent | def318d152a419db75ee0b376dd284ffd28857ec (diff) | |
download | binutils-redhat-618a2a06b40d762ece48843f8cc9094b15510b66.tar.gz |
* elf32-i386.c (elf_i386_object_p): Delete.
(elf_backend_object_p): Don't define.
* elf32-s390.c (elf_s390_object_p): No need to alloc tdata here.
* elf32-sh.c (sh_elf_object_p): Likewise.
* elf32-sparc.c (elf32_sparc_object_p): Likewise.
* elf64-alpha.c (elf64_alpha_object_p): Likewise.
* elf64-s390.c (elf_s390_object_p): Likewise.
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.
Diffstat (limited to 'bfd/elf32-sparc.c')
-rw-r--r-- | bfd/elf32-sparc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/bfd/elf32-sparc.c b/bfd/elf32-sparc.c index ea3a9b139b..f77f22c7c3 100644 --- a/bfd/elf32-sparc.c +++ b/bfd/elf32-sparc.c @@ -3340,15 +3340,6 @@ static bfd_boolean elf32_sparc_object_p (abfd) bfd *abfd; { - /* Allocate our special target data. */ - struct elf32_sparc_obj_tdata *new_tdata; - bfd_size_type amt = sizeof (struct elf32_sparc_obj_tdata); - new_tdata = bfd_zalloc (abfd, amt); - if (new_tdata == NULL) - return FALSE; - new_tdata->root = *abfd->tdata.elf_obj_data; - abfd->tdata.any = new_tdata; - if (elf_elfheader (abfd)->e_machine == EM_SPARC32PLUS) { if (elf_elfheader (abfd)->e_flags & EF_SPARC_SUN_US3) |