PATCH: ELFOSABI_AROS

Alan Modra amodra@bigpond.net.au
Fri Jan 17 01:34:00 GMT 2003


On Thu, Jan 16, 2003 at 06:33:32PM +0100, Fabio Alemagna wrote:
>         * readelf.c (get_osabi_name): Handle ELFOSABI_AROS,
>         ELFOSABI_OPENVMS and ELFOSABI_NSK.
> 
>         * common.h (ELFOSABI_AROS): Defined.
>         (ELFOSABI_OPENVMS): Likewise.
>         (ELFOSABI_NSK): Likewise.

Applied, along with the following

	* common.h: Formatting, typo fixes.
	(DT_ENCODING): Correct value.

Index: include/elf/common.h
===================================================================
RCS file: /cvs/src/src/include/elf/common.h,v
retrieving revision 1.52
diff -u -p -w -r1.52 common.h
--- include/elf/common.h	13 Jan 2003 16:37:47 -0000	1.52
+++ include/elf/common.h	17 Jan 2003 01:27:42 -0000
@@ -1,6 +1,6 @@
 /* ELF support for BFD.
    Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-   2001, 2002
+   2001, 2002, 2003
    Free Software Foundation, Inc.
 
    Written by Fred Fish @ Cygnus Support, from information published
@@ -105,7 +108,7 @@ Foundation, Inc., 59 Temple Place - Suit
 #define EM_860		7	/* Intel 80860 */
 #define EM_MIPS		8	/* MIPS R3000 (officially, big-endian only) */
 #define EM_S370		9	/* IBM System/370 */
-#define EM_MIPS_RS3_LE 10	/* MIPS R3000 little-endian (Oct 4 1999 Draft)*/ /* Depreciated */
+#define EM_MIPS_RS3_LE	 10	/* MIPS R3000 little-endian (Oct 4 1999 Draft) Deprecated */
 
 #define EM_PARISC      15	/* HPPA */
 
@@ -203,7 +206,7 @@ Foundation, Inc., 59 Temple Place - Suit
 /* Old version of PowerPC, this should be removed shortly. */
 #define EM_PPC_OLD	17
 
-/* (Depreciated) Temporary number for the OpenRISC processor.  */
+/* (Deprecated) Temporary number for the OpenRISC processor.  */
 #define EM_OR32	       0x8472
 
 /* Cygnus M32R ELF backend.  Written in the absence of an ABI.  */
@@ -513,8 +516,7 @@ Foundation, Inc., 59 Temple Place - Suit
 #define DT_FINI_ARRAYSZ 28
 #define DT_RUNPATH      29
 #define DT_FLAGS        30
-
-#define DT_ENCODING     32
+#define DT_ENCODING     31
 #define DT_PREINIT_ARRAY   32
 #define DT_PREINIT_ARRAYSZ 33
 

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list