This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
PATCH for elf32-mips.c
- To: binutils@sourceware.cygnus.com
- Subject: PATCH for elf32-mips.c
- From: mark@codesourcery.com
- Date: Sat, 05 Jun 1999 17:49:13 -0700
- Organization: CodeSourcery, LLC
This patch just allows us to recognize the N32 ABI when using `objdump
-p'. OK to check in?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
1999-06-05 Mark Mitchell <mark@codesourcery.com>
* elf32-mips.c (_bfd_mips_elf_print_private_data): Recognize
the N32 ABI.
Index: elf32-mips.c
===================================================================
RCS file: /cvs/binutils/binutils/bfd/elf32-mips.c,v
retrieving revision 1.3
diff -u -p -r1.3 elf32-mips.c
--- elf32-mips.c 1999/06/02 18:17:57 1.3
+++ elf32-mips.c 1999/06/06 00:43:25
@@ -2309,6 +2309,8 @@ _bfd_mips_elf_print_private_bfd_data (ab
fprintf (file, _ (" [abi=EABI64]"));
else if ((elf_elfheader (abfd)->e_flags & EF_MIPS_ABI))
fprintf (file, _ (" [abi unknown]"));
+ else if ((elf_elfheader (abfd)->e_flags & EF_MIPS_ABI2))
+ fprintf (file, _ (" [abi=N32]"));
else
fprintf (file, _ (" [no abi set]"));