aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2002-05-14 23:34:00 +0000
committerThiemo Seufer <ths@networkno.de>2002-05-14 23:34:00 +0000
commit563773fe03c6530810d02f664dcdae5824a35a6b (patch)
tree080157543b7c2dcf590f8204ebda64731f441096 /opcodes
parent8586fc660dfb260e1e19ab38140899156e8395a2 (diff)
downloadgdb-563773fe03c6530810d02f664dcdae5824a35a6b.zip
gdb-563773fe03c6530810d02f664dcdae5824a35a6b.tar.gz
gdb-563773fe03c6530810d02f664dcdae5824a35a6b.tar.bz2
* mips-dis.c (is_newabi): EABI is not a NewABI.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/mips-dis.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 4ab4b04..1d5247d 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * mips-dis.c (is_newabi): EABI is not a NewABI.
+
2002-05-13 Jason Thorpe <thorpej@wasabisystems.com>
* configure.in (shle-*-*elf*): Include sh64 support.
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index 9931a18..661c179 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;