diff options
author | Alan Modra <amodra@gmail.com> | 2003-12-04 03:03:27 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-12-04 03:03:27 +0000 |
commit | 66becf3266af273709dff2d4750ae9a1810ce6bd (patch) | |
tree | a3cfffb12e4a8018acae0c4d0cf74e20bcfe6f50 /bfd/elf32-i386.c | |
parent | b80901c73fc8231882b800f904b23b3bc32431bb (diff) | |
download | gdb-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/elf32-i386.c')
-rw-r--r-- | bfd/elf32-i386.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 8adaa0f..876efc6 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -546,20 +546,6 @@ elf_i386_mkobject (bfd *abfd) return TRUE; } -static bfd_boolean -elf_i386_object_p (bfd *abfd) -{ - /* Allocate our special target data. */ - struct elf_i386_obj_tdata *new_tdata; - bfd_size_type amt = sizeof (struct elf_i386_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; - return TRUE; -} - /* i386 ELF linker hash table. */ struct elf_i386_link_hash_table @@ -3253,7 +3239,6 @@ elf_i386_finish_dynamic_sections (bfd *output_bfd, #define elf_info_to_howto_rel elf_i386_info_to_howto_rel #define bfd_elf32_mkobject elf_i386_mkobject -#define elf_backend_object_p elf_i386_object_p #define bfd_elf32_bfd_is_local_label_name elf_i386_is_local_label_name #define bfd_elf32_bfd_link_hash_table_create elf_i386_link_hash_table_create |