* elfxx-mips.c (ABI_64_P): Use backend's data to determine the

ABI.
This commit is contained in:
Maciej W. Rozycki 2002-06-03 18:42:54 +00:00
parent 909daa8222
commit cf6fb9ce2f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-06-03 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* elfxx-mips.c (ABI_64_P): Use backend's data to determine the
ABI.
2002-06-02 Kazu Hirata <kazu@cs.umass.edu>
* elf32-arc.c: Fix formatting.

View File

@ -375,7 +375,7 @@ static bfd *reldyn_sorting_bfd;
/* Nonzero if ABFD is using the 64-bit ABI. */
#define ABI_64_P(abfd) \
((elf_elfheader (abfd)->e_ident[EI_CLASS] == ELFCLASS64) != 0)
((get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64) != 0)
#define IRIX_COMPAT(abfd) \
(get_elf_backend_data (abfd)->elf_backend_mips_irix_compat (abfd))