summaryrefslogtreecommitdiffstats
path: root/bfd/elf32-sparc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-12-04 03:03:27 +0000
committerAlan Modra <amodra@gmail.com>2003-12-04 03:03:27 +0000
commit66becf3266af273709dff2d4750ae9a1810ce6bd (patch)
treea3cfffb12e4a8018acae0c4d0cf74e20bcfe6f50 /bfd/elf32-sparc.c
parentb80901c73fc8231882b800f904b23b3bc32431bb (diff)
downloadppe42-binutils-66becf3266af273709dff2d4750ae9a1810ce6bd.tar.gz
ppe42-binutils-66becf3266af273709dff2d4750ae9a1810ce6bd.zip
* 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.c9
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)
OpenPOWER on IntegriCloud