removed unused elf_64_p field

This commit is contained in:
Ken Raeburn 1995-07-01 04:20:05 +00:00
parent b968e4f491
commit 5cab016b72
3 changed files with 4 additions and 8 deletions

View file

@ -1,6 +1,10 @@
Sat Jul 1 00:11:08 1995 Ken Raeburn <raeburn@cygnus.com> Sat Jul 1 00:11:08 1995 Ken Raeburn <raeburn@cygnus.com>
* elfxx-target.h: New file. * elfxx-target.h: New file.
* libelf.h (struct elf_backend_data): Remove elf_64_p field.
* elfxx-target.h (elfNN_bed): Don't set it.
* elf32-target.h, elf64-target.h: Deleted. * elf32-target.h, elf64-target.h: Deleted.
* Makefile.in (elf32-target.h, elf64-target.h): Build them from * Makefile.in (elf32-target.h, elf64-target.h): Build them from
elfxx-target.h. elfxx-target.h.

View file

@ -185,11 +185,6 @@ static CONST struct elf_backend_data elfNN_bed =
0, /* use_rela_p */ 0, /* use_rela_p */
#else #else
1, /* use_rela_p */ 1, /* use_rela_p */
#endif
#if NN == 64
1, /* elf_64_p */
#else
0, /* elf_64_p */
#endif #endif
ELF_ARCH, /* arch */ ELF_ARCH, /* arch */
ELF_MACHINE_CODE, /* elf_machine_code */ ELF_MACHINE_CODE, /* elf_machine_code */

View file

@ -178,9 +178,6 @@ struct elf_backend_data
approach will need to be changed. */ approach will need to be changed. */
int use_rela_p; int use_rela_p;
/* Whether this backend is 64 bits or not. FIXME: Who cares? */
int elf_64_p;
/* The architecture for this backend. */ /* The architecture for this backend. */
enum bfd_architecture arch; enum bfd_architecture arch;