This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] MIPS opcodes: Don't regard EABI as NewABI
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Tue, 14 May 2002 15:29:10 +0200
- Subject: [PATCH] MIPS opcodes: Don't regard EABI as NewABI
Hi All,
this removes EABI from the diassembler's list of NewABI objects.
Thiemo
2002-05-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
/opcodes/ChangeLog
* mips-dis.c (is_newabi): EABI is not a NewABI.
diff -BurpNX /bigdisk/src/binutils-exclude source-orig/opcodes/mips-dis.c source/opcodes/mips-dis.c
--- source-orig/opcodes/mips-dis.c Thu Mar 21 17:00:03 2002
+++ source/opcodes/mips-dis.c Sat May 11 03:46:01 2002
@@ -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;