aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-alpha.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/elf64-alpha.c
parentb80901c73fc8231882b800f904b23b3bc32431bb (diff)
downloadgdb-66becf3266af273709dff2d4750ae9a1810ce6bd.zip
gdb-66becf3266af273709dff2d4750ae9a1810ce6bd.tar.gz
gdb-66becf3266af273709dff2d4750ae9a1810ce6bd.tar.bz2
* 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/elf64-alpha.c')
-rw-r--r--bfd/elf64-alpha.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index 1e2d246..6025277 100644
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -393,15 +393,6 @@ static bfd_boolean
elf64_alpha_object_p (abfd)
bfd *abfd;
{
- /* Allocate our special target data. */
- struct alpha_elf_obj_tdata *new_tdata;
- bfd_size_type amt = sizeof (struct alpha_elf_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;
-
/* Set the right machine number for an Alpha ELF file. */
return bfd_default_set_arch_mach (abfd, bfd_arch_alpha, 0);
}