diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2002-06-03 18:42:54 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2002-06-03 18:42:54 +0000 |
commit | cf6fb9ce2fde099451fa0b0c59318b24784ada0b (patch) | |
tree | 19ddb166f91f76c74904e0241b89e298a9f4aa21 /bfd/elfxx-mips.c | |
parent | 909daa82226565b3670915f49689fdfcda820f16 (diff) | |
download | gdb-cf6fb9ce2fde099451fa0b0c59318b24784ada0b.zip gdb-cf6fb9ce2fde099451fa0b0c59318b24784ada0b.tar.gz gdb-cf6fb9ce2fde099451fa0b0c59318b24784ada0b.tar.bz2 |
* elfxx-mips.c (ABI_64_P): Use backend's data to determine the
ABI.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 0a92e5d..f3464d5 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -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)) |