[PATCH 2.6.9-rc1-mm3] [m32r] Add m32r ELF machine code

From: Hirokazu Takata
Date: Fri Sep 03 2004 - 08:59:06 EST


Hi,

Here is a patch for m32r's ELF machine code.
And also change from "Hitachi H8/300" to "Renesas H8/300"(*).
Please apply this.

(*) The SuperH, M32R and H8* - now these are all Renesas's products.

Thank you.

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>


--- linux-2.6.9-rc1-mm3.orig/include/linux/elf.h 2004-08-14 14:36:17.000000000 +0900
+++ linux-2.6.9-rc1-mm3/include/linux/elf.h 2004-09-03 22:33:18.000000000 +0900
@@ -88,7 +88,9 @@ typedef __s64 Elf64_Sxword;

#define EM_V850 87 /* NEC v850 */

-#define EM_H8_300 46 /* Hitachi H8/300,300H,H8S */
+#define EM_M32R 88 /* Renesas M32R */
+
+#define EM_H8_300 46 /* Renesas H8/300,300H,H8S */

/*
* This is an interim value that we will use until the committee comes
@@ -99,6 +101,9 @@ typedef __s64 Elf64_Sxword;
/* Bogus old v850 magic number, used by old tools. */
#define EM_CYGNUS_V850 0x9080

+/* Bogus old m32r magic number, used by old tools. */
+#define EM_CYGNUS_M32R 0x9041
+
/*
* This is the old interim value for S/390 architecture
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/