diff options
author | Thiemo Seufer <ths@networkno.de> | 2002-05-14 23:34:00 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2002-05-14 23:34:00 +0000 |
commit | 1ce536f403280360489f550e23ea98288e734bec (patch) | |
tree | 042f41f3642f874af1c2504951d710518313a284 /opcodes/mips-dis.c | |
parent | 5de646137e51dd151d9cdde2976c729198b6d3b0 (diff) | |
download | gdb-1ce536f403280360489f550e23ea98288e734bec.tar.gz |
* mips-dis.c (is_newabi): EABI is not a NewABI.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r-- | opcodes/mips-dis.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index 9931a1882e1..661c179cbea 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -407,10 +407,8 @@ is_newabi (header) if (header->e_ident[EI_CLASS] == ELFCLASS64) return 1; - /* If a 32-bit ELF file, N32, EABI32, and EABI64 are new-style ABIs. */ - if ((header->e_flags & EF_MIPS_ABI2) != 0 - || (header->e_flags & EF_MIPS_ABI) == E_MIPS_ABI_EABI32 - || (header->e_flags & EF_MIPS_ABI) == E_MIPS_ABI_EABI64) + /* If a 32-bit ELF file, n32 is a new-style ABI. */ + if ((header->e_flags & EF_MIPS_ABI2) != 0) return 1; return 0; |